]> git.saurik.com Git - wxWidgets.git/blob - configure
Fix type mismatch in wxLogTrace() call in wxSocket.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.4.
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.4'
579 PACKAGE_STRING='wxWidgets 2.9.4'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 Xinerama_CFLAGS
700 Xinerama_LIBS
701 Xxf86vm_CFLAGS
702 Xxf86vm_LIBS
703 SM_CFLAGS
704 SM_LIBS
705 GL_CFLAGS
706 GL_LIBS
707 GLU_CFLAGS
708 GLU_LIBS
709 MesaGL_CFLAGS
710 MesaGL_LIBS
711 CFLAGS_VISIBILITY
712 CXXFLAGS_VISIBILITY
713 LIBICONV
714 GXX_VERSION
715 SDL_CONFIG
716 SDL_CFLAGS
717 SDL_LIBS
718 GTKPRINT_CFLAGS
719 GTKPRINT_LIBS
720 LIBGNOMEPRINTUI_CFLAGS
721 LIBGNOMEPRINTUI_LIBS
722 GNOMEVFS_CFLAGS
723 GNOMEVFS_LIBS
724 HILDON_CFLAGS
725 HILDON_LIBS
726 HILDON2_CFLAGS
727 HILDON2_LIBS
728 PYTHON
729 COND_PYTHON
730 WEBKIT_CFLAGS
731 WEBKIT_LIBS
732 CAIRO_CFLAGS
733 CAIRO_LIBS
734 GST_CFLAGS
735 GST_LIBS
736 ALL_WX_LIBS
737 BUILT_WX_LIBS
738 STD_BASE_LIBS
739 STD_GUI_LIBS
740 wxUSE_ZLIB
741 wxUSE_REGEX
742 wxUSE_EXPAT
743 wxUSE_LIBJPEG
744 wxUSE_LIBPNG
745 wxUSE_LIBTIFF
746 VENDOR
747 OFFICIAL_BUILD
748 WX_FLAVOUR
749 WX_LIB_FLAVOUR
750 WXUNIV
751 MONOLITHIC
752 USE_PLUGINS
753 CXXWARNINGS
754 EXTRALIBS
755 EXTRALIBS_XML
756 EXTRALIBS_HTML
757 EXTRALIBS_MEDIA
758 EXTRALIBS_GUI
759 EXTRALIBS_OPENGL
760 EXTRALIBS_SDL
761 EXTRALIBS_STC
762 WITH_PLUGIN_SDL
763 EXTRALIBS_GTKPRINT
764 EXTRALIBS_GNOMEPRINT
765 EXTRALIBS_GNOMEVFS
766 EXTRALIBS_HILDON
767 UNICODE
768 DEBUG_INFO
769 DEBUG_FLAG
770 TOOLKIT_LOWERCASE
771 TOOLKIT_VERSION
772 DYLIB_RPATH_INSTALL
773 DYLIB_RPATH_POSTLINK
774 SAMPLES_RPATH_FLAG
775 HEADER_PAD_OPTION
776 HOST_SUFFIX
777 CPPUNIT_CFLAGS
778 CPPUNIT_LIBS
779 RANLIB
780 INSTALL_PROGRAM
781 INSTALL_SCRIPT
782 INSTALL_DATA
783 LN_S
784 SET_MAKE
785 MAKE_SET
786 AROPTIONS
787 STRIP
788 NM
789 INSTALL_DIR
790 LDFLAGS_GUI
791 IF_GNU_MAKE
792 PLATFORM_UNIX
793 PLATFORM_WIN32
794 PLATFORM_MSDOS
795 PLATFORM_MAC
796 PLATFORM_MACOS
797 PLATFORM_MACOSX
798 PLATFORM_OS2
799 PLATFORM_BEOS
800 SO_SUFFIX
801 SO_SUFFIX_MODULE
802 DLLIMP_SUFFIX
803 LIBPREFIX
804 LIBEXT
805 DLLPREFIX
806 DLLPREFIX_MODULE
807 dlldir
808 AIX_CXX_LD
809 SHARED_LD_CC
810 SHARED_LD_CXX
811 SHARED_LD_MODULE_CC
812 SHARED_LD_MODULE_CXX
813 PIC_FLAG
814 WINDOWS_IMPLIB
815 USE_SOVERSION
816 USE_SOVERLINUX
817 USE_SOVERSOLARIS
818 USE_SOVERCYGWIN
819 USE_MACVERSION
820 USE_SOTWOSYMLINKS
821 SONAME_FLAG
822 DEPS_TRACKING
823 BK_DEPS
824 WINDRES
825 REZ
826 SETFILE
827 OBJCXXFLAGS
828 GCC_PCH
829 ICC_PCH
830 ICC_PCH_CREATE_SWITCH
831 ICC_PCH_USE_SWITCH
832 BK_MAKE_PCH
833 COND_BUILD_DEBUG
834 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
835 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
836 COND_BUILD_DEBUG_UNICODE_0
837 COND_BUILD_DEBUG_UNICODE_1
838 COND_BUILD_RELEASE
839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
840 COND_BUILD_RELEASE_UNICODE_0
841 COND_BUILD_RELEASE_UNICODE_1
842 COND_BUILD_debug
843 COND_BUILD_debug_DEBUG_FLAG_default
844 COND_BUILD_debug_DEBUG_INFO_default
845 COND_BUILD_debug_UNICODE_0
846 COND_BUILD_debug_UNICODE_1
847 COND_BUILD_release
848 COND_BUILD_release_DEBUG_INFO_default
849 COND_BUILD_release_UNICODE_0
850 COND_BUILD_release_UNICODE_1
851 COND_DEBUG_FLAG_0
852 COND_DEBUG_FLAG_1
853 COND_DEBUG_INFO_0
854 COND_DEBUG_INFO_1
855 COND_DEPS_TRACKING_0
856 COND_DEPS_TRACKING_1
857 COND_GCC_PCH_1
858 COND_ICC_PCH_1
859 COND_MONOLITHIC_0
860 COND_MONOLITHIC_0_SHARED_0
861 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
867 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
869 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
872 COND_MONOLITHIC_0_SHARED_1
873 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
879 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
880 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
881 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
882 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
883 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
884 COND_MONOLITHIC_0_USE_AUI_1
885 COND_MONOLITHIC_0_USE_GUI_1
886 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_HTML_1
888 COND_MONOLITHIC_0_USE_MEDIA_1
889 COND_MONOLITHIC_0_USE_PROPGRID_1
890 COND_MONOLITHIC_0_USE_QA_1
891 COND_MONOLITHIC_0_USE_RIBBON_1
892 COND_MONOLITHIC_0_USE_RICHTEXT_1
893 COND_MONOLITHIC_0_USE_STC_1
894 COND_MONOLITHIC_0_USE_WEBVIEW_1
895 COND_MONOLITHIC_0_USE_XRC_1
896 COND_MONOLITHIC_1
897 COND_MONOLITHIC_1_SHARED_0
898 COND_MONOLITHIC_1_SHARED_1
899 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
900 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
901 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
902 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
903 COND_PLATFORM_MACOSX_1
904 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
905 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
912 COND_PLATFORM_MACOSX_1_USE_GUI_1
913 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
914 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
915 COND_PLATFORM_MACOS_1
916 COND_PLATFORM_MAC_0
917 COND_PLATFORM_MAC_1
918 COND_PLATFORM_MSDOS_0
919 COND_PLATFORM_MSDOS_1
920 COND_PLATFORM_OS2_1
921 COND_PLATFORM_UNIX_0
922 COND_PLATFORM_UNIX_1
923 COND_PLATFORM_UNIX_1_USE_GUI_1
924 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
925 COND_PLATFORM_WIN32_0
926 COND_PLATFORM_WIN32_1
927 COND_PLATFORM_WIN32_1_SHARED_0
928 COND_SHARED_0
929 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
930 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
931 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
932 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
934 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
936 COND_SHARED_0_USE_STC_1
937 COND_SHARED_0_wxUSE_EXPAT_builtin
938 COND_SHARED_0_wxUSE_REGEX_builtin
939 COND_SHARED_0_wxUSE_ZLIB_builtin
940 COND_SHARED_1
941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
942 COND_TOOLKIT_
943 COND_TOOLKIT_COCOA
944 COND_TOOLKIT_COCOA_USE_GUI_1
945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_DFB
947 COND_TOOLKIT_DFB_USE_GUI_1
948 COND_TOOLKIT_GTK
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_GTK_USE_GUI_1
956 COND_TOOLKIT_MAC
957 COND_TOOLKIT_MOTIF
958 COND_TOOLKIT_MOTIF_USE_GUI_1
959 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
960 COND_TOOLKIT_MSW
961 COND_TOOLKIT_MSW_USE_GUI_1
962 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
963 COND_TOOLKIT_MSW_WXUNIV_0
964 COND_TOOLKIT_OSX_CARBON
965 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
966 COND_TOOLKIT_OSX_COCOA
967 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
968 COND_TOOLKIT_OSX_IPHONE
969 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
971 COND_TOOLKIT_PM
972 COND_TOOLKIT_PM_USE_GUI_1
973 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
974 COND_TOOLKIT_WINCE
975 COND_TOOLKIT_WINCE_USE_GUI_1
976 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
977 COND_TOOLKIT_WINCE_WXUNIV_0
978 COND_TOOLKIT_X11
979 COND_TOOLKIT_X11_USE_GUI_1
980 COND_UNICODE_1
981 COND_USE_CAIRO_1
982 COND_USE_EXCEPTIONS_0
983 COND_USE_EXCEPTIONS_1
984 COND_USE_GUI_0
985 COND_USE_GUI_1
986 COND_USE_GUI_1_USE_OPENGL_1
987 COND_USE_GUI_1_WXUNIV_0
988 COND_USE_GUI_1_WXUNIV_1
989 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
990 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
991 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
992 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
993 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
994 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
995 COND_USE_OPENGL_1
996 COND_USE_PCH_1
997 COND_USE_PLUGINS_0
998 COND_USE_RTTI_0
999 COND_USE_RTTI_1
1000 COND_USE_SOTWOSYMLINKS_1
1001 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1002 COND_USE_SOVERLINUX_1
1003 COND_USE_SOVERSION_0
1004 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1005 COND_USE_SOVERSOLARIS_1
1006 COND_USE_STC_1
1007 COND_USE_THREADS_0
1008 COND_USE_THREADS_1
1009 COND_USE_XRC_1
1010 COND_WINDOWS_IMPLIB_1
1011 COND_WITH_PLUGIN_SDL_1
1012 COND_WXUNIV_0
1013 COND_WXUNIV_1
1014 COND_WXUSE_EXPAT_BUILTIN
1015 COND_WXUSE_LIBJPEG_BUILTIN
1016 COND_WXUSE_LIBPNG_BUILTIN
1017 COND_WXUSE_LIBTIFF_BUILTIN
1018 COND_WXUSE_REGEX_BUILTIN
1019 COND_WXUSE_ZLIB_BUILTIN
1020 COND_wxUSE_EXPAT_builtin
1021 COND_wxUSE_LIBJPEG_builtin
1022 COND_wxUSE_LIBPNG_builtin
1023 COND_wxUSE_LIBTIFF_builtin
1024 COND_wxUSE_REGEX_builtin
1025 COND_wxUSE_ZLIB_builtin
1026 DEREZ
1027 SHARED
1028 WX_LIBRARY_BASENAME_NOGUI
1029 WX_LIBRARY_BASENAME_GUI
1030 USE_GUI
1031 AFMINSTALL
1032 WIN32INSTALL
1033 TOOLKIT
1034 TOOLKIT_DIR
1035 TOOLCHAIN_NAME
1036 TOOLCHAIN_FULLNAME
1037 cross_compiling
1038 WIDGET_SET
1039 WX_RELEASE
1040 WX_VERSION
1041 WX_SUBVERSION
1042 WX_CHARTYPE
1043 WXCONFIG_CPPFLAGS
1044 WXCONFIG_CFLAGS
1045 WXCONFIG_CXXFLAGS
1046 WXCONFIG_LIBS
1047 WXCONFIG_RPATH
1048 WXCONFIG_LDFLAGS
1049 WXCONFIG_LDFLAGS_GUI
1050 WXCONFIG_RESFLAGS
1051 GUIDIST
1052 DISTDIR
1053 SAMPLES_SUBDIRS
1054 LDFLAGS_GL
1055 OPENGL_LIBS
1056 DMALLOC_LIBS
1057 WX_VERSION_TAG
1058 RESCOMP
1059 RESFLAGS
1060 RESPROGRAMOBJ
1061 WX_RESOURCES_MACOSX_ASCII
1062 WX_RESOURCES_MACOSX_DATA
1063 LIBWXMACRES
1064 POSTLINK_COMMAND
1065 MACSETFILE
1066 GCC
1067 DLLTOOL
1068 CPPUNIT_CONFIG
1069 LIBOBJS
1070 LTLIBOBJS'
1071 ac_subst_files=''
1072 ac_precious_vars='build_alias
1073 host_alias
1074 target_alias
1075 CC
1076 CFLAGS
1077 LDFLAGS
1078 LIBS
1079 CPPFLAGS
1080 CPP
1081 CXX
1082 CXXFLAGS
1083 CCC
1084 CXXCPP
1085 PKG_CONFIG
1086 DIRECTFB_CFLAGS
1087 DIRECTFB_LIBS
1088 XMKMF
1089 PANGOX_CFLAGS
1090 PANGOX_LIBS
1091 PANGOFT2_CFLAGS
1092 PANGOFT2_LIBS
1093 PANGOXFT_CFLAGS
1094 PANGOXFT_LIBS
1095 Xinerama_CFLAGS
1096 Xinerama_LIBS
1097 Xxf86vm_CFLAGS
1098 Xxf86vm_LIBS
1099 SM_CFLAGS
1100 SM_LIBS
1101 GL_CFLAGS
1102 GL_LIBS
1103 GLU_CFLAGS
1104 GLU_LIBS
1105 MesaGL_CFLAGS
1106 MesaGL_LIBS
1107 GTKPRINT_CFLAGS
1108 GTKPRINT_LIBS
1109 LIBGNOMEPRINTUI_CFLAGS
1110 LIBGNOMEPRINTUI_LIBS
1111 GNOMEVFS_CFLAGS
1112 GNOMEVFS_LIBS
1113 HILDON_CFLAGS
1114 HILDON_LIBS
1115 HILDON2_CFLAGS
1116 HILDON2_LIBS
1117 WEBKIT_CFLAGS
1118 WEBKIT_LIBS
1119 CAIRO_CFLAGS
1120 CAIRO_LIBS
1121 GST_CFLAGS
1122 GST_LIBS'
1123 ac_subdirs_all='src/tiff
1124 src/expat'
1125
1126 # Initialize some variables set by options.
1127 ac_init_help=
1128 ac_init_version=false
1129 # The variables have the same names as the options, with
1130 # dashes changed to underlines.
1131 cache_file=/dev/null
1132 exec_prefix=NONE
1133 no_create=
1134 no_recursion=
1135 prefix=NONE
1136 program_prefix=NONE
1137 program_suffix=NONE
1138 program_transform_name=s,x,x,
1139 silent=
1140 site=
1141 srcdir=
1142 verbose=
1143 x_includes=NONE
1144 x_libraries=NONE
1145
1146 # Installation directory options.
1147 # These are left unexpanded so users can "make install exec_prefix=/foo"
1148 # and all the variables that are supposed to be based on exec_prefix
1149 # by default will actually change.
1150 # Use braces instead of parens because sh, perl, etc. also accept them.
1151 # (The list follows the same order as the GNU Coding Standards.)
1152 bindir='${exec_prefix}/bin'
1153 sbindir='${exec_prefix}/sbin'
1154 libexecdir='${exec_prefix}/libexec'
1155 datarootdir='${prefix}/share'
1156 datadir='${datarootdir}'
1157 sysconfdir='${prefix}/etc'
1158 sharedstatedir='${prefix}/com'
1159 localstatedir='${prefix}/var'
1160 includedir='${prefix}/include'
1161 oldincludedir='/usr/include'
1162 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1163 infodir='${datarootdir}/info'
1164 htmldir='${docdir}'
1165 dvidir='${docdir}'
1166 pdfdir='${docdir}'
1167 psdir='${docdir}'
1168 libdir='${exec_prefix}/lib'
1169 localedir='${datarootdir}/locale'
1170 mandir='${datarootdir}/man'
1171
1172 ac_prev=
1173 ac_dashdash=
1174 for ac_option
1175 do
1176 # If the previous option needs an argument, assign it.
1177 if test -n "$ac_prev"; then
1178 eval $ac_prev=\$ac_option
1179 ac_prev=
1180 continue
1181 fi
1182
1183 case $ac_option in
1184 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1185 *) ac_optarg=yes ;;
1186 esac
1187
1188 # Accept the important Cygnus configure options, so we can diagnose typos.
1189
1190 case $ac_dashdash$ac_option in
1191 --)
1192 ac_dashdash=yes ;;
1193
1194 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1195 ac_prev=bindir ;;
1196 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1197 bindir=$ac_optarg ;;
1198
1199 -build | --build | --buil | --bui | --bu)
1200 ac_prev=build_alias ;;
1201 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1202 build_alias=$ac_optarg ;;
1203
1204 -cache-file | --cache-file | --cache-fil | --cache-fi \
1205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1206 ac_prev=cache_file ;;
1207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1209 cache_file=$ac_optarg ;;
1210
1211 --config-cache | -C)
1212 cache_file=config.cache ;;
1213
1214 -datadir | --datadir | --datadi | --datad)
1215 ac_prev=datadir ;;
1216 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1217 datadir=$ac_optarg ;;
1218
1219 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1220 | --dataroo | --dataro | --datar)
1221 ac_prev=datarootdir ;;
1222 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1223 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1224 datarootdir=$ac_optarg ;;
1225
1226 -disable-* | --disable-*)
1227 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1233 eval enable_$ac_feature=no ;;
1234
1235 -docdir | --docdir | --docdi | --doc | --do)
1236 ac_prev=docdir ;;
1237 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1238 docdir=$ac_optarg ;;
1239
1240 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1241 ac_prev=dvidir ;;
1242 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1243 dvidir=$ac_optarg ;;
1244
1245 -enable-* | --enable-*)
1246 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1252 eval enable_$ac_feature=\$ac_optarg ;;
1253
1254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1256 | --exec | --exe | --ex)
1257 ac_prev=exec_prefix ;;
1258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1260 | --exec=* | --exe=* | --ex=*)
1261 exec_prefix=$ac_optarg ;;
1262
1263 -gas | --gas | --ga | --g)
1264 # Obsolete; use --with-gas.
1265 with_gas=yes ;;
1266
1267 -help | --help | --hel | --he | -h)
1268 ac_init_help=long ;;
1269 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1270 ac_init_help=recursive ;;
1271 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1272 ac_init_help=short ;;
1273
1274 -host | --host | --hos | --ho)
1275 ac_prev=host_alias ;;
1276 -host=* | --host=* | --hos=* | --ho=*)
1277 host_alias=$ac_optarg ;;
1278
1279 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1280 ac_prev=htmldir ;;
1281 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1282 | --ht=*)
1283 htmldir=$ac_optarg ;;
1284
1285 -includedir | --includedir | --includedi | --included | --include \
1286 | --includ | --inclu | --incl | --inc)
1287 ac_prev=includedir ;;
1288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1289 | --includ=* | --inclu=* | --incl=* | --inc=*)
1290 includedir=$ac_optarg ;;
1291
1292 -infodir | --infodir | --infodi | --infod | --info | --inf)
1293 ac_prev=infodir ;;
1294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1295 infodir=$ac_optarg ;;
1296
1297 -libdir | --libdir | --libdi | --libd)
1298 ac_prev=libdir ;;
1299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1300 libdir=$ac_optarg ;;
1301
1302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1303 | --libexe | --libex | --libe)
1304 ac_prev=libexecdir ;;
1305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1306 | --libexe=* | --libex=* | --libe=*)
1307 libexecdir=$ac_optarg ;;
1308
1309 -localedir | --localedir | --localedi | --localed | --locale)
1310 ac_prev=localedir ;;
1311 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1312 localedir=$ac_optarg ;;
1313
1314 -localstatedir | --localstatedir | --localstatedi | --localstated \
1315 | --localstate | --localstat | --localsta | --localst | --locals)
1316 ac_prev=localstatedir ;;
1317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1318 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1319 localstatedir=$ac_optarg ;;
1320
1321 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1322 ac_prev=mandir ;;
1323 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1324 mandir=$ac_optarg ;;
1325
1326 -nfp | --nfp | --nf)
1327 # Obsolete; use --without-fp.
1328 with_fp=no ;;
1329
1330 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1331 | --no-cr | --no-c | -n)
1332 no_create=yes ;;
1333
1334 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1335 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1336 no_recursion=yes ;;
1337
1338 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1339 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1340 | --oldin | --oldi | --old | --ol | --o)
1341 ac_prev=oldincludedir ;;
1342 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1343 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1344 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1345 oldincludedir=$ac_optarg ;;
1346
1347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1348 ac_prev=prefix ;;
1349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1350 prefix=$ac_optarg ;;
1351
1352 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1353 | --program-pre | --program-pr | --program-p)
1354 ac_prev=program_prefix ;;
1355 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1356 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1357 program_prefix=$ac_optarg ;;
1358
1359 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1360 | --program-suf | --program-su | --program-s)
1361 ac_prev=program_suffix ;;
1362 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1363 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1364 program_suffix=$ac_optarg ;;
1365
1366 -program-transform-name | --program-transform-name \
1367 | --program-transform-nam | --program-transform-na \
1368 | --program-transform-n | --program-transform- \
1369 | --program-transform | --program-transfor \
1370 | --program-transfo | --program-transf \
1371 | --program-trans | --program-tran \
1372 | --progr-tra | --program-tr | --program-t)
1373 ac_prev=program_transform_name ;;
1374 -program-transform-name=* | --program-transform-name=* \
1375 | --program-transform-nam=* | --program-transform-na=* \
1376 | --program-transform-n=* | --program-transform-=* \
1377 | --program-transform=* | --program-transfor=* \
1378 | --program-transfo=* | --program-transf=* \
1379 | --program-trans=* | --program-tran=* \
1380 | --progr-tra=* | --program-tr=* | --program-t=*)
1381 program_transform_name=$ac_optarg ;;
1382
1383 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1384 ac_prev=pdfdir ;;
1385 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1386 pdfdir=$ac_optarg ;;
1387
1388 -psdir | --psdir | --psdi | --psd | --ps)
1389 ac_prev=psdir ;;
1390 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1391 psdir=$ac_optarg ;;
1392
1393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394 | -silent | --silent | --silen | --sile | --sil)
1395 silent=yes ;;
1396
1397 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1398 ac_prev=sbindir ;;
1399 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1400 | --sbi=* | --sb=*)
1401 sbindir=$ac_optarg ;;
1402
1403 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1404 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1405 | --sharedst | --shareds | --shared | --share | --shar \
1406 | --sha | --sh)
1407 ac_prev=sharedstatedir ;;
1408 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1409 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1410 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1411 | --sha=* | --sh=*)
1412 sharedstatedir=$ac_optarg ;;
1413
1414 -site | --site | --sit)
1415 ac_prev=site ;;
1416 -site=* | --site=* | --sit=*)
1417 site=$ac_optarg ;;
1418
1419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1420 ac_prev=srcdir ;;
1421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1422 srcdir=$ac_optarg ;;
1423
1424 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1425 | --syscon | --sysco | --sysc | --sys | --sy)
1426 ac_prev=sysconfdir ;;
1427 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1428 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1429 sysconfdir=$ac_optarg ;;
1430
1431 -target | --target | --targe | --targ | --tar | --ta | --t)
1432 ac_prev=target_alias ;;
1433 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1434 target_alias=$ac_optarg ;;
1435
1436 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1437 verbose=yes ;;
1438
1439 -version | --version | --versio | --versi | --vers | -V)
1440 ac_init_version=: ;;
1441
1442 -with-* | --with-*)
1443 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1444 # Reject names that are not valid shell variable names.
1445 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1446 { echo "$as_me: error: invalid package name: $ac_package" >&2
1447 { (exit 1); exit 1; }; }
1448 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1449 eval with_$ac_package=\$ac_optarg ;;
1450
1451 -without-* | --without-*)
1452 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1455 { echo "$as_me: error: invalid package name: $ac_package" >&2
1456 { (exit 1); exit 1; }; }
1457 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1458 eval with_$ac_package=no ;;
1459
1460 --x)
1461 # Obsolete; use --with-x.
1462 with_x=yes ;;
1463
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev=x_includes ;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes=$ac_optarg ;;
1470
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev=x_libraries ;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries=$ac_optarg ;;
1477
1478 -*) { echo "$as_me: error: unrecognized option: $ac_option
1479 Try \`$0 --help' for more information." >&2
1480 { (exit 1); exit 1; }; }
1481 ;;
1482
1483 *=*)
1484 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1487 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488 { (exit 1); exit 1; }; }
1489 eval $ac_envvar=\$ac_optarg
1490 export $ac_envvar ;;
1491
1492 *)
1493 # FIXME: should be removed in autoconf 3.0.
1494 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1496 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1498 ;;
1499
1500 esac
1501 done
1502
1503 if test -n "$ac_prev"; then
1504 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1505 { echo "$as_me: error: missing argument to $ac_option" >&2
1506 { (exit 1); exit 1; }; }
1507 fi
1508
1509 # Be sure to have absolute directory names.
1510 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1511 datadir sysconfdir sharedstatedir localstatedir includedir \
1512 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1513 libdir localedir mandir
1514 do
1515 eval ac_val=\$$ac_var
1516 case $ac_val in
1517 [\\/$]* | ?:[\\/]* ) continue;;
1518 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1519 esac
1520 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1522 done
1523
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1527 build=$build_alias
1528 host=$host_alias
1529 target=$target_alias
1530
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x; then
1533 if test "x$build_alias" = x; then
1534 cross_compiling=maybe
1535 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1538 cross_compiling=yes
1539 fi
1540 fi
1541
1542 ac_tool_prefix=
1543 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1544
1545 test "$silent" = yes && exec 6>/dev/null
1546
1547
1548 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di=`ls -di .` &&
1550 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1551 { echo "$as_me: error: Working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1556
1557
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir=`$as_dirname -- "$0" ||
1563 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$0" : 'X\(//\)[^/]' \| \
1565 X"$0" : 'X\(//\)$' \| \
1566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1567 echo X"$0" |
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1569 s//\1/
1570 q
1571 }
1572 /^X\(\/\/\)[^/].*/{
1573 s//\1/
1574 q
1575 }
1576 /^X\(\/\/\)$/{
1577 s//\1/
1578 q
1579 }
1580 /^X\(\/\).*/{
1581 s//\1/
1582 q
1583 }
1584 s/.*/./; q'`
1585 srcdir=$ac_confdir
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1587 srcdir=..
1588 fi
1589 else
1590 ac_srcdir_defaulted=no
1591 fi
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1594 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1596 fi
1597 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1598 ac_abs_confdir=`(
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1601 pwd)`
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1604 srcdir=.
1605 fi
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1609 case $srcdir in
1610 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1611 esac
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1614 eval ac_env_${ac_var}_value=\$${ac_var}
1615 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1616 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1617 done
1618
1619 #
1620 # Report the --help message.
1621 #
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1625 cat <<_ACEOF
1626 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1627
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1629
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1632
1633 Defaults for the options are specified in brackets.
1634
1635 Configuration:
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1645
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1650 [PREFIX]
1651
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1656
1657 For better control, use the options below.
1658
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1679 _ACEOF
1680
1681 cat <<\_ACEOF
1682
1683 X features:
1684 --x-includes=DIR X include files are in DIR
1685 --x-libraries=DIR X library files are in DIR
1686
1687 System types:
1688 --build=BUILD configure for building on BUILD [guessed]
1689 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1690 _ACEOF
1691 fi
1692
1693 if test -n "$ac_init_help"; then
1694 case $ac_init_help in
1695 short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
1696 esac
1697 cat <<\_ACEOF
1698
1699 Optional Features:
1700 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1701 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1702 --disable-gui don't build GUI parts of the library
1703 --enable-monolithic build wxWidgets as single library
1704 --enable-plugins build parts of wxWidgets as loadable components
1705 --enable-official_build official build of wxWidgets (win32 DLL only)
1706 --enable-vendor=VENDOR vendor name (win32 DLL only)
1707 --disable-all-features disable all optional features to build minimal library
1708 --enable-universal use wxWidgets GUI controls instead of native ones
1709 --enable-nanox use NanoX
1710 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1711 --enable-gpe use GNOME PDA Environment features if possible
1712 --enable-debug build library for debugging
1713 --disable-debug_flag disable all debugging support
1714 --enable-debug_info generate debug information
1715 --enable-debug_gdb create code with extra GDB debugging information
1716 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1717 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1718 --disable-shared create static library instead of shared
1719 --enable-stl use standard C++ classes for everything
1720 --enable-std_containers use standard C++ container classes
1721 --enable-std_iostreams use standard C++ stream classes
1722 --enable-std_string use standard C++ string classes
1723 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1724 --disable-unicode compile without Unicode support
1725 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1726 --enable-utf8 use UTF-8 representation for strings (Unix only)
1727 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1728 --enable-extended_rtti use extended RTTI (XTI)
1729 --enable-omf use OMF object format
1730 --disable-optimise compile without optimisations
1731 --enable-profile create code with profiling information
1732 --enable-no_rtti create code without RTTI information
1733 --enable-no_exceptions create code without C++ exceptions handling
1734 --enable-permissive compile code disregarding strict ANSI
1735 --enable-no_deps create code without dependency information
1736 --disable-vararg_macros don't use vararg macros, even if they are supported
1737 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
1738 --enable-macosx_arch=ARCH build for just the specified architecture
1739 --enable-compat26 enable wxWidgets 2.6 compatibility
1740 --disable-compat28 disable wxWidgets 2.8 compatibility
1741 --disable-rpath disable use of rpath for uninstalled builds
1742 --enable-objc_uniquifying enable Objective-C class name uniquifying
1743 --disable-visibility disable use of ELF symbols visibility even if supported
1744 --disable-tls disable use of compiler TLS support
1745 --enable-intl use internationalization system
1746 --enable-xlocale use x-locale support (requires wxLocale)
1747 --enable-config use wxConfig (and derived) classes
1748 --enable-protocols use wxProtocol and derived classes
1749 --enable-ftp use wxFTP (requires wxProtocol
1750 --enable-http use wxHTTP (requires wxProtocol
1751 --enable-fileproto use wxFileProto class (requires wxProtocol
1752 --enable-sockets use socket/network classes
1753 --enable-ipv6 enable IPv6 support in wxSocket
1754 --enable-ole use OLE classes (Win32 only)
1755 --enable-dataobj use data object classes
1756 --enable-ipc use interprocess communication (wxSocket etc.)
1757 --enable-baseevtloop use event loop in console programs too
1758 --enable-epollloop use wxEpollDispatcher class (Linux only)
1759 --enable-selectloop use wxSelectDispatcher class
1760 --enable-any use wxAny class
1761 --enable-apple_ieee use the Apple IEEE codec
1762 --enable-arcstream use wxArchive streams
1763 --enable-base64 use base64 encoding/decoding functions
1764 --enable-backtrace use wxStackWalker class for getting backtraces
1765 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1766 --enable-cmdline use wxCmdLineParser class
1767 --enable-datetime use wxDateTime class
1768 --enable-debugreport use wxDebugReport class
1769 --enable-dialupman use dialup network classes
1770 --enable-dynlib use wxLibrary class for DLL loading
1771 --enable-dynamicloader use (new) wxDynamicLibrary class
1772 --enable-exceptions build exception-safe library
1773 --enable-ffile use wxFFile class
1774 --enable-file use wxFile class
1775 --enable-filehistory use wxFileHistory class
1776 --enable-filesystem use virtual file systems classes
1777 --enable-fontenum use wxFontEnumerator class
1778 --enable-fontmap use font encodings conversion classes
1779 --enable-fs_archive use virtual archive filesystems
1780 --enable-fs_inet use virtual HTTP/FTP filesystems
1781 --enable-fs_zip now replaced by fs_archive
1782 --enable-fswatcher use wxFileSystemWatcher class
1783 --enable-geometry use geometry class
1784 --enable-log use logging system
1785 --enable-longlong use wxLongLong class
1786 --enable-mimetype use wxMimeTypesManager
1787 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1788 --enable-snglinst use wxSingleInstanceChecker class
1789 --enable-sound use wxSound class
1790 --enable-stdpaths use wxStandardPaths class
1791 --enable-stopwatch use wxStopWatch class
1792 --enable-streams use wxStream etc classes
1793 --enable-sysoptions use wxSystemOptions
1794 --enable-tarstream use wxTar streams
1795 --enable-textbuf use wxTextBuffer class
1796 --enable-textfile use wxTextFile class
1797 --enable-timer use wxTimer class
1798 --enable-variant use wxVariant class
1799 --enable-zipstream use wxZip streams
1800 --enable-url use wxURL class
1801 --enable-protocol use wxProtocol class
1802 --enable-protocol-http HTTP support in wxProtocol
1803 --enable-protocol-ftp FTP support in wxProtocol
1804 --enable-protocol-file FILE support in wxProtocol
1805 --enable-threads use threads
1806 --enable-iniconf use wxIniConfig (Win32 only)
1807 --enable-regkey use wxRegKey class (Win32 only)
1808 --enable-docview use document view architecture
1809 --enable-help use help subsystem
1810 --enable-mshtmlhelp use MS HTML Help (win32)
1811 --enable-html use wxHTML sub-library
1812 --enable-htmlhelp use wxHTML-based help
1813 --enable-xrc use XRC resources sub-library
1814 --enable-aui use AUI docking library
1815 --enable-propgrid use wxPropertyGrid library
1816 --enable-ribbon use wxRibbon library
1817 --enable-stc use wxStyledTextCtrl library
1818 --enable-constraints use layout-constraints system
1819 --enable-loggui use standard GUI logger
1820 --enable-logwin use wxLogWindow
1821 --enable-logdialog use wxLogDialog
1822 --enable-mdi use multiple document interface architecture
1823 --enable-mdidoc use docview architecture with MDI
1824 --enable-mediactrl use wxMediaCtrl class
1825 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1826 --enable-richtext use wxRichTextCtrl
1827 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1828 --enable-printarch use printing architecture
1829 --enable-svg use wxSVGFileDC device context
1830 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
1831 --enable-webview use wxWebView library
1832 --enable-graphics_ctx use graphics context 2D drawing API
1833 --enable-clipboard use wxClipboard class
1834 --enable-dnd use Drag'n'Drop classes
1835 --disable-controls disable compilation of all standard controls
1836 --enable-markup support wxControl::SetLabelMarkup
1837 --enable-accel use accelerators
1838 --enable-animatectrl use wxAnimationCtrl class
1839 --enable-bannerwindow use wxBannerWindow class
1840 --enable-artstd use standard XPM icons in wxArtProvider
1841 --enable-arttango use Tango icons in wxArtProvider
1842 --enable-bmpbutton use wxBitmapButton class
1843 --enable-bmpcombobox use wxBitmapComboBox class
1844 --enable-button use wxButton class
1845 --enable-calendar use wxCalendarCtrl class
1846 --enable-caret use wxCaret class
1847 --enable-checkbox use wxCheckBox class
1848 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1849 --enable-choice use wxChoice class
1850 --enable-choicebook use wxChoicebook class
1851 --enable-collpane use wxCollapsiblePane class
1852 --enable-colourpicker use wxColourPickerCtrl class
1853 --enable-combobox use wxComboBox class
1854 --enable-comboctrl use wxComboCtrl class
1855 --enable-commandlinkbutton use wxCommmandLinkButton class
1856 --enable-dataviewctrl use wxDataViewCtrl class
1857 --enable-datepick use wxDatePickerCtrl class
1858 --enable-detect_sm use code to detect X11 session manager
1859 --enable-dirpicker use wxDirPickerCtrl class
1860 --enable-display use wxDisplay class
1861 --enable-editablebox use wxEditableListBox class
1862 --enable-filectrl use wxFileCtrl class
1863 --enable-filepicker use wxFilePickerCtrl class
1864 --enable-fontpicker use wxFontPickerCtrl class
1865 --enable-gauge use wxGauge class
1866 --enable-grid use wxGrid class
1867 --enable-headerctrl use wxHeaderCtrl class
1868 --enable-hyperlink use wxHyperlinkCtrl class
1869 --enable-imaglist use wxImageList class
1870 --enable-infobar use wxInfoBar class
1871 --enable-listbook use wxListbook class
1872 --enable-listbox use wxListBox class
1873 --enable-listctrl use wxListCtrl class
1874 --enable-notebook use wxNotebook class
1875 --enable-notifmsg use wxNotificationMessage class
1876 --enable-odcombobox use wxOwnerDrawnComboBox class
1877 --enable-popupwin use wxPopUpWindow class
1878 --enable-radiobox use wxRadioBox class
1879 --enable-radiobtn use wxRadioButton class
1880 --enable-richmsgdlg use wxRichMessageDialog class
1881 --enable-richtooltip use wxRichToolTip class
1882 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1883 --enable-sash use wxSashWindow class
1884 --enable-scrollbar use wxScrollBar class and scrollable windows
1885 --enable-searchctrl use wxSearchCtrl class
1886 --enable-slider use wxSlider class
1887 --enable-spinbtn use wxSpinButton class
1888 --enable-spinctrl use wxSpinCtrl class
1889 --enable-splitter use wxSplitterWindow class
1890 --enable-statbmp use wxStaticBitmap class
1891 --enable-statbox use wxStaticBox class
1892 --enable-statline use wxStaticLine class
1893 --enable-stattext use wxStaticText class
1894 --enable-statusbar use wxStatusBar class
1895 --enable-taskbaricon use wxTaskBarIcon class
1896 --enable-tbarnative use native wxToolBar class
1897 --enable-textctrl use wxTextCtrl class
1898 --enable-timepick use wxTimePickerCtrl class
1899 --enable-tipwindow use wxTipWindow class
1900 --enable-togglebtn use wxToggleButton class
1901 --enable-toolbar use wxToolBar class
1902 --enable-toolbook use wxToolbook class
1903 --enable-treebook use wxTreebook class
1904 --enable-treectrl use wxTreeCtrl class
1905 --enable-treelist use wxTreeListCtrl class
1906 --enable-commondlg use all common dialogs
1907 --enable-aboutdlg use wxAboutBox
1908 --enable-choicedlg use wxChoiceDialog
1909 --enable-coldlg use wxColourDialog
1910 --enable-filedlg use wxFileDialog
1911 --enable-finddlg use wxFindReplaceDialog
1912 --enable-fontdlg use wxFontDialog
1913 --enable-dirdlg use wxDirDialog
1914 --enable-msgdlg use wxMessageDialog
1915 --enable-numberdlg use wxNumberEntryDialog
1916 --enable-splash use wxSplashScreen
1917 --enable-textdlg use wxTextDialog
1918 --enable-tipdlg use startup tips
1919 --enable-progressdlg use wxProgressDialog
1920 --enable-wizarddlg use wxWizard
1921 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1922 --enable-miniframe use wxMiniFrame class
1923 --enable-tooltips use wxToolTip class
1924 --enable-splines use spline drawing code
1925 --enable-mousewheel use mousewheel
1926 --enable-validators use wxValidator and derived classes
1927 --enable-busyinfo use wxBusyInfo
1928 --enable-hotkey use wxWindow::RegisterHotKey()
1929 --enable-joystick use wxJoystick
1930 --enable-metafiles use wxMetaFile
1931 --enable-dragimage use wxDragImage
1932 --enable-accessibility enable accessibility support
1933 --enable-uiactionsim use wxUIActionSimulator (experimental)
1934 --enable-dctransform use wxDC::SetTransformMatrix and related
1935 --enable-webview-webkit use wxWebView WebKit backend
1936 --enable-palette use wxPalette class
1937 --enable-image use wxImage class
1938 --enable-gif use gif images (GIF file format)
1939 --enable-pcx use pcx images (PCX file format)
1940 --enable-tga use tga images (TGA file format)
1941 --enable-iff use iff images (IFF file format)
1942 --enable-pnm use pnm images (PNM file format)
1943 --enable-xpm use xpm images (XPM file format)
1944 --enable-ico_cur use Windows ICO and CUR formats
1945 --enable-dccache cache temporary wxDC objects (Win32 only)
1946 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1947 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1948 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1949 --enable-wxdib use wxDIB class (Win32 only)
1950 --enable-webview-ie use wxWebView IE backend (Win32 only)
1951 --enable-autoidman use automatic ids management
1952 --disable-largefile omit support for large files
1953 --disable-gtktest do not try to compile and run a test GTK+ program
1954 --disable-gtktest Do not try to compile and run a test GTK program
1955 --disable-sdltest Do not try to compile and run a test SDL program
1956 --enable-omf use OMF object format (OS/2)
1957 --disable-dependency-tracking
1958 don't use dependency tracking even if the compiler
1959 can
1960 --disable-precomp-headers
1961 don't use precompiled headers even if compiler can
1962
1963 Optional Packages:
1964 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1965 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1966 --without-subdirs don't generate makefiles for samples/demos/...
1967 --with-flavour=NAME specify a name to identify this build
1968 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1969 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1970 --with-motif use Motif/Lesstif
1971 --with-osx_carbon use Mac OS X (Carbon)
1972 --with-osx_cocoa use Mac OS X (Cocoa)
1973 --with-osx_iphone use iPhone OS X port
1974 --with-osx use Mac OS X (default port, currently Carbon)
1975 --with-carbon same as --with-osx_carbon
1976 --with-cocoa same as --with-osx_cocoa
1977 --with-iphone same as --with-osx_iphone
1978 --with-mac same as --with-osx
1979 --with-old_cocoa use old, deprecated, Cocoa port
1980 --with-wine use Wine
1981 --with-msw use MS-Windows
1982 --with-pm use OS/2 Presentation Manager
1983 --with-directfb use DirectFB
1984 --with-microwin use MicroWindows
1985 --with-x11 use X11
1986 --with-libpng use libpng (PNG image format)
1987 --with-libjpeg use libjpeg (JPEG file format)
1988 --with-libtiff use libtiff (TIFF file format)
1989 --with-libxpm use libxpm (XPM file format)
1990 --with-libiconv use libiconv (character conversion)
1991 --with-libmspack use libmspack (CHM help files loading)
1992 --without-gtkprint don't use GTK printing support
1993 --without-gnomeprint don't use GNOME printing libraries
1994 --with-gnomevfs use GNOME VFS for associating MIME types
1995 --with-hildon use Hildon framework for Nokia 770/800/810
1996 --with-opengl use OpenGL (or Mesa)
1997 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1998 --with-sdl use SDL for audio on Unix
1999 --with-regex enable support for wxRegEx class
2000 --with-zlib use zlib for LZW compression
2001 --with-expat enable XML support using expat parser
2002 --with-macosx-sdk=PATH use an OS X SDK at PATH
2003 --with-macosx-version-min=VER build binaries which require at least this OS X version
2004 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2005 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2006 --with-x use the X Window System
2007 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2008 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2009 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2010 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2011 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2012
2013 Some influential environment variables:
2014 CC C compiler command
2015 CFLAGS C compiler flags
2016 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2017 nonstandard directory <lib dir>
2018 LIBS libraries to pass to the linker, e.g. -l<library>
2019 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2020 you have headers in a nonstandard directory <include dir>
2021 CPP C preprocessor
2022 CXX C++ compiler command
2023 CXXFLAGS C++ compiler flags
2024 CXXCPP C++ preprocessor
2025 PKG_CONFIG path to pkg-config utility
2026 DIRECTFB_CFLAGS
2027 C compiler flags for DIRECTFB, overriding pkg-config
2028 DIRECTFB_LIBS
2029 linker flags for DIRECTFB, overriding pkg-config
2030 XMKMF Path to xmkmf, Makefile generator for X Window System
2031 PANGOX_CFLAGS
2032 C compiler flags for PANGOX, overriding pkg-config
2033 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2034 PANGOFT2_CFLAGS
2035 C compiler flags for PANGOFT2, overriding pkg-config
2036 PANGOFT2_LIBS
2037 linker flags for PANGOFT2, overriding pkg-config
2038 PANGOXFT_CFLAGS
2039 C compiler flags for PANGOXFT, overriding pkg-config
2040 PANGOXFT_LIBS
2041 linker flags for PANGOXFT, overriding pkg-config
2042 Xinerama_CFLAGS
2043 C compiler flags for Xinerama, overriding pkg-config
2044 Xinerama_LIBS
2045 linker flags for Xinerama, overriding pkg-config
2046 Xxf86vm_CFLAGS
2047 C compiler flags for Xxf86vm, overriding pkg-config
2048 Xxf86vm_LIBS
2049 linker flags for Xxf86vm, overriding pkg-config
2050 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2051 SM_LIBS linker flags for SM, overriding pkg-config
2052 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2053 GL_LIBS linker flags for GL, overriding pkg-config
2054 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2055 GLU_LIBS linker flags for GLU, overriding pkg-config
2056 MesaGL_CFLAGS
2057 C compiler flags for MesaGL, overriding pkg-config
2058 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2059 GTKPRINT_CFLAGS
2060 C compiler flags for GTKPRINT, overriding pkg-config
2061 GTKPRINT_LIBS
2062 linker flags for GTKPRINT, overriding pkg-config
2063 LIBGNOMEPRINTUI_CFLAGS
2064 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2065 LIBGNOMEPRINTUI_LIBS
2066 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2067 GNOMEVFS_CFLAGS
2068 C compiler flags for GNOMEVFS, overriding pkg-config
2069 GNOMEVFS_LIBS
2070 linker flags for GNOMEVFS, overriding pkg-config
2071 HILDON_CFLAGS
2072 C compiler flags for HILDON, overriding pkg-config
2073 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2074 HILDON2_CFLAGS
2075 C compiler flags for HILDON2, overriding pkg-config
2076 HILDON2_LIBS
2077 linker flags for HILDON2, overriding pkg-config
2078 WEBKIT_CFLAGS
2079 C compiler flags for WEBKIT, overriding pkg-config
2080 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2081 CAIRO_CFLAGS
2082 C compiler flags for CAIRO, overriding pkg-config
2083 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2084 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2085 GST_LIBS linker flags for GST, overriding pkg-config
2086
2087 Use these variables to override the choices made by `configure' or to help
2088 it to find libraries and programs with nonstandard names/locations.
2089
2090 Report bugs to <wx-dev@lists.wxwidgets.org>.
2091 _ACEOF
2092 ac_status=$?
2093 fi
2094
2095 if test "$ac_init_help" = "recursive"; then
2096 # If there are subdirs, report their specific --help.
2097 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2098 test -d "$ac_dir" || continue
2099 ac_builddir=.
2100
2101 case "$ac_dir" in
2102 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2103 *)
2104 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2105 # A ".." for each directory in $ac_dir_suffix.
2106 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2107 case $ac_top_builddir_sub in
2108 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2109 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2110 esac ;;
2111 esac
2112 ac_abs_top_builddir=$ac_pwd
2113 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2114 # for backward compatibility:
2115 ac_top_builddir=$ac_top_build_prefix
2116
2117 case $srcdir in
2118 .) # We are building in place.
2119 ac_srcdir=.
2120 ac_top_srcdir=$ac_top_builddir_sub
2121 ac_abs_top_srcdir=$ac_pwd ;;
2122 [\\/]* | ?:[\\/]* ) # Absolute name.
2123 ac_srcdir=$srcdir$ac_dir_suffix;
2124 ac_top_srcdir=$srcdir
2125 ac_abs_top_srcdir=$srcdir ;;
2126 *) # Relative name.
2127 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2128 ac_top_srcdir=$ac_top_build_prefix$srcdir
2129 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2130 esac
2131 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2132
2133 cd "$ac_dir" || { ac_status=$?; continue; }
2134 # Check for guested configure.
2135 if test -f "$ac_srcdir/configure.gnu"; then
2136 echo &&
2137 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2138 elif test -f "$ac_srcdir/configure"; then
2139 echo &&
2140 $SHELL "$ac_srcdir/configure" --help=recursive
2141 else
2142 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2143 fi || ac_status=$?
2144 cd "$ac_pwd" || { ac_status=$?; break; }
2145 done
2146 fi
2147
2148 test -n "$ac_init_help" && exit $ac_status
2149 if $ac_init_version; then
2150 cat <<\_ACEOF
2151 wxWidgets configure 2.9.4
2152 generated by GNU Autoconf 2.61
2153
2154 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2155 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2156 This configure script is free software; the Free Software Foundation
2157 gives unlimited permission to copy, distribute and modify it.
2158 _ACEOF
2159 exit
2160 fi
2161 cat >config.log <<_ACEOF
2162 This file contains any messages produced by compilers while
2163 running configure, to aid debugging if configure makes a mistake.
2164
2165 It was created by wxWidgets $as_me 2.9.4, which was
2166 generated by GNU Autoconf 2.61. Invocation command line was
2167
2168 $ $0 $@
2169
2170 _ACEOF
2171 exec 5>>config.log
2172 {
2173 cat <<_ASUNAME
2174 ## --------- ##
2175 ## Platform. ##
2176 ## --------- ##
2177
2178 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2179 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2180 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2181 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2182 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2183
2184 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2185 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2186
2187 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2188 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2189 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2190 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2191 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2192 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2193 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2194
2195 _ASUNAME
2196
2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 for as_dir in $PATH
2199 do
2200 IFS=$as_save_IFS
2201 test -z "$as_dir" && as_dir=.
2202 echo "PATH: $as_dir"
2203 done
2204 IFS=$as_save_IFS
2205
2206 } >&5
2207
2208 cat >&5 <<_ACEOF
2209
2210
2211 ## ----------- ##
2212 ## Core tests. ##
2213 ## ----------- ##
2214
2215 _ACEOF
2216
2217
2218 # Keep a trace of the command line.
2219 # Strip out --no-create and --no-recursion so they do not pile up.
2220 # Strip out --silent because we don't want to record it for future runs.
2221 # Also quote any args containing shell meta-characters.
2222 # Make two passes to allow for proper duplicate-argument suppression.
2223 ac_configure_args=
2224 ac_configure_args0=
2225 ac_configure_args1=
2226 ac_must_keep_next=false
2227 for ac_pass in 1 2
2228 do
2229 for ac_arg
2230 do
2231 case $ac_arg in
2232 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2234 | -silent | --silent | --silen | --sile | --sil)
2235 continue ;;
2236 *\'*)
2237 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 esac
2239 case $ac_pass in
2240 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2241 2)
2242 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2243 if test $ac_must_keep_next = true; then
2244 ac_must_keep_next=false # Got value, back to normal.
2245 else
2246 case $ac_arg in
2247 *=* | --config-cache | -C | -disable-* | --disable-* \
2248 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2249 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2250 | -with-* | --with-* | -without-* | --without-* | --x)
2251 case "$ac_configure_args0 " in
2252 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2253 esac
2254 ;;
2255 -* ) ac_must_keep_next=true ;;
2256 esac
2257 fi
2258 ac_configure_args="$ac_configure_args '$ac_arg'"
2259 ;;
2260 esac
2261 done
2262 done
2263 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2264 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2265
2266 # When interrupted or exit'd, cleanup temporary files, and complete
2267 # config.log. We remove comments because anyway the quotes in there
2268 # would cause problems or look ugly.
2269 # WARNING: Use '\'' to represent an apostrophe within the trap.
2270 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2271 trap 'exit_status=$?
2272 # Save into config.log some information that might help in debugging.
2273 {
2274 echo
2275
2276 cat <<\_ASBOX
2277 ## ---------------- ##
2278 ## Cache variables. ##
2279 ## ---------------- ##
2280 _ASBOX
2281 echo
2282 # The following way of writing the cache mishandles newlines in values,
2283 (
2284 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2285 eval ac_val=\$$ac_var
2286 case $ac_val in #(
2287 *${as_nl}*)
2288 case $ac_var in #(
2289 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2290 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2291 esac
2292 case $ac_var in #(
2293 _ | IFS | as_nl) ;; #(
2294 *) $as_unset $ac_var ;;
2295 esac ;;
2296 esac
2297 done
2298 (set) 2>&1 |
2299 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2300 *${as_nl}ac_space=\ *)
2301 sed -n \
2302 "s/'\''/'\''\\\\'\'''\''/g;
2303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2304 ;; #(
2305 *)
2306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2307 ;;
2308 esac |
2309 sort
2310 )
2311 echo
2312
2313 cat <<\_ASBOX
2314 ## ----------------- ##
2315 ## Output variables. ##
2316 ## ----------------- ##
2317 _ASBOX
2318 echo
2319 for ac_var in $ac_subst_vars
2320 do
2321 eval ac_val=\$$ac_var
2322 case $ac_val in
2323 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2324 esac
2325 echo "$ac_var='\''$ac_val'\''"
2326 done | sort
2327 echo
2328
2329 if test -n "$ac_subst_files"; then
2330 cat <<\_ASBOX
2331 ## ------------------- ##
2332 ## File substitutions. ##
2333 ## ------------------- ##
2334 _ASBOX
2335 echo
2336 for ac_var in $ac_subst_files
2337 do
2338 eval ac_val=\$$ac_var
2339 case $ac_val in
2340 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341 esac
2342 echo "$ac_var='\''$ac_val'\''"
2343 done | sort
2344 echo
2345 fi
2346
2347 if test -s confdefs.h; then
2348 cat <<\_ASBOX
2349 ## ----------- ##
2350 ## confdefs.h. ##
2351 ## ----------- ##
2352 _ASBOX
2353 echo
2354 cat confdefs.h
2355 echo
2356 fi
2357 test "$ac_signal" != 0 &&
2358 echo "$as_me: caught signal $ac_signal"
2359 echo "$as_me: exit $exit_status"
2360 } >&5
2361 rm -f core *.core core.conftest.* &&
2362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2363 exit $exit_status
2364 ' 0
2365 for ac_signal in 1 2 13 15; do
2366 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2367 done
2368 ac_signal=0
2369
2370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2371 rm -f -r conftest* confdefs.h
2372
2373 # Predefined preprocessor variables.
2374
2375 cat >>confdefs.h <<_ACEOF
2376 #define PACKAGE_NAME "$PACKAGE_NAME"
2377 _ACEOF
2378
2379
2380 cat >>confdefs.h <<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2382 _ACEOF
2383
2384
2385 cat >>confdefs.h <<_ACEOF
2386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2387 _ACEOF
2388
2389
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_STRING "$PACKAGE_STRING"
2392 _ACEOF
2393
2394
2395 cat >>confdefs.h <<_ACEOF
2396 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2397 _ACEOF
2398
2399
2400 # Let the site file select an alternate cache file if it wants to.
2401 # Prefer explicitly selected file to automatically selected ones.
2402 if test -n "$CONFIG_SITE"; then
2403 set x "$CONFIG_SITE"
2404 elif test "x$prefix" != xNONE; then
2405 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2406 else
2407 set x "$ac_default_prefix/share/config.site" \
2408 "$ac_default_prefix/etc/config.site"
2409 fi
2410 shift
2411 for ac_site_file
2412 do
2413 if test -r "$ac_site_file"; then
2414 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2415 echo "$as_me: loading site script $ac_site_file" >&6;}
2416 sed 's/^/| /' "$ac_site_file" >&5
2417 . "$ac_site_file"
2418 fi
2419 done
2420
2421 if test -r "$cache_file"; then
2422 # Some versions of bash will fail to source /dev/null (special
2423 # files actually), so we avoid doing that.
2424 if test -f "$cache_file"; then
2425 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2426 echo "$as_me: loading cache $cache_file" >&6;}
2427 case $cache_file in
2428 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2429 *) . "./$cache_file";;
2430 esac
2431 fi
2432 else
2433 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2434 echo "$as_me: creating cache $cache_file" >&6;}
2435 >$cache_file
2436 fi
2437
2438 # Check that the precious variables saved in the cache have kept the same
2439 # value.
2440 ac_cache_corrupted=false
2441 for ac_var in $ac_precious_vars; do
2442 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2443 eval ac_new_set=\$ac_env_${ac_var}_set
2444 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2445 eval ac_new_val=\$ac_env_${ac_var}_value
2446 case $ac_old_set,$ac_new_set in
2447 set,)
2448 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2449 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2450 ac_cache_corrupted=: ;;
2451 ,set)
2452 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2453 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2454 ac_cache_corrupted=: ;;
2455 ,);;
2456 *)
2457 if test "x$ac_old_val" != "x$ac_new_val"; then
2458 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2459 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2460 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2461 echo "$as_me: former value: $ac_old_val" >&2;}
2462 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2463 echo "$as_me: current value: $ac_new_val" >&2;}
2464 ac_cache_corrupted=:
2465 fi;;
2466 esac
2467 # Pass precious variables to config.status.
2468 if test "$ac_new_set" = set; then
2469 case $ac_new_val in
2470 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2471 *) ac_arg=$ac_var=$ac_new_val ;;
2472 esac
2473 case " $ac_configure_args " in
2474 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2475 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2476 esac
2477 fi
2478 done
2479 if $ac_cache_corrupted; then
2480 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2481 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2482 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2483 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2484 { (exit 1); exit 1; }; }
2485 fi
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511 ac_ext=c
2512 ac_cpp='$CPP $CPPFLAGS'
2513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2516
2517
2518
2519
2520
2521 ac_aux_dir=
2522 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2523 if test -f "$ac_dir/install-sh"; then
2524 ac_aux_dir=$ac_dir
2525 ac_install_sh="$ac_aux_dir/install-sh -c"
2526 break
2527 elif test -f "$ac_dir/install.sh"; then
2528 ac_aux_dir=$ac_dir
2529 ac_install_sh="$ac_aux_dir/install.sh -c"
2530 break
2531 elif test -f "$ac_dir/shtool"; then
2532 ac_aux_dir=$ac_dir
2533 ac_install_sh="$ac_aux_dir/shtool install -c"
2534 break
2535 fi
2536 done
2537 if test -z "$ac_aux_dir"; then
2538 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2539 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2540 { (exit 1); exit 1; }; }
2541 fi
2542
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2550
2551
2552 # Make sure we can run config.sub.
2553 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2554 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2555 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2556 { (exit 1); exit 1; }; }
2557
2558 { echo "$as_me:$LINENO: checking build system type" >&5
2559 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2560 if test "${ac_cv_build+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563 ac_build_alias=$build_alias
2564 test "x$ac_build_alias" = x &&
2565 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2566 test "x$ac_build_alias" = x &&
2567 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2568 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2569 { (exit 1); exit 1; }; }
2570 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2571 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2572 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2573 { (exit 1); exit 1; }; }
2574
2575 fi
2576 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2577 echo "${ECHO_T}$ac_cv_build" >&6; }
2578 case $ac_cv_build in
2579 *-*-*) ;;
2580 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2581 echo "$as_me: error: invalid value of canonical build" >&2;}
2582 { (exit 1); exit 1; }; };;
2583 esac
2584 build=$ac_cv_build
2585 ac_save_IFS=$IFS; IFS='-'
2586 set x $ac_cv_build
2587 shift
2588 build_cpu=$1
2589 build_vendor=$2
2590 shift; shift
2591 # Remember, the first character of IFS is used to create $*,
2592 # except with old shells:
2593 build_os=$*
2594 IFS=$ac_save_IFS
2595 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2596
2597
2598 { echo "$as_me:$LINENO: checking host system type" >&5
2599 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2600 if test "${ac_cv_host+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 else
2603 if test "x$host_alias" = x; then
2604 ac_cv_host=$ac_cv_build
2605 else
2606 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2607 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2608 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2609 { (exit 1); exit 1; }; }
2610 fi
2611
2612 fi
2613 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2614 echo "${ECHO_T}$ac_cv_host" >&6; }
2615 case $ac_cv_host in
2616 *-*-*) ;;
2617 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2618 echo "$as_me: error: invalid value of canonical host" >&2;}
2619 { (exit 1); exit 1; }; };;
2620 esac
2621 host=$ac_cv_host
2622 ac_save_IFS=$IFS; IFS='-'
2623 set x $ac_cv_host
2624 shift
2625 host_cpu=$1
2626 host_vendor=$2
2627 shift; shift
2628 # Remember, the first character of IFS is used to create $*,
2629 # except with old shells:
2630 host_os=$*
2631 IFS=$ac_save_IFS
2632 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2633
2634
2635
2636 if test "$cross_compiling" != "no"; then
2637 HOST_PREFIX="${host_alias}-"
2638 HOST_SUFFIX="-$host_alias"
2639 else
2640 HOST_PREFIX=
2641 HOST_SUFFIX=
2642 fi
2643
2644
2645 wx_major_version_number=2
2646 wx_minor_version_number=9
2647 wx_release_number=4
2648 wx_subrelease_number=0
2649
2650 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2651 WX_VERSION=$WX_RELEASE.$wx_release_number
2652 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2653
2654 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2655
2656
2657 wx_top_builddir="`pwd`"
2658
2659
2660
2661
2662 USE_UNIX=1
2663 USE_OS2=0
2664 USE_WIN32=0
2665 USE_DOS=0
2666 USE_BEOS=0
2667 USE_MAC=0
2668
2669 USE_AIX=
2670 USE_BSD= USE_DARWIN= USE_FREEBSD=
2671 USE_GNU= USE_HPUX=
2672 USE_LINUX=
2673 USE_NETBSD=
2674 USE_OPENBSD=
2675 USE_OSF= USE_SGI=
2676 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2677 USE_ULTRIX=
2678 USE_UNIXWARE=
2679
2680 USE_ALPHA=
2681
2682 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2683
2684 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
2685
2686 DEFAULT_wxUSE_OLD_COCOA=0
2687 DEFAULT_wxUSE_GTK=0
2688 DEFAULT_wxUSE_OSX_CARBON=0
2689 DEFAULT_wxUSE_OSX_COCOA=0
2690 DEFAULT_wxUSE_OSX_IPHONE=0
2691 DEFAULT_wxUSE_MICROWIN=0
2692 DEFAULT_wxUSE_MOTIF=0
2693 DEFAULT_wxUSE_MSW=0
2694 DEFAULT_wxUSE_PM=0
2695 DEFAULT_wxUSE_X11=0
2696 DEFAULT_wxUSE_DFB=0
2697
2698 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2699 DEFAULT_DEFAULT_wxUSE_GTK=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2702 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2703 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2705 DEFAULT_DEFAULT_wxUSE_MSW=0
2706 DEFAULT_DEFAULT_wxUSE_PM=0
2707 DEFAULT_DEFAULT_wxUSE_X11=0
2708 DEFAULT_DEFAULT_wxUSE_DFB=0
2709
2710 PROGRAM_EXT=
2711 SAMPLES_RPATH_FLAG=
2712 DYLIB_RPATH_INSTALL=
2713 DYLIB_RPATH_POSTLINK=
2714
2715 DEFAULT_STD_FLAG=yes
2716
2717 case "${host}" in
2718 *-hp-hpux* )
2719 USE_HPUX=1
2720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __HPUX__ 1
2724 _ACEOF
2725
2726
2727 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2728 ;;
2729 *-*-linux* )
2730 USE_LINUX=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __LINUX__ 1
2733 _ACEOF
2734
2735 TMP=`uname -m`
2736 if test "x$TMP" = "xalpha"; then
2737 USE_ALPHA=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __ALPHA__ 1
2740 _ACEOF
2741
2742 fi
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 ;;
2745 *-*-gnu* | *-*-k*bsd*-gnu )
2746 USE_GNU=1
2747 TMP=`uname -m`
2748 if test "x$TMP" = "xalpha"; then
2749 USE_ALPHA=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __ALPHA__ 1
2752 _ACEOF
2753
2754 fi
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2756 ;;
2757 *-*-irix5* | *-*-irix6* )
2758 USE_SGI=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SGI__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-qnx*)
2771 USE_QNX=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __QNX__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_X11=1
2777 ;;
2778 *-*-solaris2* )
2779 USE_SUN=1
2780 USE_SOLARIS=1
2781 USE_SVR4=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SUN__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SOLARIS__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SVR4__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2796 ;;
2797 *-*-sunos4* )
2798 USE_SUN=1
2799 USE_SUNOS=1
2800 USE_BSD=1
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SUN__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SUNOS__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __BSD__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815 *-*-freebsd*)
2816 USE_BSD=1
2817 USE_FREEBSD=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __FREEBSD__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __BSD__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_GTK=1
2827 ;;
2828 *-*-openbsd*|*-*-mirbsd*)
2829 USE_BSD=1
2830 USE_OPENBSD=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __OPENBSD__ 1
2833 _ACEOF
2834
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __BSD__ 1
2837 _ACEOF
2838
2839 DEFAULT_DEFAULT_wxUSE_GTK=1
2840 ;;
2841 *-*-netbsd*)
2842 USE_BSD=1
2843 USE_NETBSD=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __NETBSD__ 1
2846 _ACEOF
2847
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __BSD__ 1
2850 _ACEOF
2851
2852 DEFAULT_DEFAULT_wxUSE_GTK=1
2853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2854
2855 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2856 ;;
2857 *-*-osf* )
2858 USE_ALPHA=1
2859 USE_OSF=1
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __ALPHA__ 1
2862 _ACEOF
2863
2864 cat >>confdefs.h <<\_ACEOF
2865 #define __OSF__ 1
2866 _ACEOF
2867
2868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2870 ;;
2871 *-*-dgux5* )
2872 USE_ALPHA=1
2873 USE_SVR4=1
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __ALPHA__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __SVR4__ 1
2880 _ACEOF
2881
2882 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2883 ;;
2884 *-*-sysv5* )
2885 USE_SYSV=1
2886 USE_SVR4=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __SYSV__ 1
2889 _ACEOF
2890
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __SVR4__ 1
2893 _ACEOF
2894
2895 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2896 ;;
2897 *-*-aix* )
2898 USE_AIX=1
2899 USE_SYSV=1
2900 USE_SVR4=1
2901 cat >>confdefs.h <<\_ACEOF
2902 #define __AIX__ 1
2903 _ACEOF
2904
2905 cat >>confdefs.h <<\_ACEOF
2906 #define __SYSV__ 1
2907 _ACEOF
2908
2909 cat >>confdefs.h <<\_ACEOF
2910 #define __SVR4__ 1
2911 _ACEOF
2912
2913 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2914 ;;
2915
2916 *-*-*UnixWare*)
2917 USE_SYSV=1
2918 USE_SVR4=1
2919 USE_UNIXWARE=1
2920 cat >>confdefs.h <<\_ACEOF
2921 #define __UNIXWARE__ 1
2922 _ACEOF
2923
2924 ;;
2925
2926 *-*-cygwin* | *-*-mingw32* )
2927 PROGRAM_EXT=".exe"
2928 DEFAULT_DEFAULT_wxUSE_MSW=1
2929 ;;
2930
2931 *-pc-msdosdjgpp )
2932 USE_UNIX=0
2933 USE_DOS=1
2934 cat >>confdefs.h <<\_ACEOF
2935 #define __DOS__ 1
2936 _ACEOF
2937
2938 PROGRAM_EXT=".exe"
2939 ;;
2940
2941 *-pc-os2_emx | *-pc-os2-emx )
2942 cat >>confdefs.h <<\_ACEOF
2943 #define __EMX__ 1
2944 _ACEOF
2945
2946 USE_OS2=1
2947 cat >>confdefs.h <<\_ACEOF
2948 #define __OS2__ 1
2949 _ACEOF
2950
2951 PROGRAM_EXT=".exe"
2952 DEFAULT_DEFAULT_wxUSE_PM=1
2953 CXX=gcc
2954 LDFLAGS="$LDFLAGS -Zcrtdll"
2955 ac_executable_extensions=".exe"
2956 export ac_executable_extensions
2957 ac_save_IFS="$IFS"
2958 IFS='\\'
2959 ac_TEMP_PATH=
2960 for ac_dir in $PATH; do
2961 IFS=$ac_save_IFS
2962 if test -z "$ac_TEMP_PATH"; then
2963 ac_TEMP_PATH="$ac_dir"
2964 else
2965 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2966 fi
2967 done
2968 export PATH="$ac_TEMP_PATH"
2969 unset ac_TEMP_PATH
2970 DEFAULT_STD_FLAG=no
2971 ;;
2972
2973 arm-apple-darwin*)
2974 USE_BSD=1
2975 USE_DARWIN=1
2976 cat >>confdefs.h <<\_ACEOF
2977 #define __BSD__ 1
2978 _ACEOF
2979
2980 cat >>confdefs.h <<\_ACEOF
2981 #define __DARWIN__ 1
2982 _ACEOF
2983
2984 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2985 ;;
2986
2987 *-*-darwin* )
2988 USE_BSD=1
2989 USE_DARWIN=1
2990 cat >>confdefs.h <<\_ACEOF
2991 #define __BSD__ 1
2992 _ACEOF
2993
2994 cat >>confdefs.h <<\_ACEOF
2995 #define __DARWIN__ 1
2996 _ACEOF
2997
2998 cat >>confdefs.h <<\_ACEOF
2999 #define TARGET_CARBON 1
3000 _ACEOF
3001
3002 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
3003 ;;
3004
3005 *-*-beos* )
3006 USE_BEOS=1
3007 cat >>confdefs.h <<\_ACEOF
3008 #define __BEOS__ 1
3009 _ACEOF
3010
3011 ;;
3012
3013 *)
3014 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3015 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3016 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3017 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3018
3019 DEFAULT_DEFAULT_wxUSE_X11=1
3020 DEFAULT_wxUSE_SHARED=no
3021 esac
3022
3023
3024
3025 DEFAULT_wxUSE_ALL_FEATURES=yes
3026
3027 DEFAULT_wxUSE_STD_CONTAINERS=no
3028 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3029 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3030
3031 DEFAULT_wxUSE_DMALLOC=no
3032 DEFAULT_wxUSE_LIBGNOMEVFS=no
3033 DEFAULT_wxUSE_LIBHILDON=no
3034 DEFAULT_wxUSE_LIBHILDON2=no
3035 DEFAULT_wxUSE_LIBMSPACK=no
3036 DEFAULT_wxUSE_LIBSDL=no
3037
3038 DEFAULT_wxUSE_ACCESSIBILITY=no
3039 DEFAULT_wxUSE_IPV6=no
3040 DEFAULT_wxUSE_GSTREAMER8=no
3041
3042 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
3043 DEFAULT_wxUSE_UNICODE_UTF8=auto
3044 DEFAULT_wxUSE_OPENGL=auto
3045 DEFAULT_wxUSE_MEDIACTRL=auto
3046 DEFAULT_wxUSE_COMPILER_TLS=auto
3047 DEFAULT_wxUSE_HOTKEY=auto
3048 DEFAULT_wxUSE_METAFILE=auto
3049
3050 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3051
3052 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3053 DEFAULT_wxUSE_MAC_ARCH=no
3054
3055 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3056
3057 DEFAULT_wxUSE_GTK2=yes
3058
3059 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3060
3061
3062
3063
3064
3065 enablestring=disable
3066 defaultval=
3067 if test -z "$defaultval"; then
3068 if test x"$enablestring" = xdisable; then
3069 defaultval=yes
3070 else
3071 defaultval=no
3072 fi
3073 fi
3074
3075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3076 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3077 # Check whether --enable-gui was given.
3078 if test "${enable_gui+set}" = set; then
3079 enableval=$enable_gui;
3080 if test "$enableval" = yes; then
3081 wx_cv_use_gui='wxUSE_GUI=yes'
3082 else
3083 wx_cv_use_gui='wxUSE_GUI=no'
3084 fi
3085
3086 else
3087
3088 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3089
3090 fi
3091
3092
3093 eval "$wx_cv_use_gui"
3094
3095 if test x"$enablestring" = xdisable; then
3096 if test $wxUSE_GUI = no; then
3097 result=yes
3098 else
3099 result=no
3100 fi
3101 else
3102 result=$wxUSE_GUI
3103 fi
3104
3105 { echo "$as_me:$LINENO: result: $result" >&5
3106 echo "${ECHO_T}$result" >&6; }
3107
3108
3109 enablestring=
3110 defaultval=
3111 if test -z "$defaultval"; then
3112 if test x"$enablestring" = xdisable; then
3113 defaultval=yes
3114 else
3115 defaultval=no
3116 fi
3117 fi
3118
3119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3120 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3121 # Check whether --enable-monolithic was given.
3122 if test "${enable_monolithic+set}" = set; then
3123 enableval=$enable_monolithic;
3124 if test "$enableval" = yes; then
3125 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3126 else
3127 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3128 fi
3129
3130 else
3131
3132 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3133
3134 fi
3135
3136
3137 eval "$wx_cv_use_monolithic"
3138
3139 if test x"$enablestring" = xdisable; then
3140 if test $wxUSE_MONOLITHIC = no; then
3141 result=yes
3142 else
3143 result=no
3144 fi
3145 else
3146 result=$wxUSE_MONOLITHIC
3147 fi
3148
3149 { echo "$as_me:$LINENO: result: $result" >&5
3150 echo "${ECHO_T}$result" >&6; }
3151
3152
3153 enablestring=
3154 defaultval=
3155 if test -z "$defaultval"; then
3156 if test x"$enablestring" = xdisable; then
3157 defaultval=yes
3158 else
3159 defaultval=no
3160 fi
3161 fi
3162
3163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3164 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3165 # Check whether --enable-plugins was given.
3166 if test "${enable_plugins+set}" = set; then
3167 enableval=$enable_plugins;
3168 if test "$enableval" = yes; then
3169 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3170 else
3171 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3172 fi
3173
3174 else
3175
3176 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3177
3178 fi
3179
3180
3181 eval "$wx_cv_use_plugins"
3182
3183 if test x"$enablestring" = xdisable; then
3184 if test $wxUSE_PLUGINS = no; then
3185 result=yes
3186 else
3187 result=no
3188 fi
3189 else
3190 result=$wxUSE_PLUGINS
3191 fi
3192
3193 { echo "$as_me:$LINENO: result: $result" >&5
3194 echo "${ECHO_T}$result" >&6; }
3195
3196
3197 withstring=without
3198 defaultval=$wxUSE_ALL_FEATURES
3199 if test -z "$defaultval"; then
3200 if test x"$withstring" = xwithout; then
3201 defaultval=yes
3202 else
3203 defaultval=no
3204 fi
3205 fi
3206 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3207 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3208
3209 # Check whether --with-subdirs was given.
3210 if test "${with_subdirs+set}" = set; then
3211 withval=$with_subdirs;
3212 if test "$withval" = yes; then
3213 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3214 else
3215 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3216 fi
3217
3218 else
3219
3220 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3221
3222 fi
3223
3224
3225 eval "$wx_cv_use_subdirs"
3226
3227 if test x"$withstring" = xwithout; then
3228 if test $wxWITH_SUBDIRS = yes; then
3229 result=no
3230 else
3231 result=yes
3232 fi
3233 else
3234 result=$wxWITH_SUBDIRS
3235 fi
3236
3237 { echo "$as_me:$LINENO: result: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3239
3240
3241 # Check whether --with-flavour was given.
3242 if test "${with_flavour+set}" = set; then
3243 withval=$with_flavour; WX_FLAVOUR="$withval"
3244 fi
3245
3246
3247 enablestring=
3248 defaultval=
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3251 defaultval=yes
3252 else
3253 defaultval=no
3254 fi
3255 fi
3256
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3259 # Check whether --enable-official_build was given.
3260 if test "${enable_official_build+set}" = set; then
3261 enableval=$enable_official_build;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3264 else
3265 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3266 fi
3267
3268 else
3269
3270 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3271
3272 fi
3273
3274
3275 eval "$wx_cv_use_official_build"
3276
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_OFFICIAL_BUILD = no; then
3279 result=yes
3280 else
3281 result=no
3282 fi
3283 else
3284 result=$wxUSE_OFFICIAL_BUILD
3285 fi
3286
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3289
3290 # Check whether --enable-vendor was given.
3291 if test "${enable_vendor+set}" = set; then
3292 enableval=$enable_vendor; VENDOR="$enableval"
3293 fi
3294
3295 if test "x$VENDOR" = "x"; then
3296 VENDOR="custom"
3297 fi
3298
3299
3300 enablestring=disable
3301 defaultval=
3302 if test -z "$defaultval"; then
3303 if test x"$enablestring" = xdisable; then
3304 defaultval=yes
3305 else
3306 defaultval=no
3307 fi
3308 fi
3309
3310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3312 # Check whether --enable-all-features was given.
3313 if test "${enable_all_features+set}" = set; then
3314 enableval=$enable_all_features;
3315 if test "$enableval" = yes; then
3316 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3317 else
3318 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3319 fi
3320
3321 else
3322
3323 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3324
3325 fi
3326
3327
3328 eval "$wx_cv_use_all_features"
3329
3330 if test x"$enablestring" = xdisable; then
3331 if test $wxUSE_ALL_FEATURES = no; then
3332 result=yes
3333 else
3334 result=no
3335 fi
3336 else
3337 result=$wxUSE_ALL_FEATURES
3338 fi
3339
3340 { echo "$as_me:$LINENO: result: $result" >&5
3341 echo "${ECHO_T}$result" >&6; }
3342
3343
3344 if test "$wxUSE_ALL_FEATURES" = "no"; then
3345 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3346 DEFAULT_wxUSE_MEDIACTRL=no
3347 fi
3348
3349
3350 if test "$wxUSE_GUI" = "yes"; then
3351
3352
3353 enablestring=
3354 defaultval=
3355 if test -z "$defaultval"; then
3356 if test x"$enablestring" = xdisable; then
3357 defaultval=yes
3358 else
3359 defaultval=no
3360 fi
3361 fi
3362
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3365 # Check whether --enable-universal was given.
3366 if test "${enable_universal+set}" = set; then
3367 enableval=$enable_universal;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3370 else
3371 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3372 fi
3373
3374 else
3375
3376 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3377
3378 fi
3379
3380
3381 eval "$wx_cv_use_universal"
3382
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_UNIVERSAL = no; then
3385 result=yes
3386 else
3387 result=no
3388 fi
3389 else
3390 result=$wxUSE_UNIVERSAL
3391 fi
3392
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3395
3396 if test "$wxUSE_UNIVERSAL" = "yes"; then
3397
3398 # Check whether --with-themes was given.
3399 if test "${with_themes+set}" = set; then
3400 withval=$with_themes; wxUNIV_THEMES="$withval"
3401 fi
3402
3403 fi
3404
3405
3406 # Check whether --with-gtk was given.
3407 if test "${with_gtk+set}" = set; then
3408 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-motif was given.
3413 if test "${with_motif+set}" = set; then
3414 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-osx_carbon was given.
3419 if test "${with_osx_carbon+set}" = set; then
3420 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-osx_cocoa was given.
3425 if test "${with_osx_cocoa+set}" = set; then
3426 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3427 fi
3428
3429
3430 # Check whether --with-osx_iphone was given.
3431 if test "${with_osx_iphone+set}" = set; then
3432 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3433 fi
3434
3435
3436 # Check whether --with-osx was given.
3437 if test "${with_osx+set}" = set; then
3438 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 # Check whether --with-carbon was given.
3443 if test "${with_carbon+set}" = set; then
3444 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3445 fi
3446
3447
3448 # Check whether --with-cocoa was given.
3449 if test "${with_cocoa+set}" = set; then
3450 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3451 fi
3452
3453
3454 # Check whether --with-iphone was given.
3455 if test "${with_iphone+set}" = set; then
3456 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3457 fi
3458
3459
3460 # Check whether --with-mac was given.
3461 if test "${with_mac+set}" = set; then
3462 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3463 fi
3464
3465
3466 # Check whether --with-old_cocoa was given.
3467 if test "${with_old_cocoa+set}" = set; then
3468 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3469 fi
3470
3471
3472 # Check whether --with-wine was given.
3473 if test "${with_wine+set}" = set; then
3474 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3475 fi
3476
3477
3478 # Check whether --with-msw was given.
3479 if test "${with_msw+set}" = set; then
3480 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3481 fi
3482
3483
3484 # Check whether --with-pm was given.
3485 if test "${with_pm+set}" = set; then
3486 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3487 fi
3488
3489
3490 # Check whether --with-directfb was given.
3491 if test "${with_directfb+set}" = set; then
3492 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3493 fi
3494
3495
3496 # Check whether --with-microwin was given.
3497 if test "${with_microwin+set}" = set; then
3498 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3499 fi
3500
3501
3502 # Check whether --with-x11 was given.
3503 if test "${with_x11+set}" = set; then
3504 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3505 fi
3506
3507
3508 enablestring=
3509 defaultval=
3510 if test -z "$defaultval"; then
3511 if test x"$enablestring" = xdisable; then
3512 defaultval=yes
3513 else
3514 defaultval=no
3515 fi
3516 fi
3517
3518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3520 # Check whether --enable-nanox was given.
3521 if test "${enable_nanox+set}" = set; then
3522 enableval=$enable_nanox;
3523 if test "$enableval" = yes; then
3524 wx_cv_use_nanox='wxUSE_NANOX=yes'
3525 else
3526 wx_cv_use_nanox='wxUSE_NANOX=no'
3527 fi
3528
3529 else
3530
3531 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3532
3533 fi
3534
3535
3536 eval "$wx_cv_use_nanox"
3537
3538 if test x"$enablestring" = xdisable; then
3539 if test $wxUSE_NANOX = no; then
3540 result=yes
3541 else
3542 result=no
3543 fi
3544 else
3545 result=$wxUSE_NANOX
3546 fi
3547
3548 { echo "$as_me:$LINENO: result: $result" >&5
3549 echo "${ECHO_T}$result" >&6; }
3550
3551
3552 # Check whether --enable-gtk2 was given.
3553 if test "${enable_gtk2+set}" = set; then
3554 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3555 fi
3556
3557
3558 enablestring=
3559 defaultval=
3560 if test -z "$defaultval"; then
3561 if test x"$enablestring" = xdisable; then
3562 defaultval=yes
3563 else
3564 defaultval=no
3565 fi
3566 fi
3567
3568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3570 # Check whether --enable-gpe was given.
3571 if test "${enable_gpe+set}" = set; then
3572 enableval=$enable_gpe;
3573 if test "$enableval" = yes; then
3574 wx_cv_use_gpe='wxUSE_GPE=yes'
3575 else
3576 wx_cv_use_gpe='wxUSE_GPE=no'
3577 fi
3578
3579 else
3580
3581 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3582
3583 fi
3584
3585
3586 eval "$wx_cv_use_gpe"
3587
3588 if test x"$enablestring" = xdisable; then
3589 if test $wxUSE_GPE = no; then
3590 result=yes
3591 else
3592 result=no
3593 fi
3594 else
3595 result=$wxUSE_GPE
3596 fi
3597
3598 { echo "$as_me:$LINENO: result: $result" >&5
3599 echo "${ECHO_T}$result" >&6; }
3600
3601
3602
3603 { echo "$as_me:$LINENO: checking for toolkit" >&5
3604 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3605
3606
3607
3608 # In Wine, we need to default to MSW, not GTK or MOTIF
3609 if test "$wxUSE_WINE" = "yes"; then
3610 DEFAULT_DEFAULT_wxUSE_GTK=0
3611 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3612 DEFAULT_DEFAULT_wxUSE_MSW=1
3613 wxUSE_SHARED=no
3614 CC=${CC:-winegcc}
3615 CXX=${CXX:-wineg++}
3616 fi
3617
3618
3619 if test "$wxUSE_GUI" = "yes"; then
3620
3621 if test "$USE_BEOS" = 1; then
3622 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3623 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3624 { (exit 1); exit 1; }; }
3625 fi
3626
3627 if test "$TOOLKIT_GIVEN" = 1; then
3628 for toolkit in $ALL_TOOLKITS; do
3629 var=wxUSE_$toolkit
3630 eval "value=\$${var}"
3631 if test "x$value" = "xno"; then
3632 eval "$var=0"
3633 elif test "x$value" != "x"; then
3634 eval "$var=1"
3635 fi
3636
3637 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3638 eval "wx${toolkit}_VERSION=$value"
3639 fi
3640 done
3641 else
3642 for toolkit in $ALL_TOOLKITS; do
3643 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3644 eval "wxUSE_$toolkit=\$${var}"
3645 done
3646 fi
3647
3648 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3649 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
3650 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3651
3652 case "${host}" in
3653 *-pc-os2_emx | *-pc-os2-emx )
3654 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3655 esac
3656
3657 case "$NUM_TOOLKITS" in
3658 1)
3659 ;;
3660 0)
3661 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3662 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3663 { (exit 1); exit 1; }; }
3664 ;;
3665 *)
3666 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3667 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3668 { (exit 1); exit 1; }; }
3669 esac
3670
3671 # to be removed when --disable-gtk2 isn't needed
3672 if test "x$wxUSE_GTK2" = "xyes"; then
3673 wxGTK_VERSION=2
3674 wxUSE_GTK1=0
3675 elif test "x$wxUSE_GTK2" = "xno"; then
3676 wxGTK_VERSION=1
3677 wxUSE_GTK1=1
3678 fi
3679
3680 for toolkit in $ALL_TOOLKITS; do
3681 var=wxUSE_$toolkit
3682 eval "value=\$${var}"
3683 if test "$value" = 1; then
3684 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3685 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3686 echo "${ECHO_T}$toolkit_echo" >&6; }
3687 fi
3688 done
3689 else
3690 if test "x$host_alias" != "x"; then
3691 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3692 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3693 else
3694 { echo "$as_me:$LINENO: result: base only" >&5
3695 echo "${ECHO_T}base only" >&6; }
3696 fi
3697 fi
3698
3699 wxUSE_MAC=0
3700 if test "$wxUSE_OSX_CARBON" = 1 \
3701 -o "$wxUSE_OSX_COCOA" = 1 \
3702 -o "$wxUSE_OSX_IPHONE" = 1; then
3703 wxUSE_MAC=1
3704 fi
3705
3706
3707
3708 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3709 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3710
3711 # Check whether --with-libpng was given.
3712 if test "${with_libpng+set}" = set; then
3713 withval=$with_libpng;
3714 if test "$withval" = yes; then
3715 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3716 elif test "$withval" = no; then
3717 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3718 elif test "$withval" = sys; then
3719 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3720 elif test "$withval" = builtin; then
3721 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3722 else
3723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3724 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3725 { (exit 1); exit 1; }; }
3726 fi
3727
3728 else
3729
3730 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3731
3732 fi
3733
3734
3735 eval "$wx_cv_use_libpng"
3736
3737 if test "$wxUSE_LIBPNG" = yes; then
3738 { echo "$as_me:$LINENO: result: yes" >&5
3739 echo "${ECHO_T}yes" >&6; }
3740 elif test "$wxUSE_LIBPNG" = no; then
3741 { echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6; }
3743 elif test "$wxUSE_LIBPNG" = sys; then
3744 { echo "$as_me:$LINENO: result: system version" >&5
3745 echo "${ECHO_T}system version" >&6; }
3746 elif test "$wxUSE_LIBPNG" = builtin; then
3747 { echo "$as_me:$LINENO: result: builtin version" >&5
3748 echo "${ECHO_T}builtin version" >&6; }
3749 else
3750 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3751 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3752 { (exit 1); exit 1; }; }
3753 fi
3754
3755
3756 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3757 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3758
3759 # Check whether --with-libjpeg was given.
3760 if test "${with_libjpeg+set}" = set; then
3761 withval=$with_libjpeg;
3762 if test "$withval" = yes; then
3763 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3764 elif test "$withval" = no; then
3765 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3766 elif test "$withval" = sys; then
3767 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3768 elif test "$withval" = builtin; then
3769 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3770 else
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3774 fi
3775
3776 else
3777
3778 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3779
3780 fi
3781
3782
3783 eval "$wx_cv_use_libjpeg"
3784
3785 if test "$wxUSE_LIBJPEG" = yes; then
3786 { echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6; }
3788 elif test "$wxUSE_LIBJPEG" = no; then
3789 { echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6; }
3791 elif test "$wxUSE_LIBJPEG" = sys; then
3792 { echo "$as_me:$LINENO: result: system version" >&5
3793 echo "${ECHO_T}system version" >&6; }
3794 elif test "$wxUSE_LIBJPEG" = builtin; then
3795 { echo "$as_me:$LINENO: result: builtin version" >&5
3796 echo "${ECHO_T}builtin version" >&6; }
3797 else
3798 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3799 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3800 { (exit 1); exit 1; }; }
3801 fi
3802
3803
3804 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3805 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3806
3807 # Check whether --with-libtiff was given.
3808 if test "${with_libtiff+set}" = set; then
3809 withval=$with_libtiff;
3810 if test "$withval" = yes; then
3811 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3812 elif test "$withval" = no; then
3813 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3814 elif test "$withval" = sys; then
3815 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3816 elif test "$withval" = builtin; then
3817 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3818 else
3819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3820 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3821 { (exit 1); exit 1; }; }
3822 fi
3823
3824 else
3825
3826 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3827
3828 fi
3829
3830
3831 eval "$wx_cv_use_libtiff"
3832
3833 if test "$wxUSE_LIBTIFF" = yes; then
3834 { echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6; }
3836 elif test "$wxUSE_LIBTIFF" = no; then
3837 { echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6; }
3839 elif test "$wxUSE_LIBTIFF" = sys; then
3840 { echo "$as_me:$LINENO: result: system version" >&5
3841 echo "${ECHO_T}system version" >&6; }
3842 elif test "$wxUSE_LIBTIFF" = builtin; then
3843 { echo "$as_me:$LINENO: result: builtin version" >&5
3844 echo "${ECHO_T}builtin version" >&6; }
3845 else
3846 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3847 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3848 { (exit 1); exit 1; }; }
3849 fi
3850
3851
3852 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3853 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3854
3855 # Check whether --with-libxpm was given.
3856 if test "${with_libxpm+set}" = set; then
3857 withval=$with_libxpm;
3858 if test "$withval" = yes; then
3859 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3860 elif test "$withval" = no; then
3861 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3862 elif test "$withval" = sys; then
3863 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3864 elif test "$withval" = builtin; then
3865 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3866 else
3867 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3868 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3869 { (exit 1); exit 1; }; }
3870 fi
3871
3872 else
3873
3874 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3875
3876 fi
3877
3878
3879 eval "$wx_cv_use_libxpm"
3880
3881 if test "$wxUSE_LIBXPM" = yes; then
3882 { echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6; }
3884 elif test "$wxUSE_LIBXPM" = no; then
3885 { echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6; }
3887 elif test "$wxUSE_LIBXPM" = sys; then
3888 { echo "$as_me:$LINENO: result: system version" >&5
3889 echo "${ECHO_T}system version" >&6; }
3890 elif test "$wxUSE_LIBXPM" = builtin; then
3891 { echo "$as_me:$LINENO: result: builtin version" >&5
3892 echo "${ECHO_T}builtin version" >&6; }
3893 else
3894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3895 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3896 { (exit 1); exit 1; }; }
3897 fi
3898
3899
3900 withstring=
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3904 defaultval=yes
3905 else
3906 defaultval=no
3907 fi
3908 fi
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3911
3912 # Check whether --with-libiconv was given.
3913 if test "${with_libiconv+set}" = set; then
3914 withval=$with_libiconv;
3915 if test "$withval" = yes; then
3916 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3917 else
3918 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3919 fi
3920
3921 else
3922
3923 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3924
3925 fi
3926
3927
3928 eval "$wx_cv_use_libiconv"
3929
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_LIBICONV = yes; then
3932 result=no
3933 else
3934 result=yes
3935 fi
3936 else
3937 result=$wxUSE_LIBICONV
3938 fi
3939
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3942
3943
3944 withstring=
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3948 defaultval=yes
3949 else
3950 defaultval=no
3951 fi
3952 fi
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3955
3956 # Check whether --with-libmspack was given.
3957 if test "${with_libmspack+set}" = set; then
3958 withval=$with_libmspack;
3959 if test "$withval" = yes; then
3960 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3961 else
3962 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3963 fi
3964
3965 else
3966
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3968
3969 fi
3970
3971
3972 eval "$wx_cv_use_libmspack"
3973
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_LIBMSPACK = yes; then
3976 result=no
3977 else
3978 result=yes
3979 fi
3980 else
3981 result=$wxUSE_LIBMSPACK
3982 fi
3983
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3986
3987
3988 withstring=without
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3992 defaultval=yes
3993 else
3994 defaultval=no
3995 fi
3996 fi
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3999
4000 # Check whether --with-gtkprint was given.
4001 if test "${with_gtkprint+set}" = set; then
4002 withval=$with_gtkprint;
4003 if test "$withval" = yes; then
4004 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
4005 else
4006 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
4007 fi
4008
4009 else
4010
4011 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4012
4013 fi
4014
4015
4016 eval "$wx_cv_use_gtkprint"
4017
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_GTKPRINT = yes; then
4020 result=no
4021 else
4022 result=yes
4023 fi
4024 else
4025 result=$wxUSE_GTKPRINT
4026 fi
4027
4028 { echo "$as_me:$LINENO: result: $result" >&5
4029 echo "${ECHO_T}$result" >&6; }
4030
4031
4032 withstring=without
4033 defaultval=$wxUSE_ALL_FEATURES
4034 if test -z "$defaultval"; then
4035 if test x"$withstring" = xwithout; then
4036 defaultval=yes
4037 else
4038 defaultval=no
4039 fi
4040 fi
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4043
4044 # Check whether --with-gnomeprint was given.
4045 if test "${with_gnomeprint+set}" = set; then
4046 withval=$with_gnomeprint;
4047 if test "$withval" = yes; then
4048 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4049 else
4050 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4051 fi
4052
4053 else
4054
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4056
4057 fi
4058
4059
4060 eval "$wx_cv_use_gnomeprint"
4061
4062 if test x"$withstring" = xwithout; then
4063 if test $wxUSE_LIBGNOMEPRINT = yes; then
4064 result=no
4065 else
4066 result=yes
4067 fi
4068 else
4069 result=$wxUSE_LIBGNOMEPRINT
4070 fi
4071
4072 { echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4074
4075
4076 withstring=
4077 defaultval=$wxUSE_ALL_FEATURES
4078 if test -z "$defaultval"; then
4079 if test x"$withstring" = xwithout; then
4080 defaultval=yes
4081 else
4082 defaultval=no
4083 fi
4084 fi
4085 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4086 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4087
4088 # Check whether --with-gnomevfs was given.
4089 if test "${with_gnomevfs+set}" = set; then
4090 withval=$with_gnomevfs;
4091 if test "$withval" = yes; then
4092 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4093 else
4094 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4095 fi
4096
4097 else
4098
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4100
4101 fi
4102
4103
4104 eval "$wx_cv_use_gnomevfs"
4105
4106 if test x"$withstring" = xwithout; then
4107 if test $wxUSE_LIBGNOMEVFS = yes; then
4108 result=no
4109 else
4110 result=yes
4111 fi
4112 else
4113 result=$wxUSE_LIBGNOMEVFS
4114 fi
4115
4116 { echo "$as_me:$LINENO: result: $result" >&5
4117 echo "${ECHO_T}$result" >&6; }
4118
4119
4120 withstring=
4121 defaultval=$wxUSE_ALL_FEATURES
4122 if test -z "$defaultval"; then
4123 if test x"$withstring" = xwithout; then
4124 defaultval=yes
4125 else
4126 defaultval=no
4127 fi
4128 fi
4129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4130 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4131
4132 # Check whether --with-hildon was given.
4133 if test "${with_hildon+set}" = set; then
4134 withval=$with_hildon;
4135 if test "$withval" = yes; then
4136 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4137 else
4138 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4139 fi
4140
4141 else
4142
4143 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4144
4145 fi
4146
4147
4148 eval "$wx_cv_use_hildon"
4149
4150 if test x"$withstring" = xwithout; then
4151 if test $wxUSE_LIBHILDON = yes; then
4152 result=no
4153 else
4154 result=yes
4155 fi
4156 else
4157 result=$wxUSE_LIBHILDON
4158 fi
4159
4160 { echo "$as_me:$LINENO: result: $result" >&5
4161 echo "${ECHO_T}$result" >&6; }
4162
4163
4164 withstring=
4165 defaultval=$wxUSE_ALL_FEATURES
4166 if test -z "$defaultval"; then
4167 if test x"$withstring" = xwithout; then
4168 defaultval=yes
4169 else
4170 defaultval=no
4171 fi
4172 fi
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4175
4176 # Check whether --with-opengl was given.
4177 if test "${with_opengl+set}" = set; then
4178 withval=$with_opengl;
4179 if test "$withval" = yes; then
4180 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4181 else
4182 wx_cv_use_opengl='wxUSE_OPENGL=no'
4183 fi
4184
4185 else
4186
4187 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_opengl"
4193
4194 if test x"$withstring" = xwithout; then
4195 if test $wxUSE_OPENGL = yes; then
4196 result=no
4197 else
4198 result=yes
4199 fi
4200 else
4201 result=$wxUSE_OPENGL
4202 fi
4203
4204 { echo "$as_me:$LINENO: result: $result" >&5
4205 echo "${ECHO_T}$result" >&6; }
4206
4207
4208 fi
4209
4210
4211 withstring=
4212 defaultval=$wxUSE_ALL_FEATURES
4213 if test -z "$defaultval"; then
4214 if test x"$withstring" = xwithout; then
4215 defaultval=yes
4216 else
4217 defaultval=no
4218 fi
4219 fi
4220 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4221 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4222
4223 # Check whether --with-dmalloc was given.
4224 if test "${with_dmalloc+set}" = set; then
4225 withval=$with_dmalloc;
4226 if test "$withval" = yes; then
4227 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4228 else
4229 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4230 fi
4231
4232 else
4233
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4235
4236 fi
4237
4238
4239 eval "$wx_cv_use_dmalloc"
4240
4241 if test x"$withstring" = xwithout; then
4242 if test $wxUSE_DMALLOC = yes; then
4243 result=no
4244 else
4245 result=yes
4246 fi
4247 else
4248 result=$wxUSE_DMALLOC
4249 fi
4250
4251 { echo "$as_me:$LINENO: result: $result" >&5
4252 echo "${ECHO_T}$result" >&6; }
4253
4254
4255 withstring=
4256 defaultval=$wxUSE_ALL_FEATURES
4257 if test -z "$defaultval"; then
4258 if test x"$withstring" = xwithout; then
4259 defaultval=yes
4260 else
4261 defaultval=no
4262 fi
4263 fi
4264 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4265 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4266
4267 # Check whether --with-sdl was given.
4268 if test "${with_sdl+set}" = set; then
4269 withval=$with_sdl;
4270 if test "$withval" = yes; then
4271 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4272 else
4273 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4274 fi
4275
4276 else
4277
4278 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4279
4280 fi
4281
4282
4283 eval "$wx_cv_use_sdl"
4284
4285 if test x"$withstring" = xwithout; then
4286 if test $wxUSE_LIBSDL = yes; then
4287 result=no
4288 else
4289 result=yes
4290 fi
4291 else
4292 result=$wxUSE_LIBSDL
4293 fi
4294
4295 { echo "$as_me:$LINENO: result: $result" >&5
4296 echo "${ECHO_T}$result" >&6; }
4297
4298
4299 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4300 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4301
4302 # Check whether --with-regex was given.
4303 if test "${with_regex+set}" = set; then
4304 withval=$with_regex;
4305 if test "$withval" = yes; then
4306 wx_cv_use_regex='wxUSE_REGEX=yes'
4307 elif test "$withval" = no; then
4308 wx_cv_use_regex='wxUSE_REGEX=no'
4309 elif test "$withval" = sys; then
4310 wx_cv_use_regex='wxUSE_REGEX=sys'
4311 elif test "$withval" = builtin; then
4312 wx_cv_use_regex='wxUSE_REGEX=builtin'
4313 else
4314 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4315 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4316 { (exit 1); exit 1; }; }
4317 fi
4318
4319 else
4320
4321 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4322
4323 fi
4324
4325
4326 eval "$wx_cv_use_regex"
4327
4328 if test "$wxUSE_REGEX" = yes; then
4329 { echo "$as_me:$LINENO: result: yes" >&5
4330 echo "${ECHO_T}yes" >&6; }
4331 elif test "$wxUSE_REGEX" = no; then
4332 { echo "$as_me:$LINENO: result: no" >&5
4333 echo "${ECHO_T}no" >&6; }
4334 elif test "$wxUSE_REGEX" = sys; then
4335 { echo "$as_me:$LINENO: result: system version" >&5
4336 echo "${ECHO_T}system version" >&6; }
4337 elif test "$wxUSE_REGEX" = builtin; then
4338 { echo "$as_me:$LINENO: result: builtin version" >&5
4339 echo "${ECHO_T}builtin version" >&6; }
4340 else
4341 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4342 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4343 { (exit 1); exit 1; }; }
4344 fi
4345
4346
4347 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4348 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4349
4350 # Check whether --with-zlib was given.
4351 if test "${with_zlib+set}" = set; then
4352 withval=$with_zlib;
4353 if test "$withval" = yes; then
4354 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4355 elif test "$withval" = no; then
4356 wx_cv_use_zlib='wxUSE_ZLIB=no'
4357 elif test "$withval" = sys; then
4358 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4359 elif test "$withval" = builtin; then
4360 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4361 else
4362 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4363 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4364 { (exit 1); exit 1; }; }
4365 fi
4366
4367 else
4368
4369 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4370
4371 fi
4372
4373
4374 eval "$wx_cv_use_zlib"
4375
4376 if test "$wxUSE_ZLIB" = yes; then
4377 { echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6; }
4379 elif test "$wxUSE_ZLIB" = no; then
4380 { echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6; }
4382 elif test "$wxUSE_ZLIB" = sys; then
4383 { echo "$as_me:$LINENO: result: system version" >&5
4384 echo "${ECHO_T}system version" >&6; }
4385 elif test "$wxUSE_ZLIB" = builtin; then
4386 { echo "$as_me:$LINENO: result: builtin version" >&5
4387 echo "${ECHO_T}builtin version" >&6; }
4388 else
4389 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4390 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4391 { (exit 1); exit 1; }; }
4392 fi
4393
4394
4395 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4396 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4397
4398 # Check whether --with-expat was given.
4399 if test "${with_expat+set}" = set; then
4400 withval=$with_expat;
4401 if test "$withval" = yes; then
4402 wx_cv_use_expat='wxUSE_EXPAT=yes'
4403 elif test "$withval" = no; then
4404 wx_cv_use_expat='wxUSE_EXPAT=no'
4405 elif test "$withval" = sys; then
4406 wx_cv_use_expat='wxUSE_EXPAT=sys'
4407 elif test "$withval" = builtin; then
4408 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4409 else
4410 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4411 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4412 { (exit 1); exit 1; }; }
4413 fi
4414
4415 else
4416
4417 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4418
4419 fi
4420
4421
4422 eval "$wx_cv_use_expat"
4423
4424 if test "$wxUSE_EXPAT" = yes; then
4425 { echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6; }
4427 elif test "$wxUSE_EXPAT" = no; then
4428 { echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6; }
4430 elif test "$wxUSE_EXPAT" = sys; then
4431 { echo "$as_me:$LINENO: result: system version" >&5
4432 echo "${ECHO_T}system version" >&6; }
4433 elif test "$wxUSE_EXPAT" = builtin; then
4434 { echo "$as_me:$LINENO: result: builtin version" >&5
4435 echo "${ECHO_T}builtin version" >&6; }
4436 else
4437 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4438 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4439 { (exit 1); exit 1; }; }
4440 fi
4441
4442
4443 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4444 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4445
4446 # Check whether --with-macosx-sdk was given.
4447 if test "${with_macosx_sdk+set}" = set; then
4448 withval=$with_macosx_sdk;
4449 wxUSE_MACOSX_SDK=$withval
4450 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4451
4452 fi
4453
4454 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4455 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4456
4457 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4458 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4459
4460 # Check whether --with-macosx-version-min was given.
4461 if test "${with_macosx_version_min+set}" = set; then
4462 withval=$with_macosx_version_min;
4463 wxUSE_MACOSX_VERSION_MIN=$withval
4464 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4465
4466 fi
4467
4468 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4469 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4470
4471
4472 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4473 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4474 # Check whether --enable-debug was given.
4475 if test "${enable_debug+set}" = set; then
4476 enableval=$enable_debug;
4477 if test "$enableval" = yes; then
4478 wxUSE_DEBUG=yes
4479 elif test "$enableval" = no; then
4480 wxUSE_DEBUG=no
4481 elif test "$enableval" = max; then
4482 wxUSE_DEBUG=yes
4483 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4484 else
4485 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4486 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4487 { (exit 1); exit 1; }; }
4488 fi
4489
4490 else
4491 wxUSE_DEBUG=default
4492
4493 fi
4494
4495 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4496 echo "${ECHO_T}${enable_debug-default}" >&6; }
4497
4498 case "$wxUSE_DEBUG" in
4499 yes)
4500 DEFAULT_wxUSE_DEBUG_FLAG=yes
4501 DEFAULT_wxUSE_DEBUG_INFO=yes
4502
4503 DEFAULT_wxUSE_OPTIMISE=no
4504 ;;
4505
4506 no)
4507 DEFAULT_wxUSE_DEBUG_FLAG=no
4508 DEFAULT_wxUSE_DEBUG_INFO=no
4509 ;;
4510
4511 default)
4512 DEFAULT_wxUSE_DEBUG_FLAG=yes
4513 DEFAULT_wxUSE_DEBUG_INFO=no
4514 ;;
4515 esac
4516
4517
4518 enablestring=disable
4519 defaultval=
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4522 defaultval=yes
4523 else
4524 defaultval=no
4525 fi
4526 fi
4527
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_flag was given.
4531 if test "${enable_debug_flag+set}" = set; then
4532 enableval=$enable_debug_flag;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4535 else
4536 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4537 fi
4538
4539 else
4540
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4542
4543 fi
4544
4545
4546 eval "$wx_cv_use_debug_flag"
4547
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_FLAG = no; then
4550 result=yes
4551 else
4552 result=no
4553 fi
4554 else
4555 result=$wxUSE_DEBUG_FLAG
4556 fi
4557
4558 { echo "$as_me:$LINENO: result: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4560
4561
4562 enablestring=
4563 defaultval=
4564 if test -z "$defaultval"; then
4565 if test x"$enablestring" = xdisable; then
4566 defaultval=yes
4567 else
4568 defaultval=no
4569 fi
4570 fi
4571
4572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4574 # Check whether --enable-debug_info was given.
4575 if test "${enable_debug_info+set}" = set; then
4576 enableval=$enable_debug_info;
4577 if test "$enableval" = yes; then
4578 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4579 else
4580 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4581 fi
4582
4583 else
4584
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4586
4587 fi
4588
4589
4590 eval "$wx_cv_use_debug_info"
4591
4592 if test x"$enablestring" = xdisable; then
4593 if test $wxUSE_DEBUG_INFO = no; then
4594 result=yes
4595 else
4596 result=no
4597 fi
4598 else
4599 result=$wxUSE_DEBUG_INFO
4600 fi
4601
4602 { echo "$as_me:$LINENO: result: $result" >&5
4603 echo "${ECHO_T}$result" >&6; }
4604
4605
4606
4607
4608 enablestring=
4609 defaultval=
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4612 defaultval=yes
4613 else
4614 defaultval=no
4615 fi
4616 fi
4617
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4620 # Check whether --enable-debug_gdb was given.
4621 if test "${enable_debug_gdb+set}" = set; then
4622 enableval=$enable_debug_gdb;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4625 else
4626 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4627 fi
4628
4629 else
4630
4631 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_debug_gdb"
4637
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_DEBUG_GDB = no; then
4640 result=yes
4641 else
4642 result=no
4643 fi
4644 else
4645 result=$wxUSE_DEBUG_GDB
4646 fi
4647
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4664 # Check whether --enable-debug_cntxt was given.
4665 if test "${enable_debug_cntxt+set}" = set; then
4666 enableval=$enable_debug_cntxt;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4669 else
4670 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_debug_cntxt"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_DEBUG_CONTEXT = no; then
4684 result=yes
4685 else
4686 result=no
4687 fi
4688 else
4689 result=$wxUSE_DEBUG_CONTEXT
4690 fi
4691
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4694
4695
4696 enablestring=
4697 defaultval=
4698 if test -z "$defaultval"; then
4699 if test x"$enablestring" = xdisable; then
4700 defaultval=yes
4701 else
4702 defaultval=no
4703 fi
4704 fi
4705
4706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4708 # Check whether --enable-mem_tracing was given.
4709 if test "${enable_mem_tracing+set}" = set; then
4710 enableval=$enable_mem_tracing;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4713 else
4714 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4715 fi
4716
4717 else
4718
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4720
4721 fi
4722
4723
4724 eval "$wx_cv_use_mem_tracing"
4725
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_MEM_TRACING = no; then
4728 result=yes
4729 else
4730 result=no
4731 fi
4732 else
4733 result=$wxUSE_MEM_TRACING
4734 fi
4735
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4738
4739
4740
4741
4742 enablestring=disable
4743 defaultval=
4744 if test -z "$defaultval"; then
4745 if test x"$enablestring" = xdisable; then
4746 defaultval=yes
4747 else
4748 defaultval=no
4749 fi
4750 fi
4751
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4754 # Check whether --enable-shared was given.
4755 if test "${enable_shared+set}" = set; then
4756 enableval=$enable_shared;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_shared='wxUSE_SHARED=yes'
4759 else
4760 wx_cv_use_shared='wxUSE_SHARED=no'
4761 fi
4762
4763 else
4764
4765 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4766
4767 fi
4768
4769
4770 eval "$wx_cv_use_shared"
4771
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_SHARED = no; then
4774 result=yes
4775 else
4776 result=no
4777 fi
4778 else
4779 result=$wxUSE_SHARED
4780 fi
4781
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4784
4785
4786 enablestring=
4787 defaultval=
4788 if test -z "$defaultval"; then
4789 if test x"$enablestring" = xdisable; then
4790 defaultval=yes
4791 else
4792 defaultval=no
4793 fi
4794 fi
4795
4796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4798 # Check whether --enable-stl was given.
4799 if test "${enable_stl+set}" = set; then
4800 enableval=$enable_stl;
4801 if test "$enableval" = yes; then
4802 wx_cv_use_stl='wxUSE_STL=yes'
4803 else
4804 wx_cv_use_stl='wxUSE_STL=no'
4805 fi
4806
4807 else
4808
4809 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4810
4811 fi
4812
4813
4814 eval "$wx_cv_use_stl"
4815
4816 if test x"$enablestring" = xdisable; then
4817 if test $wxUSE_STL = no; then
4818 result=yes
4819 else
4820 result=no
4821 fi
4822 else
4823 result=$wxUSE_STL
4824 fi
4825
4826 { echo "$as_me:$LINENO: result: $result" >&5
4827 echo "${ECHO_T}$result" >&6; }
4828
4829 if test "$wxUSE_STL" = "yes"; then
4830 DEFAULT_wxUSE_STD_CONTAINERS=yes
4831 DEFAULT_wxUSE_STD_IOSTREAM=yes
4832 DEFAULT_wxUSE_STD_STRING=yes
4833 fi
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4847 # Check whether --enable-std_containers was given.
4848 if test "${enable_std_containers+set}" = set; then
4849 enableval=$enable_std_containers;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4852 else
4853 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_std_containers"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_STD_CONTAINERS = no; then
4867 result=yes
4868 else
4869 result=no
4870 fi
4871 else
4872 result=$wxUSE_STD_CONTAINERS
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4891 # Check whether --enable-std_iostreams was given.
4892 if test "${enable_std_iostreams+set}" = set; then
4893 enableval=$enable_std_iostreams;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4896 else
4897 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_std_iostreams"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_STD_IOSTREAM = no; then
4911 result=yes
4912 else
4913 result=no
4914 fi
4915 else
4916 result=$wxUSE_STD_IOSTREAM
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 enablestring=
4924 defaultval=
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4927 defaultval=yes
4928 else
4929 defaultval=no
4930 fi
4931 fi
4932
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4935 # Check whether --enable-std_string was given.
4936 if test "${enable_std_string+set}" = set; then
4937 enableval=$enable_std_string;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4940 else
4941 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4942 fi
4943
4944 else
4945
4946 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_std_string"
4952
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_STD_STRING = no; then
4955 result=yes
4956 else
4957 result=no
4958 fi
4959 else
4960 result=$wxUSE_STD_STRING
4961 fi
4962
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4965
4966
4967 enablestring=
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4979 # Check whether --enable-std_string_conv_in_wxstring was given.
4980 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4981 enableval=$enable_std_string_conv_in_wxstring;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4984 else
4985 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_std_string_conv_in_wxstring"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=disable
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5023 # Check whether --enable-unicode was given.
5024 if test "${enable_unicode+set}" = set; then
5025 enableval=$enable_unicode;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_unicode='wxUSE_UNICODE=yes'
5028 else
5029 wx_cv_use_unicode='wxUSE_UNICODE=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_unicode"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_UNICODE = no; then
5043 result=yes
5044 else
5045 result=no
5046 fi
5047 else
5048 result=$wxUSE_UNICODE
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054
5055 enablestring=
5056 defaultval=
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5059 defaultval=yes
5060 else
5061 defaultval=no
5062 fi
5063 fi
5064
5065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5067 # Check whether --enable-mslu was given.
5068 if test "${enable_mslu+set}" = set; then
5069 enableval=$enable_mslu;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5072 else
5073 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5074 fi
5075
5076 else
5077
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5079
5080 fi
5081
5082
5083 eval "$wx_cv_use_mslu"
5084
5085 if test x"$enablestring" = xdisable; then
5086 if test $wxUSE_UNICODE_MSLU = no; then
5087 result=yes
5088 else
5089 result=no
5090 fi
5091 else
5092 result=$wxUSE_UNICODE_MSLU
5093 fi
5094
5095 { echo "$as_me:$LINENO: result: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5097
5098
5099 enablestring=
5100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5101 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5102 # Check whether --enable-utf8 was given.
5103 if test "${enable_utf8+set}" = set; then
5104 enableval=$enable_utf8;
5105 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5106
5107 else
5108
5109 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5110
5111 fi
5112
5113
5114 eval "$wx_cv_use_utf8"
5115
5116 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5117 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5118
5119
5120 enablestring=
5121 defaultval=
5122 if test -z "$defaultval"; then
5123 if test x"$enablestring" = xdisable; then
5124 defaultval=yes
5125 else
5126 defaultval=no
5127 fi
5128 fi
5129
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5132 # Check whether --enable-utf8only was given.
5133 if test "${enable_utf8only+set}" = set; then
5134 enableval=$enable_utf8only;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5137 else
5138 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5139 fi
5140
5141 else
5142
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5144
5145 fi
5146
5147
5148 eval "$wx_cv_use_utf8only"
5149
5150 if test x"$enablestring" = xdisable; then
5151 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5152 result=yes
5153 else
5154 result=no
5155 fi
5156 else
5157 result=$wxUSE_UNICODE_UTF8_LOCALE
5158 fi
5159
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5162
5163
5164 enablestring=
5165 defaultval=
5166 if test -z "$defaultval"; then
5167 if test x"$enablestring" = xdisable; then
5168 defaultval=yes
5169 else
5170 defaultval=no
5171 fi
5172 fi
5173
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5176 # Check whether --enable-extended_rtti was given.
5177 if test "${enable_extended_rtti+set}" = set; then
5178 enableval=$enable_extended_rtti;
5179 if test "$enableval" = yes; then
5180 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5181 else
5182 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5183 fi
5184
5185 else
5186
5187 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5188
5189 fi
5190
5191
5192 eval "$wx_cv_use_extended_rtti"
5193
5194 if test x"$enablestring" = xdisable; then
5195 if test $wxUSE_EXTENDED_RTTI = no; then
5196 result=yes
5197 else
5198 result=no
5199 fi
5200 else
5201 result=$wxUSE_EXTENDED_RTTI
5202 fi
5203
5204 { echo "$as_me:$LINENO: result: $result" >&5
5205 echo "${ECHO_T}$result" >&6; }
5206
5207 if test "$USE_OS2" = 1; then
5208 DEFAULT_wxUSE_OMF=no
5209
5210 enablestring=
5211 defaultval=
5212 if test -z "$defaultval"; then
5213 if test x"$enablestring" = xdisable; then
5214 defaultval=yes
5215 else
5216 defaultval=no
5217 fi
5218 fi
5219
5220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5221 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5222 # Check whether --enable-omf was given.
5223 if test "${enable_omf+set}" = set; then
5224 enableval=$enable_omf;
5225 if test "$enableval" = yes; then
5226 wx_cv_use_omf='wxUSE_OMF=yes'
5227 else
5228 wx_cv_use_omf='wxUSE_OMF=no'
5229 fi
5230
5231 else
5232
5233 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5234
5235 fi
5236
5237
5238 eval "$wx_cv_use_omf"
5239
5240 if test x"$enablestring" = xdisable; then
5241 if test $wxUSE_OMF = no; then
5242 result=yes
5243 else
5244 result=no
5245 fi
5246 else
5247 result=$wxUSE_OMF
5248 fi
5249
5250 { echo "$as_me:$LINENO: result: $result" >&5
5251 echo "${ECHO_T}$result" >&6; }
5252
5253 fi
5254
5255
5256 enablestring=disable
5257 defaultval=
5258 if test -z "$defaultval"; then
5259 if test x"$enablestring" = xdisable; then
5260 defaultval=yes
5261 else
5262 defaultval=no
5263 fi
5264 fi
5265
5266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5268 # Check whether --enable-optimise was given.
5269 if test "${enable_optimise+set}" = set; then
5270 enableval=$enable_optimise;
5271 if test "$enableval" = yes; then
5272 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5273 else
5274 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5275 fi
5276
5277 else
5278
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5280
5281 fi
5282
5283
5284 eval "$wx_cv_use_optimise"
5285
5286 if test x"$enablestring" = xdisable; then
5287 if test $wxUSE_OPTIMISE = no; then
5288 result=yes
5289 else
5290 result=no
5291 fi
5292 else
5293 result=$wxUSE_OPTIMISE
5294 fi
5295
5296 { echo "$as_me:$LINENO: result: $result" >&5
5297 echo "${ECHO_T}$result" >&6; }
5298
5299
5300
5301 enablestring=
5302 defaultval=
5303 if test -z "$defaultval"; then
5304 if test x"$enablestring" = xdisable; then
5305 defaultval=yes
5306 else
5307 defaultval=no
5308 fi
5309 fi
5310
5311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5313 # Check whether --enable-profile was given.
5314 if test "${enable_profile+set}" = set; then
5315 enableval=$enable_profile;
5316 if test "$enableval" = yes; then
5317 wx_cv_use_profile='wxUSE_PROFILE=yes'
5318 else
5319 wx_cv_use_profile='wxUSE_PROFILE=no'
5320 fi
5321
5322 else
5323
5324 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5325
5326 fi
5327
5328
5329 eval "$wx_cv_use_profile"
5330
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_PROFILE = no; then
5333 result=yes
5334 else
5335 result=no
5336 fi
5337 else
5338 result=$wxUSE_PROFILE
5339 fi
5340
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5357 # Check whether --enable-no_rtti was given.
5358 if test "${enable_no_rtti+set}" = set; then
5359 enableval=$enable_no_rtti;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5362 else
5363 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5364 fi
5365
5366 else
5367
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5369
5370 fi
5371
5372
5373 eval "$wx_cv_use_no_rtti"
5374
5375 if test x"$enablestring" = xdisable; then
5376 if test $wxUSE_NO_RTTI = no; then
5377 result=yes
5378 else
5379 result=no
5380 fi
5381 else
5382 result=$wxUSE_NO_RTTI
5383 fi
5384
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5387
5388
5389 enablestring=
5390 defaultval=
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5393 defaultval=yes
5394 else
5395 defaultval=no
5396 fi
5397 fi
5398
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5401 # Check whether --enable-no_exceptions was given.
5402 if test "${enable_no_exceptions+set}" = set; then
5403 enableval=$enable_no_exceptions;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5406 else
5407 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5408 fi
5409
5410 else
5411
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5413
5414 fi
5415
5416
5417 eval "$wx_cv_use_no_exceptions"
5418
5419 if test x"$enablestring" = xdisable; then
5420 if test $wxUSE_NO_EXCEPTIONS = no; then
5421 result=yes
5422 else
5423 result=no
5424 fi
5425 else
5426 result=$wxUSE_NO_EXCEPTIONS
5427 fi
5428
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5431
5432
5433 enablestring=
5434 defaultval=
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5437 defaultval=yes
5438 else
5439 defaultval=no
5440 fi
5441 fi
5442
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5445 # Check whether --enable-permissive was given.
5446 if test "${enable_permissive+set}" = set; then
5447 enableval=$enable_permissive;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5450 else
5451 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5452 fi
5453
5454 else
5455
5456 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5457
5458 fi
5459
5460
5461 eval "$wx_cv_use_permissive"
5462
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_PERMISSIVE = no; then
5465 result=yes
5466 else
5467 result=no
5468 fi
5469 else
5470 result=$wxUSE_PERMISSIVE
5471 fi
5472
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5475
5476
5477 enablestring=
5478 defaultval=
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5481 defaultval=yes
5482 else
5483 defaultval=no
5484 fi
5485 fi
5486
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5489 # Check whether --enable-no_deps was given.
5490 if test "${enable_no_deps+set}" = set; then
5491 enableval=$enable_no_deps;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5494 else
5495 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5496 fi
5497
5498 else
5499
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5501
5502 fi
5503
5504
5505 eval "$wx_cv_use_no_deps"
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_NO_DEPS = no; then
5509 result=yes
5510 else
5511 result=no
5512 fi
5513 else
5514 result=$wxUSE_NO_DEPS
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521 enablestring=disable
5522 defaultval=
5523 if test -z "$defaultval"; then
5524 if test x"$enablestring" = xdisable; then
5525 defaultval=yes
5526 else
5527 defaultval=no
5528 fi
5529 fi
5530
5531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5533 # Check whether --enable-vararg_macros was given.
5534 if test "${enable_vararg_macros+set}" = set; then
5535 enableval=$enable_vararg_macros;
5536 if test "$enableval" = yes; then
5537 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5538 else
5539 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5540 fi
5541
5542 else
5543
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5545
5546 fi
5547
5548
5549 eval "$wx_cv_use_vararg_macros"
5550
5551 if test x"$enablestring" = xdisable; then
5552 if test $wxUSE_VARARG_MACROS = no; then
5553 result=yes
5554 else
5555 result=no
5556 fi
5557 else
5558 result=$wxUSE_VARARG_MACROS
5559 fi
5560
5561 { echo "$as_me:$LINENO: result: $result" >&5
5562 echo "${ECHO_T}$result" >&6; }
5563
5564
5565
5566 enablestring=
5567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5568 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5569 # Check whether --enable-universal_binary was given.
5570 if test "${enable_universal_binary+set}" = set; then
5571 enableval=$enable_universal_binary;
5572 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5573
5574 else
5575
5576 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5577
5578 fi
5579
5580
5581 eval "$wx_cv_use_universal_binary"
5582
5583 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5584 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5585
5586
5587 enablestring=
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5590 # Check whether --enable-macosx_arch was given.
5591 if test "${enable_macosx_arch+set}" = set; then
5592 enableval=$enable_macosx_arch;
5593 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5594
5595 else
5596
5597 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5598
5599 fi
5600
5601
5602 eval "$wx_cv_use_macosx_arch"
5603
5604 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5605 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5606
5607
5608
5609 enablestring=
5610 defaultval=
5611 if test -z "$defaultval"; then
5612 if test x"$enablestring" = xdisable; then
5613 defaultval=yes
5614 else
5615 defaultval=no
5616 fi
5617 fi
5618
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5621 # Check whether --enable-compat26 was given.
5622 if test "${enable_compat26+set}" = set; then
5623 enableval=$enable_compat26;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5626 else
5627 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5628 fi
5629
5630 else
5631
5632 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5633
5634 fi
5635
5636
5637 eval "$wx_cv_use_compat26"
5638
5639 if test x"$enablestring" = xdisable; then
5640 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5641 result=yes
5642 else
5643 result=no
5644 fi
5645 else
5646 result=$WXWIN_COMPATIBILITY_2_6
5647 fi
5648
5649 { echo "$as_me:$LINENO: result: $result" >&5
5650 echo "${ECHO_T}$result" >&6; }
5651
5652
5653 enablestring=disable
5654 defaultval=
5655 if test -z "$defaultval"; then
5656 if test x"$enablestring" = xdisable; then
5657 defaultval=yes
5658 else
5659 defaultval=no
5660 fi
5661 fi
5662
5663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5665 # Check whether --enable-compat28 was given.
5666 if test "${enable_compat28+set}" = set; then
5667 enableval=$enable_compat28;
5668 if test "$enableval" = yes; then
5669 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5670 else
5671 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5672 fi
5673
5674 else
5675
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5677
5678 fi
5679
5680
5681 eval "$wx_cv_use_compat28"
5682
5683 if test x"$enablestring" = xdisable; then
5684 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5685 result=yes
5686 else
5687 result=no
5688 fi
5689 else
5690 result=$WXWIN_COMPATIBILITY_2_8
5691 fi
5692
5693 { echo "$as_me:$LINENO: result: $result" >&5
5694 echo "${ECHO_T}$result" >&6; }
5695
5696
5697
5698 enablestring=disable
5699 defaultval=
5700 if test -z "$defaultval"; then
5701 if test x"$enablestring" = xdisable; then
5702 defaultval=yes
5703 else
5704 defaultval=no
5705 fi
5706 fi
5707
5708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5710 # Check whether --enable-rpath was given.
5711 if test "${enable_rpath+set}" = set; then
5712 enableval=$enable_rpath;
5713 if test "$enableval" = yes; then
5714 wx_cv_use_rpath='wxUSE_RPATH=yes'
5715 else
5716 wx_cv_use_rpath='wxUSE_RPATH=no'
5717 fi
5718
5719 else
5720
5721 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5722
5723 fi
5724
5725
5726 eval "$wx_cv_use_rpath"
5727
5728 if test x"$enablestring" = xdisable; then
5729 if test $wxUSE_RPATH = no; then
5730 result=yes
5731 else
5732 result=no
5733 fi
5734 else
5735 result=$wxUSE_RPATH
5736 fi
5737
5738 { echo "$as_me:$LINENO: result: $result" >&5
5739 echo "${ECHO_T}$result" >&6; }
5740
5741
5742
5743 enablestring=
5744 defaultval=
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5747 defaultval=yes
5748 else
5749 defaultval=no
5750 fi
5751 fi
5752
5753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5755 # Check whether --enable-objc_uniquifying was given.
5756 if test "${enable_objc_uniquifying+set}" = set; then
5757 enableval=$enable_objc_uniquifying;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5760 else
5761 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5762 fi
5763
5764 else
5765
5766 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_objc_uniquifying"
5772
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5775 result=yes
5776 else
5777 result=no
5778 fi
5779 else
5780 result=$wxUSE_OBJC_UNIQUIFYING
5781 fi
5782
5783 { echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5785
5786
5787
5788 enablestring=disable
5789 defaultval=
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5792 defaultval=yes
5793 else
5794 defaultval=no
5795 fi
5796 fi
5797
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5800 # Check whether --enable-visibility was given.
5801 if test "${enable_visibility+set}" = set; then
5802 enableval=$enable_visibility;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5805 else
5806 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5807 fi
5808
5809 else
5810
5811 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_visibility"
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_VISIBILITY = no; then
5820 result=yes
5821 else
5822 result=no
5823 fi
5824 else
5825 result=$wxUSE_VISIBILITY
5826 fi
5827
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5830
5831
5832 enablestring=disable
5833 defaultval=
5834 if test -z "$defaultval"; then
5835 if test x"$enablestring" = xdisable; then
5836 defaultval=yes
5837 else
5838 defaultval=no
5839 fi
5840 fi
5841
5842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5843 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5844 # Check whether --enable-tls was given.
5845 if test "${enable_tls+set}" = set; then
5846 enableval=$enable_tls;
5847 if test "$enableval" = yes; then
5848 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5849 else
5850 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5851 fi
5852
5853 else
5854
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5856
5857 fi
5858
5859
5860 eval "$wx_cv_use_tls"
5861
5862 if test x"$enablestring" = xdisable; then
5863 if test $wxUSE_COMPILER_TLS = no; then
5864 result=yes
5865 else
5866 result=no
5867 fi
5868 else
5869 result=$wxUSE_COMPILER_TLS
5870 fi
5871
5872 { echo "$as_me:$LINENO: result: $result" >&5
5873 echo "${ECHO_T}$result" >&6; }
5874
5875
5876
5877
5878 enablestring=
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5882 defaultval=yes
5883 else
5884 defaultval=no
5885 fi
5886 fi
5887
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5890 # Check whether --enable-intl was given.
5891 if test "${enable_intl+set}" = set; then
5892 enableval=$enable_intl;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_intl='wxUSE_INTL=yes'
5895 else
5896 wx_cv_use_intl='wxUSE_INTL=no'
5897 fi
5898
5899 else
5900
5901 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_intl"
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_INTL = no; then
5910 result=yes
5911 else
5912 result=no
5913 fi
5914 else
5915 result=$wxUSE_INTL
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5934 # Check whether --enable-xlocale was given.
5935 if test "${enable_xlocale+set}" = set; then
5936 enableval=$enable_xlocale;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5939 else
5940 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_xlocale"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_XLOCALE = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_XLOCALE
5960 fi
5961
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5964
5965
5966 enablestring=
5967 defaultval=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5970 defaultval=yes
5971 else
5972 defaultval=no
5973 fi
5974 fi
5975
5976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5978 # Check whether --enable-config was given.
5979 if test "${enable_config+set}" = set; then
5980 enableval=$enable_config;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_config='wxUSE_CONFIG=yes'
5983 else
5984 wx_cv_use_config='wxUSE_CONFIG=no'
5985 fi
5986
5987 else
5988
5989 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5990
5991 fi
5992
5993
5994 eval "$wx_cv_use_config"
5995
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_CONFIG = no; then
5998 result=yes
5999 else
6000 result=no
6001 fi
6002 else
6003 result=$wxUSE_CONFIG
6004 fi
6005
6006 { echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6008
6009
6010
6011 enablestring=
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6023 # Check whether --enable-protocols was given.
6024 if test "${enable_protocols+set}" = set; then
6025 enableval=$enable_protocols;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6028 else
6029 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6030 fi
6031
6032 else
6033
6034 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6035
6036 fi
6037
6038
6039 eval "$wx_cv_use_protocols"
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_PROTOCOL = no; then
6043 result=yes
6044 else
6045 result=no
6046 fi
6047 else
6048 result=$wxUSE_PROTOCOL
6049 fi
6050
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055 enablestring=
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6059 defaultval=yes
6060 else
6061 defaultval=no
6062 fi
6063 fi
6064
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6067 # Check whether --enable-ftp was given.
6068 if test "${enable_ftp+set}" = set; then
6069 enableval=$enable_ftp;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6072 else
6073 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6074 fi
6075
6076 else
6077
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_ftp"
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_PROTOCOL_FTP = no; then
6087 result=yes
6088 else
6089 result=no
6090 fi
6091 else
6092 result=$wxUSE_PROTOCOL_FTP
6093 fi
6094
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6111 # Check whether --enable-http was given.
6112 if test "${enable_http+set}" = set; then
6113 enableval=$enable_http;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6116 else
6117 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_http"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_PROTOCOL_HTTP = no; then
6131 result=yes
6132 else
6133 result=no
6134 fi
6135 else
6136 result=$wxUSE_PROTOCOL_HTTP
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6155 # Check whether --enable-fileproto was given.
6156 if test "${enable_fileproto+set}" = set; then
6157 enableval=$enable_fileproto;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6160 else
6161 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6162 fi
6163
6164 else
6165
6166 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6167
6168 fi
6169
6170
6171 eval "$wx_cv_use_fileproto"
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_PROTOCOL_FILE = no; then
6175 result=yes
6176 else
6177 result=no
6178 fi
6179 else
6180 result=$wxUSE_PROTOCOL_FILE
6181 fi
6182
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6185
6186
6187 enablestring=
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6191 defaultval=yes
6192 else
6193 defaultval=no
6194 fi
6195 fi
6196
6197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6199 # Check whether --enable-sockets was given.
6200 if test "${enable_sockets+set}" = set; then
6201 enableval=$enable_sockets;
6202 if test "$enableval" = yes; then
6203 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6204 else
6205 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6206 fi
6207
6208 else
6209
6210 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6211
6212 fi
6213
6214
6215 eval "$wx_cv_use_sockets"
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_SOCKETS = no; then
6219 result=yes
6220 else
6221 result=no
6222 fi
6223 else
6224 result=$wxUSE_SOCKETS
6225 fi
6226
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6243 # Check whether --enable-ipv6 was given.
6244 if test "${enable_ipv6+set}" = set; then
6245 enableval=$enable_ipv6;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6248 else
6249 wx_cv_use_ipv6='wxUSE_IPV6=no'
6250 fi
6251
6252 else
6253
6254 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_ipv6"
6260
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_IPV6 = no; then
6263 result=yes
6264 else
6265 result=no
6266 fi
6267 else
6268 result=$wxUSE_IPV6
6269 fi
6270
6271 { echo "$as_me:$LINENO: result: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6273
6274
6275 enablestring=
6276 defaultval=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6279 defaultval=yes
6280 else
6281 defaultval=no
6282 fi
6283 fi
6284
6285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6287 # Check whether --enable-ole was given.
6288 if test "${enable_ole+set}" = set; then
6289 enableval=$enable_ole;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_ole='wxUSE_OLE=yes'
6292 else
6293 wx_cv_use_ole='wxUSE_OLE=no'
6294 fi
6295
6296 else
6297
6298 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6299
6300 fi
6301
6302
6303 eval "$wx_cv_use_ole"
6304
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_OLE = no; then
6307 result=yes
6308 else
6309 result=no
6310 fi
6311 else
6312 result=$wxUSE_OLE
6313 fi
6314
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6317
6318
6319 enablestring=
6320 defaultval=$wxUSE_ALL_FEATURES
6321 if test -z "$defaultval"; then
6322 if test x"$enablestring" = xdisable; then
6323 defaultval=yes
6324 else
6325 defaultval=no
6326 fi
6327 fi
6328
6329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6330 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6331 # Check whether --enable-dataobj was given.
6332 if test "${enable_dataobj+set}" = set; then
6333 enableval=$enable_dataobj;
6334 if test "$enableval" = yes; then
6335 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6336 else
6337 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6338 fi
6339
6340 else
6341
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6343
6344 fi
6345
6346
6347 eval "$wx_cv_use_dataobj"
6348
6349 if test x"$enablestring" = xdisable; then
6350 if test $wxUSE_DATAOBJ = no; then
6351 result=yes
6352 else
6353 result=no
6354 fi
6355 else
6356 result=$wxUSE_DATAOBJ
6357 fi
6358
6359 { echo "$as_me:$LINENO: result: $result" >&5
6360 echo "${ECHO_T}$result" >&6; }
6361
6362
6363
6364 enablestring=
6365 defaultval=$wxUSE_ALL_FEATURES
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6368 defaultval=yes
6369 else
6370 defaultval=no
6371 fi
6372 fi
6373
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6376 # Check whether --enable-ipc was given.
6377 if test "${enable_ipc+set}" = set; then
6378 enableval=$enable_ipc;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_ipc='wxUSE_IPC=yes'
6381 else
6382 wx_cv_use_ipc='wxUSE_IPC=no'
6383 fi
6384
6385 else
6386
6387 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6388
6389 fi
6390
6391
6392 eval "$wx_cv_use_ipc"
6393
6394 if test x"$enablestring" = xdisable; then
6395 if test $wxUSE_IPC = no; then
6396 result=yes
6397 else
6398 result=no
6399 fi
6400 else
6401 result=$wxUSE_IPC
6402 fi
6403
6404 { echo "$as_me:$LINENO: result: $result" >&5
6405 echo "${ECHO_T}$result" >&6; }
6406
6407
6408
6409 enablestring=
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6421 # Check whether --enable-baseevtloop was given.
6422 if test "${enable_baseevtloop+set}" = set; then
6423 enableval=$enable_baseevtloop;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6426 else
6427 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_baseevtloop"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6441 result=yes
6442 else
6443 result=no
6444 fi
6445 else
6446 result=$wxUSE_CONSOLE_EVENTLOOP
6447 fi
6448
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6465 # Check whether --enable-epollloop was given.
6466 if test "${enable_epollloop+set}" = set; then
6467 enableval=$enable_epollloop;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6470 else
6471 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_epollloop"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_EPOLL_DISPATCHER = no; then
6485 result=yes
6486 else
6487 result=no
6488 fi
6489 else
6490 result=$wxUSE_EPOLL_DISPATCHER
6491 fi
6492
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6495
6496
6497 enablestring=
6498 defaultval=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6501 defaultval=yes
6502 else
6503 defaultval=no
6504 fi
6505 fi
6506
6507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6509 # Check whether --enable-selectloop was given.
6510 if test "${enable_selectloop+set}" = set; then
6511 enableval=$enable_selectloop;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6514 else
6515 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6516 fi
6517
6518 else
6519
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6521
6522 fi
6523
6524
6525 eval "$wx_cv_use_selectloop"
6526
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_SELECT_DISPATCHER = no; then
6529 result=yes
6530 else
6531 result=no
6532 fi
6533 else
6534 result=$wxUSE_SELECT_DISPATCHER
6535 fi
6536
6537 { echo "$as_me:$LINENO: result: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6539
6540
6541
6542 enablestring=
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6546 defaultval=yes
6547 else
6548 defaultval=no
6549 fi
6550 fi
6551
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6554 # Check whether --enable-any was given.
6555 if test "${enable_any+set}" = set; then
6556 enableval=$enable_any;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_any='wxUSE_ANY=yes'
6559 else
6560 wx_cv_use_any='wxUSE_ANY=no'
6561 fi
6562
6563 else
6564
6565 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6566
6567 fi
6568
6569
6570 eval "$wx_cv_use_any"
6571
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_ANY = no; then
6574 result=yes
6575 else
6576 result=no
6577 fi
6578 else
6579 result=$wxUSE_ANY
6580 fi
6581
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6584
6585
6586 enablestring=
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6590 defaultval=yes
6591 else
6592 defaultval=no
6593 fi
6594 fi
6595
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6598 # Check whether --enable-apple_ieee was given.
6599 if test "${enable_apple_ieee+set}" = set; then
6600 enableval=$enable_apple_ieee;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6603 else
6604 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6605 fi
6606
6607 else
6608
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6610
6611 fi
6612
6613
6614 eval "$wx_cv_use_apple_ieee"
6615
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_APPLE_IEEE = no; then
6618 result=yes
6619 else
6620 result=no
6621 fi
6622 else
6623 result=$wxUSE_APPLE_IEEE
6624 fi
6625
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6628
6629
6630 enablestring=
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6634 defaultval=yes
6635 else
6636 defaultval=no
6637 fi
6638 fi
6639
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6642 # Check whether --enable-arcstream was given.
6643 if test "${enable_arcstream+set}" = set; then
6644 enableval=$enable_arcstream;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6647 else
6648 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6649 fi
6650
6651 else
6652
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6654
6655 fi
6656
6657
6658 eval "$wx_cv_use_arcstream"
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_ARCHIVE_STREAMS = no; then
6662 result=yes
6663 else
6664 result=no
6665 fi
6666 else
6667 result=$wxUSE_ARCHIVE_STREAMS
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674 enablestring=
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6678 defaultval=yes
6679 else
6680 defaultval=no
6681 fi
6682 fi
6683
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6686 # Check whether --enable-base64 was given.
6687 if test "${enable_base64+set}" = set; then
6688 enableval=$enable_base64;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_base64='wxUSE_BASE64=yes'
6691 else
6692 wx_cv_use_base64='wxUSE_BASE64=no'
6693 fi
6694
6695 else
6696
6697 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6698
6699 fi
6700
6701
6702 eval "$wx_cv_use_base64"
6703
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_BASE64 = no; then
6706 result=yes
6707 else
6708 result=no
6709 fi
6710 else
6711 result=$wxUSE_BASE64
6712 fi
6713
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718 enablestring=
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6730 # Check whether --enable-backtrace was given.
6731 if test "${enable_backtrace+set}" = set; then
6732 enableval=$enable_backtrace;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6735 else
6736 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6737 fi
6738
6739 else
6740
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6742
6743 fi
6744
6745
6746 eval "$wx_cv_use_backtrace"
6747
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_STACKWALKER = no; then
6750 result=yes
6751 else
6752 result=no
6753 fi
6754 else
6755 result=$wxUSE_STACKWALKER
6756 fi
6757
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6760
6761
6762 enablestring=
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6766 defaultval=yes
6767 else
6768 defaultval=no
6769 fi
6770 fi
6771
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6774 # Check whether --enable-catch_segvs was given.
6775 if test "${enable_catch_segvs+set}" = set; then
6776 enableval=$enable_catch_segvs;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6779 else
6780 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6781 fi
6782
6783 else
6784
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6786
6787 fi
6788
6789
6790 eval "$wx_cv_use_catch_segvs"
6791
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6794 result=yes
6795 else
6796 result=no
6797 fi
6798 else
6799 result=$wxUSE_ON_FATAL_EXCEPTION
6800 fi
6801
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6804
6805
6806 enablestring=
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6810 defaultval=yes
6811 else
6812 defaultval=no
6813 fi
6814 fi
6815
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6818 # Check whether --enable-cmdline was given.
6819 if test "${enable_cmdline+set}" = set; then
6820 enableval=$enable_cmdline;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6823 else
6824 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6825 fi
6826
6827 else
6828
6829 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6830
6831 fi
6832
6833
6834 eval "$wx_cv_use_cmdline"
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_CMDLINE_PARSER = no; then
6838 result=yes
6839 else
6840 result=no
6841 fi
6842 else
6843 result=$wxUSE_CMDLINE_PARSER
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6862 # Check whether --enable-datetime was given.
6863 if test "${enable_datetime+set}" = set; then
6864 enableval=$enable_datetime;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6867 else
6868 wx_cv_use_datetime='wxUSE_DATETIME=no'
6869 fi
6870
6871 else
6872
6873 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_datetime"
6879
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_DATETIME = no; then
6882 result=yes
6883 else
6884 result=no
6885 fi
6886 else
6887 result=$wxUSE_DATETIME
6888 fi
6889
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6892
6893
6894 enablestring=
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6898 defaultval=yes
6899 else
6900 defaultval=no
6901 fi
6902 fi
6903
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6906 # Check whether --enable-debugreport was given.
6907 if test "${enable_debugreport+set}" = set; then
6908 enableval=$enable_debugreport;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6911 else
6912 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6913 fi
6914
6915 else
6916
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6918
6919 fi
6920
6921
6922 eval "$wx_cv_use_debugreport"
6923
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_DEBUGREPORT = no; then
6926 result=yes
6927 else
6928 result=no
6929 fi
6930 else
6931 result=$wxUSE_DEBUGREPORT
6932 fi
6933
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6936
6937
6938 enablestring=
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6942 defaultval=yes
6943 else
6944 defaultval=no
6945 fi
6946 fi
6947
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6950 # Check whether --enable-dialupman was given.
6951 if test "${enable_dialupman+set}" = set; then
6952 enableval=$enable_dialupman;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6955 else
6956 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6957 fi
6958
6959 else
6960
6961 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6962
6963 fi
6964
6965
6966 eval "$wx_cv_use_dialupman"
6967
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_DIALUP_MANAGER = no; then
6970 result=yes
6971 else
6972 result=no
6973 fi
6974 else
6975 result=$wxUSE_DIALUP_MANAGER
6976 fi
6977
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6980
6981
6982 enablestring=
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6986 defaultval=yes
6987 else
6988 defaultval=no
6989 fi
6990 fi
6991
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6994 # Check whether --enable-dynlib was given.
6995 if test "${enable_dynlib+set}" = set; then
6996 enableval=$enable_dynlib;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6999 else
7000 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7001 fi
7002
7003 else
7004
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_dynlib"
7011
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_DYNLIB_CLASS = no; then
7014 result=yes
7015 else
7016 result=no
7017 fi
7018 else
7019 result=$wxUSE_DYNLIB_CLASS
7020 fi
7021
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7024
7025
7026 enablestring=
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7030 defaultval=yes
7031 else
7032 defaultval=no
7033 fi
7034 fi
7035
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7038 # Check whether --enable-dynamicloader was given.
7039 if test "${enable_dynamicloader+set}" = set; then
7040 enableval=$enable_dynamicloader;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7043 else
7044 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7045 fi
7046
7047 else
7048
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7050
7051 fi
7052
7053
7054 eval "$wx_cv_use_dynamicloader"
7055
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_DYNAMIC_LOADER = no; then
7058 result=yes
7059 else
7060 result=no
7061 fi
7062 else
7063 result=$wxUSE_DYNAMIC_LOADER
7064 fi
7065
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7068
7069
7070 enablestring=
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7074 defaultval=yes
7075 else
7076 defaultval=no
7077 fi
7078 fi
7079
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7082 # Check whether --enable-exceptions was given.
7083 if test "${enable_exceptions+set}" = set; then
7084 enableval=$enable_exceptions;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7087 else
7088 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7089 fi
7090
7091 else
7092
7093 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7094
7095 fi
7096
7097
7098 eval "$wx_cv_use_exceptions"
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_EXCEPTIONS = no; then
7102 result=yes
7103 else
7104 result=no
7105 fi
7106 else
7107 result=$wxUSE_EXCEPTIONS
7108 fi
7109
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114 enablestring=
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7118 defaultval=yes
7119 else
7120 defaultval=no
7121 fi
7122 fi
7123
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7126 # Check whether --enable-ffile was given.
7127 if test "${enable_ffile+set}" = set; then
7128 enableval=$enable_ffile;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_ffile='wxUSE_FFILE=yes'
7131 else
7132 wx_cv_use_ffile='wxUSE_FFILE=no'
7133 fi
7134
7135 else
7136
7137 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7138
7139 fi
7140
7141
7142 eval "$wx_cv_use_ffile"
7143
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FFILE = no; then
7146 result=yes
7147 else
7148 result=no
7149 fi
7150 else
7151 result=$wxUSE_FFILE
7152 fi
7153
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7156
7157
7158 enablestring=
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7162 defaultval=yes
7163 else
7164 defaultval=no
7165 fi
7166 fi
7167
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7170 # Check whether --enable-file was given.
7171 if test "${enable_file+set}" = set; then
7172 enableval=$enable_file;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_file='wxUSE_FILE=yes'
7175 else
7176 wx_cv_use_file='wxUSE_FILE=no'
7177 fi
7178
7179 else
7180
7181 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7182
7183 fi
7184
7185
7186 eval "$wx_cv_use_file"
7187
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_FILE = no; then
7190 result=yes
7191 else
7192 result=no
7193 fi
7194 else
7195 result=$wxUSE_FILE
7196 fi
7197
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7200
7201
7202 enablestring=
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7206 defaultval=yes
7207 else
7208 defaultval=no
7209 fi
7210 fi
7211
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7214 # Check whether --enable-filehistory was given.
7215 if test "${enable_filehistory+set}" = set; then
7216 enableval=$enable_filehistory;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7219 else
7220 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7221 fi
7222
7223 else
7224
7225 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7226
7227 fi
7228
7229
7230 eval "$wx_cv_use_filehistory"
7231
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FILE_HISTORY = no; then
7234 result=yes
7235 else
7236 result=no
7237 fi
7238 else
7239 result=$wxUSE_FILE_HISTORY
7240 fi
7241
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7244
7245
7246 enablestring=
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7250 defaultval=yes
7251 else
7252 defaultval=no
7253 fi
7254 fi
7255
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7258 # Check whether --enable-filesystem was given.
7259 if test "${enable_filesystem+set}" = set; then
7260 enableval=$enable_filesystem;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7263 else
7264 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7265 fi
7266
7267 else
7268
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7270
7271 fi
7272
7273
7274 eval "$wx_cv_use_filesystem"
7275
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_FILESYSTEM = no; then
7278 result=yes
7279 else
7280 result=no
7281 fi
7282 else
7283 result=$wxUSE_FILESYSTEM
7284 fi
7285
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7288
7289
7290 enablestring=
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7294 defaultval=yes
7295 else
7296 defaultval=no
7297 fi
7298 fi
7299
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7302 # Check whether --enable-fontenum was given.
7303 if test "${enable_fontenum+set}" = set; then
7304 enableval=$enable_fontenum;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7307 else
7308 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7309 fi
7310
7311 else
7312
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7314
7315 fi
7316
7317
7318 eval "$wx_cv_use_fontenum"
7319
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_FONTENUM = no; then
7322 result=yes
7323 else
7324 result=no
7325 fi
7326 else
7327 result=$wxUSE_FONTENUM
7328 fi
7329
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7332
7333
7334 enablestring=
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7338 defaultval=yes
7339 else
7340 defaultval=no
7341 fi
7342 fi
7343
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7346 # Check whether --enable-fontmap was given.
7347 if test "${enable_fontmap+set}" = set; then
7348 enableval=$enable_fontmap;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7351 else
7352 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7353 fi
7354
7355 else
7356
7357 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7358
7359 fi
7360
7361
7362 eval "$wx_cv_use_fontmap"
7363
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FONTMAP = no; then
7366 result=yes
7367 else
7368 result=no
7369 fi
7370 else
7371 result=$wxUSE_FONTMAP
7372 fi
7373
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378 enablestring=
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7382 defaultval=yes
7383 else
7384 defaultval=no
7385 fi
7386 fi
7387
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7390 # Check whether --enable-fs_archive was given.
7391 if test "${enable_fs_archive+set}" = set; then
7392 enableval=$enable_fs_archive;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7395 else
7396 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7397 fi
7398
7399 else
7400
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7402
7403 fi
7404
7405
7406 eval "$wx_cv_use_fs_archive"
7407
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_FS_ARCHIVE = no; then
7410 result=yes
7411 else
7412 result=no
7413 fi
7414 else
7415 result=$wxUSE_FS_ARCHIVE
7416 fi
7417
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7420
7421
7422 enablestring=
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7426 defaultval=yes
7427 else
7428 defaultval=no
7429 fi
7430 fi
7431
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7434 # Check whether --enable-fs_inet was given.
7435 if test "${enable_fs_inet+set}" = set; then
7436 enableval=$enable_fs_inet;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7439 else
7440 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7441 fi
7442
7443 else
7444
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7446
7447 fi
7448
7449
7450 eval "$wx_cv_use_fs_inet"
7451
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_FS_INET = no; then
7454 result=yes
7455 else
7456 result=no
7457 fi
7458 else
7459 result=$wxUSE_FS_INET
7460 fi
7461
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7464
7465
7466 enablestring=
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7470 defaultval=yes
7471 else
7472 defaultval=no
7473 fi
7474 fi
7475
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7478 # Check whether --enable-fs_zip was given.
7479 if test "${enable_fs_zip+set}" = set; then
7480 enableval=$enable_fs_zip;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7483 else
7484 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7485 fi
7486
7487 else
7488
7489 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_fs_zip"
7495
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_FS_ZIP = no; then
7498 result=yes
7499 else
7500 result=no
7501 fi
7502 else
7503 result=$wxUSE_FS_ZIP
7504 fi
7505
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7508
7509
7510 enablestring=
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7514 defaultval=yes
7515 else
7516 defaultval=no
7517 fi
7518 fi
7519
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7522 # Check whether --enable-fswatcher was given.
7523 if test "${enable_fswatcher+set}" = set; then
7524 enableval=$enable_fswatcher;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7527 else
7528 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7529 fi
7530
7531 else
7532
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7534
7535 fi
7536
7537
7538 eval "$wx_cv_use_fswatcher"
7539
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_FSWATCHER = no; then
7542 result=yes
7543 else
7544 result=no
7545 fi
7546 else
7547 result=$wxUSE_FSWATCHER
7548 fi
7549
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7552
7553
7554 enablestring=
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7558 defaultval=yes
7559 else
7560 defaultval=no
7561 fi
7562 fi
7563
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7566 # Check whether --enable-geometry was given.
7567 if test "${enable_geometry+set}" = set; then
7568 enableval=$enable_geometry;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7571 else
7572 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7573 fi
7574
7575 else
7576
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7578
7579 fi
7580
7581
7582 eval "$wx_cv_use_geometry"
7583
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_GEOMETRY = no; then
7586 result=yes
7587 else
7588 result=no
7589 fi
7590 else
7591 result=$wxUSE_GEOMETRY
7592 fi
7593
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7596
7597
7598 enablestring=
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7602 defaultval=yes
7603 else
7604 defaultval=no
7605 fi
7606 fi
7607
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7610 # Check whether --enable-log was given.
7611 if test "${enable_log+set}" = set; then
7612 enableval=$enable_log;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_log='wxUSE_LOG=yes'
7615 else
7616 wx_cv_use_log='wxUSE_LOG=no'
7617 fi
7618
7619 else
7620
7621 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7622
7623 fi
7624
7625
7626 eval "$wx_cv_use_log"
7627
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_LOG = no; then
7630 result=yes
7631 else
7632 result=no
7633 fi
7634 else
7635 result=$wxUSE_LOG
7636 fi
7637
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7640
7641
7642 enablestring=
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7646 defaultval=yes
7647 else
7648 defaultval=no
7649 fi
7650 fi
7651
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7654 # Check whether --enable-longlong was given.
7655 if test "${enable_longlong+set}" = set; then
7656 enableval=$enable_longlong;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7659 else
7660 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7661 fi
7662
7663 else
7664
7665 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7666
7667 fi
7668
7669
7670 eval "$wx_cv_use_longlong"
7671
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_LONGLONG = no; then
7674 result=yes
7675 else
7676 result=no
7677 fi
7678 else
7679 result=$wxUSE_LONGLONG
7680 fi
7681
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7684
7685
7686 enablestring=
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7690 defaultval=yes
7691 else
7692 defaultval=no
7693 fi
7694 fi
7695
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7698 # Check whether --enable-mimetype was given.
7699 if test "${enable_mimetype+set}" = set; then
7700 enableval=$enable_mimetype;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7703 else
7704 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7705 fi
7706
7707 else
7708
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7710
7711 fi
7712
7713
7714 eval "$wx_cv_use_mimetype"
7715
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_MIMETYPE = no; then
7718 result=yes
7719 else
7720 result=no
7721 fi
7722 else
7723 result=$wxUSE_MIMETYPE
7724 fi
7725
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7728
7729
7730 enablestring=
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7734 defaultval=yes
7735 else
7736 defaultval=no
7737 fi
7738 fi
7739
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7742 # Check whether --enable-printfposparam was given.
7743 if test "${enable_printfposparam+set}" = set; then
7744 enableval=$enable_printfposparam;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7747 else
7748 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7749 fi
7750
7751 else
7752
7753 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7754
7755 fi
7756
7757
7758 eval "$wx_cv_use_printfposparam"
7759
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7762 result=yes
7763 else
7764 result=no
7765 fi
7766 else
7767 result=$wxUSE_PRINTF_POS_PARAMS
7768 fi
7769
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7772
7773
7774 enablestring=
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7778 defaultval=yes
7779 else
7780 defaultval=no
7781 fi
7782 fi
7783
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7786 # Check whether --enable-snglinst was given.
7787 if test "${enable_snglinst+set}" = set; then
7788 enableval=$enable_snglinst;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7791 else
7792 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7793 fi
7794
7795 else
7796
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7798
7799 fi
7800
7801
7802 eval "$wx_cv_use_snglinst"
7803
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_SNGLINST_CHECKER = no; then
7806 result=yes
7807 else
7808 result=no
7809 fi
7810 else
7811 result=$wxUSE_SNGLINST_CHECKER
7812 fi
7813
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7816
7817
7818 enablestring=
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7822 defaultval=yes
7823 else
7824 defaultval=no
7825 fi
7826 fi
7827
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7830 # Check whether --enable-sound was given.
7831 if test "${enable_sound+set}" = set; then
7832 enableval=$enable_sound;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_sound='wxUSE_SOUND=yes'
7835 else
7836 wx_cv_use_sound='wxUSE_SOUND=no'
7837 fi
7838
7839 else
7840
7841 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7842
7843 fi
7844
7845
7846 eval "$wx_cv_use_sound"
7847
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_SOUND = no; then
7850 result=yes
7851 else
7852 result=no
7853 fi
7854 else
7855 result=$wxUSE_SOUND
7856 fi
7857
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7860
7861
7862 enablestring=
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7866 defaultval=yes
7867 else
7868 defaultval=no
7869 fi
7870 fi
7871
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7874 # Check whether --enable-stdpaths was given.
7875 if test "${enable_stdpaths+set}" = set; then
7876 enableval=$enable_stdpaths;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7879 else
7880 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7881 fi
7882
7883 else
7884
7885 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7886
7887 fi
7888
7889
7890 eval "$wx_cv_use_stdpaths"
7891
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_STDPATHS = no; then
7894 result=yes
7895 else
7896 result=no
7897 fi
7898 else
7899 result=$wxUSE_STDPATHS
7900 fi
7901
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7918 # Check whether --enable-stopwatch was given.
7919 if test "${enable_stopwatch+set}" = set; then
7920 enableval=$enable_stopwatch;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7923 else
7924 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7925 fi
7926
7927 else
7928
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_stopwatch"
7935
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_STOPWATCH = no; then
7938 result=yes
7939 else
7940 result=no
7941 fi
7942 else
7943 result=$wxUSE_STOPWATCH
7944 fi
7945
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950 enablestring=
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7954 defaultval=yes
7955 else
7956 defaultval=no
7957 fi
7958 fi
7959
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7962 # Check whether --enable-streams was given.
7963 if test "${enable_streams+set}" = set; then
7964 enableval=$enable_streams;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_streams='wxUSE_STREAMS=yes'
7967 else
7968 wx_cv_use_streams='wxUSE_STREAMS=no'
7969 fi
7970
7971 else
7972
7973 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7974
7975 fi
7976
7977
7978 eval "$wx_cv_use_streams"
7979
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_STREAMS = no; then
7982 result=yes
7983 else
7984 result=no
7985 fi
7986 else
7987 result=$wxUSE_STREAMS
7988 fi
7989
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7992
7993
7994 enablestring=
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
7998 defaultval=yes
7999 else
8000 defaultval=no
8001 fi
8002 fi
8003
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8006 # Check whether --enable-sysoptions was given.
8007 if test "${enable_sysoptions+set}" = set; then
8008 enableval=$enable_sysoptions;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
8011 else
8012 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
8013 fi
8014
8015 else
8016
8017 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8018
8019 fi
8020
8021
8022 eval "$wx_cv_use_sysoptions"
8023
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_SYSTEM_OPTIONS = no; then
8026 result=yes
8027 else
8028 result=no
8029 fi
8030 else
8031 result=$wxUSE_SYSTEM_OPTIONS
8032 fi
8033
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8036
8037
8038 enablestring=
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8042 defaultval=yes
8043 else
8044 defaultval=no
8045 fi
8046 fi
8047
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8050 # Check whether --enable-tarstream was given.
8051 if test "${enable_tarstream+set}" = set; then
8052 enableval=$enable_tarstream;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8055 else
8056 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8057 fi
8058
8059 else
8060
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_tarstream"
8067
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_TARSTREAM = no; then
8070 result=yes
8071 else
8072 result=no
8073 fi
8074 else
8075 result=$wxUSE_TARSTREAM
8076 fi
8077
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8080
8081
8082 enablestring=
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8086 defaultval=yes
8087 else
8088 defaultval=no
8089 fi
8090 fi
8091
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8094 # Check whether --enable-textbuf was given.
8095 if test "${enable_textbuf+set}" = set; then
8096 enableval=$enable_textbuf;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8099 else
8100 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8101 fi
8102
8103 else
8104
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_textbuf"
8111
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_TEXTBUFFER = no; then
8114 result=yes
8115 else
8116 result=no
8117 fi
8118 else
8119 result=$wxUSE_TEXTBUFFER
8120 fi
8121
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8124
8125
8126 enablestring=
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8130 defaultval=yes
8131 else
8132 defaultval=no
8133 fi
8134 fi
8135
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8138 # Check whether --enable-textfile was given.
8139 if test "${enable_textfile+set}" = set; then
8140 enableval=$enable_textfile;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8143 else
8144 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8145 fi
8146
8147 else
8148
8149 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8150
8151 fi
8152
8153
8154 eval "$wx_cv_use_textfile"
8155
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_TEXTFILE = no; then
8158 result=yes
8159 else
8160 result=no
8161 fi
8162 else
8163 result=$wxUSE_TEXTFILE
8164 fi
8165
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8168
8169
8170 enablestring=
8171 defaultval=$wxUSE_ALL_FEATURES
8172 if test -z "$defaultval"; then
8173 if test x"$enablestring" = xdisable; then
8174 defaultval=yes
8175 else
8176 defaultval=no
8177 fi
8178 fi
8179
8180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8182 # Check whether --enable-timer was given.
8183 if test "${enable_timer+set}" = set; then
8184 enableval=$enable_timer;
8185 if test "$enableval" = yes; then
8186 wx_cv_use_timer='wxUSE_TIMER=yes'
8187 else
8188 wx_cv_use_timer='wxUSE_TIMER=no'
8189 fi
8190
8191 else
8192
8193 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8194
8195 fi
8196
8197
8198 eval "$wx_cv_use_timer"
8199
8200 if test x"$enablestring" = xdisable; then
8201 if test $wxUSE_TIMER = no; then
8202 result=yes
8203 else
8204 result=no
8205 fi
8206 else
8207 result=$wxUSE_TIMER
8208 fi
8209
8210 { echo "$as_me:$LINENO: result: $result" >&5
8211 echo "${ECHO_T}$result" >&6; }
8212
8213
8214 enablestring=
8215 defaultval=$wxUSE_ALL_FEATURES
8216 if test -z "$defaultval"; then
8217 if test x"$enablestring" = xdisable; then
8218 defaultval=yes
8219 else
8220 defaultval=no
8221 fi
8222 fi
8223
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8226 # Check whether --enable-variant was given.
8227 if test "${enable_variant+set}" = set; then
8228 enableval=$enable_variant;
8229 if test "$enableval" = yes; then
8230 wx_cv_use_variant='wxUSE_VARIANT=yes'
8231 else
8232 wx_cv_use_variant='wxUSE_VARIANT=no'
8233 fi
8234
8235 else
8236
8237 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8238
8239 fi
8240
8241
8242 eval "$wx_cv_use_variant"
8243
8244 if test x"$enablestring" = xdisable; then
8245 if test $wxUSE_VARIANT = no; then
8246 result=yes
8247 else
8248 result=no
8249 fi
8250 else
8251 result=$wxUSE_VARIANT
8252 fi
8253
8254 { echo "$as_me:$LINENO: result: $result" >&5
8255 echo "${ECHO_T}$result" >&6; }
8256
8257
8258 enablestring=
8259 defaultval=$wxUSE_ALL_FEATURES
8260 if test -z "$defaultval"; then
8261 if test x"$enablestring" = xdisable; then
8262 defaultval=yes
8263 else
8264 defaultval=no
8265 fi
8266 fi
8267
8268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8269 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8270 # Check whether --enable-zipstream was given.
8271 if test "${enable_zipstream+set}" = set; then
8272 enableval=$enable_zipstream;
8273 if test "$enableval" = yes; then
8274 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8275 else
8276 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8277 fi
8278
8279 else
8280
8281 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8282
8283 fi
8284
8285
8286 eval "$wx_cv_use_zipstream"
8287
8288 if test x"$enablestring" = xdisable; then
8289 if test $wxUSE_ZIPSTREAM = no; then
8290 result=yes
8291 else
8292 result=no
8293 fi
8294 else
8295 result=$wxUSE_ZIPSTREAM
8296 fi
8297
8298 { echo "$as_me:$LINENO: result: $result" >&5
8299 echo "${ECHO_T}$result" >&6; }
8300
8301
8302
8303 enablestring=
8304 defaultval=$wxUSE_ALL_FEATURES
8305 if test -z "$defaultval"; then
8306 if test x"$enablestring" = xdisable; then
8307 defaultval=yes
8308 else
8309 defaultval=no
8310 fi
8311 fi
8312
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8315 # Check whether --enable-url was given.
8316 if test "${enable_url+set}" = set; then
8317 enableval=$enable_url;
8318 if test "$enableval" = yes; then
8319 wx_cv_use_url='wxUSE_URL=yes'
8320 else
8321 wx_cv_use_url='wxUSE_URL=no'
8322 fi
8323
8324 else
8325
8326 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8327
8328 fi
8329
8330
8331 eval "$wx_cv_use_url"
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_URL = no; then
8335 result=yes
8336 else
8337 result=no
8338 fi
8339 else
8340 result=$wxUSE_URL
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8359 # Check whether --enable-protocol was given.
8360 if test "${enable_protocol+set}" = set; then
8361 enableval=$enable_protocol;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8364 else
8365 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8366 fi
8367
8368 else
8369
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8371
8372 fi
8373
8374
8375 eval "$wx_cv_use_protocol"
8376
8377 if test x"$enablestring" = xdisable; then
8378 if test $wxUSE_PROTOCOL = no; then
8379 result=yes
8380 else
8381 result=no
8382 fi
8383 else
8384 result=$wxUSE_PROTOCOL
8385 fi
8386
8387 { echo "$as_me:$LINENO: result: $result" >&5
8388 echo "${ECHO_T}$result" >&6; }
8389
8390
8391 enablestring=
8392 defaultval=$wxUSE_ALL_FEATURES
8393 if test -z "$defaultval"; then
8394 if test x"$enablestring" = xdisable; then
8395 defaultval=yes
8396 else
8397 defaultval=no
8398 fi
8399 fi
8400
8401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8403 # Check whether --enable-protocol_http was given.
8404 if test "${enable_protocol_http+set}" = set; then
8405 enableval=$enable_protocol_http;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8408 else
8409 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8410 fi
8411
8412 else
8413
8414 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8415
8416 fi
8417
8418
8419 eval "$wx_cv_use_protocol_http"
8420
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_PROTOCOL_HTTP = no; then
8423 result=yes
8424 else
8425 result=no
8426 fi
8427 else
8428 result=$wxUSE_PROTOCOL_HTTP
8429 fi
8430
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8433
8434
8435 enablestring=
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8439 defaultval=yes
8440 else
8441 defaultval=no
8442 fi
8443 fi
8444
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8447 # Check whether --enable-protocol_ftp was given.
8448 if test "${enable_protocol_ftp+set}" = set; then
8449 enableval=$enable_protocol_ftp;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8452 else
8453 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8454 fi
8455
8456 else
8457
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8459
8460 fi
8461
8462
8463 eval "$wx_cv_use_protocol_ftp"
8464
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL_FTP = no; then
8467 result=yes
8468 else
8469 result=no
8470 fi
8471 else
8472 result=$wxUSE_PROTOCOL_FTP
8473 fi
8474
8475 { echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8477
8478
8479 enablestring=
8480 defaultval=$wxUSE_ALL_FEATURES
8481 if test -z "$defaultval"; then
8482 if test x"$enablestring" = xdisable; then
8483 defaultval=yes
8484 else
8485 defaultval=no
8486 fi
8487 fi
8488
8489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8491 # Check whether --enable-protocol_file was given.
8492 if test "${enable_protocol_file+set}" = set; then
8493 enableval=$enable_protocol_file;
8494 if test "$enableval" = yes; then
8495 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8496 else
8497 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8498 fi
8499
8500 else
8501
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8503
8504 fi
8505
8506
8507 eval "$wx_cv_use_protocol_file"
8508
8509 if test x"$enablestring" = xdisable; then
8510 if test $wxUSE_PROTOCOL_FILE = no; then
8511 result=yes
8512 else
8513 result=no
8514 fi
8515 else
8516 result=$wxUSE_PROTOCOL_FILE
8517 fi
8518
8519 { echo "$as_me:$LINENO: result: $result" >&5
8520 echo "${ECHO_T}$result" >&6; }
8521
8522
8523
8524 enablestring=
8525 defaultval=$wxUSE_ALL_FEATURES
8526 if test -z "$defaultval"; then
8527 if test x"$enablestring" = xdisable; then
8528 defaultval=yes
8529 else
8530 defaultval=no
8531 fi
8532 fi
8533
8534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8536 # Check whether --enable-threads was given.
8537 if test "${enable_threads+set}" = set; then
8538 enableval=$enable_threads;
8539 if test "$enableval" = yes; then
8540 wx_cv_use_threads='wxUSE_THREADS=yes'
8541 else
8542 wx_cv_use_threads='wxUSE_THREADS=no'
8543 fi
8544
8545 else
8546
8547 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8548
8549 fi
8550
8551
8552 eval "$wx_cv_use_threads"
8553
8554 if test x"$enablestring" = xdisable; then
8555 if test $wxUSE_THREADS = no; then
8556 result=yes
8557 else
8558 result=no
8559 fi
8560 else
8561 result=$wxUSE_THREADS
8562 fi
8563
8564 { echo "$as_me:$LINENO: result: $result" >&5
8565 echo "${ECHO_T}$result" >&6; }
8566
8567
8568
8569 enablestring=
8570 defaultval=
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8581 # Check whether --enable-iniconf was given.
8582 if test "${enable_iniconf+set}" = set; then
8583 enableval=$enable_iniconf;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8586 else
8587 wx_cv_use_iniconf='wxUSE_INICONF=no'
8588 fi
8589
8590 else
8591
8592 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8593
8594 fi
8595
8596
8597 eval "$wx_cv_use_iniconf"
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_INICONF = no; then
8601 result=yes
8602 else
8603 result=no
8604 fi
8605 else
8606 result=$wxUSE_INICONF
8607 fi
8608
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8611
8612
8613 enablestring=
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8617 defaultval=yes
8618 else
8619 defaultval=no
8620 fi
8621 fi
8622
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8625 # Check whether --enable-regkey was given.
8626 if test "${enable_regkey+set}" = set; then
8627 enableval=$enable_regkey;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8630 else
8631 wx_cv_use_regkey='wxUSE_REGKEY=no'
8632 fi
8633
8634 else
8635
8636 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8637
8638 fi
8639
8640
8641 eval "$wx_cv_use_regkey"
8642
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_REGKEY = no; then
8645 result=yes
8646 else
8647 result=no
8648 fi
8649 else
8650 result=$wxUSE_REGKEY
8651 fi
8652
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8655
8656
8657 if test "$wxUSE_GUI" = "yes"; then
8658
8659
8660
8661 enablestring=
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8665 defaultval=yes
8666 else
8667 defaultval=no
8668 fi
8669 fi
8670
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8673 # Check whether --enable-docview was given.
8674 if test "${enable_docview+set}" = set; then
8675 enableval=$enable_docview;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8678 else
8679 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8680 fi
8681
8682 else
8683
8684 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8685
8686 fi
8687
8688
8689 eval "$wx_cv_use_docview"
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8693 result=yes
8694 else
8695 result=no
8696 fi
8697 else
8698 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8717 # Check whether --enable-help was given.
8718 if test "${enable_help+set}" = set; then
8719 enableval=$enable_help;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_help='wxUSE_HELP=yes'
8722 else
8723 wx_cv_use_help='wxUSE_HELP=no'
8724 fi
8725
8726 else
8727
8728 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8729
8730 fi
8731
8732
8733 eval "$wx_cv_use_help"
8734
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_HELP = no; then
8737 result=yes
8738 else
8739 result=no
8740 fi
8741 else
8742 result=$wxUSE_HELP
8743 fi
8744
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8747
8748
8749 enablestring=
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8753 defaultval=yes
8754 else
8755 defaultval=no
8756 fi
8757 fi
8758
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8761 # Check whether --enable-mshtmlhelp was given.
8762 if test "${enable_mshtmlhelp+set}" = set; then
8763 enableval=$enable_mshtmlhelp;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8766 else
8767 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8768 fi
8769
8770 else
8771
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8773
8774 fi
8775
8776
8777 eval "$wx_cv_use_mshtmlhelp"
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_MS_HTML_HELP = no; then
8781 result=yes
8782 else
8783 result=no
8784 fi
8785 else
8786 result=$wxUSE_MS_HTML_HELP
8787 fi
8788
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8805 # Check whether --enable-html was given.
8806 if test "${enable_html+set}" = set; then
8807 enableval=$enable_html;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_html='wxUSE_HTML=yes'
8810 else
8811 wx_cv_use_html='wxUSE_HTML=no'
8812 fi
8813
8814 else
8815
8816 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8817
8818 fi
8819
8820
8821 eval "$wx_cv_use_html"
8822
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_HTML = no; then
8825 result=yes
8826 else
8827 result=no
8828 fi
8829 else
8830 result=$wxUSE_HTML
8831 fi
8832
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8835
8836
8837 enablestring=
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8841 defaultval=yes
8842 else
8843 defaultval=no
8844 fi
8845 fi
8846
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8849 # Check whether --enable-htmlhelp was given.
8850 if test "${enable_htmlhelp+set}" = set; then
8851 enableval=$enable_htmlhelp;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8854 else
8855 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8856 fi
8857
8858 else
8859
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8861
8862 fi
8863
8864
8865 eval "$wx_cv_use_htmlhelp"
8866
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_WXHTML_HELP = no; then
8869 result=yes
8870 else
8871 result=no
8872 fi
8873 else
8874 result=$wxUSE_WXHTML_HELP
8875 fi
8876
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8879
8880
8881 enablestring=
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8885 defaultval=yes
8886 else
8887 defaultval=no
8888 fi
8889 fi
8890
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8893 # Check whether --enable-xrc was given.
8894 if test "${enable_xrc+set}" = set; then
8895 enableval=$enable_xrc;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_xrc='wxUSE_XRC=yes'
8898 else
8899 wx_cv_use_xrc='wxUSE_XRC=no'
8900 fi
8901
8902 else
8903
8904 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8905
8906 fi
8907
8908
8909 eval "$wx_cv_use_xrc"
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_XRC = no; then
8913 result=yes
8914 else
8915 result=no
8916 fi
8917 else
8918 result=$wxUSE_XRC
8919 fi
8920
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8937 # Check whether --enable-aui was given.
8938 if test "${enable_aui+set}" = set; then
8939 enableval=$enable_aui;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_aui='wxUSE_AUI=yes'
8942 else
8943 wx_cv_use_aui='wxUSE_AUI=no'
8944 fi
8945
8946 else
8947
8948 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_aui"
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_AUI = no; then
8957 result=yes
8958 else
8959 result=no
8960 fi
8961 else
8962 result=$wxUSE_AUI
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8981 # Check whether --enable-propgrid was given.
8982 if test "${enable_propgrid+set}" = set; then
8983 enableval=$enable_propgrid;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8986 else
8987 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8988 fi
8989
8990 else
8991
8992 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_propgrid"
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_PROPGRID = no; then
9001 result=yes
9002 else
9003 result=no
9004 fi
9005 else
9006 result=$wxUSE_PROPGRID
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
9025 # Check whether --enable-ribbon was given.
9026 if test "${enable_ribbon+set}" = set; then
9027 enableval=$enable_ribbon;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9030 else
9031 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9032 fi
9033
9034 else
9035
9036 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9037
9038 fi
9039
9040
9041 eval "$wx_cv_use_ribbon"
9042
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_RIBBON = no; then
9045 result=yes
9046 else
9047 result=no
9048 fi
9049 else
9050 result=$wxUSE_RIBBON
9051 fi
9052
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9055
9056
9057 enablestring=
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9061 defaultval=yes
9062 else
9063 defaultval=no
9064 fi
9065 fi
9066
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9069 # Check whether --enable-stc was given.
9070 if test "${enable_stc+set}" = set; then
9071 enableval=$enable_stc;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_stc='wxUSE_STC=yes'
9074 else
9075 wx_cv_use_stc='wxUSE_STC=no'
9076 fi
9077
9078 else
9079
9080 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9081
9082 fi
9083
9084
9085 eval "$wx_cv_use_stc"
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_STC = no; then
9089 result=yes
9090 else
9091 result=no
9092 fi
9093 else
9094 result=$wxUSE_STC
9095 fi
9096
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9113 # Check whether --enable-constraints was given.
9114 if test "${enable_constraints+set}" = set; then
9115 enableval=$enable_constraints;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9118 else
9119 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9120 fi
9121
9122 else
9123
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_constraints"
9130
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_CONSTRAINTS = no; then
9133 result=yes
9134 else
9135 result=no
9136 fi
9137 else
9138 result=$wxUSE_CONSTRAINTS
9139 fi
9140
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9157 # Check whether --enable-loggui was given.
9158 if test "${enable_loggui+set}" = set; then
9159 enableval=$enable_loggui;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9162 else
9163 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_loggui"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_LOGGUI = no; then
9177 result=yes
9178 else
9179 result=no
9180 fi
9181 else
9182 result=$wxUSE_LOGGUI
9183 fi
9184
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189 enablestring=
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9193 defaultval=yes
9194 else
9195 defaultval=no
9196 fi
9197 fi
9198
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9201 # Check whether --enable-logwin was given.
9202 if test "${enable_logwin+set}" = set; then
9203 enableval=$enable_logwin;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9206 else
9207 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9208 fi
9209
9210 else
9211
9212 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9213
9214 fi
9215
9216
9217 eval "$wx_cv_use_logwin"
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_LOGWINDOW = no; then
9221 result=yes
9222 else
9223 result=no
9224 fi
9225 else
9226 result=$wxUSE_LOGWINDOW
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9245 # Check whether --enable-logdialog was given.
9246 if test "${enable_logdialog+set}" = set; then
9247 enableval=$enable_logdialog;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9250 else
9251 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9252 fi
9253
9254 else
9255
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9257
9258 fi
9259
9260
9261 eval "$wx_cv_use_logdialog"
9262
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_LOGDIALOG = no; then
9265 result=yes
9266 else
9267 result=no
9268 fi
9269 else
9270 result=$wxUSE_LOGDIALOG
9271 fi
9272
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9275
9276
9277 enablestring=
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9281 defaultval=yes
9282 else
9283 defaultval=no
9284 fi
9285 fi
9286
9287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9289 # Check whether --enable-mdi was given.
9290 if test "${enable_mdi+set}" = set; then
9291 enableval=$enable_mdi;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_mdi='wxUSE_MDI=yes'
9294 else
9295 wx_cv_use_mdi='wxUSE_MDI=no'
9296 fi
9297
9298 else
9299
9300 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9301
9302 fi
9303
9304
9305 eval "$wx_cv_use_mdi"
9306
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_MDI = no; then
9309 result=yes
9310 else
9311 result=no
9312 fi
9313 else
9314 result=$wxUSE_MDI
9315 fi
9316
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9319
9320
9321 enablestring=
9322 defaultval=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x"$enablestring" = xdisable; then
9325 defaultval=yes
9326 else
9327 defaultval=no
9328 fi
9329 fi
9330
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9333 # Check whether --enable-mdidoc was given.
9334 if test "${enable_mdidoc+set}" = set; then
9335 enableval=$enable_mdidoc;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9338 else
9339 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9340 fi
9341
9342 else
9343
9344 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9345
9346 fi
9347
9348
9349 eval "$wx_cv_use_mdidoc"
9350
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_MDI_ARCHITECTURE = no; then
9353 result=yes
9354 else
9355 result=no
9356 fi
9357 else
9358 result=$wxUSE_MDI_ARCHITECTURE
9359 fi
9360
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9363
9364
9365 enablestring=
9366 defaultval=$wxUSE_ALL_FEATURES
9367 if test -z "$defaultval"; then
9368 if test x"$enablestring" = xdisable; then
9369 defaultval=yes
9370 else
9371 defaultval=no
9372 fi
9373 fi
9374
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9377 # Check whether --enable-mediactrl was given.
9378 if test "${enable_mediactrl+set}" = set; then
9379 enableval=$enable_mediactrl;
9380 if test "$enableval" = yes; then
9381 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9382 else
9383 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9384 fi
9385
9386 else
9387
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9389
9390 fi
9391
9392
9393 eval "$wx_cv_use_mediactrl"
9394
9395 if test x"$enablestring" = xdisable; then
9396 if test $wxUSE_MEDIACTRL = no; then
9397 result=yes
9398 else
9399 result=no
9400 fi
9401 else
9402 result=$wxUSE_MEDIACTRL
9403 fi
9404
9405 { echo "$as_me:$LINENO: result: $result" >&5
9406 echo "${ECHO_T}$result" >&6; }
9407
9408
9409 enablestring=
9410 defaultval=$wxUSE_ALL_FEATURES
9411 if test -z "$defaultval"; then
9412 if test x"$enablestring" = xdisable; then
9413 defaultval=yes
9414 else
9415 defaultval=no
9416 fi
9417 fi
9418
9419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9420 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9421 # Check whether --enable-gstreamer8 was given.
9422 if test "${enable_gstreamer8+set}" = set; then
9423 enableval=$enable_gstreamer8;
9424 if test "$enableval" = yes; then
9425 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9426 else
9427 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9428 fi
9429
9430 else
9431
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9433
9434 fi
9435
9436
9437 eval "$wx_cv_use_gstreamer8"
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_GSTREAMER8 = no; then
9441 result=yes
9442 else
9443 result=no
9444 fi
9445 else
9446 result=$wxUSE_GSTREAMER8
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9465 # Check whether --enable-richtext was given.
9466 if test "${enable_richtext+set}" = set; then
9467 enableval=$enable_richtext;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9470 else
9471 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9472 fi
9473
9474 else
9475
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9477
9478 fi
9479
9480
9481 eval "$wx_cv_use_richtext"
9482
9483 if test x"$enablestring" = xdisable; then
9484 if test $wxUSE_RICHTEXT = no; then
9485 result=yes
9486 else
9487 result=no
9488 fi
9489 else
9490 result=$wxUSE_RICHTEXT
9491 fi
9492
9493 { echo "$as_me:$LINENO: result: $result" >&5
9494 echo "${ECHO_T}$result" >&6; }
9495
9496
9497 enablestring=
9498 defaultval=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x"$enablestring" = xdisable; then
9501 defaultval=yes
9502 else
9503 defaultval=no
9504 fi
9505 fi
9506
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9509 # Check whether --enable-postscript was given.
9510 if test "${enable_postscript+set}" = set; then
9511 enableval=$enable_postscript;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9514 else
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9516 fi
9517
9518 else
9519
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9521
9522 fi
9523
9524
9525 eval "$wx_cv_use_postscript"
9526
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_POSTSCRIPT = no; then
9529 result=yes
9530 else
9531 result=no
9532 fi
9533 else
9534 result=$wxUSE_POSTSCRIPT
9535 fi
9536
9537 { echo "$as_me:$LINENO: result: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9539
9540
9541 enablestring=
9542 defaultval=$wxUSE_ALL_FEATURES
9543 if test -z "$defaultval"; then
9544 if test x"$enablestring" = xdisable; then
9545 defaultval=yes
9546 else
9547 defaultval=no
9548 fi
9549 fi
9550
9551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9553 # Check whether --enable-printarch was given.
9554 if test "${enable_printarch+set}" = set; then
9555 enableval=$enable_printarch;
9556 if test "$enableval" = yes; then
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9558 else
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9560 fi
9561
9562 else
9563
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9565
9566 fi
9567
9568
9569 eval "$wx_cv_use_printarch"
9570
9571 if test x"$enablestring" = xdisable; then
9572 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9573 result=yes
9574 else
9575 result=no
9576 fi
9577 else
9578 result=$wxUSE_PRINTING_ARCHITECTURE
9579 fi
9580
9581 { echo "$as_me:$LINENO: result: $result" >&5
9582 echo "${ECHO_T}$result" >&6; }
9583
9584
9585 enablestring=
9586 defaultval=$wxUSE_ALL_FEATURES
9587 if test -z "$defaultval"; then
9588 if test x"$enablestring" = xdisable; then
9589 defaultval=yes
9590 else
9591 defaultval=no
9592 fi
9593 fi
9594
9595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9597 # Check whether --enable-svg was given.
9598 if test "${enable_svg+set}" = set; then
9599 enableval=$enable_svg;
9600 if test "$enableval" = yes; then
9601 wx_cv_use_svg='wxUSE_SVG=yes'
9602 else
9603 wx_cv_use_svg='wxUSE_SVG=no'
9604 fi
9605
9606 else
9607
9608 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9609
9610 fi
9611
9612
9613 eval "$wx_cv_use_svg"
9614
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_SVG = no; then
9617 result=yes
9618 else
9619 result=no
9620 fi
9621 else
9622 result=$wxUSE_SVG
9623 fi
9624
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9627
9628
9629 enablestring=
9630 defaultval=$wxUSE_ALL_FEATURES
9631 if test -z "$defaultval"; then
9632 if test x"$enablestring" = xdisable; then
9633 defaultval=yes
9634 else
9635 defaultval=no
9636 fi
9637 fi
9638
9639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9641 # Check whether --enable-webkit was given.
9642 if test "${enable_webkit+set}" = set; then
9643 enableval=$enable_webkit;
9644 if test "$enableval" = yes; then
9645 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9646 else
9647 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9648 fi
9649
9650 else
9651
9652 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9653
9654 fi
9655
9656
9657 eval "$wx_cv_use_webkit"
9658
9659 if test x"$enablestring" = xdisable; then
9660 if test $wxUSE_WEBKIT = no; then
9661 result=yes
9662 else
9663 result=no
9664 fi
9665 else
9666 result=$wxUSE_WEBKIT
9667 fi
9668
9669 { echo "$as_me:$LINENO: result: $result" >&5
9670 echo "${ECHO_T}$result" >&6; }
9671
9672
9673 enablestring=
9674 defaultval=$wxUSE_ALL_FEATURES
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9677 defaultval=yes
9678 else
9679 defaultval=no
9680 fi
9681 fi
9682
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webview" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-webview... $ECHO_C" >&6; }
9685 # Check whether --enable-webview was given.
9686 if test "${enable_webview+set}" = set; then
9687 enableval=$enable_webview;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9690 else
9691 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9692 fi
9693
9694 else
9695
9696 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9697
9698 fi
9699
9700
9701 eval "$wx_cv_use_webview"
9702
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_WEBVIEW = no; then
9705 result=yes
9706 else
9707 result=no
9708 fi
9709 else
9710 result=$wxUSE_WEBVIEW
9711 fi
9712
9713 { echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6; }
9715
9716
9717 if test "$wxUSE_MAC" != 1; then
9718
9719 enablestring=
9720 defaultval=$wxUSE_ALL_FEATURES
9721 if test -z "$defaultval"; then
9722 if test x"$enablestring" = xdisable; then
9723 defaultval=yes
9724 else
9725 defaultval=no
9726 fi
9727 fi
9728
9729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9730 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9731 # Check whether --enable-graphics_ctx was given.
9732 if test "${enable_graphics_ctx+set}" = set; then
9733 enableval=$enable_graphics_ctx;
9734 if test "$enableval" = yes; then
9735 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9736 else
9737 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9738 fi
9739
9740 else
9741
9742 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9743
9744 fi
9745
9746
9747 eval "$wx_cv_use_graphics_ctx"
9748
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9751 result=yes
9752 else
9753 result=no
9754 fi
9755 else
9756 result=$wxUSE_GRAPHICS_CONTEXT
9757 fi
9758
9759 { echo "$as_me:$LINENO: result: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9761
9762 fi
9763
9764
9765
9766 enablestring=
9767 defaultval=$wxUSE_ALL_FEATURES
9768 if test -z "$defaultval"; then
9769 if test x"$enablestring" = xdisable; then
9770 defaultval=yes
9771 else
9772 defaultval=no
9773 fi
9774 fi
9775
9776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9778 # Check whether --enable-clipboard was given.
9779 if test "${enable_clipboard+set}" = set; then
9780 enableval=$enable_clipboard;
9781 if test "$enableval" = yes; then
9782 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9783 else
9784 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9785 fi
9786
9787 else
9788
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9790
9791 fi
9792
9793
9794 eval "$wx_cv_use_clipboard"
9795
9796 if test x"$enablestring" = xdisable; then
9797 if test $wxUSE_CLIPBOARD = no; then
9798 result=yes
9799 else
9800 result=no
9801 fi
9802 else
9803 result=$wxUSE_CLIPBOARD
9804 fi
9805
9806 { echo "$as_me:$LINENO: result: $result" >&5
9807 echo "${ECHO_T}$result" >&6; }
9808
9809
9810 enablestring=
9811 defaultval=$wxUSE_ALL_FEATURES
9812 if test -z "$defaultval"; then
9813 if test x"$enablestring" = xdisable; then
9814 defaultval=yes
9815 else
9816 defaultval=no
9817 fi
9818 fi
9819
9820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9822 # Check whether --enable-dnd was given.
9823 if test "${enable_dnd+set}" = set; then
9824 enableval=$enable_dnd;
9825 if test "$enableval" = yes; then
9826 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9827 else
9828 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9829 fi
9830
9831 else
9832
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9834
9835 fi
9836
9837
9838 eval "$wx_cv_use_dnd"
9839
9840 if test x"$enablestring" = xdisable; then
9841 if test $wxUSE_DRAG_AND_DROP = no; then
9842 result=yes
9843 else
9844 result=no
9845 fi
9846 else
9847 result=$wxUSE_DRAG_AND_DROP
9848 fi
9849
9850 { echo "$as_me:$LINENO: result: $result" >&5
9851 echo "${ECHO_T}$result" >&6; }
9852
9853
9854
9855 DEFAULT_wxUSE_CONTROLS=none
9856
9857 enablestring=disable
9858 defaultval=
9859 if test -z "$defaultval"; then
9860 if test x"$enablestring" = xdisable; then
9861 defaultval=yes
9862 else
9863 defaultval=no
9864 fi
9865 fi
9866
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9869 # Check whether --enable-controls was given.
9870 if test "${enable_controls+set}" = set; then
9871 enableval=$enable_controls;
9872 if test "$enableval" = yes; then
9873 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9874 else
9875 wx_cv_use_controls='wxUSE_CONTROLS=no'
9876 fi
9877
9878 else
9879
9880 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9881
9882 fi
9883
9884
9885 eval "$wx_cv_use_controls"
9886
9887 if test x"$enablestring" = xdisable; then
9888 if test $wxUSE_CONTROLS = no; then
9889 result=yes
9890 else
9891 result=no
9892 fi
9893 else
9894 result=$wxUSE_CONTROLS
9895 fi
9896
9897 { echo "$as_me:$LINENO: result: $result" >&5
9898 echo "${ECHO_T}$result" >&6; }
9899
9900
9901 if test "$wxUSE_CONTROLS" = "no"; then
9902 DEFAULT_wxUSE_ACCEL=no
9903 DEFAULT_wxUSE_ANIMATIONCTRL=no
9904 DEFAULT_wxUSE_BANNERWINDOW=no
9905 DEFAULT_wxUSE_BMPBUTTON=no
9906 DEFAULT_wxUSE_BUTTON=no
9907 DEFAULT_wxUSE_CALCTRL=no
9908 DEFAULT_wxUSE_CARET=no
9909 DEFAULT_wxUSE_CHECKBOX=no
9910 DEFAULT_wxUSE_CHECKLISTBOX=no
9911 DEFAULT_wxUSE_CHOICE=no
9912 DEFAULT_wxUSE_CHOICEBOOK=no
9913 DEFAULT_wxUSE_COLLPANE=no
9914 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9915 DEFAULT_wxUSE_COMBOBOX=no
9916 DEFAULT_wxUSE_COMBOBOX=no
9917 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9918 DEFAULT_wxUSE_DATAVIEWCTRL=no
9919 DEFAULT_wxUSE_DATEPICKCTRL=no
9920 DEFAULT_wxUSE_DETECT_SM=no
9921 DEFAULT_wxUSE_DIRPICKERCTRL=no
9922 DEFAULT_wxUSE_DISPLAY=no
9923 DEFAULT_wxUSE_FILECTRL=no
9924 DEFAULT_wxUSE_FILEPICKERCTRL=no
9925 DEFAULT_wxUSE_FONTPICKERCTRL=no
9926 DEFAULT_wxUSE_GAUGE=no
9927 DEFAULT_wxUSE_GRID=no
9928 DEFAULT_wxUSE_HEADERCTRL=no
9929 DEFAULT_wxUSE_HYPERLINKCTRL=no
9930 DEFAULT_wxUSE_IMAGLIST=no
9931 DEFAULT_wxUSE_LISTBOOK=no
9932 DEFAULT_wxUSE_LISTBOX=no
9933 DEFAULT_wxUSE_LISTCTRL=no
9934 DEFAULT_wxUSE_MARKUP=no
9935 DEFAULT_wxUSE_NOTEBOOK=no
9936 DEFAULT_wxUSE_POPUPWIN=no
9937 DEFAULT_wxUSE_RADIOBOX=no
9938 DEFAULT_wxUSE_RADIOBTN=no
9939 DEFAULT_wxUSE_RICHMSGDLG=no
9940 DEFAULT_wxUSE_RICHTOOLTIP=no
9941 DEFAULT_wxUSE_REARRANGECTRL=no
9942 DEFAULT_wxUSE_SASH=no
9943 DEFAULT_wxUSE_SCROLLBAR=no
9944 DEFAULT_wxUSE_SEARCHCTRL=no
9945 DEFAULT_wxUSE_SLIDER=no
9946 DEFAULT_wxUSE_SPINBTN=no
9947 DEFAULT_wxUSE_SPINCTRL=no
9948 DEFAULT_wxUSE_SPLITTER=no
9949 DEFAULT_wxUSE_STATBMP=no
9950 DEFAULT_wxUSE_STATBOX=no
9951 DEFAULT_wxUSE_STATLINE=no
9952 DEFAULT_wxUSE_STATUSBAR=no
9953 DEFAULT_wxUSE_TIMEPICKCTRL=no
9954 DEFAULT_wxUSE_TIPWINDOW=no
9955 DEFAULT_wxUSE_TOGGLEBTN=no
9956 DEFAULT_wxUSE_TOOLBAR=no
9957 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9958 DEFAULT_wxUSE_TOOLBOOK=no
9959 DEFAULT_wxUSE_TOOLTIPS=no
9960 DEFAULT_wxUSE_TREEBOOK=no
9961 DEFAULT_wxUSE_TREECTRL=no
9962 DEFAULT_wxUSE_TREELISTCTRL=no
9963 fi
9964
9965
9966 enablestring=
9967 defaultval=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x"$enablestring" = xdisable; then
9970 defaultval=yes
9971 else
9972 defaultval=no
9973 fi
9974 fi
9975
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9978 # Check whether --enable-markup was given.
9979 if test "${enable_markup+set}" = set; then
9980 enableval=$enable_markup;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_markup='wxUSE_MARKUP=yes'
9983 else
9984 wx_cv_use_markup='wxUSE_MARKUP=no'
9985 fi
9986
9987 else
9988
9989 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9990
9991 fi
9992
9993
9994 eval "$wx_cv_use_markup"
9995
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_MARKUP = no; then
9998 result=yes
9999 else
10000 result=no
10001 fi
10002 else
10003 result=$wxUSE_MARKUP
10004 fi
10005
10006 { echo "$as_me:$LINENO: result: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10008
10009
10010
10011 enablestring=
10012 defaultval=$wxUSE_ALL_FEATURES
10013 if test -z "$defaultval"; then
10014 if test x"$enablestring" = xdisable; then
10015 defaultval=yes
10016 else
10017 defaultval=no
10018 fi
10019 fi
10020
10021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10023 # Check whether --enable-accel was given.
10024 if test "${enable_accel+set}" = set; then
10025 enableval=$enable_accel;
10026 if test "$enableval" = yes; then
10027 wx_cv_use_accel='wxUSE_ACCEL=yes'
10028 else
10029 wx_cv_use_accel='wxUSE_ACCEL=no'
10030 fi
10031
10032 else
10033
10034 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10035
10036 fi
10037
10038
10039 eval "$wx_cv_use_accel"
10040
10041 if test x"$enablestring" = xdisable; then
10042 if test $wxUSE_ACCEL = no; then
10043 result=yes
10044 else
10045 result=no
10046 fi
10047 else
10048 result=$wxUSE_ACCEL
10049 fi
10050
10051 { echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6; }
10053
10054
10055 enablestring=
10056 defaultval=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x"$enablestring" = xdisable; then
10059 defaultval=yes
10060 else
10061 defaultval=no
10062 fi
10063 fi
10064
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10067 # Check whether --enable-animatectrl was given.
10068 if test "${enable_animatectrl+set}" = set; then
10069 enableval=$enable_animatectrl;
10070 if test "$enableval" = yes; then
10071 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10072 else
10073 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10074 fi
10075
10076 else
10077
10078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10079
10080 fi
10081
10082
10083 eval "$wx_cv_use_animatectrl"
10084
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_ANIMATIONCTRL = no; then
10087 result=yes
10088 else
10089 result=no
10090 fi
10091 else
10092 result=$wxUSE_ANIMATIONCTRL
10093 fi
10094
10095 { echo "$as_me:$LINENO: result: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10097
10098
10099 enablestring=
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10103 defaultval=yes
10104 else
10105 defaultval=no
10106 fi
10107 fi
10108
10109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10111 # Check whether --enable-bannerwindow was given.
10112 if test "${enable_bannerwindow+set}" = set; then
10113 enableval=$enable_bannerwindow;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10116 else
10117 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10118 fi
10119
10120 else
10121
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10123
10124 fi
10125
10126
10127 eval "$wx_cv_use_bannerwindow"
10128
10129 if test x"$enablestring" = xdisable; then
10130 if test $wxUSE_BANNERWINDOW = no; then
10131 result=yes
10132 else
10133 result=no
10134 fi
10135 else
10136 result=$wxUSE_BANNERWINDOW
10137 fi
10138
10139 { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10141
10142
10143 enablestring=
10144 defaultval=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x"$enablestring" = xdisable; then
10147 defaultval=yes
10148 else
10149 defaultval=no
10150 fi
10151 fi
10152
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10155 # Check whether --enable-artstd was given.
10156 if test "${enable_artstd+set}" = set; then
10157 enableval=$enable_artstd;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10160 else
10161 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10162 fi
10163
10164 else
10165
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10167
10168 fi
10169
10170
10171 eval "$wx_cv_use_artstd"
10172
10173 if test x"$enablestring" = xdisable; then
10174 if test $wxUSE_ARTPROVIDER_STD = no; then
10175 result=yes
10176 else
10177 result=no
10178 fi
10179 else
10180 result=$wxUSE_ARTPROVIDER_STD
10181 fi
10182
10183 { echo "$as_me:$LINENO: result: $result" >&5
10184 echo "${ECHO_T}$result" >&6; }
10185
10186
10187 enablestring=
10188 defaultval=$wxUSE_ALL_FEATURES
10189 if test -z "$defaultval"; then
10190 if test x"$enablestring" = xdisable; then
10191 defaultval=yes
10192 else
10193 defaultval=no
10194 fi
10195 fi
10196
10197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10199 # Check whether --enable-arttango was given.
10200 if test "${enable_arttango+set}" = set; then
10201 enableval=$enable_arttango;
10202 if test "$enableval" = yes; then
10203 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10204 else
10205 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10206 fi
10207
10208 else
10209
10210 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10211
10212 fi
10213
10214
10215 eval "$wx_cv_use_arttango"
10216
10217 if test x"$enablestring" = xdisable; then
10218 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10219 result=yes
10220 else
10221 result=no
10222 fi
10223 else
10224 result=$wxUSE_ARTPROVIDER_TANGO
10225 fi
10226
10227 { echo "$as_me:$LINENO: result: $result" >&5
10228 echo "${ECHO_T}$result" >&6; }
10229
10230
10231 enablestring=
10232 defaultval=$wxUSE_ALL_FEATURES
10233 if test -z "$defaultval"; then
10234 if test x"$enablestring" = xdisable; then
10235 defaultval=yes
10236 else
10237 defaultval=no
10238 fi
10239 fi
10240
10241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10242 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10243 # Check whether --enable-bmpbutton was given.
10244 if test "${enable_bmpbutton+set}" = set; then
10245 enableval=$enable_bmpbutton;
10246 if test "$enableval" = yes; then
10247 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10248 else
10249 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10250 fi
10251
10252 else
10253
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10255
10256 fi
10257
10258
10259 eval "$wx_cv_use_bmpbutton"
10260
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_BMPBUTTON = no; then
10263 result=yes
10264 else
10265 result=no
10266 fi
10267 else
10268 result=$wxUSE_BMPBUTTON
10269 fi
10270
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10273
10274
10275 enablestring=
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10279 defaultval=yes
10280 else
10281 defaultval=no
10282 fi
10283 fi
10284
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10287 # Check whether --enable-bmpcombobox was given.
10288 if test "${enable_bmpcombobox+set}" = set; then
10289 enableval=$enable_bmpcombobox;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10292 else
10293 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10294 fi
10295
10296 else
10297
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10299
10300 fi
10301
10302
10303 eval "$wx_cv_use_bmpcombobox"
10304
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_BITMAPCOMBOBOX = no; then
10307 result=yes
10308 else
10309 result=no
10310 fi
10311 else
10312 result=$wxUSE_BITMAPCOMBOBOX
10313 fi
10314
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10317
10318
10319 enablestring=
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10323 defaultval=yes
10324 else
10325 defaultval=no
10326 fi
10327 fi
10328
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10331 # Check whether --enable-button was given.
10332 if test "${enable_button+set}" = set; then
10333 enableval=$enable_button;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_button='wxUSE_BUTTON=yes'
10336 else
10337 wx_cv_use_button='wxUSE_BUTTON=no'
10338 fi
10339
10340 else
10341
10342 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10343
10344 fi
10345
10346
10347 eval "$wx_cv_use_button"
10348
10349 if test x"$enablestring" = xdisable; then
10350 if test $wxUSE_BUTTON = no; then
10351 result=yes
10352 else
10353 result=no
10354 fi
10355 else
10356 result=$wxUSE_BUTTON
10357 fi
10358
10359 { echo "$as_me:$LINENO: result: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10361
10362
10363 enablestring=
10364 defaultval=$wxUSE_ALL_FEATURES
10365 if test -z "$defaultval"; then
10366 if test x"$enablestring" = xdisable; then
10367 defaultval=yes
10368 else
10369 defaultval=no
10370 fi
10371 fi
10372
10373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10375 # Check whether --enable-calendar was given.
10376 if test "${enable_calendar+set}" = set; then
10377 enableval=$enable_calendar;
10378 if test "$enableval" = yes; then
10379 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10380 else
10381 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10382 fi
10383
10384 else
10385
10386 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10387
10388 fi
10389
10390
10391 eval "$wx_cv_use_calendar"
10392
10393 if test x"$enablestring" = xdisable; then
10394 if test $wxUSE_CALCTRL = no; then
10395 result=yes
10396 else
10397 result=no
10398 fi
10399 else
10400 result=$wxUSE_CALCTRL
10401 fi
10402
10403 { echo "$as_me:$LINENO: result: $result" >&5
10404 echo "${ECHO_T}$result" >&6; }
10405
10406
10407 enablestring=
10408 defaultval=$wxUSE_ALL_FEATURES
10409 if test -z "$defaultval"; then
10410 if test x"$enablestring" = xdisable; then
10411 defaultval=yes
10412 else
10413 defaultval=no
10414 fi
10415 fi
10416
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10419 # Check whether --enable-caret was given.
10420 if test "${enable_caret+set}" = set; then
10421 enableval=$enable_caret;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_caret='wxUSE_CARET=yes'
10424 else
10425 wx_cv_use_caret='wxUSE_CARET=no'
10426 fi
10427
10428 else
10429
10430 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10431
10432 fi
10433
10434
10435 eval "$wx_cv_use_caret"
10436
10437 if test x"$enablestring" = xdisable; then
10438 if test $wxUSE_CARET = no; then
10439 result=yes
10440 else
10441 result=no
10442 fi
10443 else
10444 result=$wxUSE_CARET
10445 fi
10446
10447 { echo "$as_me:$LINENO: result: $result" >&5
10448 echo "${ECHO_T}$result" >&6; }
10449
10450
10451 enablestring=
10452 defaultval=$wxUSE_ALL_FEATURES
10453 if test -z "$defaultval"; then
10454 if test x"$enablestring" = xdisable; then
10455 defaultval=yes
10456 else
10457 defaultval=no
10458 fi
10459 fi
10460
10461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10463 # Check whether --enable-checkbox was given.
10464 if test "${enable_checkbox+set}" = set; then
10465 enableval=$enable_checkbox;
10466 if test "$enableval" = yes; then
10467 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10468 else
10469 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10470 fi
10471
10472 else
10473
10474 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10475
10476 fi
10477
10478
10479 eval "$wx_cv_use_checkbox"
10480
10481 if test x"$enablestring" = xdisable; then
10482 if test $wxUSE_CHECKBOX = no; then
10483 result=yes
10484 else
10485 result=no
10486 fi
10487 else
10488 result=$wxUSE_CHECKBOX
10489 fi
10490
10491 { echo "$as_me:$LINENO: result: $result" >&5
10492 echo "${ECHO_T}$result" >&6; }
10493
10494
10495 enablestring=
10496 defaultval=$wxUSE_ALL_FEATURES
10497 if test -z "$defaultval"; then
10498 if test x"$enablestring" = xdisable; then
10499 defaultval=yes
10500 else
10501 defaultval=no
10502 fi
10503 fi
10504
10505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10506 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10507 # Check whether --enable-checklst was given.
10508 if test "${enable_checklst+set}" = set; then
10509 enableval=$enable_checklst;
10510 if test "$enableval" = yes; then
10511 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10512 else
10513 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10514 fi
10515
10516 else
10517
10518 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10519
10520 fi
10521
10522
10523 eval "$wx_cv_use_checklst"
10524
10525 if test x"$enablestring" = xdisable; then
10526 if test $wxUSE_CHECKLST = no; then
10527 result=yes
10528 else
10529 result=no
10530 fi
10531 else
10532 result=$wxUSE_CHECKLST
10533 fi
10534
10535 { echo "$as_me:$LINENO: result: $result" >&5
10536 echo "${ECHO_T}$result" >&6; }
10537
10538
10539 enablestring=
10540 defaultval=$wxUSE_ALL_FEATURES
10541 if test -z "$defaultval"; then
10542 if test x"$enablestring" = xdisable; then
10543 defaultval=yes
10544 else
10545 defaultval=no
10546 fi
10547 fi
10548
10549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10550 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10551 # Check whether --enable-choice was given.
10552 if test "${enable_choice+set}" = set; then
10553 enableval=$enable_choice;
10554 if test "$enableval" = yes; then
10555 wx_cv_use_choice='wxUSE_CHOICE=yes'
10556 else
10557 wx_cv_use_choice='wxUSE_CHOICE=no'
10558 fi
10559
10560 else
10561
10562 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10563
10564 fi
10565
10566
10567 eval "$wx_cv_use_choice"
10568
10569 if test x"$enablestring" = xdisable; then
10570 if test $wxUSE_CHOICE = no; then
10571 result=yes
10572 else
10573 result=no
10574 fi
10575 else
10576 result=$wxUSE_CHOICE
10577 fi
10578
10579 { echo "$as_me:$LINENO: result: $result" >&5
10580 echo "${ECHO_T}$result" >&6; }
10581
10582
10583 enablestring=
10584 defaultval=$wxUSE_ALL_FEATURES
10585 if test -z "$defaultval"; then
10586 if test x"$enablestring" = xdisable; then
10587 defaultval=yes
10588 else
10589 defaultval=no
10590 fi
10591 fi
10592
10593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10594 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10595 # Check whether --enable-choicebook was given.
10596 if test "${enable_choicebook+set}" = set; then
10597 enableval=$enable_choicebook;
10598 if test "$enableval" = yes; then
10599 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10600 else
10601 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10602 fi
10603
10604 else
10605
10606 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10607
10608 fi
10609
10610
10611 eval "$wx_cv_use_choicebook"
10612
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_CHOICEBOOK = no; then
10615 result=yes
10616 else
10617 result=no
10618 fi
10619 else
10620 result=$wxUSE_CHOICEBOOK
10621 fi
10622
10623 { echo "$as_me:$LINENO: result: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10625
10626
10627 enablestring=
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10631 defaultval=yes
10632 else
10633 defaultval=no
10634 fi
10635 fi
10636
10637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10639 # Check whether --enable-collpane was given.
10640 if test "${enable_collpane+set}" = set; then
10641 enableval=$enable_collpane;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10644 else
10645 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10646 fi
10647
10648 else
10649
10650 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10651
10652 fi
10653
10654
10655 eval "$wx_cv_use_collpane"
10656
10657 if test x"$enablestring" = xdisable; then
10658 if test $wxUSE_COLLPANE = no; then
10659 result=yes
10660 else
10661 result=no
10662 fi
10663 else
10664 result=$wxUSE_COLLPANE
10665 fi
10666
10667 { echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10669
10670
10671 enablestring=
10672 defaultval=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x"$enablestring" = xdisable; then
10675 defaultval=yes
10676 else
10677 defaultval=no
10678 fi
10679 fi
10680
10681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10683 # Check whether --enable-colourpicker was given.
10684 if test "${enable_colourpicker+set}" = set; then
10685 enableval=$enable_colourpicker;
10686 if test "$enableval" = yes; then
10687 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10688 else
10689 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10690 fi
10691
10692 else
10693
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10695
10696 fi
10697
10698
10699 eval "$wx_cv_use_colourpicker"
10700
10701 if test x"$enablestring" = xdisable; then
10702 if test $wxUSE_COLOURPICKERCTRL = no; then
10703 result=yes
10704 else
10705 result=no
10706 fi
10707 else
10708 result=$wxUSE_COLOURPICKERCTRL
10709 fi
10710
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10713
10714
10715 enablestring=
10716 defaultval=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x"$enablestring" = xdisable; then
10719 defaultval=yes
10720 else
10721 defaultval=no
10722 fi
10723 fi
10724
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10727 # Check whether --enable-combobox was given.
10728 if test "${enable_combobox+set}" = set; then
10729 enableval=$enable_combobox;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10732 else
10733 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10734 fi
10735
10736 else
10737
10738 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10739
10740 fi
10741
10742
10743 eval "$wx_cv_use_combobox"
10744
10745 if test x"$enablestring" = xdisable; then
10746 if test $wxUSE_COMBOBOX = no; then
10747 result=yes
10748 else
10749 result=no
10750 fi
10751 else
10752 result=$wxUSE_COMBOBOX
10753 fi
10754
10755 { echo "$as_me:$LINENO: result: $result" >&5
10756 echo "${ECHO_T}$result" >&6; }
10757
10758
10759 enablestring=
10760 defaultval=$wxUSE_ALL_FEATURES
10761 if test -z "$defaultval"; then
10762 if test x"$enablestring" = xdisable; then
10763 defaultval=yes
10764 else
10765 defaultval=no
10766 fi
10767 fi
10768
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10771 # Check whether --enable-comboctrl was given.
10772 if test "${enable_comboctrl+set}" = set; then
10773 enableval=$enable_comboctrl;
10774 if test "$enableval" = yes; then
10775 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10776 else
10777 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10778 fi
10779
10780 else
10781
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10783
10784 fi
10785
10786
10787 eval "$wx_cv_use_comboctrl"
10788
10789 if test x"$enablestring" = xdisable; then
10790 if test $wxUSE_COMBOCTRL = no; then
10791 result=yes
10792 else
10793 result=no
10794 fi
10795 else
10796 result=$wxUSE_COMBOCTRL
10797 fi
10798
10799 { echo "$as_me:$LINENO: result: $result" >&5
10800 echo "${ECHO_T}$result" >&6; }
10801
10802
10803 enablestring=
10804 defaultval=$wxUSE_ALL_FEATURES
10805 if test -z "$defaultval"; then
10806 if test x"$enablestring" = xdisable; then
10807 defaultval=yes
10808 else
10809 defaultval=no
10810 fi
10811 fi
10812
10813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10815 # Check whether --enable-commandlinkbutton was given.
10816 if test "${enable_commandlinkbutton+set}" = set; then
10817 enableval=$enable_commandlinkbutton;
10818 if test "$enableval" = yes; then
10819 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10820 else
10821 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10822 fi
10823
10824 else
10825
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10827
10828 fi
10829
10830
10831 eval "$wx_cv_use_commandlinkbutton"
10832
10833 if test x"$enablestring" = xdisable; then
10834 if test $wxUSE_COMMANDLINKBUTTON = no; then
10835 result=yes
10836 else
10837 result=no
10838 fi
10839 else
10840 result=$wxUSE_COMMANDLINKBUTTON
10841 fi
10842
10843 { echo "$as_me:$LINENO: result: $result" >&5
10844 echo "${ECHO_T}$result" >&6; }
10845
10846
10847 enablestring=
10848 defaultval=$wxUSE_ALL_FEATURES
10849 if test -z "$defaultval"; then
10850 if test x"$enablestring" = xdisable; then
10851 defaultval=yes
10852 else
10853 defaultval=no
10854 fi
10855 fi
10856
10857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10859 # Check whether --enable-dataviewctrl was given.
10860 if test "${enable_dataviewctrl+set}" = set; then
10861 enableval=$enable_dataviewctrl;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10864 else
10865 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10866 fi
10867
10868 else
10869
10870 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10871
10872 fi
10873
10874
10875 eval "$wx_cv_use_dataviewctrl"
10876
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_DATAVIEWCTRL = no; then
10879 result=yes
10880 else
10881 result=no
10882 fi
10883 else
10884 result=$wxUSE_DATAVIEWCTRL
10885 fi
10886
10887 { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10889
10890
10891 enablestring=
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10895 defaultval=yes
10896 else
10897 defaultval=no
10898 fi
10899 fi
10900
10901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10903 # Check whether --enable-datepick was given.
10904 if test "${enable_datepick+set}" = set; then
10905 enableval=$enable_datepick;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10908 else
10909 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10910 fi
10911
10912 else
10913
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10915
10916 fi
10917
10918
10919 eval "$wx_cv_use_datepick"
10920
10921 if test x"$enablestring" = xdisable; then
10922 if test $wxUSE_DATEPICKCTRL = no; then
10923 result=yes
10924 else
10925 result=no
10926 fi
10927 else
10928 result=$wxUSE_DATEPICKCTRL
10929 fi
10930
10931 { echo "$as_me:$LINENO: result: $result" >&5
10932 echo "${ECHO_T}$result" >&6; }
10933
10934
10935 enablestring=
10936 defaultval=$wxUSE_ALL_FEATURES
10937 if test -z "$defaultval"; then
10938 if test x"$enablestring" = xdisable; then
10939 defaultval=yes
10940 else
10941 defaultval=no
10942 fi
10943 fi
10944
10945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10947 # Check whether --enable-detect_sm was given.
10948 if test "${enable_detect_sm+set}" = set; then
10949 enableval=$enable_detect_sm;
10950 if test "$enableval" = yes; then
10951 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10952 else
10953 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10954 fi
10955
10956 else
10957
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10959
10960 fi
10961
10962
10963 eval "$wx_cv_use_detect_sm"
10964
10965 if test x"$enablestring" = xdisable; then
10966 if test $wxUSE_DETECT_SM = no; then
10967 result=yes
10968 else
10969 result=no
10970 fi
10971 else
10972 result=$wxUSE_DETECT_SM
10973 fi
10974
10975 { echo "$as_me:$LINENO: result: $result" >&5
10976 echo "${ECHO_T}$result" >&6; }
10977
10978
10979 enablestring=
10980 defaultval=$wxUSE_ALL_FEATURES
10981 if test -z "$defaultval"; then
10982 if test x"$enablestring" = xdisable; then
10983 defaultval=yes
10984 else
10985 defaultval=no
10986 fi
10987 fi
10988
10989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10991 # Check whether --enable-dirpicker was given.
10992 if test "${enable_dirpicker+set}" = set; then
10993 enableval=$enable_dirpicker;
10994 if test "$enableval" = yes; then
10995 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10996 else
10997 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10998 fi
10999
11000 else
11001
11002 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11003
11004 fi
11005
11006
11007 eval "$wx_cv_use_dirpicker"
11008
11009 if test x"$enablestring" = xdisable; then
11010 if test $wxUSE_DIRPICKERCTRL = no; then
11011 result=yes
11012 else
11013 result=no
11014 fi
11015 else
11016 result=$wxUSE_DIRPICKERCTRL
11017 fi
11018
11019 { echo "$as_me:$LINENO: result: $result" >&5
11020 echo "${ECHO_T}$result" >&6; }
11021
11022
11023 enablestring=
11024 defaultval=$wxUSE_ALL_FEATURES
11025 if test -z "$defaultval"; then
11026 if test x"$enablestring" = xdisable; then
11027 defaultval=yes
11028 else
11029 defaultval=no
11030 fi
11031 fi
11032
11033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11034 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11035 # Check whether --enable-display was given.
11036 if test "${enable_display+set}" = set; then
11037 enableval=$enable_display;
11038 if test "$enableval" = yes; then
11039 wx_cv_use_display='wxUSE_DISPLAY=yes'
11040 else
11041 wx_cv_use_display='wxUSE_DISPLAY=no'
11042 fi
11043
11044 else
11045
11046 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11047
11048 fi
11049
11050
11051 eval "$wx_cv_use_display"
11052
11053 if test x"$enablestring" = xdisable; then
11054 if test $wxUSE_DISPLAY = no; then
11055 result=yes
11056 else
11057 result=no
11058 fi
11059 else
11060 result=$wxUSE_DISPLAY
11061 fi
11062
11063 { echo "$as_me:$LINENO: result: $result" >&5
11064 echo "${ECHO_T}$result" >&6; }
11065
11066
11067 enablestring=
11068 defaultval=$wxUSE_ALL_FEATURES
11069 if test -z "$defaultval"; then
11070 if test x"$enablestring" = xdisable; then
11071 defaultval=yes
11072 else
11073 defaultval=no
11074 fi
11075 fi
11076
11077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11079 # Check whether --enable-editablebox was given.
11080 if test "${enable_editablebox+set}" = set; then
11081 enableval=$enable_editablebox;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11084 else
11085 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11086 fi
11087
11088 else
11089
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11091
11092 fi
11093
11094
11095 eval "$wx_cv_use_editablebox"
11096
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_EDITABLELISTBOX = no; then
11099 result=yes
11100 else
11101 result=no
11102 fi
11103 else
11104 result=$wxUSE_EDITABLELISTBOX
11105 fi
11106
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11109
11110
11111 enablestring=
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11115 defaultval=yes
11116 else
11117 defaultval=no
11118 fi
11119 fi
11120
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11123 # Check whether --enable-filectrl was given.
11124 if test "${enable_filectrl+set}" = set; then
11125 enableval=$enable_filectrl;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11128 else
11129 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11130 fi
11131
11132 else
11133
11134 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11135
11136 fi
11137
11138
11139 eval "$wx_cv_use_filectrl"
11140
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_FILECTRL = no; then
11143 result=yes
11144 else
11145 result=no
11146 fi
11147 else
11148 result=$wxUSE_FILECTRL
11149 fi
11150
11151 { echo "$as_me:$LINENO: result: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11153
11154
11155 enablestring=
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11159 defaultval=yes
11160 else
11161 defaultval=no
11162 fi
11163 fi
11164
11165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11167 # Check whether --enable-filepicker was given.
11168 if test "${enable_filepicker+set}" = set; then
11169 enableval=$enable_filepicker;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11172 else
11173 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11174 fi
11175
11176 else
11177
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11179
11180 fi
11181
11182
11183 eval "$wx_cv_use_filepicker"
11184
11185 if test x"$enablestring" = xdisable; then
11186 if test $wxUSE_FILEPICKERCTRL = no; then
11187 result=yes
11188 else
11189 result=no
11190 fi
11191 else
11192 result=$wxUSE_FILEPICKERCTRL
11193 fi
11194
11195 { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11197
11198
11199 enablestring=
11200 defaultval=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x"$enablestring" = xdisable; then
11203 defaultval=yes
11204 else
11205 defaultval=no
11206 fi
11207 fi
11208
11209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11211 # Check whether --enable-fontpicker was given.
11212 if test "${enable_fontpicker+set}" = set; then
11213 enableval=$enable_fontpicker;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11216 else
11217 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11218 fi
11219
11220 else
11221
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11223
11224 fi
11225
11226
11227 eval "$wx_cv_use_fontpicker"
11228
11229 if test x"$enablestring" = xdisable; then
11230 if test $wxUSE_FONTPICKERCTRL = no; then
11231 result=yes
11232 else
11233 result=no
11234 fi
11235 else
11236 result=$wxUSE_FONTPICKERCTRL
11237 fi
11238
11239 { echo "$as_me:$LINENO: result: $result" >&5
11240 echo "${ECHO_T}$result" >&6; }
11241
11242
11243 enablestring=
11244 defaultval=$wxUSE_ALL_FEATURES
11245 if test -z "$defaultval"; then
11246 if test x"$enablestring" = xdisable; then
11247 defaultval=yes
11248 else
11249 defaultval=no
11250 fi
11251 fi
11252
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11255 # Check whether --enable-gauge was given.
11256 if test "${enable_gauge+set}" = set; then
11257 enableval=$enable_gauge;
11258 if test "$enableval" = yes; then
11259 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11260 else
11261 wx_cv_use_gauge='wxUSE_GAUGE=no'
11262 fi
11263
11264 else
11265
11266 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11267
11268 fi
11269
11270
11271 eval "$wx_cv_use_gauge"
11272
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_GAUGE = no; then
11275 result=yes
11276 else
11277 result=no
11278 fi
11279 else
11280 result=$wxUSE_GAUGE
11281 fi
11282
11283 { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11285
11286
11287 enablestring=
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11291 defaultval=yes
11292 else
11293 defaultval=no
11294 fi
11295 fi
11296
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11299 # Check whether --enable-grid was given.
11300 if test "${enable_grid+set}" = set; then
11301 enableval=$enable_grid;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_grid='wxUSE_GRID=yes'
11304 else
11305 wx_cv_use_grid='wxUSE_GRID=no'
11306 fi
11307
11308 else
11309
11310 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11311
11312 fi
11313
11314
11315 eval "$wx_cv_use_grid"
11316
11317 if test x"$enablestring" = xdisable; then
11318 if test $wxUSE_GRID = no; then
11319 result=yes
11320 else
11321 result=no
11322 fi
11323 else
11324 result=$wxUSE_GRID
11325 fi
11326
11327 { echo "$as_me:$LINENO: result: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11329
11330
11331 enablestring=
11332 defaultval=$wxUSE_ALL_FEATURES
11333 if test -z "$defaultval"; then
11334 if test x"$enablestring" = xdisable; then
11335 defaultval=yes
11336 else
11337 defaultval=no
11338 fi
11339 fi
11340
11341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11342 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11343 # Check whether --enable-headerctrl was given.
11344 if test "${enable_headerctrl+set}" = set; then
11345 enableval=$enable_headerctrl;
11346 if test "$enableval" = yes; then
11347 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11348 else
11349 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11350 fi
11351
11352 else
11353
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11355
11356 fi
11357
11358
11359 eval "$wx_cv_use_headerctrl"
11360
11361 if test x"$enablestring" = xdisable; then
11362 if test $wxUSE_HEADERCTRL = no; then
11363 result=yes
11364 else
11365 result=no
11366 fi
11367 else
11368 result=$wxUSE_HEADERCTRL
11369 fi
11370
11371 { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11373
11374
11375 enablestring=
11376 defaultval=$wxUSE_ALL_FEATURES
11377 if test -z "$defaultval"; then
11378 if test x"$enablestring" = xdisable; then
11379 defaultval=yes
11380 else
11381 defaultval=no
11382 fi
11383 fi
11384
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11387 # Check whether --enable-hyperlink was given.
11388 if test "${enable_hyperlink+set}" = set; then
11389 enableval=$enable_hyperlink;
11390 if test "$enableval" = yes; then
11391 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11392 else
11393 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11394 fi
11395
11396 else
11397
11398 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11399
11400 fi
11401
11402
11403 eval "$wx_cv_use_hyperlink"
11404
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_HYPERLINKCTRL = no; then
11407 result=yes
11408 else
11409 result=no
11410 fi
11411 else
11412 result=$wxUSE_HYPERLINKCTRL
11413 fi
11414
11415 { echo "$as_me:$LINENO: result: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11417
11418
11419 enablestring=
11420 defaultval=$wxUSE_ALL_FEATURES
11421 if test -z "$defaultval"; then
11422 if test x"$enablestring" = xdisable; then
11423 defaultval=yes
11424 else
11425 defaultval=no
11426 fi
11427 fi
11428
11429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11431 # Check whether --enable-imaglist was given.
11432 if test "${enable_imaglist+set}" = set; then
11433 enableval=$enable_imaglist;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11436 else
11437 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11438 fi
11439
11440 else
11441
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11443
11444 fi
11445
11446
11447 eval "$wx_cv_use_imaglist"
11448
11449 if test x"$enablestring" = xdisable; then
11450 if test $wxUSE_IMAGLIST = no; then
11451 result=yes
11452 else
11453 result=no
11454 fi
11455 else
11456 result=$wxUSE_IMAGLIST
11457 fi
11458
11459 { echo "$as_me:$LINENO: result: $result" >&5
11460 echo "${ECHO_T}$result" >&6; }
11461
11462
11463 enablestring=
11464 defaultval=$wxUSE_ALL_FEATURES
11465 if test -z "$defaultval"; then
11466 if test x"$enablestring" = xdisable; then
11467 defaultval=yes
11468 else
11469 defaultval=no
11470 fi
11471 fi
11472
11473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11475 # Check whether --enable-infobar was given.
11476 if test "${enable_infobar+set}" = set; then
11477 enableval=$enable_infobar;
11478 if test "$enableval" = yes; then
11479 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11480 else
11481 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11482 fi
11483
11484 else
11485
11486 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11487
11488 fi
11489
11490
11491 eval "$wx_cv_use_infobar"
11492
11493 if test x"$enablestring" = xdisable; then
11494 if test $wxUSE_INFOBAR = no; then
11495 result=yes
11496 else
11497 result=no
11498 fi
11499 else
11500 result=$wxUSE_INFOBAR
11501 fi
11502
11503 { echo "$as_me:$LINENO: result: $result" >&5
11504 echo "${ECHO_T}$result" >&6; }
11505
11506
11507 enablestring=
11508 defaultval=$wxUSE_ALL_FEATURES
11509 if test -z "$defaultval"; then
11510 if test x"$enablestring" = xdisable; then
11511 defaultval=yes
11512 else
11513 defaultval=no
11514 fi
11515 fi
11516
11517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11519 # Check whether --enable-listbook was given.
11520 if test "${enable_listbook+set}" = set; then
11521 enableval=$enable_listbook;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11524 else
11525 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11526 fi
11527
11528 else
11529
11530 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11531
11532 fi
11533
11534
11535 eval "$wx_cv_use_listbook"
11536
11537 if test x"$enablestring" = xdisable; then
11538 if test $wxUSE_LISTBOOK = no; then
11539 result=yes
11540 else
11541 result=no
11542 fi
11543 else
11544 result=$wxUSE_LISTBOOK
11545 fi
11546
11547 { echo "$as_me:$LINENO: result: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11549
11550
11551 enablestring=
11552 defaultval=$wxUSE_ALL_FEATURES
11553 if test -z "$defaultval"; then
11554 if test x"$enablestring" = xdisable; then
11555 defaultval=yes
11556 else
11557 defaultval=no
11558 fi
11559 fi
11560
11561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11563 # Check whether --enable-listbox was given.
11564 if test "${enable_listbox+set}" = set; then
11565 enableval=$enable_listbox;
11566 if test "$enableval" = yes; then
11567 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11568 else
11569 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11570 fi
11571
11572 else
11573
11574 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11575
11576 fi
11577
11578
11579 eval "$wx_cv_use_listbox"
11580
11581 if test x"$enablestring" = xdisable; then
11582 if test $wxUSE_LISTBOX = no; then
11583 result=yes
11584 else
11585 result=no
11586 fi
11587 else
11588 result=$wxUSE_LISTBOX
11589 fi
11590
11591 { echo "$as_me:$LINENO: result: $result" >&5
11592 echo "${ECHO_T}$result" >&6; }
11593
11594
11595 enablestring=
11596 defaultval=$wxUSE_ALL_FEATURES
11597 if test -z "$defaultval"; then
11598 if test x"$enablestring" = xdisable; then
11599 defaultval=yes
11600 else
11601 defaultval=no
11602 fi
11603 fi
11604
11605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11607 # Check whether --enable-listctrl was given.
11608 if test "${enable_listctrl+set}" = set; then
11609 enableval=$enable_listctrl;
11610 if test "$enableval" = yes; then
11611 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11612 else
11613 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11614 fi
11615
11616 else
11617
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11619
11620 fi
11621
11622
11623 eval "$wx_cv_use_listctrl"
11624
11625 if test x"$enablestring" = xdisable; then
11626 if test $wxUSE_LISTCTRL = no; then
11627 result=yes
11628 else
11629 result=no
11630 fi
11631 else
11632 result=$wxUSE_LISTCTRL
11633 fi
11634
11635 { echo "$as_me:$LINENO: result: $result" >&5
11636 echo "${ECHO_T}$result" >&6; }
11637
11638
11639 enablestring=
11640 defaultval=$wxUSE_ALL_FEATURES
11641 if test -z "$defaultval"; then
11642 if test x"$enablestring" = xdisable; then
11643 defaultval=yes
11644 else
11645 defaultval=no
11646 fi
11647 fi
11648
11649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11651 # Check whether --enable-notebook was given.
11652 if test "${enable_notebook+set}" = set; then
11653 enableval=$enable_notebook;
11654 if test "$enableval" = yes; then
11655 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11656 else
11657 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11658 fi
11659
11660 else
11661
11662 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11663
11664 fi
11665
11666
11667 eval "$wx_cv_use_notebook"
11668
11669 if test x"$enablestring" = xdisable; then
11670 if test $wxUSE_NOTEBOOK = no; then
11671 result=yes
11672 else
11673 result=no
11674 fi
11675 else
11676 result=$wxUSE_NOTEBOOK
11677 fi
11678
11679 { echo "$as_me:$LINENO: result: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11681
11682
11683 enablestring=
11684 defaultval=$wxUSE_ALL_FEATURES
11685 if test -z "$defaultval"; then
11686 if test x"$enablestring" = xdisable; then
11687 defaultval=yes
11688 else
11689 defaultval=no
11690 fi
11691 fi
11692
11693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11695 # Check whether --enable-notifmsg was given.
11696 if test "${enable_notifmsg+set}" = set; then
11697 enableval=$enable_notifmsg;
11698 if test "$enableval" = yes; then
11699 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11700 else
11701 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11702 fi
11703
11704 else
11705
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11707
11708 fi
11709
11710
11711 eval "$wx_cv_use_notifmsg"
11712
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11715 result=yes
11716 else
11717 result=no
11718 fi
11719 else
11720 result=$wxUSE_NOTIFICATION_MESSAGE
11721 fi
11722
11723 { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11725
11726
11727 enablestring=
11728 defaultval=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x"$enablestring" = xdisable; then
11731 defaultval=yes
11732 else
11733 defaultval=no
11734 fi
11735 fi
11736
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11739 # Check whether --enable-odcombobox was given.
11740 if test "${enable_odcombobox+set}" = set; then
11741 enableval=$enable_odcombobox;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11744 else
11745 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11746 fi
11747
11748 else
11749
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11751
11752 fi
11753
11754
11755 eval "$wx_cv_use_odcombobox"
11756
11757 if test x"$enablestring" = xdisable; then
11758 if test $wxUSE_ODCOMBOBOX = no; then
11759 result=yes
11760 else
11761 result=no
11762 fi
11763 else
11764 result=$wxUSE_ODCOMBOBOX
11765 fi
11766
11767 { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11769
11770
11771 enablestring=
11772 defaultval=$wxUSE_ALL_FEATURES
11773 if test -z "$defaultval"; then
11774 if test x"$enablestring" = xdisable; then
11775 defaultval=yes
11776 else
11777 defaultval=no
11778 fi
11779 fi
11780
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11783 # Check whether --enable-popupwin was given.
11784 if test "${enable_popupwin+set}" = set; then
11785 enableval=$enable_popupwin;
11786 if test "$enableval" = yes; then
11787 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11788 else
11789 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11790 fi
11791
11792 else
11793
11794 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11795
11796 fi
11797
11798
11799 eval "$wx_cv_use_popupwin"
11800
11801 if test x"$enablestring" = xdisable; then
11802 if test $wxUSE_POPUPWIN = no; then
11803 result=yes
11804 else
11805 result=no
11806 fi
11807 else
11808 result=$wxUSE_POPUPWIN
11809 fi
11810
11811 { echo "$as_me:$LINENO: result: $result" >&5
11812 echo "${ECHO_T}$result" >&6; }
11813
11814
11815 enablestring=
11816 defaultval=$wxUSE_ALL_FEATURES
11817 if test -z "$defaultval"; then
11818 if test x"$enablestring" = xdisable; then
11819 defaultval=yes
11820 else
11821 defaultval=no
11822 fi
11823 fi
11824
11825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11827 # Check whether --enable-radiobox was given.
11828 if test "${enable_radiobox+set}" = set; then
11829 enableval=$enable_radiobox;
11830 if test "$enableval" = yes; then
11831 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11832 else
11833 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11834 fi
11835
11836 else
11837
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11839
11840 fi
11841
11842
11843 eval "$wx_cv_use_radiobox"
11844
11845 if test x"$enablestring" = xdisable; then
11846 if test $wxUSE_RADIOBOX = no; then
11847 result=yes
11848 else
11849 result=no
11850 fi
11851 else
11852 result=$wxUSE_RADIOBOX
11853 fi
11854
11855 { echo "$as_me:$LINENO: result: $result" >&5
11856 echo "${ECHO_T}$result" >&6; }
11857
11858
11859 enablestring=
11860 defaultval=$wxUSE_ALL_FEATURES
11861 if test -z "$defaultval"; then
11862 if test x"$enablestring" = xdisable; then
11863 defaultval=yes
11864 else
11865 defaultval=no
11866 fi
11867 fi
11868
11869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11870 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11871 # Check whether --enable-radiobtn was given.
11872 if test "${enable_radiobtn+set}" = set; then
11873 enableval=$enable_radiobtn;
11874 if test "$enableval" = yes; then
11875 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11876 else
11877 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11878 fi
11879
11880 else
11881
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11883
11884 fi
11885
11886
11887 eval "$wx_cv_use_radiobtn"
11888
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_RADIOBTN = no; then
11891 result=yes
11892 else
11893 result=no
11894 fi
11895 else
11896 result=$wxUSE_RADIOBTN
11897 fi
11898
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11901
11902
11903 enablestring=
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11907 defaultval=yes
11908 else
11909 defaultval=no
11910 fi
11911 fi
11912
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11915 # Check whether --enable-richmsgdlg was given.
11916 if test "${enable_richmsgdlg+set}" = set; then
11917 enableval=$enable_richmsgdlg;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11920 else
11921 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11922 fi
11923
11924 else
11925
11926 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11927
11928 fi
11929
11930
11931 eval "$wx_cv_use_richmsgdlg"
11932
11933 if test x"$enablestring" = xdisable; then
11934 if test $wxUSE_RICHMSGDLG = no; then
11935 result=yes
11936 else
11937 result=no
11938 fi
11939 else
11940 result=$wxUSE_RICHMSGDLG
11941 fi
11942
11943 { echo "$as_me:$LINENO: result: $result" >&5
11944 echo "${ECHO_T}$result" >&6; }
11945
11946
11947 enablestring=
11948 defaultval=$wxUSE_ALL_FEATURES
11949 if test -z "$defaultval"; then
11950 if test x"$enablestring" = xdisable; then
11951 defaultval=yes
11952 else
11953 defaultval=no
11954 fi
11955 fi
11956
11957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11958 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11959 # Check whether --enable-richtooltip was given.
11960 if test "${enable_richtooltip+set}" = set; then
11961 enableval=$enable_richtooltip;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
11964 else
11965 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
11966 fi
11967
11968 else
11969
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11971
11972 fi
11973
11974
11975 eval "$wx_cv_use_richtooltip"
11976
11977 if test x"$enablestring" = xdisable; then
11978 if test $wxUSE_RICHTOOLTIP = no; then
11979 result=yes
11980 else
11981 result=no
11982 fi
11983 else
11984 result=$wxUSE_RICHTOOLTIP
11985 fi
11986
11987 { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11989
11990
11991 enablestring=
11992 defaultval=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x"$enablestring" = xdisable; then
11995 defaultval=yes
11996 else
11997 defaultval=no
11998 fi
11999 fi
12000
12001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
12003 # Check whether --enable-rearrangectrl was given.
12004 if test "${enable_rearrangectrl+set}" = set; then
12005 enableval=$enable_rearrangectrl;
12006 if test "$enableval" = yes; then
12007 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12008 else
12009 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12010 fi
12011
12012 else
12013
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12015
12016 fi
12017
12018
12019 eval "$wx_cv_use_rearrangectrl"
12020
12021 if test x"$enablestring" = xdisable; then
12022 if test $wxUSE_REARRANGECTRL = no; then
12023 result=yes
12024 else
12025 result=no
12026 fi
12027 else
12028 result=$wxUSE_REARRANGECTRL
12029 fi
12030
12031 { echo "$as_me:$LINENO: result: $result" >&5
12032 echo "${ECHO_T}$result" >&6; }
12033
12034
12035 enablestring=
12036 defaultval=$wxUSE_ALL_FEATURES
12037 if test -z "$defaultval"; then
12038 if test x"$enablestring" = xdisable; then
12039 defaultval=yes
12040 else
12041 defaultval=no
12042 fi
12043 fi
12044
12045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12046 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12047 # Check whether --enable-sash was given.
12048 if test "${enable_sash+set}" = set; then
12049 enableval=$enable_sash;
12050 if test "$enableval" = yes; then
12051 wx_cv_use_sash='wxUSE_SASH=yes'
12052 else
12053 wx_cv_use_sash='wxUSE_SASH=no'
12054 fi
12055
12056 else
12057
12058 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12059
12060 fi
12061
12062
12063 eval "$wx_cv_use_sash"
12064
12065 if test x"$enablestring" = xdisable; then
12066 if test $wxUSE_SASH = no; then
12067 result=yes
12068 else
12069 result=no
12070 fi
12071 else
12072 result=$wxUSE_SASH
12073 fi
12074
12075 { echo "$as_me:$LINENO: result: $result" >&5
12076 echo "${ECHO_T}$result" >&6; }
12077
12078
12079 enablestring=
12080 defaultval=$wxUSE_ALL_FEATURES
12081 if test -z "$defaultval"; then
12082 if test x"$enablestring" = xdisable; then
12083 defaultval=yes
12084 else
12085 defaultval=no
12086 fi
12087 fi
12088
12089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12090 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12091 # Check whether --enable-scrollbar was given.
12092 if test "${enable_scrollbar+set}" = set; then
12093 enableval=$enable_scrollbar;
12094 if test "$enableval" = yes; then
12095 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12096 else
12097 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12098 fi
12099
12100 else
12101
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12103
12104 fi
12105
12106
12107 eval "$wx_cv_use_scrollbar"
12108
12109 if test x"$enablestring" = xdisable; then
12110 if test $wxUSE_SCROLLBAR = no; then
12111 result=yes
12112 else
12113 result=no
12114 fi
12115 else
12116 result=$wxUSE_SCROLLBAR
12117 fi
12118
12119 { echo "$as_me:$LINENO: result: $result" >&5
12120 echo "${ECHO_T}$result" >&6; }
12121
12122
12123 enablestring=
12124 defaultval=$wxUSE_ALL_FEATURES
12125 if test -z "$defaultval"; then
12126 if test x"$enablestring" = xdisable; then
12127 defaultval=yes
12128 else
12129 defaultval=no
12130 fi
12131 fi
12132
12133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12134 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12135 # Check whether --enable-searchctrl was given.
12136 if test "${enable_searchctrl+set}" = set; then
12137 enableval=$enable_searchctrl;
12138 if test "$enableval" = yes; then
12139 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12140 else
12141 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12142 fi
12143
12144 else
12145
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12147
12148 fi
12149
12150
12151 eval "$wx_cv_use_searchctrl"
12152
12153 if test x"$enablestring" = xdisable; then
12154 if test $wxUSE_SEARCHCTRL = no; then
12155 result=yes
12156 else
12157 result=no
12158 fi
12159 else
12160 result=$wxUSE_SEARCHCTRL
12161 fi
12162
12163 { echo "$as_me:$LINENO: result: $result" >&5
12164 echo "${ECHO_T}$result" >&6; }
12165
12166
12167 enablestring=
12168 defaultval=$wxUSE_ALL_FEATURES
12169 if test -z "$defaultval"; then
12170 if test x"$enablestring" = xdisable; then
12171 defaultval=yes
12172 else
12173 defaultval=no
12174 fi
12175 fi
12176
12177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12178 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12179 # Check whether --enable-slider was given.
12180 if test "${enable_slider+set}" = set; then
12181 enableval=$enable_slider;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_slider='wxUSE_SLIDER=yes'
12184 else
12185 wx_cv_use_slider='wxUSE_SLIDER=no'
12186 fi
12187
12188 else
12189
12190 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12191
12192 fi
12193
12194
12195 eval "$wx_cv_use_slider"
12196
12197 if test x"$enablestring" = xdisable; then
12198 if test $wxUSE_SLIDER = no; then
12199 result=yes
12200 else
12201 result=no
12202 fi
12203 else
12204 result=$wxUSE_SLIDER
12205 fi
12206
12207 { echo "$as_me:$LINENO: result: $result" >&5
12208 echo "${ECHO_T}$result" >&6; }
12209
12210
12211 enablestring=
12212 defaultval=$wxUSE_ALL_FEATURES
12213 if test -z "$defaultval"; then
12214 if test x"$enablestring" = xdisable; then
12215 defaultval=yes
12216 else
12217 defaultval=no
12218 fi
12219 fi
12220
12221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12222 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12223 # Check whether --enable-spinbtn was given.
12224 if test "${enable_spinbtn+set}" = set; then
12225 enableval=$enable_spinbtn;
12226 if test "$enableval" = yes; then
12227 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12228 else
12229 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12230 fi
12231
12232 else
12233
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12235
12236 fi
12237
12238
12239 eval "$wx_cv_use_spinbtn"
12240
12241 if test x"$enablestring" = xdisable; then
12242 if test $wxUSE_SPINBTN = no; then
12243 result=yes
12244 else
12245 result=no
12246 fi
12247 else
12248 result=$wxUSE_SPINBTN
12249 fi
12250
12251 { echo "$as_me:$LINENO: result: $result" >&5
12252 echo "${ECHO_T}$result" >&6; }
12253
12254
12255 enablestring=
12256 defaultval=$wxUSE_ALL_FEATURES
12257 if test -z "$defaultval"; then
12258 if test x"$enablestring" = xdisable; then
12259 defaultval=yes
12260 else
12261 defaultval=no
12262 fi
12263 fi
12264
12265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12266 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12267 # Check whether --enable-spinctrl was given.
12268 if test "${enable_spinctrl+set}" = set; then
12269 enableval=$enable_spinctrl;
12270 if test "$enableval" = yes; then
12271 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12272 else
12273 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12274 fi
12275
12276 else
12277
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12279
12280 fi
12281
12282
12283 eval "$wx_cv_use_spinctrl"
12284
12285 if test x"$enablestring" = xdisable; then
12286 if test $wxUSE_SPINCTRL = no; then
12287 result=yes
12288 else
12289 result=no
12290 fi
12291 else
12292 result=$wxUSE_SPINCTRL
12293 fi
12294
12295 { echo "$as_me:$LINENO: result: $result" >&5
12296 echo "${ECHO_T}$result" >&6; }
12297
12298
12299 enablestring=
12300 defaultval=$wxUSE_ALL_FEATURES
12301 if test -z "$defaultval"; then
12302 if test x"$enablestring" = xdisable; then
12303 defaultval=yes
12304 else
12305 defaultval=no
12306 fi
12307 fi
12308
12309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12310 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12311 # Check whether --enable-splitter was given.
12312 if test "${enable_splitter+set}" = set; then
12313 enableval=$enable_splitter;
12314 if test "$enableval" = yes; then
12315 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12316 else
12317 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12318 fi
12319
12320 else
12321
12322 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12323
12324 fi
12325
12326
12327 eval "$wx_cv_use_splitter"
12328
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_SPLITTER = no; then
12331 result=yes
12332 else
12333 result=no
12334 fi
12335 else
12336 result=$wxUSE_SPLITTER
12337 fi
12338
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12341
12342
12343 enablestring=
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12347 defaultval=yes
12348 else
12349 defaultval=no
12350 fi
12351 fi
12352
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12355 # Check whether --enable-statbmp was given.
12356 if test "${enable_statbmp+set}" = set; then
12357 enableval=$enable_statbmp;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12360 else
12361 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12362 fi
12363
12364 else
12365
12366 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12367
12368 fi
12369
12370
12371 eval "$wx_cv_use_statbmp"
12372
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_STATBMP = no; then
12375 result=yes
12376 else
12377 result=no
12378 fi
12379 else
12380 result=$wxUSE_STATBMP
12381 fi
12382
12383 { echo "$as_me:$LINENO: result: $result" >&5
12384 echo "${ECHO_T}$result" >&6; }
12385
12386
12387 enablestring=
12388 defaultval=$wxUSE_ALL_FEATURES
12389 if test -z "$defaultval"; then
12390 if test x"$enablestring" = xdisable; then
12391 defaultval=yes
12392 else
12393 defaultval=no
12394 fi
12395 fi
12396
12397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12398 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12399 # Check whether --enable-statbox was given.
12400 if test "${enable_statbox+set}" = set; then
12401 enableval=$enable_statbox;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12404 else
12405 wx_cv_use_statbox='wxUSE_STATBOX=no'
12406 fi
12407
12408 else
12409
12410 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12411
12412 fi
12413
12414
12415 eval "$wx_cv_use_statbox"
12416
12417 if test x"$enablestring" = xdisable; then
12418 if test $wxUSE_STATBOX = no; then
12419 result=yes
12420 else
12421 result=no
12422 fi
12423 else
12424 result=$wxUSE_STATBOX
12425 fi
12426
12427 { echo "$as_me:$LINENO: result: $result" >&5
12428 echo "${ECHO_T}$result" >&6; }
12429
12430
12431 enablestring=
12432 defaultval=$wxUSE_ALL_FEATURES
12433 if test -z "$defaultval"; then
12434 if test x"$enablestring" = xdisable; then
12435 defaultval=yes
12436 else
12437 defaultval=no
12438 fi
12439 fi
12440
12441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12442 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12443 # Check whether --enable-statline was given.
12444 if test "${enable_statline+set}" = set; then
12445 enableval=$enable_statline;
12446 if test "$enableval" = yes; then
12447 wx_cv_use_statline='wxUSE_STATLINE=yes'
12448 else
12449 wx_cv_use_statline='wxUSE_STATLINE=no'
12450 fi
12451
12452 else
12453
12454 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12455
12456 fi
12457
12458
12459 eval "$wx_cv_use_statline"
12460
12461 if test x"$enablestring" = xdisable; then
12462 if test $wxUSE_STATLINE = no; then
12463 result=yes
12464 else
12465 result=no
12466 fi
12467 else
12468 result=$wxUSE_STATLINE
12469 fi
12470
12471 { echo "$as_me:$LINENO: result: $result" >&5
12472 echo "${ECHO_T}$result" >&6; }
12473
12474
12475 enablestring=
12476 defaultval=$wxUSE_ALL_FEATURES
12477 if test -z "$defaultval"; then
12478 if test x"$enablestring" = xdisable; then
12479 defaultval=yes
12480 else
12481 defaultval=no
12482 fi
12483 fi
12484
12485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12486 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12487 # Check whether --enable-stattext was given.
12488 if test "${enable_stattext+set}" = set; then
12489 enableval=$enable_stattext;
12490 if test "$enableval" = yes; then
12491 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12492 else
12493 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12494 fi
12495
12496 else
12497
12498 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12499
12500 fi
12501
12502
12503 eval "$wx_cv_use_stattext"
12504
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_STATTEXT = no; then
12507 result=yes
12508 else
12509 result=no
12510 fi
12511 else
12512 result=$wxUSE_STATTEXT
12513 fi
12514
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12517
12518
12519 enablestring=
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12523 defaultval=yes
12524 else
12525 defaultval=no
12526 fi
12527 fi
12528
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12531 # Check whether --enable-statusbar was given.
12532 if test "${enable_statusbar+set}" = set; then
12533 enableval=$enable_statusbar;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12536 else
12537 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12538 fi
12539
12540 else
12541
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12543
12544 fi
12545
12546
12547 eval "$wx_cv_use_statusbar"
12548
12549 if test x"$enablestring" = xdisable; then
12550 if test $wxUSE_STATUSBAR = no; then
12551 result=yes
12552 else
12553 result=no
12554 fi
12555 else
12556 result=$wxUSE_STATUSBAR
12557 fi
12558
12559 { echo "$as_me:$LINENO: result: $result" >&5
12560 echo "${ECHO_T}$result" >&6; }
12561
12562
12563 enablestring=
12564 defaultval=$wxUSE_ALL_FEATURES
12565 if test -z "$defaultval"; then
12566 if test x"$enablestring" = xdisable; then
12567 defaultval=yes
12568 else
12569 defaultval=no
12570 fi
12571 fi
12572
12573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12574 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12575 # Check whether --enable-taskbaricon was given.
12576 if test "${enable_taskbaricon+set}" = set; then
12577 enableval=$enable_taskbaricon;
12578 if test "$enableval" = yes; then
12579 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12580 else
12581 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12582 fi
12583
12584 else
12585
12586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12587
12588 fi
12589
12590
12591 eval "$wx_cv_use_taskbaricon"
12592
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_TASKBARICON = no; then
12595 result=yes
12596 else
12597 result=no
12598 fi
12599 else
12600 result=$wxUSE_TASKBARICON
12601 fi
12602
12603 { echo "$as_me:$LINENO: result: $result" >&5
12604 echo "${ECHO_T}$result" >&6; }
12605
12606
12607 enablestring=
12608 defaultval=$wxUSE_ALL_FEATURES
12609 if test -z "$defaultval"; then
12610 if test x"$enablestring" = xdisable; then
12611 defaultval=yes
12612 else
12613 defaultval=no
12614 fi
12615 fi
12616
12617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12619 # Check whether --enable-tbarnative was given.
12620 if test "${enable_tbarnative+set}" = set; then
12621 enableval=$enable_tbarnative;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12624 else
12625 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12626 fi
12627
12628 else
12629
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12631
12632 fi
12633
12634
12635 eval "$wx_cv_use_tbarnative"
12636
12637 if test x"$enablestring" = xdisable; then
12638 if test $wxUSE_TOOLBAR_NATIVE = no; then
12639 result=yes
12640 else
12641 result=no
12642 fi
12643 else
12644 result=$wxUSE_TOOLBAR_NATIVE
12645 fi
12646
12647 { echo "$as_me:$LINENO: result: $result" >&5
12648 echo "${ECHO_T}$result" >&6; }
12649
12650
12651 enablestring=
12652 defaultval=$wxUSE_ALL_FEATURES
12653 if test -z "$defaultval"; then
12654 if test x"$enablestring" = xdisable; then
12655 defaultval=yes
12656 else
12657 defaultval=no
12658 fi
12659 fi
12660
12661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12662 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12663 # Check whether --enable-textctrl was given.
12664 if test "${enable_textctrl+set}" = set; then
12665 enableval=$enable_textctrl;
12666 if test "$enableval" = yes; then
12667 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12668 else
12669 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12670 fi
12671
12672 else
12673
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12675
12676 fi
12677
12678
12679 eval "$wx_cv_use_textctrl"
12680
12681 if test x"$enablestring" = xdisable; then
12682 if test $wxUSE_TEXTCTRL = no; then
12683 result=yes
12684 else
12685 result=no
12686 fi
12687 else
12688 result=$wxUSE_TEXTCTRL
12689 fi
12690
12691 { echo "$as_me:$LINENO: result: $result" >&5
12692 echo "${ECHO_T}$result" >&6; }
12693
12694
12695 enablestring=
12696 defaultval=$wxUSE_ALL_FEATURES
12697 if test -z "$defaultval"; then
12698 if test x"$enablestring" = xdisable; then
12699 defaultval=yes
12700 else
12701 defaultval=no
12702 fi
12703 fi
12704
12705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12706 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12707 # Check whether --enable-datepick was given.
12708 if test "${enable_datepick+set}" = set; then
12709 enableval=$enable_datepick;
12710 if test "$enableval" = yes; then
12711 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12712 else
12713 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12714 fi
12715
12716 else
12717
12718 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12719
12720 fi
12721
12722
12723 eval "$wx_cv_use_datepick"
12724
12725 if test x"$enablestring" = xdisable; then
12726 if test $wxUSE_TIMEPICKCTRL = no; then
12727 result=yes
12728 else
12729 result=no
12730 fi
12731 else
12732 result=$wxUSE_TIMEPICKCTRL
12733 fi
12734
12735 { echo "$as_me:$LINENO: result: $result" >&5
12736 echo "${ECHO_T}$result" >&6; }
12737
12738
12739 enablestring=
12740 defaultval=$wxUSE_ALL_FEATURES
12741 if test -z "$defaultval"; then
12742 if test x"$enablestring" = xdisable; then
12743 defaultval=yes
12744 else
12745 defaultval=no
12746 fi
12747 fi
12748
12749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12750 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12751 # Check whether --enable-tipwindow was given.
12752 if test "${enable_tipwindow+set}" = set; then
12753 enableval=$enable_tipwindow;
12754 if test "$enableval" = yes; then
12755 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12756 else
12757 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12758 fi
12759
12760 else
12761
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12763
12764 fi
12765
12766
12767 eval "$wx_cv_use_tipwindow"
12768
12769 if test x"$enablestring" = xdisable; then
12770 if test $wxUSE_TIPWINDOW = no; then
12771 result=yes
12772 else
12773 result=no
12774 fi
12775 else
12776 result=$wxUSE_TIPWINDOW
12777 fi
12778
12779 { echo "$as_me:$LINENO: result: $result" >&5
12780 echo "${ECHO_T}$result" >&6; }
12781
12782
12783 enablestring=
12784 defaultval=$wxUSE_ALL_FEATURES
12785 if test -z "$defaultval"; then
12786 if test x"$enablestring" = xdisable; then
12787 defaultval=yes
12788 else
12789 defaultval=no
12790 fi
12791 fi
12792
12793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12794 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12795 # Check whether --enable-togglebtn was given.
12796 if test "${enable_togglebtn+set}" = set; then
12797 enableval=$enable_togglebtn;
12798 if test "$enableval" = yes; then
12799 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12800 else
12801 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12802 fi
12803
12804 else
12805
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12807
12808 fi
12809
12810
12811 eval "$wx_cv_use_togglebtn"
12812
12813 if test x"$enablestring" = xdisable; then
12814 if test $wxUSE_TOGGLEBTN = no; then
12815 result=yes
12816 else
12817 result=no
12818 fi
12819 else
12820 result=$wxUSE_TOGGLEBTN
12821 fi
12822
12823 { echo "$as_me:$LINENO: result: $result" >&5
12824 echo "${ECHO_T}$result" >&6; }
12825
12826
12827 enablestring=
12828 defaultval=$wxUSE_ALL_FEATURES
12829 if test -z "$defaultval"; then
12830 if test x"$enablestring" = xdisable; then
12831 defaultval=yes
12832 else
12833 defaultval=no
12834 fi
12835 fi
12836
12837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12838 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12839 # Check whether --enable-toolbar was given.
12840 if test "${enable_toolbar+set}" = set; then
12841 enableval=$enable_toolbar;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12844 else
12845 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12846 fi
12847
12848 else
12849
12850 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12851
12852 fi
12853
12854
12855 eval "$wx_cv_use_toolbar"
12856
12857 if test x"$enablestring" = xdisable; then
12858 if test $wxUSE_TOOLBAR = no; then
12859 result=yes
12860 else
12861 result=no
12862 fi
12863 else
12864 result=$wxUSE_TOOLBAR
12865 fi
12866
12867 { echo "$as_me:$LINENO: result: $result" >&5
12868 echo "${ECHO_T}$result" >&6; }
12869
12870
12871 enablestring=
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12875 defaultval=yes
12876 else
12877 defaultval=no
12878 fi
12879 fi
12880
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12883 # Check whether --enable-toolbook was given.
12884 if test "${enable_toolbook+set}" = set; then
12885 enableval=$enable_toolbook;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12888 else
12889 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12890 fi
12891
12892 else
12893
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12895
12896 fi
12897
12898
12899 eval "$wx_cv_use_toolbook"
12900
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_TOOLBOOK = no; then
12903 result=yes
12904 else
12905 result=no
12906 fi
12907 else
12908 result=$wxUSE_TOOLBOOK
12909 fi
12910
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12913
12914
12915 enablestring=
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12919 defaultval=yes
12920 else
12921 defaultval=no
12922 fi
12923 fi
12924
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12927 # Check whether --enable-treebook was given.
12928 if test "${enable_treebook+set}" = set; then
12929 enableval=$enable_treebook;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12932 else
12933 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12934 fi
12935
12936 else
12937
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12939
12940 fi
12941
12942
12943 eval "$wx_cv_use_treebook"
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_TREEBOOK = no; then
12947 result=yes
12948 else
12949 result=no
12950 fi
12951 else
12952 result=$wxUSE_TREEBOOK
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12971 # Check whether --enable-treectrl was given.
12972 if test "${enable_treectrl+set}" = set; then
12973 enableval=$enable_treectrl;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12976 else
12977 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12978 fi
12979
12980 else
12981
12982 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12983
12984 fi
12985
12986
12987 eval "$wx_cv_use_treectrl"
12988
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_TREECTRL = no; then
12991 result=yes
12992 else
12993 result=no
12994 fi
12995 else
12996 result=$wxUSE_TREECTRL
12997 fi
12998
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13001
13002
13003 enablestring=
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13007 defaultval=yes
13008 else
13009 defaultval=no
13010 fi
13011 fi
13012
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13015 # Check whether --enable-treelist was given.
13016 if test "${enable_treelist+set}" = set; then
13017 enableval=$enable_treelist;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
13020 else
13021 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
13022 fi
13023
13024 else
13025
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13027
13028 fi
13029
13030
13031 eval "$wx_cv_use_treelist"
13032
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_TREELISTCTRL = no; then
13035 result=yes
13036 else
13037 result=no
13038 fi
13039 else
13040 result=$wxUSE_TREELISTCTRL
13041 fi
13042
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13045
13046
13047
13048
13049 enablestring=
13050 defaultval=$wxUSE_ALL_FEATURES
13051 if test -z "$defaultval"; then
13052 if test x"$enablestring" = xdisable; then
13053 defaultval=yes
13054 else
13055 defaultval=no
13056 fi
13057 fi
13058
13059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13060 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13061 # Check whether --enable-commondlg was given.
13062 if test "${enable_commondlg+set}" = set; then
13063 enableval=$enable_commondlg;
13064 if test "$enableval" = yes; then
13065 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13066 else
13067 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13068 fi
13069
13070 else
13071
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13073
13074 fi
13075
13076
13077 eval "$wx_cv_use_commondlg"
13078
13079 if test x"$enablestring" = xdisable; then
13080 if test $wxUSE_COMMONDLGS = no; then
13081 result=yes
13082 else
13083 result=no
13084 fi
13085 else
13086 result=$wxUSE_COMMONDLGS
13087 fi
13088
13089 { echo "$as_me:$LINENO: result: $result" >&5
13090 echo "${ECHO_T}$result" >&6; }
13091
13092
13093 enablestring=
13094 defaultval=$wxUSE_ALL_FEATURES
13095 if test -z "$defaultval"; then
13096 if test x"$enablestring" = xdisable; then
13097 defaultval=yes
13098 else
13099 defaultval=no
13100 fi
13101 fi
13102
13103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13104 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13105 # Check whether --enable-aboutdlg was given.
13106 if test "${enable_aboutdlg+set}" = set; then
13107 enableval=$enable_aboutdlg;
13108 if test "$enableval" = yes; then
13109 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13110 else
13111 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13112 fi
13113
13114 else
13115
13116 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13117
13118 fi
13119
13120
13121 eval "$wx_cv_use_aboutdlg"
13122
13123 if test x"$enablestring" = xdisable; then
13124 if test $wxUSE_ABOUTDLG = no; then
13125 result=yes
13126 else
13127 result=no
13128 fi
13129 else
13130 result=$wxUSE_ABOUTDLG
13131 fi
13132
13133 { echo "$as_me:$LINENO: result: $result" >&5
13134 echo "${ECHO_T}$result" >&6; }
13135
13136
13137 enablestring=
13138 defaultval=$wxUSE_ALL_FEATURES
13139 if test -z "$defaultval"; then
13140 if test x"$enablestring" = xdisable; then
13141 defaultval=yes
13142 else
13143 defaultval=no
13144 fi
13145 fi
13146
13147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13148 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13149 # Check whether --enable-choicedlg was given.
13150 if test "${enable_choicedlg+set}" = set; then
13151 enableval=$enable_choicedlg;
13152 if test "$enableval" = yes; then
13153 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13154 else
13155 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13156 fi
13157
13158 else
13159
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13161
13162 fi
13163
13164
13165 eval "$wx_cv_use_choicedlg"
13166
13167 if test x"$enablestring" = xdisable; then
13168 if test $wxUSE_CHOICEDLG = no; then
13169 result=yes
13170 else
13171 result=no
13172 fi
13173 else
13174 result=$wxUSE_CHOICEDLG
13175 fi
13176
13177 { echo "$as_me:$LINENO: result: $result" >&5
13178 echo "${ECHO_T}$result" >&6; }
13179
13180
13181 enablestring=
13182 defaultval=$wxUSE_ALL_FEATURES
13183 if test -z "$defaultval"; then
13184 if test x"$enablestring" = xdisable; then
13185 defaultval=yes
13186 else
13187 defaultval=no
13188 fi
13189 fi
13190
13191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13192 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13193 # Check whether --enable-coldlg was given.
13194 if test "${enable_coldlg+set}" = set; then
13195 enableval=$enable_coldlg;
13196 if test "$enableval" = yes; then
13197 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13198 else
13199 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13200 fi
13201
13202 else
13203
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13205
13206 fi
13207
13208
13209 eval "$wx_cv_use_coldlg"
13210
13211 if test x"$enablestring" = xdisable; then
13212 if test $wxUSE_COLOURDLG = no; then
13213 result=yes
13214 else
13215 result=no
13216 fi
13217 else
13218 result=$wxUSE_COLOURDLG
13219 fi
13220
13221 { echo "$as_me:$LINENO: result: $result" >&5
13222 echo "${ECHO_T}$result" >&6; }
13223
13224
13225 enablestring=
13226 defaultval=$wxUSE_ALL_FEATURES
13227 if test -z "$defaultval"; then
13228 if test x"$enablestring" = xdisable; then
13229 defaultval=yes
13230 else
13231 defaultval=no
13232 fi
13233 fi
13234
13235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13236 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13237 # Check whether --enable-filedlg was given.
13238 if test "${enable_filedlg+set}" = set; then
13239 enableval=$enable_filedlg;
13240 if test "$enableval" = yes; then
13241 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13242 else
13243 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13244 fi
13245
13246 else
13247
13248 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13249
13250 fi
13251
13252
13253 eval "$wx_cv_use_filedlg"
13254
13255 if test x"$enablestring" = xdisable; then
13256 if test $wxUSE_FILEDLG = no; then
13257 result=yes
13258 else
13259 result=no
13260 fi
13261 else
13262 result=$wxUSE_FILEDLG
13263 fi
13264
13265 { echo "$as_me:$LINENO: result: $result" >&5
13266 echo "${ECHO_T}$result" >&6; }
13267
13268
13269 enablestring=
13270 defaultval=$wxUSE_ALL_FEATURES
13271 if test -z "$defaultval"; then
13272 if test x"$enablestring" = xdisable; then
13273 defaultval=yes
13274 else
13275 defaultval=no
13276 fi
13277 fi
13278
13279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13280 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13281 # Check whether --enable-finddlg was given.
13282 if test "${enable_finddlg+set}" = set; then
13283 enableval=$enable_finddlg;
13284 if test "$enableval" = yes; then
13285 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13286 else
13287 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13288 fi
13289
13290 else
13291
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13293
13294 fi
13295
13296
13297 eval "$wx_cv_use_finddlg"
13298
13299 if test x"$enablestring" = xdisable; then
13300 if test $wxUSE_FINDREPLDLG = no; then
13301 result=yes
13302 else
13303 result=no
13304 fi
13305 else
13306 result=$wxUSE_FINDREPLDLG
13307 fi
13308
13309 { echo "$as_me:$LINENO: result: $result" >&5
13310 echo "${ECHO_T}$result" >&6; }
13311
13312
13313 enablestring=
13314 defaultval=$wxUSE_ALL_FEATURES
13315 if test -z "$defaultval"; then
13316 if test x"$enablestring" = xdisable; then
13317 defaultval=yes
13318 else
13319 defaultval=no
13320 fi
13321 fi
13322
13323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13324 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13325 # Check whether --enable-fontdlg was given.
13326 if test "${enable_fontdlg+set}" = set; then
13327 enableval=$enable_fontdlg;
13328 if test "$enableval" = yes; then
13329 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13330 else
13331 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13332 fi
13333
13334 else
13335
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13337
13338 fi
13339
13340
13341 eval "$wx_cv_use_fontdlg"
13342
13343 if test x"$enablestring" = xdisable; then
13344 if test $wxUSE_FONTDLG = no; then
13345 result=yes
13346 else
13347 result=no
13348 fi
13349 else
13350 result=$wxUSE_FONTDLG
13351 fi
13352
13353 { echo "$as_me:$LINENO: result: $result" >&5
13354 echo "${ECHO_T}$result" >&6; }
13355
13356
13357 enablestring=
13358 defaultval=$wxUSE_ALL_FEATURES
13359 if test -z "$defaultval"; then
13360 if test x"$enablestring" = xdisable; then
13361 defaultval=yes
13362 else
13363 defaultval=no
13364 fi
13365 fi
13366
13367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13368 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13369 # Check whether --enable-dirdlg was given.
13370 if test "${enable_dirdlg+set}" = set; then
13371 enableval=$enable_dirdlg;
13372 if test "$enableval" = yes; then
13373 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13374 else
13375 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13376 fi
13377
13378 else
13379
13380 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13381
13382 fi
13383
13384
13385 eval "$wx_cv_use_dirdlg"
13386
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_DIRDLG = no; then
13389 result=yes
13390 else
13391 result=no
13392 fi
13393 else
13394 result=$wxUSE_DIRDLG
13395 fi
13396
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13399
13400
13401 enablestring=
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13405 defaultval=yes
13406 else
13407 defaultval=no
13408 fi
13409 fi
13410
13411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13412 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13413 # Check whether --enable-msgdlg was given.
13414 if test "${enable_msgdlg+set}" = set; then
13415 enableval=$enable_msgdlg;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13418 else
13419 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13420 fi
13421
13422 else
13423
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13425
13426 fi
13427
13428
13429 eval "$wx_cv_use_msgdlg"
13430
13431 if test x"$enablestring" = xdisable; then
13432 if test $wxUSE_MSGDLG = no; then
13433 result=yes
13434 else
13435 result=no
13436 fi
13437 else
13438 result=$wxUSE_MSGDLG
13439 fi
13440
13441 { echo "$as_me:$LINENO: result: $result" >&5
13442 echo "${ECHO_T}$result" >&6; }
13443
13444
13445 enablestring=
13446 defaultval=$wxUSE_ALL_FEATURES
13447 if test -z "$defaultval"; then
13448 if test x"$enablestring" = xdisable; then
13449 defaultval=yes
13450 else
13451 defaultval=no
13452 fi
13453 fi
13454
13455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13456 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13457 # Check whether --enable-numberdlg was given.
13458 if test "${enable_numberdlg+set}" = set; then
13459 enableval=$enable_numberdlg;
13460 if test "$enableval" = yes; then
13461 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13462 else
13463 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13464 fi
13465
13466 else
13467
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13469
13470 fi
13471
13472
13473 eval "$wx_cv_use_numberdlg"
13474
13475 if test x"$enablestring" = xdisable; then
13476 if test $wxUSE_NUMBERDLG = no; then
13477 result=yes
13478 else
13479 result=no
13480 fi
13481 else
13482 result=$wxUSE_NUMBERDLG
13483 fi
13484
13485 { echo "$as_me:$LINENO: result: $result" >&5
13486 echo "${ECHO_T}$result" >&6; }
13487
13488
13489 enablestring=
13490 defaultval=$wxUSE_ALL_FEATURES
13491 if test -z "$defaultval"; then
13492 if test x"$enablestring" = xdisable; then
13493 defaultval=yes
13494 else
13495 defaultval=no
13496 fi
13497 fi
13498
13499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13500 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13501 # Check whether --enable-splash was given.
13502 if test "${enable_splash+set}" = set; then
13503 enableval=$enable_splash;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_splash='wxUSE_SPLASH=yes'
13506 else
13507 wx_cv_use_splash='wxUSE_SPLASH=no'
13508 fi
13509
13510 else
13511
13512 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13513
13514 fi
13515
13516
13517 eval "$wx_cv_use_splash"
13518
13519 if test x"$enablestring" = xdisable; then
13520 if test $wxUSE_SPLASH = no; then
13521 result=yes
13522 else
13523 result=no
13524 fi
13525 else
13526 result=$wxUSE_SPLASH
13527 fi
13528
13529 { echo "$as_me:$LINENO: result: $result" >&5
13530 echo "${ECHO_T}$result" >&6; }
13531
13532
13533 enablestring=
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13537 defaultval=yes
13538 else
13539 defaultval=no
13540 fi
13541 fi
13542
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13545 # Check whether --enable-textdlg was given.
13546 if test "${enable_textdlg+set}" = set; then
13547 enableval=$enable_textdlg;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13550 else
13551 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13552 fi
13553
13554 else
13555
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_textdlg"
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_TEXTDLG = no; then
13565 result=yes
13566 else
13567 result=no
13568 fi
13569 else
13570 result=$wxUSE_TEXTDLG
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13589 # Check whether --enable-tipdlg was given.
13590 if test "${enable_tipdlg+set}" = set; then
13591 enableval=$enable_tipdlg;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13594 else
13595 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13596 fi
13597
13598 else
13599
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13601
13602 fi
13603
13604
13605 eval "$wx_cv_use_tipdlg"
13606
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_STARTUP_TIPS = no; then
13609 result=yes
13610 else
13611 result=no
13612 fi
13613 else
13614 result=$wxUSE_STARTUP_TIPS
13615 fi
13616
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13619
13620
13621 enablestring=
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13625 defaultval=yes
13626 else
13627 defaultval=no
13628 fi
13629 fi
13630
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13633 # Check whether --enable-progressdlg was given.
13634 if test "${enable_progressdlg+set}" = set; then
13635 enableval=$enable_progressdlg;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13638 else
13639 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13640 fi
13641
13642 else
13643
13644 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13645
13646 fi
13647
13648
13649 eval "$wx_cv_use_progressdlg"
13650
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_PROGRESSDLG = no; then
13653 result=yes
13654 else
13655 result=no
13656 fi
13657 else
13658 result=$wxUSE_PROGRESSDLG
13659 fi
13660
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13663
13664
13665 enablestring=
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13669 defaultval=yes
13670 else
13671 defaultval=no
13672 fi
13673 fi
13674
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13677 # Check whether --enable-wizarddlg was given.
13678 if test "${enable_wizarddlg+set}" = set; then
13679 enableval=$enable_wizarddlg;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13682 else
13683 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_wizarddlg"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_WIZARDDLG = no; then
13697 result=yes
13698 else
13699 result=no
13700 fi
13701 else
13702 result=$wxUSE_WIZARDDLG
13703 fi
13704
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13707
13708
13709
13710
13711 enablestring=
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13715 defaultval=yes
13716 else
13717 defaultval=no
13718 fi
13719 fi
13720
13721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13722 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13723 # Check whether --enable-menus was given.
13724 if test "${enable_menus+set}" = set; then
13725 enableval=$enable_menus;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_menus='wxUSE_MENUS=yes'
13728 else
13729 wx_cv_use_menus='wxUSE_MENUS=no'
13730 fi
13731
13732 else
13733
13734 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13735
13736 fi
13737
13738
13739 eval "$wx_cv_use_menus"
13740
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_MENUS = no; then
13743 result=yes
13744 else
13745 result=no
13746 fi
13747 else
13748 result=$wxUSE_MENUS
13749 fi
13750
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13753
13754
13755 enablestring=
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13759 defaultval=yes
13760 else
13761 defaultval=no
13762 fi
13763 fi
13764
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13767 # Check whether --enable-miniframe was given.
13768 if test "${enable_miniframe+set}" = set; then
13769 enableval=$enable_miniframe;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13772 else
13773 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13774 fi
13775
13776 else
13777
13778 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13779
13780 fi
13781
13782
13783 eval "$wx_cv_use_miniframe"
13784
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_MINIFRAME = no; then
13787 result=yes
13788 else
13789 result=no
13790 fi
13791 else
13792 result=$wxUSE_MINIFRAME
13793 fi
13794
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13797
13798
13799 enablestring=
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13803 defaultval=yes
13804 else
13805 defaultval=no
13806 fi
13807 fi
13808
13809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13810 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13811 # Check whether --enable-tooltips was given.
13812 if test "${enable_tooltips+set}" = set; then
13813 enableval=$enable_tooltips;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13816 else
13817 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13818 fi
13819
13820 else
13821
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13823
13824 fi
13825
13826
13827 eval "$wx_cv_use_tooltips"
13828
13829 if test x"$enablestring" = xdisable; then
13830 if test $wxUSE_TOOLTIPS = no; then
13831 result=yes
13832 else
13833 result=no
13834 fi
13835 else
13836 result=$wxUSE_TOOLTIPS
13837 fi
13838
13839 { echo "$as_me:$LINENO: result: $result" >&5
13840 echo "${ECHO_T}$result" >&6; }
13841
13842
13843 enablestring=
13844 defaultval=$wxUSE_ALL_FEATURES
13845 if test -z "$defaultval"; then
13846 if test x"$enablestring" = xdisable; then
13847 defaultval=yes
13848 else
13849 defaultval=no
13850 fi
13851 fi
13852
13853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13854 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13855 # Check whether --enable-splines was given.
13856 if test "${enable_splines+set}" = set; then
13857 enableval=$enable_splines;
13858 if test "$enableval" = yes; then
13859 wx_cv_use_splines='wxUSE_SPLINES=yes'
13860 else
13861 wx_cv_use_splines='wxUSE_SPLINES=no'
13862 fi
13863
13864 else
13865
13866 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13867
13868 fi
13869
13870
13871 eval "$wx_cv_use_splines"
13872
13873 if test x"$enablestring" = xdisable; then
13874 if test $wxUSE_SPLINES = no; then
13875 result=yes
13876 else
13877 result=no
13878 fi
13879 else
13880 result=$wxUSE_SPLINES
13881 fi
13882
13883 { echo "$as_me:$LINENO: result: $result" >&5
13884 echo "${ECHO_T}$result" >&6; }
13885
13886
13887 enablestring=
13888 defaultval=$wxUSE_ALL_FEATURES
13889 if test -z "$defaultval"; then
13890 if test x"$enablestring" = xdisable; then
13891 defaultval=yes
13892 else
13893 defaultval=no
13894 fi
13895 fi
13896
13897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13898 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13899 # Check whether --enable-mousewheel was given.
13900 if test "${enable_mousewheel+set}" = set; then
13901 enableval=$enable_mousewheel;
13902 if test "$enableval" = yes; then
13903 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13904 else
13905 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13906 fi
13907
13908 else
13909
13910 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13911
13912 fi
13913
13914
13915 eval "$wx_cv_use_mousewheel"
13916
13917 if test x"$enablestring" = xdisable; then
13918 if test $wxUSE_MOUSEWHEEL = no; then
13919 result=yes
13920 else
13921 result=no
13922 fi
13923 else
13924 result=$wxUSE_MOUSEWHEEL
13925 fi
13926
13927 { echo "$as_me:$LINENO: result: $result" >&5
13928 echo "${ECHO_T}$result" >&6; }
13929
13930
13931 enablestring=
13932 defaultval=$wxUSE_ALL_FEATURES
13933 if test -z "$defaultval"; then
13934 if test x"$enablestring" = xdisable; then
13935 defaultval=yes
13936 else
13937 defaultval=no
13938 fi
13939 fi
13940
13941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13942 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13943 # Check whether --enable-validators was given.
13944 if test "${enable_validators+set}" = set; then
13945 enableval=$enable_validators;
13946 if test "$enableval" = yes; then
13947 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13948 else
13949 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13950 fi
13951
13952 else
13953
13954 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13955
13956 fi
13957
13958
13959 eval "$wx_cv_use_validators"
13960
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_VALIDATORS = no; then
13963 result=yes
13964 else
13965 result=no
13966 fi
13967 else
13968 result=$wxUSE_VALIDATORS
13969 fi
13970
13971 { echo "$as_me:$LINENO: result: $result" >&5
13972 echo "${ECHO_T}$result" >&6; }
13973
13974
13975 enablestring=
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13979 defaultval=yes
13980 else
13981 defaultval=no
13982 fi
13983 fi
13984
13985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13986 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13987 # Check whether --enable-busyinfo was given.
13988 if test "${enable_busyinfo+set}" = set; then
13989 enableval=$enable_busyinfo;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13992 else
13993 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13994 fi
13995
13996 else
13997
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13999
14000 fi
14001
14002
14003 eval "$wx_cv_use_busyinfo"
14004
14005 if test x"$enablestring" = xdisable; then
14006 if test $wxUSE_BUSYINFO = no; then
14007 result=yes
14008 else
14009 result=no
14010 fi
14011 else
14012 result=$wxUSE_BUSYINFO
14013 fi
14014
14015 { echo "$as_me:$LINENO: result: $result" >&5
14016 echo "${ECHO_T}$result" >&6; }
14017
14018
14019 enablestring=
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14023 defaultval=yes
14024 else
14025 defaultval=no
14026 fi
14027 fi
14028
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14031 # Check whether --enable-hotkey was given.
14032 if test "${enable_hotkey+set}" = set; then
14033 enableval=$enable_hotkey;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
14036 else
14037 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
14038 fi
14039
14040 else
14041
14042 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14043
14044 fi
14045
14046
14047 eval "$wx_cv_use_hotkey"
14048
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_HOTKEY = no; then
14051 result=yes
14052 else
14053 result=no
14054 fi
14055 else
14056 result=$wxUSE_HOTKEY
14057 fi
14058
14059 { echo "$as_me:$LINENO: result: $result" >&5
14060 echo "${ECHO_T}$result" >&6; }
14061
14062
14063 enablestring=
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14067 defaultval=yes
14068 else
14069 defaultval=no
14070 fi
14071 fi
14072
14073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14074 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14075 # Check whether --enable-joystick was given.
14076 if test "${enable_joystick+set}" = set; then
14077 enableval=$enable_joystick;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14080 else
14081 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14082 fi
14083
14084 else
14085
14086 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14087
14088 fi
14089
14090
14091 eval "$wx_cv_use_joystick"
14092
14093 if test x"$enablestring" = xdisable; then
14094 if test $wxUSE_JOYSTICK = no; then
14095 result=yes
14096 else
14097 result=no
14098 fi
14099 else
14100 result=$wxUSE_JOYSTICK
14101 fi
14102
14103 { echo "$as_me:$LINENO: result: $result" >&5
14104 echo "${ECHO_T}$result" >&6; }
14105
14106
14107 enablestring=
14108 defaultval=$wxUSE_ALL_FEATURES
14109 if test -z "$defaultval"; then
14110 if test x"$enablestring" = xdisable; then
14111 defaultval=yes
14112 else
14113 defaultval=no
14114 fi
14115 fi
14116
14117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14118 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14119 # Check whether --enable-metafile was given.
14120 if test "${enable_metafile+set}" = set; then
14121 enableval=$enable_metafile;
14122 if test "$enableval" = yes; then
14123 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14124 else
14125 wx_cv_use_metafile='wxUSE_METAFILE=no'
14126 fi
14127
14128 else
14129
14130 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14131
14132 fi
14133
14134
14135 eval "$wx_cv_use_metafile"
14136
14137 if test x"$enablestring" = xdisable; then
14138 if test $wxUSE_METAFILE = no; then
14139 result=yes
14140 else
14141 result=no
14142 fi
14143 else
14144 result=$wxUSE_METAFILE
14145 fi
14146
14147 { echo "$as_me:$LINENO: result: $result" >&5
14148 echo "${ECHO_T}$result" >&6; }
14149
14150
14151 enablestring=
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14155 defaultval=yes
14156 else
14157 defaultval=no
14158 fi
14159 fi
14160
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14163 # Check whether --enable-dragimage was given.
14164 if test "${enable_dragimage+set}" = set; then
14165 enableval=$enable_dragimage;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14168 else
14169 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14170 fi
14171
14172 else
14173
14174 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14175
14176 fi
14177
14178
14179 eval "$wx_cv_use_dragimage"
14180
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_DRAGIMAGE = no; then
14183 result=yes
14184 else
14185 result=no
14186 fi
14187 else
14188 result=$wxUSE_DRAGIMAGE
14189 fi
14190
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14193
14194
14195 enablestring=
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14199 defaultval=yes
14200 else
14201 defaultval=no
14202 fi
14203 fi
14204
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14207 # Check whether --enable-accessibility was given.
14208 if test "${enable_accessibility+set}" = set; then
14209 enableval=$enable_accessibility;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14212 else
14213 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14214 fi
14215
14216 else
14217
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14219
14220 fi
14221
14222
14223 eval "$wx_cv_use_accessibility"
14224
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_ACCESSIBILITY = no; then
14227 result=yes
14228 else
14229 result=no
14230 fi
14231 else
14232 result=$wxUSE_ACCESSIBILITY
14233 fi
14234
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14237
14238
14239 enablestring=
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14243 defaultval=yes
14244 else
14245 defaultval=no
14246 fi
14247 fi
14248
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14251 # Check whether --enable-uiactionsim was given.
14252 if test "${enable_uiactionsim+set}" = set; then
14253 enableval=$enable_uiactionsim;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14256 else
14257 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14258 fi
14259
14260 else
14261
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_uiactionsim"
14268
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_UIACTIONSIMULATOR = no; then
14271 result=yes
14272 else
14273 result=no
14274 fi
14275 else
14276 result=$wxUSE_UIACTIONSIMULATOR
14277 fi
14278
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14281
14282
14283 enablestring=
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14287 defaultval=yes
14288 else
14289 defaultval=no
14290 fi
14291 fi
14292
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14295 # Check whether --enable-dctransform was given.
14296 if test "${enable_dctransform+set}" = set; then
14297 enableval=$enable_dctransform;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14300 else
14301 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14302 fi
14303
14304 else
14305
14306 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14307
14308 fi
14309
14310
14311 eval "$wx_cv_use_dctransform"
14312
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14315 result=yes
14316 else
14317 result=no
14318 fi
14319 else
14320 result=$wxUSE_DC_TRANSFORM_MATRIX
14321 fi
14322
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14325
14326
14327 enablestring=
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14331 defaultval=yes
14332 else
14333 defaultval=no
14334 fi
14335 fi
14336
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14339 # Check whether --enable-webviewwebkit was given.
14340 if test "${enable_webviewwebkit+set}" = set; then
14341 enableval=$enable_webviewwebkit;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14344 else
14345 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14346 fi
14347
14348 else
14349
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14351
14352 fi
14353
14354
14355 eval "$wx_cv_use_webviewwebkit"
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14359 result=yes
14360 else
14361 result=no
14362 fi
14363 else
14364 result=$wxUSE_WEBVIEW_WEBKIT
14365 fi
14366
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14369
14370
14371
14372
14373 enablestring=
14374 defaultval=$wxUSE_ALL_FEATURES
14375 if test -z "$defaultval"; then
14376 if test x"$enablestring" = xdisable; then
14377 defaultval=yes
14378 else
14379 defaultval=no
14380 fi
14381 fi
14382
14383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14384 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14385 # Check whether --enable-palette was given.
14386 if test "${enable_palette+set}" = set; then
14387 enableval=$enable_palette;
14388 if test "$enableval" = yes; then
14389 wx_cv_use_palette='wxUSE_PALETTE=yes'
14390 else
14391 wx_cv_use_palette='wxUSE_PALETTE=no'
14392 fi
14393
14394 else
14395
14396 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14397
14398 fi
14399
14400
14401 eval "$wx_cv_use_palette"
14402
14403 if test x"$enablestring" = xdisable; then
14404 if test $wxUSE_PALETTE = no; then
14405 result=yes
14406 else
14407 result=no
14408 fi
14409 else
14410 result=$wxUSE_PALETTE
14411 fi
14412
14413 { echo "$as_me:$LINENO: result: $result" >&5
14414 echo "${ECHO_T}$result" >&6; }
14415
14416
14417 enablestring=
14418 defaultval=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x"$enablestring" = xdisable; then
14421 defaultval=yes
14422 else
14423 defaultval=no
14424 fi
14425 fi
14426
14427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14428 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14429 # Check whether --enable-image was given.
14430 if test "${enable_image+set}" = set; then
14431 enableval=$enable_image;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_image='wxUSE_IMAGE=yes'
14434 else
14435 wx_cv_use_image='wxUSE_IMAGE=no'
14436 fi
14437
14438 else
14439
14440 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14441
14442 fi
14443
14444
14445 eval "$wx_cv_use_image"
14446
14447 if test x"$enablestring" = xdisable; then
14448 if test $wxUSE_IMAGE = no; then
14449 result=yes
14450 else
14451 result=no
14452 fi
14453 else
14454 result=$wxUSE_IMAGE
14455 fi
14456
14457 { echo "$as_me:$LINENO: result: $result" >&5
14458 echo "${ECHO_T}$result" >&6; }
14459
14460
14461 enablestring=
14462 defaultval=$wxUSE_ALL_FEATURES
14463 if test -z "$defaultval"; then
14464 if test x"$enablestring" = xdisable; then
14465 defaultval=yes
14466 else
14467 defaultval=no
14468 fi
14469 fi
14470
14471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14472 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14473 # Check whether --enable-gif was given.
14474 if test "${enable_gif+set}" = set; then
14475 enableval=$enable_gif;
14476 if test "$enableval" = yes; then
14477 wx_cv_use_gif='wxUSE_GIF=yes'
14478 else
14479 wx_cv_use_gif='wxUSE_GIF=no'
14480 fi
14481
14482 else
14483
14484 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14485
14486 fi
14487
14488
14489 eval "$wx_cv_use_gif"
14490
14491 if test x"$enablestring" = xdisable; then
14492 if test $wxUSE_GIF = no; then
14493 result=yes
14494 else
14495 result=no
14496 fi
14497 else
14498 result=$wxUSE_GIF
14499 fi
14500
14501 { echo "$as_me:$LINENO: result: $result" >&5
14502 echo "${ECHO_T}$result" >&6; }
14503
14504
14505 enablestring=
14506 defaultval=$wxUSE_ALL_FEATURES
14507 if test -z "$defaultval"; then
14508 if test x"$enablestring" = xdisable; then
14509 defaultval=yes
14510 else
14511 defaultval=no
14512 fi
14513 fi
14514
14515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14516 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14517 # Check whether --enable-pcx was given.
14518 if test "${enable_pcx+set}" = set; then
14519 enableval=$enable_pcx;
14520 if test "$enableval" = yes; then
14521 wx_cv_use_pcx='wxUSE_PCX=yes'
14522 else
14523 wx_cv_use_pcx='wxUSE_PCX=no'
14524 fi
14525
14526 else
14527
14528 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14529
14530 fi
14531
14532
14533 eval "$wx_cv_use_pcx"
14534
14535 if test x"$enablestring" = xdisable; then
14536 if test $wxUSE_PCX = no; then
14537 result=yes
14538 else
14539 result=no
14540 fi
14541 else
14542 result=$wxUSE_PCX
14543 fi
14544
14545 { echo "$as_me:$LINENO: result: $result" >&5
14546 echo "${ECHO_T}$result" >&6; }
14547
14548
14549 enablestring=
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14553 defaultval=yes
14554 else
14555 defaultval=no
14556 fi
14557 fi
14558
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14561 # Check whether --enable-tga was given.
14562 if test "${enable_tga+set}" = set; then
14563 enableval=$enable_tga;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_tga='wxUSE_TGA=yes'
14566 else
14567 wx_cv_use_tga='wxUSE_TGA=no'
14568 fi
14569
14570 else
14571
14572 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14573
14574 fi
14575
14576
14577 eval "$wx_cv_use_tga"
14578
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_TGA = no; then
14581 result=yes
14582 else
14583 result=no
14584 fi
14585 else
14586 result=$wxUSE_TGA
14587 fi
14588
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14605 # Check whether --enable-iff was given.
14606 if test "${enable_iff+set}" = set; then
14607 enableval=$enable_iff;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_iff='wxUSE_IFF=yes'
14610 else
14611 wx_cv_use_iff='wxUSE_IFF=no'
14612 fi
14613
14614 else
14615
14616 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14617
14618 fi
14619
14620
14621 eval "$wx_cv_use_iff"
14622
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_IFF = no; then
14625 result=yes
14626 else
14627 result=no
14628 fi
14629 else
14630 result=$wxUSE_IFF
14631 fi
14632
14633 { echo "$as_me:$LINENO: result: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14635
14636
14637 enablestring=
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14641 defaultval=yes
14642 else
14643 defaultval=no
14644 fi
14645 fi
14646
14647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14649 # Check whether --enable-pnm was given.
14650 if test "${enable_pnm+set}" = set; then
14651 enableval=$enable_pnm;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_pnm='wxUSE_PNM=yes'
14654 else
14655 wx_cv_use_pnm='wxUSE_PNM=no'
14656 fi
14657
14658 else
14659
14660 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14661
14662 fi
14663
14664
14665 eval "$wx_cv_use_pnm"
14666
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_PNM = no; then
14669 result=yes
14670 else
14671 result=no
14672 fi
14673 else
14674 result=$wxUSE_PNM
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14679
14680
14681 enablestring=
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14685 defaultval=yes
14686 else
14687 defaultval=no
14688 fi
14689 fi
14690
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14693 # Check whether --enable-xpm was given.
14694 if test "${enable_xpm+set}" = set; then
14695 enableval=$enable_xpm;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_xpm='wxUSE_XPM=yes'
14698 else
14699 wx_cv_use_xpm='wxUSE_XPM=no'
14700 fi
14701
14702 else
14703
14704 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14705
14706 fi
14707
14708
14709 eval "$wx_cv_use_xpm"
14710
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_XPM = no; then
14713 result=yes
14714 else
14715 result=no
14716 fi
14717 else
14718 result=$wxUSE_XPM
14719 fi
14720
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14723
14724
14725 enablestring=
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14729 defaultval=yes
14730 else
14731 defaultval=no
14732 fi
14733 fi
14734
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14737 # Check whether --enable-ico_cur was given.
14738 if test "${enable_ico_cur+set}" = set; then
14739 enableval=$enable_ico_cur;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14742 else
14743 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14744 fi
14745
14746 else
14747
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14749
14750 fi
14751
14752
14753 eval "$wx_cv_use_ico_cur"
14754
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_ICO_CUR = no; then
14757 result=yes
14758 else
14759 result=no
14760 fi
14761 else
14762 result=$wxUSE_ICO_CUR
14763 fi
14764
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14767
14768
14769
14770
14771 enablestring=
14772 defaultval=$wxUSE_ALL_FEATURES
14773 if test -z "$defaultval"; then
14774 if test x"$enablestring" = xdisable; then
14775 defaultval=yes
14776 else
14777 defaultval=no
14778 fi
14779 fi
14780
14781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14782 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14783 # Check whether --enable-dccache was given.
14784 if test "${enable_dccache+set}" = set; then
14785 enableval=$enable_dccache;
14786 if test "$enableval" = yes; then
14787 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14788 else
14789 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14790 fi
14791
14792 else
14793
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14795
14796 fi
14797
14798
14799 eval "$wx_cv_use_dccache"
14800
14801 if test x"$enablestring" = xdisable; then
14802 if test $wxUSE_DC_CACHEING = no; then
14803 result=yes
14804 else
14805 result=no
14806 fi
14807 else
14808 result=$wxUSE_DC_CACHEING
14809 fi
14810
14811 { echo "$as_me:$LINENO: result: $result" >&5
14812 echo "${ECHO_T}$result" >&6; }
14813
14814
14815 enablestring=
14816 defaultval=$wxUSE_ALL_FEATURES
14817 if test -z "$defaultval"; then
14818 if test x"$enablestring" = xdisable; then
14819 defaultval=yes
14820 else
14821 defaultval=no
14822 fi
14823 fi
14824
14825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14826 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14827 # Check whether --enable-ps-in-msw was given.
14828 if test "${enable_ps_in_msw+set}" = set; then
14829 enableval=$enable_ps_in_msw;
14830 if test "$enableval" = yes; then
14831 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14832 else
14833 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14834 fi
14835
14836 else
14837
14838 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14839
14840 fi
14841
14842
14843 eval "$wx_cv_use_ps_in_msw"
14844
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14847 result=yes
14848 else
14849 result=no
14850 fi
14851 else
14852 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14853 fi
14854
14855 { echo "$as_me:$LINENO: result: $result" >&5
14856 echo "${ECHO_T}$result" >&6; }
14857
14858
14859 enablestring=
14860 defaultval=$wxUSE_ALL_FEATURES
14861 if test -z "$defaultval"; then
14862 if test x"$enablestring" = xdisable; then
14863 defaultval=yes
14864 else
14865 defaultval=no
14866 fi
14867 fi
14868
14869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14870 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14871 # Check whether --enable-ownerdrawn was given.
14872 if test "${enable_ownerdrawn+set}" = set; then
14873 enableval=$enable_ownerdrawn;
14874 if test "$enableval" = yes; then
14875 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14876 else
14877 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14878 fi
14879
14880 else
14881
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14883
14884 fi
14885
14886
14887 eval "$wx_cv_use_ownerdrawn"
14888
14889 if test x"$enablestring" = xdisable; then
14890 if test $wxUSE_OWNER_DRAWN = no; then
14891 result=yes
14892 else
14893 result=no
14894 fi
14895 else
14896 result=$wxUSE_OWNER_DRAWN
14897 fi
14898
14899 { echo "$as_me:$LINENO: result: $result" >&5
14900 echo "${ECHO_T}$result" >&6; }
14901
14902
14903 enablestring=
14904 defaultval=$wxUSE_ALL_FEATURES
14905 if test -z "$defaultval"; then
14906 if test x"$enablestring" = xdisable; then
14907 defaultval=yes
14908 else
14909 defaultval=no
14910 fi
14911 fi
14912
14913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14914 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14915 # Check whether --enable-uxtheme was given.
14916 if test "${enable_uxtheme+set}" = set; then
14917 enableval=$enable_uxtheme;
14918 if test "$enableval" = yes; then
14919 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14920 else
14921 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14922 fi
14923
14924 else
14925
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14927
14928 fi
14929
14930
14931 eval "$wx_cv_use_uxtheme"
14932
14933 if test x"$enablestring" = xdisable; then
14934 if test $wxUSE_UXTHEME = no; then
14935 result=yes
14936 else
14937 result=no
14938 fi
14939 else
14940 result=$wxUSE_UXTHEME
14941 fi
14942
14943 { echo "$as_me:$LINENO: result: $result" >&5
14944 echo "${ECHO_T}$result" >&6; }
14945
14946
14947 enablestring=
14948 defaultval=$wxUSE_ALL_FEATURES
14949 if test -z "$defaultval"; then
14950 if test x"$enablestring" = xdisable; then
14951 defaultval=yes
14952 else
14953 defaultval=no
14954 fi
14955 fi
14956
14957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14958 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14959 # Check whether --enable-wxdib was given.
14960 if test "${enable_wxdib+set}" = set; then
14961 enableval=$enable_wxdib;
14962 if test "$enableval" = yes; then
14963 wx_cv_use_wxdib='wxUSE_DIB=yes'
14964 else
14965 wx_cv_use_wxdib='wxUSE_DIB=no'
14966 fi
14967
14968 else
14969
14970 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14971
14972 fi
14973
14974
14975 eval "$wx_cv_use_wxdib"
14976
14977 if test x"$enablestring" = xdisable; then
14978 if test $wxUSE_DIB = no; then
14979 result=yes
14980 else
14981 result=no
14982 fi
14983 else
14984 result=$wxUSE_DIB
14985 fi
14986
14987 { echo "$as_me:$LINENO: result: $result" >&5
14988 echo "${ECHO_T}$result" >&6; }
14989
14990
14991 enablestring=
14992 defaultval=$wxUSE_ALL_FEATURES
14993 if test -z "$defaultval"; then
14994 if test x"$enablestring" = xdisable; then
14995 defaultval=yes
14996 else
14997 defaultval=no
14998 fi
14999 fi
15000
15001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15002 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15003 # Check whether --enable-webviewie was given.
15004 if test "${enable_webviewie+set}" = set; then
15005 enableval=$enable_webviewie;
15006 if test "$enableval" = yes; then
15007 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
15008 else
15009 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
15010 fi
15011
15012 else
15013
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15015
15016 fi
15017
15018
15019 eval "$wx_cv_use_webviewie"
15020
15021 if test x"$enablestring" = xdisable; then
15022 if test $wxUSE_WEBVIEW_IE = no; then
15023 result=yes
15024 else
15025 result=no
15026 fi
15027 else
15028 result=$wxUSE_WEBVIEW_IE
15029 fi
15030
15031 { echo "$as_me:$LINENO: result: $result" >&5
15032 echo "${ECHO_T}$result" >&6; }
15033
15034
15035 if test "$wxUSE_MSW" != 1; then
15036 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15037 fi
15038
15039
15040 enablestring=
15041 defaultval=$wxUSE_ALL_FEATURES
15042 if test -z "$defaultval"; then
15043 if test x"$enablestring" = xdisable; then
15044 defaultval=yes
15045 else
15046 defaultval=no
15047 fi
15048 fi
15049
15050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
15051 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
15052 # Check whether --enable-autoidman was given.
15053 if test "${enable_autoidman+set}" = set; then
15054 enableval=$enable_autoidman;
15055 if test "$enableval" = yes; then
15056 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15057 else
15058 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15059 fi
15060
15061 else
15062
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15064
15065 fi
15066
15067
15068 eval "$wx_cv_use_autoidman"
15069
15070 if test x"$enablestring" = xdisable; then
15071 if test $wxUSE_AUTOID_MANAGEMENT = no; then
15072 result=yes
15073 else
15074 result=no
15075 fi
15076 else
15077 result=$wxUSE_AUTOID_MANAGEMENT
15078 fi
15079
15080 { echo "$as_me:$LINENO: result: $result" >&5
15081 echo "${ECHO_T}$result" >&6; }
15082
15083
15084 fi
15085
15086
15087 cat >confcache <<\_ACEOF
15088 # This file is a shell script that caches the results of configure
15089 # tests run on this system so they can be shared between configure
15090 # scripts and configure runs, see configure's option --config-cache.
15091 # It is not useful on other systems. If it contains results you don't
15092 # want to keep, you may remove or edit it.
15093 #
15094 # config.status only pays attention to the cache file if you give it
15095 # the --recheck option to rerun configure.
15096 #
15097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15099 # following values.
15100
15101 _ACEOF
15102
15103 # The following way of writing the cache mishandles newlines in values,
15104 # but we know of no workaround that is simple, portable, and efficient.
15105 # So, we kill variables containing newlines.
15106 # Ultrix sh set writes to stderr and can't be redirected directly,
15107 # and sets the high bit in the cache file unless we assign to the vars.
15108 (
15109 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15110 eval ac_val=\$$ac_var
15111 case $ac_val in #(
15112 *${as_nl}*)
15113 case $ac_var in #(
15114 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15115 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15116 esac
15117 case $ac_var in #(
15118 _ | IFS | as_nl) ;; #(
15119 *) $as_unset $ac_var ;;
15120 esac ;;
15121 esac
15122 done
15123
15124 (set) 2>&1 |
15125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15126 *${as_nl}ac_space=\ *)
15127 # `set' does not quote correctly, so add quotes (double-quote
15128 # substitution turns \\\\ into \\, and sed turns \\ into \).
15129 sed -n \
15130 "s/'/'\\\\''/g;
15131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15132 ;; #(
15133 *)
15134 # `set' quotes correctly as required by POSIX, so do not add quotes.
15135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15136 ;;
15137 esac |
15138 sort
15139 ) |
15140 sed '
15141 /^ac_cv_env_/b end
15142 t clear
15143 :clear
15144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15145 t end
15146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15147 :end' >>confcache
15148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15149 if test -w "$cache_file"; then
15150 test "x$cache_file" != "x/dev/null" &&
15151 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15152 echo "$as_me: updating cache $cache_file" >&6;}
15153 cat confcache >$cache_file
15154 else
15155 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15156 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15157 fi
15158 fi
15159 rm -f confcache
15160
15161 CFLAGS=${CFLAGS:=}
15162 ac_ext=c
15163 ac_cpp='$CPP $CPPFLAGS'
15164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15167 if test -n "$ac_tool_prefix"; then
15168 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15169 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15172 if test "${ac_cv_prog_CC+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 else
15175 if test -n "$CC"; then
15176 ac_cv_prog_CC="$CC" # Let the user override the test.
15177 else
15178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15179 for as_dir in $PATH
15180 do
15181 IFS=$as_save_IFS
15182 test -z "$as_dir" && as_dir=.
15183 for ac_exec_ext in '' $ac_executable_extensions; do
15184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15185 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15187 break 2
15188 fi
15189 done
15190 done
15191 IFS=$as_save_IFS
15192
15193 fi
15194 fi
15195 CC=$ac_cv_prog_CC
15196 if test -n "$CC"; then
15197 { echo "$as_me:$LINENO: result: $CC" >&5
15198 echo "${ECHO_T}$CC" >&6; }
15199 else
15200 { echo "$as_me:$LINENO: result: no" >&5
15201 echo "${ECHO_T}no" >&6; }
15202 fi
15203
15204
15205 fi
15206 if test -z "$ac_cv_prog_CC"; then
15207 ac_ct_CC=$CC
15208 # Extract the first word of "gcc", so it can be a program name with args.
15209 set dummy gcc; ac_word=$2
15210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 if test -n "$ac_ct_CC"; then
15216 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15217 else
15218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15219 for as_dir in $PATH
15220 do
15221 IFS=$as_save_IFS
15222 test -z "$as_dir" && as_dir=.
15223 for ac_exec_ext in '' $ac_executable_extensions; do
15224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15225 ac_cv_prog_ac_ct_CC="gcc"
15226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15227 break 2
15228 fi
15229 done
15230 done
15231 IFS=$as_save_IFS
15232
15233 fi
15234 fi
15235 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15236 if test -n "$ac_ct_CC"; then
15237 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15238 echo "${ECHO_T}$ac_ct_CC" >&6; }
15239 else
15240 { echo "$as_me:$LINENO: result: no" >&5
15241 echo "${ECHO_T}no" >&6; }
15242 fi
15243
15244 if test "x$ac_ct_CC" = x; then
15245 CC=""
15246 else
15247 case $cross_compiling:$ac_tool_warned in
15248 yes:)
15249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15250 whose name does not start with the host triplet. If you think this
15251 configuration is useful to you, please write to autoconf@gnu.org." >&5
15252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15253 whose name does not start with the host triplet. If you think this
15254 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15255 ac_tool_warned=yes ;;
15256 esac
15257 CC=$ac_ct_CC
15258 fi
15259 else
15260 CC="$ac_cv_prog_CC"
15261 fi
15262
15263 if test -z "$CC"; then
15264 if test -n "$ac_tool_prefix"; then
15265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15266 set dummy ${ac_tool_prefix}cc; ac_word=$2
15267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15269 if test "${ac_cv_prog_CC+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 else
15272 if test -n "$CC"; then
15273 ac_cv_prog_CC="$CC" # Let the user override the test.
15274 else
15275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15276 for as_dir in $PATH
15277 do
15278 IFS=$as_save_IFS
15279 test -z "$as_dir" && as_dir=.
15280 for ac_exec_ext in '' $ac_executable_extensions; do
15281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15282 ac_cv_prog_CC="${ac_tool_prefix}cc"
15283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15284 break 2
15285 fi
15286 done
15287 done
15288 IFS=$as_save_IFS
15289
15290 fi
15291 fi
15292 CC=$ac_cv_prog_CC
15293 if test -n "$CC"; then
15294 { echo "$as_me:$LINENO: result: $CC" >&5
15295 echo "${ECHO_T}$CC" >&6; }
15296 else
15297 { echo "$as_me:$LINENO: result: no" >&5
15298 echo "${ECHO_T}no" >&6; }
15299 fi
15300
15301
15302 fi
15303 fi
15304 if test -z "$CC"; then
15305 # Extract the first word of "cc", so it can be a program name with args.
15306 set dummy cc; ac_word=$2
15307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15309 if test "${ac_cv_prog_CC+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 else
15312 if test -n "$CC"; then
15313 ac_cv_prog_CC="$CC" # Let the user override the test.
15314 else
15315 ac_prog_rejected=no
15316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15317 for as_dir in $PATH
15318 do
15319 IFS=$as_save_IFS
15320 test -z "$as_dir" && as_dir=.
15321 for ac_exec_ext in '' $ac_executable_extensions; do
15322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15323 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15324 ac_prog_rejected=yes
15325 continue
15326 fi
15327 ac_cv_prog_CC="cc"
15328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15329 break 2
15330 fi
15331 done
15332 done
15333 IFS=$as_save_IFS
15334
15335 if test $ac_prog_rejected = yes; then
15336 # We found a bogon in the path, so make sure we never use it.
15337 set dummy $ac_cv_prog_CC
15338 shift
15339 if test $# != 0; then
15340 # We chose a different compiler from the bogus one.
15341 # However, it has the same basename, so the bogon will be chosen
15342 # first if we set CC to just the basename; use the full file name.
15343 shift
15344 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15345 fi
15346 fi
15347 fi
15348 fi
15349 CC=$ac_cv_prog_CC
15350 if test -n "$CC"; then
15351 { echo "$as_me:$LINENO: result: $CC" >&5
15352 echo "${ECHO_T}$CC" >&6; }
15353 else
15354 { echo "$as_me:$LINENO: result: no" >&5
15355 echo "${ECHO_T}no" >&6; }
15356 fi
15357
15358
15359 fi
15360 if test -z "$CC"; then
15361 if test -n "$ac_tool_prefix"; then
15362 for ac_prog in cl.exe
15363 do
15364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15368 if test "${ac_cv_prog_CC+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371 if test -n "$CC"; then
15372 ac_cv_prog_CC="$CC" # Let the user override the test.
15373 else
15374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15375 for as_dir in $PATH
15376 do
15377 IFS=$as_save_IFS
15378 test -z "$as_dir" && as_dir=.
15379 for ac_exec_ext in '' $ac_executable_extensions; do
15380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15381 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15383 break 2
15384 fi
15385 done
15386 done
15387 IFS=$as_save_IFS
15388
15389 fi
15390 fi
15391 CC=$ac_cv_prog_CC
15392 if test -n "$CC"; then
15393 { echo "$as_me:$LINENO: result: $CC" >&5
15394 echo "${ECHO_T}$CC" >&6; }
15395 else
15396 { echo "$as_me:$LINENO: result: no" >&5
15397 echo "${ECHO_T}no" >&6; }
15398 fi
15399
15400
15401 test -n "$CC" && break
15402 done
15403 fi
15404 if test -z "$CC"; then
15405 ac_ct_CC=$CC
15406 for ac_prog in cl.exe
15407 do
15408 # Extract the first word of "$ac_prog", so it can be a program name with args.
15409 set dummy $ac_prog; ac_word=$2
15410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415 if test -n "$ac_ct_CC"; then
15416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15417 else
15418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15419 for as_dir in $PATH
15420 do
15421 IFS=$as_save_IFS
15422 test -z "$as_dir" && as_dir=.
15423 for ac_exec_ext in '' $ac_executable_extensions; do
15424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15425 ac_cv_prog_ac_ct_CC="$ac_prog"
15426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15427 break 2
15428 fi
15429 done
15430 done
15431 IFS=$as_save_IFS
15432
15433 fi
15434 fi
15435 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15436 if test -n "$ac_ct_CC"; then
15437 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15438 echo "${ECHO_T}$ac_ct_CC" >&6; }
15439 else
15440 { echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6; }
15442 fi
15443
15444
15445 test -n "$ac_ct_CC" && break
15446 done
15447
15448 if test "x$ac_ct_CC" = x; then
15449 CC=""
15450 else
15451 case $cross_compiling:$ac_tool_warned in
15452 yes:)
15453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15454 whose name does not start with the host triplet. If you think this
15455 configuration is useful to you, please write to autoconf@gnu.org." >&5
15456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15457 whose name does not start with the host triplet. If you think this
15458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15459 ac_tool_warned=yes ;;
15460 esac
15461 CC=$ac_ct_CC
15462 fi
15463 fi
15464
15465 fi
15466
15467
15468 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15469 See \`config.log' for more details." >&5
15470 echo "$as_me: error: no acceptable C compiler found in \$PATH
15471 See \`config.log' for more details." >&2;}
15472 { (exit 1); exit 1; }; }
15473
15474 # Provide some information about the compiler.
15475 echo "$as_me:$LINENO: checking for C compiler version" >&5
15476 ac_compiler=`set X $ac_compile; echo $2`
15477 { (ac_try="$ac_compiler --version >&5"
15478 case "(($ac_try" in
15479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15481 esac
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_compiler --version >&5") 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }
15487 { (ac_try="$ac_compiler -v >&5"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15491 esac
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_compiler -v >&5") 2>&5
15494 ac_status=$?
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }
15497 { (ac_try="$ac_compiler -V >&5"
15498 case "(($ac_try" in
15499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15500 *) ac_try_echo=$ac_try;;
15501 esac
15502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15503 (eval "$ac_compiler -V >&5") 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }
15507
15508 cat >conftest.$ac_ext <<_ACEOF
15509 /* confdefs.h. */
15510 _ACEOF
15511 cat confdefs.h >>conftest.$ac_ext
15512 cat >>conftest.$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514
15515 int
15516 main ()
15517 {
15518
15519 ;
15520 return 0;
15521 }
15522 _ACEOF
15523 ac_clean_files_save=$ac_clean_files
15524 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15525 # Try to create an executable without -o first, disregard a.out.
15526 # It will help us diagnose broken compilers, and finding out an intuition
15527 # of exeext.
15528 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15529 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15530 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15531 #
15532 # List of possible output files, starting from the most likely.
15533 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15534 # only as a last resort. b.out is created by i960 compilers.
15535 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15536 #
15537 # The IRIX 6 linker writes into existing files which may not be
15538 # executable, retaining their permissions. Remove them first so a
15539 # subsequent execution test works.
15540 ac_rmfiles=
15541 for ac_file in $ac_files
15542 do
15543 case $ac_file in
15544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15545 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15546 esac
15547 done
15548 rm -f $ac_rmfiles
15549
15550 if { (ac_try="$ac_link_default"
15551 case "(($ac_try" in
15552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15553 *) ac_try_echo=$ac_try;;
15554 esac
15555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15556 (eval "$ac_link_default") 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; then
15560 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15561 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15562 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15563 # so that the user can short-circuit this test for compilers unknown to
15564 # Autoconf.
15565 for ac_file in $ac_files ''
15566 do
15567 test -f "$ac_file" || continue
15568 case $ac_file in
15569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15570 ;;
15571 [ab].out )
15572 # We found the default executable, but exeext='' is most
15573 # certainly right.
15574 break;;
15575 *.* )
15576 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15577 then :; else
15578 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15579 fi
15580 # We set ac_cv_exeext here because the later test for it is not
15581 # safe: cross compilers may not add the suffix if given an `-o'
15582 # argument, so we may need to know it at that point already.
15583 # Even if this section looks crufty: it has the advantage of
15584 # actually working.
15585 break;;
15586 * )
15587 break;;
15588 esac
15589 done
15590 test "$ac_cv_exeext" = no && ac_cv_exeext=
15591
15592 else
15593 ac_file=''
15594 fi
15595
15596 { echo "$as_me:$LINENO: result: $ac_file" >&5
15597 echo "${ECHO_T}$ac_file" >&6; }
15598 if test -z "$ac_file"; then
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15603 See \`config.log' for more details." >&5
15604 echo "$as_me: error: C compiler cannot create executables
15605 See \`config.log' for more details." >&2;}
15606 { (exit 77); exit 77; }; }
15607 fi
15608
15609 ac_exeext=$ac_cv_exeext
15610
15611 # Check that the compiler produces executables we can run. If not, either
15612 # the compiler is broken, or we cross compile.
15613 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15614 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15615 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15616 # If not cross compiling, check that we can run a simple program.
15617 if test "$cross_compiling" != yes; then
15618 if { ac_try='./$ac_file'
15619 { (case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15622 esac
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_try") 2>&5
15625 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then
15628 cross_compiling=no
15629 else
15630 if test "$cross_compiling" = maybe; then
15631 cross_compiling=yes
15632 else
15633 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15634 If you meant to cross compile, use \`--host'.
15635 See \`config.log' for more details." >&5
15636 echo "$as_me: error: cannot run C compiled programs.
15637 If you meant to cross compile, use \`--host'.
15638 See \`config.log' for more details." >&2;}
15639 { (exit 1); exit 1; }; }
15640 fi
15641 fi
15642 fi
15643 { echo "$as_me:$LINENO: result: yes" >&5
15644 echo "${ECHO_T}yes" >&6; }
15645
15646 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15647 ac_clean_files=$ac_clean_files_save
15648 # Check that the compiler produces executables we can run. If not, either
15649 # the compiler is broken, or we cross compile.
15650 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15651 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15652 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15653 echo "${ECHO_T}$cross_compiling" >&6; }
15654
15655 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15656 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15657 if { (ac_try="$ac_link"
15658 case "(($ac_try" in
15659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15660 *) ac_try_echo=$ac_try;;
15661 esac
15662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15663 (eval "$ac_link") 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; then
15667 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15668 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15669 # work properly (i.e., refer to `conftest.exe'), while it won't with
15670 # `rm'.
15671 for ac_file in conftest.exe conftest conftest.*; do
15672 test -f "$ac_file" || continue
15673 case $ac_file in
15674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15675 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15676 break;;
15677 * ) break;;
15678 esac
15679 done
15680 else
15681 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15682 See \`config.log' for more details." >&5
15683 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15684 See \`config.log' for more details." >&2;}
15685 { (exit 1); exit 1; }; }
15686 fi
15687
15688 rm -f conftest$ac_cv_exeext
15689 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15690 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15691
15692 rm -f conftest.$ac_ext
15693 EXEEXT=$ac_cv_exeext
15694 ac_exeext=$EXEEXT
15695 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15696 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15697 if test "${ac_cv_objext+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 cat >conftest.$ac_ext <<_ACEOF
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706
15707 int
15708 main ()
15709 {
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.o conftest.obj
15716 if { (ac_try="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>&5
15723 ac_status=$?
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; then
15726 for ac_file in conftest.o conftest.obj conftest.*; do
15727 test -f "$ac_file" || continue;
15728 case $ac_file in
15729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15731 break;;
15732 esac
15733 done
15734 else
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15739 See \`config.log' for more details." >&5
15740 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15741 See \`config.log' for more details." >&2;}
15742 { (exit 1); exit 1; }; }
15743 fi
15744
15745 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15746 fi
15747 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15748 echo "${ECHO_T}$ac_cv_objext" >&6; }
15749 OBJEXT=$ac_cv_objext
15750 ac_objext=$OBJEXT
15751 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15752 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15753 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 else
15756 cat >conftest.$ac_ext <<_ACEOF
15757 /* confdefs.h. */
15758 _ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15762
15763 int
15764 main ()
15765 {
15766 #ifndef __GNUC__
15767 choke me
15768 #endif
15769
15770 ;
15771 return 0;
15772 }
15773 _ACEOF
15774 rm -f conftest.$ac_objext
15775 if { (ac_try="$ac_compile"
15776 case "(($ac_try" in
15777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15778 *) ac_try_echo=$ac_try;;
15779 esac
15780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15781 (eval "$ac_compile") 2>conftest.er1
15782 ac_status=$?
15783 grep -v '^ *+' conftest.er1 >conftest.err
15784 rm -f conftest.er1
15785 cat conftest.err >&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } && {
15788 test -z "$ac_c_werror_flag" ||
15789 test ! -s conftest.err
15790 } && test -s conftest.$ac_objext; then
15791 ac_compiler_gnu=yes
15792 else
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15795
15796 ac_compiler_gnu=no
15797 fi
15798
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15801
15802 fi
15803 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15804 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15805 GCC=`test $ac_compiler_gnu = yes && echo yes`
15806 ac_test_CFLAGS=${CFLAGS+set}
15807 ac_save_CFLAGS=$CFLAGS
15808 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15809 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15810 if test "${ac_cv_prog_cc_g+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 ac_save_c_werror_flag=$ac_c_werror_flag
15814 ac_c_werror_flag=yes
15815 ac_cv_prog_cc_g=no
15816 CFLAGS="-g"
15817 cat >conftest.$ac_ext <<_ACEOF
15818 /* confdefs.h. */
15819 _ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823
15824 int
15825 main ()
15826 {
15827
15828 ;
15829 return 0;
15830 }
15831 _ACEOF
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15837 esac
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15840 ac_status=$?
15841 grep -v '^ *+' conftest.er1 >conftest.err
15842 rm -f conftest.er1
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 ac_cv_prog_cc_g=yes
15850 else
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15853
15854 CFLAGS=""
15855 cat >conftest.$ac_ext <<_ACEOF
15856 /* confdefs.h. */
15857 _ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15861
15862 int
15863 main ()
15864 {
15865
15866 ;
15867 return 0;
15868 }
15869 _ACEOF
15870 rm -f conftest.$ac_objext
15871 if { (ac_try="$ac_compile"
15872 case "(($ac_try" in
15873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874 *) ac_try_echo=$ac_try;;
15875 esac
15876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15877 (eval "$ac_compile") 2>conftest.er1
15878 ac_status=$?
15879 grep -v '^ *+' conftest.er1 >conftest.err
15880 rm -f conftest.er1
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } && {
15884 test -z "$ac_c_werror_flag" ||
15885 test ! -s conftest.err
15886 } && test -s conftest.$ac_objext; then
15887 :
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15891
15892 ac_c_werror_flag=$ac_save_c_werror_flag
15893 CFLAGS="-g"
15894 cat >conftest.$ac_ext <<_ACEOF
15895 /* confdefs.h. */
15896 _ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15900
15901 int
15902 main ()
15903 {
15904
15905 ;
15906 return 0;
15907 }
15908 _ACEOF
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15914 esac
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15917 ac_status=$?
15918 grep -v '^ *+' conftest.er1 >conftest.err
15919 rm -f conftest.er1
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 ac_cv_prog_cc_g=yes
15927 else
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15930
15931
15932 fi
15933
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 fi
15936
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15938 fi
15939
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941 ac_c_werror_flag=$ac_save_c_werror_flag
15942 fi
15943 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15944 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15945 if test "$ac_test_CFLAGS" = set; then
15946 CFLAGS=$ac_save_CFLAGS
15947 elif test $ac_cv_prog_cc_g = yes; then
15948 if test "$GCC" = yes; then
15949 CFLAGS="-g -O2"
15950 else
15951 CFLAGS="-g"
15952 fi
15953 else
15954 if test "$GCC" = yes; then
15955 CFLAGS="-O2"
15956 else
15957 CFLAGS=
15958 fi
15959 fi
15960 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15961 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15962 if test "${ac_cv_prog_cc_c89+set}" = set; then
15963 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 else
15965 ac_cv_prog_cc_c89=no
15966 ac_save_CC=$CC
15967 cat >conftest.$ac_ext <<_ACEOF
15968 /* confdefs.h. */
15969 _ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 #include <stdarg.h>
15974 #include <stdio.h>
15975 #include <sys/types.h>
15976 #include <sys/stat.h>
15977 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15978 struct buf { int x; };
15979 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15980 static char *e (p, i)
15981 char **p;
15982 int i;
15983 {
15984 return p[i];
15985 }
15986 static char *f (char * (*g) (char **, int), char **p, ...)
15987 {
15988 char *s;
15989 va_list v;
15990 va_start (v,p);
15991 s = g (p, va_arg (v,int));
15992 va_end (v);
15993 return s;
15994 }
15995
15996 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15997 function prototypes and stuff, but not '\xHH' hex character constants.
15998 These don't provoke an error unfortunately, instead are silently treated
15999 as 'x'. The following induces an error, until -std is added to get
16000 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16001 array size at least. It's necessary to write '\x00'==0 to get something
16002 that's true only with -std. */
16003 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16004
16005 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16006 inside strings and character constants. */
16007 #define FOO(x) 'x'
16008 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16009
16010 int test (int i, double x);
16011 struct s1 {int (*f) (int a);};
16012 struct s2 {int (*f) (double a);};
16013 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16014 int argc;
16015 char **argv;
16016 int
16017 main ()
16018 {
16019 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16020 ;
16021 return 0;
16022 }
16023 _ACEOF
16024 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16025 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16026 do
16027 CC="$ac_save_CC $ac_arg"
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16033 esac
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_c_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 ac_cv_prog_cc_c89=$ac_arg
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050
16051 fi
16052
16053 rm -f core conftest.err conftest.$ac_objext
16054 test "x$ac_cv_prog_cc_c89" != "xno" && break
16055 done
16056 rm -f conftest.$ac_ext
16057 CC=$ac_save_CC
16058
16059 fi
16060 # AC_CACHE_VAL
16061 case "x$ac_cv_prog_cc_c89" in
16062 x)
16063 { echo "$as_me:$LINENO: result: none needed" >&5
16064 echo "${ECHO_T}none needed" >&6; } ;;
16065 xno)
16066 { echo "$as_me:$LINENO: result: unsupported" >&5
16067 echo "${ECHO_T}unsupported" >&6; } ;;
16068 *)
16069 CC="$CC $ac_cv_prog_cc_c89"
16070 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16071 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16072 esac
16073
16074
16075 ac_ext=c
16076 ac_cpp='$CPP $CPPFLAGS'
16077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16080
16081
16082
16083
16084
16085
16086
16087
16088 ac_ext=c
16089 ac_cpp='$CPP $CPPFLAGS'
16090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16093
16094 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16095 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16096 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 else
16099 cat >conftest.$ac_ext <<_ACEOF
16100 /* confdefs.h. */
16101 _ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105
16106 int
16107 main ()
16108 {
16109
16110 #ifndef __INTEL_COMPILER
16111 choke me
16112 #endif
16113
16114 ;
16115 return 0;
16116 }
16117 _ACEOF
16118 rm -f conftest.$ac_objext
16119 if { (ac_try="$ac_compile"
16120 case "(($ac_try" in
16121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16122 *) ac_try_echo=$ac_try;;
16123 esac
16124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16125 (eval "$ac_compile") 2>conftest.er1
16126 ac_status=$?
16127 grep -v '^ *+' conftest.er1 >conftest.err
16128 rm -f conftest.er1
16129 cat conftest.err >&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); } && {
16132 test -z "$ac_c_werror_flag" ||
16133 test ! -s conftest.err
16134 } && test -s conftest.$ac_objext; then
16135 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16136 else
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.$ac_ext >&5
16139
16140 bakefile_cv_c_compiler___INTEL_COMPILER=no
16141
16142 fi
16143
16144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16145
16146
16147 fi
16148 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16149 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16150 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16151 :; INTELCC=yes
16152 else
16153 :;
16154 fi
16155 ac_ext=c
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16160
16161
16162
16163
16164 if test "$INTELCC" = "yes"; then
16165
16166
16167 ac_ext=c
16168 ac_cpp='$CPP $CPPFLAGS'
16169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16172
16173 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
16174 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
16175 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 else
16178 cat >conftest.$ac_ext <<_ACEOF
16179 /* confdefs.h. */
16180 _ACEOF
16181 cat confdefs.h >>conftest.$ac_ext
16182 cat >>conftest.$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16184
16185 int
16186 main ()
16187 {
16188
16189 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16190 choke me
16191 #endif
16192
16193 ;
16194 return 0;
16195 }
16196 _ACEOF
16197 rm -f conftest.$ac_objext
16198 if { (ac_try="$ac_compile"
16199 case "(($ac_try" in
16200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16201 *) ac_try_echo=$ac_try;;
16202 esac
16203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16204 (eval "$ac_compile") 2>conftest.er1
16205 ac_status=$?
16206 grep -v '^ *+' conftest.er1 >conftest.err
16207 rm -f conftest.er1
16208 cat conftest.err >&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } && {
16211 test -z "$ac_c_werror_flag" ||
16212 test ! -s conftest.err
16213 } && test -s conftest.$ac_objext; then
16214 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16215 else
16216 echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.$ac_ext >&5
16218
16219 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16220
16221 fi
16222
16223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16224
16225
16226 fi
16227 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16228 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16229 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16230 :; INTELCC8=yes
16231 else
16232 :;
16233 fi
16234 ac_ext=c
16235 ac_cpp='$CPP $CPPFLAGS'
16236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16239
16240
16241
16242
16243
16244 ac_ext=c
16245 ac_cpp='$CPP $CPPFLAGS'
16246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16249
16250 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16251 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16252 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 else
16255 cat >conftest.$ac_ext <<_ACEOF
16256 /* confdefs.h. */
16257 _ACEOF
16258 cat confdefs.h >>conftest.$ac_ext
16259 cat >>conftest.$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261
16262 int
16263 main ()
16264 {
16265
16266 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16267 choke me
16268 #endif
16269
16270 ;
16271 return 0;
16272 }
16273 _ACEOF
16274 rm -f conftest.$ac_objext
16275 if { (ac_try="$ac_compile"
16276 case "(($ac_try" in
16277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16278 *) ac_try_echo=$ac_try;;
16279 esac
16280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16281 (eval "$ac_compile") 2>conftest.er1
16282 ac_status=$?
16283 grep -v '^ *+' conftest.er1 >conftest.err
16284 rm -f conftest.er1
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } && {
16288 test -z "$ac_c_werror_flag" ||
16289 test ! -s conftest.err
16290 } && test -s conftest.$ac_objext; then
16291 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16292 else
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16295
16296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16297
16298 fi
16299
16300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16301
16302
16303 fi
16304 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16305 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16306 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16307 :; INTELCC10=yes
16308 else
16309 :;
16310 fi
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
16319 fi
16320
16321 if test "x$GCC" != "xyes"; then
16322 if test "xCC" = "xC"; then
16323 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16324 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16325 if test "${bakefile_cv_c_exto+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16328 cat >conftest.$ac_ext <<_ACEOF
16329 /* confdefs.h. */
16330 _ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334
16335 int
16336 main ()
16337 {
16338
16339 ;
16340 return 0;
16341 }
16342 _ACEOF
16343 rm -f conftest.$ac_objext conftest.$ac_ext.o
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345 (eval $ac_compile) 2>&5
16346 ac_status=$?
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; then
16349 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16350 case $ac_file in
16351 conftest.$ac_ext.o)
16352 bakefile_cv_c_exto="-ext o"
16353 ;;
16354 *)
16355 ;;
16356 esac
16357 done
16358 else
16359 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16360 See \`config.log' for more details." >&5
16361 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16362 See \`config.log' for more details." >&2;}
16363 { (exit 1); exit 1; }; }
16364
16365 fi
16366
16367 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16368
16369 fi
16370 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16371 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16372 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16373 if test "c" = "c"; then
16374 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16375 fi
16376 if test "c" = "cxx"; then
16377 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16378 fi
16379 fi
16380
16381 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16382 unset ac_cv_prog_cc_g
16383 ac_test_CFLAGS=${CFLAGS+set}
16384 ac_save_CFLAGS=$CFLAGS
16385 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16386 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16387 if test "${ac_cv_prog_cc_g+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390 ac_save_c_werror_flag=$ac_c_werror_flag
16391 ac_c_werror_flag=yes
16392 ac_cv_prog_cc_g=no
16393 CFLAGS="-g"
16394 cat >conftest.$ac_ext <<_ACEOF
16395 /* confdefs.h. */
16396 _ACEOF
16397 cat confdefs.h >>conftest.$ac_ext
16398 cat >>conftest.$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16400
16401 int
16402 main ()
16403 {
16404
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (ac_try="$ac_compile"
16411 case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16414 esac
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_compile") 2>conftest.er1
16417 ac_status=$?
16418 grep -v '^ *+' conftest.er1 >conftest.err
16419 rm -f conftest.er1
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } && {
16423 test -z "$ac_c_werror_flag" ||
16424 test ! -s conftest.err
16425 } && test -s conftest.$ac_objext; then
16426 ac_cv_prog_cc_g=yes
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16430
16431 CFLAGS=""
16432 cat >conftest.$ac_ext <<_ACEOF
16433 /* confdefs.h. */
16434 _ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438
16439 int
16440 main ()
16441 {
16442
16443 ;
16444 return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (ac_try="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16452 esac
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>conftest.er1
16455 ac_status=$?
16456 grep -v '^ *+' conftest.er1 >conftest.err
16457 rm -f conftest.er1
16458 cat conftest.err >&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } && {
16461 test -z "$ac_c_werror_flag" ||
16462 test ! -s conftest.err
16463 } && test -s conftest.$ac_objext; then
16464 :
16465 else
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16468
16469 ac_c_werror_flag=$ac_save_c_werror_flag
16470 CFLAGS="-g"
16471 cat >conftest.$ac_ext <<_ACEOF
16472 /* confdefs.h. */
16473 _ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477
16478 int
16479 main ()
16480 {
16481
16482 ;
16483 return 0;
16484 }
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (ac_try="$ac_compile"
16488 case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16491 esac
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_compile") 2>conftest.er1
16494 ac_status=$?
16495 grep -v '^ *+' conftest.er1 >conftest.err
16496 rm -f conftest.er1
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } && {
16500 test -z "$ac_c_werror_flag" ||
16501 test ! -s conftest.err
16502 } && test -s conftest.$ac_objext; then
16503 ac_cv_prog_cc_g=yes
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16507
16508
16509 fi
16510
16511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16512 fi
16513
16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16515 fi
16516
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16518 ac_c_werror_flag=$ac_save_c_werror_flag
16519 fi
16520 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16521 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16522 if test "$ac_test_CFLAGS" = set; then
16523 CFLAGS=$ac_save_CFLAGS
16524 elif test $ac_cv_prog_cc_g = yes; then
16525 if test "$GCC" = yes; then
16526 CFLAGS="-g -O2"
16527 else
16528 CFLAGS="-g"
16529 fi
16530 else
16531 if test "$GCC" = yes; then
16532 CFLAGS="-O2"
16533 else
16534 CFLAGS=
16535 fi
16536 fi
16537 fi
16538 fi
16539
16540 case `uname -s` in
16541 AIX*)
16542
16543
16544 ac_ext=c
16545 ac_cpp='$CPP $CPPFLAGS'
16546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16549
16550 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16551 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16552 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555 cat >conftest.$ac_ext <<_ACEOF
16556 /* confdefs.h. */
16557 _ACEOF
16558 cat confdefs.h >>conftest.$ac_ext
16559 cat >>conftest.$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16561
16562 int
16563 main ()
16564 {
16565
16566 #ifndef __xlC__
16567 choke me
16568 #endif
16569
16570 ;
16571 return 0;
16572 }
16573 _ACEOF
16574 rm -f conftest.$ac_objext
16575 if { (ac_try="$ac_compile"
16576 case "(($ac_try" in
16577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16578 *) ac_try_echo=$ac_try;;
16579 esac
16580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16581 (eval "$ac_compile") 2>conftest.er1
16582 ac_status=$?
16583 grep -v '^ *+' conftest.er1 >conftest.err
16584 rm -f conftest.er1
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } && {
16588 test -z "$ac_c_werror_flag" ||
16589 test ! -s conftest.err
16590 } && test -s conftest.$ac_objext; then
16591 bakefile_cv_c_compiler___xlC__=yes
16592 else
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16595
16596 bakefile_cv_c_compiler___xlC__=no
16597
16598 fi
16599
16600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16601
16602
16603 fi
16604 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16605 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16606 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16607 :; XLCC=yes
16608 else
16609 :;
16610 fi
16611 ac_ext=c
16612 ac_cpp='$CPP $CPPFLAGS'
16613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16616
16617
16618
16619 ;;
16620
16621 Darwin)
16622
16623
16624 ac_ext=c
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16629
16630 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16631 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16632 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635 cat >conftest.$ac_ext <<_ACEOF
16636 /* confdefs.h. */
16637 _ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16641
16642 int
16643 main ()
16644 {
16645
16646 #ifndef __MWERKS__
16647 choke me
16648 #endif
16649
16650 ;
16651 return 0;
16652 }
16653 _ACEOF
16654 rm -f conftest.$ac_objext
16655 if { (ac_try="$ac_compile"
16656 case "(($ac_try" in
16657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16658 *) ac_try_echo=$ac_try;;
16659 esac
16660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16661 (eval "$ac_compile") 2>conftest.er1
16662 ac_status=$?
16663 grep -v '^ *+' conftest.er1 >conftest.err
16664 rm -f conftest.er1
16665 cat conftest.err >&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } && {
16668 test -z "$ac_c_werror_flag" ||
16669 test ! -s conftest.err
16670 } && test -s conftest.$ac_objext; then
16671 bakefile_cv_c_compiler___MWERKS__=yes
16672 else
16673 echo "$as_me: failed program was:" >&5
16674 sed 's/^/| /' conftest.$ac_ext >&5
16675
16676 bakefile_cv_c_compiler___MWERKS__=no
16677
16678 fi
16679
16680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16681
16682
16683 fi
16684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16685 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16686 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16687 :; MWCC=yes
16688 else
16689 :;
16690 fi
16691 ac_ext=c
16692 ac_cpp='$CPP $CPPFLAGS'
16693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16696
16697
16698
16699 if test "$MWCC" != "yes"; then
16700
16701
16702 ac_ext=c
16703 ac_cpp='$CPP $CPPFLAGS'
16704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707
16708 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16709 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16710 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 else
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719
16720 int
16721 main ()
16722 {
16723
16724 #ifndef __xlC__
16725 choke me
16726 #endif
16727
16728 ;
16729 return 0;
16730 }
16731 _ACEOF
16732 rm -f conftest.$ac_objext
16733 if { (ac_try="$ac_compile"
16734 case "(($ac_try" in
16735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16736 *) ac_try_echo=$ac_try;;
16737 esac
16738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16739 (eval "$ac_compile") 2>conftest.er1
16740 ac_status=$?
16741 grep -v '^ *+' conftest.er1 >conftest.err
16742 rm -f conftest.er1
16743 cat conftest.err >&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } && {
16746 test -z "$ac_c_werror_flag" ||
16747 test ! -s conftest.err
16748 } && test -s conftest.$ac_objext; then
16749 bakefile_cv_c_compiler___xlC__=yes
16750 else
16751 echo "$as_me: failed program was:" >&5
16752 sed 's/^/| /' conftest.$ac_ext >&5
16753
16754 bakefile_cv_c_compiler___xlC__=no
16755
16756 fi
16757
16758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16759
16760
16761 fi
16762 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16763 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16764 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16765 :; XLCC=yes
16766 else
16767 :;
16768 fi
16769 ac_ext=c
16770 ac_cpp='$CPP $CPPFLAGS'
16771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16774
16775
16776
16777 fi
16778 ;;
16779
16780 IRIX*)
16781
16782
16783 ac_ext=c
16784 ac_cpp='$CPP $CPPFLAGS'
16785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16788
16789 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16790 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16791 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 cat >conftest.$ac_ext <<_ACEOF
16795 /* confdefs.h. */
16796 _ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800
16801 int
16802 main ()
16803 {
16804
16805 #ifndef _SGI_COMPILER_VERSION
16806 choke me
16807 #endif
16808
16809 ;
16810 return 0;
16811 }
16812 _ACEOF
16813 rm -f conftest.$ac_objext
16814 if { (ac_try="$ac_compile"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16818 esac
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_compile") 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } && {
16827 test -z "$ac_c_werror_flag" ||
16828 test ! -s conftest.err
16829 } && test -s conftest.$ac_objext; then
16830 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16831 else
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16834
16835 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16836
16837 fi
16838
16839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16840
16841
16842 fi
16843 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16844 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16845 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16846 :; SGICC=yes
16847 else
16848 :;
16849 fi
16850 ac_ext=c
16851 ac_cpp='$CPP $CPPFLAGS'
16852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16855
16856
16857
16858 ;;
16859
16860 Linux*)
16861 if test "$INTELCC" != "yes"; then
16862
16863
16864 ac_ext=c
16865 ac_cpp='$CPP $CPPFLAGS'
16866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16869
16870 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16871 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16872 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 else
16875 cat >conftest.$ac_ext <<_ACEOF
16876 /* confdefs.h. */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881
16882 int
16883 main ()
16884 {
16885
16886 #ifndef __SUNPRO_C
16887 choke me
16888 #endif
16889
16890 ;
16891 return 0;
16892 }
16893 _ACEOF
16894 rm -f conftest.$ac_objext
16895 if { (ac_try="$ac_compile"
16896 case "(($ac_try" in
16897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16898 *) ac_try_echo=$ac_try;;
16899 esac
16900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16901 (eval "$ac_compile") 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } && {
16908 test -z "$ac_c_werror_flag" ||
16909 test ! -s conftest.err
16910 } && test -s conftest.$ac_objext; then
16911 bakefile_cv_c_compiler___SUNPRO_C=yes
16912 else
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16915
16916 bakefile_cv_c_compiler___SUNPRO_C=no
16917
16918 fi
16919
16920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16921
16922
16923 fi
16924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16925 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16926 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16927 :; SUNCC=yes
16928 else
16929 :;
16930 fi
16931 ac_ext=c
16932 ac_cpp='$CPP $CPPFLAGS'
16933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16936
16937
16938
16939 fi
16940 ;;
16941
16942 HP-UX*)
16943
16944
16945 ac_ext=c
16946 ac_cpp='$CPP $CPPFLAGS'
16947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16950
16951 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16952 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16953 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */
16958 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962
16963 int
16964 main ()
16965 {
16966
16967 #ifndef __HP_cc
16968 choke me
16969 #endif
16970
16971 ;
16972 return 0;
16973 }
16974 _ACEOF
16975 rm -f conftest.$ac_objext
16976 if { (ac_try="$ac_compile"
16977 case "(($ac_try" in
16978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16980 esac
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_compile") 2>conftest.er1
16983 ac_status=$?
16984 grep -v '^ *+' conftest.er1 >conftest.err
16985 rm -f conftest.er1
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && {
16989 test -z "$ac_c_werror_flag" ||
16990 test ! -s conftest.err
16991 } && test -s conftest.$ac_objext; then
16992 bakefile_cv_c_compiler___HP_cc=yes
16993 else
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16996
16997 bakefile_cv_c_compiler___HP_cc=no
16998
16999 fi
17000
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002
17003
17004 fi
17005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17006 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17007 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17008 :; HPCC=yes
17009 else
17010 :;
17011 fi
17012 ac_ext=c
17013 ac_cpp='$CPP $CPPFLAGS'
17014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17017
17018
17019
17020 ;;
17021
17022 OSF1)
17023
17024
17025 ac_ext=c
17026 ac_cpp='$CPP $CPPFLAGS'
17027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17030
17031 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17032 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17033 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17034 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 else
17036 cat >conftest.$ac_ext <<_ACEOF
17037 /* confdefs.h. */
17038 _ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042
17043 int
17044 main ()
17045 {
17046
17047 #ifndef __DECC
17048 choke me
17049 #endif
17050
17051 ;
17052 return 0;
17053 }
17054 _ACEOF
17055 rm -f conftest.$ac_objext
17056 if { (ac_try="$ac_compile"
17057 case "(($ac_try" in
17058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17059 *) ac_try_echo=$ac_try;;
17060 esac
17061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17062 (eval "$ac_compile") 2>conftest.er1
17063 ac_status=$?
17064 grep -v '^ *+' conftest.er1 >conftest.err
17065 rm -f conftest.er1
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } && {
17069 test -z "$ac_c_werror_flag" ||
17070 test ! -s conftest.err
17071 } && test -s conftest.$ac_objext; then
17072 bakefile_cv_c_compiler___DECC=yes
17073 else
17074 echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.$ac_ext >&5
17076
17077 bakefile_cv_c_compiler___DECC=no
17078
17079 fi
17080
17081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17082
17083
17084 fi
17085 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17086 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17087 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17088 :; COMPAQCC=yes
17089 else
17090 :;
17091 fi
17092 ac_ext=c
17093 ac_cpp='$CPP $CPPFLAGS'
17094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17097
17098
17099
17100 ;;
17101
17102 SunOS)
17103
17104
17105 ac_ext=c
17106 ac_cpp='$CPP $CPPFLAGS'
17107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17110
17111 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17112 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17113 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 else
17116 cat >conftest.$ac_ext <<_ACEOF
17117 /* confdefs.h. */
17118 _ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17122
17123 int
17124 main ()
17125 {
17126
17127 #ifndef __SUNPRO_C
17128 choke me
17129 #endif
17130
17131 ;
17132 return 0;
17133 }
17134 _ACEOF
17135 rm -f conftest.$ac_objext
17136 if { (ac_try="$ac_compile"
17137 case "(($ac_try" in
17138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17139 *) ac_try_echo=$ac_try;;
17140 esac
17141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142 (eval "$ac_compile") 2>conftest.er1
17143 ac_status=$?
17144 grep -v '^ *+' conftest.er1 >conftest.err
17145 rm -f conftest.er1
17146 cat conftest.err >&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } && {
17149 test -z "$ac_c_werror_flag" ||
17150 test ! -s conftest.err
17151 } && test -s conftest.$ac_objext; then
17152 bakefile_cv_c_compiler___SUNPRO_C=yes
17153 else
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.$ac_ext >&5
17156
17157 bakefile_cv_c_compiler___SUNPRO_C=no
17158
17159 fi
17160
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163
17164 fi
17165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17166 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17167 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17168 :; SUNCC=yes
17169 else
17170 :;
17171 fi
17172 ac_ext=c
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17177
17178
17179
17180 ;;
17181 esac
17182 fi
17183
17184
17185
17186 ac_ext=c
17187 ac_cpp='$CPP $CPPFLAGS'
17188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17191 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17193 # On Suns, sometimes $CPP names a directory.
17194 if test -n "$CPP" && test -d "$CPP"; then
17195 CPP=
17196 fi
17197 if test -z "$CPP"; then
17198 if test "${ac_cv_prog_CPP+set}" = set; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 else
17201 # Double quotes because CPP needs to be expanded
17202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17203 do
17204 ac_preproc_ok=false
17205 for ac_c_preproc_warn_flag in '' yes
17206 do
17207 # Use a header file that comes with gcc, so configuring glibc
17208 # with a fresh cross-compiler works.
17209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17210 # <limits.h> exists even on freestanding compilers.
17211 # On the NeXT, cc -E runs the code through the compiler's parser,
17212 # not just through cpp. "Syntax error" is here to catch this case.
17213 cat >conftest.$ac_ext <<_ACEOF
17214 /* confdefs.h. */
17215 _ACEOF
17216 cat confdefs.h >>conftest.$ac_ext
17217 cat >>conftest.$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219 #ifdef __STDC__
17220 # include <limits.h>
17221 #else
17222 # include <assert.h>
17223 #endif
17224 Syntax error
17225 _ACEOF
17226 if { (ac_try="$ac_cpp conftest.$ac_ext"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17233 ac_status=$?
17234 grep -v '^ *+' conftest.er1 >conftest.err
17235 rm -f conftest.er1
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } >/dev/null && {
17239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 }; then
17242 :
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 # Broken: fails on valid input.
17248 continue
17249 fi
17250
17251 rm -f conftest.err conftest.$ac_ext
17252
17253 # OK, works on sane cases. Now check whether nonexistent headers
17254 # can be detected and how.
17255 cat >conftest.$ac_ext <<_ACEOF
17256 /* confdefs.h. */
17257 _ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 #include <ac_nonexistent.h>
17262 _ACEOF
17263 if { (ac_try="$ac_cpp conftest.$ac_ext"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } >/dev/null && {
17276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 }; then
17279 # Broken: success on invalid input.
17280 continue
17281 else
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.$ac_ext >&5
17284
17285 # Passes both tests.
17286 ac_preproc_ok=:
17287 break
17288 fi
17289
17290 rm -f conftest.err conftest.$ac_ext
17291
17292 done
17293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17294 rm -f conftest.err conftest.$ac_ext
17295 if $ac_preproc_ok; then
17296 break
17297 fi
17298
17299 done
17300 ac_cv_prog_CPP=$CPP
17301
17302 fi
17303 CPP=$ac_cv_prog_CPP
17304 else
17305 ac_cv_prog_CPP=$CPP
17306 fi
17307 { echo "$as_me:$LINENO: result: $CPP" >&5
17308 echo "${ECHO_T}$CPP" >&6; }
17309 ac_preproc_ok=false
17310 for ac_c_preproc_warn_flag in '' yes
17311 do
17312 # Use a header file that comes with gcc, so configuring glibc
17313 # with a fresh cross-compiler works.
17314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17315 # <limits.h> exists even on freestanding compilers.
17316 # On the NeXT, cc -E runs the code through the compiler's parser,
17317 # not just through cpp. "Syntax error" is here to catch this case.
17318 cat >conftest.$ac_ext <<_ACEOF
17319 /* confdefs.h. */
17320 _ACEOF
17321 cat confdefs.h >>conftest.$ac_ext
17322 cat >>conftest.$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17324 #ifdef __STDC__
17325 # include <limits.h>
17326 #else
17327 # include <assert.h>
17328 #endif
17329 Syntax error
17330 _ACEOF
17331 if { (ac_try="$ac_cpp conftest.$ac_ext"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335 esac
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17338 ac_status=$?
17339 grep -v '^ *+' conftest.er1 >conftest.err
17340 rm -f conftest.er1
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } >/dev/null && {
17344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 }; then
17347 :
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17351
17352 # Broken: fails on valid input.
17353 continue
17354 fi
17355
17356 rm -f conftest.err conftest.$ac_ext
17357
17358 # OK, works on sane cases. Now check whether nonexistent headers
17359 # can be detected and how.
17360 cat >conftest.$ac_ext <<_ACEOF
17361 /* confdefs.h. */
17362 _ACEOF
17363 cat confdefs.h >>conftest.$ac_ext
17364 cat >>conftest.$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17366 #include <ac_nonexistent.h>
17367 _ACEOF
17368 if { (ac_try="$ac_cpp conftest.$ac_ext"
17369 case "(($ac_try" in
17370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17371 *) ac_try_echo=$ac_try;;
17372 esac
17373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17375 ac_status=$?
17376 grep -v '^ *+' conftest.er1 >conftest.err
17377 rm -f conftest.er1
17378 cat conftest.err >&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } >/dev/null && {
17381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17382 test ! -s conftest.err
17383 }; then
17384 # Broken: success on invalid input.
17385 continue
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17389
17390 # Passes both tests.
17391 ac_preproc_ok=:
17392 break
17393 fi
17394
17395 rm -f conftest.err conftest.$ac_ext
17396
17397 done
17398 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17399 rm -f conftest.err conftest.$ac_ext
17400 if $ac_preproc_ok; then
17401 :
17402 else
17403 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17404 See \`config.log' for more details." >&5
17405 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17406 See \`config.log' for more details." >&2;}
17407 { (exit 1); exit 1; }; }
17408 fi
17409
17410 ac_ext=c
17411 ac_cpp='$CPP $CPPFLAGS'
17412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17415
17416
17417 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17418 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17419 if test "${ac_cv_path_GREP+set}" = set; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 else
17422 # Extract the first word of "grep ggrep" to use in msg output
17423 if test -z "$GREP"; then
17424 set dummy grep ggrep; ac_prog_name=$2
17425 if test "${ac_cv_path_GREP+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 ac_path_GREP_found=false
17429 # Loop through the user's path and test for each of PROGNAME-LIST
17430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17431 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17432 do
17433 IFS=$as_save_IFS
17434 test -z "$as_dir" && as_dir=.
17435 for ac_prog in grep ggrep; do
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17438 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17439 # Check for GNU ac_path_GREP and select it if it is found.
17440 # Check for GNU $ac_path_GREP
17441 case `"$ac_path_GREP" --version 2>&1` in
17442 *GNU*)
17443 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17444 *)
17445 ac_count=0
17446 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17447 while :
17448 do
17449 cat "conftest.in" "conftest.in" >"conftest.tmp"
17450 mv "conftest.tmp" "conftest.in"
17451 cp "conftest.in" "conftest.nl"
17452 echo 'GREP' >> "conftest.nl"
17453 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17454 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17455 ac_count=`expr $ac_count + 1`
17456 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17457 # Best one so far, save it but keep looking for a better one
17458 ac_cv_path_GREP="$ac_path_GREP"
17459 ac_path_GREP_max=$ac_count
17460 fi
17461 # 10*(2^10) chars as input seems more than enough
17462 test $ac_count -gt 10 && break
17463 done
17464 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17465 esac
17466
17467
17468 $ac_path_GREP_found && break 3
17469 done
17470 done
17471
17472 done
17473 IFS=$as_save_IFS
17474
17475
17476 fi
17477
17478 GREP="$ac_cv_path_GREP"
17479 if test -z "$GREP"; then
17480 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17481 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17482 { (exit 1); exit 1; }; }
17483 fi
17484
17485 else
17486 ac_cv_path_GREP=$GREP
17487 fi
17488
17489
17490 fi
17491 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17492 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17493 GREP="$ac_cv_path_GREP"
17494
17495
17496 { echo "$as_me:$LINENO: checking for egrep" >&5
17497 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17498 if test "${ac_cv_path_EGREP+set}" = set; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 else
17501 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17502 then ac_cv_path_EGREP="$GREP -E"
17503 else
17504 # Extract the first word of "egrep" to use in msg output
17505 if test -z "$EGREP"; then
17506 set dummy egrep; ac_prog_name=$2
17507 if test "${ac_cv_path_EGREP+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 else
17510 ac_path_EGREP_found=false
17511 # Loop through the user's path and test for each of PROGNAME-LIST
17512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17513 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17514 do
17515 IFS=$as_save_IFS
17516 test -z "$as_dir" && as_dir=.
17517 for ac_prog in egrep; do
17518 for ac_exec_ext in '' $ac_executable_extensions; do
17519 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17520 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17521 # Check for GNU ac_path_EGREP and select it if it is found.
17522 # Check for GNU $ac_path_EGREP
17523 case `"$ac_path_EGREP" --version 2>&1` in
17524 *GNU*)
17525 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17526 *)
17527 ac_count=0
17528 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17529 while :
17530 do
17531 cat "conftest.in" "conftest.in" >"conftest.tmp"
17532 mv "conftest.tmp" "conftest.in"
17533 cp "conftest.in" "conftest.nl"
17534 echo 'EGREP' >> "conftest.nl"
17535 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17536 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17537 ac_count=`expr $ac_count + 1`
17538 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17539 # Best one so far, save it but keep looking for a better one
17540 ac_cv_path_EGREP="$ac_path_EGREP"
17541 ac_path_EGREP_max=$ac_count
17542 fi
17543 # 10*(2^10) chars as input seems more than enough
17544 test $ac_count -gt 10 && break
17545 done
17546 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17547 esac
17548
17549
17550 $ac_path_EGREP_found && break 3
17551 done
17552 done
17553
17554 done
17555 IFS=$as_save_IFS
17556
17557
17558 fi
17559
17560 EGREP="$ac_cv_path_EGREP"
17561 if test -z "$EGREP"; then
17562 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17563 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17564 { (exit 1); exit 1; }; }
17565 fi
17566
17567 else
17568 ac_cv_path_EGREP=$EGREP
17569 fi
17570
17571
17572 fi
17573 fi
17574 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17575 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17576 EGREP="$ac_cv_path_EGREP"
17577
17578
17579 if test $ac_cv_c_compiler_gnu = yes; then
17580 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17581 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17582 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17583 echo $ECHO_N "(cached) $ECHO_C" >&6
17584 else
17585 ac_pattern="Autoconf.*'x'"
17586 cat >conftest.$ac_ext <<_ACEOF
17587 /* confdefs.h. */
17588 _ACEOF
17589 cat confdefs.h >>conftest.$ac_ext
17590 cat >>conftest.$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 #include <sgtty.h>
17593 Autoconf TIOCGETP
17594 _ACEOF
17595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17596 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17597 ac_cv_prog_gcc_traditional=yes
17598 else
17599 ac_cv_prog_gcc_traditional=no
17600 fi
17601 rm -f conftest*
17602
17603
17604 if test $ac_cv_prog_gcc_traditional = no; then
17605 cat >conftest.$ac_ext <<_ACEOF
17606 /* confdefs.h. */
17607 _ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 #include <termio.h>
17612 Autoconf TCGETA
17613 _ACEOF
17614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17615 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17616 ac_cv_prog_gcc_traditional=yes
17617 fi
17618 rm -f conftest*
17619
17620 fi
17621 fi
17622 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17623 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17624 if test $ac_cv_prog_gcc_traditional = yes; then
17625 CC="$CC -traditional"
17626 fi
17627 fi
17628
17629
17630 CXXFLAGS=${CXXFLAGS:=}
17631 ac_ext=cpp
17632 ac_cpp='$CXXCPP $CPPFLAGS'
17633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17636 if test -z "$CXX"; then
17637 if test -n "$CCC"; then
17638 CXX=$CCC
17639 else
17640 if test -n "$ac_tool_prefix"; then
17641 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17642 do
17643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17647 if test "${ac_cv_prog_CXX+set}" = set; then
17648 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 else
17650 if test -n "$CXX"; then
17651 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17652 else
17653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17654 for as_dir in $PATH
17655 do
17656 IFS=$as_save_IFS
17657 test -z "$as_dir" && as_dir=.
17658 for ac_exec_ext in '' $ac_executable_extensions; do
17659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17660 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17662 break 2
17663 fi
17664 done
17665 done
17666 IFS=$as_save_IFS
17667
17668 fi
17669 fi
17670 CXX=$ac_cv_prog_CXX
17671 if test -n "$CXX"; then
17672 { echo "$as_me:$LINENO: result: $CXX" >&5
17673 echo "${ECHO_T}$CXX" >&6; }
17674 else
17675 { echo "$as_me:$LINENO: result: no" >&5
17676 echo "${ECHO_T}no" >&6; }
17677 fi
17678
17679
17680 test -n "$CXX" && break
17681 done
17682 fi
17683 if test -z "$CXX"; then
17684 ac_ct_CXX=$CXX
17685 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17686 do
17687 # Extract the first word of "$ac_prog", so it can be a program name with args.
17688 set dummy $ac_prog; ac_word=$2
17689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17691 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 else
17694 if test -n "$ac_ct_CXX"; then
17695 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17696 else
17697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17698 for as_dir in $PATH
17699 do
17700 IFS=$as_save_IFS
17701 test -z "$as_dir" && as_dir=.
17702 for ac_exec_ext in '' $ac_executable_extensions; do
17703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17704 ac_cv_prog_ac_ct_CXX="$ac_prog"
17705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17706 break 2
17707 fi
17708 done
17709 done
17710 IFS=$as_save_IFS
17711
17712 fi
17713 fi
17714 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17715 if test -n "$ac_ct_CXX"; then
17716 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17717 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17718 else
17719 { echo "$as_me:$LINENO: result: no" >&5
17720 echo "${ECHO_T}no" >&6; }
17721 fi
17722
17723
17724 test -n "$ac_ct_CXX" && break
17725 done
17726
17727 if test "x$ac_ct_CXX" = x; then
17728 CXX="g++"
17729 else
17730 case $cross_compiling:$ac_tool_warned in
17731 yes:)
17732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17733 whose name does not start with the host triplet. If you think this
17734 configuration is useful to you, please write to autoconf@gnu.org." >&5
17735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17736 whose name does not start with the host triplet. If you think this
17737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17738 ac_tool_warned=yes ;;
17739 esac
17740 CXX=$ac_ct_CXX
17741 fi
17742 fi
17743
17744 fi
17745 fi
17746 # Provide some information about the compiler.
17747 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17748 ac_compiler=`set X $ac_compile; echo $2`
17749 { (ac_try="$ac_compiler --version >&5"
17750 case "(($ac_try" in
17751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17752 *) ac_try_echo=$ac_try;;
17753 esac
17754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17755 (eval "$ac_compiler --version >&5") 2>&5
17756 ac_status=$?
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }
17759 { (ac_try="$ac_compiler -v >&5"
17760 case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17762 *) ac_try_echo=$ac_try;;
17763 esac
17764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17765 (eval "$ac_compiler -v >&5") 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }
17769 { (ac_try="$ac_compiler -V >&5"
17770 case "(($ac_try" in
17771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17772 *) ac_try_echo=$ac_try;;
17773 esac
17774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17775 (eval "$ac_compiler -V >&5") 2>&5
17776 ac_status=$?
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }
17779
17780 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17781 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17782 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791
17792 int
17793 main ()
17794 {
17795 #ifndef __GNUC__
17796 choke me
17797 #endif
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest.$ac_objext; then
17820 ac_compiler_gnu=yes
17821 else
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17824
17825 ac_compiler_gnu=no
17826 fi
17827
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17830
17831 fi
17832 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17833 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17834 GXX=`test $ac_compiler_gnu = yes && echo yes`
17835 ac_test_CXXFLAGS=${CXXFLAGS+set}
17836 ac_save_CXXFLAGS=$CXXFLAGS
17837 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17838 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17839 if test "${ac_cv_prog_cxx_g+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17843 ac_cxx_werror_flag=yes
17844 ac_cv_prog_cxx_g=no
17845 CXXFLAGS="-g"
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852
17853 int
17854 main ()
17855 {
17856
17857 ;
17858 return 0;
17859 }
17860 _ACEOF
17861 rm -f conftest.$ac_objext
17862 if { (ac_try="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17866 esac
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_cxx_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 ac_cv_prog_cxx_g=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 CXXFLAGS=""
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890
17891 int
17892 main ()
17893 {
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17904 esac
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17907 ac_status=$?
17908 grep -v '^ *+' conftest.er1 >conftest.err
17909 rm -f conftest.er1
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_cxx_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.$ac_objext; then
17916 :
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17922 CXXFLAGS="-g"
17923 cat >conftest.$ac_ext <<_ACEOF
17924 /* confdefs.h. */
17925 _ACEOF
17926 cat confdefs.h >>conftest.$ac_ext
17927 cat >>conftest.$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17929
17930 int
17931 main ()
17932 {
17933
17934 ;
17935 return 0;
17936 }
17937 _ACEOF
17938 rm -f conftest.$ac_objext
17939 if { (ac_try="$ac_compile"
17940 case "(($ac_try" in
17941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17942 *) ac_try_echo=$ac_try;;
17943 esac
17944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17945 (eval "$ac_compile") 2>conftest.er1
17946 ac_status=$?
17947 grep -v '^ *+' conftest.er1 >conftest.err
17948 rm -f conftest.er1
17949 cat conftest.err >&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && {
17952 test -z "$ac_cxx_werror_flag" ||
17953 test ! -s conftest.err
17954 } && test -s conftest.$ac_objext; then
17955 ac_cv_prog_cxx_g=yes
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17959
17960
17961 fi
17962
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964 fi
17965
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 fi
17968
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17971 fi
17972 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17973 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17974 if test "$ac_test_CXXFLAGS" = set; then
17975 CXXFLAGS=$ac_save_CXXFLAGS
17976 elif test $ac_cv_prog_cxx_g = yes; then
17977 if test "$GXX" = yes; then
17978 CXXFLAGS="-g -O2"
17979 else
17980 CXXFLAGS="-g"
17981 fi
17982 else
17983 if test "$GXX" = yes; then
17984 CXXFLAGS="-O2"
17985 else
17986 CXXFLAGS=
17987 fi
17988 fi
17989 ac_ext=c
17990 ac_cpp='$CPP $CPPFLAGS'
17991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17994
17995
17996
17997
17998
17999
18000
18001
18002 ac_ext=cpp
18003 ac_cpp='$CXXCPP $CPPFLAGS'
18004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18007
18008 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18009 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18010 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 else
18013 cat >conftest.$ac_ext <<_ACEOF
18014 /* confdefs.h. */
18015 _ACEOF
18016 cat confdefs.h >>conftest.$ac_ext
18017 cat >>conftest.$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18019
18020 int
18021 main ()
18022 {
18023
18024 #ifndef __INTEL_COMPILER
18025 choke me
18026 #endif
18027
18028 ;
18029 return 0;
18030 }
18031 _ACEOF
18032 rm -f conftest.$ac_objext
18033 if { (ac_try="$ac_compile"
18034 case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_compile") 2>conftest.er1
18040 ac_status=$?
18041 grep -v '^ *+' conftest.er1 >conftest.err
18042 rm -f conftest.er1
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } && {
18046 test -z "$ac_cxx_werror_flag" ||
18047 test ! -s conftest.err
18048 } && test -s conftest.$ac_objext; then
18049 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18055
18056 fi
18057
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059
18060
18061 fi
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18064 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18065 :; INTELCXX=yes
18066 else
18067 :;
18068 fi
18069 ac_ext=c
18070 ac_cpp='$CPP $CPPFLAGS'
18071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18074
18075
18076
18077
18078 if test "$INTELCXX" = "yes"; then
18079
18080
18081 ac_ext=cpp
18082 ac_cpp='$CXXCPP $CPPFLAGS'
18083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18086
18087 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18088 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18089 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 else
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098
18099 int
18100 main ()
18101 {
18102
18103 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18104 choke me
18105 #endif
18106
18107 ;
18108 return 0;
18109 }
18110 _ACEOF
18111 rm -f conftest.$ac_objext
18112 if { (ac_try="$ac_compile"
18113 case "(($ac_try" in
18114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18115 *) ac_try_echo=$ac_try;;
18116 esac
18117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18118 (eval "$ac_compile") 2>conftest.er1
18119 ac_status=$?
18120 grep -v '^ *+' conftest.er1 >conftest.err
18121 rm -f conftest.er1
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } && {
18125 test -z "$ac_cxx_werror_flag" ||
18126 test ! -s conftest.err
18127 } && test -s conftest.$ac_objext; then
18128 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18129 else
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18132
18133 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18134
18135 fi
18136
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138
18139
18140 fi
18141 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18142 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18143 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18144 :; INTELCXX8=yes
18145 else
18146 :;
18147 fi
18148 ac_ext=c
18149 ac_cpp='$CPP $CPPFLAGS'
18150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18153
18154
18155
18156
18157
18158 ac_ext=cpp
18159 ac_cpp='$CXXCPP $CPPFLAGS'
18160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18163
18164 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18165 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18166 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 else
18169 cat >conftest.$ac_ext <<_ACEOF
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175
18176 int
18177 main ()
18178 {
18179
18180 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18181 choke me
18182 #endif
18183
18184 ;
18185 return 0;
18186 }
18187 _ACEOF
18188 rm -f conftest.$ac_objext
18189 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in
18191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18192 *) ac_try_echo=$ac_try;;
18193 esac
18194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 (eval "$ac_compile") 2>conftest.er1
18196 ac_status=$?
18197 grep -v '^ *+' conftest.er1 >conftest.err
18198 rm -f conftest.er1
18199 cat conftest.err >&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } && {
18202 test -z "$ac_cxx_werror_flag" ||
18203 test ! -s conftest.err
18204 } && test -s conftest.$ac_objext; then
18205 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18209
18210 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18211
18212 fi
18213
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215
18216
18217 fi
18218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18220 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18221 :; INTELCXX10=yes
18222 else
18223 :;
18224 fi
18225 ac_ext=c
18226 ac_cpp='$CPP $CPPFLAGS'
18227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18230
18231
18232
18233 fi
18234
18235 if test "x$GCXX" != "xyes"; then
18236 if test "xCXX" = "xC"; then
18237 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18238 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18239 if test "${bakefile_cv_c_exto+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 else
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248
18249 int
18250 main ()
18251 {
18252
18253 ;
18254 return 0;
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext conftest.$ac_ext.o
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; then
18263 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18264 case $ac_file in
18265 conftest.$ac_ext.o)
18266 bakefile_cv_c_exto="-ext o"
18267 ;;
18268 *)
18269 ;;
18270 esac
18271 done
18272 else
18273 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18274 See \`config.log' for more details." >&5
18275 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18276 See \`config.log' for more details." >&2;}
18277 { (exit 1); exit 1; }; }
18278
18279 fi
18280
18281 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18282
18283 fi
18284 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18285 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18286 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18287 if test "c" = "c"; then
18288 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18289 fi
18290 if test "c" = "cxx"; then
18291 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18292 fi
18293 fi
18294
18295 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18296 unset ac_cv_prog_cc_g
18297 ac_test_CFLAGS=${CFLAGS+set}
18298 ac_save_CFLAGS=$CFLAGS
18299 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18300 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18301 if test "${ac_cv_prog_cc_g+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 else
18304 ac_save_c_werror_flag=$ac_c_werror_flag
18305 ac_c_werror_flag=yes
18306 ac_cv_prog_cc_g=no
18307 CFLAGS="-g"
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314
18315 int
18316 main ()
18317 {
18318
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext
18324 if { (ac_try="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18328 esac
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18331 ac_status=$?
18332 grep -v '^ *+' conftest.er1 >conftest.err
18333 rm -f conftest.er1
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_c_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_prog_cc_g=yes
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 CFLAGS=""
18346 cat >conftest.$ac_ext <<_ACEOF
18347 /* confdefs.h. */
18348 _ACEOF
18349 cat confdefs.h >>conftest.$ac_ext
18350 cat >>conftest.$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18352
18353 int
18354 main ()
18355 {
18356
18357 ;
18358 return 0;
18359 }
18360 _ACEOF
18361 rm -f conftest.$ac_objext
18362 if { (ac_try="$ac_compile"
18363 case "(($ac_try" in
18364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18365 *) ac_try_echo=$ac_try;;
18366 esac
18367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18368 (eval "$ac_compile") 2>conftest.er1
18369 ac_status=$?
18370 grep -v '^ *+' conftest.er1 >conftest.err
18371 rm -f conftest.er1
18372 cat conftest.err >&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } && {
18375 test -z "$ac_c_werror_flag" ||
18376 test ! -s conftest.err
18377 } && test -s conftest.$ac_objext; then
18378 :
18379 else
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18382
18383 ac_c_werror_flag=$ac_save_c_werror_flag
18384 CFLAGS="-g"
18385 cat >conftest.$ac_ext <<_ACEOF
18386 /* confdefs.h. */
18387 _ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391
18392 int
18393 main ()
18394 {
18395
18396 ;
18397 return 0;
18398 }
18399 _ACEOF
18400 rm -f conftest.$ac_objext
18401 if { (ac_try="$ac_compile"
18402 case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18405 esac
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_compile") 2>conftest.er1
18408 ac_status=$?
18409 grep -v '^ *+' conftest.er1 >conftest.err
18410 rm -f conftest.er1
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } && {
18414 test -z "$ac_c_werror_flag" ||
18415 test ! -s conftest.err
18416 } && test -s conftest.$ac_objext; then
18417 ac_cv_prog_cc_g=yes
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422
18423 fi
18424
18425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426 fi
18427
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 fi
18430
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 ac_c_werror_flag=$ac_save_c_werror_flag
18433 fi
18434 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18435 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18436 if test "$ac_test_CFLAGS" = set; then
18437 CFLAGS=$ac_save_CFLAGS
18438 elif test $ac_cv_prog_cc_g = yes; then
18439 if test "$GCC" = yes; then
18440 CFLAGS="-g -O2"
18441 else
18442 CFLAGS="-g"
18443 fi
18444 else
18445 if test "$GCC" = yes; then
18446 CFLAGS="-O2"
18447 else
18448 CFLAGS=
18449 fi
18450 fi
18451 fi
18452 fi
18453
18454 case `uname -s` in
18455 AIX*)
18456
18457
18458 ac_ext=cpp
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463
18464 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18465 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18466 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 else
18469 cat >conftest.$ac_ext <<_ACEOF
18470 /* confdefs.h. */
18471 _ACEOF
18472 cat confdefs.h >>conftest.$ac_ext
18473 cat >>conftest.$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475
18476 int
18477 main ()
18478 {
18479
18480 #ifndef __xlC__
18481 choke me
18482 #endif
18483
18484 ;
18485 return 0;
18486 }
18487 _ACEOF
18488 rm -f conftest.$ac_objext
18489 if { (ac_try="$ac_compile"
18490 case "(($ac_try" in
18491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18492 *) ac_try_echo=$ac_try;;
18493 esac
18494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18495 (eval "$ac_compile") 2>conftest.er1
18496 ac_status=$?
18497 grep -v '^ *+' conftest.er1 >conftest.err
18498 rm -f conftest.er1
18499 cat conftest.err >&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); } && {
18502 test -z "$ac_cxx_werror_flag" ||
18503 test ! -s conftest.err
18504 } && test -s conftest.$ac_objext; then
18505 bakefile_cv_cxx_compiler___xlC__=yes
18506 else
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18509
18510 bakefile_cv_cxx_compiler___xlC__=no
18511
18512 fi
18513
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18515
18516
18517 fi
18518 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18519 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18520 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18521 :; XLCXX=yes
18522 else
18523 :;
18524 fi
18525 ac_ext=c
18526 ac_cpp='$CPP $CPPFLAGS'
18527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18530
18531
18532
18533 ;;
18534
18535 Darwin)
18536
18537
18538 ac_ext=cpp
18539 ac_cpp='$CXXCPP $CPPFLAGS'
18540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543
18544 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18545 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18546 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
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 #ifndef __MWERKS__
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_cxx_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 bakefile_cv_cxx_compiler___MWERKS__=yes
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18589
18590 bakefile_cv_cxx_compiler___MWERKS__=no
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: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18599 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18600 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18601 :; MWCXX=yes
18602 else
18603 :;
18604 fi
18605 ac_ext=c
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18610
18611
18612
18613 if test "$MWCXX" != "yes"; then
18614
18615
18616 ac_ext=cpp
18617 ac_cpp='$CXXCPP $CPPFLAGS'
18618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18621
18622 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18623 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18624 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 else
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633
18634 int
18635 main ()
18636 {
18637
18638 #ifndef __xlC__
18639 choke me
18640 #endif
18641
18642 ;
18643 return 0;
18644 }
18645 _ACEOF
18646 rm -f conftest.$ac_objext
18647 if { (ac_try="$ac_compile"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18651 esac
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_compile") 2>conftest.er1
18654 ac_status=$?
18655 grep -v '^ *+' conftest.er1 >conftest.err
18656 rm -f conftest.er1
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } && {
18660 test -z "$ac_cxx_werror_flag" ||
18661 test ! -s conftest.err
18662 } && test -s conftest.$ac_objext; then
18663 bakefile_cv_cxx_compiler___xlC__=yes
18664 else
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18667
18668 bakefile_cv_cxx_compiler___xlC__=no
18669
18670 fi
18671
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18673
18674
18675 fi
18676 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18677 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18678 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18679 :; XLCXX=yes
18680 else
18681 :;
18682 fi
18683 ac_ext=c
18684 ac_cpp='$CPP $CPPFLAGS'
18685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18688
18689
18690
18691 fi
18692 ;;
18693
18694 IRIX*)
18695
18696
18697 ac_ext=cpp
18698 ac_cpp='$CXXCPP $CPPFLAGS'
18699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18702
18703 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18704 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18705 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 else
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714
18715 int
18716 main ()
18717 {
18718
18719 #ifndef _SGI_COMPILER_VERSION
18720 choke me
18721 #endif
18722
18723 ;
18724 return 0;
18725 }
18726 _ACEOF
18727 rm -f conftest.$ac_objext
18728 if { (ac_try="$ac_compile"
18729 case "(($ac_try" in
18730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18731 *) ac_try_echo=$ac_try;;
18732 esac
18733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18734 (eval "$ac_compile") 2>conftest.er1
18735 ac_status=$?
18736 grep -v '^ *+' conftest.er1 >conftest.err
18737 rm -f conftest.er1
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } && {
18741 test -z "$ac_cxx_werror_flag" ||
18742 test ! -s conftest.err
18743 } && test -s conftest.$ac_objext; then
18744 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18745 else
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.$ac_ext >&5
18748
18749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18750
18751 fi
18752
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754
18755
18756 fi
18757 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18758 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18759 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18760 :; SGICXX=yes
18761 else
18762 :;
18763 fi
18764 ac_ext=c
18765 ac_cpp='$CPP $CPPFLAGS'
18766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18769
18770
18771
18772 ;;
18773
18774 Linux*)
18775 if test "$INTELCXX" != "yes"; then
18776
18777
18778 ac_ext=cpp
18779 ac_cpp='$CXXCPP $CPPFLAGS'
18780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18783
18784 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18785 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18786 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 else
18789 cat >conftest.$ac_ext <<_ACEOF
18790 /* confdefs.h. */
18791 _ACEOF
18792 cat confdefs.h >>conftest.$ac_ext
18793 cat >>conftest.$ac_ext <<_ACEOF
18794 /* end confdefs.h. */
18795
18796 int
18797 main ()
18798 {
18799
18800 #ifndef __SUNPRO_CC
18801 choke me
18802 #endif
18803
18804 ;
18805 return 0;
18806 }
18807 _ACEOF
18808 rm -f conftest.$ac_objext
18809 if { (ac_try="$ac_compile"
18810 case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 *) ac_try_echo=$ac_try;;
18813 esac
18814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18815 (eval "$ac_compile") 2>conftest.er1
18816 ac_status=$?
18817 grep -v '^ *+' conftest.er1 >conftest.err
18818 rm -f conftest.er1
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } && {
18822 test -z "$ac_cxx_werror_flag" ||
18823 test ! -s conftest.err
18824 } && test -s conftest.$ac_objext; then
18825 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18826 else
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18829
18830 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18831
18832 fi
18833
18834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835
18836
18837 fi
18838 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18839 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18840 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18841 :; SUNCXX=yes
18842 else
18843 :;
18844 fi
18845 ac_ext=c
18846 ac_cpp='$CPP $CPPFLAGS'
18847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18850
18851
18852
18853 fi
18854 ;;
18855
18856 HP-UX*)
18857
18858
18859 ac_ext=cpp
18860 ac_cpp='$CXXCPP $CPPFLAGS'
18861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18864
18865 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18866 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18867 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18868 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 else
18870 cat >conftest.$ac_ext <<_ACEOF
18871 /* confdefs.h. */
18872 _ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876
18877 int
18878 main ()
18879 {
18880
18881 #ifndef __HP_aCC
18882 choke me
18883 #endif
18884
18885 ;
18886 return 0;
18887 }
18888 _ACEOF
18889 rm -f conftest.$ac_objext
18890 if { (ac_try="$ac_compile"
18891 case "(($ac_try" in
18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18894 esac
18895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18896 (eval "$ac_compile") 2>conftest.er1
18897 ac_status=$?
18898 grep -v '^ *+' conftest.er1 >conftest.err
18899 rm -f conftest.er1
18900 cat conftest.err >&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); } && {
18903 test -z "$ac_cxx_werror_flag" ||
18904 test ! -s conftest.err
18905 } && test -s conftest.$ac_objext; then
18906 bakefile_cv_cxx_compiler___HP_aCC=yes
18907 else
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18910
18911 bakefile_cv_cxx_compiler___HP_aCC=no
18912
18913 fi
18914
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18916
18917
18918 fi
18919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18921 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18922 :; HPCXX=yes
18923 else
18924 :;
18925 fi
18926 ac_ext=c
18927 ac_cpp='$CPP $CPPFLAGS'
18928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18931
18932
18933
18934 ;;
18935
18936 OSF1)
18937
18938
18939 ac_ext=cpp
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18944
18945 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18946 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18947 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18948 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 else
18950 cat >conftest.$ac_ext <<_ACEOF
18951 /* confdefs.h. */
18952 _ACEOF
18953 cat confdefs.h >>conftest.$ac_ext
18954 cat >>conftest.$ac_ext <<_ACEOF
18955 /* end confdefs.h. */
18956
18957 int
18958 main ()
18959 {
18960
18961 #ifndef __DECCXX
18962 choke me
18963 #endif
18964
18965 ;
18966 return 0;
18967 }
18968 _ACEOF
18969 rm -f conftest.$ac_objext
18970 if { (ac_try="$ac_compile"
18971 case "(($ac_try" in
18972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18973 *) ac_try_echo=$ac_try;;
18974 esac
18975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18976 (eval "$ac_compile") 2>conftest.er1
18977 ac_status=$?
18978 grep -v '^ *+' conftest.er1 >conftest.err
18979 rm -f conftest.er1
18980 cat conftest.err >&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } && {
18983 test -z "$ac_cxx_werror_flag" ||
18984 test ! -s conftest.err
18985 } && test -s conftest.$ac_objext; then
18986 bakefile_cv_cxx_compiler___DECCXX=yes
18987 else
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18990
18991 bakefile_cv_cxx_compiler___DECCXX=no
18992
18993 fi
18994
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996
18997
18998 fi
18999 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19000 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19001 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19002 :; COMPAQCXX=yes
19003 else
19004 :;
19005 fi
19006 ac_ext=c
19007 ac_cpp='$CPP $CPPFLAGS'
19008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19011
19012
19013
19014 ;;
19015
19016 SunOS)
19017
19018
19019 ac_ext=cpp
19020 ac_cpp='$CXXCPP $CPPFLAGS'
19021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19024
19025 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19026 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19027 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19028 echo $ECHO_N "(cached) $ECHO_C" >&6
19029 else
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036
19037 int
19038 main ()
19039 {
19040
19041 #ifndef __SUNPRO_CC
19042 choke me
19043 #endif
19044
19045 ;
19046 return 0;
19047 }
19048 _ACEOF
19049 rm -f conftest.$ac_objext
19050 if { (ac_try="$ac_compile"
19051 case "(($ac_try" in
19052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19054 esac
19055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19056 (eval "$ac_compile") 2>conftest.er1
19057 ac_status=$?
19058 grep -v '^ *+' conftest.er1 >conftest.err
19059 rm -f conftest.er1
19060 cat conftest.err >&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); } && {
19063 test -z "$ac_cxx_werror_flag" ||
19064 test ! -s conftest.err
19065 } && test -s conftest.$ac_objext; then
19066 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19067 else
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.$ac_ext >&5
19070
19071 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19072
19073 fi
19074
19075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19076
19077
19078 fi
19079 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19080 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19081 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19082 :; SUNCXX=yes
19083 else
19084 :;
19085 fi
19086 ac_ext=c
19087 ac_cpp='$CPP $CPPFLAGS'
19088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19091
19092
19093
19094 ;;
19095 esac
19096 fi
19097
19098
19099
19100 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19101 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19102 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19103 { (exit 1); exit 1; }; }
19104 fi
19105
19106 if test "x$SUNCXX" != xyes; then
19107 if test -n "$ac_tool_prefix"; then
19108 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19109 set dummy ${ac_tool_prefix}ar; ac_word=$2
19110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19112 if test "${ac_cv_prog_AR+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 else
19115 if test -n "$AR"; then
19116 ac_cv_prog_AR="$AR" # Let the user override the test.
19117 else
19118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19119 for as_dir in $PATH
19120 do
19121 IFS=$as_save_IFS
19122 test -z "$as_dir" && as_dir=.
19123 for ac_exec_ext in '' $ac_executable_extensions; do
19124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19125 ac_cv_prog_AR="${ac_tool_prefix}ar"
19126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19127 break 2
19128 fi
19129 done
19130 done
19131 IFS=$as_save_IFS
19132
19133 fi
19134 fi
19135 AR=$ac_cv_prog_AR
19136 if test -n "$AR"; then
19137 { echo "$as_me:$LINENO: result: $AR" >&5
19138 echo "${ECHO_T}$AR" >&6; }
19139 else
19140 { echo "$as_me:$LINENO: result: no" >&5
19141 echo "${ECHO_T}no" >&6; }
19142 fi
19143
19144
19145 fi
19146 if test -z "$ac_cv_prog_AR"; then
19147 ac_ct_AR=$AR
19148 # Extract the first word of "ar", so it can be a program name with args.
19149 set dummy ar; ac_word=$2
19150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19152 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 else
19155 if test -n "$ac_ct_AR"; then
19156 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19157 else
19158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19159 for as_dir in $PATH
19160 do
19161 IFS=$as_save_IFS
19162 test -z "$as_dir" && as_dir=.
19163 for ac_exec_ext in '' $ac_executable_extensions; do
19164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19165 ac_cv_prog_ac_ct_AR="ar"
19166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19167 break 2
19168 fi
19169 done
19170 done
19171 IFS=$as_save_IFS
19172
19173 fi
19174 fi
19175 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19176 if test -n "$ac_ct_AR"; then
19177 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19178 echo "${ECHO_T}$ac_ct_AR" >&6; }
19179 else
19180 { echo "$as_me:$LINENO: result: no" >&5
19181 echo "${ECHO_T}no" >&6; }
19182 fi
19183
19184 if test "x$ac_ct_AR" = x; then
19185 AR=""
19186 else
19187 case $cross_compiling:$ac_tool_warned in
19188 yes:)
19189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19190 whose name does not start with the host triplet. If you think this
19191 configuration is useful to you, please write to autoconf@gnu.org." >&5
19192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19193 whose name does not start with the host triplet. If you think this
19194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19195 ac_tool_warned=yes ;;
19196 esac
19197 AR=$ac_ct_AR
19198 fi
19199 else
19200 AR="$ac_cv_prog_AR"
19201 fi
19202
19203 if test "x$AR" = "x" ; then
19204 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19205 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19206 { (exit 1); exit 1; }; }
19207 fi
19208 fi
19209
19210
19211 if test "$wxUSE_MAC" = 1; then
19212
19213 retest_macosx_linking=no
19214
19215 OSX_ARCH_OPTS=""
19216
19217 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19218 if test "x$wxUSE_MAC_ARCH" != xno; then
19219 { echo "$as_me:$LINENO: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19220 echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19221 fi
19222
19223 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19224 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19225 else OSX_ARCH_OPTS="ppc,i386"
19226 if test "$wxUSE_OSX_COCOA" = 1; then
19227 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19228 fi
19229 fi
19230
19231 { echo "$as_me:$LINENO: checking for architectures to use in universal binary" >&5
19232 echo $ECHO_N "checking for architectures to use in universal binary... $ECHO_C" >&6; }
19233 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19234 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19235
19236 retest_macosx_linking=yes
19237
19238 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19239 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19240 bk_use_pch=no
19241 else
19242 if test "x$wxUSE_MAC_ARCH" != xno; then
19243 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19244 fi
19245 fi
19246
19247 if test "x$OSX_ARCH_OPTS" != "x"; then
19248 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19249
19250 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19251 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19252 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19253 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19254 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19255 fi
19256
19257 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19258 wxUSE_MACOSX_SDK=
19259 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19260 # TODO: Search for most recent SDK and use it.
19261 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19262 fi
19263
19264
19265 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19266 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19267 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19268 if ! test -d "$wxUSE_MACOSX_SDK"; then
19269 { { echo "$as_me:$LINENO: error: not found
19270 See \`config.log' for more details." >&5
19271 echo "$as_me: error: not found
19272 See \`config.log' for more details." >&2;}
19273 { (exit 1); exit 1; }; }
19274 else
19275 { echo "$as_me:$LINENO: result: exists" >&5
19276 echo "${ECHO_T}exists" >&6; }
19277 fi
19278 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19279 retest_macosx_linking=yes
19280 fi
19281
19282 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19283 wxUSE_MACOSX_VERSION_MIN=
19284 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19285 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19286 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19287 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19288
19289 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/'`
19290
19291 # If that failed, try again with the new key
19292 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19293
19294 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/'`
19295
19296 fi
19297
19298 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19299 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19300 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19301 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19302 else
19303 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19304 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19305 wxUSE_MACOSX_VERSION_MIN=
19306 fi
19307 else
19308 wxUSE_MACOSX_VERSION_MIN=
19309 fi
19310 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19311 for ac_prog in sw_vers
19312 do
19313 # Extract the first word of "$ac_prog", so it can be a program name with args.
19314 set dummy $ac_prog; ac_word=$2
19315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19317 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19318 echo $ECHO_N "(cached) $ECHO_C" >&6
19319 else
19320 if test -n "$OSX_SW_VERS"; then
19321 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19322 else
19323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19324 for as_dir in $PATH
19325 do
19326 IFS=$as_save_IFS
19327 test -z "$as_dir" && as_dir=.
19328 for ac_exec_ext in '' $ac_executable_extensions; do
19329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19330 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19332 break 2
19333 fi
19334 done
19335 done
19336 IFS=$as_save_IFS
19337
19338 fi
19339 fi
19340 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19341 if test -n "$OSX_SW_VERS"; then
19342 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19343 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19344 else
19345 { echo "$as_me:$LINENO: result: no" >&5
19346 echo "${ECHO_T}no" >&6; }
19347 fi
19348
19349
19350 test -n "$OSX_SW_VERS" && break
19351 done
19352
19353 if test "$OSX_SW_VERS" != ""; then
19354 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19355 else
19356 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19357 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19358 OSX_VERSION="10.4"
19359 fi
19360
19361 case "$OSX_VERSION" in
19362 10.4* )
19363 wxUSE_MACOSX_VERSION_MIN=10.4
19364 ;;
19365
19366 * )
19367 if test "$wxUSE_OSX_CARBON" = 1; then
19368 # otherwise configure stops on leopard for universal_binary
19369 wxUSE_MACOSX_VERSION_MIN=10.4
19370 else
19371 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19372 wxUSE_MACOSX_VERSION_MIN=10.5
19373 fi
19374 ;;
19375 esac
19376 fi
19377
19378 NEEDS_GCC40="no"
19379 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19380 NEEDS_GCC40="yes"
19381 fi
19382
19383 if test "$wxUSE_OSX_CARBON" = 1; then
19384 NEEDS_GCC40="yes"
19385 fi
19386
19387 if test "x$NEEDS_GCC40" == "xyes"; then
19388 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19389 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19390 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19391 if test "x$CC" = "xgcc"; then
19392 CCVERSION=`$CC --version | grep 4.[2-9].`
19393 if test "x$CCVERSION" != "x"; then
19394 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19395 CC="gcc-4.0"
19396 fi
19397 fi
19398
19399 if test "x$CXX" = "xg++"; then
19400 CCVERSION=`$CXX --version | grep 4.[2-9].`
19401 if test "x$CCVERSION" != "x"; then
19402 CXX="g++-4.0"
19403 fi
19404 fi
19405 fi
19406
19407 if test "x$MACOSX_SDK_OPTS" != "x"; then
19408 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19409 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19410 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19411 fi
19412
19413 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19414 if test "$wxUSE_OSX_IPHONE" = 1; then
19415 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19416 else
19417 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19418 fi
19419 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19420 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19421 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19422 retest_macosx_linking=yes
19423 fi
19424
19425 if test "x$retest_macosx_linking" = "xyes"; then
19426 ac_ext=c
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431
19432 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19433 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19434 cat >conftest.$ac_ext <<_ACEOF
19435 /* confdefs.h. */
19436 _ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440
19441 int
19442 main ()
19443 {
19444
19445 ;
19446 return 0;
19447 }
19448 _ACEOF
19449 rm -f conftest.$ac_objext conftest$ac_exeext
19450 if { (ac_try="$ac_link"
19451 case "(($ac_try" in
19452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19453 *) ac_try_echo=$ac_try;;
19454 esac
19455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19456 (eval "$ac_link") 2>conftest.er1
19457 ac_status=$?
19458 grep -v '^ *+' conftest.er1 >conftest.err
19459 rm -f conftest.er1
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } && {
19463 test -z "$ac_c_werror_flag" ||
19464 test ! -s conftest.err
19465 } && test -s conftest$ac_exeext &&
19466 $as_test_x conftest$ac_exeext; then
19467 { echo "$as_me:$LINENO: result: yes" >&5
19468 echo "${ECHO_T}yes" >&6; }
19469 else
19470 echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19472
19473 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19474 See \`config.log' for more details." >&5
19475 echo "$as_me: error: no. Try a different SDK
19476 See \`config.log' for more details." >&2;}
19477 { (exit 1); exit 1; }; }; exit 1
19478 fi
19479
19480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19481 conftest$ac_exeext conftest.$ac_ext
19482 ac_ext=c
19483 ac_cpp='$CPP $CPPFLAGS'
19484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19487
19488
19489 ac_ext=cpp
19490 ac_cpp='$CXXCPP $CPPFLAGS'
19491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19494
19495 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19496 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19497 cat >conftest.$ac_ext <<_ACEOF
19498 /* confdefs.h. */
19499 _ACEOF
19500 cat confdefs.h >>conftest.$ac_ext
19501 cat >>conftest.$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19503
19504 int
19505 main ()
19506 {
19507
19508 ;
19509 return 0;
19510 }
19511 _ACEOF
19512 rm -f conftest.$ac_objext conftest$ac_exeext
19513 if { (ac_try="$ac_link"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19517 esac
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_link") 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_cxx_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest$ac_exeext &&
19529 $as_test_x conftest$ac_exeext; then
19530 { echo "$as_me:$LINENO: result: yes" >&5
19531 echo "${ECHO_T}yes" >&6; }
19532 else
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.$ac_ext >&5
19535
19536 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19537 See \`config.log' for more details." >&5
19538 echo "$as_me: error: no. Try a different SDK
19539 See \`config.log' for more details." >&2;}
19540 { (exit 1); exit 1; }; }; exit 1
19541 fi
19542
19543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19544 conftest$ac_exeext conftest.$ac_ext
19545 ac_ext=c
19546 ac_cpp='$CPP $CPPFLAGS'
19547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19550
19551 fi
19552
19553 fi
19554 case "${host}" in
19555
19556 *-*-darwin* )
19557 INSTALL_PROGRAM="cp -fp"
19558 INSTALL_DATA="cp -fp"
19559 ;;
19560 *)
19561 ;;
19562 esac
19563
19564
19565 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19566 cat >>confdefs.h <<\_ACEOF
19567 #define _GNU_SOURCE 1
19568 _ACEOF
19569
19570
19571 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19572 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19573 fi
19574
19575 if test "x$USE_AIX" = "x1"; then
19576 if test "x$XLCXX" = "xyes"; then
19577 CXXFLAGS="-qunique $CXXFLAGS"
19578 fi
19579
19580 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19581 fi
19582
19583 case "${host}" in
19584 powerpc-*-darwin* )
19585 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19586 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19587 cat >conftest.$ac_ext <<_ACEOF
19588 /* confdefs.h. */
19589 _ACEOF
19590 cat confdefs.h >>conftest.$ac_ext
19591 cat >>conftest.$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19593
19594 int
19595 main ()
19596 {
19597 #ifndef __POWERPC__
19598 choke me for lack of PowerPC
19599 #endif
19600
19601 ;
19602 return 0;
19603 }
19604 _ACEOF
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19610 esac
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19613 ac_status=$?
19614 grep -v '^ *+' conftest.er1 >conftest.err
19615 rm -f conftest.er1
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 { echo "$as_me:$LINENO: result: yes" >&5
19623 echo "${ECHO_T}yes" >&6; }
19624 else
19625 echo "$as_me: failed program was:" >&5
19626 sed 's/^/| /' conftest.$ac_ext >&5
19627
19628 { echo "$as_me:$LINENO: result: no" >&5
19629 echo "${ECHO_T}no" >&6; }
19630 cat >>confdefs.h <<\_ACEOF
19631 #define __POWERPC__ 1
19632 _ACEOF
19633
19634
19635 fi
19636
19637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19638 ;;
19639 esac
19640
19641 case "${host}" in
19642 *-*-darwin* )
19643 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19644 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19645 cat >conftest.$ac_ext <<_ACEOF
19646 /* confdefs.h. */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <CoreFoundation/CFBase.h>
19652
19653 int
19654 main ()
19655 {
19656
19657 ;
19658 return 0;
19659 }
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (ac_try="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19666 esac
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19669 ac_status=$?
19670 grep -v '^ *+' conftest.er1 >conftest.err
19671 rm -f conftest.er1
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 { echo "$as_me:$LINENO: result: yes" >&5
19679 echo "${ECHO_T}yes" >&6; }
19680 else
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19683
19684 { echo "$as_me:$LINENO: result: no" >&5
19685 echo "${ECHO_T}no" >&6; }
19686 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19687 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19688 cat >conftest.$ac_ext <<_ACEOF
19689 /* confdefs.h. */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 #define __CF_USE_FRAMEWORK_INCLUDES__
19695 #include <CoreFoundation/CFBase.h>
19696
19697 int
19698 main ()
19699 {
19700
19701 ;
19702 return 0;
19703 }
19704 _ACEOF
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19710 esac
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_c_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.$ac_objext; then
19722 { echo "$as_me:$LINENO: result: yes" >&5
19723 echo "${ECHO_T}yes" >&6; }
19724 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19725 else
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.$ac_ext >&5
19728
19729 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19730 See \`config.log' for more details." >&5
19731 echo "$as_me: error: no. CoreFoundation not available.
19732 See \`config.log' for more details." >&2;}
19733 { (exit 1); exit 1; }; }
19734
19735 fi
19736
19737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19738
19739
19740 fi
19741
19742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19743 ;;
19744 esac
19745
19746 wants_win32=0
19747 doesnt_want_win32=0
19748 case "${host}" in
19749 *-*-cygwin*)
19750 if test "$wxUSE_MSW" = 1 ; then
19751 wants_win32=1
19752 else
19753 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19754 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19755 if test "${wx_cv_nocygwin+set}" = set; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 else
19758
19759 cat >conftest.$ac_ext <<_ACEOF
19760 /* confdefs.h. */
19761 _ACEOF
19762 cat confdefs.h >>conftest.$ac_ext
19763 cat >>conftest.$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19765
19766 int
19767 main ()
19768 {
19769
19770 #ifdef __MINGW32__
19771 choke me
19772 #endif
19773
19774 ;
19775 return 0;
19776 }
19777 _ACEOF
19778 rm -f conftest.$ac_objext
19779 if { (ac_try="$ac_compile"
19780 case "(($ac_try" in
19781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19783 esac
19784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19785 (eval "$ac_compile") 2>conftest.er1
19786 ac_status=$?
19787 grep -v '^ *+' conftest.er1 >conftest.err
19788 rm -f conftest.er1
19789 cat conftest.err >&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } && {
19792 test -z "$ac_c_werror_flag" ||
19793 test ! -s conftest.err
19794 } && test -s conftest.$ac_objext; then
19795 wx_cv_nocygwin=no
19796 else
19797 echo "$as_me: failed program was:" >&5
19798 sed 's/^/| /' conftest.$ac_ext >&5
19799
19800 wx_cv_nocygwin=yes
19801
19802 fi
19803
19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19805
19806
19807 fi
19808 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19810
19811 if test "$wx_cv_nocygwin" = "yes"; then
19812 wants_win32=1
19813 else
19814 doesnt_want_win32=1
19815 fi
19816 fi
19817 if test "$wants_win32" = 1 ; then
19818 BAKEFILE_FORCE_PLATFORM=win32
19819 fi
19820 ;;
19821 *-*-mingw*)
19822 wants_win32=1
19823 ;;
19824 esac
19825
19826 if test "$wxUSE_WINE" = "yes"; then
19827 wants_win32=1
19828 LDFLAGS_GUI="-mwindows"
19829 fi
19830
19831 if test "$wants_win32" = 1 ; then
19832 USE_UNIX=0
19833 USE_WIN32=1
19834 cat >>confdefs.h <<\_ACEOF
19835 #define __WIN32__ 1
19836 _ACEOF
19837
19838 cat >>confdefs.h <<\_ACEOF
19839 #define __WIN95__ 1
19840 _ACEOF
19841
19842 cat >>confdefs.h <<\_ACEOF
19843 #define __WINDOWS__ 1
19844 _ACEOF
19845
19846 cat >>confdefs.h <<\_ACEOF
19847 #define __GNUWIN32__ 1
19848 _ACEOF
19849
19850 cat >>confdefs.h <<\_ACEOF
19851 #define STRICT 1
19852 _ACEOF
19853
19854 fi
19855 if test "$doesnt_want_win32" = 1 ; then
19856 USE_UNIX=1
19857 USE_WIN32=0
19858 fi
19859
19860 if test "$USE_UNIX" = 1 ; then
19861 wxUSE_UNIX=yes
19862 cat >>confdefs.h <<\_ACEOF
19863 #define __UNIX__ 1
19864 _ACEOF
19865
19866 fi
19867
19868 case "${host}" in
19869 *-pc-os2_emx | *-pc-os2-emx )
19870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19871 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19872 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 else
19876 ac_check_lib_save_LIBS=$LIBS
19877 LIBS="-lcExt $LIBS"
19878 cat >conftest.$ac_ext <<_ACEOF
19879 /* confdefs.h. */
19880 _ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884
19885 /* Override any GCC internal prototype to avoid an error.
19886 Use char because int might match the return type of a GCC
19887 builtin and then its argument prototype would still apply. */
19888 #ifdef __cplusplus
19889 extern "C"
19890 #endif
19891 char drand48 ();
19892 int
19893 main ()
19894 {
19895 return drand48 ();
19896 ;
19897 return 0;
19898 }
19899 _ACEOF
19900 rm -f conftest.$ac_objext conftest$ac_exeext
19901 if { (ac_try="$ac_link"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19905 esac
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_link") 2>conftest.er1
19908 ac_status=$?
19909 grep -v '^ *+' conftest.er1 >conftest.err
19910 rm -f conftest.er1
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest$ac_exeext &&
19917 $as_test_x conftest$ac_exeext; then
19918 ac_cv_lib_cExt_drand48=yes
19919 else
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19922
19923 ac_cv_lib_cExt_drand48=no
19924 fi
19925
19926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19927 conftest$ac_exeext conftest.$ac_ext
19928 LIBS=$ac_check_lib_save_LIBS
19929 fi
19930 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19931 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19932 if test $ac_cv_lib_cExt_drand48 = yes; then
19933 LIBS="$LIBS -lcExt"
19934 fi
19935
19936 else
19937 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19938 fi
19939 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19940 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19941 if test "${wx_cv_gccversion+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 else
19944
19945 if test "$cross_compiling" = yes; then
19946 wx_cv_gccversion="EMX2"
19947
19948 else
19949 cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h. */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955
19956 #include <stdio.h>
19957
19958 int main()
19959 {
19960 FILE *f=fopen("conftestval", "w");
19961 if (!f) exit(1);
19962 fprintf(f,
19963 #if (__GNUC__ < 3)
19964 "EMX2"
19965 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19966 "EMX3"
19967 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19968 "Innotek5"
19969 #else
19970 "Innotek6"
19971 #endif
19972 );
19973 exit(0);
19974 }
19975
19976 _ACEOF
19977 rm -f conftest$ac_exeext
19978 if { (ac_try="$ac_link"
19979 case "(($ac_try" in
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19982 esac
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_link") 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19988 { (case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_try") 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 wx_cv_gccversion=`cat conftestval`
19998 else
19999 echo "$as_me: program exited with status $ac_status" >&5
20000 echo "$as_me: failed program was:" >&5
20001 sed 's/^/| /' conftest.$ac_ext >&5
20002
20003 ( exit $ac_status )
20004 wx_cv_gccversion="EMX2"
20005 fi
20006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20007 fi
20008
20009
20010
20011 fi
20012 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20013 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20014 if test "$wx_cv_gccversion" = "EMX2"; then
20015 LIBS="$LIBS -lstdcpp"
20016 LDFLAGS="$LDFLAGS -Zsysv-signals"
20017 else
20018 if test "$wx_cv_gccversion" = "EMX3"; then
20019 LIBS="$LIBS -lstdcxx -lgcc"
20020 LDFLAGS="$LDFLAGS -Zsysv-signals"
20021 else
20022 LIBS="$LIBS -lstdc++"
20023 fi
20024 fi
20025 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20026 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20027 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20028 wxUSE_OMF=yes
20029 enable_omf=yes
20030 fi
20031 ;;
20032 *)
20033
20034 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20035 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20036 if test "${ac_cv_string_strcasecmp+set}" = set; then
20037 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 else
20039
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046
20047 #include <string.h>
20048
20049 int
20050 main ()
20051 {
20052
20053 strcasecmp("foo", "bar");
20054
20055 ;
20056 return 0;
20057 }
20058 _ACEOF
20059 rm -f conftest.$ac_objext conftest$ac_exeext
20060 if { (ac_try="$ac_link"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20064 esac
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_link") 2>conftest.er1
20067 ac_status=$?
20068 grep -v '^ *+' conftest.er1 >conftest.err
20069 rm -f conftest.er1
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest$ac_exeext &&
20076 $as_test_x conftest$ac_exeext; then
20077 ac_cv_string_strcasecmp=yes
20078 else
20079 echo "$as_me: failed program was:" >&5
20080 sed 's/^/| /' conftest.$ac_ext >&5
20081
20082 ac_cv_string_strcasecmp=no
20083
20084 fi
20085
20086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20087 conftest$ac_exeext conftest.$ac_ext
20088
20089 fi
20090 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20091 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20092
20093 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20094 cat >>confdefs.h <<\_ACEOF
20095 #define HAVE_STRCASECMP_IN_STRING_H 1
20096 _ACEOF
20097
20098 else
20099 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20100 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20101 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20103 else
20104
20105 cat >conftest.$ac_ext <<_ACEOF
20106 /* confdefs.h. */
20107 _ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111
20112 #include <strings.h>
20113
20114 int
20115 main ()
20116 {
20117
20118 strcasecmp("foo", "bar");
20119
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 rm -f conftest.$ac_objext conftest$ac_exeext
20125 if { (ac_try="$ac_link"
20126 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20129 esac
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_link") 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest$ac_exeext &&
20141 $as_test_x conftest$ac_exeext; then
20142 ac_cv_strings_strcasecmp=yes
20143 else
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20146
20147 ac_cv_strings_strcasecmp=no
20148
20149 fi
20150
20151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20152 conftest$ac_exeext conftest.$ac_ext
20153
20154 fi
20155 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20156 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20157
20158 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20159 cat >>confdefs.h <<\_ACEOF
20160 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20161 _ACEOF
20162
20163 else
20164 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20165 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20166 { (exit 1); exit 1; }; }
20167 fi
20168 fi
20169
20170 ;;
20171 esac
20172
20173
20174 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20176 if test "${ac_cv_header_stdc+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 else
20179 cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h. */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 #include <stdlib.h>
20186 #include <stdarg.h>
20187 #include <string.h>
20188 #include <float.h>
20189
20190 int
20191 main ()
20192 {
20193
20194 ;
20195 return 0;
20196 }
20197 _ACEOF
20198 rm -f conftest.$ac_objext
20199 if { (ac_try="$ac_compile"
20200 case "(($ac_try" in
20201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20202 *) ac_try_echo=$ac_try;;
20203 esac
20204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20205 (eval "$ac_compile") 2>conftest.er1
20206 ac_status=$?
20207 grep -v '^ *+' conftest.er1 >conftest.err
20208 rm -f conftest.er1
20209 cat conftest.err >&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } && {
20212 test -z "$ac_c_werror_flag" ||
20213 test ! -s conftest.err
20214 } && test -s conftest.$ac_objext; then
20215 ac_cv_header_stdc=yes
20216 else
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20219
20220 ac_cv_header_stdc=no
20221 fi
20222
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20224
20225 if test $ac_cv_header_stdc = yes; then
20226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 #include <string.h>
20234
20235 _ACEOF
20236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20237 $EGREP "memchr" >/dev/null 2>&1; then
20238 :
20239 else
20240 ac_cv_header_stdc=no
20241 fi
20242 rm -f conftest*
20243
20244 fi
20245
20246 if test $ac_cv_header_stdc = yes; then
20247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20248 cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h. */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 #include <stdlib.h>
20255
20256 _ACEOF
20257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20258 $EGREP "free" >/dev/null 2>&1; then
20259 :
20260 else
20261 ac_cv_header_stdc=no
20262 fi
20263 rm -f conftest*
20264
20265 fi
20266
20267 if test $ac_cv_header_stdc = yes; then
20268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20269 if test "$cross_compiling" = yes; then
20270 :
20271 else
20272 cat >conftest.$ac_ext <<_ACEOF
20273 /* confdefs.h. */
20274 _ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278 #include <ctype.h>
20279 #include <stdlib.h>
20280 #if ((' ' & 0x0FF) == 0x020)
20281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20283 #else
20284 # define ISLOWER(c) \
20285 (('a' <= (c) && (c) <= 'i') \
20286 || ('j' <= (c) && (c) <= 'r') \
20287 || ('s' <= (c) && (c) <= 'z'))
20288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20289 #endif
20290
20291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20292 int
20293 main ()
20294 {
20295 int i;
20296 for (i = 0; i < 256; i++)
20297 if (XOR (islower (i), ISLOWER (i))
20298 || toupper (i) != TOUPPER (i))
20299 return 2;
20300 return 0;
20301 }
20302 _ACEOF
20303 rm -f conftest$ac_exeext
20304 if { (ac_try="$ac_link"
20305 case "(($ac_try" in
20306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20307 *) ac_try_echo=$ac_try;;
20308 esac
20309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20310 (eval "$ac_link") 2>&5
20311 ac_status=$?
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20314 { (case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20317 esac
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_try") 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 :
20324 else
20325 echo "$as_me: program exited with status $ac_status" >&5
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20328
20329 ( exit $ac_status )
20330 ac_cv_header_stdc=no
20331 fi
20332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20333 fi
20334
20335
20336 fi
20337 fi
20338 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20339 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20340 if test $ac_cv_header_stdc = yes; then
20341
20342 cat >>confdefs.h <<\_ACEOF
20343 #define STDC_HEADERS 1
20344 _ACEOF
20345
20346 fi
20347
20348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20359 inttypes.h stdint.h unistd.h
20360 do
20361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20365 echo $ECHO_N "(cached) $ECHO_C" >&6
20366 else
20367 cat >conftest.$ac_ext <<_ACEOF
20368 /* confdefs.h. */
20369 _ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 $ac_includes_default
20374
20375 #include <$ac_header>
20376 _ACEOF
20377 rm -f conftest.$ac_objext
20378 if { (ac_try="$ac_compile"
20379 case "(($ac_try" in
20380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20381 *) ac_try_echo=$ac_try;;
20382 esac
20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20384 (eval "$ac_compile") 2>conftest.er1
20385 ac_status=$?
20386 grep -v '^ *+' conftest.er1 >conftest.err
20387 rm -f conftest.er1
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } && {
20391 test -z "$ac_c_werror_flag" ||
20392 test ! -s conftest.err
20393 } && test -s conftest.$ac_objext; then
20394 eval "$as_ac_Header=yes"
20395 else
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.$ac_ext >&5
20398
20399 eval "$as_ac_Header=no"
20400 fi
20401
20402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20403 fi
20404 ac_res=`eval echo '${'$as_ac_Header'}'`
20405 { echo "$as_me:$LINENO: result: $ac_res" >&5
20406 echo "${ECHO_T}$ac_res" >&6; }
20407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20408 cat >>confdefs.h <<_ACEOF
20409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20410 _ACEOF
20411
20412 fi
20413
20414 done
20415
20416
20417
20418
20419 for ac_header in langinfo.h wchar.h
20420 do
20421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 else
20427 cat >conftest.$ac_ext <<_ACEOF
20428 /* confdefs.h. */
20429 _ACEOF
20430 cat confdefs.h >>conftest.$ac_ext
20431 cat >>conftest.$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 $ac_includes_default
20434
20435 #include <$ac_header>
20436 _ACEOF
20437 rm -f conftest.$ac_objext
20438 if { (ac_try="$ac_compile"
20439 case "(($ac_try" in
20440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20441 *) ac_try_echo=$ac_try;;
20442 esac
20443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_compile") 2>conftest.er1
20445 ac_status=$?
20446 grep -v '^ *+' conftest.er1 >conftest.err
20447 rm -f conftest.er1
20448 cat conftest.err >&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } && {
20451 test -z "$ac_c_werror_flag" ||
20452 test ! -s conftest.err
20453 } && test -s conftest.$ac_objext; then
20454 eval "$as_ac_Header=yes"
20455 else
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20458
20459 eval "$as_ac_Header=no"
20460 fi
20461
20462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20463 fi
20464 ac_res=`eval echo '${'$as_ac_Header'}'`
20465 { echo "$as_me:$LINENO: result: $ac_res" >&5
20466 echo "${ECHO_T}$ac_res" >&6; }
20467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20468 cat >>confdefs.h <<_ACEOF
20469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20470 _ACEOF
20471
20472 fi
20473
20474 done
20475
20476
20477 if test "$ac_cv_header_wchar_h" != "yes"; then
20478
20479 for ac_header in wcstr.h
20480 do
20481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 else
20487 cat >conftest.$ac_ext <<_ACEOF
20488 /* confdefs.h. */
20489 _ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494
20495 #include <$ac_header>
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20502 esac
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20505 ac_status=$?
20506 grep -v '^ *+' conftest.er1 >conftest.err
20507 rm -f conftest.er1
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20514 eval "$as_ac_Header=yes"
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 eval "$as_ac_Header=no"
20520 fi
20521
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523 fi
20524 ac_res=`eval echo '${'$as_ac_Header'}'`
20525 { echo "$as_me:$LINENO: result: $ac_res" >&5
20526 echo "${ECHO_T}$ac_res" >&6; }
20527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20528 cat >>confdefs.h <<_ACEOF
20529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20530 _ACEOF
20531
20532 fi
20533
20534 done
20535
20536 fi
20537
20538 case "${host}" in
20539 *-pc-os2_emx | *-pc-os2-emx )
20540 if test $ac_cv_header_langinfo_h = "yes" \
20541 -a \( "$wx_cv_gccversion" = "EMX2" \
20542 -o "$wx_cv_gccversion" = "EMX3" \
20543 -o "$wx_cv_gccversion" = "Innotek5" \); then
20544 LIBS="$LIBS -lintl"
20545 fi
20546 ;;
20547 esac
20548
20549 if test "$USE_UNIX" = 1 ; then
20550
20551 for ac_header in sys/select.h
20552 do
20553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20557 echo $ECHO_N "(cached) $ECHO_C" >&6
20558 else
20559 cat >conftest.$ac_ext <<_ACEOF
20560 /* confdefs.h. */
20561 _ACEOF
20562 cat confdefs.h >>conftest.$ac_ext
20563 cat >>conftest.$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 $ac_includes_default
20566
20567 #include <$ac_header>
20568 _ACEOF
20569 rm -f conftest.$ac_objext
20570 if { (ac_try="$ac_compile"
20571 case "(($ac_try" in
20572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20573 *) ac_try_echo=$ac_try;;
20574 esac
20575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20576 (eval "$ac_compile") 2>conftest.er1
20577 ac_status=$?
20578 grep -v '^ *+' conftest.er1 >conftest.err
20579 rm -f conftest.er1
20580 cat conftest.err >&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } && {
20583 test -z "$ac_c_werror_flag" ||
20584 test ! -s conftest.err
20585 } && test -s conftest.$ac_objext; then
20586 eval "$as_ac_Header=yes"
20587 else
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20590
20591 eval "$as_ac_Header=no"
20592 fi
20593
20594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20595 fi
20596 ac_res=`eval echo '${'$as_ac_Header'}'`
20597 { echo "$as_me:$LINENO: result: $ac_res" >&5
20598 echo "${ECHO_T}$ac_res" >&6; }
20599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20600 cat >>confdefs.h <<_ACEOF
20601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20602 _ACEOF
20603
20604 fi
20605
20606 done
20607
20608 fi
20609
20610
20611 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20612 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20613 if test "${ac_cv_c_const+set}" = set; then
20614 echo $ECHO_N "(cached) $ECHO_C" >&6
20615 else
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622
20623 int
20624 main ()
20625 {
20626 /* FIXME: Include the comments suggested by Paul. */
20627 #ifndef __cplusplus
20628 /* Ultrix mips cc rejects this. */
20629 typedef int charset[2];
20630 const charset cs;
20631 /* SunOS 4.1.1 cc rejects this. */
20632 char const *const *pcpcc;
20633 char **ppc;
20634 /* NEC SVR4.0.2 mips cc rejects this. */
20635 struct point {int x, y;};
20636 static struct point const zero = {0,0};
20637 /* AIX XL C 1.02.0.0 rejects this.
20638 It does not let you subtract one const X* pointer from another in
20639 an arm of an if-expression whose if-part is not a constant
20640 expression */
20641 const char *g = "string";
20642 pcpcc = &g + (g ? g-g : 0);
20643 /* HPUX 7.0 cc rejects these. */
20644 ++pcpcc;
20645 ppc = (char**) pcpcc;
20646 pcpcc = (char const *const *) ppc;
20647 { /* SCO 3.2v4 cc rejects this. */
20648 char *t;
20649 char const *s = 0 ? (char *) 0 : (char const *) 0;
20650
20651 *t++ = 0;
20652 if (s) return 0;
20653 }
20654 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20655 int x[] = {25, 17};
20656 const int *foo = &x[0];
20657 ++foo;
20658 }
20659 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20660 typedef const int *iptr;
20661 iptr p = 0;
20662 ++p;
20663 }
20664 { /* AIX XL C 1.02.0.0 rejects this saying
20665 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20666 struct s { int j; const int *ap[3]; };
20667 struct s *b; b->j = 5;
20668 }
20669 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20670 const int foo = 10;
20671 if (!foo) return 0;
20672 }
20673 return !cs[0] && !zero.x;
20674 #endif
20675
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20697 ac_cv_c_const=yes
20698 else
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.$ac_ext >&5
20701
20702 ac_cv_c_const=no
20703 fi
20704
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706 fi
20707 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20708 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20709 if test $ac_cv_c_const = no; then
20710
20711 cat >>confdefs.h <<\_ACEOF
20712 #define const
20713 _ACEOF
20714
20715 fi
20716
20717 { echo "$as_me:$LINENO: checking for inline" >&5
20718 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20719 if test "${ac_cv_c_inline+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 else
20722 ac_cv_c_inline=no
20723 for ac_kw in inline __inline__ __inline; do
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #ifndef __cplusplus
20731 typedef int foo_t;
20732 static $ac_kw foo_t static_foo () {return 0; }
20733 $ac_kw foo_t foo () {return 0; }
20734 #endif
20735
20736 _ACEOF
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20742 esac
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20745 ac_status=$?
20746 grep -v '^ *+' conftest.er1 >conftest.err
20747 rm -f conftest.er1
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 ac_cv_c_inline=$ac_kw
20755 else
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20758
20759
20760 fi
20761
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20763 test "$ac_cv_c_inline" != no && break
20764 done
20765
20766 fi
20767 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20768 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20769
20770
20771 case $ac_cv_c_inline in
20772 inline | yes) ;;
20773 *)
20774 case $ac_cv_c_inline in
20775 no) ac_val=;;
20776 *) ac_val=$ac_cv_c_inline;;
20777 esac
20778 cat >>confdefs.h <<_ACEOF
20779 #ifndef __cplusplus
20780 #define inline $ac_val
20781 #endif
20782 _ACEOF
20783 ;;
20784 esac
20785
20786
20787 { echo "$as_me:$LINENO: checking for short" >&5
20788 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20789 if test "${ac_cv_type_short+set}" = set; then
20790 echo $ECHO_N "(cached) $ECHO_C" >&6
20791 else
20792 cat >conftest.$ac_ext <<_ACEOF
20793 /* confdefs.h. */
20794 _ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20799 typedef short ac__type_new_;
20800 int
20801 main ()
20802 {
20803 if ((ac__type_new_ *) 0)
20804 return 0;
20805 if (sizeof (ac__type_new_))
20806 return 0;
20807 ;
20808 return 0;
20809 }
20810 _ACEOF
20811 rm -f conftest.$ac_objext
20812 if { (ac_try="$ac_compile"
20813 case "(($ac_try" in
20814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20815 *) ac_try_echo=$ac_try;;
20816 esac
20817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20818 (eval "$ac_compile") 2>conftest.er1
20819 ac_status=$?
20820 grep -v '^ *+' conftest.er1 >conftest.err
20821 rm -f conftest.er1
20822 cat conftest.err >&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } && {
20825 test -z "$ac_c_werror_flag" ||
20826 test ! -s conftest.err
20827 } && test -s conftest.$ac_objext; then
20828 ac_cv_type_short=yes
20829 else
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.$ac_ext >&5
20832
20833 ac_cv_type_short=no
20834 fi
20835
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837 fi
20838 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20839 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20840
20841 # The cast to long int works around a bug in the HP C Compiler
20842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20844 # This bug is HP SR number 8606223364.
20845 { echo "$as_me:$LINENO: checking size of short" >&5
20846 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20847 if test "${ac_cv_sizeof_short+set}" = set; then
20848 echo $ECHO_N "(cached) $ECHO_C" >&6
20849 else
20850 if test "$cross_compiling" = yes; then
20851 # Depending upon the size, compute the lo and hi bounds.
20852 cat >conftest.$ac_ext <<_ACEOF
20853 /* confdefs.h. */
20854 _ACEOF
20855 cat confdefs.h >>conftest.$ac_ext
20856 cat >>conftest.$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20859 typedef short ac__type_sizeof_;
20860 int
20861 main ()
20862 {
20863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20864 test_array [0] = 0
20865
20866 ;
20867 return 0;
20868 }
20869 _ACEOF
20870 rm -f conftest.$ac_objext
20871 if { (ac_try="$ac_compile"
20872 case "(($ac_try" in
20873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;;
20875 esac
20876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20877 (eval "$ac_compile") 2>conftest.er1
20878 ac_status=$?
20879 grep -v '^ *+' conftest.er1 >conftest.err
20880 rm -f conftest.er1
20881 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } && {
20884 test -z "$ac_c_werror_flag" ||
20885 test ! -s conftest.err
20886 } && test -s conftest.$ac_objext; then
20887 ac_lo=0 ac_mid=0
20888 while :; do
20889 cat >conftest.$ac_ext <<_ACEOF
20890 /* confdefs.h. */
20891 _ACEOF
20892 cat confdefs.h >>conftest.$ac_ext
20893 cat >>conftest.$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20895 $ac_includes_default
20896 typedef short ac__type_sizeof_;
20897 int
20898 main ()
20899 {
20900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20901 test_array [0] = 0
20902
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20912 esac
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20915 ac_status=$?
20916 grep -v '^ *+' conftest.er1 >conftest.err
20917 rm -f conftest.er1
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.$ac_objext; then
20924 ac_hi=$ac_mid; break
20925 else
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20928
20929 ac_lo=`expr $ac_mid + 1`
20930 if test $ac_lo -le $ac_mid; then
20931 ac_lo= ac_hi=
20932 break
20933 fi
20934 ac_mid=`expr 2 '*' $ac_mid + 1`
20935 fi
20936
20937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20938 done
20939 else
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20942
20943 cat >conftest.$ac_ext <<_ACEOF
20944 /* confdefs.h. */
20945 _ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949 $ac_includes_default
20950 typedef short ac__type_sizeof_;
20951 int
20952 main ()
20953 {
20954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20955 test_array [0] = 0
20956
20957 ;
20958 return 0;
20959 }
20960 _ACEOF
20961 rm -f conftest.$ac_objext
20962 if { (ac_try="$ac_compile"
20963 case "(($ac_try" in
20964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20965 *) ac_try_echo=$ac_try;;
20966 esac
20967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20968 (eval "$ac_compile") 2>conftest.er1
20969 ac_status=$?
20970 grep -v '^ *+' conftest.er1 >conftest.err
20971 rm -f conftest.er1
20972 cat conftest.err >&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } && {
20975 test -z "$ac_c_werror_flag" ||
20976 test ! -s conftest.err
20977 } && test -s conftest.$ac_objext; then
20978 ac_hi=-1 ac_mid=-1
20979 while :; do
20980 cat >conftest.$ac_ext <<_ACEOF
20981 /* confdefs.h. */
20982 _ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20987 typedef short ac__type_sizeof_;
20988 int
20989 main ()
20990 {
20991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20992 test_array [0] = 0
20993
20994 ;
20995 return 0;
20996 }
20997 _ACEOF
20998 rm -f conftest.$ac_objext
20999 if { (ac_try="$ac_compile"
21000 case "(($ac_try" in
21001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21003 esac
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_compile") 2>conftest.er1
21006 ac_status=$?
21007 grep -v '^ *+' conftest.er1 >conftest.err
21008 rm -f conftest.er1
21009 cat conftest.err >&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); } && {
21012 test -z "$ac_c_werror_flag" ||
21013 test ! -s conftest.err
21014 } && test -s conftest.$ac_objext; then
21015 ac_lo=$ac_mid; break
21016 else
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.$ac_ext >&5
21019
21020 ac_hi=`expr '(' $ac_mid ')' - 1`
21021 if test $ac_mid -le $ac_hi; then
21022 ac_lo= ac_hi=
21023 break
21024 fi
21025 ac_mid=`expr 2 '*' $ac_mid`
21026 fi
21027
21028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21029 done
21030 else
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21033
21034 ac_lo= ac_hi=
21035 fi
21036
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 fi
21039
21040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 # Binary search between lo and hi bounds.
21042 while test "x$ac_lo" != "x$ac_hi"; do
21043 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21044 cat >conftest.$ac_ext <<_ACEOF
21045 /* confdefs.h. */
21046 _ACEOF
21047 cat confdefs.h >>conftest.$ac_ext
21048 cat >>conftest.$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21050 $ac_includes_default
21051 typedef short ac__type_sizeof_;
21052 int
21053 main ()
21054 {
21055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21056 test_array [0] = 0
21057
21058 ;
21059 return 0;
21060 }
21061 _ACEOF
21062 rm -f conftest.$ac_objext
21063 if { (ac_try="$ac_compile"
21064 case "(($ac_try" in
21065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21066 *) ac_try_echo=$ac_try;;
21067 esac
21068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21069 (eval "$ac_compile") 2>conftest.er1
21070 ac_status=$?
21071 grep -v '^ *+' conftest.er1 >conftest.err
21072 rm -f conftest.er1
21073 cat conftest.err >&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } && {
21076 test -z "$ac_c_werror_flag" ||
21077 test ! -s conftest.err
21078 } && test -s conftest.$ac_objext; then
21079 ac_hi=$ac_mid
21080 else
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21083
21084 ac_lo=`expr '(' $ac_mid ')' + 1`
21085 fi
21086
21087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21088 done
21089 case $ac_lo in
21090 ?*) ac_cv_sizeof_short=$ac_lo;;
21091 '') if test "$ac_cv_type_short" = yes; then
21092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21093 See \`config.log' for more details." >&5
21094 echo "$as_me: error: cannot compute sizeof (short)
21095 See \`config.log' for more details." >&2;}
21096 { (exit 77); exit 77; }; }
21097 else
21098 ac_cv_sizeof_short=0
21099 fi ;;
21100 esac
21101 else
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21109 typedef short ac__type_sizeof_;
21110 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21111 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21112 #include <stdio.h>
21113 #include <stdlib.h>
21114 int
21115 main ()
21116 {
21117
21118 FILE *f = fopen ("conftest.val", "w");
21119 if (! f)
21120 return 1;
21121 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21122 {
21123 long int i = longval ();
21124 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21125 return 1;
21126 fprintf (f, "%ld\n", i);
21127 }
21128 else
21129 {
21130 unsigned long int i = ulongval ();
21131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21132 return 1;
21133 fprintf (f, "%lu\n", i);
21134 }
21135 return ferror (f) || fclose (f) != 0;
21136
21137 ;
21138 return 0;
21139 }
21140 _ACEOF
21141 rm -f conftest$ac_exeext
21142 if { (ac_try="$ac_link"
21143 case "(($ac_try" in
21144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21145 *) ac_try_echo=$ac_try;;
21146 esac
21147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21148 (eval "$ac_link") 2>&5
21149 ac_status=$?
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21152 { (case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_try") 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; }; then
21161 ac_cv_sizeof_short=`cat conftest.val`
21162 else
21163 echo "$as_me: program exited with status $ac_status" >&5
21164 echo "$as_me: failed program was:" >&5
21165 sed 's/^/| /' conftest.$ac_ext >&5
21166
21167 ( exit $ac_status )
21168 if test "$ac_cv_type_short" = yes; then
21169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21170 See \`config.log' for more details." >&5
21171 echo "$as_me: error: cannot compute sizeof (short)
21172 See \`config.log' for more details." >&2;}
21173 { (exit 77); exit 77; }; }
21174 else
21175 ac_cv_sizeof_short=0
21176 fi
21177 fi
21178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21179 fi
21180 rm -f conftest.val
21181 fi
21182 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21183 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21184
21185
21186
21187 cat >>confdefs.h <<_ACEOF
21188 #define SIZEOF_SHORT $ac_cv_sizeof_short
21189 _ACEOF
21190
21191
21192 { echo "$as_me:$LINENO: checking for void *" >&5
21193 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21194 if test "${ac_cv_type_void_p+set}" = set; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21196 else
21197 cat >conftest.$ac_ext <<_ACEOF
21198 /* confdefs.h. */
21199 _ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef void * ac__type_new_;
21205 int
21206 main ()
21207 {
21208 if ((ac__type_new_ *) 0)
21209 return 0;
21210 if (sizeof (ac__type_new_))
21211 return 0;
21212 ;
21213 return 0;
21214 }
21215 _ACEOF
21216 rm -f conftest.$ac_objext
21217 if { (ac_try="$ac_compile"
21218 case "(($ac_try" in
21219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21221 esac
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_compile") 2>conftest.er1
21224 ac_status=$?
21225 grep -v '^ *+' conftest.er1 >conftest.err
21226 rm -f conftest.er1
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } && {
21230 test -z "$ac_c_werror_flag" ||
21231 test ! -s conftest.err
21232 } && test -s conftest.$ac_objext; then
21233 ac_cv_type_void_p=yes
21234 else
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.$ac_ext >&5
21237
21238 ac_cv_type_void_p=no
21239 fi
21240
21241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21242 fi
21243 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21244 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21245
21246 # The cast to long int works around a bug in the HP C Compiler
21247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21249 # This bug is HP SR number 8606223364.
21250 { echo "$as_me:$LINENO: checking size of void *" >&5
21251 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21252 if test "${ac_cv_sizeof_void_p+set}" = set; then
21253 echo $ECHO_N "(cached) $ECHO_C" >&6
21254 else
21255 if test "$cross_compiling" = yes; then
21256 # Depending upon the size, compute the lo and hi bounds.
21257 cat >conftest.$ac_ext <<_ACEOF
21258 /* confdefs.h. */
21259 _ACEOF
21260 cat confdefs.h >>conftest.$ac_ext
21261 cat >>conftest.$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 $ac_includes_default
21264 typedef void * ac__type_sizeof_;
21265 int
21266 main ()
21267 {
21268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21269 test_array [0] = 0
21270
21271 ;
21272 return 0;
21273 }
21274 _ACEOF
21275 rm -f conftest.$ac_objext
21276 if { (ac_try="$ac_compile"
21277 case "(($ac_try" in
21278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21279 *) ac_try_echo=$ac_try;;
21280 esac
21281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21282 (eval "$ac_compile") 2>conftest.er1
21283 ac_status=$?
21284 grep -v '^ *+' conftest.er1 >conftest.err
21285 rm -f conftest.er1
21286 cat conftest.err >&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } && {
21289 test -z "$ac_c_werror_flag" ||
21290 test ! -s conftest.err
21291 } && test -s conftest.$ac_objext; then
21292 ac_lo=0 ac_mid=0
21293 while :; do
21294 cat >conftest.$ac_ext <<_ACEOF
21295 /* confdefs.h. */
21296 _ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 $ac_includes_default
21301 typedef void * ac__type_sizeof_;
21302 int
21303 main ()
21304 {
21305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21306 test_array [0] = 0
21307
21308 ;
21309 return 0;
21310 }
21311 _ACEOF
21312 rm -f conftest.$ac_objext
21313 if { (ac_try="$ac_compile"
21314 case "(($ac_try" in
21315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21316 *) ac_try_echo=$ac_try;;
21317 esac
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_compile") 2>conftest.er1
21320 ac_status=$?
21321 grep -v '^ *+' conftest.er1 >conftest.err
21322 rm -f conftest.er1
21323 cat conftest.err >&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } && {
21326 test -z "$ac_c_werror_flag" ||
21327 test ! -s conftest.err
21328 } && test -s conftest.$ac_objext; then
21329 ac_hi=$ac_mid; break
21330 else
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.$ac_ext >&5
21333
21334 ac_lo=`expr $ac_mid + 1`
21335 if test $ac_lo -le $ac_mid; then
21336 ac_lo= ac_hi=
21337 break
21338 fi
21339 ac_mid=`expr 2 '*' $ac_mid + 1`
21340 fi
21341
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21343 done
21344 else
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21347
21348 cat >conftest.$ac_ext <<_ACEOF
21349 /* confdefs.h. */
21350 _ACEOF
21351 cat confdefs.h >>conftest.$ac_ext
21352 cat >>conftest.$ac_ext <<_ACEOF
21353 /* end confdefs.h. */
21354 $ac_includes_default
21355 typedef void * ac__type_sizeof_;
21356 int
21357 main ()
21358 {
21359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21360 test_array [0] = 0
21361
21362 ;
21363 return 0;
21364 }
21365 _ACEOF
21366 rm -f conftest.$ac_objext
21367 if { (ac_try="$ac_compile"
21368 case "(($ac_try" in
21369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21370 *) ac_try_echo=$ac_try;;
21371 esac
21372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21373 (eval "$ac_compile") 2>conftest.er1
21374 ac_status=$?
21375 grep -v '^ *+' conftest.er1 >conftest.err
21376 rm -f conftest.er1
21377 cat conftest.err >&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } && {
21380 test -z "$ac_c_werror_flag" ||
21381 test ! -s conftest.err
21382 } && test -s conftest.$ac_objext; then
21383 ac_hi=-1 ac_mid=-1
21384 while :; do
21385 cat >conftest.$ac_ext <<_ACEOF
21386 /* confdefs.h. */
21387 _ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 $ac_includes_default
21392 typedef void * ac__type_sizeof_;
21393 int
21394 main ()
21395 {
21396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21397 test_array [0] = 0
21398
21399 ;
21400 return 0;
21401 }
21402 _ACEOF
21403 rm -f conftest.$ac_objext
21404 if { (ac_try="$ac_compile"
21405 case "(($ac_try" in
21406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21407 *) ac_try_echo=$ac_try;;
21408 esac
21409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21410 (eval "$ac_compile") 2>conftest.er1
21411 ac_status=$?
21412 grep -v '^ *+' conftest.er1 >conftest.err
21413 rm -f conftest.er1
21414 cat conftest.err >&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } && {
21417 test -z "$ac_c_werror_flag" ||
21418 test ! -s conftest.err
21419 } && test -s conftest.$ac_objext; then
21420 ac_lo=$ac_mid; break
21421 else
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21424
21425 ac_hi=`expr '(' $ac_mid ')' - 1`
21426 if test $ac_mid -le $ac_hi; then
21427 ac_lo= ac_hi=
21428 break
21429 fi
21430 ac_mid=`expr 2 '*' $ac_mid`
21431 fi
21432
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 done
21435 else
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21438
21439 ac_lo= ac_hi=
21440 fi
21441
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 fi
21444
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 # Binary search between lo and hi bounds.
21447 while test "x$ac_lo" != "x$ac_hi"; do
21448 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21449 cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h. */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 $ac_includes_default
21456 typedef void * ac__type_sizeof_;
21457 int
21458 main ()
21459 {
21460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21461 test_array [0] = 0
21462
21463 ;
21464 return 0;
21465 }
21466 _ACEOF
21467 rm -f conftest.$ac_objext
21468 if { (ac_try="$ac_compile"
21469 case "(($ac_try" in
21470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21471 *) ac_try_echo=$ac_try;;
21472 esac
21473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21474 (eval "$ac_compile") 2>conftest.er1
21475 ac_status=$?
21476 grep -v '^ *+' conftest.er1 >conftest.err
21477 rm -f conftest.er1
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } && {
21481 test -z "$ac_c_werror_flag" ||
21482 test ! -s conftest.err
21483 } && test -s conftest.$ac_objext; then
21484 ac_hi=$ac_mid
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21488
21489 ac_lo=`expr '(' $ac_mid ')' + 1`
21490 fi
21491
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 done
21494 case $ac_lo in
21495 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21496 '') if test "$ac_cv_type_void_p" = yes; then
21497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21498 See \`config.log' for more details." >&5
21499 echo "$as_me: error: cannot compute sizeof (void *)
21500 See \`config.log' for more details." >&2;}
21501 { (exit 77); exit 77; }; }
21502 else
21503 ac_cv_sizeof_void_p=0
21504 fi ;;
21505 esac
21506 else
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef void * ac__type_sizeof_;
21515 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21516 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21517 #include <stdio.h>
21518 #include <stdlib.h>
21519 int
21520 main ()
21521 {
21522
21523 FILE *f = fopen ("conftest.val", "w");
21524 if (! f)
21525 return 1;
21526 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21527 {
21528 long int i = longval ();
21529 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21530 return 1;
21531 fprintf (f, "%ld\n", i);
21532 }
21533 else
21534 {
21535 unsigned long int i = ulongval ();
21536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21537 return 1;
21538 fprintf (f, "%lu\n", i);
21539 }
21540 return ferror (f) || fclose (f) != 0;
21541
21542 ;
21543 return 0;
21544 }
21545 _ACEOF
21546 rm -f conftest$ac_exeext
21547 if { (ac_try="$ac_link"
21548 case "(($ac_try" in
21549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21550 *) ac_try_echo=$ac_try;;
21551 esac
21552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21553 (eval "$ac_link") 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21557 { (case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21560 esac
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_try") 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 ac_cv_sizeof_void_p=`cat conftest.val`
21567 else
21568 echo "$as_me: program exited with status $ac_status" >&5
21569 echo "$as_me: failed program was:" >&5
21570 sed 's/^/| /' conftest.$ac_ext >&5
21571
21572 ( exit $ac_status )
21573 if test "$ac_cv_type_void_p" = yes; then
21574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21575 See \`config.log' for more details." >&5
21576 echo "$as_me: error: cannot compute sizeof (void *)
21577 See \`config.log' for more details." >&2;}
21578 { (exit 77); exit 77; }; }
21579 else
21580 ac_cv_sizeof_void_p=0
21581 fi
21582 fi
21583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21584 fi
21585 rm -f conftest.val
21586 fi
21587 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21588 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21589
21590
21591
21592 cat >>confdefs.h <<_ACEOF
21593 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21594 _ACEOF
21595
21596
21597 { echo "$as_me:$LINENO: checking for int" >&5
21598 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21599 if test "${ac_cv_type_int+set}" = set; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21601 else
21602 cat >conftest.$ac_ext <<_ACEOF
21603 /* confdefs.h. */
21604 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 $ac_includes_default
21609 typedef int ac__type_new_;
21610 int
21611 main ()
21612 {
21613 if ((ac__type_new_ *) 0)
21614 return 0;
21615 if (sizeof (ac__type_new_))
21616 return 0;
21617 ;
21618 return 0;
21619 }
21620 _ACEOF
21621 rm -f conftest.$ac_objext
21622 if { (ac_try="$ac_compile"
21623 case "(($ac_try" in
21624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21625 *) ac_try_echo=$ac_try;;
21626 esac
21627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21628 (eval "$ac_compile") 2>conftest.er1
21629 ac_status=$?
21630 grep -v '^ *+' conftest.er1 >conftest.err
21631 rm -f conftest.er1
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } && {
21635 test -z "$ac_c_werror_flag" ||
21636 test ! -s conftest.err
21637 } && test -s conftest.$ac_objext; then
21638 ac_cv_type_int=yes
21639 else
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.$ac_ext >&5
21642
21643 ac_cv_type_int=no
21644 fi
21645
21646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21647 fi
21648 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21649 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21650
21651 # The cast to long int works around a bug in the HP C Compiler
21652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21654 # This bug is HP SR number 8606223364.
21655 { echo "$as_me:$LINENO: checking size of int" >&5
21656 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21657 if test "${ac_cv_sizeof_int+set}" = set; then
21658 echo $ECHO_N "(cached) $ECHO_C" >&6
21659 else
21660 if test "$cross_compiling" = yes; then
21661 # Depending upon the size, compute the lo and hi bounds.
21662 cat >conftest.$ac_ext <<_ACEOF
21663 /* confdefs.h. */
21664 _ACEOF
21665 cat confdefs.h >>conftest.$ac_ext
21666 cat >>conftest.$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 $ac_includes_default
21669 typedef int ac__type_sizeof_;
21670 int
21671 main ()
21672 {
21673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21674 test_array [0] = 0
21675
21676 ;
21677 return 0;
21678 }
21679 _ACEOF
21680 rm -f conftest.$ac_objext
21681 if { (ac_try="$ac_compile"
21682 case "(($ac_try" in
21683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21684 *) ac_try_echo=$ac_try;;
21685 esac
21686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21687 (eval "$ac_compile") 2>conftest.er1
21688 ac_status=$?
21689 grep -v '^ *+' conftest.er1 >conftest.err
21690 rm -f conftest.er1
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } && {
21694 test -z "$ac_c_werror_flag" ||
21695 test ! -s conftest.err
21696 } && test -s conftest.$ac_objext; then
21697 ac_lo=0 ac_mid=0
21698 while :; do
21699 cat >conftest.$ac_ext <<_ACEOF
21700 /* confdefs.h. */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef int ac__type_sizeof_;
21707 int
21708 main ()
21709 {
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21711 test_array [0] = 0
21712
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 rm -f conftest.$ac_objext
21718 if { (ac_try="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21722 esac
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21734 ac_hi=$ac_mid; break
21735 else
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21738
21739 ac_lo=`expr $ac_mid + 1`
21740 if test $ac_lo -le $ac_mid; then
21741 ac_lo= ac_hi=
21742 break
21743 fi
21744 ac_mid=`expr 2 '*' $ac_mid + 1`
21745 fi
21746
21747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21748 done
21749 else
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.$ac_ext >&5
21752
21753 cat >conftest.$ac_ext <<_ACEOF
21754 /* confdefs.h. */
21755 _ACEOF
21756 cat confdefs.h >>conftest.$ac_ext
21757 cat >>conftest.$ac_ext <<_ACEOF
21758 /* end confdefs.h. */
21759 $ac_includes_default
21760 typedef int ac__type_sizeof_;
21761 int
21762 main ()
21763 {
21764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21765 test_array [0] = 0
21766
21767 ;
21768 return 0;
21769 }
21770 _ACEOF
21771 rm -f conftest.$ac_objext
21772 if { (ac_try="$ac_compile"
21773 case "(($ac_try" in
21774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21775 *) ac_try_echo=$ac_try;;
21776 esac
21777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21778 (eval "$ac_compile") 2>conftest.er1
21779 ac_status=$?
21780 grep -v '^ *+' conftest.er1 >conftest.err
21781 rm -f conftest.er1
21782 cat conftest.err >&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); } && {
21785 test -z "$ac_c_werror_flag" ||
21786 test ! -s conftest.err
21787 } && test -s conftest.$ac_objext; then
21788 ac_hi=-1 ac_mid=-1
21789 while :; do
21790 cat >conftest.$ac_ext <<_ACEOF
21791 /* confdefs.h. */
21792 _ACEOF
21793 cat confdefs.h >>conftest.$ac_ext
21794 cat >>conftest.$ac_ext <<_ACEOF
21795 /* end confdefs.h. */
21796 $ac_includes_default
21797 typedef int ac__type_sizeof_;
21798 int
21799 main ()
21800 {
21801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21802 test_array [0] = 0
21803
21804 ;
21805 return 0;
21806 }
21807 _ACEOF
21808 rm -f conftest.$ac_objext
21809 if { (ac_try="$ac_compile"
21810 case "(($ac_try" in
21811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21812 *) ac_try_echo=$ac_try;;
21813 esac
21814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21815 (eval "$ac_compile") 2>conftest.er1
21816 ac_status=$?
21817 grep -v '^ *+' conftest.er1 >conftest.err
21818 rm -f conftest.er1
21819 cat conftest.err >&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } && {
21822 test -z "$ac_c_werror_flag" ||
21823 test ! -s conftest.err
21824 } && test -s conftest.$ac_objext; then
21825 ac_lo=$ac_mid; break
21826 else
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.$ac_ext >&5
21829
21830 ac_hi=`expr '(' $ac_mid ')' - 1`
21831 if test $ac_mid -le $ac_hi; then
21832 ac_lo= ac_hi=
21833 break
21834 fi
21835 ac_mid=`expr 2 '*' $ac_mid`
21836 fi
21837
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839 done
21840 else
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.$ac_ext >&5
21843
21844 ac_lo= ac_hi=
21845 fi
21846
21847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21848 fi
21849
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 # Binary search between lo and hi bounds.
21852 while test "x$ac_lo" != "x$ac_hi"; do
21853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21854 cat >conftest.$ac_ext <<_ACEOF
21855 /* confdefs.h. */
21856 _ACEOF
21857 cat confdefs.h >>conftest.$ac_ext
21858 cat >>conftest.$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21861 typedef int ac__type_sizeof_;
21862 int
21863 main ()
21864 {
21865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21866 test_array [0] = 0
21867
21868 ;
21869 return 0;
21870 }
21871 _ACEOF
21872 rm -f conftest.$ac_objext
21873 if { (ac_try="$ac_compile"
21874 case "(($ac_try" in
21875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21876 *) ac_try_echo=$ac_try;;
21877 esac
21878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21879 (eval "$ac_compile") 2>conftest.er1
21880 ac_status=$?
21881 grep -v '^ *+' conftest.er1 >conftest.err
21882 rm -f conftest.er1
21883 cat conftest.err >&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } && {
21886 test -z "$ac_c_werror_flag" ||
21887 test ! -s conftest.err
21888 } && test -s conftest.$ac_objext; then
21889 ac_hi=$ac_mid
21890 else
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.$ac_ext >&5
21893
21894 ac_lo=`expr '(' $ac_mid ')' + 1`
21895 fi
21896
21897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21898 done
21899 case $ac_lo in
21900 ?*) ac_cv_sizeof_int=$ac_lo;;
21901 '') if test "$ac_cv_type_int" = yes; then
21902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21903 See \`config.log' for more details." >&5
21904 echo "$as_me: error: cannot compute sizeof (int)
21905 See \`config.log' for more details." >&2;}
21906 { (exit 77); exit 77; }; }
21907 else
21908 ac_cv_sizeof_int=0
21909 fi ;;
21910 esac
21911 else
21912 cat >conftest.$ac_ext <<_ACEOF
21913 /* confdefs.h. */
21914 _ACEOF
21915 cat confdefs.h >>conftest.$ac_ext
21916 cat >>conftest.$ac_ext <<_ACEOF
21917 /* end confdefs.h. */
21918 $ac_includes_default
21919 typedef int ac__type_sizeof_;
21920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21922 #include <stdio.h>
21923 #include <stdlib.h>
21924 int
21925 main ()
21926 {
21927
21928 FILE *f = fopen ("conftest.val", "w");
21929 if (! f)
21930 return 1;
21931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21932 {
21933 long int i = longval ();
21934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21935 return 1;
21936 fprintf (f, "%ld\n", i);
21937 }
21938 else
21939 {
21940 unsigned long int i = ulongval ();
21941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21942 return 1;
21943 fprintf (f, "%lu\n", i);
21944 }
21945 return ferror (f) || fclose (f) != 0;
21946
21947 ;
21948 return 0;
21949 }
21950 _ACEOF
21951 rm -f conftest$ac_exeext
21952 if { (ac_try="$ac_link"
21953 case "(($ac_try" in
21954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21955 *) ac_try_echo=$ac_try;;
21956 esac
21957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21958 (eval "$ac_link") 2>&5
21959 ac_status=$?
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21962 { (case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21965 esac
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_try") 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 ac_cv_sizeof_int=`cat conftest.val`
21972 else
21973 echo "$as_me: program exited with status $ac_status" >&5
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21976
21977 ( exit $ac_status )
21978 if test "$ac_cv_type_int" = yes; then
21979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21980 See \`config.log' for more details." >&5
21981 echo "$as_me: error: cannot compute sizeof (int)
21982 See \`config.log' for more details." >&2;}
21983 { (exit 77); exit 77; }; }
21984 else
21985 ac_cv_sizeof_int=0
21986 fi
21987 fi
21988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21989 fi
21990 rm -f conftest.val
21991 fi
21992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21993 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21994
21995
21996
21997 cat >>confdefs.h <<_ACEOF
21998 #define SIZEOF_INT $ac_cv_sizeof_int
21999 _ACEOF
22000
22001
22002 { echo "$as_me:$LINENO: checking for long" >&5
22003 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22004 if test "${ac_cv_type_long+set}" = set; then
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22006 else
22007 cat >conftest.$ac_ext <<_ACEOF
22008 /* confdefs.h. */
22009 _ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 $ac_includes_default
22014 typedef long ac__type_new_;
22015 int
22016 main ()
22017 {
22018 if ((ac__type_new_ *) 0)
22019 return 0;
22020 if (sizeof (ac__type_new_))
22021 return 0;
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22034 ac_status=$?
22035 grep -v '^ *+' conftest.er1 >conftest.err
22036 rm -f conftest.er1
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22043 ac_cv_type_long=yes
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22047
22048 ac_cv_type_long=no
22049 fi
22050
22051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22052 fi
22053 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22054 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22055
22056 # The cast to long int works around a bug in the HP C Compiler
22057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22059 # This bug is HP SR number 8606223364.
22060 { echo "$as_me:$LINENO: checking size of long" >&5
22061 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22062 if test "${ac_cv_sizeof_long+set}" = set; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 else
22065 if test "$cross_compiling" = yes; then
22066 # Depending upon the size, compute the lo and hi bounds.
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 $ac_includes_default
22074 typedef long ac__type_sizeof_;
22075 int
22076 main ()
22077 {
22078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22079 test_array [0] = 0
22080
22081 ;
22082 return 0;
22083 }
22084 _ACEOF
22085 rm -f conftest.$ac_objext
22086 if { (ac_try="$ac_compile"
22087 case "(($ac_try" in
22088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22089 *) ac_try_echo=$ac_try;;
22090 esac
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_compile") 2>conftest.er1
22093 ac_status=$?
22094 grep -v '^ *+' conftest.er1 >conftest.err
22095 rm -f conftest.er1
22096 cat conftest.err >&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && {
22099 test -z "$ac_c_werror_flag" ||
22100 test ! -s conftest.err
22101 } && test -s conftest.$ac_objext; then
22102 ac_lo=0 ac_mid=0
22103 while :; do
22104 cat >conftest.$ac_ext <<_ACEOF
22105 /* confdefs.h. */
22106 _ACEOF
22107 cat confdefs.h >>conftest.$ac_ext
22108 cat >>conftest.$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 $ac_includes_default
22111 typedef long ac__type_sizeof_;
22112 int
22113 main ()
22114 {
22115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22116 test_array [0] = 0
22117
22118 ;
22119 return 0;
22120 }
22121 _ACEOF
22122 rm -f conftest.$ac_objext
22123 if { (ac_try="$ac_compile"
22124 case "(($ac_try" in
22125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22126 *) ac_try_echo=$ac_try;;
22127 esac
22128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22129 (eval "$ac_compile") 2>conftest.er1
22130 ac_status=$?
22131 grep -v '^ *+' conftest.er1 >conftest.err
22132 rm -f conftest.er1
22133 cat conftest.err >&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); } && {
22136 test -z "$ac_c_werror_flag" ||
22137 test ! -s conftest.err
22138 } && test -s conftest.$ac_objext; then
22139 ac_hi=$ac_mid; break
22140 else
22141 echo "$as_me: failed program was:" >&5
22142 sed 's/^/| /' conftest.$ac_ext >&5
22143
22144 ac_lo=`expr $ac_mid + 1`
22145 if test $ac_lo -le $ac_mid; then
22146 ac_lo= ac_hi=
22147 break
22148 fi
22149 ac_mid=`expr 2 '*' $ac_mid + 1`
22150 fi
22151
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22153 done
22154 else
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22157
22158 cat >conftest.$ac_ext <<_ACEOF
22159 /* confdefs.h. */
22160 _ACEOF
22161 cat confdefs.h >>conftest.$ac_ext
22162 cat >>conftest.$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 $ac_includes_default
22165 typedef long ac__type_sizeof_;
22166 int
22167 main ()
22168 {
22169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22170 test_array [0] = 0
22171
22172 ;
22173 return 0;
22174 }
22175 _ACEOF
22176 rm -f conftest.$ac_objext
22177 if { (ac_try="$ac_compile"
22178 case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22181 esac
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_compile") 2>conftest.er1
22184 ac_status=$?
22185 grep -v '^ *+' conftest.er1 >conftest.err
22186 rm -f conftest.er1
22187 cat conftest.err >&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); } && {
22190 test -z "$ac_c_werror_flag" ||
22191 test ! -s conftest.err
22192 } && test -s conftest.$ac_objext; then
22193 ac_hi=-1 ac_mid=-1
22194 while :; do
22195 cat >conftest.$ac_ext <<_ACEOF
22196 /* confdefs.h. */
22197 _ACEOF
22198 cat confdefs.h >>conftest.$ac_ext
22199 cat >>conftest.$ac_ext <<_ACEOF
22200 /* end confdefs.h. */
22201 $ac_includes_default
22202 typedef long ac__type_sizeof_;
22203 int
22204 main ()
22205 {
22206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22207 test_array [0] = 0
22208
22209 ;
22210 return 0;
22211 }
22212 _ACEOF
22213 rm -f conftest.$ac_objext
22214 if { (ac_try="$ac_compile"
22215 case "(($ac_try" in
22216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22217 *) ac_try_echo=$ac_try;;
22218 esac
22219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22220 (eval "$ac_compile") 2>conftest.er1
22221 ac_status=$?
22222 grep -v '^ *+' conftest.er1 >conftest.err
22223 rm -f conftest.er1
22224 cat conftest.err >&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } && {
22227 test -z "$ac_c_werror_flag" ||
22228 test ! -s conftest.err
22229 } && test -s conftest.$ac_objext; then
22230 ac_lo=$ac_mid; break
22231 else
22232 echo "$as_me: failed program was:" >&5
22233 sed 's/^/| /' conftest.$ac_ext >&5
22234
22235 ac_hi=`expr '(' $ac_mid ')' - 1`
22236 if test $ac_mid -le $ac_hi; then
22237 ac_lo= ac_hi=
22238 break
22239 fi
22240 ac_mid=`expr 2 '*' $ac_mid`
22241 fi
22242
22243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22244 done
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 ac_lo= ac_hi=
22250 fi
22251
22252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22253 fi
22254
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256 # Binary search between lo and hi bounds.
22257 while test "x$ac_lo" != "x$ac_hi"; do
22258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22259 cat >conftest.$ac_ext <<_ACEOF
22260 /* confdefs.h. */
22261 _ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22266 typedef long ac__type_sizeof_;
22267 int
22268 main ()
22269 {
22270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22271 test_array [0] = 0
22272
22273 ;
22274 return 0;
22275 }
22276 _ACEOF
22277 rm -f conftest.$ac_objext
22278 if { (ac_try="$ac_compile"
22279 case "(($ac_try" in
22280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22282 esac
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_compile") 2>conftest.er1
22285 ac_status=$?
22286 grep -v '^ *+' conftest.er1 >conftest.err
22287 rm -f conftest.er1
22288 cat conftest.err >&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } && {
22291 test -z "$ac_c_werror_flag" ||
22292 test ! -s conftest.err
22293 } && test -s conftest.$ac_objext; then
22294 ac_hi=$ac_mid
22295 else
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22298
22299 ac_lo=`expr '(' $ac_mid ')' + 1`
22300 fi
22301
22302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22303 done
22304 case $ac_lo in
22305 ?*) ac_cv_sizeof_long=$ac_lo;;
22306 '') if test "$ac_cv_type_long" = yes; then
22307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22308 See \`config.log' for more details." >&5
22309 echo "$as_me: error: cannot compute sizeof (long)
22310 See \`config.log' for more details." >&2;}
22311 { (exit 77); exit 77; }; }
22312 else
22313 ac_cv_sizeof_long=0
22314 fi ;;
22315 esac
22316 else
22317 cat >conftest.$ac_ext <<_ACEOF
22318 /* confdefs.h. */
22319 _ACEOF
22320 cat confdefs.h >>conftest.$ac_ext
22321 cat >>conftest.$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 $ac_includes_default
22324 typedef long ac__type_sizeof_;
22325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22327 #include <stdio.h>
22328 #include <stdlib.h>
22329 int
22330 main ()
22331 {
22332
22333 FILE *f = fopen ("conftest.val", "w");
22334 if (! f)
22335 return 1;
22336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22337 {
22338 long int i = longval ();
22339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22340 return 1;
22341 fprintf (f, "%ld\n", i);
22342 }
22343 else
22344 {
22345 unsigned long int i = ulongval ();
22346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22347 return 1;
22348 fprintf (f, "%lu\n", i);
22349 }
22350 return ferror (f) || fclose (f) != 0;
22351
22352 ;
22353 return 0;
22354 }
22355 _ACEOF
22356 rm -f conftest$ac_exeext
22357 if { (ac_try="$ac_link"
22358 case "(($ac_try" in
22359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22360 *) ac_try_echo=$ac_try;;
22361 esac
22362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22363 (eval "$ac_link") 2>&5
22364 ac_status=$?
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22367 { (case "(($ac_try" in
22368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22369 *) ac_try_echo=$ac_try;;
22370 esac
22371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22372 (eval "$ac_try") 2>&5
22373 ac_status=$?
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); }; }; then
22376 ac_cv_sizeof_long=`cat conftest.val`
22377 else
22378 echo "$as_me: program exited with status $ac_status" >&5
22379 echo "$as_me: failed program was:" >&5
22380 sed 's/^/| /' conftest.$ac_ext >&5
22381
22382 ( exit $ac_status )
22383 if test "$ac_cv_type_long" = yes; then
22384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22385 See \`config.log' for more details." >&5
22386 echo "$as_me: error: cannot compute sizeof (long)
22387 See \`config.log' for more details." >&2;}
22388 { (exit 77); exit 77; }; }
22389 else
22390 ac_cv_sizeof_long=0
22391 fi
22392 fi
22393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22394 fi
22395 rm -f conftest.val
22396 fi
22397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22399
22400
22401
22402 cat >>confdefs.h <<_ACEOF
22403 #define SIZEOF_LONG $ac_cv_sizeof_long
22404 _ACEOF
22405
22406
22407 { echo "$as_me:$LINENO: checking for size_t" >&5
22408 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22409 if test "${ac_cv_type_size_t+set}" = set; then
22410 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 else
22412 cat >conftest.$ac_ext <<_ACEOF
22413 /* confdefs.h. */
22414 _ACEOF
22415 cat confdefs.h >>conftest.$ac_ext
22416 cat >>conftest.$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22418 $ac_includes_default
22419 typedef size_t ac__type_new_;
22420 int
22421 main ()
22422 {
22423 if ((ac__type_new_ *) 0)
22424 return 0;
22425 if (sizeof (ac__type_new_))
22426 return 0;
22427 ;
22428 return 0;
22429 }
22430 _ACEOF
22431 rm -f conftest.$ac_objext
22432 if { (ac_try="$ac_compile"
22433 case "(($ac_try" in
22434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22435 *) ac_try_echo=$ac_try;;
22436 esac
22437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438 (eval "$ac_compile") 2>conftest.er1
22439 ac_status=$?
22440 grep -v '^ *+' conftest.er1 >conftest.err
22441 rm -f conftest.er1
22442 cat conftest.err >&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); } && {
22445 test -z "$ac_c_werror_flag" ||
22446 test ! -s conftest.err
22447 } && test -s conftest.$ac_objext; then
22448 ac_cv_type_size_t=yes
22449 else
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.$ac_ext >&5
22452
22453 ac_cv_type_size_t=no
22454 fi
22455
22456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22457 fi
22458 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22459 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22460
22461 # The cast to long int works around a bug in the HP C Compiler
22462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22464 # This bug is HP SR number 8606223364.
22465 { echo "$as_me:$LINENO: checking size of size_t" >&5
22466 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22467 if test "${ac_cv_sizeof_size_t+set}" = set; then
22468 echo $ECHO_N "(cached) $ECHO_C" >&6
22469 else
22470 if test "$cross_compiling" = yes; then
22471 # Depending upon the size, compute the lo and hi bounds.
22472 cat >conftest.$ac_ext <<_ACEOF
22473 /* confdefs.h. */
22474 _ACEOF
22475 cat confdefs.h >>conftest.$ac_ext
22476 cat >>conftest.$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22478 $ac_includes_default
22479 typedef size_t ac__type_sizeof_;
22480 int
22481 main ()
22482 {
22483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22484 test_array [0] = 0
22485
22486 ;
22487 return 0;
22488 }
22489 _ACEOF
22490 rm -f conftest.$ac_objext
22491 if { (ac_try="$ac_compile"
22492 case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22495 esac
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_compile") 2>conftest.er1
22498 ac_status=$?
22499 grep -v '^ *+' conftest.er1 >conftest.err
22500 rm -f conftest.er1
22501 cat conftest.err >&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } && {
22504 test -z "$ac_c_werror_flag" ||
22505 test ! -s conftest.err
22506 } && test -s conftest.$ac_objext; then
22507 ac_lo=0 ac_mid=0
22508 while :; do
22509 cat >conftest.$ac_ext <<_ACEOF
22510 /* confdefs.h. */
22511 _ACEOF
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 $ac_includes_default
22516 typedef size_t ac__type_sizeof_;
22517 int
22518 main ()
22519 {
22520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22521 test_array [0] = 0
22522
22523 ;
22524 return 0;
22525 }
22526 _ACEOF
22527 rm -f conftest.$ac_objext
22528 if { (ac_try="$ac_compile"
22529 case "(($ac_try" in
22530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22531 *) ac_try_echo=$ac_try;;
22532 esac
22533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22534 (eval "$ac_compile") 2>conftest.er1
22535 ac_status=$?
22536 grep -v '^ *+' conftest.er1 >conftest.err
22537 rm -f conftest.er1
22538 cat conftest.err >&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); } && {
22541 test -z "$ac_c_werror_flag" ||
22542 test ! -s conftest.err
22543 } && test -s conftest.$ac_objext; then
22544 ac_hi=$ac_mid; break
22545 else
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5
22548
22549 ac_lo=`expr $ac_mid + 1`
22550 if test $ac_lo -le $ac_mid; then
22551 ac_lo= ac_hi=
22552 break
22553 fi
22554 ac_mid=`expr 2 '*' $ac_mid + 1`
22555 fi
22556
22557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22558 done
22559 else
22560 echo "$as_me: failed program was:" >&5
22561 sed 's/^/| /' conftest.$ac_ext >&5
22562
22563 cat >conftest.$ac_ext <<_ACEOF
22564 /* confdefs.h. */
22565 _ACEOF
22566 cat confdefs.h >>conftest.$ac_ext
22567 cat >>conftest.$ac_ext <<_ACEOF
22568 /* end confdefs.h. */
22569 $ac_includes_default
22570 typedef size_t ac__type_sizeof_;
22571 int
22572 main ()
22573 {
22574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22575 test_array [0] = 0
22576
22577 ;
22578 return 0;
22579 }
22580 _ACEOF
22581 rm -f conftest.$ac_objext
22582 if { (ac_try="$ac_compile"
22583 case "(($ac_try" in
22584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22585 *) ac_try_echo=$ac_try;;
22586 esac
22587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22588 (eval "$ac_compile") 2>conftest.er1
22589 ac_status=$?
22590 grep -v '^ *+' conftest.er1 >conftest.err
22591 rm -f conftest.er1
22592 cat conftest.err >&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } && {
22595 test -z "$ac_c_werror_flag" ||
22596 test ! -s conftest.err
22597 } && test -s conftest.$ac_objext; then
22598 ac_hi=-1 ac_mid=-1
22599 while :; do
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 $ac_includes_default
22607 typedef size_t ac__type_sizeof_;
22608 int
22609 main ()
22610 {
22611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22612 test_array [0] = 0
22613
22614 ;
22615 return 0;
22616 }
22617 _ACEOF
22618 rm -f conftest.$ac_objext
22619 if { (ac_try="$ac_compile"
22620 case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22623 esac
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_compile") 2>conftest.er1
22626 ac_status=$?
22627 grep -v '^ *+' conftest.er1 >conftest.err
22628 rm -f conftest.er1
22629 cat conftest.err >&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } && {
22632 test -z "$ac_c_werror_flag" ||
22633 test ! -s conftest.err
22634 } && test -s conftest.$ac_objext; then
22635 ac_lo=$ac_mid; break
22636 else
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22639
22640 ac_hi=`expr '(' $ac_mid ')' - 1`
22641 if test $ac_mid -le $ac_hi; then
22642 ac_lo= ac_hi=
22643 break
22644 fi
22645 ac_mid=`expr 2 '*' $ac_mid`
22646 fi
22647
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 done
22650 else
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22653
22654 ac_lo= ac_hi=
22655 fi
22656
22657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 fi
22659
22660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22661 # Binary search between lo and hi bounds.
22662 while test "x$ac_lo" != "x$ac_hi"; do
22663 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22664 cat >conftest.$ac_ext <<_ACEOF
22665 /* confdefs.h. */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 $ac_includes_default
22671 typedef size_t ac__type_sizeof_;
22672 int
22673 main ()
22674 {
22675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22676 test_array [0] = 0
22677
22678 ;
22679 return 0;
22680 }
22681 _ACEOF
22682 rm -f conftest.$ac_objext
22683 if { (ac_try="$ac_compile"
22684 case "(($ac_try" in
22685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22686 *) ac_try_echo=$ac_try;;
22687 esac
22688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22689 (eval "$ac_compile") 2>conftest.er1
22690 ac_status=$?
22691 grep -v '^ *+' conftest.er1 >conftest.err
22692 rm -f conftest.er1
22693 cat conftest.err >&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } && {
22696 test -z "$ac_c_werror_flag" ||
22697 test ! -s conftest.err
22698 } && test -s conftest.$ac_objext; then
22699 ac_hi=$ac_mid
22700 else
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22703
22704 ac_lo=`expr '(' $ac_mid ')' + 1`
22705 fi
22706
22707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22708 done
22709 case $ac_lo in
22710 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22711 '') if test "$ac_cv_type_size_t" = yes; then
22712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22713 See \`config.log' for more details." >&5
22714 echo "$as_me: error: cannot compute sizeof (size_t)
22715 See \`config.log' for more details." >&2;}
22716 { (exit 77); exit 77; }; }
22717 else
22718 ac_cv_sizeof_size_t=0
22719 fi ;;
22720 esac
22721 else
22722 cat >conftest.$ac_ext <<_ACEOF
22723 /* confdefs.h. */
22724 _ACEOF
22725 cat confdefs.h >>conftest.$ac_ext
22726 cat >>conftest.$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22728 $ac_includes_default
22729 typedef size_t ac__type_sizeof_;
22730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22732 #include <stdio.h>
22733 #include <stdlib.h>
22734 int
22735 main ()
22736 {
22737
22738 FILE *f = fopen ("conftest.val", "w");
22739 if (! f)
22740 return 1;
22741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22742 {
22743 long int i = longval ();
22744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22745 return 1;
22746 fprintf (f, "%ld\n", i);
22747 }
22748 else
22749 {
22750 unsigned long int i = ulongval ();
22751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22752 return 1;
22753 fprintf (f, "%lu\n", i);
22754 }
22755 return ferror (f) || fclose (f) != 0;
22756
22757 ;
22758 return 0;
22759 }
22760 _ACEOF
22761 rm -f conftest$ac_exeext
22762 if { (ac_try="$ac_link"
22763 case "(($ac_try" in
22764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22765 *) ac_try_echo=$ac_try;;
22766 esac
22767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22768 (eval "$ac_link") 2>&5
22769 ac_status=$?
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22772 { (case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22775 esac
22776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_try") 2>&5
22778 ac_status=$?
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); }; }; then
22781 ac_cv_sizeof_size_t=`cat conftest.val`
22782 else
22783 echo "$as_me: program exited with status $ac_status" >&5
22784 echo "$as_me: failed program was:" >&5
22785 sed 's/^/| /' conftest.$ac_ext >&5
22786
22787 ( exit $ac_status )
22788 if test "$ac_cv_type_size_t" = yes; then
22789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22790 See \`config.log' for more details." >&5
22791 echo "$as_me: error: cannot compute sizeof (size_t)
22792 See \`config.log' for more details." >&2;}
22793 { (exit 77); exit 77; }; }
22794 else
22795 ac_cv_sizeof_size_t=0
22796 fi
22797 fi
22798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22799 fi
22800 rm -f conftest.val
22801 fi
22802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22803 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22804
22805
22806
22807 cat >>confdefs.h <<_ACEOF
22808 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22809 _ACEOF
22810
22811
22812
22813 case "${host}" in
22814 arm-*-linux* )
22815 { echo "$as_me:$LINENO: checking for long long" >&5
22816 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22817 if test "${ac_cv_type_long_long+set}" = set; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 else
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826 $ac_includes_default
22827 typedef long long ac__type_new_;
22828 int
22829 main ()
22830 {
22831 if ((ac__type_new_ *) 0)
22832 return 0;
22833 if (sizeof (ac__type_new_))
22834 return 0;
22835 ;
22836 return 0;
22837 }
22838 _ACEOF
22839 rm -f conftest.$ac_objext
22840 if { (ac_try="$ac_compile"
22841 case "(($ac_try" in
22842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22844 esac
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_compile") 2>conftest.er1
22847 ac_status=$?
22848 grep -v '^ *+' conftest.er1 >conftest.err
22849 rm -f conftest.er1
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } && {
22853 test -z "$ac_c_werror_flag" ||
22854 test ! -s conftest.err
22855 } && test -s conftest.$ac_objext; then
22856 ac_cv_type_long_long=yes
22857 else
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.$ac_ext >&5
22860
22861 ac_cv_type_long_long=no
22862 fi
22863
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 fi
22866 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22867 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22868
22869 # The cast to long int works around a bug in the HP C Compiler
22870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22872 # This bug is HP SR number 8606223364.
22873 { echo "$as_me:$LINENO: checking size of long long" >&5
22874 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22875 if test "${ac_cv_sizeof_long_long+set}" = set; then
22876 echo $ECHO_N "(cached) $ECHO_C" >&6
22877 else
22878 if test "$cross_compiling" = yes; then
22879 # Depending upon the size, compute the lo and hi bounds.
22880 cat >conftest.$ac_ext <<_ACEOF
22881 /* confdefs.h. */
22882 _ACEOF
22883 cat confdefs.h >>conftest.$ac_ext
22884 cat >>conftest.$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22886 $ac_includes_default
22887 typedef long long ac__type_sizeof_;
22888 int
22889 main ()
22890 {
22891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22892 test_array [0] = 0
22893
22894 ;
22895 return 0;
22896 }
22897 _ACEOF
22898 rm -f conftest.$ac_objext
22899 if { (ac_try="$ac_compile"
22900 case "(($ac_try" in
22901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22902 *) ac_try_echo=$ac_try;;
22903 esac
22904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22905 (eval "$ac_compile") 2>conftest.er1
22906 ac_status=$?
22907 grep -v '^ *+' conftest.er1 >conftest.err
22908 rm -f conftest.er1
22909 cat conftest.err >&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); } && {
22912 test -z "$ac_c_werror_flag" ||
22913 test ! -s conftest.err
22914 } && test -s conftest.$ac_objext; then
22915 ac_lo=0 ac_mid=0
22916 while :; do
22917 cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h. */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923 $ac_includes_default
22924 typedef long long ac__type_sizeof_;
22925 int
22926 main ()
22927 {
22928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22929 test_array [0] = 0
22930
22931 ;
22932 return 0;
22933 }
22934 _ACEOF
22935 rm -f conftest.$ac_objext
22936 if { (ac_try="$ac_compile"
22937 case "(($ac_try" in
22938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939 *) ac_try_echo=$ac_try;;
22940 esac
22941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_compile") 2>conftest.er1
22943 ac_status=$?
22944 grep -v '^ *+' conftest.er1 >conftest.err
22945 rm -f conftest.er1
22946 cat conftest.err >&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); } && {
22949 test -z "$ac_c_werror_flag" ||
22950 test ! -s conftest.err
22951 } && test -s conftest.$ac_objext; then
22952 ac_hi=$ac_mid; break
22953 else
22954 echo "$as_me: failed program was:" >&5
22955 sed 's/^/| /' conftest.$ac_ext >&5
22956
22957 ac_lo=`expr $ac_mid + 1`
22958 if test $ac_lo -le $ac_mid; then
22959 ac_lo= ac_hi=
22960 break
22961 fi
22962 ac_mid=`expr 2 '*' $ac_mid + 1`
22963 fi
22964
22965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22966 done
22967 else
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.$ac_ext >&5
22970
22971 cat >conftest.$ac_ext <<_ACEOF
22972 /* confdefs.h. */
22973 _ACEOF
22974 cat confdefs.h >>conftest.$ac_ext
22975 cat >>conftest.$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 $ac_includes_default
22978 typedef long long ac__type_sizeof_;
22979 int
22980 main ()
22981 {
22982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22983 test_array [0] = 0
22984
22985 ;
22986 return 0;
22987 }
22988 _ACEOF
22989 rm -f conftest.$ac_objext
22990 if { (ac_try="$ac_compile"
22991 case "(($ac_try" in
22992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22993 *) ac_try_echo=$ac_try;;
22994 esac
22995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22996 (eval "$ac_compile") 2>conftest.er1
22997 ac_status=$?
22998 grep -v '^ *+' conftest.er1 >conftest.err
22999 rm -f conftest.er1
23000 cat conftest.err >&5
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } && {
23003 test -z "$ac_c_werror_flag" ||
23004 test ! -s conftest.err
23005 } && test -s conftest.$ac_objext; then
23006 ac_hi=-1 ac_mid=-1
23007 while :; do
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 typedef long long ac__type_sizeof_;
23016 int
23017 main ()
23018 {
23019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23020 test_array [0] = 0
23021
23022 ;
23023 return 0;
23024 }
23025 _ACEOF
23026 rm -f conftest.$ac_objext
23027 if { (ac_try="$ac_compile"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030 *) ac_try_echo=$ac_try;;
23031 esac
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_compile") 2>conftest.er1
23034 ac_status=$?
23035 grep -v '^ *+' conftest.er1 >conftest.err
23036 rm -f conftest.er1
23037 cat conftest.err >&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } && {
23040 test -z "$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23042 } && test -s conftest.$ac_objext; then
23043 ac_lo=$ac_mid; break
23044 else
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.$ac_ext >&5
23047
23048 ac_hi=`expr '(' $ac_mid ')' - 1`
23049 if test $ac_mid -le $ac_hi; then
23050 ac_lo= ac_hi=
23051 break
23052 fi
23053 ac_mid=`expr 2 '*' $ac_mid`
23054 fi
23055
23056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23057 done
23058 else
23059 echo "$as_me: failed program was:" >&5
23060 sed 's/^/| /' conftest.$ac_ext >&5
23061
23062 ac_lo= ac_hi=
23063 fi
23064
23065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23066 fi
23067
23068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23069 # Binary search between lo and hi bounds.
23070 while test "x$ac_lo" != "x$ac_hi"; do
23071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23072 cat >conftest.$ac_ext <<_ACEOF
23073 /* confdefs.h. */
23074 _ACEOF
23075 cat confdefs.h >>conftest.$ac_ext
23076 cat >>conftest.$ac_ext <<_ACEOF
23077 /* end confdefs.h. */
23078 $ac_includes_default
23079 typedef long long ac__type_sizeof_;
23080 int
23081 main ()
23082 {
23083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23084 test_array [0] = 0
23085
23086 ;
23087 return 0;
23088 }
23089 _ACEOF
23090 rm -f conftest.$ac_objext
23091 if { (ac_try="$ac_compile"
23092 case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23094 *) ac_try_echo=$ac_try;;
23095 esac
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_compile") 2>conftest.er1
23098 ac_status=$?
23099 grep -v '^ *+' conftest.er1 >conftest.err
23100 rm -f conftest.er1
23101 cat conftest.err >&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } && {
23104 test -z "$ac_c_werror_flag" ||
23105 test ! -s conftest.err
23106 } && test -s conftest.$ac_objext; then
23107 ac_hi=$ac_mid
23108 else
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.$ac_ext >&5
23111
23112 ac_lo=`expr '(' $ac_mid ')' + 1`
23113 fi
23114
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 done
23117 case $ac_lo in
23118 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23119 '') if test "$ac_cv_type_long_long" = yes; then
23120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23121 See \`config.log' for more details." >&5
23122 echo "$as_me: error: cannot compute sizeof (long long)
23123 See \`config.log' for more details." >&2;}
23124 { (exit 77); exit 77; }; }
23125 else
23126 ac_cv_sizeof_long_long=0
23127 fi ;;
23128 esac
23129 else
23130 cat >conftest.$ac_ext <<_ACEOF
23131 /* confdefs.h. */
23132 _ACEOF
23133 cat confdefs.h >>conftest.$ac_ext
23134 cat >>conftest.$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136 $ac_includes_default
23137 typedef long long ac__type_sizeof_;
23138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23140 #include <stdio.h>
23141 #include <stdlib.h>
23142 int
23143 main ()
23144 {
23145
23146 FILE *f = fopen ("conftest.val", "w");
23147 if (! f)
23148 return 1;
23149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23150 {
23151 long int i = longval ();
23152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23153 return 1;
23154 fprintf (f, "%ld\n", i);
23155 }
23156 else
23157 {
23158 unsigned long int i = ulongval ();
23159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23160 return 1;
23161 fprintf (f, "%lu\n", i);
23162 }
23163 return ferror (f) || fclose (f) != 0;
23164
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 rm -f conftest$ac_exeext
23170 if { (ac_try="$ac_link"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23174 esac
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_link") 2>&5
23177 ac_status=$?
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23180 { (case "(($ac_try" in
23181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23182 *) ac_try_echo=$ac_try;;
23183 esac
23184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23185 (eval "$ac_try") 2>&5
23186 ac_status=$?
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); }; }; then
23189 ac_cv_sizeof_long_long=`cat conftest.val`
23190 else
23191 echo "$as_me: program exited with status $ac_status" >&5
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 ( exit $ac_status )
23196 if test "$ac_cv_type_long_long" = yes; then
23197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23198 See \`config.log' for more details." >&5
23199 echo "$as_me: error: cannot compute sizeof (long long)
23200 See \`config.log' for more details." >&2;}
23201 { (exit 77); exit 77; }; }
23202 else
23203 ac_cv_sizeof_long_long=0
23204 fi
23205 fi
23206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23207 fi
23208 rm -f conftest.val
23209 fi
23210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23211 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23212
23213
23214
23215 cat >>confdefs.h <<_ACEOF
23216 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23217 _ACEOF
23218
23219
23220 ;;
23221 *-hp-hpux* )
23222 { echo "$as_me:$LINENO: checking for long long" >&5
23223 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23224 if test "${ac_cv_type_long_long+set}" = set; then
23225 echo $ECHO_N "(cached) $ECHO_C" >&6
23226 else
23227 cat >conftest.$ac_ext <<_ACEOF
23228 /* confdefs.h. */
23229 _ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 $ac_includes_default
23234 typedef long long ac__type_new_;
23235 int
23236 main ()
23237 {
23238 if ((ac__type_new_ *) 0)
23239 return 0;
23240 if (sizeof (ac__type_new_))
23241 return 0;
23242 ;
23243 return 0;
23244 }
23245 _ACEOF
23246 rm -f conftest.$ac_objext
23247 if { (ac_try="$ac_compile"
23248 case "(($ac_try" in
23249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23250 *) ac_try_echo=$ac_try;;
23251 esac
23252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23253 (eval "$ac_compile") 2>conftest.er1
23254 ac_status=$?
23255 grep -v '^ *+' conftest.er1 >conftest.err
23256 rm -f conftest.er1
23257 cat conftest.err >&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); } && {
23260 test -z "$ac_c_werror_flag" ||
23261 test ! -s conftest.err
23262 } && test -s conftest.$ac_objext; then
23263 ac_cv_type_long_long=yes
23264 else
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.$ac_ext >&5
23267
23268 ac_cv_type_long_long=no
23269 fi
23270
23271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 fi
23273 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23274 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23275
23276 # The cast to long int works around a bug in the HP C Compiler
23277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23279 # This bug is HP SR number 8606223364.
23280 { echo "$as_me:$LINENO: checking size of long long" >&5
23281 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23282 if test "${ac_cv_sizeof_long_long+set}" = set; then
23283 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 else
23285 if test "$cross_compiling" = yes; then
23286 # Depending upon the size, compute the lo and hi bounds.
23287 cat >conftest.$ac_ext <<_ACEOF
23288 /* confdefs.h. */
23289 _ACEOF
23290 cat confdefs.h >>conftest.$ac_ext
23291 cat >>conftest.$ac_ext <<_ACEOF
23292 /* end confdefs.h. */
23293 $ac_includes_default
23294 typedef long long ac__type_sizeof_;
23295 int
23296 main ()
23297 {
23298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23299 test_array [0] = 0
23300
23301 ;
23302 return 0;
23303 }
23304 _ACEOF
23305 rm -f conftest.$ac_objext
23306 if { (ac_try="$ac_compile"
23307 case "(($ac_try" in
23308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23309 *) ac_try_echo=$ac_try;;
23310 esac
23311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23312 (eval "$ac_compile") 2>conftest.er1
23313 ac_status=$?
23314 grep -v '^ *+' conftest.er1 >conftest.err
23315 rm -f conftest.er1
23316 cat conftest.err >&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } && {
23319 test -z "$ac_c_werror_flag" ||
23320 test ! -s conftest.err
23321 } && test -s conftest.$ac_objext; then
23322 ac_lo=0 ac_mid=0
23323 while :; do
23324 cat >conftest.$ac_ext <<_ACEOF
23325 /* confdefs.h. */
23326 _ACEOF
23327 cat confdefs.h >>conftest.$ac_ext
23328 cat >>conftest.$ac_ext <<_ACEOF
23329 /* end confdefs.h. */
23330 $ac_includes_default
23331 typedef long long ac__type_sizeof_;
23332 int
23333 main ()
23334 {
23335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23336 test_array [0] = 0
23337
23338 ;
23339 return 0;
23340 }
23341 _ACEOF
23342 rm -f conftest.$ac_objext
23343 if { (ac_try="$ac_compile"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23347 esac
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_compile") 2>conftest.er1
23350 ac_status=$?
23351 grep -v '^ *+' conftest.er1 >conftest.err
23352 rm -f conftest.er1
23353 cat conftest.err >&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } && {
23356 test -z "$ac_c_werror_flag" ||
23357 test ! -s conftest.err
23358 } && test -s conftest.$ac_objext; then
23359 ac_hi=$ac_mid; break
23360 else
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23363
23364 ac_lo=`expr $ac_mid + 1`
23365 if test $ac_lo -le $ac_mid; then
23366 ac_lo= ac_hi=
23367 break
23368 fi
23369 ac_mid=`expr 2 '*' $ac_mid + 1`
23370 fi
23371
23372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23373 done
23374 else
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23377
23378 cat >conftest.$ac_ext <<_ACEOF
23379 /* confdefs.h. */
23380 _ACEOF
23381 cat confdefs.h >>conftest.$ac_ext
23382 cat >>conftest.$ac_ext <<_ACEOF
23383 /* end confdefs.h. */
23384 $ac_includes_default
23385 typedef long long ac__type_sizeof_;
23386 int
23387 main ()
23388 {
23389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23390 test_array [0] = 0
23391
23392 ;
23393 return 0;
23394 }
23395 _ACEOF
23396 rm -f conftest.$ac_objext
23397 if { (ac_try="$ac_compile"
23398 case "(($ac_try" in
23399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23400 *) ac_try_echo=$ac_try;;
23401 esac
23402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23403 (eval "$ac_compile") 2>conftest.er1
23404 ac_status=$?
23405 grep -v '^ *+' conftest.er1 >conftest.err
23406 rm -f conftest.er1
23407 cat conftest.err >&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); } && {
23410 test -z "$ac_c_werror_flag" ||
23411 test ! -s conftest.err
23412 } && test -s conftest.$ac_objext; then
23413 ac_hi=-1 ac_mid=-1
23414 while :; do
23415 cat >conftest.$ac_ext <<_ACEOF
23416 /* confdefs.h. */
23417 _ACEOF
23418 cat confdefs.h >>conftest.$ac_ext
23419 cat >>conftest.$ac_ext <<_ACEOF
23420 /* end confdefs.h. */
23421 $ac_includes_default
23422 typedef long long ac__type_sizeof_;
23423 int
23424 main ()
23425 {
23426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23427 test_array [0] = 0
23428
23429 ;
23430 return 0;
23431 }
23432 _ACEOF
23433 rm -f conftest.$ac_objext
23434 if { (ac_try="$ac_compile"
23435 case "(($ac_try" in
23436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23437 *) ac_try_echo=$ac_try;;
23438 esac
23439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23440 (eval "$ac_compile") 2>conftest.er1
23441 ac_status=$?
23442 grep -v '^ *+' conftest.er1 >conftest.err
23443 rm -f conftest.er1
23444 cat conftest.err >&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } && {
23447 test -z "$ac_c_werror_flag" ||
23448 test ! -s conftest.err
23449 } && test -s conftest.$ac_objext; then
23450 ac_lo=$ac_mid; break
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455 ac_hi=`expr '(' $ac_mid ')' - 1`
23456 if test $ac_mid -le $ac_hi; then
23457 ac_lo= ac_hi=
23458 break
23459 fi
23460 ac_mid=`expr 2 '*' $ac_mid`
23461 fi
23462
23463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23464 done
23465 else
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.$ac_ext >&5
23468
23469 ac_lo= ac_hi=
23470 fi
23471
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 fi
23474
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476 # Binary search between lo and hi bounds.
23477 while test "x$ac_lo" != "x$ac_hi"; do
23478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23479 cat >conftest.$ac_ext <<_ACEOF
23480 /* confdefs.h. */
23481 _ACEOF
23482 cat confdefs.h >>conftest.$ac_ext
23483 cat >>conftest.$ac_ext <<_ACEOF
23484 /* end confdefs.h. */
23485 $ac_includes_default
23486 typedef long long ac__type_sizeof_;
23487 int
23488 main ()
23489 {
23490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23491 test_array [0] = 0
23492
23493 ;
23494 return 0;
23495 }
23496 _ACEOF
23497 rm -f conftest.$ac_objext
23498 if { (ac_try="$ac_compile"
23499 case "(($ac_try" in
23500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23501 *) ac_try_echo=$ac_try;;
23502 esac
23503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504 (eval "$ac_compile") 2>conftest.er1
23505 ac_status=$?
23506 grep -v '^ *+' conftest.er1 >conftest.err
23507 rm -f conftest.er1
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } && {
23511 test -z "$ac_c_werror_flag" ||
23512 test ! -s conftest.err
23513 } && test -s conftest.$ac_objext; then
23514 ac_hi=$ac_mid
23515 else
23516 echo "$as_me: failed program was:" >&5
23517 sed 's/^/| /' conftest.$ac_ext >&5
23518
23519 ac_lo=`expr '(' $ac_mid ')' + 1`
23520 fi
23521
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23523 done
23524 case $ac_lo in
23525 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23526 '') if test "$ac_cv_type_long_long" = yes; then
23527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23528 See \`config.log' for more details." >&5
23529 echo "$as_me: error: cannot compute sizeof (long long)
23530 See \`config.log' for more details." >&2;}
23531 { (exit 77); exit 77; }; }
23532 else
23533 ac_cv_sizeof_long_long=0
23534 fi ;;
23535 esac
23536 else
23537 cat >conftest.$ac_ext <<_ACEOF
23538 /* confdefs.h. */
23539 _ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543 $ac_includes_default
23544 typedef long long ac__type_sizeof_;
23545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23547 #include <stdio.h>
23548 #include <stdlib.h>
23549 int
23550 main ()
23551 {
23552
23553 FILE *f = fopen ("conftest.val", "w");
23554 if (! f)
23555 return 1;
23556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23557 {
23558 long int i = longval ();
23559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23560 return 1;
23561 fprintf (f, "%ld\n", i);
23562 }
23563 else
23564 {
23565 unsigned long int i = ulongval ();
23566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23567 return 1;
23568 fprintf (f, "%lu\n", i);
23569 }
23570 return ferror (f) || fclose (f) != 0;
23571
23572 ;
23573 return 0;
23574 }
23575 _ACEOF
23576 rm -f conftest$ac_exeext
23577 if { (ac_try="$ac_link"
23578 case "(($ac_try" in
23579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23580 *) ac_try_echo=$ac_try;;
23581 esac
23582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23583 (eval "$ac_link") 2>&5
23584 ac_status=$?
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23587 { (case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23590 esac
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_try") 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_sizeof_long_long=`cat conftest.val`
23597 else
23598 echo "$as_me: program exited with status $ac_status" >&5
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.$ac_ext >&5
23601
23602 ( exit $ac_status )
23603 if test "$ac_cv_type_long_long" = yes; then
23604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23605 See \`config.log' for more details." >&5
23606 echo "$as_me: error: cannot compute sizeof (long long)
23607 See \`config.log' for more details." >&2;}
23608 { (exit 77); exit 77; }; }
23609 else
23610 ac_cv_sizeof_long_long=0
23611 fi
23612 fi
23613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23614 fi
23615 rm -f conftest.val
23616 fi
23617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23619
23620
23621
23622 cat >>confdefs.h <<_ACEOF
23623 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23624 _ACEOF
23625
23626
23627 if test "$ac_cv_sizeof_long_long" != 0; then
23628 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23629 fi
23630 ;;
23631 * )
23632 { echo "$as_me:$LINENO: checking for long long" >&5
23633 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23634 if test "${ac_cv_type_long_long+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 else
23637 cat >conftest.$ac_ext <<_ACEOF
23638 /* confdefs.h. */
23639 _ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 $ac_includes_default
23644 typedef long long ac__type_new_;
23645 int
23646 main ()
23647 {
23648 if ((ac__type_new_ *) 0)
23649 return 0;
23650 if (sizeof (ac__type_new_))
23651 return 0;
23652 ;
23653 return 0;
23654 }
23655 _ACEOF
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23661 esac
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_c_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_cv_type_long_long=yes
23674 else
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5
23677
23678 ac_cv_type_long_long=no
23679 fi
23680
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 fi
23683 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23684 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23685
23686 # The cast to long int works around a bug in the HP C Compiler
23687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23689 # This bug is HP SR number 8606223364.
23690 { echo "$as_me:$LINENO: checking size of long long" >&5
23691 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23692 if test "${ac_cv_sizeof_long_long+set}" = set; then
23693 echo $ECHO_N "(cached) $ECHO_C" >&6
23694 else
23695 if test "$cross_compiling" = yes; then
23696 # Depending upon the size, compute the lo and hi bounds.
23697 cat >conftest.$ac_ext <<_ACEOF
23698 /* confdefs.h. */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 $ac_includes_default
23704 typedef long long ac__type_sizeof_;
23705 int
23706 main ()
23707 {
23708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23709 test_array [0] = 0
23710
23711 ;
23712 return 0;
23713 }
23714 _ACEOF
23715 rm -f conftest.$ac_objext
23716 if { (ac_try="$ac_compile"
23717 case "(($ac_try" in
23718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23719 *) ac_try_echo=$ac_try;;
23720 esac
23721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23722 (eval "$ac_compile") 2>conftest.er1
23723 ac_status=$?
23724 grep -v '^ *+' conftest.er1 >conftest.err
23725 rm -f conftest.er1
23726 cat conftest.err >&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && {
23729 test -z "$ac_c_werror_flag" ||
23730 test ! -s conftest.err
23731 } && test -s conftest.$ac_objext; then
23732 ac_lo=0 ac_mid=0
23733 while :; do
23734 cat >conftest.$ac_ext <<_ACEOF
23735 /* confdefs.h. */
23736 _ACEOF
23737 cat confdefs.h >>conftest.$ac_ext
23738 cat >>conftest.$ac_ext <<_ACEOF
23739 /* end confdefs.h. */
23740 $ac_includes_default
23741 typedef long long ac__type_sizeof_;
23742 int
23743 main ()
23744 {
23745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23746 test_array [0] = 0
23747
23748 ;
23749 return 0;
23750 }
23751 _ACEOF
23752 rm -f conftest.$ac_objext
23753 if { (ac_try="$ac_compile"
23754 case "(($ac_try" in
23755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23756 *) ac_try_echo=$ac_try;;
23757 esac
23758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23759 (eval "$ac_compile") 2>conftest.er1
23760 ac_status=$?
23761 grep -v '^ *+' conftest.er1 >conftest.err
23762 rm -f conftest.er1
23763 cat conftest.err >&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); } && {
23766 test -z "$ac_c_werror_flag" ||
23767 test ! -s conftest.err
23768 } && test -s conftest.$ac_objext; then
23769 ac_hi=$ac_mid; break
23770 else
23771 echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.$ac_ext >&5
23773
23774 ac_lo=`expr $ac_mid + 1`
23775 if test $ac_lo -le $ac_mid; then
23776 ac_lo= ac_hi=
23777 break
23778 fi
23779 ac_mid=`expr 2 '*' $ac_mid + 1`
23780 fi
23781
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 done
23784 else
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.$ac_ext >&5
23787
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h. */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 $ac_includes_default
23795 typedef long long ac__type_sizeof_;
23796 int
23797 main ()
23798 {
23799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23800 test_array [0] = 0
23801
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 rm -f conftest.$ac_objext
23807 if { (ac_try="$ac_compile"
23808 case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23811 esac
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_compile") 2>conftest.er1
23814 ac_status=$?
23815 grep -v '^ *+' conftest.er1 >conftest.err
23816 rm -f conftest.er1
23817 cat conftest.err >&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && {
23820 test -z "$ac_c_werror_flag" ||
23821 test ! -s conftest.err
23822 } && test -s conftest.$ac_objext; then
23823 ac_hi=-1 ac_mid=-1
23824 while :; do
23825 cat >conftest.$ac_ext <<_ACEOF
23826 /* confdefs.h. */
23827 _ACEOF
23828 cat confdefs.h >>conftest.$ac_ext
23829 cat >>conftest.$ac_ext <<_ACEOF
23830 /* end confdefs.h. */
23831 $ac_includes_default
23832 typedef long long ac__type_sizeof_;
23833 int
23834 main ()
23835 {
23836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23837 test_array [0] = 0
23838
23839 ;
23840 return 0;
23841 }
23842 _ACEOF
23843 rm -f conftest.$ac_objext
23844 if { (ac_try="$ac_compile"
23845 case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23847 *) ac_try_echo=$ac_try;;
23848 esac
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_compile") 2>conftest.er1
23851 ac_status=$?
23852 grep -v '^ *+' conftest.er1 >conftest.err
23853 rm -f conftest.er1
23854 cat conftest.err >&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } && {
23857 test -z "$ac_c_werror_flag" ||
23858 test ! -s conftest.err
23859 } && test -s conftest.$ac_objext; then
23860 ac_lo=$ac_mid; break
23861 else
23862 echo "$as_me: failed program was:" >&5
23863 sed 's/^/| /' conftest.$ac_ext >&5
23864
23865 ac_hi=`expr '(' $ac_mid ')' - 1`
23866 if test $ac_mid -le $ac_hi; then
23867 ac_lo= ac_hi=
23868 break
23869 fi
23870 ac_mid=`expr 2 '*' $ac_mid`
23871 fi
23872
23873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23874 done
23875 else
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23878
23879 ac_lo= ac_hi=
23880 fi
23881
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23883 fi
23884
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23886 # Binary search between lo and hi bounds.
23887 while test "x$ac_lo" != "x$ac_hi"; do
23888 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 $ac_includes_default
23896 typedef long long ac__type_sizeof_;
23897 int
23898 main ()
23899 {
23900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23901 test_array [0] = 0
23902
23903 ;
23904 return 0;
23905 }
23906 _ACEOF
23907 rm -f conftest.$ac_objext
23908 if { (ac_try="$ac_compile"
23909 case "(($ac_try" in
23910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23911 *) ac_try_echo=$ac_try;;
23912 esac
23913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23914 (eval "$ac_compile") 2>conftest.er1
23915 ac_status=$?
23916 grep -v '^ *+' conftest.er1 >conftest.err
23917 rm -f conftest.er1
23918 cat conftest.err >&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } && {
23921 test -z "$ac_c_werror_flag" ||
23922 test ! -s conftest.err
23923 } && test -s conftest.$ac_objext; then
23924 ac_hi=$ac_mid
23925 else
23926 echo "$as_me: failed program was:" >&5
23927 sed 's/^/| /' conftest.$ac_ext >&5
23928
23929 ac_lo=`expr '(' $ac_mid ')' + 1`
23930 fi
23931
23932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23933 done
23934 case $ac_lo in
23935 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23936 '') if test "$ac_cv_type_long_long" = yes; then
23937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23938 See \`config.log' for more details." >&5
23939 echo "$as_me: error: cannot compute sizeof (long long)
23940 See \`config.log' for more details." >&2;}
23941 { (exit 77); exit 77; }; }
23942 else
23943 ac_cv_sizeof_long_long=0
23944 fi ;;
23945 esac
23946 else
23947 cat >conftest.$ac_ext <<_ACEOF
23948 /* confdefs.h. */
23949 _ACEOF
23950 cat confdefs.h >>conftest.$ac_ext
23951 cat >>conftest.$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23953 $ac_includes_default
23954 typedef long long ac__type_sizeof_;
23955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23957 #include <stdio.h>
23958 #include <stdlib.h>
23959 int
23960 main ()
23961 {
23962
23963 FILE *f = fopen ("conftest.val", "w");
23964 if (! f)
23965 return 1;
23966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23967 {
23968 long int i = longval ();
23969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23970 return 1;
23971 fprintf (f, "%ld\n", i);
23972 }
23973 else
23974 {
23975 unsigned long int i = ulongval ();
23976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23977 return 1;
23978 fprintf (f, "%lu\n", i);
23979 }
23980 return ferror (f) || fclose (f) != 0;
23981
23982 ;
23983 return 0;
23984 }
23985 _ACEOF
23986 rm -f conftest$ac_exeext
23987 if { (ac_try="$ac_link"
23988 case "(($ac_try" in
23989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23991 esac
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_link") 2>&5
23994 ac_status=$?
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23997 { (case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24000 esac
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_try") 2>&5
24003 ac_status=$?
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); }; }; then
24006 ac_cv_sizeof_long_long=`cat conftest.val`
24007 else
24008 echo "$as_me: program exited with status $ac_status" >&5
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24011
24012 ( exit $ac_status )
24013 if test "$ac_cv_type_long_long" = yes; then
24014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24015 See \`config.log' for more details." >&5
24016 echo "$as_me: error: cannot compute sizeof (long long)
24017 See \`config.log' for more details." >&2;}
24018 { (exit 77); exit 77; }; }
24019 else
24020 ac_cv_sizeof_long_long=0
24021 fi
24022 fi
24023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24024 fi
24025 rm -f conftest.val
24026 fi
24027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24028 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24029
24030
24031
24032 cat >>confdefs.h <<_ACEOF
24033 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24034 _ACEOF
24035
24036
24037 esac
24038
24039 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24040 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24041 if test "${ac_cv_type_wchar_t+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24044 cat >conftest.$ac_ext <<_ACEOF
24045 /* confdefs.h. */
24046 _ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24050
24051 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24052 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24053 # error "fake wchar_t"
24054 #endif
24055 #ifdef HAVE_WCHAR_H
24056 # ifdef __CYGWIN__
24057 # include <stddef.h>
24058 # endif
24059 # include <wchar.h>
24060 #endif
24061 #ifdef HAVE_STDLIB_H
24062 # include <stdlib.h>
24063 #endif
24064 #include <stdio.h>
24065
24066
24067
24068 typedef wchar_t ac__type_new_;
24069 int
24070 main ()
24071 {
24072 if ((ac__type_new_ *) 0)
24073 return 0;
24074 if (sizeof (ac__type_new_))
24075 return 0;
24076 ;
24077 return 0;
24078 }
24079 _ACEOF
24080 rm -f conftest.$ac_objext
24081 if { (ac_try="$ac_compile"
24082 case "(($ac_try" in
24083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24084 *) ac_try_echo=$ac_try;;
24085 esac
24086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24087 (eval "$ac_compile") 2>conftest.er1
24088 ac_status=$?
24089 grep -v '^ *+' conftest.er1 >conftest.err
24090 rm -f conftest.er1
24091 cat conftest.err >&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } && {
24094 test -z "$ac_c_werror_flag" ||
24095 test ! -s conftest.err
24096 } && test -s conftest.$ac_objext; then
24097 ac_cv_type_wchar_t=yes
24098 else
24099 echo "$as_me: failed program was:" >&5
24100 sed 's/^/| /' conftest.$ac_ext >&5
24101
24102 ac_cv_type_wchar_t=no
24103 fi
24104
24105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24106 fi
24107 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24108 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24109
24110 # The cast to long int works around a bug in the HP C Compiler
24111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24113 # This bug is HP SR number 8606223364.
24114 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24115 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24116 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24118 else
24119 if test "$cross_compiling" = yes; then
24120 # Depending upon the size, compute the lo and hi bounds.
24121 cat >conftest.$ac_ext <<_ACEOF
24122 /* confdefs.h. */
24123 _ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24127
24128 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24129 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24130 # error "fake wchar_t"
24131 #endif
24132 #ifdef HAVE_WCHAR_H
24133 # ifdef __CYGWIN__
24134 # include <stddef.h>
24135 # endif
24136 # include <wchar.h>
24137 #endif
24138 #ifdef HAVE_STDLIB_H
24139 # include <stdlib.h>
24140 #endif
24141 #include <stdio.h>
24142
24143
24144
24145 typedef wchar_t ac__type_sizeof_;
24146 int
24147 main ()
24148 {
24149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24150 test_array [0] = 0
24151
24152 ;
24153 return 0;
24154 }
24155 _ACEOF
24156 rm -f conftest.$ac_objext
24157 if { (ac_try="$ac_compile"
24158 case "(($ac_try" in
24159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24160 *) ac_try_echo=$ac_try;;
24161 esac
24162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24163 (eval "$ac_compile") 2>conftest.er1
24164 ac_status=$?
24165 grep -v '^ *+' conftest.er1 >conftest.err
24166 rm -f conftest.er1
24167 cat conftest.err >&5
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); } && {
24170 test -z "$ac_c_werror_flag" ||
24171 test ! -s conftest.err
24172 } && test -s conftest.$ac_objext; then
24173 ac_lo=0 ac_mid=0
24174 while :; do
24175 cat >conftest.$ac_ext <<_ACEOF
24176 /* confdefs.h. */
24177 _ACEOF
24178 cat confdefs.h >>conftest.$ac_ext
24179 cat >>conftest.$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24181
24182 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24183 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24184 # error "fake wchar_t"
24185 #endif
24186 #ifdef HAVE_WCHAR_H
24187 # ifdef __CYGWIN__
24188 # include <stddef.h>
24189 # endif
24190 # include <wchar.h>
24191 #endif
24192 #ifdef HAVE_STDLIB_H
24193 # include <stdlib.h>
24194 #endif
24195 #include <stdio.h>
24196
24197
24198
24199 typedef wchar_t ac__type_sizeof_;
24200 int
24201 main ()
24202 {
24203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24204 test_array [0] = 0
24205
24206 ;
24207 return 0;
24208 }
24209 _ACEOF
24210 rm -f conftest.$ac_objext
24211 if { (ac_try="$ac_compile"
24212 case "(($ac_try" in
24213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24214 *) ac_try_echo=$ac_try;;
24215 esac
24216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24217 (eval "$ac_compile") 2>conftest.er1
24218 ac_status=$?
24219 grep -v '^ *+' conftest.er1 >conftest.err
24220 rm -f conftest.er1
24221 cat conftest.err >&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } && {
24224 test -z "$ac_c_werror_flag" ||
24225 test ! -s conftest.err
24226 } && test -s conftest.$ac_objext; then
24227 ac_hi=$ac_mid; break
24228 else
24229 echo "$as_me: failed program was:" >&5
24230 sed 's/^/| /' conftest.$ac_ext >&5
24231
24232 ac_lo=`expr $ac_mid + 1`
24233 if test $ac_lo -le $ac_mid; then
24234 ac_lo= ac_hi=
24235 break
24236 fi
24237 ac_mid=`expr 2 '*' $ac_mid + 1`
24238 fi
24239
24240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24241 done
24242 else
24243 echo "$as_me: failed program was:" >&5
24244 sed 's/^/| /' conftest.$ac_ext >&5
24245
24246 cat >conftest.$ac_ext <<_ACEOF
24247 /* confdefs.h. */
24248 _ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24252
24253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24255 # error "fake wchar_t"
24256 #endif
24257 #ifdef HAVE_WCHAR_H
24258 # ifdef __CYGWIN__
24259 # include <stddef.h>
24260 # endif
24261 # include <wchar.h>
24262 #endif
24263 #ifdef HAVE_STDLIB_H
24264 # include <stdlib.h>
24265 #endif
24266 #include <stdio.h>
24267
24268
24269
24270 typedef wchar_t ac__type_sizeof_;
24271 int
24272 main ()
24273 {
24274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24275 test_array [0] = 0
24276
24277 ;
24278 return 0;
24279 }
24280 _ACEOF
24281 rm -f conftest.$ac_objext
24282 if { (ac_try="$ac_compile"
24283 case "(($ac_try" in
24284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24285 *) ac_try_echo=$ac_try;;
24286 esac
24287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24288 (eval "$ac_compile") 2>conftest.er1
24289 ac_status=$?
24290 grep -v '^ *+' conftest.er1 >conftest.err
24291 rm -f conftest.er1
24292 cat conftest.err >&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } && {
24295 test -z "$ac_c_werror_flag" ||
24296 test ! -s conftest.err
24297 } && test -s conftest.$ac_objext; then
24298 ac_hi=-1 ac_mid=-1
24299 while :; do
24300 cat >conftest.$ac_ext <<_ACEOF
24301 /* confdefs.h. */
24302 _ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24306
24307 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24308 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24309 # error "fake wchar_t"
24310 #endif
24311 #ifdef HAVE_WCHAR_H
24312 # ifdef __CYGWIN__
24313 # include <stddef.h>
24314 # endif
24315 # include <wchar.h>
24316 #endif
24317 #ifdef HAVE_STDLIB_H
24318 # include <stdlib.h>
24319 #endif
24320 #include <stdio.h>
24321
24322
24323
24324 typedef wchar_t ac__type_sizeof_;
24325 int
24326 main ()
24327 {
24328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24329 test_array [0] = 0
24330
24331 ;
24332 return 0;
24333 }
24334 _ACEOF
24335 rm -f conftest.$ac_objext
24336 if { (ac_try="$ac_compile"
24337 case "(($ac_try" in
24338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24339 *) ac_try_echo=$ac_try;;
24340 esac
24341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24342 (eval "$ac_compile") 2>conftest.er1
24343 ac_status=$?
24344 grep -v '^ *+' conftest.er1 >conftest.err
24345 rm -f conftest.er1
24346 cat conftest.err >&5
24347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); } && {
24349 test -z "$ac_c_werror_flag" ||
24350 test ! -s conftest.err
24351 } && test -s conftest.$ac_objext; then
24352 ac_lo=$ac_mid; break
24353 else
24354 echo "$as_me: failed program was:" >&5
24355 sed 's/^/| /' conftest.$ac_ext >&5
24356
24357 ac_hi=`expr '(' $ac_mid ')' - 1`
24358 if test $ac_mid -le $ac_hi; then
24359 ac_lo= ac_hi=
24360 break
24361 fi
24362 ac_mid=`expr 2 '*' $ac_mid`
24363 fi
24364
24365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24366 done
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24370
24371 ac_lo= ac_hi=
24372 fi
24373
24374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24375 fi
24376
24377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378 # Binary search between lo and hi bounds.
24379 while test "x$ac_lo" != "x$ac_hi"; do
24380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24381 cat >conftest.$ac_ext <<_ACEOF
24382 /* confdefs.h. */
24383 _ACEOF
24384 cat confdefs.h >>conftest.$ac_ext
24385 cat >>conftest.$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24387
24388 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24389 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24390 # error "fake wchar_t"
24391 #endif
24392 #ifdef HAVE_WCHAR_H
24393 # ifdef __CYGWIN__
24394 # include <stddef.h>
24395 # endif
24396 # include <wchar.h>
24397 #endif
24398 #ifdef HAVE_STDLIB_H
24399 # include <stdlib.h>
24400 #endif
24401 #include <stdio.h>
24402
24403
24404
24405 typedef wchar_t ac__type_sizeof_;
24406 int
24407 main ()
24408 {
24409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24410 test_array [0] = 0
24411
24412 ;
24413 return 0;
24414 }
24415 _ACEOF
24416 rm -f conftest.$ac_objext
24417 if { (ac_try="$ac_compile"
24418 case "(($ac_try" in
24419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24420 *) ac_try_echo=$ac_try;;
24421 esac
24422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24423 (eval "$ac_compile") 2>conftest.er1
24424 ac_status=$?
24425 grep -v '^ *+' conftest.er1 >conftest.err
24426 rm -f conftest.er1
24427 cat conftest.err >&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } && {
24430 test -z "$ac_c_werror_flag" ||
24431 test ! -s conftest.err
24432 } && test -s conftest.$ac_objext; then
24433 ac_hi=$ac_mid
24434 else
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.$ac_ext >&5
24437
24438 ac_lo=`expr '(' $ac_mid ')' + 1`
24439 fi
24440
24441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24442 done
24443 case $ac_lo in
24444 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24445 '') if test "$ac_cv_type_wchar_t" = yes; then
24446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24447 See \`config.log' for more details." >&5
24448 echo "$as_me: error: cannot compute sizeof (wchar_t)
24449 See \`config.log' for more details." >&2;}
24450 { (exit 77); exit 77; }; }
24451 else
24452 ac_cv_sizeof_wchar_t=0
24453 fi ;;
24454 esac
24455 else
24456 cat >conftest.$ac_ext <<_ACEOF
24457 /* confdefs.h. */
24458 _ACEOF
24459 cat confdefs.h >>conftest.$ac_ext
24460 cat >>conftest.$ac_ext <<_ACEOF
24461 /* end confdefs.h. */
24462
24463 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24464 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24465 # error "fake wchar_t"
24466 #endif
24467 #ifdef HAVE_WCHAR_H
24468 # ifdef __CYGWIN__
24469 # include <stddef.h>
24470 # endif
24471 # include <wchar.h>
24472 #endif
24473 #ifdef HAVE_STDLIB_H
24474 # include <stdlib.h>
24475 #endif
24476 #include <stdio.h>
24477
24478
24479
24480 typedef wchar_t ac__type_sizeof_;
24481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24483 #include <stdio.h>
24484 #include <stdlib.h>
24485 int
24486 main ()
24487 {
24488
24489 FILE *f = fopen ("conftest.val", "w");
24490 if (! f)
24491 return 1;
24492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24493 {
24494 long int i = longval ();
24495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24496 return 1;
24497 fprintf (f, "%ld\n", i);
24498 }
24499 else
24500 {
24501 unsigned long int i = ulongval ();
24502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24503 return 1;
24504 fprintf (f, "%lu\n", i);
24505 }
24506 return ferror (f) || fclose (f) != 0;
24507
24508 ;
24509 return 0;
24510 }
24511 _ACEOF
24512 rm -f conftest$ac_exeext
24513 if { (ac_try="$ac_link"
24514 case "(($ac_try" in
24515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24516 *) ac_try_echo=$ac_try;;
24517 esac
24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_link") 2>&5
24520 ac_status=$?
24521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24523 { (case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24526 esac
24527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_try") 2>&5
24529 ac_status=$?
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); }; }; then
24532 ac_cv_sizeof_wchar_t=`cat conftest.val`
24533 else
24534 echo "$as_me: program exited with status $ac_status" >&5
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.$ac_ext >&5
24537
24538 ( exit $ac_status )
24539 if test "$ac_cv_type_wchar_t" = yes; then
24540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24541 See \`config.log' for more details." >&5
24542 echo "$as_me: error: cannot compute sizeof (wchar_t)
24543 See \`config.log' for more details." >&2;}
24544 { (exit 77); exit 77; }; }
24545 else
24546 ac_cv_sizeof_wchar_t=0
24547 fi
24548 fi
24549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24550 fi
24551 rm -f conftest.val
24552 fi
24553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24554 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24555
24556
24557
24558 cat >>confdefs.h <<_ACEOF
24559 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24560 _ACEOF
24561
24562
24563 if test "$ac_cv_sizeof_wchar_t" = 0; then
24564 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24565 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24566 { (exit 1); exit 1; }; }
24567 fi
24568 cat >>confdefs.h <<\_ACEOF
24569 #define wxUSE_WCHAR_T 1
24570 _ACEOF
24571
24572
24573 { echo "$as_me:$LINENO: checking for va_copy" >&5
24574 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24575 if test "${wx_cv_func_va_copy+set}" = set; then
24576 echo $ECHO_N "(cached) $ECHO_C" >&6
24577 else
24578
24579 ac_ext=cpp
24580 ac_cpp='$CXXCPP $CPPFLAGS'
24581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24584
24585 cat >conftest.$ac_ext <<_ACEOF
24586
24587 /* confdefs.h. */
24588 _ACEOF
24589 cat confdefs.h >>conftest.$ac_ext
24590 cat >>conftest.$ac_ext <<_ACEOF
24591 /* end confdefs.h. */
24592
24593 #include <stdarg.h>
24594 void foo(char *f, ...)
24595 {
24596 va_list ap1, ap2;
24597 va_start(ap1, f);
24598 va_copy(ap2, ap1);
24599 va_end(ap2);
24600 va_end(ap1);
24601 }
24602 int main()
24603 {
24604 foo("hi", 17);
24605 return 0;
24606 }
24607
24608 _ACEOF
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (ac_try="$ac_link"
24611 case "(($ac_try" in
24612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24613 *) ac_try_echo=$ac_try;;
24614 esac
24615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24616 (eval "$ac_link") 2>conftest.er1
24617 ac_status=$?
24618 grep -v '^ *+' conftest.er1 >conftest.err
24619 rm -f conftest.er1
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); } && {
24623 test -z "$ac_cxx_werror_flag" ||
24624 test ! -s conftest.err
24625 } && test -s conftest$ac_exeext &&
24626 $as_test_x conftest$ac_exeext; then
24627 wx_cv_func_va_copy=yes
24628 else
24629 echo "$as_me: failed program was:" >&5
24630 sed 's/^/| /' conftest.$ac_ext >&5
24631
24632 wx_cv_func_va_copy=no
24633
24634 fi
24635
24636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24637 conftest$ac_exeext conftest.$ac_ext
24638 ac_ext=c
24639 ac_cpp='$CPP $CPPFLAGS'
24640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24643
24644
24645
24646 fi
24647 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24648 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24649
24650 if test $wx_cv_func_va_copy = "yes"; then
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_VA_COPY 1
24653 _ACEOF
24654
24655 else
24656 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24657 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24658 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24659 echo $ECHO_N "(cached) $ECHO_C" >&6
24660 else
24661
24662 if test "$cross_compiling" = yes; then
24663 wx_cv_type_va_list_lvalue=yes
24664
24665 else
24666 cat >conftest.$ac_ext <<_ACEOF
24667
24668 /* confdefs.h. */
24669 _ACEOF
24670 cat confdefs.h >>conftest.$ac_ext
24671 cat >>conftest.$ac_ext <<_ACEOF
24672 /* end confdefs.h. */
24673
24674 #include <stdarg.h>
24675 int foo(char *f, ...)
24676 {
24677 va_list ap1, ap2;
24678 va_start(ap1, f);
24679 ap2 = ap1;
24680 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24681 return 1;
24682 va_end(ap2);
24683 va_end(ap1);
24684 return 0;
24685 }
24686 int main()
24687 {
24688 return foo("hi", 17);
24689 }
24690
24691 _ACEOF
24692 rm -f conftest$ac_exeext
24693 if { (ac_try="$ac_link"
24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24697 esac
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_link") 2>&5
24700 ac_status=$?
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24703 { (case "(($ac_try" in
24704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24705 *) ac_try_echo=$ac_try;;
24706 esac
24707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24708 (eval "$ac_try") 2>&5
24709 ac_status=$?
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); }; }; then
24712 wx_cv_type_va_list_lvalue=yes
24713 else
24714 echo "$as_me: program exited with status $ac_status" >&5
24715 echo "$as_me: failed program was:" >&5
24716 sed 's/^/| /' conftest.$ac_ext >&5
24717
24718 ( exit $ac_status )
24719 wx_cv_type_va_list_lvalue=no
24720 fi
24721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24722 fi
24723
24724
24725
24726
24727 fi
24728 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24729 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24730
24731 if test $wx_cv_type_va_list_lvalue != "yes"; then
24732 cat >>confdefs.h <<\_ACEOF
24733 #define VA_LIST_IS_ARRAY 1
24734 _ACEOF
24735
24736 fi
24737 fi
24738
24739 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24740
24741 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24742 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24743 if test "${wx_cv_have_variadic_macros+set}" = set; then
24744 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 else
24746
24747 ac_ext=cpp
24748 ac_cpp='$CXXCPP $CPPFLAGS'
24749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24752
24753 cat >conftest.$ac_ext <<_ACEOF
24754
24755 /* confdefs.h. */
24756 _ACEOF
24757 cat confdefs.h >>conftest.$ac_ext
24758 cat >>conftest.$ac_ext <<_ACEOF
24759 /* end confdefs.h. */
24760
24761 #include <stdio.h>
24762 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24763
24764 int
24765 main ()
24766 {
24767
24768 test("%s %d %p", "test", 1, 0);
24769
24770
24771 ;
24772 return 0;
24773 }
24774 _ACEOF
24775 rm -f conftest.$ac_objext
24776 if { (ac_try="$ac_compile"
24777 case "(($ac_try" in
24778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24779 *) ac_try_echo=$ac_try;;
24780 esac
24781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24782 (eval "$ac_compile") 2>conftest.er1
24783 ac_status=$?
24784 grep -v '^ *+' conftest.er1 >conftest.err
24785 rm -f conftest.er1
24786 cat conftest.err >&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); } && {
24789 test -z "$ac_cxx_werror_flag" ||
24790 test ! -s conftest.err
24791 } && test -s conftest.$ac_objext; then
24792 wx_cv_have_variadic_macros=yes
24793 else
24794 echo "$as_me: failed program was:" >&5
24795 sed 's/^/| /' conftest.$ac_ext >&5
24796
24797 wx_cv_have_variadic_macros=no
24798
24799 fi
24800
24801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24802 ac_ext=c
24803 ac_cpp='$CPP $CPPFLAGS'
24804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24807
24808
24809
24810 fi
24811 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24812 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24813
24814 if test $wx_cv_have_variadic_macros = "yes"; then
24815 cat >>confdefs.h <<\_ACEOF
24816 #define HAVE_VARIADIC_MACROS 1
24817 _ACEOF
24818
24819 fi
24820
24821 fi
24822
24823 LARGEFILE_CPPFLAGS=
24824 # Check whether --enable-largefile was given.
24825 if test "${enable_largefile+set}" = set; then
24826 enableval=$enable_largefile;
24827 fi
24828
24829 if test "$enable_largefile" != no; then
24830 wx_largefile=no
24831
24832 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24833 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24834 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24835 echo $ECHO_N "(cached) $ECHO_C" >&6
24836 else
24837
24838 cat >conftest.$ac_ext <<_ACEOF
24839 /* confdefs.h. */
24840 _ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844 #define _FILE_OFFSET_BITS 64
24845 #include <sys/types.h>
24846 int
24847 main ()
24848 {
24849 typedef struct {
24850 unsigned int field: sizeof(off_t) == 8;
24851 } wxlf;
24852
24853 ;
24854 return 0;
24855 }
24856 _ACEOF
24857 rm -f conftest.$ac_objext
24858 if { (ac_try="$ac_compile"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24862 esac
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_compile") 2>conftest.er1
24865 ac_status=$?
24866 grep -v '^ *+' conftest.er1 >conftest.err
24867 rm -f conftest.er1
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } && {
24871 test -z "$ac_c_werror_flag" ||
24872 test ! -s conftest.err
24873 } && test -s conftest.$ac_objext; then
24874 ac_cv_sys_file_offset_bits=64
24875 else
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.$ac_ext >&5
24878
24879 ac_cv_sys_file_offset_bits=no
24880 fi
24881
24882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24883
24884
24885 fi
24886 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24887 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24888
24889 if test "$ac_cv_sys_file_offset_bits" != no; then
24890 wx_largefile=yes
24891 cat >>confdefs.h <<_ACEOF
24892 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24893 _ACEOF
24894
24895 fi
24896
24897 if test "x$wx_largefile" != "xyes"; then
24898
24899 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24900 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24901 if test "${ac_cv_sys_large_files+set}" = set; then
24902 echo $ECHO_N "(cached) $ECHO_C" >&6
24903 else
24904
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911 #define _LARGE_FILES 1
24912 #include <sys/types.h>
24913 int
24914 main ()
24915 {
24916 typedef struct {
24917 unsigned int field: sizeof(off_t) == 8;
24918 } wxlf;
24919
24920 ;
24921 return 0;
24922 }
24923 _ACEOF
24924 rm -f conftest.$ac_objext
24925 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;;
24929 esac
24930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 (eval "$ac_compile") 2>conftest.er1
24932 ac_status=$?
24933 grep -v '^ *+' conftest.er1 >conftest.err
24934 rm -f conftest.er1
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } && {
24938 test -z "$ac_c_werror_flag" ||
24939 test ! -s conftest.err
24940 } && test -s conftest.$ac_objext; then
24941 ac_cv_sys_large_files=1
24942 else
24943 echo "$as_me: failed program was:" >&5
24944 sed 's/^/| /' conftest.$ac_ext >&5
24945
24946 ac_cv_sys_large_files=no
24947 fi
24948
24949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24950
24951
24952 fi
24953 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24954 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24955
24956 if test "$ac_cv_sys_large_files" != no; then
24957 wx_largefile=yes
24958 cat >>confdefs.h <<_ACEOF
24959 #define _LARGE_FILES $ac_cv_sys_large_files
24960 _ACEOF
24961
24962 fi
24963
24964 fi
24965
24966 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24967 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24968 if test "x$wx_largefile" = "xyes"; then
24969 cat >>confdefs.h <<\_ACEOF
24970 #define HAVE_LARGEFILE_SUPPORT 1
24971 _ACEOF
24972
24973 fi
24974 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24975 echo "${ECHO_T}$wx_largefile" >&6; }
24976 fi
24977
24978 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24979 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24980 elif test "$ac_cv_sys_large_files" = 1; then
24981 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24982 fi
24983
24984 if test -n "$LARGEFILE_CPPFLAGS"; then
24985 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24986
24987 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24988 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24989 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24990 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 else
24993
24994 ac_ext=cpp
24995 ac_cpp='$CXXCPP $CPPFLAGS'
24996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24999
25000 cat >conftest.$ac_ext <<_ACEOF
25001 /* confdefs.h. */
25002 _ACEOF
25003 cat confdefs.h >>conftest.$ac_ext
25004 cat >>conftest.$ac_ext <<_ACEOF
25005 /* end confdefs.h. */
25006
25007 int
25008 main ()
25009 {
25010
25011 #ifndef __STDC_EXT__
25012 choke me
25013 #endif
25014
25015 ;
25016 return 0;
25017 }
25018 _ACEOF
25019 rm -f conftest.$ac_objext
25020 if { (ac_try="$ac_compile"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25024 esac
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_compile") 2>conftest.er1
25027 ac_status=$?
25028 grep -v '^ *+' conftest.er1 >conftest.err
25029 rm -f conftest.er1
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_cxx_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest.$ac_objext; then
25036 wx_cv_STDC_EXT_required=no
25037 else
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25040
25041 wx_cv_STDC_EXT_required=yes
25042
25043 fi
25044
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046 ac_ext=c
25047 ac_cpp='$CPP $CPPFLAGS'
25048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25051
25052
25053
25054 fi
25055 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25056 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25057 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25058 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25059 fi
25060 fi
25061 fi
25062
25063 ac_ext=cpp
25064 ac_cpp='$CXXCPP $CPPFLAGS'
25065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25068
25069 old_CPPFLAGS="$CPPFLAGS"
25070 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25071 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25072 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25073 if test "${ac_cv_sys_largefile_source+set}" = set; then
25074 echo $ECHO_N "(cached) $ECHO_C" >&6
25075 else
25076 while :; do
25077 cat >conftest.$ac_ext <<_ACEOF
25078 /* confdefs.h. */
25079 _ACEOF
25080 cat confdefs.h >>conftest.$ac_ext
25081 cat >>conftest.$ac_ext <<_ACEOF
25082 /* end confdefs.h. */
25083 #include <sys/types.h> /* for off_t */
25084 #include <stdio.h>
25085 int
25086 main ()
25087 {
25088 int (*fp) (FILE *, off_t, int) = fseeko;
25089 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25090 ;
25091 return 0;
25092 }
25093 _ACEOF
25094 rm -f conftest.$ac_objext conftest$ac_exeext
25095 if { (ac_try="$ac_link"
25096 case "(($ac_try" in
25097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25098 *) ac_try_echo=$ac_try;;
25099 esac
25100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25101 (eval "$ac_link") 2>conftest.er1
25102 ac_status=$?
25103 grep -v '^ *+' conftest.er1 >conftest.err
25104 rm -f conftest.er1
25105 cat conftest.err >&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); } && {
25108 test -z "$ac_cxx_werror_flag" ||
25109 test ! -s conftest.err
25110 } && test -s conftest$ac_exeext &&
25111 $as_test_x conftest$ac_exeext; then
25112 ac_cv_sys_largefile_source=no; break
25113 else
25114 echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25116
25117
25118 fi
25119
25120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25121 conftest$ac_exeext conftest.$ac_ext
25122 cat >conftest.$ac_ext <<_ACEOF
25123 /* confdefs.h. */
25124 _ACEOF
25125 cat confdefs.h >>conftest.$ac_ext
25126 cat >>conftest.$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25128 #define _LARGEFILE_SOURCE 1
25129 #include <sys/types.h> /* for off_t */
25130 #include <stdio.h>
25131 int
25132 main ()
25133 {
25134 int (*fp) (FILE *, off_t, int) = fseeko;
25135 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25136 ;
25137 return 0;
25138 }
25139 _ACEOF
25140 rm -f conftest.$ac_objext conftest$ac_exeext
25141 if { (ac_try="$ac_link"
25142 case "(($ac_try" in
25143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25144 *) ac_try_echo=$ac_try;;
25145 esac
25146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25147 (eval "$ac_link") 2>conftest.er1
25148 ac_status=$?
25149 grep -v '^ *+' conftest.er1 >conftest.err
25150 rm -f conftest.er1
25151 cat conftest.err >&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); } && {
25154 test -z "$ac_cxx_werror_flag" ||
25155 test ! -s conftest.err
25156 } && test -s conftest$ac_exeext &&
25157 $as_test_x conftest$ac_exeext; then
25158 ac_cv_sys_largefile_source=1; break
25159 else
25160 echo "$as_me: failed program was:" >&5
25161 sed 's/^/| /' conftest.$ac_ext >&5
25162
25163
25164 fi
25165
25166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25167 conftest$ac_exeext conftest.$ac_ext
25168 ac_cv_sys_largefile_source=unknown
25169 break
25170 done
25171 fi
25172 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25173 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25174 case $ac_cv_sys_largefile_source in #(
25175 no | unknown) ;;
25176 *)
25177 cat >>confdefs.h <<_ACEOF
25178 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25179 _ACEOF
25180 ;;
25181 esac
25182 rm -f conftest*
25183
25184 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25185 # in glibc 2.1.3, but that breaks too many other things.
25186 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25187 if test $ac_cv_sys_largefile_source != unknown; then
25188
25189 cat >>confdefs.h <<\_ACEOF
25190 #define HAVE_FSEEKO 1
25191 _ACEOF
25192
25193 fi
25194
25195 CPPFLAGS="$old_CPPFLAGS"
25196 ac_ext=c
25197 ac_cpp='$CPP $CPPFLAGS'
25198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25201
25202 if test "$ac_cv_sys_largefile_source" != no; then
25203 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25204 fi
25205
25206 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25207 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25208 if test "${ac_cv_c_bigendian+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 else
25211 ac_cv_c_bigendian=unknown
25212 # See if sys/param.h defines the BYTE_ORDER macro.
25213 cat >conftest.$ac_ext <<_ACEOF
25214 /* confdefs.h. */
25215 _ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219 #include <sys/types.h>
25220 #include <sys/param.h>
25221 int
25222 main ()
25223 {
25224
25225 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25226 bogus endian macros
25227 #endif
25228 ;
25229 return 0;
25230 }
25231 _ACEOF
25232 rm -f conftest.$ac_objext
25233 if { (ac_try="$ac_compile"
25234 case "(($ac_try" in
25235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25236 *) ac_try_echo=$ac_try;;
25237 esac
25238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25239 (eval "$ac_compile") 2>conftest.er1
25240 ac_status=$?
25241 grep -v '^ *+' conftest.er1 >conftest.err
25242 rm -f conftest.er1
25243 cat conftest.err >&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && {
25246 test -z "$ac_c_werror_flag" ||
25247 test ! -s conftest.err
25248 } && test -s conftest.$ac_objext; then
25249 # It does; now see whether it defined to BIG_ENDIAN or not.
25250 cat >conftest.$ac_ext <<_ACEOF
25251 /* confdefs.h. */
25252 _ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256 #include <sys/types.h>
25257 #include <sys/param.h>
25258 int
25259 main ()
25260 {
25261
25262 #if BYTE_ORDER != BIG_ENDIAN
25263 not big endian
25264 #endif
25265 ;
25266 return 0;
25267 }
25268 _ACEOF
25269 rm -f conftest.$ac_objext
25270 if { (ac_try="$ac_compile"
25271 case "(($ac_try" in
25272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25273 *) ac_try_echo=$ac_try;;
25274 esac
25275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25276 (eval "$ac_compile") 2>conftest.er1
25277 ac_status=$?
25278 grep -v '^ *+' conftest.er1 >conftest.err
25279 rm -f conftest.er1
25280 cat conftest.err >&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); } && {
25283 test -z "$ac_c_werror_flag" ||
25284 test ! -s conftest.err
25285 } && test -s conftest.$ac_objext; then
25286 ac_cv_c_bigendian=yes
25287 else
25288 echo "$as_me: failed program was:" >&5
25289 sed 's/^/| /' conftest.$ac_ext >&5
25290
25291 ac_cv_c_bigendian=no
25292 fi
25293
25294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25295 else
25296 echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.$ac_ext >&5
25298
25299
25300 fi
25301
25302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25303 if test $ac_cv_c_bigendian = unknown; then
25304 if test "$cross_compiling" = yes; then
25305 ac_cv_c_bigendian=unknown
25306 else
25307 cat >conftest.$ac_ext <<_ACEOF
25308 /* confdefs.h. */
25309 _ACEOF
25310 cat confdefs.h >>conftest.$ac_ext
25311 cat >>conftest.$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25313 main () {
25314 /* Are we little or big endian? From Harbison&Steele. */
25315 union
25316 {
25317 long l;
25318 char c[sizeof (long)];
25319 } u;
25320 u.l = 1;
25321 exit (u.c[sizeof (long) - 1] == 1);
25322 }
25323 _ACEOF
25324 rm -f conftest$ac_exeext
25325 if { (ac_try="$ac_link"
25326 case "(($ac_try" in
25327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25329 esac
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_link") 2>&5
25332 ac_status=$?
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25335 { (case "(($ac_try" in
25336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25337 *) ac_try_echo=$ac_try;;
25338 esac
25339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25340 (eval "$ac_try") 2>&5
25341 ac_status=$?
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); }; }; then
25344 ac_cv_c_bigendian=no
25345 else
25346 echo "$as_me: program exited with status $ac_status" >&5
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.$ac_ext >&5
25349
25350 ( exit $ac_status )
25351 ac_cv_c_bigendian=yes
25352 fi
25353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25354 fi
25355
25356
25357 fi
25358 fi
25359 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25360 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25361 if test $ac_cv_c_bigendian = unknown; then
25362 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25363 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25364 fi
25365 if test $ac_cv_c_bigendian = yes; then
25366 cat >>confdefs.h <<\_ACEOF
25367 #define WORDS_BIGENDIAN 1
25368 _ACEOF
25369
25370 fi
25371
25372
25373
25374
25375 ac_ext=cpp
25376 ac_cpp='$CXXCPP $CPPFLAGS'
25377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25380
25381
25382
25383 for ac_header in iostream
25384 do
25385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 else
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397
25398
25399 #include <$ac_header>
25400 _ACEOF
25401 rm -f conftest.$ac_objext
25402 if { (ac_try="$ac_compile"
25403 case "(($ac_try" in
25404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405 *) ac_try_echo=$ac_try;;
25406 esac
25407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25408 (eval "$ac_compile") 2>conftest.er1
25409 ac_status=$?
25410 grep -v '^ *+' conftest.er1 >conftest.err
25411 rm -f conftest.er1
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } && {
25415 test -z "$ac_cxx_werror_flag" ||
25416 test ! -s conftest.err
25417 } && test -s conftest.$ac_objext; then
25418 eval "$as_ac_Header=yes"
25419 else
25420 echo "$as_me: failed program was:" >&5
25421 sed 's/^/| /' conftest.$ac_ext >&5
25422
25423 eval "$as_ac_Header=no"
25424 fi
25425
25426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25427 fi
25428 ac_res=`eval echo '${'$as_ac_Header'}'`
25429 { echo "$as_me:$LINENO: result: $ac_res" >&5
25430 echo "${ECHO_T}$ac_res" >&6; }
25431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25432 cat >>confdefs.h <<_ACEOF
25433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25434 _ACEOF
25435
25436 fi
25437
25438 done
25439
25440
25441 if test "$ac_cv_header_iostream" = "yes" ; then
25442 :
25443 else
25444 cat >>confdefs.h <<\_ACEOF
25445 #define wxUSE_IOSTREAMH 1
25446 _ACEOF
25447
25448 fi
25449
25450 ac_ext=c
25451 ac_cpp='$CPP $CPPFLAGS'
25452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25455
25456
25457
25458
25459 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25460 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25461 if test "${wx_cv_explicit+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25463 else
25464
25465
25466 ac_ext=cpp
25467 ac_cpp='$CXXCPP $CPPFLAGS'
25468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25471
25472
25473 cat >conftest.$ac_ext <<_ACEOF
25474 /* confdefs.h. */
25475 _ACEOF
25476 cat confdefs.h >>conftest.$ac_ext
25477 cat >>conftest.$ac_ext <<_ACEOF
25478 /* end confdefs.h. */
25479
25480 class Foo { public: explicit Foo(int) {} };
25481
25482 int
25483 main ()
25484 {
25485
25486 return 0;
25487
25488 ;
25489 return 0;
25490 }
25491 _ACEOF
25492 rm -f conftest.$ac_objext
25493 if { (ac_try="$ac_compile"
25494 case "(($ac_try" in
25495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25496 *) ac_try_echo=$ac_try;;
25497 esac
25498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25499 (eval "$ac_compile") 2>conftest.er1
25500 ac_status=$?
25501 grep -v '^ *+' conftest.er1 >conftest.err
25502 rm -f conftest.er1
25503 cat conftest.err >&5
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); } && {
25506 test -z "$ac_cxx_werror_flag" ||
25507 test ! -s conftest.err
25508 } && test -s conftest.$ac_objext; then
25509
25510 cat >conftest.$ac_ext <<_ACEOF
25511 /* confdefs.h. */
25512 _ACEOF
25513 cat confdefs.h >>conftest.$ac_ext
25514 cat >>conftest.$ac_ext <<_ACEOF
25515 /* end confdefs.h. */
25516
25517 class Foo { public: explicit Foo(int) {} };
25518 static void TakeFoo(const Foo& foo) { }
25519
25520 int
25521 main ()
25522 {
25523
25524 TakeFoo(17);
25525 return 0;
25526
25527 ;
25528 return 0;
25529 }
25530 _ACEOF
25531 rm -f conftest.$ac_objext
25532 if { (ac_try="$ac_compile"
25533 case "(($ac_try" in
25534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25535 *) ac_try_echo=$ac_try;;
25536 esac
25537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_compile") 2>conftest.er1
25539 ac_status=$?
25540 grep -v '^ *+' conftest.er1 >conftest.err
25541 rm -f conftest.er1
25542 cat conftest.err >&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } && {
25545 test -z "$ac_cxx_werror_flag" ||
25546 test ! -s conftest.err
25547 } && test -s conftest.$ac_objext; then
25548 wx_cv_explicit=no
25549 else
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25552
25553 wx_cv_explicit=yes
25554
25555 fi
25556
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25558
25559 else
25560 echo "$as_me: failed program was:" >&5
25561 sed 's/^/| /' conftest.$ac_ext >&5
25562
25563 wx_cv_explicit=no
25564
25565 fi
25566
25567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25568
25569 ac_ext=c
25570 ac_cpp='$CPP $CPPFLAGS'
25571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25574
25575
25576 fi
25577 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25578 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25579
25580 if test "$wx_cv_explicit" = "yes"; then
25581 cat >>confdefs.h <<\_ACEOF
25582 #define HAVE_EXPLICIT 1
25583 _ACEOF
25584
25585 fi
25586
25587
25588 if test "x$SUNCXX" = xyes; then
25589 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25590 fi
25591
25592 if test "x$SUNCC" = xyes; then
25593 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25594 fi
25595
25596 if test "x$SGICC" = "xyes"; then
25597 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25598 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25599 if test "${wx_cv_prog_sgicc744+set}" = set; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 else
25602
25603 cat >conftest.$ac_ext <<_ACEOF
25604 /* confdefs.h. */
25605 _ACEOF
25606 cat confdefs.h >>conftest.$ac_ext
25607 cat >>conftest.$ac_ext <<_ACEOF
25608 /* end confdefs.h. */
25609
25610 int
25611 main ()
25612 {
25613
25614 #if _SGI_COMPILER_VERSION >= 744
25615 chock me: mipsPro is 7.4.4 or later
25616 #endif
25617
25618 ;
25619 return 0;
25620 }
25621 _ACEOF
25622 rm -f conftest.$ac_objext
25623 if { (ac_try="$ac_compile"
25624 case "(($ac_try" in
25625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25626 *) ac_try_echo=$ac_try;;
25627 esac
25628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25629 (eval "$ac_compile") 2>conftest.er1
25630 ac_status=$?
25631 grep -v '^ *+' conftest.er1 >conftest.err
25632 rm -f conftest.er1
25633 cat conftest.err >&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } && {
25636 test -z "$ac_c_werror_flag" ||
25637 test ! -s conftest.err
25638 } && test -s conftest.$ac_objext; then
25639 wx_cv_prog_sgicc744=no
25640 else
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.$ac_ext >&5
25643
25644 wx_cv_prog_sgicc744=yes
25645
25646 fi
25647
25648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25649
25650
25651 fi
25652 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25653 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25654
25655 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25656 CFLAGS="-woff 3970 $CFLAGS"
25657 fi
25658 fi
25659 if test "x$SGICXX" = "xyes"; then
25660 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25661 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25662 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25663 echo $ECHO_N "(cached) $ECHO_C" >&6
25664 else
25665
25666 ac_ext=cpp
25667 ac_cpp='$CXXCPP $CPPFLAGS'
25668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25671
25672 cat >conftest.$ac_ext <<_ACEOF
25673 /* confdefs.h. */
25674 _ACEOF
25675 cat confdefs.h >>conftest.$ac_ext
25676 cat >>conftest.$ac_ext <<_ACEOF
25677 /* end confdefs.h. */
25678
25679 int
25680 main ()
25681 {
25682
25683 #if _SGI_COMPILER_VERSION >= 744
25684 chock me: mipsPro is 7.4.4 or later
25685 #endif
25686
25687 ;
25688 return 0;
25689 }
25690 _ACEOF
25691 rm -f conftest.$ac_objext
25692 if { (ac_try="$ac_compile"
25693 case "(($ac_try" in
25694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25695 *) ac_try_echo=$ac_try;;
25696 esac
25697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25698 (eval "$ac_compile") 2>conftest.er1
25699 ac_status=$?
25700 grep -v '^ *+' conftest.er1 >conftest.err
25701 rm -f conftest.er1
25702 cat conftest.err >&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); } && {
25705 test -z "$ac_cxx_werror_flag" ||
25706 test ! -s conftest.err
25707 } && test -s conftest.$ac_objext; then
25708 wx_cv_prog_sgicxx744=no
25709 else
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.$ac_ext >&5
25712
25713 wx_cv_prog_sgicxx744=yes
25714
25715 fi
25716
25717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718 ac_ext=c
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25723
25724
25725
25726 fi
25727 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25728 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25729
25730 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25731 CXXFLAGS="-woff 3970 $CXXFLAGS"
25732 fi
25733 fi
25734
25735 if test "x$HPCC" = "xyes"; then
25736 CFLAGS="+W 2011,2450 $CFLAGS"
25737 fi
25738 if test "x$HPCXX" = "xyes"; then
25739 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25740 fi
25741
25742 if test "x$COMPAQCXX" = "xyes"; then
25743 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25744 fi
25745
25746 ac_ext=cpp
25747 ac_cpp='$CXXCPP $CPPFLAGS'
25748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751
25752
25753 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25754 if test "$wxUSE_UNICODE" = "yes"; then
25755 std_string="std::wstring"
25756 char_type="wchar_t"
25757 else
25758 std_string="std::string"
25759 char_type="char"
25760 fi
25761
25762 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25763 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25764 if test "${wx_cv_class_stdstring+set}" = set; then
25765 echo $ECHO_N "(cached) $ECHO_C" >&6
25766 else
25767
25768 cat >conftest.$ac_ext <<_ACEOF
25769 /* confdefs.h. */
25770 _ACEOF
25771 cat confdefs.h >>conftest.$ac_ext
25772 cat >>conftest.$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25774 #include <string>
25775 int
25776 main ()
25777 {
25778 $std_string foo;
25779 ;
25780 return 0;
25781 }
25782 _ACEOF
25783 rm -f conftest.$ac_objext
25784 if { (ac_try="$ac_compile"
25785 case "(($ac_try" in
25786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25787 *) ac_try_echo=$ac_try;;
25788 esac
25789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25790 (eval "$ac_compile") 2>conftest.er1
25791 ac_status=$?
25792 grep -v '^ *+' conftest.er1 >conftest.err
25793 rm -f conftest.er1
25794 cat conftest.err >&5
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); } && {
25797 test -z "$ac_cxx_werror_flag" ||
25798 test ! -s conftest.err
25799 } && test -s conftest.$ac_objext; then
25800 wx_cv_class_stdstring=yes
25801 else
25802 echo "$as_me: failed program was:" >&5
25803 sed 's/^/| /' conftest.$ac_ext >&5
25804
25805 wx_cv_class_stdstring=no
25806
25807 fi
25808
25809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25810
25811
25812 fi
25813 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25814 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25815
25816 if test "$wx_cv_class_stdstring" = yes; then
25817 if test "$wxUSE_UNICODE" = "yes"; then
25818 cat >>confdefs.h <<\_ACEOF
25819 #define HAVE_STD_WSTRING 1
25820 _ACEOF
25821
25822 fi
25823 else
25824 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25825 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25826 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25828 else
25829
25830 cat >conftest.$ac_ext <<_ACEOF
25831 /* confdefs.h. */
25832 _ACEOF
25833 cat confdefs.h >>conftest.$ac_ext
25834 cat >>conftest.$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25836
25837 #ifdef HAVE_WCHAR_H
25838 # ifdef __CYGWIN__
25839 # include <stddef.h>
25840 # endif
25841 # include <wchar.h>
25842 #endif
25843 #ifdef HAVE_STDLIB_H
25844 # include <stdlib.h>
25845 #endif
25846 #include <stdio.h>
25847 #include <string>
25848
25849 int
25850 main ()
25851 {
25852 std::basic_string<$char_type> foo;
25853 const $char_type* dummy = foo.c_str();
25854 ;
25855 return 0;
25856 }
25857 _ACEOF
25858 rm -f conftest.$ac_objext
25859 if { (ac_try="$ac_compile"
25860 case "(($ac_try" in
25861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25862 *) ac_try_echo=$ac_try;;
25863 esac
25864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25865 (eval "$ac_compile") 2>conftest.er1
25866 ac_status=$?
25867 grep -v '^ *+' conftest.er1 >conftest.err
25868 rm -f conftest.er1
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } && {
25872 test -z "$ac_cxx_werror_flag" ||
25873 test ! -s conftest.err
25874 } && test -s conftest.$ac_objext; then
25875 wx_cv_class_stdbasicstring=yes
25876 else
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.$ac_ext >&5
25879
25880 wx_cv_class_stdbasicstring=no
25881
25882 fi
25883
25884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25885
25886
25887 fi
25888 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25889 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25890
25891 if test "$wx_cv_class_stdbasicstring" != yes; then
25892 if test "$wxUSE_STL" = "yes"; then
25893 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25894 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25895 { (exit 1); exit 1; }; }
25896 elif test "$wxUSE_STD_STRING" = "yes"; then
25897 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25898 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25899 { (exit 1); exit 1; }; }
25900 else
25901 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25902 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25903 wxUSE_STD_STRING=no
25904 fi
25905 fi
25906 fi
25907 fi
25908
25909 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25910 { echo "$as_me:$LINENO: checking for std::istream" >&5
25911 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25912 if test "${ac_cv_type_std__istream+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25915 cat >conftest.$ac_ext <<_ACEOF
25916 /* confdefs.h. */
25917 _ACEOF
25918 cat confdefs.h >>conftest.$ac_ext
25919 cat >>conftest.$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921 #include <iostream>
25922
25923 typedef std::istream ac__type_new_;
25924 int
25925 main ()
25926 {
25927 if ((ac__type_new_ *) 0)
25928 return 0;
25929 if (sizeof (ac__type_new_))
25930 return 0;
25931 ;
25932 return 0;
25933 }
25934 _ACEOF
25935 rm -f conftest.$ac_objext
25936 if { (ac_try="$ac_compile"
25937 case "(($ac_try" in
25938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25939 *) ac_try_echo=$ac_try;;
25940 esac
25941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25942 (eval "$ac_compile") 2>conftest.er1
25943 ac_status=$?
25944 grep -v '^ *+' conftest.er1 >conftest.err
25945 rm -f conftest.er1
25946 cat conftest.err >&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } && {
25949 test -z "$ac_cxx_werror_flag" ||
25950 test ! -s conftest.err
25951 } && test -s conftest.$ac_objext; then
25952 ac_cv_type_std__istream=yes
25953 else
25954 echo "$as_me: failed program was:" >&5
25955 sed 's/^/| /' conftest.$ac_ext >&5
25956
25957 ac_cv_type_std__istream=no
25958 fi
25959
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 fi
25962 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25963 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25964 if test $ac_cv_type_std__istream = yes; then
25965
25966 cat >>confdefs.h <<_ACEOF
25967 #define HAVE_STD__ISTREAM 1
25968 _ACEOF
25969
25970
25971 else
25972 wxUSE_STD_IOSTREAM=no
25973 fi
25974 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25975 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25976 if test "${ac_cv_type_std__ostream+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25979 cat >conftest.$ac_ext <<_ACEOF
25980 /* confdefs.h. */
25981 _ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 #include <iostream>
25986
25987 typedef std::ostream ac__type_new_;
25988 int
25989 main ()
25990 {
25991 if ((ac__type_new_ *) 0)
25992 return 0;
25993 if (sizeof (ac__type_new_))
25994 return 0;
25995 ;
25996 return 0;
25997 }
25998 _ACEOF
25999 rm -f conftest.$ac_objext
26000 if { (ac_try="$ac_compile"
26001 case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26004 esac
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_compile") 2>conftest.er1
26007 ac_status=$?
26008 grep -v '^ *+' conftest.er1 >conftest.err
26009 rm -f conftest.er1
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } && {
26013 test -z "$ac_cxx_werror_flag" ||
26014 test ! -s conftest.err
26015 } && test -s conftest.$ac_objext; then
26016 ac_cv_type_std__ostream=yes
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26020
26021 ac_cv_type_std__ostream=no
26022 fi
26023
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025 fi
26026 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26027 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26028 if test $ac_cv_type_std__ostream = yes; then
26029
26030 cat >>confdefs.h <<_ACEOF
26031 #define HAVE_STD__OSTREAM 1
26032 _ACEOF
26033
26034
26035 else
26036 wxUSE_STD_IOSTREAM=no
26037 fi
26038
26039
26040 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26041 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26042 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26043 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26044 { (exit 1); exit 1; }; }
26045 else
26046 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26047 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26048 fi
26049 fi
26050 fi
26051
26052 if test "$wxUSE_STL" = "yes"; then
26053 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26054 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26055 if test "${wx_cv_lib_stl+set}" = set; then
26056 echo $ECHO_N "(cached) $ECHO_C" >&6
26057 else
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #include <string>
26065 #include <functional>
26066 #include <algorithm>
26067 #include <vector>
26068 #include <list>
26069 int
26070 main ()
26071 {
26072 std::vector<int> moo;
26073 std::list<int> foo;
26074 std::vector<int>::iterator it =
26075 std::find_if(moo.begin(), moo.end(),
26076 std::bind2nd(std::less<int>(), 3));
26077 ;
26078 return 0;
26079 }
26080 _ACEOF
26081 rm -f conftest.$ac_objext
26082 if { (ac_try="$ac_compile"
26083 case "(($ac_try" in
26084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26085 *) ac_try_echo=$ac_try;;
26086 esac
26087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26088 (eval "$ac_compile") 2>conftest.er1
26089 ac_status=$?
26090 grep -v '^ *+' conftest.er1 >conftest.err
26091 rm -f conftest.er1
26092 cat conftest.err >&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } && {
26095 test -z "$ac_cxx_werror_flag" ||
26096 test ! -s conftest.err
26097 } && test -s conftest.$ac_objext; then
26098 wx_cv_lib_stl=yes
26099 else
26100 echo "$as_me: failed program was:" >&5
26101 sed 's/^/| /' conftest.$ac_ext >&5
26102
26103 wx_cv_lib_stl=no
26104
26105 fi
26106
26107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26108
26109 fi
26110 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26111 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26112
26113 if test "$wx_cv_lib_stl" != yes; then
26114 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26115 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26116 { (exit 1); exit 1; }; }
26117 fi
26118
26119 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26120 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26121 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26123 else
26124 cat >conftest.$ac_ext <<_ACEOF
26125 /* confdefs.h. */
26126 _ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130 #include <string>
26131 int
26132 main ()
26133 {
26134 std::string foo, bar;
26135 foo.compare(bar);
26136 foo.compare(1, 1, bar);
26137 foo.compare(1, 1, bar, 1, 1);
26138 foo.compare("");
26139 foo.compare(1, 1, "");
26140 foo.compare(1, 1, "", 2);
26141 ;
26142 return 0;
26143 }
26144 _ACEOF
26145 rm -f conftest.$ac_objext
26146 if { (ac_try="$ac_compile"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26150 esac
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_compile") 2>conftest.er1
26153 ac_status=$?
26154 grep -v '^ *+' conftest.er1 >conftest.err
26155 rm -f conftest.er1
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_cxx_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest.$ac_objext; then
26162 wx_cv_func_stdstring_compare=yes
26163 else
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.$ac_ext >&5
26166
26167 wx_cv_func_stdstring_compare=no
26168
26169 fi
26170
26171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26172
26173 fi
26174 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26175 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26176
26177 if test "$wx_cv_func_stdstring_compare" = yes; then
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_STD_STRING_COMPARE 1
26180 _ACEOF
26181
26182 fi
26183
26184 if test "$wx_cv_class_gnuhashmapset" = yes; then
26185 cat >>confdefs.h <<\_ACEOF
26186 #define HAVE_EXT_HASH_MAP 1
26187 _ACEOF
26188
26189 cat >>confdefs.h <<\_ACEOF
26190 #define HAVE_GNU_CXX_HASH_MAP 1
26191 _ACEOF
26192
26193 fi
26194
26195 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26196 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26197 if test "${ac_cv_header_unordered_map+set}" = set; then
26198 echo $ECHO_N "(cached) $ECHO_C" >&6
26199 else
26200 cat >conftest.$ac_ext <<_ACEOF
26201 /* confdefs.h. */
26202 _ACEOF
26203 cat confdefs.h >>conftest.$ac_ext
26204 cat >>conftest.$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26206
26207
26208
26209 #include <unordered_map>
26210 _ACEOF
26211 rm -f conftest.$ac_objext
26212 if { (ac_try="$ac_compile"
26213 case "(($ac_try" in
26214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26215 *) ac_try_echo=$ac_try;;
26216 esac
26217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26218 (eval "$ac_compile") 2>conftest.er1
26219 ac_status=$?
26220 grep -v '^ *+' conftest.er1 >conftest.err
26221 rm -f conftest.er1
26222 cat conftest.err >&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } && {
26225 test -z "$ac_cxx_werror_flag" ||
26226 test ! -s conftest.err
26227 } && test -s conftest.$ac_objext; then
26228 ac_cv_header_unordered_map=yes
26229 else
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26232
26233 ac_cv_header_unordered_map=no
26234 fi
26235
26236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26237 fi
26238 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26239 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26240 if test $ac_cv_header_unordered_map = yes; then
26241 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26242 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26243 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26244 echo $ECHO_N "(cached) $ECHO_C" >&6
26245 else
26246 cat >conftest.$ac_ext <<_ACEOF
26247 /* confdefs.h. */
26248 _ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252 #include <unordered_map>
26253 #include <unordered_set>
26254 int
26255 main ()
26256 {
26257 std::unordered_map<double*, char*> test1;
26258 std::unordered_set<char*> test2;
26259 ;
26260 return 0;
26261 }
26262 _ACEOF
26263 rm -f conftest.$ac_objext
26264 if { (ac_try="$ac_compile"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26268 esac
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_compile") 2>conftest.er1
26271 ac_status=$?
26272 grep -v '^ *+' conftest.er1 >conftest.err
26273 rm -f conftest.er1
26274 cat conftest.err >&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_cxx_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest.$ac_objext; then
26280 wx_cv_class_stdunorderedmapset=yes
26281 else
26282 echo "$as_me: failed program was:" >&5
26283 sed 's/^/| /' conftest.$ac_ext >&5
26284
26285 wx_cv_class_stdunorderedmapset=no
26286 fi
26287
26288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26289
26290
26291 fi
26292 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26293 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26294 fi
26295
26296
26297
26298 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26299 cat >>confdefs.h <<\_ACEOF
26300 #define HAVE_STD_UNORDERED_MAP 1
26301 _ACEOF
26302
26303 cat >>confdefs.h <<\_ACEOF
26304 #define HAVE_STD_UNORDERED_SET 1
26305 _ACEOF
26306
26307 else
26308 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26309 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26310 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 else
26313 cat >conftest.$ac_ext <<_ACEOF
26314 /* confdefs.h. */
26315 _ACEOF
26316 cat confdefs.h >>conftest.$ac_ext
26317 cat >>conftest.$ac_ext <<_ACEOF
26318 /* end confdefs.h. */
26319
26320
26321
26322 #include <tr1/unordered_map>
26323 _ACEOF
26324 rm -f conftest.$ac_objext
26325 if { (ac_try="$ac_compile"
26326 case "(($ac_try" in
26327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26328 *) ac_try_echo=$ac_try;;
26329 esac
26330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26331 (eval "$ac_compile") 2>conftest.er1
26332 ac_status=$?
26333 grep -v '^ *+' conftest.er1 >conftest.err
26334 rm -f conftest.er1
26335 cat conftest.err >&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } && {
26338 test -z "$ac_cxx_werror_flag" ||
26339 test ! -s conftest.err
26340 } && test -s conftest.$ac_objext; then
26341 ac_cv_header_tr1_unordered_map=yes
26342 else
26343 echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.$ac_ext >&5
26345
26346 ac_cv_header_tr1_unordered_map=no
26347 fi
26348
26349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26350 fi
26351 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26352 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26353 if test $ac_cv_header_tr1_unordered_map = yes; then
26354 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26355 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26356 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 else
26359 cat >conftest.$ac_ext <<_ACEOF
26360 /* confdefs.h. */
26361 _ACEOF
26362 cat confdefs.h >>conftest.$ac_ext
26363 cat >>conftest.$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26365 #include <tr1/unordered_map>
26366 #include <tr1/unordered_set>
26367 int
26368 main ()
26369 {
26370 std::tr1::unordered_map<double*, char*> test1;
26371 std::tr1::unordered_set<char*> test2;
26372 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26373 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26374 #endif
26375 ;
26376 return 0;
26377 }
26378 _ACEOF
26379 rm -f conftest.$ac_objext
26380 if { (ac_try="$ac_compile"
26381 case "(($ac_try" in
26382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26383 *) ac_try_echo=$ac_try;;
26384 esac
26385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26386 (eval "$ac_compile") 2>conftest.er1
26387 ac_status=$?
26388 grep -v '^ *+' conftest.er1 >conftest.err
26389 rm -f conftest.er1
26390 cat conftest.err >&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && {
26393 test -z "$ac_cxx_werror_flag" ||
26394 test ! -s conftest.err
26395 } && test -s conftest.$ac_objext; then
26396 wx_cv_class_tr1unorderedmapset=yes
26397 else
26398 echo "$as_me: failed program was:" >&5
26399 sed 's/^/| /' conftest.$ac_ext >&5
26400
26401 wx_cv_class_tr1unorderedmapset=no
26402 fi
26403
26404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26405
26406
26407 fi
26408 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26409 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26410 fi
26411
26412
26413
26414 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26415 cat >>confdefs.h <<\_ACEOF
26416 #define HAVE_TR1_UNORDERED_MAP 1
26417 _ACEOF
26418
26419 cat >>confdefs.h <<\_ACEOF
26420 #define HAVE_TR1_UNORDERED_SET 1
26421 _ACEOF
26422
26423 else
26424 { echo "$as_me:$LINENO: checking for hash_map" >&5
26425 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26426 if test "${ac_cv_header_hash_map+set}" = set; then
26427 echo $ECHO_N "(cached) $ECHO_C" >&6
26428 else
26429 cat >conftest.$ac_ext <<_ACEOF
26430 /* confdefs.h. */
26431 _ACEOF
26432 cat confdefs.h >>conftest.$ac_ext
26433 cat >>conftest.$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26435
26436
26437
26438 #include <hash_map>
26439 _ACEOF
26440 rm -f conftest.$ac_objext
26441 if { (ac_try="$ac_compile"
26442 case "(($ac_try" in
26443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26444 *) ac_try_echo=$ac_try;;
26445 esac
26446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26447 (eval "$ac_compile") 2>conftest.er1
26448 ac_status=$?
26449 grep -v '^ *+' conftest.er1 >conftest.err
26450 rm -f conftest.er1
26451 cat conftest.err >&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); } && {
26454 test -z "$ac_cxx_werror_flag" ||
26455 test ! -s conftest.err
26456 } && test -s conftest.$ac_objext; then
26457 ac_cv_header_hash_map=yes
26458 else
26459 echo "$as_me: failed program was:" >&5
26460 sed 's/^/| /' conftest.$ac_ext >&5
26461
26462 ac_cv_header_hash_map=no
26463 fi
26464
26465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26466 fi
26467 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26468 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26469 if test $ac_cv_header_hash_map = yes; then
26470 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26471 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26472 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26473 echo $ECHO_N "(cached) $ECHO_C" >&6
26474 else
26475 cat >conftest.$ac_ext <<_ACEOF
26476 /* confdefs.h. */
26477 _ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 #include <hash_map>
26482 #include <hash_set>
26483 int
26484 main ()
26485 {
26486 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26487 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest.$ac_objext
26493 if { (ac_try="$ac_compile"
26494 case "(($ac_try" in
26495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26497 esac
26498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_compile") 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && {
26506 test -z "$ac_cxx_werror_flag" ||
26507 test ! -s conftest.err
26508 } && test -s conftest.$ac_objext; then
26509 wx_cv_class_stdhashmapset=yes
26510 else
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.$ac_ext >&5
26513
26514 wx_cv_class_stdhashmapset=no
26515 fi
26516
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26518
26519
26520 fi
26521 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26522 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26523 fi
26524
26525
26526
26527 if test "$wx_cv_class_stdhashmapset" = yes; then
26528 cat >>confdefs.h <<\_ACEOF
26529 #define HAVE_HASH_MAP 1
26530 _ACEOF
26531
26532 cat >>confdefs.h <<\_ACEOF
26533 #define HAVE_STD_HASH_MAP 1
26534 _ACEOF
26535
26536 fi
26537
26538 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26539 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26540 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 else
26543 cat >conftest.$ac_ext <<_ACEOF
26544 /* confdefs.h. */
26545 _ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549
26550
26551
26552 #include <ext/hash_map>
26553 _ACEOF
26554 rm -f conftest.$ac_objext
26555 if { (ac_try="$ac_compile"
26556 case "(($ac_try" in
26557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26558 *) ac_try_echo=$ac_try;;
26559 esac
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561 (eval "$ac_compile") 2>conftest.er1
26562 ac_status=$?
26563 grep -v '^ *+' conftest.er1 >conftest.err
26564 rm -f conftest.er1
26565 cat conftest.err >&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); } && {
26568 test -z "$ac_cxx_werror_flag" ||
26569 test ! -s conftest.err
26570 } && test -s conftest.$ac_objext; then
26571 ac_cv_header_ext_hash_map=yes
26572 else
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.$ac_ext >&5
26575
26576 ac_cv_header_ext_hash_map=no
26577 fi
26578
26579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26580 fi
26581 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26582 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26583 if test $ac_cv_header_ext_hash_map = yes; then
26584 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26585 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26586 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26587 echo $ECHO_N "(cached) $ECHO_C" >&6
26588 else
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 #include <ext/hash_map>
26596 #include <ext/hash_set>
26597 int
26598 main ()
26599 {
26600 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26601 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26602 ;
26603 return 0;
26604 }
26605 _ACEOF
26606 rm -f conftest.$ac_objext
26607 if { (ac_try="$ac_compile"
26608 case "(($ac_try" in
26609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26610 *) ac_try_echo=$ac_try;;
26611 esac
26612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26613 (eval "$ac_compile") 2>conftest.er1
26614 ac_status=$?
26615 grep -v '^ *+' conftest.er1 >conftest.err
26616 rm -f conftest.er1
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } && {
26620 test -z "$ac_cxx_werror_flag" ||
26621 test ! -s conftest.err
26622 } && test -s conftest.$ac_objext; then
26623 wx_cv_class_gnuhashmapset=yes
26624 else
26625 echo "$as_me: failed program was:" >&5
26626 sed 's/^/| /' conftest.$ac_ext >&5
26627
26628 wx_cv_class_gnuhashmapset=no
26629 fi
26630
26631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26632
26633
26634 fi
26635 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26636 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26637 fi
26638
26639
26640
26641 fi
26642 fi
26643 fi
26644
26645 ac_ext=cpp
26646 ac_cpp='$CXXCPP $CPPFLAGS'
26647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26650 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26651 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26652 if test -z "$CXXCPP"; then
26653 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 else
26656 # Double quotes because CXXCPP needs to be expanded
26657 for CXXCPP in "$CXX -E" "/lib/cpp"
26658 do
26659 ac_preproc_ok=false
26660 for ac_cxx_preproc_warn_flag in '' yes
26661 do
26662 # Use a header file that comes with gcc, so configuring glibc
26663 # with a fresh cross-compiler works.
26664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26665 # <limits.h> exists even on freestanding compilers.
26666 # On the NeXT, cc -E runs the code through the compiler's parser,
26667 # not just through cpp. "Syntax error" is here to catch this case.
26668 cat >conftest.$ac_ext <<_ACEOF
26669 /* confdefs.h. */
26670 _ACEOF
26671 cat confdefs.h >>conftest.$ac_ext
26672 cat >>conftest.$ac_ext <<_ACEOF
26673 /* end confdefs.h. */
26674 #ifdef __STDC__
26675 # include <limits.h>
26676 #else
26677 # include <assert.h>
26678 #endif
26679 Syntax error
26680 _ACEOF
26681 if { (ac_try="$ac_cpp conftest.$ac_ext"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26685 esac
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26688 ac_status=$?
26689 grep -v '^ *+' conftest.er1 >conftest.err
26690 rm -f conftest.er1
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } >/dev/null && {
26694 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26695 test ! -s conftest.err
26696 }; then
26697 :
26698 else
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.$ac_ext >&5
26701
26702 # Broken: fails on valid input.
26703 continue
26704 fi
26705
26706 rm -f conftest.err conftest.$ac_ext
26707
26708 # OK, works on sane cases. Now check whether nonexistent headers
26709 # can be detected and how.
26710 cat >conftest.$ac_ext <<_ACEOF
26711 /* confdefs.h. */
26712 _ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26716 #include <ac_nonexistent.h>
26717 _ACEOF
26718 if { (ac_try="$ac_cpp conftest.$ac_ext"
26719 case "(($ac_try" in
26720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26721 *) ac_try_echo=$ac_try;;
26722 esac
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26725 ac_status=$?
26726 grep -v '^ *+' conftest.er1 >conftest.err
26727 rm -f conftest.er1
26728 cat conftest.err >&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } >/dev/null && {
26731 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26732 test ! -s conftest.err
26733 }; then
26734 # Broken: success on invalid input.
26735 continue
26736 else
26737 echo "$as_me: failed program was:" >&5
26738 sed 's/^/| /' conftest.$ac_ext >&5
26739
26740 # Passes both tests.
26741 ac_preproc_ok=:
26742 break
26743 fi
26744
26745 rm -f conftest.err conftest.$ac_ext
26746
26747 done
26748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26749 rm -f conftest.err conftest.$ac_ext
26750 if $ac_preproc_ok; then
26751 break
26752 fi
26753
26754 done
26755 ac_cv_prog_CXXCPP=$CXXCPP
26756
26757 fi
26758 CXXCPP=$ac_cv_prog_CXXCPP
26759 else
26760 ac_cv_prog_CXXCPP=$CXXCPP
26761 fi
26762 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26763 echo "${ECHO_T}$CXXCPP" >&6; }
26764 ac_preproc_ok=false
26765 for ac_cxx_preproc_warn_flag in '' yes
26766 do
26767 # Use a header file that comes with gcc, so configuring glibc
26768 # with a fresh cross-compiler works.
26769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26770 # <limits.h> exists even on freestanding compilers.
26771 # On the NeXT, cc -E runs the code through the compiler's parser,
26772 # not just through cpp. "Syntax error" is here to catch this case.
26773 cat >conftest.$ac_ext <<_ACEOF
26774 /* confdefs.h. */
26775 _ACEOF
26776 cat confdefs.h >>conftest.$ac_ext
26777 cat >>conftest.$ac_ext <<_ACEOF
26778 /* end confdefs.h. */
26779 #ifdef __STDC__
26780 # include <limits.h>
26781 #else
26782 # include <assert.h>
26783 #endif
26784 Syntax error
26785 _ACEOF
26786 if { (ac_try="$ac_cpp conftest.$ac_ext"
26787 case "(($ac_try" in
26788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26789 *) ac_try_echo=$ac_try;;
26790 esac
26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26793 ac_status=$?
26794 grep -v '^ *+' conftest.er1 >conftest.err
26795 rm -f conftest.er1
26796 cat conftest.err >&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); } >/dev/null && {
26799 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26800 test ! -s conftest.err
26801 }; then
26802 :
26803 else
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26806
26807 # Broken: fails on valid input.
26808 continue
26809 fi
26810
26811 rm -f conftest.err conftest.$ac_ext
26812
26813 # OK, works on sane cases. Now check whether nonexistent headers
26814 # can be detected and how.
26815 cat >conftest.$ac_ext <<_ACEOF
26816 /* confdefs.h. */
26817 _ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821 #include <ac_nonexistent.h>
26822 _ACEOF
26823 if { (ac_try="$ac_cpp conftest.$ac_ext"
26824 case "(($ac_try" in
26825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26826 *) ac_try_echo=$ac_try;;
26827 esac
26828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26830 ac_status=$?
26831 grep -v '^ *+' conftest.er1 >conftest.err
26832 rm -f conftest.er1
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } >/dev/null && {
26836 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26837 test ! -s conftest.err
26838 }; then
26839 # Broken: success on invalid input.
26840 continue
26841 else
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26844
26845 # Passes both tests.
26846 ac_preproc_ok=:
26847 break
26848 fi
26849
26850 rm -f conftest.err conftest.$ac_ext
26851
26852 done
26853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26854 rm -f conftest.err conftest.$ac_ext
26855 if $ac_preproc_ok; then
26856 :
26857 else
26858 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26859 See \`config.log' for more details." >&5
26860 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26861 See \`config.log' for more details." >&2;}
26862 { (exit 1); exit 1; }; }
26863 fi
26864
26865 ac_ext=cpp
26866 ac_cpp='$CXXCPP $CPPFLAGS'
26867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26870
26871
26872
26873
26874 for ac_header in type_traits tr1/type_traits
26875 do
26876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26881 echo $ECHO_N "(cached) $ECHO_C" >&6
26882 fi
26883 ac_res=`eval echo '${'$as_ac_Header'}'`
26884 { echo "$as_me:$LINENO: result: $ac_res" >&5
26885 echo "${ECHO_T}$ac_res" >&6; }
26886 else
26887 # Is the header compilable?
26888 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26890 cat >conftest.$ac_ext <<_ACEOF
26891 /* confdefs.h. */
26892 _ACEOF
26893 cat confdefs.h >>conftest.$ac_ext
26894 cat >>conftest.$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26896 $ac_includes_default
26897 #include <$ac_header>
26898 _ACEOF
26899 rm -f conftest.$ac_objext
26900 if { (ac_try="$ac_compile"
26901 case "(($ac_try" in
26902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26903 *) ac_try_echo=$ac_try;;
26904 esac
26905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26906 (eval "$ac_compile") 2>conftest.er1
26907 ac_status=$?
26908 grep -v '^ *+' conftest.er1 >conftest.err
26909 rm -f conftest.er1
26910 cat conftest.err >&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } && {
26913 test -z "$ac_cxx_werror_flag" ||
26914 test ! -s conftest.err
26915 } && test -s conftest.$ac_objext; then
26916 ac_header_compiler=yes
26917 else
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26920
26921 ac_header_compiler=no
26922 fi
26923
26924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26925 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26926 echo "${ECHO_T}$ac_header_compiler" >&6; }
26927
26928 # Is the header present?
26929 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26931 cat >conftest.$ac_ext <<_ACEOF
26932 /* confdefs.h. */
26933 _ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26937 #include <$ac_header>
26938 _ACEOF
26939 if { (ac_try="$ac_cpp conftest.$ac_ext"
26940 case "(($ac_try" in
26941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26942 *) ac_try_echo=$ac_try;;
26943 esac
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26946 ac_status=$?
26947 grep -v '^ *+' conftest.er1 >conftest.err
26948 rm -f conftest.er1
26949 cat conftest.err >&5
26950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951 (exit $ac_status); } >/dev/null && {
26952 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26953 test ! -s conftest.err
26954 }; then
26955 ac_header_preproc=yes
26956 else
26957 echo "$as_me: failed program was:" >&5
26958 sed 's/^/| /' conftest.$ac_ext >&5
26959
26960 ac_header_preproc=no
26961 fi
26962
26963 rm -f conftest.err conftest.$ac_ext
26964 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26965 echo "${ECHO_T}$ac_header_preproc" >&6; }
26966
26967 # So? What about this header?
26968 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26969 yes:no: )
26970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26974 ac_header_preproc=yes
26975 ;;
26976 no:yes:* )
26977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26989 ( cat <<\_ASBOX
26990 ## ----------------------------------------- ##
26991 ## Report this to wx-dev@lists.wxwidgets.org ##
26992 ## ----------------------------------------- ##
26993 _ASBOX
26994 ) | sed "s/^/$as_me: WARNING: /" >&2
26995 ;;
26996 esac
26997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002 eval "$as_ac_Header=\$ac_header_preproc"
27003 fi
27004 ac_res=`eval echo '${'$as_ac_Header'}'`
27005 { echo "$as_me:$LINENO: result: $ac_res" >&5
27006 echo "${ECHO_T}$ac_res" >&6; }
27007
27008 fi
27009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27010 cat >>confdefs.h <<_ACEOF
27011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27012 _ACEOF
27013
27014 fi
27015
27016 done
27017
27018
27019
27020
27021 if test -n "$GCC"; then
27022 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27023 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27024 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 else
27027
27028 cat >conftest.$ac_ext <<_ACEOF
27029 /* confdefs.h. */
27030 _ACEOF
27031 cat confdefs.h >>conftest.$ac_ext
27032 cat >>conftest.$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27034
27035 int
27036 main ()
27037 {
27038
27039 unsigned int value=0;
27040 /* wxAtomicInc doesn't use return value here */
27041 __sync_fetch_and_add(&value, 2);
27042 __sync_sub_and_fetch(&value, 1);
27043 /* but wxAtomicDec does, so mimic that: */
27044 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27045
27046 ;
27047 return 0;
27048 }
27049 _ACEOF
27050 rm -f conftest.$ac_objext conftest$ac_exeext
27051 if { (ac_try="$ac_link"
27052 case "(($ac_try" in
27053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27054 *) ac_try_echo=$ac_try;;
27055 esac
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_link") 2>conftest.er1
27058 ac_status=$?
27059 grep -v '^ *+' conftest.er1 >conftest.err
27060 rm -f conftest.er1
27061 cat conftest.err >&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } && {
27064 test -z "$ac_cxx_werror_flag" ||
27065 test ! -s conftest.err
27066 } && test -s conftest$ac_exeext &&
27067 $as_test_x conftest$ac_exeext; then
27068 wx_cv_cc_gcc_atomic_builtins=yes
27069 else
27070 echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27072
27073 wx_cv_cc_gcc_atomic_builtins=no
27074 fi
27075
27076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27077 conftest$ac_exeext conftest.$ac_ext
27078
27079 fi
27080
27081 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27082 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27083 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27084 cat >>confdefs.h <<\_ACEOF
27085 #define HAVE_GCC_ATOMIC_BUILTINS 1
27086 _ACEOF
27087
27088 fi
27089 fi
27090
27091
27092 ac_ext=c
27093 ac_cpp='$CPP $CPPFLAGS'
27094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27097
27098
27099
27100 SEARCH_INCLUDE="\
27101 /usr/local/include \
27102 /usr/local/X11/include \
27103 /usr/local/include/X11 \
27104 /usr/local/X11R7/include \
27105 /usr/local/X11R6/include \
27106 /usr/local/include/X11R7 \
27107 /usr/local/include/X11R6 \
27108 \
27109 /usr/Motif-2.1/include \
27110 /usr/Motif-1.2/include \
27111 /usr/include/Motif1.2 \
27112 \
27113 /usr/dt/include \
27114 /usr/openwin/include \
27115 \
27116 /usr/include/Xm \
27117 \
27118 /usr/X11R7/include \
27119 /usr/X11R6/include \
27120 /usr/X11R6.4/include \
27121 \
27122 /usr/include/X11R7 \
27123 /usr/include/X11R6 \
27124 \
27125 /usr/X11/include \
27126 /usr/include/X11 \
27127 \
27128 /usr/XFree86/include/X11 \
27129 /usr/pkg/include \
27130 \
27131 /usr/local/X1R5/include \
27132 /usr/local/include/X11R5 \
27133 /usr/X11R5/include \
27134 /usr/include/X11R5 \
27135 \
27136 /usr/local/X11R4/include \
27137 /usr/local/include/X11R4 \
27138 /usr/X11R4/include \
27139 /usr/include/X11R4 \
27140 \
27141 /usr/openwin/share/include"
27142
27143 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27144 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27145
27146 case "${host}" in
27147 *-*-irix6* )
27148 if test "${wx_cv_std_libpath+set}" = set; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 else
27151
27152 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27153 for e in a so sl dylib dll.a; do
27154 libc="$d/libc.$e"
27155 if test -f $libc; then
27156 save_LIBS="$LIBS"
27157 LIBS="$libc"
27158 cat >conftest.$ac_ext <<_ACEOF
27159
27160 /* confdefs.h. */
27161 _ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h. */
27165 int main() { return 0; }
27166
27167 _ACEOF
27168 rm -f conftest.$ac_objext conftest$ac_exeext
27169 if { (ac_try="$ac_link"
27170 case "(($ac_try" in
27171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27172 *) ac_try_echo=$ac_try;;
27173 esac
27174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27175 (eval "$ac_link") 2>conftest.er1
27176 ac_status=$?
27177 grep -v '^ *+' conftest.er1 >conftest.err
27178 rm -f conftest.er1
27179 cat conftest.err >&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } && {
27182 test -z "$ac_c_werror_flag" ||
27183 test ! -s conftest.err
27184 } && test -s conftest$ac_exeext &&
27185 $as_test_x conftest$ac_exeext; then
27186 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27187 else
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.$ac_ext >&5
27190
27191
27192 fi
27193
27194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27195 conftest$ac_exeext conftest.$ac_ext
27196 LIBS="$save_LIBS"
27197 if test "x$wx_cv_std_libpath" != "x"; then
27198 break 2
27199 fi
27200 fi
27201 done
27202 done
27203
27204
27205 fi
27206
27207 ;;
27208
27209 *-*-solaris2* )
27210 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27211 wx_cv_std_libpath="lib/64"
27212 fi
27213 ;;
27214
27215 *-*-linux* )
27216 if test "$ac_cv_sizeof_void_p" = 8; then
27217 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27218 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27219 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27220 wx_cv_std_libpath="lib64"
27221 fi
27222 else
27223 case "${host}" in
27224 i*86-*-linux* )
27225 if test -d '/usr/lib/i386-linux-gnu'; then
27226 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27227 fi
27228 esac
27229 fi
27230
27231 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27232 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27233 fi
27234 ;;
27235 esac
27236
27237 if test -z "$wx_cv_std_libpath"; then
27238 wx_cv_std_libpath="lib"
27239 fi
27240
27241 if test -z "$wx_cv_std_libfullpath"; then
27242 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27243 fi
27244
27245
27246 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27247 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27248
27249 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27250
27251 if test "$build" != "$host" -a "$GCC" = yes; then
27252 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27253 cross_root=`dirname $cross_root`
27254 cross_root=`dirname $cross_root`
27255
27256 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27257 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27258 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27259
27260 if test -z "$PKG_CONFIG_PATH"; then
27261 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27262 export PKG_CONFIG_PATH
27263 fi
27264
27265 if test -z "$x_includes" -o "$x_includes" = NONE; then
27266
27267 ac_find_includes=
27268 for ac_dir in $SEARCH_INCLUDE /usr/include
27269 do
27270 if test -f "$ac_dir/X11/Intrinsic.h"; then
27271 ac_find_includes=$ac_dir
27272 break
27273 fi
27274 done
27275
27276 x_includes=$ac_find_includes
27277 fi
27278 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27279
27280 ac_find_libraries=
27281 for ac_dir in $SEARCH_LIB
27282 do
27283 for ac_extension in a so sl dylib dll.a; do
27284 if test -f "$ac_dir/libXt.$ac_extension"; then
27285 ac_find_libraries=$ac_dir
27286 break 2
27287 fi
27288 done
27289 done
27290
27291 x_libraries=$ac_find_libraries
27292 fi
27293 fi
27294 fi
27295
27296
27297 cat >confcache <<\_ACEOF
27298 # This file is a shell script that caches the results of configure
27299 # tests run on this system so they can be shared between configure
27300 # scripts and configure runs, see configure's option --config-cache.
27301 # It is not useful on other systems. If it contains results you don't
27302 # want to keep, you may remove or edit it.
27303 #
27304 # config.status only pays attention to the cache file if you give it
27305 # the --recheck option to rerun configure.
27306 #
27307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27309 # following values.
27310
27311 _ACEOF
27312
27313 # The following way of writing the cache mishandles newlines in values,
27314 # but we know of no workaround that is simple, portable, and efficient.
27315 # So, we kill variables containing newlines.
27316 # Ultrix sh set writes to stderr and can't be redirected directly,
27317 # and sets the high bit in the cache file unless we assign to the vars.
27318 (
27319 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27320 eval ac_val=\$$ac_var
27321 case $ac_val in #(
27322 *${as_nl}*)
27323 case $ac_var in #(
27324 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27325 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27326 esac
27327 case $ac_var in #(
27328 _ | IFS | as_nl) ;; #(
27329 *) $as_unset $ac_var ;;
27330 esac ;;
27331 esac
27332 done
27333
27334 (set) 2>&1 |
27335 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27336 *${as_nl}ac_space=\ *)
27337 # `set' does not quote correctly, so add quotes (double-quote
27338 # substitution turns \\\\ into \\, and sed turns \\ into \).
27339 sed -n \
27340 "s/'/'\\\\''/g;
27341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27342 ;; #(
27343 *)
27344 # `set' quotes correctly as required by POSIX, so do not add quotes.
27345 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27346 ;;
27347 esac |
27348 sort
27349 ) |
27350 sed '
27351 /^ac_cv_env_/b end
27352 t clear
27353 :clear
27354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27355 t end
27356 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27357 :end' >>confcache
27358 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27359 if test -w "$cache_file"; then
27360 test "x$cache_file" != "x/dev/null" &&
27361 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27362 echo "$as_me: updating cache $cache_file" >&6;}
27363 cat confcache >$cache_file
27364 else
27365 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27366 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27367 fi
27368 fi
27369 rm -f confcache
27370
27371 have_cos=0
27372 have_floor=0
27373
27374 for ac_func in cos
27375 do
27376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 else
27382 cat >conftest.$ac_ext <<_ACEOF
27383 /* confdefs.h. */
27384 _ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27390 #define $ac_func innocuous_$ac_func
27391
27392 /* System header to define __stub macros and hopefully few prototypes,
27393 which can conflict with char $ac_func (); below.
27394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27395 <limits.h> exists even on freestanding compilers. */
27396
27397 #ifdef __STDC__
27398 # include <limits.h>
27399 #else
27400 # include <assert.h>
27401 #endif
27402
27403 #undef $ac_func
27404
27405 /* Override any GCC internal prototype to avoid an error.
27406 Use char because int might match the return type of a GCC
27407 builtin and then its argument prototype would still apply. */
27408 #ifdef __cplusplus
27409 extern "C"
27410 #endif
27411 char $ac_func ();
27412 /* The GNU C library defines this for functions which it implements
27413 to always fail with ENOSYS. Some functions are actually named
27414 something starting with __ and the normal name is an alias. */
27415 #if defined __stub_$ac_func || defined __stub___$ac_func
27416 choke me
27417 #endif
27418
27419 int
27420 main ()
27421 {
27422 return $ac_func ();
27423 ;
27424 return 0;
27425 }
27426 _ACEOF
27427 rm -f conftest.$ac_objext conftest$ac_exeext
27428 if { (ac_try="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27432 esac
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 eval "$as_ac_var=yes"
27446 else
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27449
27450 eval "$as_ac_var=no"
27451 fi
27452
27453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27454 conftest$ac_exeext conftest.$ac_ext
27455 fi
27456 ac_res=`eval echo '${'$as_ac_var'}'`
27457 { echo "$as_me:$LINENO: result: $ac_res" >&5
27458 echo "${ECHO_T}$ac_res" >&6; }
27459 if test `eval echo '${'$as_ac_var'}'` = yes; then
27460 cat >>confdefs.h <<_ACEOF
27461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27462 _ACEOF
27463 have_cos=1
27464 fi
27465 done
27466
27467
27468 for ac_func in floor
27469 do
27470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27474 echo $ECHO_N "(cached) $ECHO_C" >&6
27475 else
27476 cat >conftest.$ac_ext <<_ACEOF
27477 /* confdefs.h. */
27478 _ACEOF
27479 cat confdefs.h >>conftest.$ac_ext
27480 cat >>conftest.$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27484 #define $ac_func innocuous_$ac_func
27485
27486 /* System header to define __stub macros and hopefully few prototypes,
27487 which can conflict with char $ac_func (); below.
27488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27489 <limits.h> exists even on freestanding compilers. */
27490
27491 #ifdef __STDC__
27492 # include <limits.h>
27493 #else
27494 # include <assert.h>
27495 #endif
27496
27497 #undef $ac_func
27498
27499 /* Override any GCC internal prototype to avoid an error.
27500 Use char because int might match the return type of a GCC
27501 builtin and then its argument prototype would still apply. */
27502 #ifdef __cplusplus
27503 extern "C"
27504 #endif
27505 char $ac_func ();
27506 /* The GNU C library defines this for functions which it implements
27507 to always fail with ENOSYS. Some functions are actually named
27508 something starting with __ and the normal name is an alias. */
27509 #if defined __stub_$ac_func || defined __stub___$ac_func
27510 choke me
27511 #endif
27512
27513 int
27514 main ()
27515 {
27516 return $ac_func ();
27517 ;
27518 return 0;
27519 }
27520 _ACEOF
27521 rm -f conftest.$ac_objext conftest$ac_exeext
27522 if { (ac_try="$ac_link"
27523 case "(($ac_try" in
27524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27525 *) ac_try_echo=$ac_try;;
27526 esac
27527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27528 (eval "$ac_link") 2>conftest.er1
27529 ac_status=$?
27530 grep -v '^ *+' conftest.er1 >conftest.err
27531 rm -f conftest.er1
27532 cat conftest.err >&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } && {
27535 test -z "$ac_c_werror_flag" ||
27536 test ! -s conftest.err
27537 } && test -s conftest$ac_exeext &&
27538 $as_test_x conftest$ac_exeext; then
27539 eval "$as_ac_var=yes"
27540 else
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.$ac_ext >&5
27543
27544 eval "$as_ac_var=no"
27545 fi
27546
27547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27548 conftest$ac_exeext conftest.$ac_ext
27549 fi
27550 ac_res=`eval echo '${'$as_ac_var'}'`
27551 { echo "$as_me:$LINENO: result: $ac_res" >&5
27552 echo "${ECHO_T}$ac_res" >&6; }
27553 if test `eval echo '${'$as_ac_var'}'` = yes; then
27554 cat >>confdefs.h <<_ACEOF
27555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27556 _ACEOF
27557 have_floor=1
27558 fi
27559 done
27560
27561 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27562 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27563 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27564 { echo "$as_me:$LINENO: result: yes" >&5
27565 echo "${ECHO_T}yes" >&6; }
27566 else
27567 { echo "$as_me:$LINENO: result: no" >&5
27568 echo "${ECHO_T}no" >&6; }
27569 LIBS="$LIBS -lm"
27570 # use different functions to avoid configure caching
27571 have_sin=0
27572 have_ceil=0
27573
27574 for ac_func in sin
27575 do
27576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 else
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h. */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27590 #define $ac_func innocuous_$ac_func
27591
27592 /* System header to define __stub macros and hopefully few prototypes,
27593 which can conflict with char $ac_func (); below.
27594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27595 <limits.h> exists even on freestanding compilers. */
27596
27597 #ifdef __STDC__
27598 # include <limits.h>
27599 #else
27600 # include <assert.h>
27601 #endif
27602
27603 #undef $ac_func
27604
27605 /* Override any GCC internal prototype to avoid an error.
27606 Use char because int might match the return type of a GCC
27607 builtin and then its argument prototype would still apply. */
27608 #ifdef __cplusplus
27609 extern "C"
27610 #endif
27611 char $ac_func ();
27612 /* The GNU C library defines this for functions which it implements
27613 to always fail with ENOSYS. Some functions are actually named
27614 something starting with __ and the normal name is an alias. */
27615 #if defined __stub_$ac_func || defined __stub___$ac_func
27616 choke me
27617 #endif
27618
27619 int
27620 main ()
27621 {
27622 return $ac_func ();
27623 ;
27624 return 0;
27625 }
27626 _ACEOF
27627 rm -f conftest.$ac_objext conftest$ac_exeext
27628 if { (ac_try="$ac_link"
27629 case "(($ac_try" in
27630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27631 *) ac_try_echo=$ac_try;;
27632 esac
27633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27634 (eval "$ac_link") 2>conftest.er1
27635 ac_status=$?
27636 grep -v '^ *+' conftest.er1 >conftest.err
27637 rm -f conftest.er1
27638 cat conftest.err >&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } && {
27641 test -z "$ac_c_werror_flag" ||
27642 test ! -s conftest.err
27643 } && test -s conftest$ac_exeext &&
27644 $as_test_x conftest$ac_exeext; then
27645 eval "$as_ac_var=yes"
27646 else
27647 echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27649
27650 eval "$as_ac_var=no"
27651 fi
27652
27653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27654 conftest$ac_exeext conftest.$ac_ext
27655 fi
27656 ac_res=`eval echo '${'$as_ac_var'}'`
27657 { echo "$as_me:$LINENO: result: $ac_res" >&5
27658 echo "${ECHO_T}$ac_res" >&6; }
27659 if test `eval echo '${'$as_ac_var'}'` = yes; then
27660 cat >>confdefs.h <<_ACEOF
27661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27662 _ACEOF
27663 have_sin=1
27664 fi
27665 done
27666
27667
27668 for ac_func in ceil
27669 do
27670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27671 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27674 echo $ECHO_N "(cached) $ECHO_C" >&6
27675 else
27676 cat >conftest.$ac_ext <<_ACEOF
27677 /* confdefs.h. */
27678 _ACEOF
27679 cat confdefs.h >>conftest.$ac_ext
27680 cat >>conftest.$ac_ext <<_ACEOF
27681 /* end confdefs.h. */
27682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27684 #define $ac_func innocuous_$ac_func
27685
27686 /* System header to define __stub macros and hopefully few prototypes,
27687 which can conflict with char $ac_func (); below.
27688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27689 <limits.h> exists even on freestanding compilers. */
27690
27691 #ifdef __STDC__
27692 # include <limits.h>
27693 #else
27694 # include <assert.h>
27695 #endif
27696
27697 #undef $ac_func
27698
27699 /* Override any GCC internal prototype to avoid an error.
27700 Use char because int might match the return type of a GCC
27701 builtin and then its argument prototype would still apply. */
27702 #ifdef __cplusplus
27703 extern "C"
27704 #endif
27705 char $ac_func ();
27706 /* The GNU C library defines this for functions which it implements
27707 to always fail with ENOSYS. Some functions are actually named
27708 something starting with __ and the normal name is an alias. */
27709 #if defined __stub_$ac_func || defined __stub___$ac_func
27710 choke me
27711 #endif
27712
27713 int
27714 main ()
27715 {
27716 return $ac_func ();
27717 ;
27718 return 0;
27719 }
27720 _ACEOF
27721 rm -f conftest.$ac_objext conftest$ac_exeext
27722 if { (ac_try="$ac_link"
27723 case "(($ac_try" in
27724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27725 *) ac_try_echo=$ac_try;;
27726 esac
27727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27728 (eval "$ac_link") 2>conftest.er1
27729 ac_status=$?
27730 grep -v '^ *+' conftest.er1 >conftest.err
27731 rm -f conftest.er1
27732 cat conftest.err >&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } && {
27735 test -z "$ac_c_werror_flag" ||
27736 test ! -s conftest.err
27737 } && test -s conftest$ac_exeext &&
27738 $as_test_x conftest$ac_exeext; then
27739 eval "$as_ac_var=yes"
27740 else
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27743
27744 eval "$as_ac_var=no"
27745 fi
27746
27747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27748 conftest$ac_exeext conftest.$ac_ext
27749 fi
27750 ac_res=`eval echo '${'$as_ac_var'}'`
27751 { echo "$as_me:$LINENO: result: $ac_res" >&5
27752 echo "${ECHO_T}$ac_res" >&6; }
27753 if test `eval echo '${'$as_ac_var'}'` = yes; then
27754 cat >>confdefs.h <<_ACEOF
27755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27756 _ACEOF
27757 have_ceil=1
27758 fi
27759 done
27760
27761 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27762 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27763 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27764 { echo "$as_me:$LINENO: result: yes" >&5
27765 echo "${ECHO_T}yes" >&6; }
27766 else
27767 { echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6; }
27769 # not sure we should warn the user, crash, etc.
27770 fi
27771 fi
27772
27773 ac_ext=cpp
27774 ac_cpp='$CXXCPP $CPPFLAGS'
27775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27778
27779 if test "wxUSE_UNICODE" = "yes"; then
27780
27781 for wx_func in wcstoull
27782 do
27783 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27784 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27785 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 else
27788
27789 cat >conftest.$ac_ext <<_ACEOF
27790
27791 /* confdefs.h. */
27792 _ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796
27797
27798 $ac_includes_default
27799
27800 int
27801 main ()
27802 {
27803
27804 #ifndef $wx_func
27805 &$wx_func;
27806 #endif
27807
27808
27809 ;
27810 return 0;
27811 }
27812
27813 _ACEOF
27814 rm -f conftest.$ac_objext conftest$ac_exeext
27815 if { (ac_try="$ac_link"
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_link") 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_exeext &&
27831 $as_test_x conftest$ac_exeext; then
27832 eval wx_cv_func_$wx_func=yes
27833 else
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27836
27837 eval wx_cv_func_$wx_func=no
27838 fi
27839
27840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27841 conftest$ac_exeext conftest.$ac_ext
27842
27843 fi
27844 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27845 { echo "$as_me:$LINENO: result: $ac_res" >&5
27846 echo "${ECHO_T}$ac_res" >&6; }
27847
27848 if eval test \$wx_cv_func_$wx_func = yes
27849 then
27850 cat >>confdefs.h <<_ACEOF
27851 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27852 _ACEOF
27853
27854
27855 else
27856 :
27857
27858 fi
27859 done
27860
27861 else
27862
27863 for wx_func in strtoull
27864 do
27865 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27866 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27867 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27868 echo $ECHO_N "(cached) $ECHO_C" >&6
27869 else
27870
27871 cat >conftest.$ac_ext <<_ACEOF
27872
27873 /* confdefs.h. */
27874 _ACEOF
27875 cat confdefs.h >>conftest.$ac_ext
27876 cat >>conftest.$ac_ext <<_ACEOF
27877 /* end confdefs.h. */
27878
27879
27880 $ac_includes_default
27881
27882 int
27883 main ()
27884 {
27885
27886 #ifndef $wx_func
27887 &$wx_func;
27888 #endif
27889
27890
27891 ;
27892 return 0;
27893 }
27894
27895 _ACEOF
27896 rm -f conftest.$ac_objext conftest$ac_exeext
27897 if { (ac_try="$ac_link"
27898 case "(($ac_try" in
27899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27900 *) ac_try_echo=$ac_try;;
27901 esac
27902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27903 (eval "$ac_link") 2>conftest.er1
27904 ac_status=$?
27905 grep -v '^ *+' conftest.er1 >conftest.err
27906 rm -f conftest.er1
27907 cat conftest.err >&5
27908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27909 (exit $ac_status); } && {
27910 test -z "$ac_cxx_werror_flag" ||
27911 test ! -s conftest.err
27912 } && test -s conftest$ac_exeext &&
27913 $as_test_x conftest$ac_exeext; then
27914 eval wx_cv_func_$wx_func=yes
27915 else
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27918
27919 eval wx_cv_func_$wx_func=no
27920 fi
27921
27922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27923 conftest$ac_exeext conftest.$ac_ext
27924
27925 fi
27926 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27927 { echo "$as_me:$LINENO: result: $ac_res" >&5
27928 echo "${ECHO_T}$ac_res" >&6; }
27929
27930 if eval test \$wx_cv_func_$wx_func = yes
27931 then
27932 cat >>confdefs.h <<_ACEOF
27933 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27934 _ACEOF
27935
27936
27937 else
27938 :
27939
27940 fi
27941 done
27942
27943 fi
27944 ac_ext=c
27945 ac_cpp='$CPP $CPPFLAGS'
27946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27949
27950
27951
27952
27953 if test "$wxUSE_REGEX" != "no"; then
27954 cat >>confdefs.h <<\_ACEOF
27955 #define wxUSE_REGEX 1
27956 _ACEOF
27957
27958
27959 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27960 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27961 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27962 wxUSE_REGEX=builtin
27963 fi
27964
27965 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27966 { echo "$as_me:$LINENO: checking for regex.h" >&5
27967 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27968 if test "${ac_cv_header_regex_h+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27970 else
27971 cat >conftest.$ac_ext <<_ACEOF
27972 /* confdefs.h. */
27973 _ACEOF
27974 cat confdefs.h >>conftest.$ac_ext
27975 cat >>conftest.$ac_ext <<_ACEOF
27976 /* end confdefs.h. */
27977
27978
27979 #include <regex.h>
27980 _ACEOF
27981 rm -f conftest.$ac_objext
27982 if { (ac_try="$ac_compile"
27983 case "(($ac_try" in
27984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27986 esac
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_compile") 2>conftest.er1
27989 ac_status=$?
27990 grep -v '^ *+' conftest.er1 >conftest.err
27991 rm -f conftest.er1
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_c_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest.$ac_objext; then
27998 ac_cv_header_regex_h=yes
27999 else
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.$ac_ext >&5
28002
28003 ac_cv_header_regex_h=no
28004 fi
28005
28006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28007 fi
28008 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28009 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28010 if test $ac_cv_header_regex_h = yes; then
28011
28012
28013 for ac_func in regcomp re_search
28014 do
28015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28020 else
28021 cat >conftest.$ac_ext <<_ACEOF
28022 /* confdefs.h. */
28023 _ACEOF
28024 cat confdefs.h >>conftest.$ac_ext
28025 cat >>conftest.$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28029 #define $ac_func innocuous_$ac_func
28030
28031 /* System header to define __stub macros and hopefully few prototypes,
28032 which can conflict with char $ac_func (); below.
28033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28034 <limits.h> exists even on freestanding compilers. */
28035
28036 #ifdef __STDC__
28037 # include <limits.h>
28038 #else
28039 # include <assert.h>
28040 #endif
28041
28042 #undef $ac_func
28043
28044 /* Override any GCC internal prototype to avoid an error.
28045 Use char because int might match the return type of a GCC
28046 builtin and then its argument prototype would still apply. */
28047 #ifdef __cplusplus
28048 extern "C"
28049 #endif
28050 char $ac_func ();
28051 /* The GNU C library defines this for functions which it implements
28052 to always fail with ENOSYS. Some functions are actually named
28053 something starting with __ and the normal name is an alias. */
28054 #if defined __stub_$ac_func || defined __stub___$ac_func
28055 choke me
28056 #endif
28057
28058 int
28059 main ()
28060 {
28061 return $ac_func ();
28062 ;
28063 return 0;
28064 }
28065 _ACEOF
28066 rm -f conftest.$ac_objext conftest$ac_exeext
28067 if { (ac_try="$ac_link"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28071 esac
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_link") 2>conftest.er1
28074 ac_status=$?
28075 grep -v '^ *+' conftest.er1 >conftest.err
28076 rm -f conftest.er1
28077 cat conftest.err >&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest$ac_exeext &&
28083 $as_test_x conftest$ac_exeext; then
28084 eval "$as_ac_var=yes"
28085 else
28086 echo "$as_me: failed program was:" >&5
28087 sed 's/^/| /' conftest.$ac_ext >&5
28088
28089 eval "$as_ac_var=no"
28090 fi
28091
28092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28093 conftest$ac_exeext conftest.$ac_ext
28094 fi
28095 ac_res=`eval echo '${'$as_ac_var'}'`
28096 { echo "$as_me:$LINENO: result: $ac_res" >&5
28097 echo "${ECHO_T}$ac_res" >&6; }
28098 if test `eval echo '${'$as_ac_var'}'` = yes; then
28099 cat >>confdefs.h <<_ACEOF
28100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28101 _ACEOF
28102
28103 fi
28104 done
28105
28106 fi
28107
28108
28109
28110 if test "x$ac_cv_func_regcomp" != "xyes"; then
28111 if test "$wxUSE_REGEX" = "sys" ; then
28112 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28113 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28114 { (exit 1); exit 1; }; }
28115 else
28116 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28117 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28118 wxUSE_REGEX=builtin
28119 fi
28120 else
28121 wxUSE_REGEX=sys
28122 cat >>confdefs.h <<\_ACEOF
28123 #define WX_NO_REGEX_ADVANCED 1
28124 _ACEOF
28125
28126 fi
28127 fi
28128 fi
28129
28130
28131 ZLIB_LINK=
28132 if test "$wxUSE_ZLIB" != "no" ; then
28133 cat >>confdefs.h <<\_ACEOF
28134 #define wxUSE_ZLIB 1
28135 _ACEOF
28136
28137
28138 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28139 if test "$USE_DARWIN" = 1; then
28140 system_zlib_h_ok="yes"
28141 else
28142 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28143 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28144 if test "${ac_cv_header_zlib_h+set}" = set; then
28145 echo $ECHO_N "(cached) $ECHO_C" >&6
28146 else
28147 if test "$cross_compiling" = yes; then
28148 unset ac_cv_header_zlib_h
28149
28150 else
28151 cat >conftest.$ac_ext <<_ACEOF
28152 /* confdefs.h. */
28153 _ACEOF
28154 cat confdefs.h >>conftest.$ac_ext
28155 cat >>conftest.$ac_ext <<_ACEOF
28156 /* end confdefs.h. */
28157
28158 #include <zlib.h>
28159 #include <stdio.h>
28160
28161 int main()
28162 {
28163 FILE *f=fopen("conftestval", "w");
28164 if (!f) exit(1);
28165 fprintf(f, "%s",
28166 ZLIB_VERSION[0] == '1' &&
28167 (ZLIB_VERSION[2] > '1' ||
28168 (ZLIB_VERSION[2] == '1' &&
28169 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28170 exit(0);
28171 }
28172
28173 _ACEOF
28174 rm -f conftest$ac_exeext
28175 if { (ac_try="$ac_link"
28176 case "(($ac_try" in
28177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28178 *) ac_try_echo=$ac_try;;
28179 esac
28180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28181 (eval "$ac_link") 2>&5
28182 ac_status=$?
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28185 { (case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28188 esac
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_try") 2>&5
28191 ac_status=$?
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; }; then
28194 ac_cv_header_zlib_h=`cat conftestval`
28195 else
28196 echo "$as_me: program exited with status $ac_status" >&5
28197 echo "$as_me: failed program was:" >&5
28198 sed 's/^/| /' conftest.$ac_ext >&5
28199
28200 ( exit $ac_status )
28201 ac_cv_header_zlib_h=no
28202 fi
28203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28204 fi
28205
28206
28207
28208 fi
28209 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28210 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28211 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28212 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28213 if test "${ac_cv_header_zlib_h+set}" = set; then
28214 echo $ECHO_N "(cached) $ECHO_C" >&6
28215 else
28216 cat >conftest.$ac_ext <<_ACEOF
28217 /* confdefs.h. */
28218 _ACEOF
28219 cat confdefs.h >>conftest.$ac_ext
28220 cat >>conftest.$ac_ext <<_ACEOF
28221 /* end confdefs.h. */
28222
28223
28224 #include <zlib.h>
28225 _ACEOF
28226 rm -f conftest.$ac_objext
28227 if { (ac_try="$ac_compile"
28228 case "(($ac_try" in
28229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28230 *) ac_try_echo=$ac_try;;
28231 esac
28232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28233 (eval "$ac_compile") 2>conftest.er1
28234 ac_status=$?
28235 grep -v '^ *+' conftest.er1 >conftest.err
28236 rm -f conftest.er1
28237 cat conftest.err >&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); } && {
28240 test -z "$ac_c_werror_flag" ||
28241 test ! -s conftest.err
28242 } && test -s conftest.$ac_objext; then
28243 ac_cv_header_zlib_h=yes
28244 else
28245 echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.$ac_ext >&5
28247
28248 ac_cv_header_zlib_h=no
28249 fi
28250
28251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28252 fi
28253 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28254 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28255
28256
28257
28258 system_zlib_h_ok=$ac_cv_header_zlib_h
28259 fi
28260
28261 if test "$system_zlib_h_ok" = "yes"; then
28262 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28263 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28264 if test "${ac_cv_lib_z_deflate+set}" = set; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 else
28267 ac_check_lib_save_LIBS=$LIBS
28268 LIBS="-lz $LIBS"
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275
28276 /* Override any GCC internal prototype to avoid an error.
28277 Use char because int might match the return type of a GCC
28278 builtin and then its argument prototype would still apply. */
28279 #ifdef __cplusplus
28280 extern "C"
28281 #endif
28282 char deflate ();
28283 int
28284 main ()
28285 {
28286 return deflate ();
28287 ;
28288 return 0;
28289 }
28290 _ACEOF
28291 rm -f conftest.$ac_objext conftest$ac_exeext
28292 if { (ac_try="$ac_link"
28293 case "(($ac_try" in
28294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28295 *) ac_try_echo=$ac_try;;
28296 esac
28297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28298 (eval "$ac_link") 2>conftest.er1
28299 ac_status=$?
28300 grep -v '^ *+' conftest.er1 >conftest.err
28301 rm -f conftest.er1
28302 cat conftest.err >&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } && {
28305 test -z "$ac_c_werror_flag" ||
28306 test ! -s conftest.err
28307 } && test -s conftest$ac_exeext &&
28308 $as_test_x conftest$ac_exeext; then
28309 ac_cv_lib_z_deflate=yes
28310 else
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 ac_cv_lib_z_deflate=no
28315 fi
28316
28317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28318 conftest$ac_exeext conftest.$ac_ext
28319 LIBS=$ac_check_lib_save_LIBS
28320 fi
28321 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28322 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28323 if test $ac_cv_lib_z_deflate = yes; then
28324 ZLIB_LINK=" -lz"
28325 fi
28326
28327 fi
28328
28329 if test "x$ZLIB_LINK" = "x" ; then
28330 if test "$wxUSE_ZLIB" = "sys" ; then
28331 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28332 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28333 { (exit 1); exit 1; }; }
28334 else
28335 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28336 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28337 wxUSE_ZLIB=builtin
28338 fi
28339 else
28340 wxUSE_ZLIB=sys
28341 fi
28342 fi
28343 fi
28344
28345
28346 PNG_LINK=
28347 if test "$wxUSE_LIBPNG" != "no" ; then
28348 cat >>confdefs.h <<\_ACEOF
28349 #define wxUSE_LIBPNG 1
28350 _ACEOF
28351
28352
28353 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28354 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28355 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28356 wxUSE_LIBPNG=builtin
28357 fi
28358
28359 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28360 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28361 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28362 if test "${ac_cv_header_png_h+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 else
28365 if test "$cross_compiling" = yes; then
28366 unset ac_cv_header_png_h
28367
28368 else
28369 cat >conftest.$ac_ext <<_ACEOF
28370 /* confdefs.h. */
28371 _ACEOF
28372 cat confdefs.h >>conftest.$ac_ext
28373 cat >>conftest.$ac_ext <<_ACEOF
28374 /* end confdefs.h. */
28375
28376 #include <png.h>
28377 #include <stdio.h>
28378
28379 int main()
28380 {
28381 FILE *f=fopen("conftestval", "w");
28382 if (!f) exit(1);
28383 fprintf(f, "%s",
28384 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28385 exit(0);
28386 }
28387
28388 _ACEOF
28389 rm -f conftest$ac_exeext
28390 if { (ac_try="$ac_link"
28391 case "(($ac_try" in
28392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28393 *) ac_try_echo=$ac_try;;
28394 esac
28395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28396 (eval "$ac_link") 2>&5
28397 ac_status=$?
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28400 { (case "(($ac_try" in
28401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28402 *) ac_try_echo=$ac_try;;
28403 esac
28404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_try") 2>&5
28406 ac_status=$?
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 ac_cv_header_png_h=`cat conftestval`
28410 else
28411 echo "$as_me: program exited with status $ac_status" >&5
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28414
28415 ( exit $ac_status )
28416 ac_cv_header_png_h=no
28417 fi
28418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28419 fi
28420
28421
28422
28423 fi
28424 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28425 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28426 { echo "$as_me:$LINENO: checking for png.h" >&5
28427 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28428 if test "${ac_cv_header_png_h+set}" = set; then
28429 echo $ECHO_N "(cached) $ECHO_C" >&6
28430 else
28431 cat >conftest.$ac_ext <<_ACEOF
28432 /* confdefs.h. */
28433 _ACEOF
28434 cat confdefs.h >>conftest.$ac_ext
28435 cat >>conftest.$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28437
28438
28439 #include <png.h>
28440 _ACEOF
28441 rm -f conftest.$ac_objext
28442 if { (ac_try="$ac_compile"
28443 case "(($ac_try" in
28444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28445 *) ac_try_echo=$ac_try;;
28446 esac
28447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28448 (eval "$ac_compile") 2>conftest.er1
28449 ac_status=$?
28450 grep -v '^ *+' conftest.er1 >conftest.err
28451 rm -f conftest.er1
28452 cat conftest.err >&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); } && {
28455 test -z "$ac_c_werror_flag" ||
28456 test ! -s conftest.err
28457 } && test -s conftest.$ac_objext; then
28458 ac_cv_header_png_h=yes
28459 else
28460 echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.$ac_ext >&5
28462
28463 ac_cv_header_png_h=no
28464 fi
28465
28466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28467 fi
28468 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28469 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28470
28471
28472
28473 if test "$ac_cv_header_png_h" = "yes"; then
28474 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28475 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28476 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28477 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 else
28479 ac_check_lib_save_LIBS=$LIBS
28480 LIBS="-lpng -lz -lm $LIBS"
28481 cat >conftest.$ac_ext <<_ACEOF
28482 /* confdefs.h. */
28483 _ACEOF
28484 cat confdefs.h >>conftest.$ac_ext
28485 cat >>conftest.$ac_ext <<_ACEOF
28486 /* end confdefs.h. */
28487
28488 /* Override any GCC internal prototype to avoid an error.
28489 Use char because int might match the return type of a GCC
28490 builtin and then its argument prototype would still apply. */
28491 #ifdef __cplusplus
28492 extern "C"
28493 #endif
28494 char png_sig_cmp ();
28495 int
28496 main ()
28497 {
28498 return png_sig_cmp ();
28499 ;
28500 return 0;
28501 }
28502 _ACEOF
28503 rm -f conftest.$ac_objext conftest$ac_exeext
28504 if { (ac_try="$ac_link"
28505 case "(($ac_try" in
28506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28507 *) ac_try_echo=$ac_try;;
28508 esac
28509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28510 (eval "$ac_link") 2>conftest.er1
28511 ac_status=$?
28512 grep -v '^ *+' conftest.er1 >conftest.err
28513 rm -f conftest.er1
28514 cat conftest.err >&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); } && {
28517 test -z "$ac_c_werror_flag" ||
28518 test ! -s conftest.err
28519 } && test -s conftest$ac_exeext &&
28520 $as_test_x conftest$ac_exeext; then
28521 ac_cv_lib_png_png_sig_cmp=yes
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28525
28526 ac_cv_lib_png_png_sig_cmp=no
28527 fi
28528
28529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28530 conftest$ac_exeext conftest.$ac_ext
28531 LIBS=$ac_check_lib_save_LIBS
28532 fi
28533 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28534 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28535 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28536 PNG_LINK=" -lpng -lz"
28537 fi
28538
28539 fi
28540
28541 if test "x$PNG_LINK" = "x" ; then
28542 if test "$wxUSE_LIBPNG" = "sys" ; then
28543 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28544 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28545 { (exit 1); exit 1; }; }
28546 else
28547 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28548 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28549 wxUSE_LIBPNG=builtin
28550 fi
28551 else
28552 wxUSE_LIBPNG=sys
28553 fi
28554 fi
28555 fi
28556
28557
28558 JPEG_LINK=
28559 if test "$wxUSE_LIBJPEG" != "no" ; then
28560 cat >>confdefs.h <<\_ACEOF
28561 #define wxUSE_LIBJPEG 1
28562 _ACEOF
28563
28564
28565 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28566 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28567 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28568 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28570 else
28571 cat >conftest.$ac_ext <<_ACEOF
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577
28578 #undef HAVE_STDLIB_H
28579 #include <stdio.h>
28580 #include <jpeglib.h>
28581
28582 int
28583 main ()
28584 {
28585
28586
28587 ;
28588 return 0;
28589 }
28590 _ACEOF
28591 rm -f conftest.$ac_objext
28592 if { (ac_try="$ac_compile"
28593 case "(($ac_try" in
28594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28595 *) ac_try_echo=$ac_try;;
28596 esac
28597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28598 (eval "$ac_compile") 2>conftest.er1
28599 ac_status=$?
28600 grep -v '^ *+' conftest.er1 >conftest.err
28601 rm -f conftest.er1
28602 cat conftest.err >&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } && {
28605 test -z "$ac_c_werror_flag" ||
28606 test ! -s conftest.err
28607 } && test -s conftest.$ac_objext; then
28608 ac_cv_header_jpeglib_h=yes
28609 else
28610 echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.$ac_ext >&5
28612
28613 ac_cv_header_jpeglib_h=no
28614
28615 fi
28616
28617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28618
28619 fi
28620
28621 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28622 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28623
28624 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28625 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28626 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28627 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 else
28630 ac_check_lib_save_LIBS=$LIBS
28631 LIBS="-ljpeg $LIBS"
28632 cat >conftest.$ac_ext <<_ACEOF
28633 /* confdefs.h. */
28634 _ACEOF
28635 cat confdefs.h >>conftest.$ac_ext
28636 cat >>conftest.$ac_ext <<_ACEOF
28637 /* end confdefs.h. */
28638
28639 /* Override any GCC internal prototype to avoid an error.
28640 Use char because int might match the return type of a GCC
28641 builtin and then its argument prototype would still apply. */
28642 #ifdef __cplusplus
28643 extern "C"
28644 #endif
28645 char jpeg_read_header ();
28646 int
28647 main ()
28648 {
28649 return jpeg_read_header ();
28650 ;
28651 return 0;
28652 }
28653 _ACEOF
28654 rm -f conftest.$ac_objext conftest$ac_exeext
28655 if { (ac_try="$ac_link"
28656 case "(($ac_try" in
28657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28658 *) ac_try_echo=$ac_try;;
28659 esac
28660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28661 (eval "$ac_link") 2>conftest.er1
28662 ac_status=$?
28663 grep -v '^ *+' conftest.er1 >conftest.err
28664 rm -f conftest.er1
28665 cat conftest.err >&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); } && {
28668 test -z "$ac_c_werror_flag" ||
28669 test ! -s conftest.err
28670 } && test -s conftest$ac_exeext &&
28671 $as_test_x conftest$ac_exeext; then
28672 ac_cv_lib_jpeg_jpeg_read_header=yes
28673 else
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.$ac_ext >&5
28676
28677 ac_cv_lib_jpeg_jpeg_read_header=no
28678 fi
28679
28680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28681 conftest$ac_exeext conftest.$ac_ext
28682 LIBS=$ac_check_lib_save_LIBS
28683 fi
28684 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28685 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28686 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28687 JPEG_LINK=" -ljpeg"
28688 fi
28689
28690 fi
28691
28692 if test "x$JPEG_LINK" = "x" ; then
28693 if test "$wxUSE_LIBJPEG" = "sys" ; then
28694 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28695 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28696 { (exit 1); exit 1; }; }
28697 else
28698 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28699 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28700 wxUSE_LIBJPEG=builtin
28701 fi
28702 else
28703 wxUSE_LIBJPEG=sys
28704
28705 if test "$wxUSE_MSW" = 1; then
28706 { echo "$as_me:$LINENO: checking for boolean" >&5
28707 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28708 if test "${ac_cv_type_boolean+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 else
28711 cat >conftest.$ac_ext <<_ACEOF
28712 /* confdefs.h. */
28713 _ACEOF
28714 cat confdefs.h >>conftest.$ac_ext
28715 cat >>conftest.$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28717 #include <windows.h>
28718
28719 typedef boolean ac__type_new_;
28720 int
28721 main ()
28722 {
28723 if ((ac__type_new_ *) 0)
28724 return 0;
28725 if (sizeof (ac__type_new_))
28726 return 0;
28727 ;
28728 return 0;
28729 }
28730 _ACEOF
28731 rm -f conftest.$ac_objext
28732 if { (ac_try="$ac_compile"
28733 case "(($ac_try" in
28734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28735 *) ac_try_echo=$ac_try;;
28736 esac
28737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28738 (eval "$ac_compile") 2>conftest.er1
28739 ac_status=$?
28740 grep -v '^ *+' conftest.er1 >conftest.err
28741 rm -f conftest.er1
28742 cat conftest.err >&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } && {
28745 test -z "$ac_c_werror_flag" ||
28746 test ! -s conftest.err
28747 } && test -s conftest.$ac_objext; then
28748 ac_cv_type_boolean=yes
28749 else
28750 echo "$as_me: failed program was:" >&5
28751 sed 's/^/| /' conftest.$ac_ext >&5
28752
28753 ac_cv_type_boolean=no
28754 fi
28755
28756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28757 fi
28758 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28759 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28760 if test $ac_cv_type_boolean = yes; then
28761
28762 cat >>confdefs.h <<_ACEOF
28763 #define HAVE_BOOLEAN 1
28764 _ACEOF
28765
28766
28767 { echo "$as_me:$LINENO: checking for boolean" >&5
28768 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28769 if test "${ac_cv_type_boolean+set}" = set; then
28770 echo $ECHO_N "(cached) $ECHO_C" >&6
28771 else
28772 cat >conftest.$ac_ext <<_ACEOF
28773 /* confdefs.h. */
28774 _ACEOF
28775 cat confdefs.h >>conftest.$ac_ext
28776 cat >>conftest.$ac_ext <<_ACEOF
28777 /* end confdefs.h. */
28778
28779 #undef HAVE_BOOLEAN
28780 #include <stdio.h>
28781 #include <jpeglib.h>
28782
28783
28784 typedef boolean ac__type_new_;
28785 int
28786 main ()
28787 {
28788 if ((ac__type_new_ *) 0)
28789 return 0;
28790 if (sizeof (ac__type_new_))
28791 return 0;
28792 ;
28793 return 0;
28794 }
28795 _ACEOF
28796 rm -f conftest.$ac_objext
28797 if { (ac_try="$ac_compile"
28798 case "(($ac_try" in
28799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28800 *) ac_try_echo=$ac_try;;
28801 esac
28802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28803 (eval "$ac_compile") 2>conftest.er1
28804 ac_status=$?
28805 grep -v '^ *+' conftest.er1 >conftest.err
28806 rm -f conftest.er1
28807 cat conftest.err >&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); } && {
28810 test -z "$ac_c_werror_flag" ||
28811 test ! -s conftest.err
28812 } && test -s conftest.$ac_objext; then
28813 ac_cv_type_boolean=yes
28814 else
28815 echo "$as_me: failed program was:" >&5
28816 sed 's/^/| /' conftest.$ac_ext >&5
28817
28818 ac_cv_type_boolean=no
28819 fi
28820
28821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28822 fi
28823 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28824 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28825
28826 # The cast to long int works around a bug in the HP C Compiler
28827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28829 # This bug is HP SR number 8606223364.
28830 { echo "$as_me:$LINENO: checking size of boolean" >&5
28831 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28832 if test "${ac_cv_sizeof_boolean+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 else
28835 if test "$cross_compiling" = yes; then
28836 # Depending upon the size, compute the lo and hi bounds.
28837 cat >conftest.$ac_ext <<_ACEOF
28838 /* confdefs.h. */
28839 _ACEOF
28840 cat confdefs.h >>conftest.$ac_ext
28841 cat >>conftest.$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843
28844 #undef HAVE_BOOLEAN
28845 #include <stdio.h>
28846 #include <jpeglib.h>
28847
28848
28849 typedef boolean ac__type_sizeof_;
28850 int
28851 main ()
28852 {
28853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28854 test_array [0] = 0
28855
28856 ;
28857 return 0;
28858 }
28859 _ACEOF
28860 rm -f conftest.$ac_objext
28861 if { (ac_try="$ac_compile"
28862 case "(($ac_try" in
28863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28864 *) ac_try_echo=$ac_try;;
28865 esac
28866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28867 (eval "$ac_compile") 2>conftest.er1
28868 ac_status=$?
28869 grep -v '^ *+' conftest.er1 >conftest.err
28870 rm -f conftest.er1
28871 cat conftest.err >&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } && {
28874 test -z "$ac_c_werror_flag" ||
28875 test ! -s conftest.err
28876 } && test -s conftest.$ac_objext; then
28877 ac_lo=0 ac_mid=0
28878 while :; do
28879 cat >conftest.$ac_ext <<_ACEOF
28880 /* confdefs.h. */
28881 _ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885
28886 #undef HAVE_BOOLEAN
28887 #include <stdio.h>
28888 #include <jpeglib.h>
28889
28890
28891 typedef boolean ac__type_sizeof_;
28892 int
28893 main ()
28894 {
28895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28896 test_array [0] = 0
28897
28898 ;
28899 return 0;
28900 }
28901 _ACEOF
28902 rm -f conftest.$ac_objext
28903 if { (ac_try="$ac_compile"
28904 case "(($ac_try" in
28905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28906 *) ac_try_echo=$ac_try;;
28907 esac
28908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28909 (eval "$ac_compile") 2>conftest.er1
28910 ac_status=$?
28911 grep -v '^ *+' conftest.er1 >conftest.err
28912 rm -f conftest.er1
28913 cat conftest.err >&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); } && {
28916 test -z "$ac_c_werror_flag" ||
28917 test ! -s conftest.err
28918 } && test -s conftest.$ac_objext; then
28919 ac_hi=$ac_mid; break
28920 else
28921 echo "$as_me: failed program was:" >&5
28922 sed 's/^/| /' conftest.$ac_ext >&5
28923
28924 ac_lo=`expr $ac_mid + 1`
28925 if test $ac_lo -le $ac_mid; then
28926 ac_lo= ac_hi=
28927 break
28928 fi
28929 ac_mid=`expr 2 '*' $ac_mid + 1`
28930 fi
28931
28932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28933 done
28934 else
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28937
28938 cat >conftest.$ac_ext <<_ACEOF
28939 /* confdefs.h. */
28940 _ACEOF
28941 cat confdefs.h >>conftest.$ac_ext
28942 cat >>conftest.$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28944
28945 #undef HAVE_BOOLEAN
28946 #include <stdio.h>
28947 #include <jpeglib.h>
28948
28949
28950 typedef boolean ac__type_sizeof_;
28951 int
28952 main ()
28953 {
28954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28955 test_array [0] = 0
28956
28957 ;
28958 return 0;
28959 }
28960 _ACEOF
28961 rm -f conftest.$ac_objext
28962 if { (ac_try="$ac_compile"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28966 esac
28967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_compile") 2>conftest.er1
28969 ac_status=$?
28970 grep -v '^ *+' conftest.er1 >conftest.err
28971 rm -f conftest.er1
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest.$ac_objext; then
28978 ac_hi=-1 ac_mid=-1
28979 while :; do
28980 cat >conftest.$ac_ext <<_ACEOF
28981 /* confdefs.h. */
28982 _ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28986
28987 #undef HAVE_BOOLEAN
28988 #include <stdio.h>
28989 #include <jpeglib.h>
28990
28991
28992 typedef boolean ac__type_sizeof_;
28993 int
28994 main ()
28995 {
28996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28997 test_array [0] = 0
28998
28999 ;
29000 return 0;
29001 }
29002 _ACEOF
29003 rm -f conftest.$ac_objext
29004 if { (ac_try="$ac_compile"
29005 case "(($ac_try" in
29006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29007 *) ac_try_echo=$ac_try;;
29008 esac
29009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29010 (eval "$ac_compile") 2>conftest.er1
29011 ac_status=$?
29012 grep -v '^ *+' conftest.er1 >conftest.err
29013 rm -f conftest.er1
29014 cat conftest.err >&5
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); } && {
29017 test -z "$ac_c_werror_flag" ||
29018 test ! -s conftest.err
29019 } && test -s conftest.$ac_objext; then
29020 ac_lo=$ac_mid; break
29021 else
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29024
29025 ac_hi=`expr '(' $ac_mid ')' - 1`
29026 if test $ac_mid -le $ac_hi; then
29027 ac_lo= ac_hi=
29028 break
29029 fi
29030 ac_mid=`expr 2 '*' $ac_mid`
29031 fi
29032
29033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29034 done
29035 else
29036 echo "$as_me: failed program was:" >&5
29037 sed 's/^/| /' conftest.$ac_ext >&5
29038
29039 ac_lo= ac_hi=
29040 fi
29041
29042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29043 fi
29044
29045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29046 # Binary search between lo and hi bounds.
29047 while test "x$ac_lo" != "x$ac_hi"; do
29048 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29049 cat >conftest.$ac_ext <<_ACEOF
29050 /* confdefs.h. */
29051 _ACEOF
29052 cat confdefs.h >>conftest.$ac_ext
29053 cat >>conftest.$ac_ext <<_ACEOF
29054 /* end confdefs.h. */
29055
29056 #undef HAVE_BOOLEAN
29057 #include <stdio.h>
29058 #include <jpeglib.h>
29059
29060
29061 typedef boolean ac__type_sizeof_;
29062 int
29063 main ()
29064 {
29065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29066 test_array [0] = 0
29067
29068 ;
29069 return 0;
29070 }
29071 _ACEOF
29072 rm -f conftest.$ac_objext
29073 if { (ac_try="$ac_compile"
29074 case "(($ac_try" in
29075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29076 *) ac_try_echo=$ac_try;;
29077 esac
29078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29079 (eval "$ac_compile") 2>conftest.er1
29080 ac_status=$?
29081 grep -v '^ *+' conftest.er1 >conftest.err
29082 rm -f conftest.er1
29083 cat conftest.err >&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } && {
29086 test -z "$ac_c_werror_flag" ||
29087 test ! -s conftest.err
29088 } && test -s conftest.$ac_objext; then
29089 ac_hi=$ac_mid
29090 else
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29093
29094 ac_lo=`expr '(' $ac_mid ')' + 1`
29095 fi
29096
29097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29098 done
29099 case $ac_lo in
29100 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29101 '') if test "$ac_cv_type_boolean" = yes; then
29102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29103 See \`config.log' for more details." >&5
29104 echo "$as_me: error: cannot compute sizeof (boolean)
29105 See \`config.log' for more details." >&2;}
29106 { (exit 77); exit 77; }; }
29107 else
29108 ac_cv_sizeof_boolean=0
29109 fi ;;
29110 esac
29111 else
29112 cat >conftest.$ac_ext <<_ACEOF
29113 /* confdefs.h. */
29114 _ACEOF
29115 cat confdefs.h >>conftest.$ac_ext
29116 cat >>conftest.$ac_ext <<_ACEOF
29117 /* end confdefs.h. */
29118
29119 #undef HAVE_BOOLEAN
29120 #include <stdio.h>
29121 #include <jpeglib.h>
29122
29123
29124 typedef boolean ac__type_sizeof_;
29125 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29126 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29127 #include <stdio.h>
29128 #include <stdlib.h>
29129 int
29130 main ()
29131 {
29132
29133 FILE *f = fopen ("conftest.val", "w");
29134 if (! f)
29135 return 1;
29136 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29137 {
29138 long int i = longval ();
29139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29140 return 1;
29141 fprintf (f, "%ld\n", i);
29142 }
29143 else
29144 {
29145 unsigned long int i = ulongval ();
29146 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29147 return 1;
29148 fprintf (f, "%lu\n", i);
29149 }
29150 return ferror (f) || fclose (f) != 0;
29151
29152 ;
29153 return 0;
29154 }
29155 _ACEOF
29156 rm -f conftest$ac_exeext
29157 if { (ac_try="$ac_link"
29158 case "(($ac_try" in
29159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29160 *) ac_try_echo=$ac_try;;
29161 esac
29162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29163 (eval "$ac_link") 2>&5
29164 ac_status=$?
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29167 { (case "(($ac_try" in
29168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29170 esac
29171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_try") 2>&5
29173 ac_status=$?
29174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175 (exit $ac_status); }; }; then
29176 ac_cv_sizeof_boolean=`cat conftest.val`
29177 else
29178 echo "$as_me: program exited with status $ac_status" >&5
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29181
29182 ( exit $ac_status )
29183 if test "$ac_cv_type_boolean" = yes; then
29184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29185 See \`config.log' for more details." >&5
29186 echo "$as_me: error: cannot compute sizeof (boolean)
29187 See \`config.log' for more details." >&2;}
29188 { (exit 77); exit 77; }; }
29189 else
29190 ac_cv_sizeof_boolean=0
29191 fi
29192 fi
29193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29194 fi
29195 rm -f conftest.val
29196 fi
29197 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29198 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29199
29200
29201
29202 cat >>confdefs.h <<_ACEOF
29203 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29204 _ACEOF
29205
29206
29207 cat >>confdefs.h <<_ACEOF
29208 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29209 _ACEOF
29210
29211
29212 fi
29213
29214 fi
29215 fi
29216 fi
29217 fi
29218
29219
29220 TIFF_LINK=
29221 TIFF_PREREQ_LINKS=-lm
29222 if test "$wxUSE_LIBTIFF" != "no" ; then
29223 cat >>confdefs.h <<\_ACEOF
29224 #define wxUSE_LIBTIFF 1
29225 _ACEOF
29226
29227
29228 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29229 if test "$wxUSE_LIBJPEG" = "sys"; then
29230 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29231 fi
29232 if test "$wxUSE_ZLIB" = "sys"; then
29233 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29234 fi
29235 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29236 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29237 if test "${ac_cv_header_tiffio_h+set}" = set; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29239 else
29240 cat >conftest.$ac_ext <<_ACEOF
29241 /* confdefs.h. */
29242 _ACEOF
29243 cat confdefs.h >>conftest.$ac_ext
29244 cat >>conftest.$ac_ext <<_ACEOF
29245 /* end confdefs.h. */
29246
29247
29248
29249 #include <tiffio.h>
29250 _ACEOF
29251 rm -f conftest.$ac_objext
29252 if { (ac_try="$ac_compile"
29253 case "(($ac_try" in
29254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29255 *) ac_try_echo=$ac_try;;
29256 esac
29257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29258 (eval "$ac_compile") 2>conftest.er1
29259 ac_status=$?
29260 grep -v '^ *+' conftest.er1 >conftest.err
29261 rm -f conftest.er1
29262 cat conftest.err >&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); } && {
29265 test -z "$ac_c_werror_flag" ||
29266 test ! -s conftest.err
29267 } && test -s conftest.$ac_objext; then
29268 ac_cv_header_tiffio_h=yes
29269 else
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.$ac_ext >&5
29272
29273 ac_cv_header_tiffio_h=no
29274 fi
29275
29276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29277 fi
29278 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29279 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29280 if test $ac_cv_header_tiffio_h = yes; then
29281
29282 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29283 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29284 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 ac_check_lib_save_LIBS=$LIBS
29288 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29289 cat >conftest.$ac_ext <<_ACEOF
29290 /* confdefs.h. */
29291 _ACEOF
29292 cat confdefs.h >>conftest.$ac_ext
29293 cat >>conftest.$ac_ext <<_ACEOF
29294 /* end confdefs.h. */
29295
29296 /* Override any GCC internal prototype to avoid an error.
29297 Use char because int might match the return type of a GCC
29298 builtin and then its argument prototype would still apply. */
29299 #ifdef __cplusplus
29300 extern "C"
29301 #endif
29302 char TIFFError ();
29303 int
29304 main ()
29305 {
29306 return TIFFError ();
29307 ;
29308 return 0;
29309 }
29310 _ACEOF
29311 rm -f conftest.$ac_objext conftest$ac_exeext
29312 if { (ac_try="$ac_link"
29313 case "(($ac_try" in
29314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29315 *) ac_try_echo=$ac_try;;
29316 esac
29317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29318 (eval "$ac_link") 2>conftest.er1
29319 ac_status=$?
29320 grep -v '^ *+' conftest.er1 >conftest.err
29321 rm -f conftest.er1
29322 cat conftest.err >&5
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); } && {
29325 test -z "$ac_c_werror_flag" ||
29326 test ! -s conftest.err
29327 } && test -s conftest$ac_exeext &&
29328 $as_test_x conftest$ac_exeext; then
29329 ac_cv_lib_tiff_TIFFError=yes
29330 else
29331 echo "$as_me: failed program was:" >&5
29332 sed 's/^/| /' conftest.$ac_ext >&5
29333
29334 ac_cv_lib_tiff_TIFFError=no
29335 fi
29336
29337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29338 conftest$ac_exeext conftest.$ac_ext
29339 LIBS=$ac_check_lib_save_LIBS
29340 fi
29341 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29342 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29343 if test $ac_cv_lib_tiff_TIFFError = yes; then
29344 TIFF_LINK=" -ltiff"
29345 fi
29346
29347
29348 fi
29349
29350
29351
29352 if test "x$TIFF_LINK" = "x" ; then
29353 if test "$wxUSE_LIBTIFF" = "sys" ; then
29354 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29355 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29356 { (exit 1); exit 1; }; }
29357 else
29358 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29359 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29360 wxUSE_LIBTIFF=builtin
29361 fi
29362 else
29363 wxUSE_LIBTIFF=sys
29364 fi
29365 fi
29366 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29367 if test "$wxUSE_LIBJPEG" = "no"; then
29368 ac_configure_args="$ac_configure_args --disable-jpeg"
29369 fi
29370 subdirs="$subdirs src/tiff"
29371
29372 fi
29373 fi
29374
29375
29376 if test "$wxUSE_EXPAT" != "no"; then
29377 wxUSE_XML=yes
29378 cat >>confdefs.h <<\_ACEOF
29379 #define wxUSE_EXPAT 1
29380 _ACEOF
29381
29382 cat >>confdefs.h <<\_ACEOF
29383 #define wxUSE_XML 1
29384 _ACEOF
29385
29386
29387 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29388 { echo "$as_me:$LINENO: checking for expat.h" >&5
29389 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29390 if test "${ac_cv_header_expat_h+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29392 else
29393 cat >conftest.$ac_ext <<_ACEOF
29394 /* confdefs.h. */
29395 _ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29399
29400
29401 #include <expat.h>
29402 _ACEOF
29403 rm -f conftest.$ac_objext
29404 if { (ac_try="$ac_compile"
29405 case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29408 esac
29409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_compile") 2>conftest.er1
29411 ac_status=$?
29412 grep -v '^ *+' conftest.er1 >conftest.err
29413 rm -f conftest.er1
29414 cat conftest.err >&5
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); } && {
29417 test -z "$ac_c_werror_flag" ||
29418 test ! -s conftest.err
29419 } && test -s conftest.$ac_objext; then
29420 ac_cv_header_expat_h=yes
29421 else
29422 echo "$as_me: failed program was:" >&5
29423 sed 's/^/| /' conftest.$ac_ext >&5
29424
29425 ac_cv_header_expat_h=no
29426 fi
29427
29428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29429 fi
29430 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29431 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29432 if test $ac_cv_header_expat_h = yes; then
29433 found_expat_h=1
29434 fi
29435
29436
29437 if test "x$found_expat_h" = "x1"; then
29438 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29439 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29440 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29441 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 else
29443
29444 ac_ext=cpp
29445 ac_cpp='$CXXCPP $CPPFLAGS'
29446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449
29450 cat >conftest.$ac_ext <<_ACEOF
29451 /* confdefs.h. */
29452 _ACEOF
29453 cat confdefs.h >>conftest.$ac_ext
29454 cat >>conftest.$ac_ext <<_ACEOF
29455 /* end confdefs.h. */
29456 #include <expat.h>
29457 int
29458 main ()
29459 {
29460
29461 ;
29462 return 0;
29463 }
29464 _ACEOF
29465 rm -f conftest.$ac_objext
29466 if { (ac_try="$ac_compile"
29467 case "(($ac_try" in
29468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29469 *) ac_try_echo=$ac_try;;
29470 esac
29471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29472 (eval "$ac_compile") 2>conftest.er1
29473 ac_status=$?
29474 grep -v '^ *+' conftest.er1 >conftest.err
29475 rm -f conftest.er1
29476 cat conftest.err >&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } && {
29479 test -z "$ac_cxx_werror_flag" ||
29480 test ! -s conftest.err
29481 } && test -s conftest.$ac_objext; then
29482 wx_cv_expat_is_not_broken=yes
29483 else
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29486
29487 wx_cv_expat_is_not_broken=no
29488
29489 fi
29490
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492 ac_ext=c
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29497
29498
29499
29500 fi
29501 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29502 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29503 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29504 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29505 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29506 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29507 echo $ECHO_N "(cached) $ECHO_C" >&6
29508 else
29509 ac_check_lib_save_LIBS=$LIBS
29510 LIBS="-lexpat $LIBS"
29511 cat >conftest.$ac_ext <<_ACEOF
29512 /* confdefs.h. */
29513 _ACEOF
29514 cat confdefs.h >>conftest.$ac_ext
29515 cat >>conftest.$ac_ext <<_ACEOF
29516 /* end confdefs.h. */
29517
29518 /* Override any GCC internal prototype to avoid an error.
29519 Use char because int might match the return type of a GCC
29520 builtin and then its argument prototype would still apply. */
29521 #ifdef __cplusplus
29522 extern "C"
29523 #endif
29524 char XML_ParserCreate ();
29525 int
29526 main ()
29527 {
29528 return XML_ParserCreate ();
29529 ;
29530 return 0;
29531 }
29532 _ACEOF
29533 rm -f conftest.$ac_objext conftest$ac_exeext
29534 if { (ac_try="$ac_link"
29535 case "(($ac_try" in
29536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29537 *) ac_try_echo=$ac_try;;
29538 esac
29539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29540 (eval "$ac_link") 2>conftest.er1
29541 ac_status=$?
29542 grep -v '^ *+' conftest.er1 >conftest.err
29543 rm -f conftest.er1
29544 cat conftest.err >&5
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); } && {
29547 test -z "$ac_c_werror_flag" ||
29548 test ! -s conftest.err
29549 } && test -s conftest$ac_exeext &&
29550 $as_test_x conftest$ac_exeext; then
29551 ac_cv_lib_expat_XML_ParserCreate=yes
29552 else
29553 echo "$as_me: failed program was:" >&5
29554 sed 's/^/| /' conftest.$ac_ext >&5
29555
29556 ac_cv_lib_expat_XML_ParserCreate=no
29557 fi
29558
29559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29560 conftest$ac_exeext conftest.$ac_ext
29561 LIBS=$ac_check_lib_save_LIBS
29562 fi
29563 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29564 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29565 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29566 EXPAT_LINK=" -lexpat"
29567 fi
29568
29569 fi
29570 fi
29571 if test "x$EXPAT_LINK" = "x" ; then
29572 if test "$wxUSE_EXPAT" = "sys" ; then
29573 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29574 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29575 { (exit 1); exit 1; }; }
29576 else
29577 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29578 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29579 wxUSE_EXPAT=builtin
29580 fi
29581 else
29582 wxUSE_EXPAT=sys
29583 fi
29584 fi
29585 if test "$wxUSE_EXPAT" = "builtin" ; then
29586 subdirs="$subdirs src/expat"
29587
29588 fi
29589 fi
29590
29591
29592
29593 if test "$wxUSE_LIBMSPACK" != "no"; then
29594 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29595 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29596 if test "${ac_cv_header_mspack_h+set}" = set; then
29597 echo $ECHO_N "(cached) $ECHO_C" >&6
29598 else
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h. */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29605
29606
29607 #include <mspack.h>
29608 _ACEOF
29609 rm -f conftest.$ac_objext
29610 if { (ac_try="$ac_compile"
29611 case "(($ac_try" in
29612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29613 *) ac_try_echo=$ac_try;;
29614 esac
29615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29616 (eval "$ac_compile") 2>conftest.er1
29617 ac_status=$?
29618 grep -v '^ *+' conftest.er1 >conftest.err
29619 rm -f conftest.er1
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } && {
29623 test -z "$ac_c_werror_flag" ||
29624 test ! -s conftest.err
29625 } && test -s conftest.$ac_objext; then
29626 ac_cv_header_mspack_h=yes
29627 else
29628 echo "$as_me: failed program was:" >&5
29629 sed 's/^/| /' conftest.$ac_ext >&5
29630
29631 ac_cv_header_mspack_h=no
29632 fi
29633
29634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29635 fi
29636 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29637 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29638 if test $ac_cv_header_mspack_h = yes; then
29639 found_mspack_h=1
29640 fi
29641
29642
29643 if test "x$found_mspack_h" = "x1"; then
29644 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29645 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29646 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29647 echo $ECHO_N "(cached) $ECHO_C" >&6
29648 else
29649 ac_check_lib_save_LIBS=$LIBS
29650 LIBS="-lmspack $LIBS"
29651 cat >conftest.$ac_ext <<_ACEOF
29652 /* confdefs.h. */
29653 _ACEOF
29654 cat confdefs.h >>conftest.$ac_ext
29655 cat >>conftest.$ac_ext <<_ACEOF
29656 /* end confdefs.h. */
29657
29658 /* Override any GCC internal prototype to avoid an error.
29659 Use char because int might match the return type of a GCC
29660 builtin and then its argument prototype would still apply. */
29661 #ifdef __cplusplus
29662 extern "C"
29663 #endif
29664 char mspack_create_chm_decompressor ();
29665 int
29666 main ()
29667 {
29668 return mspack_create_chm_decompressor ();
29669 ;
29670 return 0;
29671 }
29672 _ACEOF
29673 rm -f conftest.$ac_objext conftest$ac_exeext
29674 if { (ac_try="$ac_link"
29675 case "(($ac_try" in
29676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29677 *) ac_try_echo=$ac_try;;
29678 esac
29679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29680 (eval "$ac_link") 2>conftest.er1
29681 ac_status=$?
29682 grep -v '^ *+' conftest.er1 >conftest.err
29683 rm -f conftest.er1
29684 cat conftest.err >&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } && {
29687 test -z "$ac_c_werror_flag" ||
29688 test ! -s conftest.err
29689 } && test -s conftest$ac_exeext &&
29690 $as_test_x conftest$ac_exeext; then
29691 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29692 else
29693 echo "$as_me: failed program was:" >&5
29694 sed 's/^/| /' conftest.$ac_ext >&5
29695
29696 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29697 fi
29698
29699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29700 conftest$ac_exeext conftest.$ac_ext
29701 LIBS=$ac_check_lib_save_LIBS
29702 fi
29703 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29704 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29705 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29706 MSPACK_LINK=" -lmspack"
29707 fi
29708
29709 fi
29710 if test "x$MSPACK_LINK" = "x" ; then
29711 wxUSE_LIBMSPACK=no
29712 fi
29713 fi
29714
29715 if test "$wxUSE_LIBMSPACK" != "no"; then
29716 cat >>confdefs.h <<\_ACEOF
29717 #define wxUSE_LIBMSPACK 1
29718 _ACEOF
29719
29720 fi
29721
29722
29723
29724 AFMINSTALL=
29725 WIN32INSTALL=
29726
29727 TOOLKIT=
29728 TOOLKIT_INCLUDE=
29729 WIDGET_SET=
29730
29731 if test "$USE_WIN32" = 1 ; then
29732
29733 for ac_header in w32api.h
29734 do
29735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29736 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29738 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29740 else
29741 cat >conftest.$ac_ext <<_ACEOF
29742 /* confdefs.h. */
29743 _ACEOF
29744 cat confdefs.h >>conftest.$ac_ext
29745 cat >>conftest.$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29747
29748
29749 #include <$ac_header>
29750 _ACEOF
29751 rm -f conftest.$ac_objext
29752 if { (ac_try="$ac_compile"
29753 case "(($ac_try" in
29754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29755 *) ac_try_echo=$ac_try;;
29756 esac
29757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29758 (eval "$ac_compile") 2>conftest.er1
29759 ac_status=$?
29760 grep -v '^ *+' conftest.er1 >conftest.err
29761 rm -f conftest.er1
29762 cat conftest.err >&5
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); } && {
29765 test -z "$ac_c_werror_flag" ||
29766 test ! -s conftest.err
29767 } && test -s conftest.$ac_objext; then
29768 eval "$as_ac_Header=yes"
29769 else
29770 echo "$as_me: failed program was:" >&5
29771 sed 's/^/| /' conftest.$ac_ext >&5
29772
29773 eval "$as_ac_Header=no"
29774 fi
29775
29776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29777 fi
29778 ac_res=`eval echo '${'$as_ac_Header'}'`
29779 { echo "$as_me:$LINENO: result: $ac_res" >&5
29780 echo "${ECHO_T}$ac_res" >&6; }
29781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29782 cat >>confdefs.h <<_ACEOF
29783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29784 _ACEOF
29785
29786 fi
29787
29788 done
29789
29790 { echo "$as_me:$LINENO: checking for windows.h" >&5
29791 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29792 if test "${ac_cv_header_windows_h+set}" = set; then
29793 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 else
29795 cat >conftest.$ac_ext <<_ACEOF
29796 /* confdefs.h. */
29797 _ACEOF
29798 cat confdefs.h >>conftest.$ac_ext
29799 cat >>conftest.$ac_ext <<_ACEOF
29800 /* end confdefs.h. */
29801
29802
29803 #include <windows.h>
29804 _ACEOF
29805 rm -f conftest.$ac_objext
29806 if { (ac_try="$ac_compile"
29807 case "(($ac_try" in
29808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29809 *) ac_try_echo=$ac_try;;
29810 esac
29811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29812 (eval "$ac_compile") 2>conftest.er1
29813 ac_status=$?
29814 grep -v '^ *+' conftest.er1 >conftest.err
29815 rm -f conftest.er1
29816 cat conftest.err >&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); } && {
29819 test -z "$ac_c_werror_flag" ||
29820 test ! -s conftest.err
29821 } && test -s conftest.$ac_objext; then
29822 ac_cv_header_windows_h=yes
29823 else
29824 echo "$as_me: failed program was:" >&5
29825 sed 's/^/| /' conftest.$ac_ext >&5
29826
29827 ac_cv_header_windows_h=no
29828 fi
29829
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831 fi
29832 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29833 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29834 if test $ac_cv_header_windows_h = yes; then
29835 :
29836 else
29837
29838 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29839 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29840 { (exit 1); exit 1; }; }
29841
29842 fi
29843
29844
29845
29846 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29847 case "${host}" in
29848 x86_64-*-mingw32* )
29849 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29850 ;;
29851 esac
29852 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29853 LIBS="$LIBS -loleacc"
29854 fi
29855
29856 case "${host}" in
29857 *-*-cygwin* )
29858 LIBS="$LIBS -lkernel32 -luser32"
29859 esac
29860
29861 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29862 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29863
29864 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29865
29866 WIN32INSTALL=win32install
29867 fi
29868
29869 if test "$wxUSE_GUI" = "yes"; then
29870 USE_GUI=1
29871
29872 GUI_TK_LIBRARY=
29873
29874 WXGTK127=
29875 WXGTK2=
29876 WXGPE=
29877
29878 if test "$wxUSE_OLD_COCOA" = 1 ; then
29879 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29880 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29881 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29882 wxUSE_PRINTING_ARCHITECTURE=no
29883 fi
29884 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29885 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29886 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29887 wxUSE_DRAG_AND_DROP=no
29888 fi
29889 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29890 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29891 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29892 wxUSE_DRAGIMAGE=no
29893 fi
29894 fi
29895
29896 if test "$wxUSE_MSW" = 1 ; then
29897 TOOLKIT=MSW
29898 GUIDIST=MSW_DIST
29899
29900 case "${host}" in
29901 *-*-mingw32* )
29902 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29903 esac
29904 fi
29905
29906 if test "$wxUSE_GTK" = 1; then
29907 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29908 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29909
29910 gtk_version_cached=1
29911 if test "${wx_cv_lib_gtk+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29913 else
29914
29915 gtk_version_cached=0
29916 { echo "$as_me:$LINENO: result: " >&5
29917 echo "${ECHO_T}" >&6; }
29918
29919 GTK_MODULES=
29920 if test "$wxUSE_THREADS" = "yes"; then
29921 GTK_MODULES=gthread
29922 fi
29923
29924 wx_cv_lib_gtk=
29925 if test "x$wxGTK_VERSION" != "x1"
29926 then
29927 case "${host}" in
29928 *-*-solaris2* )
29929 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29930 enable_gtktest=no
29931 fi
29932 esac
29933
29934 # Check whether --enable-gtktest was given.
29935 if test "${enable_gtktest+set}" = set; then
29936 enableval=$enable_gtktest;
29937 else
29938 enable_gtktest=yes
29939 fi
29940
29941
29942 pkg_config_args=gtk+-2.0
29943 for module in . $GTK_MODULES
29944 do
29945 case "$module" in
29946 gthread)
29947 pkg_config_args="$pkg_config_args gthread-2.0"
29948 ;;
29949 esac
29950 done
29951
29952 no_gtk=""
29953
29954 # Extract the first word of "pkg-config", so it can be a program name with args.
29955 set dummy pkg-config; ac_word=$2
29956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29958 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29959 echo $ECHO_N "(cached) $ECHO_C" >&6
29960 else
29961 case $PKG_CONFIG in
29962 [\\/]* | ?:[\\/]*)
29963 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29964 ;;
29965 *)
29966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29967 for as_dir in $PATH
29968 do
29969 IFS=$as_save_IFS
29970 test -z "$as_dir" && as_dir=.
29971 for ac_exec_ext in '' $ac_executable_extensions; do
29972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29973 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29975 break 2
29976 fi
29977 done
29978 done
29979 IFS=$as_save_IFS
29980
29981 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29982 ;;
29983 esac
29984 fi
29985 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29986 if test -n "$PKG_CONFIG"; then
29987 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29988 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29989 else
29990 { echo "$as_me:$LINENO: result: no" >&5
29991 echo "${ECHO_T}no" >&6; }
29992 fi
29993
29994
29995
29996 if test x$PKG_CONFIG != xno ; then
29997 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29998 :
29999 else
30000 echo "*** pkg-config too old; version 0.7 or better required."
30001 no_gtk=yes
30002 PKG_CONFIG=no
30003 fi
30004 else
30005 no_gtk=yes
30006 fi
30007
30008 min_gtk_version=2.4.0
30009 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30010 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30011
30012 if test x$PKG_CONFIG != xno ; then
30013 ## don't try to run the test against uninstalled libtool libs
30014 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30015 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30016 enable_gtktest=no
30017 fi
30018
30019 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30020 :
30021 else
30022 no_gtk=yes
30023 fi
30024 fi
30025
30026 if test x"$no_gtk" = x ; then
30027 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30028 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30029 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30031 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30033 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30035 if test "x$enable_gtktest" = "xyes" ; then
30036 ac_save_CFLAGS="$CFLAGS"
30037 ac_save_LIBS="$LIBS"
30038 CFLAGS="$CFLAGS $GTK_CFLAGS"
30039 LIBS="$GTK_LIBS $LIBS"
30040 rm -f conf.gtktest
30041 if test "$cross_compiling" = yes; then
30042 echo $ac_n "cross compiling; assumed OK... $ac_c"
30043 else
30044 cat >conftest.$ac_ext <<_ACEOF
30045 /* confdefs.h. */
30046 _ACEOF
30047 cat confdefs.h >>conftest.$ac_ext
30048 cat >>conftest.$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30050
30051 #include <gtk/gtk.h>
30052 #include <stdio.h>
30053 #include <stdlib.h>
30054
30055 int
30056 main ()
30057 {
30058 int major, minor, micro;
30059 char *tmp_version;
30060
30061 system ("touch conf.gtktest");
30062
30063 /* HP/UX 9 (%@#!) writes to sscanf strings */
30064 tmp_version = g_strdup("$min_gtk_version");
30065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30066 printf("%s, bad version string\n", "$min_gtk_version");
30067 exit(1);
30068 }
30069
30070 if ((gtk_major_version != $gtk_config_major_version) ||
30071 (gtk_minor_version != $gtk_config_minor_version) ||
30072 (gtk_micro_version != $gtk_config_micro_version))
30073 {
30074 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30076 gtk_major_version, gtk_minor_version, gtk_micro_version);
30077 printf ("*** was found! If pkg-config was correct, then it is best\n");
30078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30079 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30081 printf("*** required on your system.\n");
30082 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30083 printf("*** to point to the correct configuration files\n");
30084 }
30085 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30086 (gtk_minor_version != GTK_MINOR_VERSION) ||
30087 (gtk_micro_version != GTK_MICRO_VERSION))
30088 {
30089 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30090 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30091 printf("*** library (version %d.%d.%d)\n",
30092 gtk_major_version, gtk_minor_version, gtk_micro_version);
30093 }
30094 else
30095 {
30096 if ((gtk_major_version > major) ||
30097 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30098 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30099 {
30100 return 0;
30101 }
30102 else
30103 {
30104 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30105 gtk_major_version, gtk_minor_version, gtk_micro_version);
30106 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30107 major, minor, micro);
30108 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30109 printf("***\n");
30110 printf("*** If you have already installed a sufficiently new version, this error\n");
30111 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30112 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30113 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30114 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30115 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30116 printf("*** so that the correct libraries are found at run-time))\n");
30117 }
30118 }
30119 return 1;
30120 }
30121
30122 _ACEOF
30123 rm -f conftest$ac_exeext
30124 if { (ac_try="$ac_link"
30125 case "(($ac_try" in
30126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30127 *) ac_try_echo=$ac_try;;
30128 esac
30129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30130 (eval "$ac_link") 2>&5
30131 ac_status=$?
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30134 { (case "(($ac_try" in
30135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30136 *) ac_try_echo=$ac_try;;
30137 esac
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_try") 2>&5
30140 ac_status=$?
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; }; then
30143 :
30144 else
30145 echo "$as_me: program exited with status $ac_status" >&5
30146 echo "$as_me: failed program was:" >&5
30147 sed 's/^/| /' conftest.$ac_ext >&5
30148
30149 ( exit $ac_status )
30150 no_gtk=yes
30151 fi
30152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30153 fi
30154
30155
30156 CFLAGS="$ac_save_CFLAGS"
30157 LIBS="$ac_save_LIBS"
30158 fi
30159 fi
30160 if test "x$no_gtk" = x ; then
30161 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30162 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30163 wx_cv_lib_gtk=2.0
30164 else
30165 { echo "$as_me:$LINENO: result: no" >&5
30166 echo "${ECHO_T}no" >&6; }
30167 if test "$PKG_CONFIG" = "no" ; then
30168 echo "*** A new enough version of pkg-config was not found."
30169 echo "*** See http://pkgconfig.sourceforge.net"
30170 else
30171 if test -f conf.gtktest ; then
30172 :
30173 else
30174 echo "*** Could not run GTK+ test program, checking why..."
30175 ac_save_CFLAGS="$CFLAGS"
30176 ac_save_LIBS="$LIBS"
30177 CFLAGS="$CFLAGS $GTK_CFLAGS"
30178 LIBS="$LIBS $GTK_LIBS"
30179 cat >conftest.$ac_ext <<_ACEOF
30180 /* confdefs.h. */
30181 _ACEOF
30182 cat confdefs.h >>conftest.$ac_ext
30183 cat >>conftest.$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30185
30186 #include <gtk/gtk.h>
30187 #include <stdio.h>
30188
30189 int
30190 main ()
30191 {
30192 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30193 ;
30194 return 0;
30195 }
30196 _ACEOF
30197 rm -f conftest.$ac_objext conftest$ac_exeext
30198 if { (ac_try="$ac_link"
30199 case "(($ac_try" in
30200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30201 *) ac_try_echo=$ac_try;;
30202 esac
30203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30204 (eval "$ac_link") 2>conftest.er1
30205 ac_status=$?
30206 grep -v '^ *+' conftest.er1 >conftest.err
30207 rm -f conftest.er1
30208 cat conftest.err >&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); } && {
30211 test -z "$ac_c_werror_flag" ||
30212 test ! -s conftest.err
30213 } && test -s conftest$ac_exeext &&
30214 $as_test_x conftest$ac_exeext; then
30215 echo "*** The test program compiled, but did not run. This usually means"
30216 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30217 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30220 echo "*** is required on your system"
30221 echo "***"
30222 echo "*** If you have an old version installed, it is best to remove it, although"
30223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30224 else
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30227
30228 echo "*** The test program failed to compile or link. See the file config.log for the"
30229 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
30230 fi
30231
30232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30233 conftest$ac_exeext conftest.$ac_ext
30234 CFLAGS="$ac_save_CFLAGS"
30235 LIBS="$ac_save_LIBS"
30236 fi
30237 fi
30238 GTK_CFLAGS=""
30239 GTK_LIBS=""
30240 :
30241 fi
30242
30243
30244 rm -f conf.gtktest
30245
30246 fi
30247
30248 if test -z "$wx_cv_lib_gtk"; then
30249 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30250
30251 # Check whether --with-gtk-prefix was given.
30252 if test "${with_gtk_prefix+set}" = set; then
30253 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30254 else
30255 gtk_config_prefix=""
30256 fi
30257
30258
30259 # Check whether --with-gtk-exec-prefix was given.
30260 if test "${with_gtk_exec_prefix+set}" = set; then
30261 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30262 else
30263 gtk_config_exec_prefix=""
30264 fi
30265
30266 # Check whether --enable-gtktest was given.
30267 if test "${enable_gtktest+set}" = set; then
30268 enableval=$enable_gtktest;
30269 else
30270 enable_gtktest=yes
30271 fi
30272
30273
30274 for module in . $GTK_MODULES
30275 do
30276 case "$module" in
30277 gthread)
30278 gtk_config_args="$gtk_config_args gthread"
30279 ;;
30280 esac
30281 done
30282
30283 if test x$gtk_config_exec_prefix != x ; then
30284 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30285 if test x${GTK_CONFIG+set} != xset ; then
30286 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30287 fi
30288 fi
30289 if test x$gtk_config_prefix != x ; then
30290 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30291 if test x${GTK_CONFIG+set} != xset ; then
30292 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30293 fi
30294 fi
30295
30296 # Extract the first word of "gtk-config", so it can be a program name with args.
30297 set dummy gtk-config; ac_word=$2
30298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30300 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30302 else
30303 case $GTK_CONFIG in
30304 [\\/]* | ?:[\\/]*)
30305 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30306 ;;
30307 *)
30308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30309 for as_dir in $PATH
30310 do
30311 IFS=$as_save_IFS
30312 test -z "$as_dir" && as_dir=.
30313 for ac_exec_ext in '' $ac_executable_extensions; do
30314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30315 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30317 break 2
30318 fi
30319 done
30320 done
30321 IFS=$as_save_IFS
30322
30323 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30324 ;;
30325 esac
30326 fi
30327 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30328 if test -n "$GTK_CONFIG"; then
30329 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30330 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30331 else
30332 { echo "$as_me:$LINENO: result: no" >&5
30333 echo "${ECHO_T}no" >&6; }
30334 fi
30335
30336
30337 min_gtk_version=1.2.7
30338 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30339 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30340 no_gtk=""
30341 if test "$GTK_CONFIG" = "no" ; then
30342 no_gtk=yes
30343 else
30344 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30345 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30346 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30348 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30350 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30352 if test "x$enable_gtktest" = "xyes" ; then
30353 ac_save_CFLAGS="$CFLAGS"
30354 ac_save_LIBS="$LIBS"
30355 CFLAGS="$CFLAGS $GTK_CFLAGS"
30356 LIBS="$GTK_LIBS $LIBS"
30357 rm -f conf.gtktest
30358 if test "$cross_compiling" = yes; then
30359 echo $ac_n "cross compiling; assumed OK... $ac_c"
30360 else
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h. */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30367
30368 #include <gtk/gtk.h>
30369 #include <stdio.h>
30370 #include <stdlib.h>
30371
30372 int
30373 main ()
30374 {
30375 int major, minor, micro;
30376 char *tmp_version;
30377
30378 system ("touch conf.gtktest");
30379
30380 /* HP/UX 9 (%@#!) writes to sscanf strings */
30381 tmp_version = g_strdup("$min_gtk_version");
30382 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30383 printf("%s, bad version string\n", "$min_gtk_version");
30384 exit(1);
30385 }
30386
30387 if ((gtk_major_version != $gtk_config_major_version) ||
30388 (gtk_minor_version != $gtk_config_minor_version) ||
30389 (gtk_micro_version != $gtk_config_micro_version))
30390 {
30391 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30392 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30393 gtk_major_version, gtk_minor_version, gtk_micro_version);
30394 printf ("*** was found! If gtk-config was correct, then it is best\n");
30395 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30396 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30397 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30398 printf("*** required on your system.\n");
30399 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30400 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30401 printf("*** before re-running configure\n");
30402 }
30403 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30404 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30405 (gtk_minor_version != GTK_MINOR_VERSION) ||
30406 (gtk_micro_version != GTK_MICRO_VERSION))
30407 {
30408 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30409 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30410 printf("*** library (version %d.%d.%d)\n",
30411 gtk_major_version, gtk_minor_version, gtk_micro_version);
30412 }
30413 #endif /* defined (GTK_MAJOR_VERSION) ... */
30414 else
30415 {
30416 if ((gtk_major_version > major) ||
30417 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30418 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30419 {
30420 return 0;
30421 }
30422 else
30423 {
30424 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30425 gtk_major_version, gtk_minor_version, gtk_micro_version);
30426 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30427 major, minor, micro);
30428 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30429 printf("***\n");
30430 printf("*** If you have already installed a sufficiently new version, this error\n");
30431 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30432 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30433 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30434 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30435 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30436 printf("*** so that the correct libraries are found at run-time))\n");
30437 }
30438 }
30439 return 1;
30440 }
30441
30442 _ACEOF
30443 rm -f conftest$ac_exeext
30444 if { (ac_try="$ac_link"
30445 case "(($ac_try" in
30446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30447 *) ac_try_echo=$ac_try;;
30448 esac
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_link") 2>&5
30451 ac_status=$?
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30454 { (case "(($ac_try" in
30455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30456 *) ac_try_echo=$ac_try;;
30457 esac
30458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30459 (eval "$ac_try") 2>&5
30460 ac_status=$?
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; }; then
30463 :
30464 else
30465 echo "$as_me: program exited with status $ac_status" >&5
30466 echo "$as_me: failed program was:" >&5
30467 sed 's/^/| /' conftest.$ac_ext >&5
30468
30469 ( exit $ac_status )
30470 no_gtk=yes
30471 fi
30472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30473 fi
30474
30475
30476 CFLAGS="$ac_save_CFLAGS"
30477 LIBS="$ac_save_LIBS"
30478 fi
30479 fi
30480 if test "x$no_gtk" = x ; then
30481 { echo "$as_me:$LINENO: result: yes" >&5
30482 echo "${ECHO_T}yes" >&6; }
30483 wx_cv_lib_gtk=1.2.7
30484 else
30485 { echo "$as_me:$LINENO: result: no" >&5
30486 echo "${ECHO_T}no" >&6; }
30487 if test "$GTK_CONFIG" = "no" ; then
30488 echo "*** The gtk-config script installed by GTK could not be found"
30489 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30490 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30491 echo "*** full path to gtk-config."
30492 else
30493 if test -f conf.gtktest ; then
30494 :
30495 else
30496 echo "*** Could not run GTK test program, checking why..."
30497 CFLAGS="$CFLAGS $GTK_CFLAGS"
30498 LIBS="$LIBS $GTK_LIBS"
30499 cat >conftest.$ac_ext <<_ACEOF
30500 /* confdefs.h. */
30501 _ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30505
30506 #include <gtk/gtk.h>
30507 #include <stdio.h>
30508
30509 int
30510 main ()
30511 {
30512 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30513 ;
30514 return 0;
30515 }
30516 _ACEOF
30517 rm -f conftest.$ac_objext conftest$ac_exeext
30518 if { (ac_try="$ac_link"
30519 case "(($ac_try" in
30520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30521 *) ac_try_echo=$ac_try;;
30522 esac
30523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30524 (eval "$ac_link") 2>conftest.er1
30525 ac_status=$?
30526 grep -v '^ *+' conftest.er1 >conftest.err
30527 rm -f conftest.er1
30528 cat conftest.err >&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } && {
30531 test -z "$ac_c_werror_flag" ||
30532 test ! -s conftest.err
30533 } && test -s conftest$ac_exeext &&
30534 $as_test_x conftest$ac_exeext; then
30535 echo "*** The test program compiled, but did not run. This usually means"
30536 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30537 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30538 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30539 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30540 echo "*** is required on your system"
30541 echo "***"
30542 echo "*** If you have an old version installed, it is best to remove it, although"
30543 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30544 echo "***"
30545 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30546 echo "*** came with the system with the command"
30547 echo "***"
30548 echo "*** rpm --erase --nodeps gtk gtk-devel"
30549 else
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30552
30553 echo "*** The test program failed to compile or link. See the file config.log for the"
30554 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30555 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30556 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30557 fi
30558
30559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30560 conftest$ac_exeext conftest.$ac_ext
30561 CFLAGS="$ac_save_CFLAGS"
30562 LIBS="$ac_save_LIBS"
30563 fi
30564 fi
30565 GTK_CFLAGS=""
30566 GTK_LIBS=""
30567 :
30568 fi
30569
30570
30571 rm -f conf.gtktest
30572
30573
30574 if test -z "$wx_cv_lib_gtk"; then
30575
30576 # Check whether --with-gtk-prefix was given.
30577 if test "${with_gtk_prefix+set}" = set; then
30578 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30579 else
30580 gtk_config_prefix=""
30581 fi
30582
30583
30584 # Check whether --with-gtk-exec-prefix was given.
30585 if test "${with_gtk_exec_prefix+set}" = set; then
30586 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30587 else
30588 gtk_config_exec_prefix=""
30589 fi
30590
30591 # Check whether --enable-gtktest was given.
30592 if test "${enable_gtktest+set}" = set; then
30593 enableval=$enable_gtktest;
30594 else
30595 enable_gtktest=yes
30596 fi
30597
30598
30599 for module in . $GTK_MODULES
30600 do
30601 case "$module" in
30602 gthread)
30603 gtk_config_args="$gtk_config_args gthread"
30604 ;;
30605 esac
30606 done
30607
30608 if test x$gtk_config_exec_prefix != x ; then
30609 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30610 if test x${GTK_CONFIG+set} != xset ; then
30611 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30612 fi
30613 fi
30614 if test x$gtk_config_prefix != x ; then
30615 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30616 if test x${GTK_CONFIG+set} != xset ; then
30617 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30618 fi
30619 fi
30620
30621 # Extract the first word of "gtk-config", so it can be a program name with args.
30622 set dummy gtk-config; ac_word=$2
30623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30625 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 else
30628 case $GTK_CONFIG in
30629 [\\/]* | ?:[\\/]*)
30630 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30631 ;;
30632 *)
30633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30634 for as_dir in $PATH
30635 do
30636 IFS=$as_save_IFS
30637 test -z "$as_dir" && as_dir=.
30638 for ac_exec_ext in '' $ac_executable_extensions; do
30639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30640 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30642 break 2
30643 fi
30644 done
30645 done
30646 IFS=$as_save_IFS
30647
30648 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30649 ;;
30650 esac
30651 fi
30652 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30653 if test -n "$GTK_CONFIG"; then
30654 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30655 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30656 else
30657 { echo "$as_me:$LINENO: result: no" >&5
30658 echo "${ECHO_T}no" >&6; }
30659 fi
30660
30661
30662 min_gtk_version=1.2.3
30663 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30664 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30665 no_gtk=""
30666 if test "$GTK_CONFIG" = "no" ; then
30667 no_gtk=yes
30668 else
30669 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30670 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30671 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30673 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30675 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30677 if test "x$enable_gtktest" = "xyes" ; then
30678 ac_save_CFLAGS="$CFLAGS"
30679 ac_save_LIBS="$LIBS"
30680 CFLAGS="$CFLAGS $GTK_CFLAGS"
30681 LIBS="$GTK_LIBS $LIBS"
30682 rm -f conf.gtktest
30683 if test "$cross_compiling" = yes; then
30684 echo $ac_n "cross compiling; assumed OK... $ac_c"
30685 else
30686 cat >conftest.$ac_ext <<_ACEOF
30687 /* confdefs.h. */
30688 _ACEOF
30689 cat confdefs.h >>conftest.$ac_ext
30690 cat >>conftest.$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30692
30693 #include <gtk/gtk.h>
30694 #include <stdio.h>
30695 #include <stdlib.h>
30696
30697 int
30698 main ()
30699 {
30700 int major, minor, micro;
30701 char *tmp_version;
30702
30703 system ("touch conf.gtktest");
30704
30705 /* HP/UX 9 (%@#!) writes to sscanf strings */
30706 tmp_version = g_strdup("$min_gtk_version");
30707 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30708 printf("%s, bad version string\n", "$min_gtk_version");
30709 exit(1);
30710 }
30711
30712 if ((gtk_major_version != $gtk_config_major_version) ||
30713 (gtk_minor_version != $gtk_config_minor_version) ||
30714 (gtk_micro_version != $gtk_config_micro_version))
30715 {
30716 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30717 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30718 gtk_major_version, gtk_minor_version, gtk_micro_version);
30719 printf ("*** was found! If gtk-config was correct, then it is best\n");
30720 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30721 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30722 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30723 printf("*** required on your system.\n");
30724 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30725 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30726 printf("*** before re-running configure\n");
30727 }
30728 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30729 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30730 (gtk_minor_version != GTK_MINOR_VERSION) ||
30731 (gtk_micro_version != GTK_MICRO_VERSION))
30732 {
30733 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30734 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30735 printf("*** library (version %d.%d.%d)\n",
30736 gtk_major_version, gtk_minor_version, gtk_micro_version);
30737 }
30738 #endif /* defined (GTK_MAJOR_VERSION) ... */
30739 else
30740 {
30741 if ((gtk_major_version > major) ||
30742 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30743 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30744 {
30745 return 0;
30746 }
30747 else
30748 {
30749 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30750 gtk_major_version, gtk_minor_version, gtk_micro_version);
30751 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30752 major, minor, micro);
30753 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30754 printf("***\n");
30755 printf("*** If you have already installed a sufficiently new version, this error\n");
30756 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30757 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30758 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30759 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30760 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30761 printf("*** so that the correct libraries are found at run-time))\n");
30762 }
30763 }
30764 return 1;
30765 }
30766
30767 _ACEOF
30768 rm -f conftest$ac_exeext
30769 if { (ac_try="$ac_link"
30770 case "(($ac_try" in
30771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30772 *) ac_try_echo=$ac_try;;
30773 esac
30774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30775 (eval "$ac_link") 2>&5
30776 ac_status=$?
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30779 { (case "(($ac_try" in
30780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30781 *) ac_try_echo=$ac_try;;
30782 esac
30783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 (eval "$ac_try") 2>&5
30785 ac_status=$?
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; }; then
30788 :
30789 else
30790 echo "$as_me: program exited with status $ac_status" >&5
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794 ( exit $ac_status )
30795 no_gtk=yes
30796 fi
30797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30798 fi
30799
30800
30801 CFLAGS="$ac_save_CFLAGS"
30802 LIBS="$ac_save_LIBS"
30803 fi
30804 fi
30805 if test "x$no_gtk" = x ; then
30806 { echo "$as_me:$LINENO: result: yes" >&5
30807 echo "${ECHO_T}yes" >&6; }
30808 wx_cv_lib_gtk=1.2.3
30809 else
30810 { echo "$as_me:$LINENO: result: no" >&5
30811 echo "${ECHO_T}no" >&6; }
30812 if test "$GTK_CONFIG" = "no" ; then
30813 echo "*** The gtk-config script installed by GTK could not be found"
30814 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30815 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30816 echo "*** full path to gtk-config."
30817 else
30818 if test -f conf.gtktest ; then
30819 :
30820 else
30821 echo "*** Could not run GTK test program, checking why..."
30822 CFLAGS="$CFLAGS $GTK_CFLAGS"
30823 LIBS="$LIBS $GTK_LIBS"
30824 cat >conftest.$ac_ext <<_ACEOF
30825 /* confdefs.h. */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30830
30831 #include <gtk/gtk.h>
30832 #include <stdio.h>
30833
30834 int
30835 main ()
30836 {
30837 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30838 ;
30839 return 0;
30840 }
30841 _ACEOF
30842 rm -f conftest.$ac_objext conftest$ac_exeext
30843 if { (ac_try="$ac_link"
30844 case "(($ac_try" in
30845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30846 *) ac_try_echo=$ac_try;;
30847 esac
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_link") 2>conftest.er1
30850 ac_status=$?
30851 grep -v '^ *+' conftest.er1 >conftest.err
30852 rm -f conftest.er1
30853 cat conftest.err >&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && {
30856 test -z "$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30858 } && test -s conftest$ac_exeext &&
30859 $as_test_x conftest$ac_exeext; then
30860 echo "*** The test program compiled, but did not run. This usually means"
30861 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30862 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30863 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30864 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30865 echo "*** is required on your system"
30866 echo "***"
30867 echo "*** If you have an old version installed, it is best to remove it, although"
30868 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30869 echo "***"
30870 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30871 echo "*** came with the system with the command"
30872 echo "***"
30873 echo "*** rpm --erase --nodeps gtk gtk-devel"
30874 else
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.$ac_ext >&5
30877
30878 echo "*** The test program failed to compile or link. See the file config.log for the"
30879 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30880 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30881 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30882 fi
30883
30884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30885 conftest$ac_exeext conftest.$ac_ext
30886 CFLAGS="$ac_save_CFLAGS"
30887 LIBS="$ac_save_LIBS"
30888 fi
30889 fi
30890 GTK_CFLAGS=""
30891 GTK_LIBS=""
30892 :
30893 fi
30894
30895
30896 rm -f conf.gtktest
30897
30898 fi
30899 fi
30900 fi
30901
30902 if test -z "$wx_cv_lib_gtk"; then
30903 wx_cv_lib_gtk=none
30904 else
30905 GTK_LIBS="$GTK_LIBS -lX11"
30906
30907 wx_cv_cflags_gtk=$GTK_CFLAGS
30908 wx_cv_libs_gtk=$GTK_LIBS
30909 fi
30910
30911
30912 fi
30913
30914
30915 if test "$gtk_version_cached" = 1; then
30916 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30917 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30918 fi
30919
30920 case "$wx_cv_lib_gtk" in
30921 2.0) WXGTK2=1
30922 TOOLKIT_VERSION=2
30923 ;;
30924 1.2.7) WXGTK127=1
30925 ;;
30926 1.2*) ;;
30927 *) { { echo "$as_me:$LINENO: error:
30928 The development files for GTK+ were not found. For GTK+ 2, please
30929 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30930 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30931 and that the version is 1.2.3 or above. Also check that the
30932 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30933 --libs' are in the LD_LIBRARY_PATH or equivalent.
30934 " >&5
30935 echo "$as_me: error:
30936 The development files for GTK+ were not found. For GTK+ 2, please
30937 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30938 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30939 and that the version is 1.2.3 or above. Also check that the
30940 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30941 --libs' are in the LD_LIBRARY_PATH or equivalent.
30942 " >&2;}
30943 { (exit 1); exit 1; }; }
30944 ;;
30945 esac
30946
30947 if test "$WXGTK2" = 1; then
30948 save_CFLAGS="$CFLAGS"
30949 save_LIBS="$LIBS"
30950 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30951 LIBS="$LIBS $wx_cv_libs_gtk"
30952
30953 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30954 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30955 cat >conftest.$ac_ext <<_ACEOF
30956 /* confdefs.h. */
30957 _ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30961
30962 #include <gtk/gtk.h>
30963
30964 int
30965 main ()
30966 {
30967
30968 #if !GTK_CHECK_VERSION(2,18,0)
30969 Not GTK+ 2.18
30970 #endif
30971
30972 ;
30973 return 0;
30974 }
30975 _ACEOF
30976 rm -f conftest.$ac_objext
30977 if { (ac_try="$ac_compile"
30978 case "(($ac_try" in
30979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30980 *) ac_try_echo=$ac_try;;
30981 esac
30982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30983 (eval "$ac_compile") 2>conftest.er1
30984 ac_status=$?
30985 grep -v '^ *+' conftest.er1 >conftest.err
30986 rm -f conftest.er1
30987 cat conftest.err >&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } && {
30990 test -z "$ac_c_werror_flag" ||
30991 test ! -s conftest.err
30992 } && test -s conftest.$ac_objext; then
30993
30994 cat >>confdefs.h <<\_ACEOF
30995 #define __WXGTK218__ 1
30996 _ACEOF
30997
30998 cat >>confdefs.h <<\_ACEOF
30999 #define __WXGTK210__ 1
31000 _ACEOF
31001
31002 cat >>confdefs.h <<\_ACEOF
31003 #define __WXGTK26__ 1
31004 _ACEOF
31005
31006 { echo "$as_me:$LINENO: result: yes" >&5
31007 echo "${ECHO_T}yes" >&6; }
31008 ac_wxgtk218=1
31009
31010 else
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.$ac_ext >&5
31013
31014
31015 { echo "$as_me:$LINENO: result: no" >&5
31016 echo "${ECHO_T}no" >&6; }
31017 ac_wxgtk218=0
31018
31019 fi
31020
31021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31022
31023 if test "$ac_wxgtk218" = 0; then
31024 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31025 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31026 cat >conftest.$ac_ext <<_ACEOF
31027 /* confdefs.h. */
31028 _ACEOF
31029 cat confdefs.h >>conftest.$ac_ext
31030 cat >>conftest.$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31032
31033 #include <gtk/gtk.h>
31034
31035 int
31036 main ()
31037 {
31038
31039 #if !GTK_CHECK_VERSION(2,10,0)
31040 Not GTK+ 2.10
31041 #endif
31042
31043 ;
31044 return 0;
31045 }
31046 _ACEOF
31047 rm -f conftest.$ac_objext
31048 if { (ac_try="$ac_compile"
31049 case "(($ac_try" in
31050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31051 *) ac_try_echo=$ac_try;;
31052 esac
31053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31054 (eval "$ac_compile") 2>conftest.er1
31055 ac_status=$?
31056 grep -v '^ *+' conftest.er1 >conftest.err
31057 rm -f conftest.er1
31058 cat conftest.err >&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } && {
31061 test -z "$ac_c_werror_flag" ||
31062 test ! -s conftest.err
31063 } && test -s conftest.$ac_objext; then
31064
31065 cat >>confdefs.h <<\_ACEOF
31066 #define __WXGTK210__ 1
31067 _ACEOF
31068
31069 cat >>confdefs.h <<\_ACEOF
31070 #define __WXGTK26__ 1
31071 _ACEOF
31072
31073 { echo "$as_me:$LINENO: result: yes" >&5
31074 echo "${ECHO_T}yes" >&6; }
31075 ac_wxgtk210=1
31076
31077 else
31078 echo "$as_me: failed program was:" >&5
31079 sed 's/^/| /' conftest.$ac_ext >&5
31080
31081
31082 { echo "$as_me:$LINENO: result: no" >&5
31083 echo "${ECHO_T}no" >&6; }
31084 ac_wxgtk210=0
31085
31086 fi
31087
31088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31089
31090 if test "$ac_wxgtk210" = 0; then
31091 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31092 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31093 cat >conftest.$ac_ext <<_ACEOF
31094 /* confdefs.h. */
31095 _ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31099
31100 #include <gtk/gtk.h>
31101
31102 int
31103 main ()
31104 {
31105
31106 #if !GTK_CHECK_VERSION(2,6,0)
31107 Not GTK+ 2.6
31108 #endif
31109
31110 ;
31111 return 0;
31112 }
31113 _ACEOF
31114 rm -f conftest.$ac_objext
31115 if { (ac_try="$ac_compile"
31116 case "(($ac_try" in
31117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31118 *) ac_try_echo=$ac_try;;
31119 esac
31120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31121 (eval "$ac_compile") 2>conftest.er1
31122 ac_status=$?
31123 grep -v '^ *+' conftest.er1 >conftest.err
31124 rm -f conftest.er1
31125 cat conftest.err >&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); } && {
31128 test -z "$ac_c_werror_flag" ||
31129 test ! -s conftest.err
31130 } && test -s conftest.$ac_objext; then
31131
31132 cat >>confdefs.h <<\_ACEOF
31133 #define __WXGTK26__ 1
31134 _ACEOF
31135
31136 { echo "$as_me:$LINENO: result: yes" >&5
31137 echo "${ECHO_T}yes" >&6; }
31138 ac_wxgtk26=1
31139
31140 else
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31143
31144
31145 { echo "$as_me:$LINENO: result: no" >&5
31146 echo "${ECHO_T}no" >&6; }
31147 ac_wxgtk26=0
31148
31149 fi
31150
31151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31152 fi
31153 fi
31154
31155 CFLAGS="$save_CFLAGS"
31156 LIBS="$save_LIBS"
31157 else
31158 if test "$wxUSE_UNICODE" = "yes"; then
31159 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31160 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31161 wxUSE_UNICODE=no
31162 fi
31163
31164 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31165 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31166 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31168 else
31169 ac_check_lib_save_LIBS=$LIBS
31170 LIBS="-lgdk $LIBS"
31171 cat >conftest.$ac_ext <<_ACEOF
31172 /* confdefs.h. */
31173 _ACEOF
31174 cat confdefs.h >>conftest.$ac_ext
31175 cat >>conftest.$ac_ext <<_ACEOF
31176 /* end confdefs.h. */
31177
31178 /* Override any GCC internal prototype to avoid an error.
31179 Use char because int might match the return type of a GCC
31180 builtin and then its argument prototype would still apply. */
31181 #ifdef __cplusplus
31182 extern "C"
31183 #endif
31184 char gdk_im_open ();
31185 int
31186 main ()
31187 {
31188 return gdk_im_open ();
31189 ;
31190 return 0;
31191 }
31192 _ACEOF
31193 rm -f conftest.$ac_objext conftest$ac_exeext
31194 if { (ac_try="$ac_link"
31195 case "(($ac_try" in
31196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31197 *) ac_try_echo=$ac_try;;
31198 esac
31199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200 (eval "$ac_link") 2>conftest.er1
31201 ac_status=$?
31202 grep -v '^ *+' conftest.er1 >conftest.err
31203 rm -f conftest.er1
31204 cat conftest.err >&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); } && {
31207 test -z "$ac_c_werror_flag" ||
31208 test ! -s conftest.err
31209 } && test -s conftest$ac_exeext &&
31210 $as_test_x conftest$ac_exeext; then
31211 ac_cv_lib_gdk_gdk_im_open=yes
31212 else
31213 echo "$as_me: failed program was:" >&5
31214 sed 's/^/| /' conftest.$ac_ext >&5
31215
31216 ac_cv_lib_gdk_gdk_im_open=no
31217 fi
31218
31219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31220 conftest$ac_exeext conftest.$ac_ext
31221 LIBS=$ac_check_lib_save_LIBS
31222 fi
31223 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31224 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31225 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31226 cat >>confdefs.h <<\_ACEOF
31227 #define HAVE_XIM 1
31228 _ACEOF
31229
31230 fi
31231
31232
31233 if test "$USE_DARWIN" != 1; then
31234
31235 for ac_func in poll
31236 do
31237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31238 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31240 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31242 else
31243 cat >conftest.$ac_ext <<_ACEOF
31244 /* confdefs.h. */
31245 _ACEOF
31246 cat confdefs.h >>conftest.$ac_ext
31247 cat >>conftest.$ac_ext <<_ACEOF
31248 /* end confdefs.h. */
31249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31251 #define $ac_func innocuous_$ac_func
31252
31253 /* System header to define __stub macros and hopefully few prototypes,
31254 which can conflict with char $ac_func (); below.
31255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31256 <limits.h> exists even on freestanding compilers. */
31257
31258 #ifdef __STDC__
31259 # include <limits.h>
31260 #else
31261 # include <assert.h>
31262 #endif
31263
31264 #undef $ac_func
31265
31266 /* Override any GCC internal prototype to avoid an error.
31267 Use char because int might match the return type of a GCC
31268 builtin and then its argument prototype would still apply. */
31269 #ifdef __cplusplus
31270 extern "C"
31271 #endif
31272 char $ac_func ();
31273 /* The GNU C library defines this for functions which it implements
31274 to always fail with ENOSYS. Some functions are actually named
31275 something starting with __ and the normal name is an alias. */
31276 #if defined __stub_$ac_func || defined __stub___$ac_func
31277 choke me
31278 #endif
31279
31280 int
31281 main ()
31282 {
31283 return $ac_func ();
31284 ;
31285 return 0;
31286 }
31287 _ACEOF
31288 rm -f conftest.$ac_objext conftest$ac_exeext
31289 if { (ac_try="$ac_link"
31290 case "(($ac_try" in
31291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31292 *) ac_try_echo=$ac_try;;
31293 esac
31294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31295 (eval "$ac_link") 2>conftest.er1
31296 ac_status=$?
31297 grep -v '^ *+' conftest.er1 >conftest.err
31298 rm -f conftest.er1
31299 cat conftest.err >&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); } && {
31302 test -z "$ac_c_werror_flag" ||
31303 test ! -s conftest.err
31304 } && test -s conftest$ac_exeext &&
31305 $as_test_x conftest$ac_exeext; then
31306 eval "$as_ac_var=yes"
31307 else
31308 echo "$as_me: failed program was:" >&5
31309 sed 's/^/| /' conftest.$ac_ext >&5
31310
31311 eval "$as_ac_var=no"
31312 fi
31313
31314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31315 conftest$ac_exeext conftest.$ac_ext
31316 fi
31317 ac_res=`eval echo '${'$as_ac_var'}'`
31318 { echo "$as_me:$LINENO: result: $ac_res" >&5
31319 echo "${ECHO_T}$ac_res" >&6; }
31320 if test `eval echo '${'$as_ac_var'}'` = yes; then
31321 cat >>confdefs.h <<_ACEOF
31322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31323 _ACEOF
31324
31325 fi
31326 done
31327
31328 fi
31329 fi
31330
31331 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31332 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31333 AFMINSTALL=afminstall
31334 TOOLKIT=GTK
31335 GUIDIST=GTK_DIST
31336
31337 if test "$wxUSE_GPE" = "yes"; then
31338 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31339 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31340
31341 ac_find_libraries=
31342 for ac_dir in $SEARCH_LIB
31343 do
31344 for ac_extension in a so sl dylib dll.a; do
31345 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31346 ac_find_libraries=$ac_dir
31347 break 2
31348 fi
31349 done
31350 done
31351
31352 if test "$ac_find_libraries" != "" ; then
31353
31354 if test "$ac_find_libraries" = "default location"; then
31355 ac_path_to_link=""
31356 else
31357 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31358 result=$?
31359 if test $result = 0; then
31360 ac_path_to_link=""
31361 else
31362 ac_path_to_link=" -L$ac_find_libraries"
31363 fi
31364 fi
31365
31366 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31367 WXGPE=1
31368 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31369 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31370 else
31371 { echo "$as_me:$LINENO: result: not found" >&5
31372 echo "${ECHO_T}not found" >&6; }
31373 fi
31374
31375 fi
31376 fi
31377
31378 if test "$wxUSE_DFB" = 1; then
31379
31380
31381 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31382 if test -n "$ac_tool_prefix"; then
31383 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31384 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31387 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31388 echo $ECHO_N "(cached) $ECHO_C" >&6
31389 else
31390 case $PKG_CONFIG in
31391 [\\/]* | ?:[\\/]*)
31392 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31393 ;;
31394 *)
31395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31396 for as_dir in $PATH
31397 do
31398 IFS=$as_save_IFS
31399 test -z "$as_dir" && as_dir=.
31400 for ac_exec_ext in '' $ac_executable_extensions; do
31401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31402 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31404 break 2
31405 fi
31406 done
31407 done
31408 IFS=$as_save_IFS
31409
31410 ;;
31411 esac
31412 fi
31413 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31414 if test -n "$PKG_CONFIG"; then
31415 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31416 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31417 else
31418 { echo "$as_me:$LINENO: result: no" >&5
31419 echo "${ECHO_T}no" >&6; }
31420 fi
31421
31422
31423 fi
31424 if test -z "$ac_cv_path_PKG_CONFIG"; then
31425 ac_pt_PKG_CONFIG=$PKG_CONFIG
31426 # Extract the first word of "pkg-config", so it can be a program name with args.
31427 set dummy pkg-config; ac_word=$2
31428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31430 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31431 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 else
31433 case $ac_pt_PKG_CONFIG in
31434 [\\/]* | ?:[\\/]*)
31435 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31436 ;;
31437 *)
31438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31439 for as_dir in $PATH
31440 do
31441 IFS=$as_save_IFS
31442 test -z "$as_dir" && as_dir=.
31443 for ac_exec_ext in '' $ac_executable_extensions; do
31444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31445 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31447 break 2
31448 fi
31449 done
31450 done
31451 IFS=$as_save_IFS
31452
31453 ;;
31454 esac
31455 fi
31456 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31457 if test -n "$ac_pt_PKG_CONFIG"; then
31458 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31459 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31460 else
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31463 fi
31464
31465 if test "x$ac_pt_PKG_CONFIG" = x; then
31466 PKG_CONFIG=""
31467 else
31468 case $cross_compiling:$ac_tool_warned in
31469 yes:)
31470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31471 whose name does not start with the host triplet. If you think this
31472 configuration is useful to you, please write to autoconf@gnu.org." >&5
31473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31474 whose name does not start with the host triplet. If you think this
31475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31476 ac_tool_warned=yes ;;
31477 esac
31478 PKG_CONFIG=$ac_pt_PKG_CONFIG
31479 fi
31480 else
31481 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31482 fi
31483
31484 fi
31485 if test -n "$PKG_CONFIG"; then
31486 _pkg_min_version=0.9.0
31487 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31488 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31489 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31490 { echo "$as_me:$LINENO: result: yes" >&5
31491 echo "${ECHO_T}yes" >&6; }
31492 else
31493 { echo "$as_me:$LINENO: result: no" >&5
31494 echo "${ECHO_T}no" >&6; }
31495 PKG_CONFIG=""
31496 fi
31497
31498 fi
31499
31500
31501 pkg_failed=no
31502 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31503 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31504
31505 if test -n "$PKG_CONFIG"; then
31506 if test -n "$DIRECTFB_CFLAGS"; then
31507 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31508 else
31509 if test -n "$PKG_CONFIG" && \
31510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31511 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31512 ac_status=$?
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; then
31515 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31516 else
31517 pkg_failed=yes
31518 fi
31519 fi
31520 else
31521 pkg_failed=untried
31522 fi
31523 if test -n "$PKG_CONFIG"; then
31524 if test -n "$DIRECTFB_LIBS"; then
31525 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31526 else
31527 if test -n "$PKG_CONFIG" && \
31528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31529 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31530 ac_status=$?
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; then
31533 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31534 else
31535 pkg_failed=yes
31536 fi
31537 fi
31538 else
31539 pkg_failed=untried
31540 fi
31541
31542
31543
31544 if test $pkg_failed = yes; then
31545
31546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31547 _pkg_short_errors_supported=yes
31548 else
31549 _pkg_short_errors_supported=no
31550 fi
31551 if test $_pkg_short_errors_supported = yes; then
31552 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31553 else
31554 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31555 fi
31556 # Put the nasty error message in config.log where it belongs
31557 echo "$DIRECTFB_PKG_ERRORS" >&5
31558
31559
31560 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31561 echo "$as_me: error: DirectFB not found." >&2;}
31562 { (exit 1); exit 1; }; }
31563
31564
31565 elif test $pkg_failed = untried; then
31566
31567 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31568 echo "$as_me: error: DirectFB not found." >&2;}
31569 { (exit 1); exit 1; }; }
31570
31571
31572 else
31573 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31574 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31575 { echo "$as_me:$LINENO: result: yes" >&5
31576 echo "${ECHO_T}yes" >&6; }
31577
31578 wxUSE_UNIVERSAL="yes"
31579 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31580 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31581 TOOLKIT=DFB
31582 GUIDIST=DFB_DIST
31583
31584 fi
31585 fi
31586
31587 if test "$wxUSE_MICROWIN" = 1; then
31588 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31589 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31590 if test "x$MICROWINDOWS" = x ; then
31591 { echo "$as_me:$LINENO: result: not found" >&5
31592 echo "${ECHO_T}not found" >&6; }
31593 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31594 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31595 { (exit 1); exit 1; }; }
31596 else
31597 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31598 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31599 fi
31600
31601 if test -f $MICROWINDOWS/lib/libmwin.a; then
31602 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31603 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31604 else
31605 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31606 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31607 { (exit 1); exit 1; }; }
31608 fi
31609
31610 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31611 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31612
31613 wxUSE_UNIVERSAL="yes"
31614
31615 AFMINSTALL=afminstall
31616 TOOLKIT=MICROWIN
31617 GUIDIST=MICROWIN_DIST
31618
31619 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31620 fi
31621
31622 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31623 { echo "$as_me:$LINENO: checking for X" >&5
31624 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31625
31626
31627 # Check whether --with-x was given.
31628 if test "${with_x+set}" = set; then
31629 withval=$with_x;
31630 fi
31631
31632 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31633 if test "x$with_x" = xno; then
31634 # The user explicitly disabled X.
31635 have_x=disabled
31636 else
31637 case $x_includes,$x_libraries in #(
31638 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31639 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31640 { (exit 1); exit 1; }; };; #(
31641 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31642 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 else
31644 # One or both of the vars are not set, and there is no cached value.
31645 ac_x_includes=no ac_x_libraries=no
31646 rm -f -r conftest.dir
31647 if mkdir conftest.dir; then
31648 cd conftest.dir
31649 cat >Imakefile <<'_ACEOF'
31650 incroot:
31651 @echo incroot='${INCROOT}'
31652 usrlibdir:
31653 @echo usrlibdir='${USRLIBDIR}'
31654 libdir:
31655 @echo libdir='${LIBDIR}'
31656 _ACEOF
31657 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31658 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31659 for ac_var in incroot usrlibdir libdir; do
31660 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31661 done
31662 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31663 for ac_extension in a so sl; do
31664 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31665 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31666 ac_im_usrlibdir=$ac_im_libdir; break
31667 fi
31668 done
31669 # Screen out bogus values from the imake configuration. They are
31670 # bogus both because they are the default anyway, and because
31671 # using them would break gcc on systems where it needs fixed includes.
31672 case $ac_im_incroot in
31673 /usr/include) ac_x_includes= ;;
31674 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31675 esac
31676 case $ac_im_usrlibdir in
31677 /usr/lib | /lib) ;;
31678 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31679 esac
31680 fi
31681 cd ..
31682 rm -f -r conftest.dir
31683 fi
31684
31685 # Standard set of common directories for X headers.
31686 # Check X11 before X11Rn because it is often a symlink to the current release.
31687 ac_x_header_dirs='
31688 /usr/X11/include
31689 /usr/X11R6/include
31690 /usr/X11R5/include
31691 /usr/X11R4/include
31692
31693 /usr/include/X11
31694 /usr/include/X11R6
31695 /usr/include/X11R5
31696 /usr/include/X11R4
31697
31698 /usr/local/X11/include
31699 /usr/local/X11R6/include
31700 /usr/local/X11R5/include
31701 /usr/local/X11R4/include
31702
31703 /usr/local/include/X11
31704 /usr/local/include/X11R6
31705 /usr/local/include/X11R5
31706 /usr/local/include/X11R4
31707
31708 /usr/X386/include
31709 /usr/x386/include
31710 /usr/XFree86/include/X11
31711
31712 /usr/include
31713 /usr/local/include
31714 /usr/unsupported/include
31715 /usr/athena/include
31716 /usr/local/x11r5/include
31717 /usr/lpp/Xamples/include
31718
31719 /usr/openwin/include
31720 /usr/openwin/share/include'
31721
31722 if test "$ac_x_includes" = no; then
31723 # Guess where to find include files, by looking for Xlib.h.
31724 # First, try using that file with no special directory specified.
31725 cat >conftest.$ac_ext <<_ACEOF
31726 /* confdefs.h. */
31727 _ACEOF
31728 cat confdefs.h >>conftest.$ac_ext
31729 cat >>conftest.$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31731 #include <X11/Xlib.h>
31732 _ACEOF
31733 if { (ac_try="$ac_cpp conftest.$ac_ext"
31734 case "(($ac_try" in
31735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31736 *) ac_try_echo=$ac_try;;
31737 esac
31738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31740 ac_status=$?
31741 grep -v '^ *+' conftest.er1 >conftest.err
31742 rm -f conftest.er1
31743 cat conftest.err >&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); } >/dev/null && {
31746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31747 test ! -s conftest.err
31748 }; then
31749 # We can compile using X headers with no special include directory.
31750 ac_x_includes=
31751 else
31752 echo "$as_me: failed program was:" >&5
31753 sed 's/^/| /' conftest.$ac_ext >&5
31754
31755 for ac_dir in $ac_x_header_dirs; do
31756 if test -r "$ac_dir/X11/Xlib.h"; then
31757 ac_x_includes=$ac_dir
31758 break
31759 fi
31760 done
31761 fi
31762
31763 rm -f conftest.err conftest.$ac_ext
31764 fi # $ac_x_includes = no
31765
31766 if test "$ac_x_libraries" = no; then
31767 # Check for the libraries.
31768 # See if we find them without any special options.
31769 # Don't add to $LIBS permanently.
31770 ac_save_LIBS=$LIBS
31771 LIBS="-lX11 $LIBS"
31772 cat >conftest.$ac_ext <<_ACEOF
31773 /* confdefs.h. */
31774 _ACEOF
31775 cat confdefs.h >>conftest.$ac_ext
31776 cat >>conftest.$ac_ext <<_ACEOF
31777 /* end confdefs.h. */
31778 #include <X11/Xlib.h>
31779 int
31780 main ()
31781 {
31782 XrmInitialize ()
31783 ;
31784 return 0;
31785 }
31786 _ACEOF
31787 rm -f conftest.$ac_objext conftest$ac_exeext
31788 if { (ac_try="$ac_link"
31789 case "(($ac_try" in
31790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31791 *) ac_try_echo=$ac_try;;
31792 esac
31793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31794 (eval "$ac_link") 2>conftest.er1
31795 ac_status=$?
31796 grep -v '^ *+' conftest.er1 >conftest.err
31797 rm -f conftest.er1
31798 cat conftest.err >&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); } && {
31801 test -z "$ac_c_werror_flag" ||
31802 test ! -s conftest.err
31803 } && test -s conftest$ac_exeext &&
31804 $as_test_x conftest$ac_exeext; then
31805 LIBS=$ac_save_LIBS
31806 # We can link X programs with no special library path.
31807 ac_x_libraries=
31808 else
31809 echo "$as_me: failed program was:" >&5
31810 sed 's/^/| /' conftest.$ac_ext >&5
31811
31812 LIBS=$ac_save_LIBS
31813 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31814 do
31815 # Don't even attempt the hair of trying to link an X program!
31816 for ac_extension in a so sl; do
31817 if test -r "$ac_dir/libX11.$ac_extension"; then
31818 ac_x_libraries=$ac_dir
31819 break 2
31820 fi
31821 done
31822 done
31823 fi
31824
31825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31826 conftest$ac_exeext conftest.$ac_ext
31827 fi # $ac_x_libraries = no
31828
31829 case $ac_x_includes,$ac_x_libraries in #(
31830 no,* | *,no | *\'*)
31831 # Didn't find X, or a directory has "'" in its name.
31832 ac_cv_have_x="have_x=no";; #(
31833 *)
31834 # Record where we found X for the cache.
31835 ac_cv_have_x="have_x=yes\
31836 ac_x_includes='$ac_x_includes'\
31837 ac_x_libraries='$ac_x_libraries'"
31838 esac
31839 fi
31840 ;; #(
31841 *) have_x=yes;;
31842 esac
31843 eval "$ac_cv_have_x"
31844 fi # $with_x != no
31845
31846 if test "$have_x" != yes; then
31847 { echo "$as_me:$LINENO: result: $have_x" >&5
31848 echo "${ECHO_T}$have_x" >&6; }
31849 no_x=yes
31850 else
31851 # If each of the values was on the command line, it overrides each guess.
31852 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31853 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31854 # Update the cache value to reflect the command line values.
31855 ac_cv_have_x="have_x=yes\
31856 ac_x_includes='$x_includes'\
31857 ac_x_libraries='$x_libraries'"
31858 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31859 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31860 fi
31861
31862 if test "$no_x" = yes; then
31863 # Not all programs may use this symbol, but it does not hurt to define it.
31864
31865 cat >>confdefs.h <<\_ACEOF
31866 #define X_DISPLAY_MISSING 1
31867 _ACEOF
31868
31869 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31870 else
31871 if test -n "$x_includes"; then
31872 X_CFLAGS="$X_CFLAGS -I$x_includes"
31873 fi
31874
31875 # It would also be nice to do this for all -L options, not just this one.
31876 if test -n "$x_libraries"; then
31877 X_LIBS="$X_LIBS -L$x_libraries"
31878 # For Solaris; some versions of Sun CC require a space after -R and
31879 # others require no space. Words are not sufficient . . . .
31880 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31881 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31882 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31883 ac_xsave_c_werror_flag=$ac_c_werror_flag
31884 ac_c_werror_flag=yes
31885 cat >conftest.$ac_ext <<_ACEOF
31886 /* confdefs.h. */
31887 _ACEOF
31888 cat confdefs.h >>conftest.$ac_ext
31889 cat >>conftest.$ac_ext <<_ACEOF
31890 /* end confdefs.h. */
31891
31892 int
31893 main ()
31894 {
31895
31896 ;
31897 return 0;
31898 }
31899 _ACEOF
31900 rm -f conftest.$ac_objext conftest$ac_exeext
31901 if { (ac_try="$ac_link"
31902 case "(($ac_try" in
31903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31904 *) ac_try_echo=$ac_try;;
31905 esac
31906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31907 (eval "$ac_link") 2>conftest.er1
31908 ac_status=$?
31909 grep -v '^ *+' conftest.er1 >conftest.err
31910 rm -f conftest.er1
31911 cat conftest.err >&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } && {
31914 test -z "$ac_c_werror_flag" ||
31915 test ! -s conftest.err
31916 } && test -s conftest$ac_exeext &&
31917 $as_test_x conftest$ac_exeext; then
31918 { echo "$as_me:$LINENO: result: no" >&5
31919 echo "${ECHO_T}no" >&6; }
31920 X_LIBS="$X_LIBS -R$x_libraries"
31921 else
31922 echo "$as_me: failed program was:" >&5
31923 sed 's/^/| /' conftest.$ac_ext >&5
31924
31925 LIBS="$ac_xsave_LIBS -R $x_libraries"
31926 cat >conftest.$ac_ext <<_ACEOF
31927 /* confdefs.h. */
31928 _ACEOF
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31932
31933 int
31934 main ()
31935 {
31936
31937 ;
31938 return 0;
31939 }
31940 _ACEOF
31941 rm -f conftest.$ac_objext conftest$ac_exeext
31942 if { (ac_try="$ac_link"
31943 case "(($ac_try" in
31944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31945 *) ac_try_echo=$ac_try;;
31946 esac
31947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31948 (eval "$ac_link") 2>conftest.er1
31949 ac_status=$?
31950 grep -v '^ *+' conftest.er1 >conftest.err
31951 rm -f conftest.er1
31952 cat conftest.err >&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); } && {
31955 test -z "$ac_c_werror_flag" ||
31956 test ! -s conftest.err
31957 } && test -s conftest$ac_exeext &&
31958 $as_test_x conftest$ac_exeext; then
31959 { echo "$as_me:$LINENO: result: yes" >&5
31960 echo "${ECHO_T}yes" >&6; }
31961 X_LIBS="$X_LIBS -R $x_libraries"
31962 else
31963 echo "$as_me: failed program was:" >&5
31964 sed 's/^/| /' conftest.$ac_ext >&5
31965
31966 { echo "$as_me:$LINENO: result: neither works" >&5
31967 echo "${ECHO_T}neither works" >&6; }
31968 fi
31969
31970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31971 conftest$ac_exeext conftest.$ac_ext
31972 fi
31973
31974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31975 conftest$ac_exeext conftest.$ac_ext
31976 ac_c_werror_flag=$ac_xsave_c_werror_flag
31977 LIBS=$ac_xsave_LIBS
31978 fi
31979
31980 # Check for system-dependent libraries X programs must link with.
31981 # Do this before checking for the system-independent R6 libraries
31982 # (-lICE), since we may need -lsocket or whatever for X linking.
31983
31984 if test "$ISC" = yes; then
31985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31986 else
31987 # Martyn Johnson says this is needed for Ultrix, if the X
31988 # libraries were built with DECnet support. And Karl Berry says
31989 # the Alpha needs dnet_stub (dnet does not exist).
31990 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31991 cat >conftest.$ac_ext <<_ACEOF
31992 /* confdefs.h. */
31993 _ACEOF
31994 cat confdefs.h >>conftest.$ac_ext
31995 cat >>conftest.$ac_ext <<_ACEOF
31996 /* end confdefs.h. */
31997
31998 /* Override any GCC internal prototype to avoid an error.
31999 Use char because int might match the return type of a GCC
32000 builtin and then its argument prototype would still apply. */
32001 #ifdef __cplusplus
32002 extern "C"
32003 #endif
32004 char XOpenDisplay ();
32005 int
32006 main ()
32007 {
32008 return XOpenDisplay ();
32009 ;
32010 return 0;
32011 }
32012 _ACEOF
32013 rm -f conftest.$ac_objext conftest$ac_exeext
32014 if { (ac_try="$ac_link"
32015 case "(($ac_try" in
32016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32017 *) ac_try_echo=$ac_try;;
32018 esac
32019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32020 (eval "$ac_link") 2>conftest.er1
32021 ac_status=$?
32022 grep -v '^ *+' conftest.er1 >conftest.err
32023 rm -f conftest.er1
32024 cat conftest.err >&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); } && {
32027 test -z "$ac_c_werror_flag" ||
32028 test ! -s conftest.err
32029 } && test -s conftest$ac_exeext &&
32030 $as_test_x conftest$ac_exeext; then
32031 :
32032 else
32033 echo "$as_me: failed program was:" >&5
32034 sed 's/^/| /' conftest.$ac_ext >&5
32035
32036 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32037 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32038 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32039 echo $ECHO_N "(cached) $ECHO_C" >&6
32040 else
32041 ac_check_lib_save_LIBS=$LIBS
32042 LIBS="-ldnet $LIBS"
32043 cat >conftest.$ac_ext <<_ACEOF
32044 /* confdefs.h. */
32045 _ACEOF
32046 cat confdefs.h >>conftest.$ac_ext
32047 cat >>conftest.$ac_ext <<_ACEOF
32048 /* end confdefs.h. */
32049
32050 /* Override any GCC internal prototype to avoid an error.
32051 Use char because int might match the return type of a GCC
32052 builtin and then its argument prototype would still apply. */
32053 #ifdef __cplusplus
32054 extern "C"
32055 #endif
32056 char dnet_ntoa ();
32057 int
32058 main ()
32059 {
32060 return dnet_ntoa ();
32061 ;
32062 return 0;
32063 }
32064 _ACEOF
32065 rm -f conftest.$ac_objext conftest$ac_exeext
32066 if { (ac_try="$ac_link"
32067 case "(($ac_try" in
32068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32069 *) ac_try_echo=$ac_try;;
32070 esac
32071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32072 (eval "$ac_link") 2>conftest.er1
32073 ac_status=$?
32074 grep -v '^ *+' conftest.er1 >conftest.err
32075 rm -f conftest.er1
32076 cat conftest.err >&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); } && {
32079 test -z "$ac_c_werror_flag" ||
32080 test ! -s conftest.err
32081 } && test -s conftest$ac_exeext &&
32082 $as_test_x conftest$ac_exeext; then
32083 ac_cv_lib_dnet_dnet_ntoa=yes
32084 else
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.$ac_ext >&5
32087
32088 ac_cv_lib_dnet_dnet_ntoa=no
32089 fi
32090
32091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32092 conftest$ac_exeext conftest.$ac_ext
32093 LIBS=$ac_check_lib_save_LIBS
32094 fi
32095 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32096 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32097 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32098 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32099 fi
32100
32101 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32102 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32103 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32104 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32106 else
32107 ac_check_lib_save_LIBS=$LIBS
32108 LIBS="-ldnet_stub $LIBS"
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115
32116 /* Override any GCC internal prototype to avoid an error.
32117 Use char because int might match the return type of a GCC
32118 builtin and then its argument prototype would still apply. */
32119 #ifdef __cplusplus
32120 extern "C"
32121 #endif
32122 char dnet_ntoa ();
32123 int
32124 main ()
32125 {
32126 return dnet_ntoa ();
32127 ;
32128 return 0;
32129 }
32130 _ACEOF
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (ac_try="$ac_link"
32133 case "(($ac_try" in
32134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32135 *) ac_try_echo=$ac_try;;
32136 esac
32137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32138 (eval "$ac_link") 2>conftest.er1
32139 ac_status=$?
32140 grep -v '^ *+' conftest.er1 >conftest.err
32141 rm -f conftest.er1
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } && {
32145 test -z "$ac_c_werror_flag" ||
32146 test ! -s conftest.err
32147 } && test -s conftest$ac_exeext &&
32148 $as_test_x conftest$ac_exeext; then
32149 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32150 else
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.$ac_ext >&5
32153
32154 ac_cv_lib_dnet_stub_dnet_ntoa=no
32155 fi
32156
32157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32158 conftest$ac_exeext conftest.$ac_ext
32159 LIBS=$ac_check_lib_save_LIBS
32160 fi
32161 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32162 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32163 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32165 fi
32166
32167 fi
32168 fi
32169
32170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32171 conftest$ac_exeext conftest.$ac_ext
32172 LIBS="$ac_xsave_LIBS"
32173
32174 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32175 # to get the SysV transport functions.
32176 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32177 # needs -lnsl.
32178 # The nsl library prevents programs from opening the X display
32179 # on Irix 5.2, according to T.E. Dickey.
32180 # The functions gethostbyname, getservbyname, and inet_addr are
32181 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32182 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32183 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32184 if test "${ac_cv_func_gethostbyname+set}" = set; then
32185 echo $ECHO_N "(cached) $ECHO_C" >&6
32186 else
32187 cat >conftest.$ac_ext <<_ACEOF
32188 /* confdefs.h. */
32189 _ACEOF
32190 cat confdefs.h >>conftest.$ac_ext
32191 cat >>conftest.$ac_ext <<_ACEOF
32192 /* end confdefs.h. */
32193 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32195 #define gethostbyname innocuous_gethostbyname
32196
32197 /* System header to define __stub macros and hopefully few prototypes,
32198 which can conflict with char gethostbyname (); below.
32199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32200 <limits.h> exists even on freestanding compilers. */
32201
32202 #ifdef __STDC__
32203 # include <limits.h>
32204 #else
32205 # include <assert.h>
32206 #endif
32207
32208 #undef gethostbyname
32209
32210 /* Override any GCC internal prototype to avoid an error.
32211 Use char because int might match the return type of a GCC
32212 builtin and then its argument prototype would still apply. */
32213 #ifdef __cplusplus
32214 extern "C"
32215 #endif
32216 char gethostbyname ();
32217 /* The GNU C library defines this for functions which it implements
32218 to always fail with ENOSYS. Some functions are actually named
32219 something starting with __ and the normal name is an alias. */
32220 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32221 choke me
32222 #endif
32223
32224 int
32225 main ()
32226 {
32227 return gethostbyname ();
32228 ;
32229 return 0;
32230 }
32231 _ACEOF
32232 rm -f conftest.$ac_objext conftest$ac_exeext
32233 if { (ac_try="$ac_link"
32234 case "(($ac_try" in
32235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32236 *) ac_try_echo=$ac_try;;
32237 esac
32238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32239 (eval "$ac_link") 2>conftest.er1
32240 ac_status=$?
32241 grep -v '^ *+' conftest.er1 >conftest.err
32242 rm -f conftest.er1
32243 cat conftest.err >&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } && {
32246 test -z "$ac_c_werror_flag" ||
32247 test ! -s conftest.err
32248 } && test -s conftest$ac_exeext &&
32249 $as_test_x conftest$ac_exeext; then
32250 ac_cv_func_gethostbyname=yes
32251 else
32252 echo "$as_me: failed program was:" >&5
32253 sed 's/^/| /' conftest.$ac_ext >&5
32254
32255 ac_cv_func_gethostbyname=no
32256 fi
32257
32258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32259 conftest$ac_exeext conftest.$ac_ext
32260 fi
32261 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32262 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32263
32264 if test $ac_cv_func_gethostbyname = no; then
32265 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32266 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32267 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32268 echo $ECHO_N "(cached) $ECHO_C" >&6
32269 else
32270 ac_check_lib_save_LIBS=$LIBS
32271 LIBS="-lnsl $LIBS"
32272 cat >conftest.$ac_ext <<_ACEOF
32273 /* confdefs.h. */
32274 _ACEOF
32275 cat confdefs.h >>conftest.$ac_ext
32276 cat >>conftest.$ac_ext <<_ACEOF
32277 /* end confdefs.h. */
32278
32279 /* Override any GCC internal prototype to avoid an error.
32280 Use char because int might match the return type of a GCC
32281 builtin and then its argument prototype would still apply. */
32282 #ifdef __cplusplus
32283 extern "C"
32284 #endif
32285 char gethostbyname ();
32286 int
32287 main ()
32288 {
32289 return gethostbyname ();
32290 ;
32291 return 0;
32292 }
32293 _ACEOF
32294 rm -f conftest.$ac_objext conftest$ac_exeext
32295 if { (ac_try="$ac_link"
32296 case "(($ac_try" in
32297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32298 *) ac_try_echo=$ac_try;;
32299 esac
32300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32301 (eval "$ac_link") 2>conftest.er1
32302 ac_status=$?
32303 grep -v '^ *+' conftest.er1 >conftest.err
32304 rm -f conftest.er1
32305 cat conftest.err >&5
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); } && {
32308 test -z "$ac_c_werror_flag" ||
32309 test ! -s conftest.err
32310 } && test -s conftest$ac_exeext &&
32311 $as_test_x conftest$ac_exeext; then
32312 ac_cv_lib_nsl_gethostbyname=yes
32313 else
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32316
32317 ac_cv_lib_nsl_gethostbyname=no
32318 fi
32319
32320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32321 conftest$ac_exeext conftest.$ac_ext
32322 LIBS=$ac_check_lib_save_LIBS
32323 fi
32324 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32325 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32326 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32327 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32328 fi
32329
32330 if test $ac_cv_lib_nsl_gethostbyname = no; then
32331 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32332 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32333 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32334 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 else
32336 ac_check_lib_save_LIBS=$LIBS
32337 LIBS="-lbsd $LIBS"
32338 cat >conftest.$ac_ext <<_ACEOF
32339 /* confdefs.h. */
32340 _ACEOF
32341 cat confdefs.h >>conftest.$ac_ext
32342 cat >>conftest.$ac_ext <<_ACEOF
32343 /* end confdefs.h. */
32344
32345 /* Override any GCC internal prototype to avoid an error.
32346 Use char because int might match the return type of a GCC
32347 builtin and then its argument prototype would still apply. */
32348 #ifdef __cplusplus
32349 extern "C"
32350 #endif
32351 char gethostbyname ();
32352 int
32353 main ()
32354 {
32355 return gethostbyname ();
32356 ;
32357 return 0;
32358 }
32359 _ACEOF
32360 rm -f conftest.$ac_objext conftest$ac_exeext
32361 if { (ac_try="$ac_link"
32362 case "(($ac_try" in
32363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32364 *) ac_try_echo=$ac_try;;
32365 esac
32366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32367 (eval "$ac_link") 2>conftest.er1
32368 ac_status=$?
32369 grep -v '^ *+' conftest.er1 >conftest.err
32370 rm -f conftest.er1
32371 cat conftest.err >&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); } && {
32374 test -z "$ac_c_werror_flag" ||
32375 test ! -s conftest.err
32376 } && test -s conftest$ac_exeext &&
32377 $as_test_x conftest$ac_exeext; then
32378 ac_cv_lib_bsd_gethostbyname=yes
32379 else
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.$ac_ext >&5
32382
32383 ac_cv_lib_bsd_gethostbyname=no
32384 fi
32385
32386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32387 conftest$ac_exeext conftest.$ac_ext
32388 LIBS=$ac_check_lib_save_LIBS
32389 fi
32390 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32391 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32392 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32394 fi
32395
32396 fi
32397 fi
32398
32399 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32400 # socket/setsockopt and other routines are undefined under SCO ODT
32401 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32402 # on later versions), says Simon Leinen: it contains gethostby*
32403 # variants that don't use the name server (or something). -lsocket
32404 # must be given before -lnsl if both are needed. We assume that
32405 # if connect needs -lnsl, so does gethostbyname.
32406 { echo "$as_me:$LINENO: checking for connect" >&5
32407 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32408 if test "${ac_cv_func_connect+set}" = set; then
32409 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 else
32411 cat >conftest.$ac_ext <<_ACEOF
32412 /* confdefs.h. */
32413 _ACEOF
32414 cat confdefs.h >>conftest.$ac_ext
32415 cat >>conftest.$ac_ext <<_ACEOF
32416 /* end confdefs.h. */
32417 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32419 #define connect innocuous_connect
32420
32421 /* System header to define __stub macros and hopefully few prototypes,
32422 which can conflict with char connect (); below.
32423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32424 <limits.h> exists even on freestanding compilers. */
32425
32426 #ifdef __STDC__
32427 # include <limits.h>
32428 #else
32429 # include <assert.h>
32430 #endif
32431
32432 #undef connect
32433
32434 /* Override any GCC internal prototype to avoid an error.
32435 Use char because int might match the return type of a GCC
32436 builtin and then its argument prototype would still apply. */
32437 #ifdef __cplusplus
32438 extern "C"
32439 #endif
32440 char connect ();
32441 /* The GNU C library defines this for functions which it implements
32442 to always fail with ENOSYS. Some functions are actually named
32443 something starting with __ and the normal name is an alias. */
32444 #if defined __stub_connect || defined __stub___connect
32445 choke me
32446 #endif
32447
32448 int
32449 main ()
32450 {
32451 return connect ();
32452 ;
32453 return 0;
32454 }
32455 _ACEOF
32456 rm -f conftest.$ac_objext conftest$ac_exeext
32457 if { (ac_try="$ac_link"
32458 case "(($ac_try" in
32459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32460 *) ac_try_echo=$ac_try;;
32461 esac
32462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32463 (eval "$ac_link") 2>conftest.er1
32464 ac_status=$?
32465 grep -v '^ *+' conftest.er1 >conftest.err
32466 rm -f conftest.er1
32467 cat conftest.err >&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); } && {
32470 test -z "$ac_c_werror_flag" ||
32471 test ! -s conftest.err
32472 } && test -s conftest$ac_exeext &&
32473 $as_test_x conftest$ac_exeext; then
32474 ac_cv_func_connect=yes
32475 else
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.$ac_ext >&5
32478
32479 ac_cv_func_connect=no
32480 fi
32481
32482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32483 conftest$ac_exeext conftest.$ac_ext
32484 fi
32485 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32486 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32487
32488 if test $ac_cv_func_connect = no; then
32489 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32490 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32491 if test "${ac_cv_lib_socket_connect+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 else
32494 ac_check_lib_save_LIBS=$LIBS
32495 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32496 cat >conftest.$ac_ext <<_ACEOF
32497 /* confdefs.h. */
32498 _ACEOF
32499 cat confdefs.h >>conftest.$ac_ext
32500 cat >>conftest.$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32502
32503 /* Override any GCC internal prototype to avoid an error.
32504 Use char because int might match the return type of a GCC
32505 builtin and then its argument prototype would still apply. */
32506 #ifdef __cplusplus
32507 extern "C"
32508 #endif
32509 char connect ();
32510 int
32511 main ()
32512 {
32513 return connect ();
32514 ;
32515 return 0;
32516 }
32517 _ACEOF
32518 rm -f conftest.$ac_objext conftest$ac_exeext
32519 if { (ac_try="$ac_link"
32520 case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32522 *) ac_try_echo=$ac_try;;
32523 esac
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_link") 2>conftest.er1
32526 ac_status=$?
32527 grep -v '^ *+' conftest.er1 >conftest.err
32528 rm -f conftest.er1
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest$ac_exeext &&
32535 $as_test_x conftest$ac_exeext; then
32536 ac_cv_lib_socket_connect=yes
32537 else
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32540
32541 ac_cv_lib_socket_connect=no
32542 fi
32543
32544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32545 conftest$ac_exeext conftest.$ac_ext
32546 LIBS=$ac_check_lib_save_LIBS
32547 fi
32548 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32549 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32550 if test $ac_cv_lib_socket_connect = yes; then
32551 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32552 fi
32553
32554 fi
32555
32556 # Guillermo Gomez says -lposix is necessary on A/UX.
32557 { echo "$as_me:$LINENO: checking for remove" >&5
32558 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32559 if test "${ac_cv_func_remove+set}" = set; then
32560 echo $ECHO_N "(cached) $ECHO_C" >&6
32561 else
32562 cat >conftest.$ac_ext <<_ACEOF
32563 /* confdefs.h. */
32564 _ACEOF
32565 cat confdefs.h >>conftest.$ac_ext
32566 cat >>conftest.$ac_ext <<_ACEOF
32567 /* end confdefs.h. */
32568 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32570 #define remove innocuous_remove
32571
32572 /* System header to define __stub macros and hopefully few prototypes,
32573 which can conflict with char remove (); below.
32574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32575 <limits.h> exists even on freestanding compilers. */
32576
32577 #ifdef __STDC__
32578 # include <limits.h>
32579 #else
32580 # include <assert.h>
32581 #endif
32582
32583 #undef remove
32584
32585 /* Override any GCC internal prototype to avoid an error.
32586 Use char because int might match the return type of a GCC
32587 builtin and then its argument prototype would still apply. */
32588 #ifdef __cplusplus
32589 extern "C"
32590 #endif
32591 char remove ();
32592 /* The GNU C library defines this for functions which it implements
32593 to always fail with ENOSYS. Some functions are actually named
32594 something starting with __ and the normal name is an alias. */
32595 #if defined __stub_remove || defined __stub___remove
32596 choke me
32597 #endif
32598
32599 int
32600 main ()
32601 {
32602 return remove ();
32603 ;
32604 return 0;
32605 }
32606 _ACEOF
32607 rm -f conftest.$ac_objext conftest$ac_exeext
32608 if { (ac_try="$ac_link"
32609 case "(($ac_try" in
32610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32611 *) ac_try_echo=$ac_try;;
32612 esac
32613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32614 (eval "$ac_link") 2>conftest.er1
32615 ac_status=$?
32616 grep -v '^ *+' conftest.er1 >conftest.err
32617 rm -f conftest.er1
32618 cat conftest.err >&5
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); } && {
32621 test -z "$ac_c_werror_flag" ||
32622 test ! -s conftest.err
32623 } && test -s conftest$ac_exeext &&
32624 $as_test_x conftest$ac_exeext; then
32625 ac_cv_func_remove=yes
32626 else
32627 echo "$as_me: failed program was:" >&5
32628 sed 's/^/| /' conftest.$ac_ext >&5
32629
32630 ac_cv_func_remove=no
32631 fi
32632
32633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32634 conftest$ac_exeext conftest.$ac_ext
32635 fi
32636 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32637 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32638
32639 if test $ac_cv_func_remove = no; then
32640 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32641 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32642 if test "${ac_cv_lib_posix_remove+set}" = set; then
32643 echo $ECHO_N "(cached) $ECHO_C" >&6
32644 else
32645 ac_check_lib_save_LIBS=$LIBS
32646 LIBS="-lposix $LIBS"
32647 cat >conftest.$ac_ext <<_ACEOF
32648 /* confdefs.h. */
32649 _ACEOF
32650 cat confdefs.h >>conftest.$ac_ext
32651 cat >>conftest.$ac_ext <<_ACEOF
32652 /* end confdefs.h. */
32653
32654 /* Override any GCC internal prototype to avoid an error.
32655 Use char because int might match the return type of a GCC
32656 builtin and then its argument prototype would still apply. */
32657 #ifdef __cplusplus
32658 extern "C"
32659 #endif
32660 char remove ();
32661 int
32662 main ()
32663 {
32664 return remove ();
32665 ;
32666 return 0;
32667 }
32668 _ACEOF
32669 rm -f conftest.$ac_objext conftest$ac_exeext
32670 if { (ac_try="$ac_link"
32671 case "(($ac_try" in
32672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32673 *) ac_try_echo=$ac_try;;
32674 esac
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_link") 2>conftest.er1
32677 ac_status=$?
32678 grep -v '^ *+' conftest.er1 >conftest.err
32679 rm -f conftest.er1
32680 cat conftest.err >&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest$ac_exeext &&
32686 $as_test_x conftest$ac_exeext; then
32687 ac_cv_lib_posix_remove=yes
32688 else
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 ac_cv_lib_posix_remove=no
32693 fi
32694
32695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32696 conftest$ac_exeext conftest.$ac_ext
32697 LIBS=$ac_check_lib_save_LIBS
32698 fi
32699 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32700 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32701 if test $ac_cv_lib_posix_remove = yes; then
32702 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32703 fi
32704
32705 fi
32706
32707 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32708 { echo "$as_me:$LINENO: checking for shmat" >&5
32709 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32710 if test "${ac_cv_func_shmat+set}" = set; then
32711 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 else
32713 cat >conftest.$ac_ext <<_ACEOF
32714 /* confdefs.h. */
32715 _ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32719 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32721 #define shmat innocuous_shmat
32722
32723 /* System header to define __stub macros and hopefully few prototypes,
32724 which can conflict with char shmat (); below.
32725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32726 <limits.h> exists even on freestanding compilers. */
32727
32728 #ifdef __STDC__
32729 # include <limits.h>
32730 #else
32731 # include <assert.h>
32732 #endif
32733
32734 #undef shmat
32735
32736 /* Override any GCC internal prototype to avoid an error.
32737 Use char because int might match the return type of a GCC
32738 builtin and then its argument prototype would still apply. */
32739 #ifdef __cplusplus
32740 extern "C"
32741 #endif
32742 char shmat ();
32743 /* The GNU C library defines this for functions which it implements
32744 to always fail with ENOSYS. Some functions are actually named
32745 something starting with __ and the normal name is an alias. */
32746 #if defined __stub_shmat || defined __stub___shmat
32747 choke me
32748 #endif
32749
32750 int
32751 main ()
32752 {
32753 return shmat ();
32754 ;
32755 return 0;
32756 }
32757 _ACEOF
32758 rm -f conftest.$ac_objext conftest$ac_exeext
32759 if { (ac_try="$ac_link"
32760 case "(($ac_try" in
32761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32762 *) ac_try_echo=$ac_try;;
32763 esac
32764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32765 (eval "$ac_link") 2>conftest.er1
32766 ac_status=$?
32767 grep -v '^ *+' conftest.er1 >conftest.err
32768 rm -f conftest.er1
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } && {
32772 test -z "$ac_c_werror_flag" ||
32773 test ! -s conftest.err
32774 } && test -s conftest$ac_exeext &&
32775 $as_test_x conftest$ac_exeext; then
32776 ac_cv_func_shmat=yes
32777 else
32778 echo "$as_me: failed program was:" >&5
32779 sed 's/^/| /' conftest.$ac_ext >&5
32780
32781 ac_cv_func_shmat=no
32782 fi
32783
32784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32785 conftest$ac_exeext conftest.$ac_ext
32786 fi
32787 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32788 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32789
32790 if test $ac_cv_func_shmat = no; then
32791 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32792 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32793 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32794 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 else
32796 ac_check_lib_save_LIBS=$LIBS
32797 LIBS="-lipc $LIBS"
32798 cat >conftest.$ac_ext <<_ACEOF
32799 /* confdefs.h. */
32800 _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804
32805 /* Override any GCC internal prototype to avoid an error.
32806 Use char because int might match the return type of a GCC
32807 builtin and then its argument prototype would still apply. */
32808 #ifdef __cplusplus
32809 extern "C"
32810 #endif
32811 char shmat ();
32812 int
32813 main ()
32814 {
32815 return shmat ();
32816 ;
32817 return 0;
32818 }
32819 _ACEOF
32820 rm -f conftest.$ac_objext conftest$ac_exeext
32821 if { (ac_try="$ac_link"
32822 case "(($ac_try" in
32823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32824 *) ac_try_echo=$ac_try;;
32825 esac
32826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32827 (eval "$ac_link") 2>conftest.er1
32828 ac_status=$?
32829 grep -v '^ *+' conftest.er1 >conftest.err
32830 rm -f conftest.er1
32831 cat conftest.err >&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } && {
32834 test -z "$ac_c_werror_flag" ||
32835 test ! -s conftest.err
32836 } && test -s conftest$ac_exeext &&
32837 $as_test_x conftest$ac_exeext; then
32838 ac_cv_lib_ipc_shmat=yes
32839 else
32840 echo "$as_me: failed program was:" >&5
32841 sed 's/^/| /' conftest.$ac_ext >&5
32842
32843 ac_cv_lib_ipc_shmat=no
32844 fi
32845
32846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32847 conftest$ac_exeext conftest.$ac_ext
32848 LIBS=$ac_check_lib_save_LIBS
32849 fi
32850 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32851 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32852 if test $ac_cv_lib_ipc_shmat = yes; then
32853 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32854 fi
32855
32856 fi
32857 fi
32858
32859 # Check for libraries that X11R6 Xt/Xaw programs need.
32860 ac_save_LDFLAGS=$LDFLAGS
32861 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32862 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32863 # check for ICE first), but we must link in the order -lSM -lICE or
32864 # we get undefined symbols. So assume we have SM if we have ICE.
32865 # These have to be linked with before -lX11, unlike the other
32866 # libraries we check for below, so use a different variable.
32867 # John Interrante, Karl Berry
32868 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32869 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32870 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873 ac_check_lib_save_LIBS=$LIBS
32874 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32875 cat >conftest.$ac_ext <<_ACEOF
32876 /* confdefs.h. */
32877 _ACEOF
32878 cat confdefs.h >>conftest.$ac_ext
32879 cat >>conftest.$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32881
32882 /* Override any GCC internal prototype to avoid an error.
32883 Use char because int might match the return type of a GCC
32884 builtin and then its argument prototype would still apply. */
32885 #ifdef __cplusplus
32886 extern "C"
32887 #endif
32888 char IceConnectionNumber ();
32889 int
32890 main ()
32891 {
32892 return IceConnectionNumber ();
32893 ;
32894 return 0;
32895 }
32896 _ACEOF
32897 rm -f conftest.$ac_objext conftest$ac_exeext
32898 if { (ac_try="$ac_link"
32899 case "(($ac_try" in
32900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32901 *) ac_try_echo=$ac_try;;
32902 esac
32903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32904 (eval "$ac_link") 2>conftest.er1
32905 ac_status=$?
32906 grep -v '^ *+' conftest.er1 >conftest.err
32907 rm -f conftest.er1
32908 cat conftest.err >&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } && {
32911 test -z "$ac_c_werror_flag" ||
32912 test ! -s conftest.err
32913 } && test -s conftest$ac_exeext &&
32914 $as_test_x conftest$ac_exeext; then
32915 ac_cv_lib_ICE_IceConnectionNumber=yes
32916 else
32917 echo "$as_me: failed program was:" >&5
32918 sed 's/^/| /' conftest.$ac_ext >&5
32919
32920 ac_cv_lib_ICE_IceConnectionNumber=no
32921 fi
32922
32923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32924 conftest$ac_exeext conftest.$ac_ext
32925 LIBS=$ac_check_lib_save_LIBS
32926 fi
32927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32928 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32929 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32930 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32931 fi
32932
32933 LDFLAGS=$ac_save_LDFLAGS
32934
32935 fi
32936
32937
32938 if test "$no_x" = "yes"; then
32939 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32940 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32941 { (exit 1); exit 1; }; }
32942 fi
32943
32944 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32945 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32946 AFMINSTALL=afminstall
32947 COMPILED_X_PROGRAM=0
32948
32949 fi
32950
32951 if test "$wxUSE_X11" = 1; then
32952 if test "$wxUSE_NANOX" = "yes"; then
32953 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32954 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32955 if test "x$MICROWIN" = x ; then
32956 { echo "$as_me:$LINENO: result: not found" >&5
32957 echo "${ECHO_T}not found" >&6; }
32958 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32959 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32960 { (exit 1); exit 1; }; }
32961 else
32962 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32963 echo "${ECHO_T}$MICROWIN" >&6; }
32964 cat >>confdefs.h <<\_ACEOF
32965 #define wxUSE_NANOX 1
32966 _ACEOF
32967
32968 fi
32969 fi
32970
32971 if test "$wxUSE_UNICODE" = "yes"; then
32972
32973
32974 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32975 if test -n "$ac_tool_prefix"; then
32976 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32977 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32980 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32981 echo $ECHO_N "(cached) $ECHO_C" >&6
32982 else
32983 case $PKG_CONFIG in
32984 [\\/]* | ?:[\\/]*)
32985 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32986 ;;
32987 *)
32988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32989 for as_dir in $PATH
32990 do
32991 IFS=$as_save_IFS
32992 test -z "$as_dir" && as_dir=.
32993 for ac_exec_ext in '' $ac_executable_extensions; do
32994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32995 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32997 break 2
32998 fi
32999 done
33000 done
33001 IFS=$as_save_IFS
33002
33003 ;;
33004 esac
33005 fi
33006 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33007 if test -n "$PKG_CONFIG"; then
33008 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33009 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33010 else
33011 { echo "$as_me:$LINENO: result: no" >&5
33012 echo "${ECHO_T}no" >&6; }
33013 fi
33014
33015
33016 fi
33017 if test -z "$ac_cv_path_PKG_CONFIG"; then
33018 ac_pt_PKG_CONFIG=$PKG_CONFIG
33019 # Extract the first word of "pkg-config", so it can be a program name with args.
33020 set dummy pkg-config; ac_word=$2
33021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33023 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 else
33026 case $ac_pt_PKG_CONFIG in
33027 [\\/]* | ?:[\\/]*)
33028 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33029 ;;
33030 *)
33031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33032 for as_dir in $PATH
33033 do
33034 IFS=$as_save_IFS
33035 test -z "$as_dir" && as_dir=.
33036 for ac_exec_ext in '' $ac_executable_extensions; do
33037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33038 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33040 break 2
33041 fi
33042 done
33043 done
33044 IFS=$as_save_IFS
33045
33046 ;;
33047 esac
33048 fi
33049 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33050 if test -n "$ac_pt_PKG_CONFIG"; then
33051 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33052 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33053 else
33054 { echo "$as_me:$LINENO: result: no" >&5
33055 echo "${ECHO_T}no" >&6; }
33056 fi
33057
33058 if test "x$ac_pt_PKG_CONFIG" = x; then
33059 PKG_CONFIG=""
33060 else
33061 case $cross_compiling:$ac_tool_warned in
33062 yes:)
33063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33064 whose name does not start with the host triplet. If you think this
33065 configuration is useful to you, please write to autoconf@gnu.org." >&5
33066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33067 whose name does not start with the host triplet. If you think this
33068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33069 ac_tool_warned=yes ;;
33070 esac
33071 PKG_CONFIG=$ac_pt_PKG_CONFIG
33072 fi
33073 else
33074 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33075 fi
33076
33077 fi
33078 if test -n "$PKG_CONFIG"; then
33079 _pkg_min_version=0.9.0
33080 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33081 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33082 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33083 { echo "$as_me:$LINENO: result: yes" >&5
33084 echo "${ECHO_T}yes" >&6; }
33085 else
33086 { echo "$as_me:$LINENO: result: no" >&5
33087 echo "${ECHO_T}no" >&6; }
33088 PKG_CONFIG=""
33089 fi
33090
33091 fi
33092
33093
33094 pkg_failed=no
33095 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33096 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33097
33098 if test -n "$PKG_CONFIG"; then
33099 if test -n "$PANGOX_CFLAGS"; then
33100 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33101 else
33102 if test -n "$PKG_CONFIG" && \
33103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33104 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33105 ac_status=$?
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; then
33108 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33109 else
33110 pkg_failed=yes
33111 fi
33112 fi
33113 else
33114 pkg_failed=untried
33115 fi
33116 if test -n "$PKG_CONFIG"; then
33117 if test -n "$PANGOX_LIBS"; then
33118 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33119 else
33120 if test -n "$PKG_CONFIG" && \
33121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33122 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33123 ac_status=$?
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); }; then
33126 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33127 else
33128 pkg_failed=yes
33129 fi
33130 fi
33131 else
33132 pkg_failed=untried
33133 fi
33134
33135
33136
33137 if test $pkg_failed = yes; then
33138
33139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33140 _pkg_short_errors_supported=yes
33141 else
33142 _pkg_short_errors_supported=no
33143 fi
33144 if test $_pkg_short_errors_supported = yes; then
33145 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33146 else
33147 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33148 fi
33149 # Put the nasty error message in config.log where it belongs
33150 echo "$PANGOX_PKG_ERRORS" >&5
33151
33152
33153 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33154 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33155 { (exit 1); exit 1; }; }
33156
33157
33158 elif test $pkg_failed = untried; then
33159
33160 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33161 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33162 { (exit 1); exit 1; }; }
33163
33164
33165 else
33166 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33167 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33168 { echo "$as_me:$LINENO: result: yes" >&5
33169 echo "${ECHO_T}yes" >&6; }
33170
33171 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33172 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33174
33175 fi
33176
33177 pkg_failed=no
33178 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33179 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33180
33181 if test -n "$PKG_CONFIG"; then
33182 if test -n "$PANGOFT2_CFLAGS"; then
33183 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33184 else
33185 if test -n "$PKG_CONFIG" && \
33186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33187 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33188 ac_status=$?
33189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33190 (exit $ac_status); }; then
33191 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33192 else
33193 pkg_failed=yes
33194 fi
33195 fi
33196 else
33197 pkg_failed=untried
33198 fi
33199 if test -n "$PKG_CONFIG"; then
33200 if test -n "$PANGOFT2_LIBS"; then
33201 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33202 else
33203 if test -n "$PKG_CONFIG" && \
33204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33205 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33206 ac_status=$?
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; then
33209 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33210 else
33211 pkg_failed=yes
33212 fi
33213 fi
33214 else
33215 pkg_failed=untried
33216 fi
33217
33218
33219
33220 if test $pkg_failed = yes; then
33221
33222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33223 _pkg_short_errors_supported=yes
33224 else
33225 _pkg_short_errors_supported=no
33226 fi
33227 if test $_pkg_short_errors_supported = yes; then
33228 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33229 else
33230 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33231 fi
33232 # Put the nasty error message in config.log where it belongs
33233 echo "$PANGOFT2_PKG_ERRORS" >&5
33234
33235
33236 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33237 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33238 wxUSE_PRINTING_ARCHITECTURE="no"
33239
33240
33241 elif test $pkg_failed = untried; then
33242
33243 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33244 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33245 wxUSE_PRINTING_ARCHITECTURE="no"
33246
33247
33248 else
33249 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33250 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33251 { echo "$as_me:$LINENO: result: yes" >&5
33252 echo "${ECHO_T}yes" >&6; }
33253
33254 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33255 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33256 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33257
33258 fi
33259
33260 pkg_failed=no
33261 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33262 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33263
33264 if test -n "$PKG_CONFIG"; then
33265 if test -n "$PANGOXFT_CFLAGS"; then
33266 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33267 else
33268 if test -n "$PKG_CONFIG" && \
33269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33270 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33271 ac_status=$?
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; then
33274 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33275 else
33276 pkg_failed=yes
33277 fi
33278 fi
33279 else
33280 pkg_failed=untried
33281 fi
33282 if test -n "$PKG_CONFIG"; then
33283 if test -n "$PANGOXFT_LIBS"; then
33284 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33285 else
33286 if test -n "$PKG_CONFIG" && \
33287 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33288 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33289 ac_status=$?
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); }; then
33292 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33293 else
33294 pkg_failed=yes
33295 fi
33296 fi
33297 else
33298 pkg_failed=untried
33299 fi
33300
33301
33302
33303 if test $pkg_failed = yes; then
33304
33305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33306 _pkg_short_errors_supported=yes
33307 else
33308 _pkg_short_errors_supported=no
33309 fi
33310 if test $_pkg_short_errors_supported = yes; then
33311 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33312 else
33313 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33314 fi
33315 # Put the nasty error message in config.log where it belongs
33316 echo "$PANGOXFT_PKG_ERRORS" >&5
33317
33318
33319 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33320 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33321
33322
33323 elif test $pkg_failed = untried; then
33324
33325 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33326 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33327
33328
33329 else
33330 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33331 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33332 { echo "$as_me:$LINENO: result: yes" >&5
33333 echo "${ECHO_T}yes" >&6; }
33334
33335 cat >>confdefs.h <<\_ACEOF
33336 #define HAVE_PANGO_XFT 1
33337 _ACEOF
33338
33339 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33340 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33342
33343 fi
33344 save_LIBS="$LIBS"
33345 LIBS="$LIBS $PANGOX_LIBS"
33346
33347 for ac_func in pango_font_family_is_monospace
33348 do
33349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 else
33355 cat >conftest.$ac_ext <<_ACEOF
33356 /* confdefs.h. */
33357 _ACEOF
33358 cat confdefs.h >>conftest.$ac_ext
33359 cat >>conftest.$ac_ext <<_ACEOF
33360 /* end confdefs.h. */
33361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33363 #define $ac_func innocuous_$ac_func
33364
33365 /* System header to define __stub macros and hopefully few prototypes,
33366 which can conflict with char $ac_func (); below.
33367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33368 <limits.h> exists even on freestanding compilers. */
33369
33370 #ifdef __STDC__
33371 # include <limits.h>
33372 #else
33373 # include <assert.h>
33374 #endif
33375
33376 #undef $ac_func
33377
33378 /* Override any GCC internal prototype to avoid an error.
33379 Use char because int might match the return type of a GCC
33380 builtin and then its argument prototype would still apply. */
33381 #ifdef __cplusplus
33382 extern "C"
33383 #endif
33384 char $ac_func ();
33385 /* The GNU C library defines this for functions which it implements
33386 to always fail with ENOSYS. Some functions are actually named
33387 something starting with __ and the normal name is an alias. */
33388 #if defined __stub_$ac_func || defined __stub___$ac_func
33389 choke me
33390 #endif
33391
33392 int
33393 main ()
33394 {
33395 return $ac_func ();
33396 ;
33397 return 0;
33398 }
33399 _ACEOF
33400 rm -f conftest.$ac_objext conftest$ac_exeext
33401 if { (ac_try="$ac_link"
33402 case "(($ac_try" in
33403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33404 *) ac_try_echo=$ac_try;;
33405 esac
33406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33407 (eval "$ac_link") 2>conftest.er1
33408 ac_status=$?
33409 grep -v '^ *+' conftest.er1 >conftest.err
33410 rm -f conftest.er1
33411 cat conftest.err >&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); } && {
33414 test -z "$ac_c_werror_flag" ||
33415 test ! -s conftest.err
33416 } && test -s conftest$ac_exeext &&
33417 $as_test_x conftest$ac_exeext; then
33418 eval "$as_ac_var=yes"
33419 else
33420 echo "$as_me: failed program was:" >&5
33421 sed 's/^/| /' conftest.$ac_ext >&5
33422
33423 eval "$as_ac_var=no"
33424 fi
33425
33426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33427 conftest$ac_exeext conftest.$ac_ext
33428 fi
33429 ac_res=`eval echo '${'$as_ac_var'}'`
33430 { echo "$as_me:$LINENO: result: $ac_res" >&5
33431 echo "${ECHO_T}$ac_res" >&6; }
33432 if test `eval echo '${'$as_ac_var'}'` = yes; then
33433 cat >>confdefs.h <<_ACEOF
33434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33435 _ACEOF
33436
33437 fi
33438 done
33439
33440 LIBS="$save_LIBS"
33441 fi
33442
33443 wxUSE_UNIVERSAL="yes"
33444
33445 if test "$wxUSE_NANOX" = "yes"; then
33446 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33447 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"
33448 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33449 else
33450 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33451 fi
33452
33453 TOOLKIT=X11
33454 GUIDIST=X11_DIST
33455 fi
33456
33457 if test "$wxUSE_MOTIF" = 1; then
33458 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33459 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33460
33461 ac_find_includes=
33462 for ac_dir in $SEARCH_INCLUDE /usr/include
33463 do
33464 if test -f "$ac_dir/Xm/Xm.h"; then
33465 ac_find_includes=$ac_dir
33466 break
33467 fi
33468 done
33469
33470 if test "$ac_find_includes" != "" ; then
33471 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33472 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33473
33474 if test "x$ac_find_includes" = "x/usr/include"; then
33475 ac_path_to_include=""
33476 else
33477 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33478 result=$?
33479 if test $result = 0; then
33480 ac_path_to_include=""
33481 else
33482 ac_path_to_include=" -I$ac_find_includes"
33483 fi
33484 fi
33485
33486 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33487 else
33488 save_CFLAGS=$CFLAGS
33489 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33490
33491 cat >conftest.$ac_ext <<_ACEOF
33492 /* confdefs.h. */
33493 _ACEOF
33494 cat confdefs.h >>conftest.$ac_ext
33495 cat >>conftest.$ac_ext <<_ACEOF
33496 /* end confdefs.h. */
33497
33498 #include <Xm/Xm.h>
33499
33500 int
33501 main ()
33502 {
33503
33504 int version;
33505 version = xmUseVersion;
33506
33507 ;
33508 return 0;
33509 }
33510 _ACEOF
33511 rm -f conftest.$ac_objext
33512 if { (ac_try="$ac_compile"
33513 case "(($ac_try" in
33514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33515 *) ac_try_echo=$ac_try;;
33516 esac
33517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33518 (eval "$ac_compile") 2>conftest.er1
33519 ac_status=$?
33520 grep -v '^ *+' conftest.er1 >conftest.err
33521 rm -f conftest.er1
33522 cat conftest.err >&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); } && {
33525 test -z "$ac_c_werror_flag" ||
33526 test ! -s conftest.err
33527 } && test -s conftest.$ac_objext; then
33528
33529 { echo "$as_me:$LINENO: result: found in default search path" >&5
33530 echo "${ECHO_T}found in default search path" >&6; }
33531 COMPILED_X_PROGRAM=1
33532
33533 else
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.$ac_ext >&5
33536
33537
33538 { echo "$as_me:$LINENO: result: no" >&5
33539 echo "${ECHO_T}no" >&6; }
33540 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33541 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33542 { (exit 1); exit 1; }; }
33543
33544
33545 fi
33546
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548
33549 CFLAGS=$save_CFLAGS
33550 fi
33551
33552
33553 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33554 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33555
33556 ac_find_libraries=
33557 for ac_dir in $SEARCH_LIB
33558 do
33559 for ac_extension in a so sl dylib dll.a; do
33560 if test -f "$ac_dir/libXm.$ac_extension"; then
33561 ac_find_libraries=$ac_dir
33562 break 2
33563 fi
33564 done
33565 done
33566
33567
33568 if test "x$ac_find_libraries" != "x" ; then
33569 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33570 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33571
33572
33573 if test "$ac_find_libraries" = "default location"; then
33574 ac_path_to_link=""
33575 else
33576 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33577 result=$?
33578 if test $result = 0; then
33579 ac_path_to_link=""
33580 else
33581 ac_path_to_link=" -L$ac_find_libraries"
33582 fi
33583 fi
33584
33585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33586 else
33587 save_CFLAGS=$CFLAGS
33588 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33589 save_LIBS="$LIBS"
33590 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33591
33592 cat >conftest.$ac_ext <<_ACEOF
33593 /* confdefs.h. */
33594 _ACEOF
33595 cat confdefs.h >>conftest.$ac_ext
33596 cat >>conftest.$ac_ext <<_ACEOF
33597 /* end confdefs.h. */
33598
33599 #include <Xm/Xm.h>
33600
33601 int
33602 main ()
33603 {
33604
33605 int version;
33606 version = xmUseVersion;
33607
33608 ;
33609 return 0;
33610 }
33611 _ACEOF
33612 rm -f conftest.$ac_objext conftest$ac_exeext
33613 if { (ac_try="$ac_link"
33614 case "(($ac_try" in
33615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33616 *) ac_try_echo=$ac_try;;
33617 esac
33618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33619 (eval "$ac_link") 2>conftest.er1
33620 ac_status=$?
33621 grep -v '^ *+' conftest.er1 >conftest.err
33622 rm -f conftest.er1
33623 cat conftest.err >&5
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); } && {
33626 test -z "$ac_c_werror_flag" ||
33627 test ! -s conftest.err
33628 } && test -s conftest$ac_exeext &&
33629 $as_test_x conftest$ac_exeext; then
33630
33631 { echo "$as_me:$LINENO: result: found in default search path" >&5
33632 echo "${ECHO_T}found in default search path" >&6; }
33633 COMPILED_X_PROGRAM=1
33634
33635 else
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33638
33639
33640 { echo "$as_me:$LINENO: result: no" >&5
33641 echo "${ECHO_T}no" >&6; }
33642 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33643 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33644 { (exit 1); exit 1; }; }
33645
33646
33647 fi
33648
33649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33650 conftest$ac_exeext conftest.$ac_ext
33651
33652 CFLAGS=$save_CFLAGS
33653 LIBS="$save_LIBS"
33654 fi
33655
33656 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33657 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33658 libp_link=""
33659 libsm_ice_link=""
33660 libs_found=0
33661 for libp in "" " -lXp"; do
33662 if test "$libs_found" = 0; then
33663 for libsm_ice in "" " -lSM -lICE"; do
33664 if test "$libs_found" = 0; then
33665 save_LIBS="$LIBS"
33666 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33667 save_CFLAGS=$CFLAGS
33668 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33669
33670 cat >conftest.$ac_ext <<_ACEOF
33671 /* confdefs.h. */
33672 _ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33676
33677 #include <Xm/Xm.h>
33678 #include <Xm/List.h>
33679
33680 int
33681 main ()
33682 {
33683
33684 XmString string = NULL;
33685 Widget w = NULL;
33686 int position = 0;
33687 XmListAddItem(w, string, position);
33688
33689 ;
33690 return 0;
33691 }
33692 _ACEOF
33693 rm -f conftest.$ac_objext conftest$ac_exeext
33694 if { (ac_try="$ac_link"
33695 case "(($ac_try" in
33696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33697 *) ac_try_echo=$ac_try;;
33698 esac
33699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33700 (eval "$ac_link") 2>conftest.er1
33701 ac_status=$?
33702 grep -v '^ *+' conftest.er1 >conftest.err
33703 rm -f conftest.er1
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } && {
33707 test -z "$ac_c_werror_flag" ||
33708 test ! -s conftest.err
33709 } && test -s conftest$ac_exeext &&
33710 $as_test_x conftest$ac_exeext; then
33711
33712 libp_link="$libp"
33713 libsm_ice_link="$libsm_ice"
33714 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33715 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33716 libs_found=1
33717
33718 else
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722
33723
33724 fi
33725
33726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33727 conftest$ac_exeext conftest.$ac_ext
33728
33729 LIBS="$save_LIBS"
33730 CFLAGS=$save_CFLAGS
33731 fi
33732 done
33733 fi
33734 done
33735
33736 if test "$libs_found" = 0; then
33737 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33738 echo "${ECHO_T}can't find the right libraries" >&6; }
33739 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33740 echo "$as_me: error: can't link a simple motif program" >&2;}
33741 { (exit 1); exit 1; }; }
33742 fi
33743
33744 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33745 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33746 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33747 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 else
33749 ac_check_lib_save_LIBS=$LIBS
33750 LIBS="-lSgm $LIBS"
33751 cat >conftest.$ac_ext <<_ACEOF
33752 /* confdefs.h. */
33753 _ACEOF
33754 cat confdefs.h >>conftest.$ac_ext
33755 cat >>conftest.$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757
33758 /* Override any GCC internal prototype to avoid an error.
33759 Use char because int might match the return type of a GCC
33760 builtin and then its argument prototype would still apply. */
33761 #ifdef __cplusplus
33762 extern "C"
33763 #endif
33764 char SgCreateList ();
33765 int
33766 main ()
33767 {
33768 return SgCreateList ();
33769 ;
33770 return 0;
33771 }
33772 _ACEOF
33773 rm -f conftest.$ac_objext conftest$ac_exeext
33774 if { (ac_try="$ac_link"
33775 case "(($ac_try" in
33776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33777 *) ac_try_echo=$ac_try;;
33778 esac
33779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33780 (eval "$ac_link") 2>conftest.er1
33781 ac_status=$?
33782 grep -v '^ *+' conftest.er1 >conftest.err
33783 rm -f conftest.er1
33784 cat conftest.err >&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } && {
33787 test -z "$ac_c_werror_flag" ||
33788 test ! -s conftest.err
33789 } && test -s conftest$ac_exeext &&
33790 $as_test_x conftest$ac_exeext; then
33791 ac_cv_lib_Sgm_SgCreateList=yes
33792 else
33793 echo "$as_me: failed program was:" >&5
33794 sed 's/^/| /' conftest.$ac_ext >&5
33795
33796 ac_cv_lib_Sgm_SgCreateList=no
33797 fi
33798
33799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33800 conftest$ac_exeext conftest.$ac_ext
33801 LIBS=$ac_check_lib_save_LIBS
33802 fi
33803 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33804 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33805 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33806 libsgm_link=" -lSgm"
33807 fi
33808
33809
33810 save_CFLAGS=$CFLAGS
33811 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33812
33813 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33814 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33815 if test "${wx_cv_lib_motif2+set}" = set; then
33816 echo $ECHO_N "(cached) $ECHO_C" >&6
33817 else
33818 cat >conftest.$ac_ext <<_ACEOF
33819 /* confdefs.h. */
33820 _ACEOF
33821 cat confdefs.h >>conftest.$ac_ext
33822 cat >>conftest.$ac_ext <<_ACEOF
33823 /* end confdefs.h. */
33824
33825 #include <Xm/Xm.h>
33826
33827 int
33828 main ()
33829 {
33830
33831 #if XmVersion < 2000
33832 Not Motif 2
33833 #endif
33834
33835 ;
33836 return 0;
33837 }
33838 _ACEOF
33839 rm -f conftest.$ac_objext
33840 if { (ac_try="$ac_compile"
33841 case "(($ac_try" in
33842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33843 *) ac_try_echo=$ac_try;;
33844 esac
33845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33846 (eval "$ac_compile") 2>conftest.er1
33847 ac_status=$?
33848 grep -v '^ *+' conftest.er1 >conftest.err
33849 rm -f conftest.er1
33850 cat conftest.err >&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } && {
33853 test -z "$ac_c_werror_flag" ||
33854 test ! -s conftest.err
33855 } && test -s conftest.$ac_objext; then
33856 wx_cv_lib_motif2="yes"
33857 else
33858 echo "$as_me: failed program was:" >&5
33859 sed 's/^/| /' conftest.$ac_ext >&5
33860
33861 wx_cv_lib_motif2="no"
33862 fi
33863
33864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33865 fi
33866 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33867 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33868 if test "$wx_cv_lib_motif2" = "yes"; then
33869 cat >>confdefs.h <<\_ACEOF
33870 #define __WXMOTIF20__ 1
33871 _ACEOF
33872
33873 else
33874 cat >>confdefs.h <<\_ACEOF
33875 #define __WXMOTIF20__ 0
33876 _ACEOF
33877
33878 fi
33879
33880 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33881 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33882 if test "${wx_cv_lib_lesstif+set}" = set; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 else
33885 cat >conftest.$ac_ext <<_ACEOF
33886 /* confdefs.h. */
33887 _ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891
33892 #include <Xm/Xm.h>
33893
33894 int
33895 main ()
33896 {
33897
33898 #if !defined(LesstifVersion) || LesstifVersion <= 0
33899 Not Lesstif
33900 #endif
33901
33902 ;
33903 return 0;
33904 }
33905 _ACEOF
33906 rm -f conftest.$ac_objext
33907 if { (ac_try="$ac_compile"
33908 case "(($ac_try" in
33909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33910 *) ac_try_echo=$ac_try;;
33911 esac
33912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33913 (eval "$ac_compile") 2>conftest.er1
33914 ac_status=$?
33915 grep -v '^ *+' conftest.er1 >conftest.err
33916 rm -f conftest.er1
33917 cat conftest.err >&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); } && {
33920 test -z "$ac_c_werror_flag" ||
33921 test ! -s conftest.err
33922 } && test -s conftest.$ac_objext; then
33923 wx_cv_lib_lesstif="yes"
33924 else
33925 echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.$ac_ext >&5
33927
33928 wx_cv_lib_lesstif="no"
33929 fi
33930
33931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33932
33933 fi
33934 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33935 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33936 if test "$wx_cv_lib_lesstif" = "yes"; then
33937 cat >>confdefs.h <<\_ACEOF
33938 #define __WXLESSTIF__ 1
33939 _ACEOF
33940
33941 else
33942 cat >>confdefs.h <<\_ACEOF
33943 #define __WXLESSTIF__ 0
33944 _ACEOF
33945
33946 fi
33947
33948 CFLAGS=$save_CFLAGS
33949
33950 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33951 TOOLKIT=MOTIF
33952 GUIDIST=MOTIF_DIST
33953 fi
33954
33955 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33956 if test "$wxUSE_LIBXPM" = "sys"; then
33957 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33958 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33959
33960 ac_find_libraries=
33961 for ac_dir in $SEARCH_LIB
33962 do
33963 for ac_extension in a so sl dylib dll.a; do
33964 if test -f "$ac_dir/libXpm.$ac_extension"; then
33965 ac_find_libraries=$ac_dir
33966 break 2
33967 fi
33968 done
33969 done
33970
33971 if test "$ac_find_libraries" != "" ; then
33972
33973 if test "$ac_find_libraries" = "default location"; then
33974 ac_path_to_link=""
33975 else
33976 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33977 result=$?
33978 if test $result = 0; then
33979 ac_path_to_link=""
33980 else
33981 ac_path_to_link=" -L$ac_find_libraries"
33982 fi
33983 fi
33984
33985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33986 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33987 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33988
33989 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33990 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33991 if test "${wx_cv_x11_xpm_h+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33993 else
33994
33995 save_CFLAGS=$CFLAGS
33996 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33997
33998 cat >conftest.$ac_ext <<_ACEOF
33999 /* confdefs.h. */
34000 _ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004
34005 #include <X11/xpm.h>
34006
34007 int
34008 main ()
34009 {
34010
34011 int version;
34012 version = XpmLibraryVersion();
34013
34014 ;
34015 return 0;
34016 }
34017 _ACEOF
34018 rm -f conftest.$ac_objext
34019 if { (ac_try="$ac_compile"
34020 case "(($ac_try" in
34021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34023 esac
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_compile") 2>conftest.er1
34026 ac_status=$?
34027 grep -v '^ *+' conftest.er1 >conftest.err
34028 rm -f conftest.er1
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } && {
34032 test -z "$ac_c_werror_flag" ||
34033 test ! -s conftest.err
34034 } && test -s conftest.$ac_objext; then
34035 wx_cv_x11_xpm_h=yes
34036 else
34037 echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34039
34040 wx_cv_x11_xpm_h=no
34041
34042 fi
34043
34044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34045
34046 CFLAGS=$save_CFLAGS
34047
34048
34049 fi
34050 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34051 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34052
34053 if test $wx_cv_x11_xpm_h = "yes"; then
34054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34055 cat >>confdefs.h <<\_ACEOF
34056 #define wxHAVE_LIB_XPM 1
34057 _ACEOF
34058
34059 else
34060 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34061 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34062 fi
34063 fi
34064
34065 fi
34066
34067 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34068 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34069 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 else
34072 ac_check_lib_save_LIBS=$LIBS
34073 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080
34081 /* Override any GCC internal prototype to avoid an error.
34082 Use char because int might match the return type of a GCC
34083 builtin and then its argument prototype would still apply. */
34084 #ifdef __cplusplus
34085 extern "C"
34086 #endif
34087 char XShapeQueryExtension ();
34088 int
34089 main ()
34090 {
34091 return XShapeQueryExtension ();
34092 ;
34093 return 0;
34094 }
34095 _ACEOF
34096 rm -f conftest.$ac_objext conftest$ac_exeext
34097 if { (ac_try="$ac_link"
34098 case "(($ac_try" in
34099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34100 *) ac_try_echo=$ac_try;;
34101 esac
34102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34103 (eval "$ac_link") 2>conftest.er1
34104 ac_status=$?
34105 grep -v '^ *+' conftest.er1 >conftest.err
34106 rm -f conftest.er1
34107 cat conftest.err >&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } && {
34110 test -z "$ac_c_werror_flag" ||
34111 test ! -s conftest.err
34112 } && test -s conftest$ac_exeext &&
34113 $as_test_x conftest$ac_exeext; then
34114 ac_cv_lib_Xext_XShapeQueryExtension=yes
34115 else
34116 echo "$as_me: failed program was:" >&5
34117 sed 's/^/| /' conftest.$ac_ext >&5
34118
34119 ac_cv_lib_Xext_XShapeQueryExtension=no
34120 fi
34121
34122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34123 conftest$ac_exeext conftest.$ac_ext
34124 LIBS=$ac_check_lib_save_LIBS
34125 fi
34126 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34127 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34128 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34129
34130 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34131 wxHAVE_XEXT_LIB=1
34132
34133 fi
34134
34135
34136 if test "$wxHAVE_XEXT_LIB" = 1; then
34137 save_CFLAGS="$CFLAGS"
34138 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34139
34140 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34141 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34142 cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h. */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148
34149 #include <X11/Xlib.h>
34150 #include <X11/extensions/shape.h>
34151
34152 int
34153 main ()
34154 {
34155
34156 int dummy1, dummy2;
34157 XShapeQueryExtension((Display*)NULL,
34158 (int*)NULL, (int*)NULL);
34159
34160 ;
34161 return 0;
34162 }
34163 _ACEOF
34164 rm -f conftest.$ac_objext
34165 if { (ac_try="$ac_compile"
34166 case "(($ac_try" in
34167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34168 *) ac_try_echo=$ac_try;;
34169 esac
34170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34171 (eval "$ac_compile") 2>conftest.er1
34172 ac_status=$?
34173 grep -v '^ *+' conftest.er1 >conftest.err
34174 rm -f conftest.er1
34175 cat conftest.err >&5
34176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34177 (exit $ac_status); } && {
34178 test -z "$ac_c_werror_flag" ||
34179 test ! -s conftest.err
34180 } && test -s conftest.$ac_objext; then
34181
34182 cat >>confdefs.h <<\_ACEOF
34183 #define HAVE_XSHAPE 1
34184 _ACEOF
34185
34186 { echo "$as_me:$LINENO: result: found" >&5
34187 echo "${ECHO_T}found" >&6; }
34188
34189 else
34190 echo "$as_me: failed program was:" >&5
34191 sed 's/^/| /' conftest.$ac_ext >&5
34192
34193
34194 { echo "$as_me:$LINENO: result: not found" >&5
34195 echo "${ECHO_T}not found" >&6; }
34196
34197 fi
34198
34199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34200 CFLAGS="$save_CFLAGS"
34201
34202 fi
34203 fi
34204
34205 if test "$wxUSE_OSX_CARBON" = 1; then
34206 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34207 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34208 if test "$GCC" = yes; then
34209 { echo "$as_me:$LINENO: result: gcc" >&5
34210 echo "${ECHO_T}gcc" >&6; }
34211 CPPFLAGS_PASCAL="-fpascal-strings"
34212 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34213 { echo "$as_me:$LINENO: result: xlc" >&5
34214 echo "${ECHO_T}xlc" >&6; }
34215 CPPFLAGS_PASCAL="-qmacpstr"
34216 else
34217 { echo "$as_me:$LINENO: result: none" >&5
34218 echo "${ECHO_T}none" >&6; }
34219 fi
34220
34221 if test "x$wxUSE_UNIX" = "xyes"; then
34222 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34223 else
34224 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34225 fi
34226
34227 TOOLKIT=OSX_CARBON
34228 GUIDIST=OSX_CARBON_DIST
34229 WXBASEPORT="_carbon"
34230
34231 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34232 fi
34233
34234 if test "$wxUSE_OSX_COCOA" = 1; then
34235 TOOLKIT=OSX_COCOA
34236 GUIDIST=OSX_COCOA_DIST
34237
34238 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34239 fi
34240
34241 if test "$wxUSE_OSX_IPHONE" = 1; then
34242 TOOLKIT=OSX_IPHONE
34243 fi
34244
34245 if test "$wxUSE_OLD_COCOA" = 1; then
34246 TOOLKIT=COCOA
34247 GUIDIST=COCOA_DIST
34248 fi
34249
34250 if test "$wxUSE_PM" = 1; then
34251 TOOLKIT=PM
34252 GUIDIST=PM_DIST
34253 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34254 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34255 if test "${wx_cv_spbcdata+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34258
34259 cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h. */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265
34266 #define INCL_PM
34267 #include <os2.h>
34268
34269 int
34270 main ()
34271 {
34272
34273 SPBCDATA test;
34274
34275 ;
34276 return 0;
34277 }
34278 _ACEOF
34279 rm -f conftest.$ac_objext
34280 if { (ac_try="$ac_compile"
34281 case "(($ac_try" in
34282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34283 *) ac_try_echo=$ac_try;;
34284 esac
34285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34286 (eval "$ac_compile") 2>conftest.er1
34287 ac_status=$?
34288 grep -v '^ *+' conftest.er1 >conftest.err
34289 rm -f conftest.er1
34290 cat conftest.err >&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } && {
34293 test -z "$ac_c_werror_flag" ||
34294 test ! -s conftest.err
34295 } && test -s conftest.$ac_objext; then
34296 wx_cv_spbcdata=yes
34297 else
34298 echo "$as_me: failed program was:" >&5
34299 sed 's/^/| /' conftest.$ac_ext >&5
34300
34301 wx_cv_spbcdata=no
34302
34303 fi
34304
34305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34306
34307
34308 fi
34309 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34310 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34311
34312 if test $wx_cv_spbcdata = "yes"; then
34313 cat >>confdefs.h <<\_ACEOF
34314 #define HAVE_SPBCDATA 1
34315 _ACEOF
34316
34317 fi
34318 fi
34319
34320 if test "$TOOLKIT" = "PM" ; then
34321 TOOLKIT_DIR="os2"
34322 else
34323 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34324 fi
34325
34326 if test "$wxUSE_UNIVERSAL" = "yes"; then
34327 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34328 WIDGET_SET=univ
34329 fi
34330
34331 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34332 DISTDIR="wx\$(TOOLKIT)"
34333 else
34334 USE_GUI=0
34335
34336 TOOLKIT_DIR="base"
34337
34338 if test "$USE_WIN32" = 1 ; then
34339 TOOLKIT="MSW"
34340 fi
34341
34342 GUIDIST="BASE_DIST"
34343 DISTDIR="wxBase"
34344 fi
34345
34346
34347
34348 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34349 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34350 wxUSE_UNICODE_UTF8=yes
34351 elif test "$USE_OS2" = 1 ; then
34352 wxUSE_UNICODE_UTF8=yes
34353 else
34354 wxUSE_UNICODE_UTF8=no
34355 fi
34356 fi
34357
34358
34359 if test "$wxUSE_GUI" = "yes"; then
34360 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34361
34362 for ac_header in X11/Xlib.h
34363 do
34364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34368 echo $ECHO_N "(cached) $ECHO_C" >&6
34369 else
34370 cat >conftest.$ac_ext <<_ACEOF
34371 /* confdefs.h. */
34372 _ACEOF
34373 cat confdefs.h >>conftest.$ac_ext
34374 cat >>conftest.$ac_ext <<_ACEOF
34375 /* end confdefs.h. */
34376
34377
34378 #include <$ac_header>
34379 _ACEOF
34380 rm -f conftest.$ac_objext
34381 if { (ac_try="$ac_compile"
34382 case "(($ac_try" in
34383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34384 *) ac_try_echo=$ac_try;;
34385 esac
34386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34387 (eval "$ac_compile") 2>conftest.er1
34388 ac_status=$?
34389 grep -v '^ *+' conftest.er1 >conftest.err
34390 rm -f conftest.er1
34391 cat conftest.err >&5
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); } && {
34394 test -z "$ac_c_werror_flag" ||
34395 test ! -s conftest.err
34396 } && test -s conftest.$ac_objext; then
34397 eval "$as_ac_Header=yes"
34398 else
34399 echo "$as_me: failed program was:" >&5
34400 sed 's/^/| /' conftest.$ac_ext >&5
34401
34402 eval "$as_ac_Header=no"
34403 fi
34404
34405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34406 fi
34407 ac_res=`eval echo '${'$as_ac_Header'}'`
34408 { echo "$as_me:$LINENO: result: $ac_res" >&5
34409 echo "${ECHO_T}$ac_res" >&6; }
34410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34411 cat >>confdefs.h <<_ACEOF
34412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34413 _ACEOF
34414
34415 fi
34416
34417 done
34418
34419
34420 for ac_header in X11/XKBlib.h
34421 do
34422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34426 echo $ECHO_N "(cached) $ECHO_C" >&6
34427 else
34428 cat >conftest.$ac_ext <<_ACEOF
34429 /* confdefs.h. */
34430 _ACEOF
34431 cat confdefs.h >>conftest.$ac_ext
34432 cat >>conftest.$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34434
34435 #if HAVE_X11_XLIB_H
34436 #include <X11/Xlib.h>
34437 #endif
34438
34439
34440 #include <$ac_header>
34441 _ACEOF
34442 rm -f conftest.$ac_objext
34443 if { (ac_try="$ac_compile"
34444 case "(($ac_try" in
34445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34446 *) ac_try_echo=$ac_try;;
34447 esac
34448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34449 (eval "$ac_compile") 2>conftest.er1
34450 ac_status=$?
34451 grep -v '^ *+' conftest.er1 >conftest.err
34452 rm -f conftest.er1
34453 cat conftest.err >&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); } && {
34456 test -z "$ac_c_werror_flag" ||
34457 test ! -s conftest.err
34458 } && test -s conftest.$ac_objext; then
34459 eval "$as_ac_Header=yes"
34460 else
34461 echo "$as_me: failed program was:" >&5
34462 sed 's/^/| /' conftest.$ac_ext >&5
34463
34464 eval "$as_ac_Header=no"
34465 fi
34466
34467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34468 fi
34469 ac_res=`eval echo '${'$as_ac_Header'}'`
34470 { echo "$as_me:$LINENO: result: $ac_res" >&5
34471 echo "${ECHO_T}$ac_res" >&6; }
34472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34473 cat >>confdefs.h <<_ACEOF
34474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34475 _ACEOF
34476
34477 fi
34478
34479 done
34480
34481 fi
34482 fi
34483
34484
34485
34486 USE_XINERAMA=0
34487 if test "$wxUSE_DISPLAY" = "yes"; then
34488 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34489
34490 ac_find_libraries=
34491
34492 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
34493
34494
34495 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34496 if test -n "$ac_tool_prefix"; then
34497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34498 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34502 echo $ECHO_N "(cached) $ECHO_C" >&6
34503 else
34504 case $PKG_CONFIG in
34505 [\\/]* | ?:[\\/]*)
34506 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34507 ;;
34508 *)
34509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34510 for as_dir in $PATH
34511 do
34512 IFS=$as_save_IFS
34513 test -z "$as_dir" && as_dir=.
34514 for ac_exec_ext in '' $ac_executable_extensions; do
34515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34516 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34518 break 2
34519 fi
34520 done
34521 done
34522 IFS=$as_save_IFS
34523
34524 ;;
34525 esac
34526 fi
34527 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34528 if test -n "$PKG_CONFIG"; then
34529 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34530 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34531 else
34532 { echo "$as_me:$LINENO: result: no" >&5
34533 echo "${ECHO_T}no" >&6; }
34534 fi
34535
34536
34537 fi
34538 if test -z "$ac_cv_path_PKG_CONFIG"; then
34539 ac_pt_PKG_CONFIG=$PKG_CONFIG
34540 # Extract the first word of "pkg-config", so it can be a program name with args.
34541 set dummy pkg-config; ac_word=$2
34542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34544 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 else
34547 case $ac_pt_PKG_CONFIG in
34548 [\\/]* | ?:[\\/]*)
34549 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34550 ;;
34551 *)
34552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34553 for as_dir in $PATH
34554 do
34555 IFS=$as_save_IFS
34556 test -z "$as_dir" && as_dir=.
34557 for ac_exec_ext in '' $ac_executable_extensions; do
34558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34559 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34561 break 2
34562 fi
34563 done
34564 done
34565 IFS=$as_save_IFS
34566
34567 ;;
34568 esac
34569 fi
34570 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34571 if test -n "$ac_pt_PKG_CONFIG"; then
34572 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34573 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34574 else
34575 { echo "$as_me:$LINENO: result: no" >&5
34576 echo "${ECHO_T}no" >&6; }
34577 fi
34578
34579 if test "x$ac_pt_PKG_CONFIG" = x; then
34580 PKG_CONFIG=""
34581 else
34582 case $cross_compiling:$ac_tool_warned in
34583 yes:)
34584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34585 whose name does not start with the host triplet. If you think this
34586 configuration is useful to you, please write to autoconf@gnu.org." >&5
34587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34588 whose name does not start with the host triplet. If you think this
34589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34590 ac_tool_warned=yes ;;
34591 esac
34592 PKG_CONFIG=$ac_pt_PKG_CONFIG
34593 fi
34594 else
34595 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34596 fi
34597
34598 fi
34599 if test -n "$PKG_CONFIG"; then
34600 _pkg_min_version=0.9.0
34601 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34602 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34604 { echo "$as_me:$LINENO: result: yes" >&5
34605 echo "${ECHO_T}yes" >&6; }
34606 else
34607 { echo "$as_me:$LINENO: result: no" >&5
34608 echo "${ECHO_T}no" >&6; }
34609 PKG_CONFIG=""
34610 fi
34611
34612 fi 6> /dev/null
34613
34614 pkg_failed=no
34615 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34616 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34617
34618 if test -n "$PKG_CONFIG"; then
34619 if test -n "$Xinerama_CFLAGS"; then
34620 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34621 else
34622 if test -n "$PKG_CONFIG" && \
34623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34624 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34625 ac_status=$?
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; then
34628 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34629 else
34630 pkg_failed=yes
34631 fi
34632 fi
34633 else
34634 pkg_failed=untried
34635 fi
34636 if test -n "$PKG_CONFIG"; then
34637 if test -n "$Xinerama_LIBS"; then
34638 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34639 else
34640 if test -n "$PKG_CONFIG" && \
34641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34642 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34643 ac_status=$?
34644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34645 (exit $ac_status); }; then
34646 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34647 else
34648 pkg_failed=yes
34649 fi
34650 fi
34651 else
34652 pkg_failed=untried
34653 fi
34654
34655
34656
34657 if test $pkg_failed = yes; then
34658
34659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34660 _pkg_short_errors_supported=yes
34661 else
34662 _pkg_short_errors_supported=no
34663 fi
34664 if test $_pkg_short_errors_supported = yes; then
34665 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34666 else
34667 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34668 fi
34669 # Put the nasty error message in config.log where it belongs
34670 echo "$Xinerama_PKG_ERRORS" >&5
34671
34672
34673 if test "x$ac_find_libraries" = "x"; then
34674 if test "xXineramaQueryScreens" != "x"; then
34675 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34676 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34677 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34678 echo $ECHO_N "(cached) $ECHO_C" >&6
34679 else
34680 ac_check_lib_save_LIBS=$LIBS
34681 LIBS="-lXinerama $LIBS"
34682 cat >conftest.$ac_ext <<_ACEOF
34683 /* confdefs.h. */
34684 _ACEOF
34685 cat confdefs.h >>conftest.$ac_ext
34686 cat >>conftest.$ac_ext <<_ACEOF
34687 /* end confdefs.h. */
34688
34689 /* Override any GCC internal prototype to avoid an error.
34690 Use char because int might match the return type of a GCC
34691 builtin and then its argument prototype would still apply. */
34692 #ifdef __cplusplus
34693 extern "C"
34694 #endif
34695 char XineramaQueryScreens ();
34696 int
34697 main ()
34698 {
34699 return XineramaQueryScreens ();
34700 ;
34701 return 0;
34702 }
34703 _ACEOF
34704 rm -f conftest.$ac_objext conftest$ac_exeext
34705 if { (ac_try="$ac_link"
34706 case "(($ac_try" in
34707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34708 *) ac_try_echo=$ac_try;;
34709 esac
34710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34711 (eval "$ac_link") 2>conftest.er1
34712 ac_status=$?
34713 grep -v '^ *+' conftest.er1 >conftest.err
34714 rm -f conftest.er1
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } && {
34718 test -z "$ac_c_werror_flag" ||
34719 test ! -s conftest.err
34720 } && test -s conftest$ac_exeext &&
34721 $as_test_x conftest$ac_exeext; then
34722 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34723 else
34724 echo "$as_me: failed program was:" >&5
34725 sed 's/^/| /' conftest.$ac_ext >&5
34726
34727 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34728 fi
34729
34730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34731 conftest$ac_exeext conftest.$ac_ext
34732 LIBS=$ac_check_lib_save_LIBS
34733 fi
34734 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34735 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34736 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34737 ac_find_libraries="std"
34738 fi
34739
34740 fi
34741 fi
34742
34743 if test "x$ac_find_libraries" = "x"; then
34744 { echo "$as_me:$LINENO: checking elsewhere" >&5
34745 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34746
34747 ac_find_libraries=
34748 for ac_dir in $SEARCH_LIB
34749 do
34750 for ac_extension in a so sl dylib dll.a; do
34751 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34752 ac_find_libraries=$ac_dir
34753 break 2
34754 fi
34755 done
34756 done
34757
34758 if test "x$ac_find_libraries" != "x"; then
34759 { echo "$as_me:$LINENO: result: yes" >&5
34760 echo "${ECHO_T}yes" >&6; }
34761 else
34762 { echo "$as_me:$LINENO: result: no" >&5
34763 echo "${ECHO_T}no" >&6; }
34764 fi
34765 fi
34766
34767 elif test $pkg_failed = untried; then
34768
34769 if test "x$ac_find_libraries" = "x"; then
34770 if test "xXineramaQueryScreens" != "x"; then
34771 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34772 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34773 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34774 echo $ECHO_N "(cached) $ECHO_C" >&6
34775 else
34776 ac_check_lib_save_LIBS=$LIBS
34777 LIBS="-lXinerama $LIBS"
34778 cat >conftest.$ac_ext <<_ACEOF
34779 /* confdefs.h. */
34780 _ACEOF
34781 cat confdefs.h >>conftest.$ac_ext
34782 cat >>conftest.$ac_ext <<_ACEOF
34783 /* end confdefs.h. */
34784
34785 /* Override any GCC internal prototype to avoid an error.
34786 Use char because int might match the return type of a GCC
34787 builtin and then its argument prototype would still apply. */
34788 #ifdef __cplusplus
34789 extern "C"
34790 #endif
34791 char XineramaQueryScreens ();
34792 int
34793 main ()
34794 {
34795 return XineramaQueryScreens ();
34796 ;
34797 return 0;
34798 }
34799 _ACEOF
34800 rm -f conftest.$ac_objext conftest$ac_exeext
34801 if { (ac_try="$ac_link"
34802 case "(($ac_try" in
34803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34804 *) ac_try_echo=$ac_try;;
34805 esac
34806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34807 (eval "$ac_link") 2>conftest.er1
34808 ac_status=$?
34809 grep -v '^ *+' conftest.er1 >conftest.err
34810 rm -f conftest.er1
34811 cat conftest.err >&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } && {
34814 test -z "$ac_c_werror_flag" ||
34815 test ! -s conftest.err
34816 } && test -s conftest$ac_exeext &&
34817 $as_test_x conftest$ac_exeext; then
34818 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34819 else
34820 echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34822
34823 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34824 fi
34825
34826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34827 conftest$ac_exeext conftest.$ac_ext
34828 LIBS=$ac_check_lib_save_LIBS
34829 fi
34830 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34831 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34832 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34833 ac_find_libraries="std"
34834 fi
34835
34836 fi
34837 fi
34838
34839 if test "x$ac_find_libraries" = "x"; then
34840 { echo "$as_me:$LINENO: checking elsewhere" >&5
34841 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34842
34843 ac_find_libraries=
34844 for ac_dir in $SEARCH_LIB
34845 do
34846 for ac_extension in a so sl dylib dll.a; do
34847 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34848 ac_find_libraries=$ac_dir
34849 break 2
34850 fi
34851 done
34852 done
34853
34854 if test "x$ac_find_libraries" != "x"; then
34855 { echo "$as_me:$LINENO: result: yes" >&5
34856 echo "${ECHO_T}yes" >&6; }
34857 else
34858 { echo "$as_me:$LINENO: result: no" >&5
34859 echo "${ECHO_T}no" >&6; }
34860 fi
34861 fi
34862
34863 else
34864 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
34865 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
34866 { echo "$as_me:$LINENO: result: yes" >&5
34867 echo "${ECHO_T}yes" >&6; }
34868
34869 ac_find_libraries="std"
34870
34871 eval ac_find_cflags=\$Xinerama_CFLAGS
34872 eval fl_libs=\$Xinerama_LIBS
34873
34874 for fl_path in $fl_libs
34875 do
34876 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34877 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
34878 fi
34879 done
34880
34881 fi
34882
34883 if test "$ac_find_libraries" != "" ; then
34884 if test "$ac_find_libraries" != "std" ; then
34885
34886 if test "$ac_find_libraries" = "default location"; then
34887 ac_path_to_link=""
34888 else
34889 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34890 result=$?
34891 if test $result = 0; then
34892 ac_path_to_link=""
34893 else
34894 ac_path_to_link=" -L$ac_find_libraries"
34895 fi
34896 fi
34897
34898 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34899 LDFLAGS="$LDFLAGS $ac_path_to_link"
34900 fi
34901 fi
34902 USE_XINERAMA=1
34903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34904 else
34905 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34906 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34907 wxUSE_DISPLAY="no"
34908 fi
34909 elif test "$wxUSE_MSW" = 1; then
34910 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34911 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34912 if test "${ac_cv_header_ddraw_h+set}" = set; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 else
34915 cat >conftest.$ac_ext <<_ACEOF
34916 /* confdefs.h. */
34917 _ACEOF
34918 cat confdefs.h >>conftest.$ac_ext
34919 cat >>conftest.$ac_ext <<_ACEOF
34920 /* end confdefs.h. */
34921 #include <windows.h>
34922
34923 #include <ddraw.h>
34924 _ACEOF
34925 rm -f conftest.$ac_objext
34926 if { (ac_try="$ac_compile"
34927 case "(($ac_try" in
34928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34929 *) ac_try_echo=$ac_try;;
34930 esac
34931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34932 (eval "$ac_compile") 2>conftest.er1
34933 ac_status=$?
34934 grep -v '^ *+' conftest.er1 >conftest.err
34935 rm -f conftest.er1
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } && {
34939 test -z "$ac_c_werror_flag" ||
34940 test ! -s conftest.err
34941 } && test -s conftest.$ac_objext; then
34942 ac_cv_header_ddraw_h=yes
34943 else
34944 echo "$as_me: failed program was:" >&5
34945 sed 's/^/| /' conftest.$ac_ext >&5
34946
34947 ac_cv_header_ddraw_h=no
34948 fi
34949
34950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34951 fi
34952 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34953 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34954
34955
34956 fi
34957 fi
34958
34959 if test "$wxUSE_DISPLAY" = "yes"; then
34960 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34961
34962 ac_find_libraries=
34963
34964 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
34965
34966
34967 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34968 if test -n "$ac_tool_prefix"; then
34969 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34970 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34973 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34975 else
34976 case $PKG_CONFIG in
34977 [\\/]* | ?:[\\/]*)
34978 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34979 ;;
34980 *)
34981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34982 for as_dir in $PATH
34983 do
34984 IFS=$as_save_IFS
34985 test -z "$as_dir" && as_dir=.
34986 for ac_exec_ext in '' $ac_executable_extensions; do
34987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34988 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34990 break 2
34991 fi
34992 done
34993 done
34994 IFS=$as_save_IFS
34995
34996 ;;
34997 esac
34998 fi
34999 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35000 if test -n "$PKG_CONFIG"; then
35001 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35002 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35003 else
35004 { echo "$as_me:$LINENO: result: no" >&5
35005 echo "${ECHO_T}no" >&6; }
35006 fi
35007
35008
35009 fi
35010 if test -z "$ac_cv_path_PKG_CONFIG"; then
35011 ac_pt_PKG_CONFIG=$PKG_CONFIG
35012 # Extract the first word of "pkg-config", so it can be a program name with args.
35013 set dummy pkg-config; ac_word=$2
35014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35016 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35018 else
35019 case $ac_pt_PKG_CONFIG in
35020 [\\/]* | ?:[\\/]*)
35021 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35022 ;;
35023 *)
35024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35025 for as_dir in $PATH
35026 do
35027 IFS=$as_save_IFS
35028 test -z "$as_dir" && as_dir=.
35029 for ac_exec_ext in '' $ac_executable_extensions; do
35030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35031 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35033 break 2
35034 fi
35035 done
35036 done
35037 IFS=$as_save_IFS
35038
35039 ;;
35040 esac
35041 fi
35042 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35043 if test -n "$ac_pt_PKG_CONFIG"; then
35044 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35045 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35046 else
35047 { echo "$as_me:$LINENO: result: no" >&5
35048 echo "${ECHO_T}no" >&6; }
35049 fi
35050
35051 if test "x$ac_pt_PKG_CONFIG" = x; then
35052 PKG_CONFIG=""
35053 else
35054 case $cross_compiling:$ac_tool_warned in
35055 yes:)
35056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35057 whose name does not start with the host triplet. If you think this
35058 configuration is useful to you, please write to autoconf@gnu.org." >&5
35059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35060 whose name does not start with the host triplet. If you think this
35061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35062 ac_tool_warned=yes ;;
35063 esac
35064 PKG_CONFIG=$ac_pt_PKG_CONFIG
35065 fi
35066 else
35067 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35068 fi
35069
35070 fi
35071 if test -n "$PKG_CONFIG"; then
35072 _pkg_min_version=0.9.0
35073 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35074 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35075 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35076 { echo "$as_me:$LINENO: result: yes" >&5
35077 echo "${ECHO_T}yes" >&6; }
35078 else
35079 { echo "$as_me:$LINENO: result: no" >&5
35080 echo "${ECHO_T}no" >&6; }
35081 PKG_CONFIG=""
35082 fi
35083
35084 fi 6> /dev/null
35085
35086 pkg_failed=no
35087 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35088 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35089
35090 if test -n "$PKG_CONFIG"; then
35091 if test -n "$Xxf86vm_CFLAGS"; then
35092 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35093 else
35094 if test -n "$PKG_CONFIG" && \
35095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35096 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35097 ac_status=$?
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; then
35100 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35101 else
35102 pkg_failed=yes
35103 fi
35104 fi
35105 else
35106 pkg_failed=untried
35107 fi
35108 if test -n "$PKG_CONFIG"; then
35109 if test -n "$Xxf86vm_LIBS"; then
35110 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35111 else
35112 if test -n "$PKG_CONFIG" && \
35113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35114 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35115 ac_status=$?
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; then
35118 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35119 else
35120 pkg_failed=yes
35121 fi
35122 fi
35123 else
35124 pkg_failed=untried
35125 fi
35126
35127
35128
35129 if test $pkg_failed = yes; then
35130
35131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35132 _pkg_short_errors_supported=yes
35133 else
35134 _pkg_short_errors_supported=no
35135 fi
35136 if test $_pkg_short_errors_supported = yes; then
35137 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35138 else
35139 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35140 fi
35141 # Put the nasty error message in config.log where it belongs
35142 echo "$Xxf86vm_PKG_ERRORS" >&5
35143
35144
35145 if test "x$ac_find_libraries" = "x"; then
35146 if test "xXF86VidModeQueryExtension" != "x"; then
35147 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35148 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35149 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35151 else
35152 ac_check_lib_save_LIBS=$LIBS
35153 LIBS="-lXxf86vm $LIBS"
35154 cat >conftest.$ac_ext <<_ACEOF
35155 /* confdefs.h. */
35156 _ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160
35161 /* Override any GCC internal prototype to avoid an error.
35162 Use char because int might match the return type of a GCC
35163 builtin and then its argument prototype would still apply. */
35164 #ifdef __cplusplus
35165 extern "C"
35166 #endif
35167 char XF86VidModeQueryExtension ();
35168 int
35169 main ()
35170 {
35171 return XF86VidModeQueryExtension ();
35172 ;
35173 return 0;
35174 }
35175 _ACEOF
35176 rm -f conftest.$ac_objext conftest$ac_exeext
35177 if { (ac_try="$ac_link"
35178 case "(($ac_try" in
35179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35180 *) ac_try_echo=$ac_try;;
35181 esac
35182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35183 (eval "$ac_link") 2>conftest.er1
35184 ac_status=$?
35185 grep -v '^ *+' conftest.er1 >conftest.err
35186 rm -f conftest.er1
35187 cat conftest.err >&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } && {
35190 test -z "$ac_c_werror_flag" ||
35191 test ! -s conftest.err
35192 } && test -s conftest$ac_exeext &&
35193 $as_test_x conftest$ac_exeext; then
35194 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35195 else
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.$ac_ext >&5
35198
35199 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35200 fi
35201
35202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35203 conftest$ac_exeext conftest.$ac_ext
35204 LIBS=$ac_check_lib_save_LIBS
35205 fi
35206 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35207 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35208 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35209 ac_find_libraries="std"
35210 fi
35211
35212 fi
35213 fi
35214
35215 if test "x$ac_find_libraries" = "x"; then
35216 { echo "$as_me:$LINENO: checking elsewhere" >&5
35217 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35218
35219 ac_find_libraries=
35220 for ac_dir in $SEARCH_LIB
35221 do
35222 for ac_extension in a so sl dylib dll.a; do
35223 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35224 ac_find_libraries=$ac_dir
35225 break 2
35226 fi
35227 done
35228 done
35229
35230 if test "x$ac_find_libraries" != "x"; then
35231 { echo "$as_me:$LINENO: result: yes" >&5
35232 echo "${ECHO_T}yes" >&6; }
35233 else
35234 { echo "$as_me:$LINENO: result: no" >&5
35235 echo "${ECHO_T}no" >&6; }
35236 fi
35237 fi
35238
35239 elif test $pkg_failed = untried; then
35240
35241 if test "x$ac_find_libraries" = "x"; then
35242 if test "xXF86VidModeQueryExtension" != "x"; then
35243 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35244 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35245 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35247 else
35248 ac_check_lib_save_LIBS=$LIBS
35249 LIBS="-lXxf86vm $LIBS"
35250 cat >conftest.$ac_ext <<_ACEOF
35251 /* confdefs.h. */
35252 _ACEOF
35253 cat confdefs.h >>conftest.$ac_ext
35254 cat >>conftest.$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35256
35257 /* Override any GCC internal prototype to avoid an error.
35258 Use char because int might match the return type of a GCC
35259 builtin and then its argument prototype would still apply. */
35260 #ifdef __cplusplus
35261 extern "C"
35262 #endif
35263 char XF86VidModeQueryExtension ();
35264 int
35265 main ()
35266 {
35267 return XF86VidModeQueryExtension ();
35268 ;
35269 return 0;
35270 }
35271 _ACEOF
35272 rm -f conftest.$ac_objext conftest$ac_exeext
35273 if { (ac_try="$ac_link"
35274 case "(($ac_try" in
35275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35276 *) ac_try_echo=$ac_try;;
35277 esac
35278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35279 (eval "$ac_link") 2>conftest.er1
35280 ac_status=$?
35281 grep -v '^ *+' conftest.er1 >conftest.err
35282 rm -f conftest.er1
35283 cat conftest.err >&5
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); } && {
35286 test -z "$ac_c_werror_flag" ||
35287 test ! -s conftest.err
35288 } && test -s conftest$ac_exeext &&
35289 $as_test_x conftest$ac_exeext; then
35290 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35291 else
35292 echo "$as_me: failed program was:" >&5
35293 sed 's/^/| /' conftest.$ac_ext >&5
35294
35295 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35296 fi
35297
35298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35299 conftest$ac_exeext conftest.$ac_ext
35300 LIBS=$ac_check_lib_save_LIBS
35301 fi
35302 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35303 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35304 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35305 ac_find_libraries="std"
35306 fi
35307
35308 fi
35309 fi
35310
35311 if test "x$ac_find_libraries" = "x"; then
35312 { echo "$as_me:$LINENO: checking elsewhere" >&5
35313 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35314
35315 ac_find_libraries=
35316 for ac_dir in $SEARCH_LIB
35317 do
35318 for ac_extension in a so sl dylib dll.a; do
35319 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35320 ac_find_libraries=$ac_dir
35321 break 2
35322 fi
35323 done
35324 done
35325
35326 if test "x$ac_find_libraries" != "x"; then
35327 { echo "$as_me:$LINENO: result: yes" >&5
35328 echo "${ECHO_T}yes" >&6; }
35329 else
35330 { echo "$as_me:$LINENO: result: no" >&5
35331 echo "${ECHO_T}no" >&6; }
35332 fi
35333 fi
35334
35335 else
35336 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35337 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35338 { echo "$as_me:$LINENO: result: yes" >&5
35339 echo "${ECHO_T}yes" >&6; }
35340
35341 ac_find_libraries="std"
35342
35343 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35344 eval fl_libs=\$Xxf86vm_LIBS
35345
35346 for fl_path in $fl_libs
35347 do
35348 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35349 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35350 fi
35351 done
35352
35353 fi
35354
35355 if test "$ac_find_libraries" != "" ; then
35356
35357 for ac_header in X11/extensions/xf86vmode.h
35358 do
35359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35360 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35363 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 else
35365 cat >conftest.$ac_ext <<_ACEOF
35366 /* confdefs.h. */
35367 _ACEOF
35368 cat confdefs.h >>conftest.$ac_ext
35369 cat >>conftest.$ac_ext <<_ACEOF
35370 /* end confdefs.h. */
35371
35372 #if HAVE_X11_XLIB_H
35373 #include <X11/Xlib.h>
35374 #endif
35375
35376
35377 #include <$ac_header>
35378 _ACEOF
35379 rm -f conftest.$ac_objext
35380 if { (ac_try="$ac_compile"
35381 case "(($ac_try" in
35382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35383 *) ac_try_echo=$ac_try;;
35384 esac
35385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35386 (eval "$ac_compile") 2>conftest.er1
35387 ac_status=$?
35388 grep -v '^ *+' conftest.er1 >conftest.err
35389 rm -f conftest.er1
35390 cat conftest.err >&5
35391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35392 (exit $ac_status); } && {
35393 test -z "$ac_c_werror_flag" ||
35394 test ! -s conftest.err
35395 } && test -s conftest.$ac_objext; then
35396 eval "$as_ac_Header=yes"
35397 else
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.$ac_ext >&5
35400
35401 eval "$as_ac_Header=no"
35402 fi
35403
35404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35405 fi
35406 ac_res=`eval echo '${'$as_ac_Header'}'`
35407 { echo "$as_me:$LINENO: result: $ac_res" >&5
35408 echo "${ECHO_T}$ac_res" >&6; }
35409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35410 cat >>confdefs.h <<_ACEOF
35411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35412 _ACEOF
35413
35414 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35415
35416 fi
35417
35418 done
35419
35420 fi
35421 fi
35422 fi
35423
35424 if test "$wxUSE_DETECT_SM" = "yes"; then
35425 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35426
35427 ac_find_libraries=
35428
35429 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
35430
35431
35432 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35433 if test -n "$ac_tool_prefix"; then
35434 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35435 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35438 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
35440 else
35441 case $PKG_CONFIG in
35442 [\\/]* | ?:[\\/]*)
35443 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35444 ;;
35445 *)
35446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35447 for as_dir in $PATH
35448 do
35449 IFS=$as_save_IFS
35450 test -z "$as_dir" && as_dir=.
35451 for ac_exec_ext in '' $ac_executable_extensions; do
35452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35453 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35455 break 2
35456 fi
35457 done
35458 done
35459 IFS=$as_save_IFS
35460
35461 ;;
35462 esac
35463 fi
35464 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35465 if test -n "$PKG_CONFIG"; then
35466 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35467 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35468 else
35469 { echo "$as_me:$LINENO: result: no" >&5
35470 echo "${ECHO_T}no" >&6; }
35471 fi
35472
35473
35474 fi
35475 if test -z "$ac_cv_path_PKG_CONFIG"; then
35476 ac_pt_PKG_CONFIG=$PKG_CONFIG
35477 # Extract the first word of "pkg-config", so it can be a program name with args.
35478 set dummy pkg-config; ac_word=$2
35479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35481 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35483 else
35484 case $ac_pt_PKG_CONFIG in
35485 [\\/]* | ?:[\\/]*)
35486 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35487 ;;
35488 *)
35489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35490 for as_dir in $PATH
35491 do
35492 IFS=$as_save_IFS
35493 test -z "$as_dir" && as_dir=.
35494 for ac_exec_ext in '' $ac_executable_extensions; do
35495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35496 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35498 break 2
35499 fi
35500 done
35501 done
35502 IFS=$as_save_IFS
35503
35504 ;;
35505 esac
35506 fi
35507 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35508 if test -n "$ac_pt_PKG_CONFIG"; then
35509 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35510 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35511 else
35512 { echo "$as_me:$LINENO: result: no" >&5
35513 echo "${ECHO_T}no" >&6; }
35514 fi
35515
35516 if test "x$ac_pt_PKG_CONFIG" = x; then
35517 PKG_CONFIG=""
35518 else
35519 case $cross_compiling:$ac_tool_warned in
35520 yes:)
35521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35522 whose name does not start with the host triplet. If you think this
35523 configuration is useful to you, please write to autoconf@gnu.org." >&5
35524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35525 whose name does not start with the host triplet. If you think this
35526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35527 ac_tool_warned=yes ;;
35528 esac
35529 PKG_CONFIG=$ac_pt_PKG_CONFIG
35530 fi
35531 else
35532 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35533 fi
35534
35535 fi
35536 if test -n "$PKG_CONFIG"; then
35537 _pkg_min_version=0.9.0
35538 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35539 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35540 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35541 { echo "$as_me:$LINENO: result: yes" >&5
35542 echo "${ECHO_T}yes" >&6; }
35543 else
35544 { echo "$as_me:$LINENO: result: no" >&5
35545 echo "${ECHO_T}no" >&6; }
35546 PKG_CONFIG=""
35547 fi
35548
35549 fi 6> /dev/null
35550
35551 pkg_failed=no
35552 { echo "$as_me:$LINENO: checking for SM" >&5
35553 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35554
35555 if test -n "$PKG_CONFIG"; then
35556 if test -n "$SM_CFLAGS"; then
35557 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35558 else
35559 if test -n "$PKG_CONFIG" && \
35560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35561 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35562 ac_status=$?
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; then
35565 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35566 else
35567 pkg_failed=yes
35568 fi
35569 fi
35570 else
35571 pkg_failed=untried
35572 fi
35573 if test -n "$PKG_CONFIG"; then
35574 if test -n "$SM_LIBS"; then
35575 pkg_cv_SM_LIBS="$SM_LIBS"
35576 else
35577 if test -n "$PKG_CONFIG" && \
35578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35579 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35580 ac_status=$?
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); }; then
35583 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35584 else
35585 pkg_failed=yes
35586 fi
35587 fi
35588 else
35589 pkg_failed=untried
35590 fi
35591
35592
35593
35594 if test $pkg_failed = yes; then
35595
35596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35597 _pkg_short_errors_supported=yes
35598 else
35599 _pkg_short_errors_supported=no
35600 fi
35601 if test $_pkg_short_errors_supported = yes; then
35602 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35603 else
35604 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35605 fi
35606 # Put the nasty error message in config.log where it belongs
35607 echo "$SM_PKG_ERRORS" >&5
35608
35609
35610 if test "x$ac_find_libraries" = "x"; then
35611 if test "xSmcOpenConnection" != "x"; then
35612 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35613 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35614 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35615 echo $ECHO_N "(cached) $ECHO_C" >&6
35616 else
35617 ac_check_lib_save_LIBS=$LIBS
35618 LIBS="-lSM $LIBS"
35619 cat >conftest.$ac_ext <<_ACEOF
35620 /* confdefs.h. */
35621 _ACEOF
35622 cat confdefs.h >>conftest.$ac_ext
35623 cat >>conftest.$ac_ext <<_ACEOF
35624 /* end confdefs.h. */
35625
35626 /* Override any GCC internal prototype to avoid an error.
35627 Use char because int might match the return type of a GCC
35628 builtin and then its argument prototype would still apply. */
35629 #ifdef __cplusplus
35630 extern "C"
35631 #endif
35632 char SmcOpenConnection ();
35633 int
35634 main ()
35635 {
35636 return SmcOpenConnection ();
35637 ;
35638 return 0;
35639 }
35640 _ACEOF
35641 rm -f conftest.$ac_objext conftest$ac_exeext
35642 if { (ac_try="$ac_link"
35643 case "(($ac_try" in
35644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35645 *) ac_try_echo=$ac_try;;
35646 esac
35647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35648 (eval "$ac_link") 2>conftest.er1
35649 ac_status=$?
35650 grep -v '^ *+' conftest.er1 >conftest.err
35651 rm -f conftest.er1
35652 cat conftest.err >&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); } && {
35655 test -z "$ac_c_werror_flag" ||
35656 test ! -s conftest.err
35657 } && test -s conftest$ac_exeext &&
35658 $as_test_x conftest$ac_exeext; then
35659 ac_cv_lib_SM_SmcOpenConnection=yes
35660 else
35661 echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.$ac_ext >&5
35663
35664 ac_cv_lib_SM_SmcOpenConnection=no
35665 fi
35666
35667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35668 conftest$ac_exeext conftest.$ac_ext
35669 LIBS=$ac_check_lib_save_LIBS
35670 fi
35671 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35672 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35673 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35674 ac_find_libraries="std"
35675 fi
35676
35677 fi
35678 fi
35679
35680 if test "x$ac_find_libraries" = "x"; then
35681 { echo "$as_me:$LINENO: checking elsewhere" >&5
35682 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35683
35684 ac_find_libraries=
35685 for ac_dir in $SEARCH_LIB
35686 do
35687 for ac_extension in a so sl dylib dll.a; do
35688 if test -f "$ac_dir/libSM.$ac_extension"; then
35689 ac_find_libraries=$ac_dir
35690 break 2
35691 fi
35692 done
35693 done
35694
35695 if test "x$ac_find_libraries" != "x"; then
35696 { echo "$as_me:$LINENO: result: yes" >&5
35697 echo "${ECHO_T}yes" >&6; }
35698 else
35699 { echo "$as_me:$LINENO: result: no" >&5
35700 echo "${ECHO_T}no" >&6; }
35701 fi
35702 fi
35703
35704 elif test $pkg_failed = untried; then
35705
35706 if test "x$ac_find_libraries" = "x"; then
35707 if test "xSmcOpenConnection" != "x"; then
35708 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35709 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35710 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35711 echo $ECHO_N "(cached) $ECHO_C" >&6
35712 else
35713 ac_check_lib_save_LIBS=$LIBS
35714 LIBS="-lSM $LIBS"
35715 cat >conftest.$ac_ext <<_ACEOF
35716 /* confdefs.h. */
35717 _ACEOF
35718 cat confdefs.h >>conftest.$ac_ext
35719 cat >>conftest.$ac_ext <<_ACEOF
35720 /* end confdefs.h. */
35721
35722 /* Override any GCC internal prototype to avoid an error.
35723 Use char because int might match the return type of a GCC
35724 builtin and then its argument prototype would still apply. */
35725 #ifdef __cplusplus
35726 extern "C"
35727 #endif
35728 char SmcOpenConnection ();
35729 int
35730 main ()
35731 {
35732 return SmcOpenConnection ();
35733 ;
35734 return 0;
35735 }
35736 _ACEOF
35737 rm -f conftest.$ac_objext conftest$ac_exeext
35738 if { (ac_try="$ac_link"
35739 case "(($ac_try" in
35740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35741 *) ac_try_echo=$ac_try;;
35742 esac
35743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35744 (eval "$ac_link") 2>conftest.er1
35745 ac_status=$?
35746 grep -v '^ *+' conftest.er1 >conftest.err
35747 rm -f conftest.er1
35748 cat conftest.err >&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); } && {
35751 test -z "$ac_c_werror_flag" ||
35752 test ! -s conftest.err
35753 } && test -s conftest$ac_exeext &&
35754 $as_test_x conftest$ac_exeext; then
35755 ac_cv_lib_SM_SmcOpenConnection=yes
35756 else
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.$ac_ext >&5
35759
35760 ac_cv_lib_SM_SmcOpenConnection=no
35761 fi
35762
35763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35764 conftest$ac_exeext conftest.$ac_ext
35765 LIBS=$ac_check_lib_save_LIBS
35766 fi
35767 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35768 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35769 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35770 ac_find_libraries="std"
35771 fi
35772
35773 fi
35774 fi
35775
35776 if test "x$ac_find_libraries" = "x"; then
35777 { echo "$as_me:$LINENO: checking elsewhere" >&5
35778 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35779
35780 ac_find_libraries=
35781 for ac_dir in $SEARCH_LIB
35782 do
35783 for ac_extension in a so sl dylib dll.a; do
35784 if test -f "$ac_dir/libSM.$ac_extension"; then
35785 ac_find_libraries=$ac_dir
35786 break 2
35787 fi
35788 done
35789 done
35790
35791 if test "x$ac_find_libraries" != "x"; then
35792 { echo "$as_me:$LINENO: result: yes" >&5
35793 echo "${ECHO_T}yes" >&6; }
35794 else
35795 { echo "$as_me:$LINENO: result: no" >&5
35796 echo "${ECHO_T}no" >&6; }
35797 fi
35798 fi
35799
35800 else
35801 SM_CFLAGS=$pkg_cv_SM_CFLAGS
35802 SM_LIBS=$pkg_cv_SM_LIBS
35803 { echo "$as_me:$LINENO: result: yes" >&5
35804 echo "${ECHO_T}yes" >&6; }
35805
35806 ac_find_libraries="std"
35807
35808 eval ac_find_cflags=\$SM_CFLAGS
35809 eval fl_libs=\$SM_LIBS
35810
35811 for fl_path in $fl_libs
35812 do
35813 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35814 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35815 fi
35816 done
35817
35818 fi
35819
35820 if test "$ac_find_libraries" != "" ; then
35821 if test "$ac_find_libraries" != "std" ; then
35822
35823 if test "$ac_find_libraries" = "default location"; then
35824 ac_path_to_link=""
35825 else
35826 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35827 result=$?
35828 if test $result = 0; then
35829 ac_path_to_link=""
35830 else
35831 ac_path_to_link=" -L$ac_find_libraries"
35832 fi
35833 fi
35834
35835 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35836 LDFLAGS="$LDFLAGS $ac_path_to_link"
35837 fi
35838 fi
35839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35840 else
35841 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35842 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35843 wxUSE_DETECT_SM="no"
35844 fi
35845 else
35846 wxUSE_DETECT_SM="no"
35847 fi
35848 fi
35849
35850
35851
35852 USE_OPENGL=0
35853 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35854
35855
35856 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35857 OPENGL_LIBS="-framework OpenGL -framework AGL"
35858 elif test "$wxUSE_MSW" = 1; then
35859 OPENGL_LIBS="-lopengl32 -lglu32"
35860 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35861
35862 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35863 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35864
35865 ac_find_includes=
35866 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
35867 do
35868 if test -f "$ac_dir/GL/gl.h"; then
35869 ac_find_includes=$ac_dir
35870 break
35871 fi
35872 done
35873
35874 if test "$ac_find_includes" != "" ; then
35875 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35876 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35877
35878 if test "x$ac_find_includes" = "x/usr/include"; then
35879 ac_path_to_include=""
35880 else
35881 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35882 result=$?
35883 if test $result = 0; then
35884 ac_path_to_include=""
35885 else
35886 ac_path_to_include=" -I$ac_find_includes"
35887 fi
35888 fi
35889
35890 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35891 else
35892 { echo "$as_me:$LINENO: result: not found" >&5
35893 echo "${ECHO_T}not found" >&6; }
35894 fi
35895
35896 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35897 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35898 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35899 echo $ECHO_N "(cached) $ECHO_C" >&6
35900 else
35901 cat >conftest.$ac_ext <<_ACEOF
35902 /* confdefs.h. */
35903 _ACEOF
35904 cat confdefs.h >>conftest.$ac_ext
35905 cat >>conftest.$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35907
35908
35909 #include <GL/gl.h>
35910 _ACEOF
35911 rm -f conftest.$ac_objext
35912 if { (ac_try="$ac_compile"
35913 case "(($ac_try" in
35914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35915 *) ac_try_echo=$ac_try;;
35916 esac
35917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35918 (eval "$ac_compile") 2>conftest.er1
35919 ac_status=$?
35920 grep -v '^ *+' conftest.er1 >conftest.err
35921 rm -f conftest.er1
35922 cat conftest.err >&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && {
35925 test -z "$ac_c_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest.$ac_objext; then
35928 ac_cv_header_GL_gl_h=yes
35929 else
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.$ac_ext >&5
35932
35933 ac_cv_header_GL_gl_h=no
35934 fi
35935
35936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35937 fi
35938 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35939 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35940 if test $ac_cv_header_GL_gl_h = yes; then
35941
35942 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35943 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35944 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35946 else
35947 cat >conftest.$ac_ext <<_ACEOF
35948 /* confdefs.h. */
35949 _ACEOF
35950 cat confdefs.h >>conftest.$ac_ext
35951 cat >>conftest.$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35953
35954
35955 #include <GL/glu.h>
35956 _ACEOF
35957 rm -f conftest.$ac_objext
35958 if { (ac_try="$ac_compile"
35959 case "(($ac_try" in
35960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35961 *) ac_try_echo=$ac_try;;
35962 esac
35963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35964 (eval "$ac_compile") 2>conftest.er1
35965 ac_status=$?
35966 grep -v '^ *+' conftest.er1 >conftest.err
35967 rm -f conftest.er1
35968 cat conftest.err >&5
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); } && {
35971 test -z "$ac_c_werror_flag" ||
35972 test ! -s conftest.err
35973 } && test -s conftest.$ac_objext; then
35974 ac_cv_header_GL_glu_h=yes
35975 else
35976 echo "$as_me: failed program was:" >&5
35977 sed 's/^/| /' conftest.$ac_ext >&5
35978
35979 ac_cv_header_GL_glu_h=no
35980 fi
35981
35982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35983 fi
35984 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35985 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35986 if test $ac_cv_header_GL_glu_h = yes; then
35987
35988 found_gl=0
35989
35990
35991 ac_find_libraries=
35992
35993 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
35994
35995
35996 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35997 if test -n "$ac_tool_prefix"; then
35998 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35999 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36002 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36003 echo $ECHO_N "(cached) $ECHO_C" >&6
36004 else
36005 case $PKG_CONFIG in
36006 [\\/]* | ?:[\\/]*)
36007 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36008 ;;
36009 *)
36010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36011 for as_dir in $PATH
36012 do
36013 IFS=$as_save_IFS
36014 test -z "$as_dir" && as_dir=.
36015 for ac_exec_ext in '' $ac_executable_extensions; do
36016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36017 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36019 break 2
36020 fi
36021 done
36022 done
36023 IFS=$as_save_IFS
36024
36025 ;;
36026 esac
36027 fi
36028 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36029 if test -n "$PKG_CONFIG"; then
36030 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36031 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36032 else
36033 { echo "$as_me:$LINENO: result: no" >&5
36034 echo "${ECHO_T}no" >&6; }
36035 fi
36036
36037
36038 fi
36039 if test -z "$ac_cv_path_PKG_CONFIG"; then
36040 ac_pt_PKG_CONFIG=$PKG_CONFIG
36041 # Extract the first word of "pkg-config", so it can be a program name with args.
36042 set dummy pkg-config; ac_word=$2
36043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36045 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36046 echo $ECHO_N "(cached) $ECHO_C" >&6
36047 else
36048 case $ac_pt_PKG_CONFIG in
36049 [\\/]* | ?:[\\/]*)
36050 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36051 ;;
36052 *)
36053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36054 for as_dir in $PATH
36055 do
36056 IFS=$as_save_IFS
36057 test -z "$as_dir" && as_dir=.
36058 for ac_exec_ext in '' $ac_executable_extensions; do
36059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36060 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36062 break 2
36063 fi
36064 done
36065 done
36066 IFS=$as_save_IFS
36067
36068 ;;
36069 esac
36070 fi
36071 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36072 if test -n "$ac_pt_PKG_CONFIG"; then
36073 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36074 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36075 else
36076 { echo "$as_me:$LINENO: result: no" >&5
36077 echo "${ECHO_T}no" >&6; }
36078 fi
36079
36080 if test "x$ac_pt_PKG_CONFIG" = x; then
36081 PKG_CONFIG=""
36082 else
36083 case $cross_compiling:$ac_tool_warned in
36084 yes:)
36085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36086 whose name does not start with the host triplet. If you think this
36087 configuration is useful to you, please write to autoconf@gnu.org." >&5
36088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36089 whose name does not start with the host triplet. If you think this
36090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36091 ac_tool_warned=yes ;;
36092 esac
36093 PKG_CONFIG=$ac_pt_PKG_CONFIG
36094 fi
36095 else
36096 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36097 fi
36098
36099 fi
36100 if test -n "$PKG_CONFIG"; then
36101 _pkg_min_version=0.9.0
36102 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36103 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36104 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36105 { echo "$as_me:$LINENO: result: yes" >&5
36106 echo "${ECHO_T}yes" >&6; }
36107 else
36108 { echo "$as_me:$LINENO: result: no" >&5
36109 echo "${ECHO_T}no" >&6; }
36110 PKG_CONFIG=""
36111 fi
36112
36113 fi 6> /dev/null
36114
36115 pkg_failed=no
36116 { echo "$as_me:$LINENO: checking for GL" >&5
36117 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36118
36119 if test -n "$PKG_CONFIG"; then
36120 if test -n "$GL_CFLAGS"; then
36121 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36122 else
36123 if test -n "$PKG_CONFIG" && \
36124 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36125 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36126 ac_status=$?
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); }; then
36129 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36130 else
36131 pkg_failed=yes
36132 fi
36133 fi
36134 else
36135 pkg_failed=untried
36136 fi
36137 if test -n "$PKG_CONFIG"; then
36138 if test -n "$GL_LIBS"; then
36139 pkg_cv_GL_LIBS="$GL_LIBS"
36140 else
36141 if test -n "$PKG_CONFIG" && \
36142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36143 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36144 ac_status=$?
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; then
36147 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36148 else
36149 pkg_failed=yes
36150 fi
36151 fi
36152 else
36153 pkg_failed=untried
36154 fi
36155
36156
36157
36158 if test $pkg_failed = yes; then
36159
36160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36161 _pkg_short_errors_supported=yes
36162 else
36163 _pkg_short_errors_supported=no
36164 fi
36165 if test $_pkg_short_errors_supported = yes; then
36166 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36167 else
36168 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36169 fi
36170 # Put the nasty error message in config.log where it belongs
36171 echo "$GL_PKG_ERRORS" >&5
36172
36173
36174 if test "x$ac_find_libraries" = "x"; then
36175 if test "xglBegin" != "x"; then
36176 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36177 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36178 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36179 echo $ECHO_N "(cached) $ECHO_C" >&6
36180 else
36181 ac_check_lib_save_LIBS=$LIBS
36182 LIBS="-lGL $LIBS"
36183 cat >conftest.$ac_ext <<_ACEOF
36184 /* confdefs.h. */
36185 _ACEOF
36186 cat confdefs.h >>conftest.$ac_ext
36187 cat >>conftest.$ac_ext <<_ACEOF
36188 /* end confdefs.h. */
36189
36190 /* Override any GCC internal prototype to avoid an error.
36191 Use char because int might match the return type of a GCC
36192 builtin and then its argument prototype would still apply. */
36193 #ifdef __cplusplus
36194 extern "C"
36195 #endif
36196 char glBegin ();
36197 int
36198 main ()
36199 {
36200 return glBegin ();
36201 ;
36202 return 0;
36203 }
36204 _ACEOF
36205 rm -f conftest.$ac_objext conftest$ac_exeext
36206 if { (ac_try="$ac_link"
36207 case "(($ac_try" in
36208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36209 *) ac_try_echo=$ac_try;;
36210 esac
36211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36212 (eval "$ac_link") 2>conftest.er1
36213 ac_status=$?
36214 grep -v '^ *+' conftest.er1 >conftest.err
36215 rm -f conftest.er1
36216 cat conftest.err >&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); } && {
36219 test -z "$ac_c_werror_flag" ||
36220 test ! -s conftest.err
36221 } && test -s conftest$ac_exeext &&
36222 $as_test_x conftest$ac_exeext; then
36223 ac_cv_lib_GL_glBegin=yes
36224 else
36225 echo "$as_me: failed program was:" >&5
36226 sed 's/^/| /' conftest.$ac_ext >&5
36227
36228 ac_cv_lib_GL_glBegin=no
36229 fi
36230
36231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36232 conftest$ac_exeext conftest.$ac_ext
36233 LIBS=$ac_check_lib_save_LIBS
36234 fi
36235 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36236 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36237 if test $ac_cv_lib_GL_glBegin = yes; then
36238 ac_find_libraries="std"
36239 fi
36240
36241 fi
36242 fi
36243
36244 if test "x$ac_find_libraries" = "x"; then
36245 { echo "$as_me:$LINENO: checking elsewhere" >&5
36246 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36247
36248 ac_find_libraries=
36249 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36250 do
36251 for ac_extension in a so sl dylib dll.a; do
36252 if test -f "$ac_dir/libGL.$ac_extension"; then
36253 ac_find_libraries=$ac_dir
36254 break 2
36255 fi
36256 done
36257 done
36258
36259 if test "x$ac_find_libraries" != "x"; then
36260 { echo "$as_me:$LINENO: result: yes" >&5
36261 echo "${ECHO_T}yes" >&6; }
36262 else
36263 { echo "$as_me:$LINENO: result: no" >&5
36264 echo "${ECHO_T}no" >&6; }
36265 fi
36266 fi
36267
36268 elif test $pkg_failed = untried; then
36269
36270 if test "x$ac_find_libraries" = "x"; then
36271 if test "xglBegin" != "x"; then
36272 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36273 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36274 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36275 echo $ECHO_N "(cached) $ECHO_C" >&6
36276 else
36277 ac_check_lib_save_LIBS=$LIBS
36278 LIBS="-lGL $LIBS"
36279 cat >conftest.$ac_ext <<_ACEOF
36280 /* confdefs.h. */
36281 _ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36285
36286 /* Override any GCC internal prototype to avoid an error.
36287 Use char because int might match the return type of a GCC
36288 builtin and then its argument prototype would still apply. */
36289 #ifdef __cplusplus
36290 extern "C"
36291 #endif
36292 char glBegin ();
36293 int
36294 main ()
36295 {
36296 return glBegin ();
36297 ;
36298 return 0;
36299 }
36300 _ACEOF
36301 rm -f conftest.$ac_objext conftest$ac_exeext
36302 if { (ac_try="$ac_link"
36303 case "(($ac_try" in
36304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36305 *) ac_try_echo=$ac_try;;
36306 esac
36307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36308 (eval "$ac_link") 2>conftest.er1
36309 ac_status=$?
36310 grep -v '^ *+' conftest.er1 >conftest.err
36311 rm -f conftest.er1
36312 cat conftest.err >&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } && {
36315 test -z "$ac_c_werror_flag" ||
36316 test ! -s conftest.err
36317 } && test -s conftest$ac_exeext &&
36318 $as_test_x conftest$ac_exeext; then
36319 ac_cv_lib_GL_glBegin=yes
36320 else
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.$ac_ext >&5
36323
36324 ac_cv_lib_GL_glBegin=no
36325 fi
36326
36327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36328 conftest$ac_exeext conftest.$ac_ext
36329 LIBS=$ac_check_lib_save_LIBS
36330 fi
36331 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36332 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36333 if test $ac_cv_lib_GL_glBegin = yes; then
36334 ac_find_libraries="std"
36335 fi
36336
36337 fi
36338 fi
36339
36340 if test "x$ac_find_libraries" = "x"; then
36341 { echo "$as_me:$LINENO: checking elsewhere" >&5
36342 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36343
36344 ac_find_libraries=
36345 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36346 do
36347 for ac_extension in a so sl dylib dll.a; do
36348 if test -f "$ac_dir/libGL.$ac_extension"; then
36349 ac_find_libraries=$ac_dir
36350 break 2
36351 fi
36352 done
36353 done
36354
36355 if test "x$ac_find_libraries" != "x"; then
36356 { echo "$as_me:$LINENO: result: yes" >&5
36357 echo "${ECHO_T}yes" >&6; }
36358 else
36359 { echo "$as_me:$LINENO: result: no" >&5
36360 echo "${ECHO_T}no" >&6; }
36361 fi
36362 fi
36363
36364 else
36365 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36366 GL_LIBS=$pkg_cv_GL_LIBS
36367 { echo "$as_me:$LINENO: result: yes" >&5
36368 echo "${ECHO_T}yes" >&6; }
36369
36370 ac_find_libraries="std"
36371
36372 eval ac_find_cflags=\$GL_CFLAGS
36373 eval fl_libs=\$GL_LIBS
36374
36375 for fl_path in $fl_libs
36376 do
36377 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36378 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36379 fi
36380 done
36381
36382 fi
36383
36384 if test "$ac_find_libraries" != "" ; then
36385 if test "$ac_find_libraries" != "std" ; then
36386
36387 if test "$ac_find_libraries" = "default location"; then
36388 ac_path_to_link=""
36389 else
36390 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36391 result=$?
36392 if test $result = 0; then
36393 ac_path_to_link=""
36394 else
36395 ac_path_to_link=" -L$ac_find_libraries"
36396 fi
36397 fi
36398
36399 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36400 LDFLAGS_GL="$ac_path_to_link"
36401 fi
36402 fi
36403
36404
36405 ac_find_libraries=
36406
36407 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
36408
36409
36410 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36411 if test -n "$ac_tool_prefix"; then
36412 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36413 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36416 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36418 else
36419 case $PKG_CONFIG in
36420 [\\/]* | ?:[\\/]*)
36421 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36422 ;;
36423 *)
36424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36425 for as_dir in $PATH
36426 do
36427 IFS=$as_save_IFS
36428 test -z "$as_dir" && as_dir=.
36429 for ac_exec_ext in '' $ac_executable_extensions; do
36430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36431 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36433 break 2
36434 fi
36435 done
36436 done
36437 IFS=$as_save_IFS
36438
36439 ;;
36440 esac
36441 fi
36442 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36443 if test -n "$PKG_CONFIG"; then
36444 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36445 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36446 else
36447 { echo "$as_me:$LINENO: result: no" >&5
36448 echo "${ECHO_T}no" >&6; }
36449 fi
36450
36451
36452 fi
36453 if test -z "$ac_cv_path_PKG_CONFIG"; then
36454 ac_pt_PKG_CONFIG=$PKG_CONFIG
36455 # Extract the first word of "pkg-config", so it can be a program name with args.
36456 set dummy pkg-config; ac_word=$2
36457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36459 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36460 echo $ECHO_N "(cached) $ECHO_C" >&6
36461 else
36462 case $ac_pt_PKG_CONFIG in
36463 [\\/]* | ?:[\\/]*)
36464 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36465 ;;
36466 *)
36467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36468 for as_dir in $PATH
36469 do
36470 IFS=$as_save_IFS
36471 test -z "$as_dir" && as_dir=.
36472 for ac_exec_ext in '' $ac_executable_extensions; do
36473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36474 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36476 break 2
36477 fi
36478 done
36479 done
36480 IFS=$as_save_IFS
36481
36482 ;;
36483 esac
36484 fi
36485 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36486 if test -n "$ac_pt_PKG_CONFIG"; then
36487 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36488 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36489 else
36490 { echo "$as_me:$LINENO: result: no" >&5
36491 echo "${ECHO_T}no" >&6; }
36492 fi
36493
36494 if test "x$ac_pt_PKG_CONFIG" = x; then
36495 PKG_CONFIG=""
36496 else
36497 case $cross_compiling:$ac_tool_warned in
36498 yes:)
36499 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36500 whose name does not start with the host triplet. If you think this
36501 configuration is useful to you, please write to autoconf@gnu.org." >&5
36502 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36503 whose name does not start with the host triplet. If you think this
36504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36505 ac_tool_warned=yes ;;
36506 esac
36507 PKG_CONFIG=$ac_pt_PKG_CONFIG
36508 fi
36509 else
36510 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36511 fi
36512
36513 fi
36514 if test -n "$PKG_CONFIG"; then
36515 _pkg_min_version=0.9.0
36516 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36517 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36518 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36519 { echo "$as_me:$LINENO: result: yes" >&5
36520 echo "${ECHO_T}yes" >&6; }
36521 else
36522 { echo "$as_me:$LINENO: result: no" >&5
36523 echo "${ECHO_T}no" >&6; }
36524 PKG_CONFIG=""
36525 fi
36526
36527 fi 6> /dev/null
36528
36529 pkg_failed=no
36530 { echo "$as_me:$LINENO: checking for GLU" >&5
36531 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36532
36533 if test -n "$PKG_CONFIG"; then
36534 if test -n "$GLU_CFLAGS"; then
36535 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36536 else
36537 if test -n "$PKG_CONFIG" && \
36538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36539 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36540 ac_status=$?
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); }; then
36543 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36544 else
36545 pkg_failed=yes
36546 fi
36547 fi
36548 else
36549 pkg_failed=untried
36550 fi
36551 if test -n "$PKG_CONFIG"; then
36552 if test -n "$GLU_LIBS"; then
36553 pkg_cv_GLU_LIBS="$GLU_LIBS"
36554 else
36555 if test -n "$PKG_CONFIG" && \
36556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36557 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36558 ac_status=$?
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; then
36561 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36562 else
36563 pkg_failed=yes
36564 fi
36565 fi
36566 else
36567 pkg_failed=untried
36568 fi
36569
36570
36571
36572 if test $pkg_failed = yes; then
36573
36574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36575 _pkg_short_errors_supported=yes
36576 else
36577 _pkg_short_errors_supported=no
36578 fi
36579 if test $_pkg_short_errors_supported = yes; then
36580 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36581 else
36582 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36583 fi
36584 # Put the nasty error message in config.log where it belongs
36585 echo "$GLU_PKG_ERRORS" >&5
36586
36587
36588 if test "x$ac_find_libraries" = "x"; then
36589 if test "xgluBeginCurve" != "x"; then
36590 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36591 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36592 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36593 echo $ECHO_N "(cached) $ECHO_C" >&6
36594 else
36595 ac_check_lib_save_LIBS=$LIBS
36596 LIBS="-lGLU $LIBS"
36597 cat >conftest.$ac_ext <<_ACEOF
36598 /* confdefs.h. */
36599 _ACEOF
36600 cat confdefs.h >>conftest.$ac_ext
36601 cat >>conftest.$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603
36604 /* Override any GCC internal prototype to avoid an error.
36605 Use char because int might match the return type of a GCC
36606 builtin and then its argument prototype would still apply. */
36607 #ifdef __cplusplus
36608 extern "C"
36609 #endif
36610 char gluBeginCurve ();
36611 int
36612 main ()
36613 {
36614 return gluBeginCurve ();
36615 ;
36616 return 0;
36617 }
36618 _ACEOF
36619 rm -f conftest.$ac_objext conftest$ac_exeext
36620 if { (ac_try="$ac_link"
36621 case "(($ac_try" in
36622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36623 *) ac_try_echo=$ac_try;;
36624 esac
36625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36626 (eval "$ac_link") 2>conftest.er1
36627 ac_status=$?
36628 grep -v '^ *+' conftest.er1 >conftest.err
36629 rm -f conftest.er1
36630 cat conftest.err >&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); } && {
36633 test -z "$ac_c_werror_flag" ||
36634 test ! -s conftest.err
36635 } && test -s conftest$ac_exeext &&
36636 $as_test_x conftest$ac_exeext; then
36637 ac_cv_lib_GLU_gluBeginCurve=yes
36638 else
36639 echo "$as_me: failed program was:" >&5
36640 sed 's/^/| /' conftest.$ac_ext >&5
36641
36642 ac_cv_lib_GLU_gluBeginCurve=no
36643 fi
36644
36645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36646 conftest$ac_exeext conftest.$ac_ext
36647 LIBS=$ac_check_lib_save_LIBS
36648 fi
36649 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36650 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36651 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36652 ac_find_libraries="std"
36653 fi
36654
36655 fi
36656 fi
36657
36658 if test "x$ac_find_libraries" = "x"; then
36659 { echo "$as_me:$LINENO: checking elsewhere" >&5
36660 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36661
36662 ac_find_libraries=
36663 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36664 do
36665 for ac_extension in a so sl dylib dll.a; do
36666 if test -f "$ac_dir/libGLU.$ac_extension"; then
36667 ac_find_libraries=$ac_dir
36668 break 2
36669 fi
36670 done
36671 done
36672
36673 if test "x$ac_find_libraries" != "x"; then
36674 { echo "$as_me:$LINENO: result: yes" >&5
36675 echo "${ECHO_T}yes" >&6; }
36676 else
36677 { echo "$as_me:$LINENO: result: no" >&5
36678 echo "${ECHO_T}no" >&6; }
36679 fi
36680 fi
36681
36682 elif test $pkg_failed = untried; then
36683
36684 if test "x$ac_find_libraries" = "x"; then
36685 if test "xgluBeginCurve" != "x"; then
36686 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36687 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36688 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36689 echo $ECHO_N "(cached) $ECHO_C" >&6
36690 else
36691 ac_check_lib_save_LIBS=$LIBS
36692 LIBS="-lGLU $LIBS"
36693 cat >conftest.$ac_ext <<_ACEOF
36694 /* confdefs.h. */
36695 _ACEOF
36696 cat confdefs.h >>conftest.$ac_ext
36697 cat >>conftest.$ac_ext <<_ACEOF
36698 /* end confdefs.h. */
36699
36700 /* Override any GCC internal prototype to avoid an error.
36701 Use char because int might match the return type of a GCC
36702 builtin and then its argument prototype would still apply. */
36703 #ifdef __cplusplus
36704 extern "C"
36705 #endif
36706 char gluBeginCurve ();
36707 int
36708 main ()
36709 {
36710 return gluBeginCurve ();
36711 ;
36712 return 0;
36713 }
36714 _ACEOF
36715 rm -f conftest.$ac_objext conftest$ac_exeext
36716 if { (ac_try="$ac_link"
36717 case "(($ac_try" in
36718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36719 *) ac_try_echo=$ac_try;;
36720 esac
36721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36722 (eval "$ac_link") 2>conftest.er1
36723 ac_status=$?
36724 grep -v '^ *+' conftest.er1 >conftest.err
36725 rm -f conftest.er1
36726 cat conftest.err >&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } && {
36729 test -z "$ac_c_werror_flag" ||
36730 test ! -s conftest.err
36731 } && test -s conftest$ac_exeext &&
36732 $as_test_x conftest$ac_exeext; then
36733 ac_cv_lib_GLU_gluBeginCurve=yes
36734 else
36735 echo "$as_me: failed program was:" >&5
36736 sed 's/^/| /' conftest.$ac_ext >&5
36737
36738 ac_cv_lib_GLU_gluBeginCurve=no
36739 fi
36740
36741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36742 conftest$ac_exeext conftest.$ac_ext
36743 LIBS=$ac_check_lib_save_LIBS
36744 fi
36745 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36746 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36747 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36748 ac_find_libraries="std"
36749 fi
36750
36751 fi
36752 fi
36753
36754 if test "x$ac_find_libraries" = "x"; then
36755 { echo "$as_me:$LINENO: checking elsewhere" >&5
36756 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36757
36758 ac_find_libraries=
36759 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36760 do
36761 for ac_extension in a so sl dylib dll.a; do
36762 if test -f "$ac_dir/libGLU.$ac_extension"; then
36763 ac_find_libraries=$ac_dir
36764 break 2
36765 fi
36766 done
36767 done
36768
36769 if test "x$ac_find_libraries" != "x"; then
36770 { echo "$as_me:$LINENO: result: yes" >&5
36771 echo "${ECHO_T}yes" >&6; }
36772 else
36773 { echo "$as_me:$LINENO: result: no" >&5
36774 echo "${ECHO_T}no" >&6; }
36775 fi
36776 fi
36777
36778 else
36779 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
36780 GLU_LIBS=$pkg_cv_GLU_LIBS
36781 { echo "$as_me:$LINENO: result: yes" >&5
36782 echo "${ECHO_T}yes" >&6; }
36783
36784 ac_find_libraries="std"
36785
36786 eval ac_find_cflags=\$GLU_CFLAGS
36787 eval fl_libs=\$GLU_LIBS
36788
36789 for fl_path in $fl_libs
36790 do
36791 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36792 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36793 fi
36794 done
36795
36796 fi
36797
36798 if test "$ac_find_libraries" != "" ; then
36799 if test "$ac_find_libraries" != "std" ; then
36800
36801 if test "$ac_find_libraries" = "default location"; then
36802 ac_path_to_link=""
36803 else
36804 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36805 result=$?
36806 if test $result = 0; then
36807 ac_path_to_link=""
36808 else
36809 ac_path_to_link=" -L$ac_find_libraries"
36810 fi
36811 fi
36812
36813 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36814 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36815 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36816 fi
36817 fi
36818
36819 found_gl=1
36820 OPENGL_LIBS="-lGL -lGLU"
36821 fi
36822 fi
36823
36824 if test "$found_gl" != 1; then
36825
36826 ac_find_libraries=
36827
36828 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
36829
36830
36831 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36832 if test -n "$ac_tool_prefix"; then
36833 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36834 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36837 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36839 else
36840 case $PKG_CONFIG in
36841 [\\/]* | ?:[\\/]*)
36842 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36843 ;;
36844 *)
36845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36846 for as_dir in $PATH
36847 do
36848 IFS=$as_save_IFS
36849 test -z "$as_dir" && as_dir=.
36850 for ac_exec_ext in '' $ac_executable_extensions; do
36851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36852 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36854 break 2
36855 fi
36856 done
36857 done
36858 IFS=$as_save_IFS
36859
36860 ;;
36861 esac
36862 fi
36863 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36864 if test -n "$PKG_CONFIG"; then
36865 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36866 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36867 else
36868 { echo "$as_me:$LINENO: result: no" >&5
36869 echo "${ECHO_T}no" >&6; }
36870 fi
36871
36872
36873 fi
36874 if test -z "$ac_cv_path_PKG_CONFIG"; then
36875 ac_pt_PKG_CONFIG=$PKG_CONFIG
36876 # Extract the first word of "pkg-config", so it can be a program name with args.
36877 set dummy pkg-config; ac_word=$2
36878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36880 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36881 echo $ECHO_N "(cached) $ECHO_C" >&6
36882 else
36883 case $ac_pt_PKG_CONFIG in
36884 [\\/]* | ?:[\\/]*)
36885 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36886 ;;
36887 *)
36888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36889 for as_dir in $PATH
36890 do
36891 IFS=$as_save_IFS
36892 test -z "$as_dir" && as_dir=.
36893 for ac_exec_ext in '' $ac_executable_extensions; do
36894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36895 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36897 break 2
36898 fi
36899 done
36900 done
36901 IFS=$as_save_IFS
36902
36903 ;;
36904 esac
36905 fi
36906 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36907 if test -n "$ac_pt_PKG_CONFIG"; then
36908 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36909 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36910 else
36911 { echo "$as_me:$LINENO: result: no" >&5
36912 echo "${ECHO_T}no" >&6; }
36913 fi
36914
36915 if test "x$ac_pt_PKG_CONFIG" = x; then
36916 PKG_CONFIG=""
36917 else
36918 case $cross_compiling:$ac_tool_warned in
36919 yes:)
36920 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36921 whose name does not start with the host triplet. If you think this
36922 configuration is useful to you, please write to autoconf@gnu.org." >&5
36923 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36924 whose name does not start with the host triplet. If you think this
36925 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36926 ac_tool_warned=yes ;;
36927 esac
36928 PKG_CONFIG=$ac_pt_PKG_CONFIG
36929 fi
36930 else
36931 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36932 fi
36933
36934 fi
36935 if test -n "$PKG_CONFIG"; then
36936 _pkg_min_version=0.9.0
36937 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36938 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36939 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36940 { echo "$as_me:$LINENO: result: yes" >&5
36941 echo "${ECHO_T}yes" >&6; }
36942 else
36943 { echo "$as_me:$LINENO: result: no" >&5
36944 echo "${ECHO_T}no" >&6; }
36945 PKG_CONFIG=""
36946 fi
36947
36948 fi 6> /dev/null
36949
36950 pkg_failed=no
36951 { echo "$as_me:$LINENO: checking for MesaGL" >&5
36952 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
36953
36954 if test -n "$PKG_CONFIG"; then
36955 if test -n "$MesaGL_CFLAGS"; then
36956 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
36957 else
36958 if test -n "$PKG_CONFIG" && \
36959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36960 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36961 ac_status=$?
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); }; then
36964 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36965 else
36966 pkg_failed=yes
36967 fi
36968 fi
36969 else
36970 pkg_failed=untried
36971 fi
36972 if test -n "$PKG_CONFIG"; then
36973 if test -n "$MesaGL_LIBS"; then
36974 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
36975 else
36976 if test -n "$PKG_CONFIG" && \
36977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36978 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36979 ac_status=$?
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); }; then
36982 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36983 else
36984 pkg_failed=yes
36985 fi
36986 fi
36987 else
36988 pkg_failed=untried
36989 fi
36990
36991
36992
36993 if test $pkg_failed = yes; then
36994
36995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36996 _pkg_short_errors_supported=yes
36997 else
36998 _pkg_short_errors_supported=no
36999 fi
37000 if test $_pkg_short_errors_supported = yes; then
37001 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37002 else
37003 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37004 fi
37005 # Put the nasty error message in config.log where it belongs
37006 echo "$MesaGL_PKG_ERRORS" >&5
37007
37008
37009 if test "x$ac_find_libraries" = "x"; then
37010 if test "xglEnable" != "x"; then
37011 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37012 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37013 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37016 ac_check_lib_save_LIBS=$LIBS
37017 LIBS="-lMesaGL $LIBS"
37018 cat >conftest.$ac_ext <<_ACEOF
37019 /* confdefs.h. */
37020 _ACEOF
37021 cat confdefs.h >>conftest.$ac_ext
37022 cat >>conftest.$ac_ext <<_ACEOF
37023 /* end confdefs.h. */
37024
37025 /* Override any GCC internal prototype to avoid an error.
37026 Use char because int might match the return type of a GCC
37027 builtin and then its argument prototype would still apply. */
37028 #ifdef __cplusplus
37029 extern "C"
37030 #endif
37031 char glEnable ();
37032 int
37033 main ()
37034 {
37035 return glEnable ();
37036 ;
37037 return 0;
37038 }
37039 _ACEOF
37040 rm -f conftest.$ac_objext conftest$ac_exeext
37041 if { (ac_try="$ac_link"
37042 case "(($ac_try" in
37043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37044 *) ac_try_echo=$ac_try;;
37045 esac
37046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37047 (eval "$ac_link") 2>conftest.er1
37048 ac_status=$?
37049 grep -v '^ *+' conftest.er1 >conftest.err
37050 rm -f conftest.er1
37051 cat conftest.err >&5
37052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37053 (exit $ac_status); } && {
37054 test -z "$ac_c_werror_flag" ||
37055 test ! -s conftest.err
37056 } && test -s conftest$ac_exeext &&
37057 $as_test_x conftest$ac_exeext; then
37058 ac_cv_lib_MesaGL_glEnable=yes
37059 else
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.$ac_ext >&5
37062
37063 ac_cv_lib_MesaGL_glEnable=no
37064 fi
37065
37066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37067 conftest$ac_exeext conftest.$ac_ext
37068 LIBS=$ac_check_lib_save_LIBS
37069 fi
37070 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37071 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37072 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37073 ac_find_libraries="std"
37074 fi
37075
37076 fi
37077 fi
37078
37079 if test "x$ac_find_libraries" = "x"; then
37080 { echo "$as_me:$LINENO: checking elsewhere" >&5
37081 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37082
37083 ac_find_libraries=
37084 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37085 do
37086 for ac_extension in a so sl dylib dll.a; do
37087 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37088 ac_find_libraries=$ac_dir
37089 break 2
37090 fi
37091 done
37092 done
37093
37094 if test "x$ac_find_libraries" != "x"; then
37095 { echo "$as_me:$LINENO: result: yes" >&5
37096 echo "${ECHO_T}yes" >&6; }
37097 else
37098 { echo "$as_me:$LINENO: result: no" >&5
37099 echo "${ECHO_T}no" >&6; }
37100 fi
37101 fi
37102
37103 elif test $pkg_failed = untried; then
37104
37105 if test "x$ac_find_libraries" = "x"; then
37106 if test "xglEnable" != "x"; then
37107 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37108 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37109 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37111 else
37112 ac_check_lib_save_LIBS=$LIBS
37113 LIBS="-lMesaGL $LIBS"
37114 cat >conftest.$ac_ext <<_ACEOF
37115 /* confdefs.h. */
37116 _ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120
37121 /* Override any GCC internal prototype to avoid an error.
37122 Use char because int might match the return type of a GCC
37123 builtin and then its argument prototype would still apply. */
37124 #ifdef __cplusplus
37125 extern "C"
37126 #endif
37127 char glEnable ();
37128 int
37129 main ()
37130 {
37131 return glEnable ();
37132 ;
37133 return 0;
37134 }
37135 _ACEOF
37136 rm -f conftest.$ac_objext conftest$ac_exeext
37137 if { (ac_try="$ac_link"
37138 case "(($ac_try" in
37139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37140 *) ac_try_echo=$ac_try;;
37141 esac
37142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37143 (eval "$ac_link") 2>conftest.er1
37144 ac_status=$?
37145 grep -v '^ *+' conftest.er1 >conftest.err
37146 rm -f conftest.er1
37147 cat conftest.err >&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } && {
37150 test -z "$ac_c_werror_flag" ||
37151 test ! -s conftest.err
37152 } && test -s conftest$ac_exeext &&
37153 $as_test_x conftest$ac_exeext; then
37154 ac_cv_lib_MesaGL_glEnable=yes
37155 else
37156 echo "$as_me: failed program was:" >&5
37157 sed 's/^/| /' conftest.$ac_ext >&5
37158
37159 ac_cv_lib_MesaGL_glEnable=no
37160 fi
37161
37162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37163 conftest$ac_exeext conftest.$ac_ext
37164 LIBS=$ac_check_lib_save_LIBS
37165 fi
37166 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37167 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37168 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37169 ac_find_libraries="std"
37170 fi
37171
37172 fi
37173 fi
37174
37175 if test "x$ac_find_libraries" = "x"; then
37176 { echo "$as_me:$LINENO: checking elsewhere" >&5
37177 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37178
37179 ac_find_libraries=
37180 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37181 do
37182 for ac_extension in a so sl dylib dll.a; do
37183 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37184 ac_find_libraries=$ac_dir
37185 break 2
37186 fi
37187 done
37188 done
37189
37190 if test "x$ac_find_libraries" != "x"; then
37191 { echo "$as_me:$LINENO: result: yes" >&5
37192 echo "${ECHO_T}yes" >&6; }
37193 else
37194 { echo "$as_me:$LINENO: result: no" >&5
37195 echo "${ECHO_T}no" >&6; }
37196 fi
37197 fi
37198
37199 else
37200 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37201 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37202 { echo "$as_me:$LINENO: result: yes" >&5
37203 echo "${ECHO_T}yes" >&6; }
37204
37205 ac_find_libraries="std"
37206
37207 eval ac_find_cflags=\$MesaGL_CFLAGS
37208 eval fl_libs=\$MesaGL_LIBS
37209
37210 for fl_path in $fl_libs
37211 do
37212 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37213 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37214 fi
37215 done
37216
37217 fi
37218
37219 if test "$ac_find_libraries" != "" ; then
37220 if test "$ac_find_libraries" != "std" ; then
37221
37222 if test "$ac_find_libraries" = "default location"; then
37223 ac_path_to_link=""
37224 else
37225 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37226 result=$?
37227 if test $result = 0; then
37228 ac_path_to_link=""
37229 else
37230 ac_path_to_link=" -L$ac_find_libraries"
37231 fi
37232 fi
37233
37234 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37235 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37236 fi
37237 fi
37238 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37239 fi
37240 fi
37241
37242 fi
37243
37244
37245
37246 fi
37247
37248
37249
37250 if test "x$OPENGL_LIBS" = "x"; then
37251 if test "$wxUSE_OPENGL" = "yes"; then
37252 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37253 echo "$as_me: error: OpenGL libraries not available" >&2;}
37254 { (exit 1); exit 1; }; }
37255 else
37256 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37257 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37258 wxUSE_OPENGL=no
37259 USE_OPENGL=0
37260 fi
37261 fi
37262 else
37263 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37264 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37265 wxUSE_OPENGL="no"
37266 fi
37267
37268 if test "$wxUSE_OPENGL" = "auto"; then
37269 wxUSE_OPENGL=yes
37270 fi
37271
37272 if test "$wxUSE_OPENGL" = "yes"; then
37273 USE_OPENGL=1
37274 cat >>confdefs.h <<\_ACEOF
37275 #define wxUSE_OPENGL 1
37276 _ACEOF
37277
37278 cat >>confdefs.h <<\_ACEOF
37279 #define wxUSE_GLCANVAS 1
37280 _ACEOF
37281
37282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37283 fi
37284 fi
37285
37286
37287 if test -n "$TOOLKIT" ; then
37288 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37289 fi
37290
37291
37292
37293 if test "$wxUSE_SHARED" = "yes"; then
37294 case "${host}" in
37295 *-pc-msdosdjgpp )
37296 wxUSE_SHARED=no
37297 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37298 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37299 ;;
37300 esac
37301 fi
37302
37303 if test "$wxUSE_SHARED" = "yes"; then
37304
37305
37306 case "${host}" in
37307 *-*-cygwin* | *-*-mingw* )
37308 wx_cv_version_script=no
37309 ;;
37310
37311 *)
37312 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37313 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37314 if test "${wx_cv_version_script+set}" = set; then
37315 echo $ECHO_N "(cached) $ECHO_C" >&6
37316 else
37317
37318 echo "VER_1 { *; };" >conftest.sym
37319 echo "int main() { return 0; }" >conftest.cpp
37320
37321 if { ac_try='
37322 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37323 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37326 ac_status=$?
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; } ; then
37329 if test -s conftest.stderr ; then
37330 wx_cv_version_script=no
37331 else
37332 wx_cv_version_script=yes
37333 fi
37334 else
37335 wx_cv_version_script=no
37336 fi
37337
37338 if test $wx_cv_version_script = yes
37339 then
37340 echo "struct B { virtual ~B() { } }; \
37341 struct D : public B { }; \
37342 void F() { D d; }" > conftest.cpp
37343
37344 if { ac_try='
37345 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37346 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37348 (eval $ac_try) 2>&5
37349 ac_status=$?
37350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37351 (exit $ac_status); }; } &&
37352 { ac_try='
37353 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37354 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356 (eval $ac_try) 2>&5
37357 ac_status=$?
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; }
37360 then
37361 if { ac_try='
37362 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37363 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37366 ac_status=$?
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }
37369 then
37370 wx_cv_version_script=yes
37371 else
37372 wx_cv_version_script=no
37373 fi
37374 fi
37375 fi
37376
37377 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37378 rm -f conftest1.output conftest2.output conftest3.output
37379
37380 fi
37381 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37382 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37383
37384 if test $wx_cv_version_script = yes ; then
37385 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37386 fi
37387 ;;
37388 esac
37389
37390
37391 if test "$wxUSE_VISIBILITY" != "no"; then
37392
37393
37394 if test -n "$GCC"; then
37395 CFLAGS_VISIBILITY="-fvisibility=hidden"
37396 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37397 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37398 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37399 if test "${wx_cv_cc_visibility+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37401 else
37402
37403 wx_save_CXXFLAGS="$CXXFLAGS"
37404 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37405 ac_ext=cpp
37406 ac_cpp='$CXXCPP $CPPFLAGS'
37407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37410
37411 cat >conftest.$ac_ext <<_ACEOF
37412 /* confdefs.h. */
37413 _ACEOF
37414 cat confdefs.h >>conftest.$ac_ext
37415 cat >>conftest.$ac_ext <<_ACEOF
37416 /* end confdefs.h. */
37417
37418 /* we need gcc >= 4.0, older versions with visibility support
37419 didn't have class visibility: */
37420 #if defined(__GNUC__) && __GNUC__ < 4
37421 error this gcc is too old;
37422 #endif
37423
37424 /* visibility only makes sense for ELF shared libs: */
37425 #if !defined(__ELF__) && !defined(__APPLE__)
37426 error this platform has no visibility;
37427 #endif
37428
37429 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37430 #if defined(__clang__)
37431 clang compiler is still broken w.r.t. visibility;
37432 #endif
37433
37434 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37435 extern __attribute__((__visibility__("default"))) int exportedvar;
37436 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37437 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37438 class __attribute__((__visibility__("default"))) Foo {
37439 Foo() {}
37440 };
37441
37442 int
37443 main ()
37444 {
37445
37446 ;
37447 return 0;
37448 }
37449 _ACEOF
37450 rm -f conftest.$ac_objext
37451 if { (ac_try="$ac_compile"
37452 case "(($ac_try" in
37453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37454 *) ac_try_echo=$ac_try;;
37455 esac
37456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37457 (eval "$ac_compile") 2>conftest.er1
37458 ac_status=$?
37459 grep -v '^ *+' conftest.er1 >conftest.err
37460 rm -f conftest.er1
37461 cat conftest.err >&5
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); } && {
37464 test -z "$ac_cxx_werror_flag" ||
37465 test ! -s conftest.err
37466 } && test -s conftest.$ac_objext; then
37467 wx_cv_cc_visibility=yes
37468 else
37469 echo "$as_me: failed program was:" >&5
37470 sed 's/^/| /' conftest.$ac_ext >&5
37471
37472 wx_cv_cc_visibility=no
37473 fi
37474
37475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37476 ac_ext=c
37477 ac_cpp='$CPP $CPPFLAGS'
37478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37481
37482 CXXFLAGS="$wx_save_CXXFLAGS"
37483 fi
37484
37485 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37486 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37487 if test $wx_cv_cc_visibility = yes; then
37488 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37489 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37490 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37491 echo $ECHO_N "(cached) $ECHO_C" >&6
37492 else
37493
37494 wx_save_CXXFLAGS="$CXXFLAGS"
37495 wx_save_LDFLAGS="$LDFLAGS"
37496 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37497 LDFLAGS="$LDFLAGS -shared -fPIC"
37498 ac_ext=cpp
37499 ac_cpp='$CXXCPP $CPPFLAGS'
37500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37503
37504 cat >conftest.$ac_ext <<_ACEOF
37505 /* confdefs.h. */
37506 _ACEOF
37507 cat confdefs.h >>conftest.$ac_ext
37508 cat >>conftest.$ac_ext <<_ACEOF
37509 /* end confdefs.h. */
37510
37511 #include <string>
37512
37513 int
37514 main ()
37515 {
37516
37517 std::string s("hello");
37518 return s.length();
37519
37520 ;
37521 return 0;
37522 }
37523 _ACEOF
37524 rm -f conftest.$ac_objext conftest$ac_exeext
37525 if { (ac_try="$ac_link"
37526 case "(($ac_try" in
37527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37528 *) ac_try_echo=$ac_try;;
37529 esac
37530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37531 (eval "$ac_link") 2>conftest.er1
37532 ac_status=$?
37533 grep -v '^ *+' conftest.er1 >conftest.err
37534 rm -f conftest.er1
37535 cat conftest.err >&5
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); } && {
37538 test -z "$ac_cxx_werror_flag" ||
37539 test ! -s conftest.err
37540 } && test -s conftest$ac_exeext &&
37541 $as_test_x conftest$ac_exeext; then
37542 wx_cv_cc_broken_libstdcxx_visibility=no
37543 else
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.$ac_ext >&5
37546
37547 wx_cv_cc_broken_libstdcxx_visibility=yes
37548 fi
37549
37550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37551 conftest$ac_exeext conftest.$ac_ext
37552 ac_ext=c
37553 ac_cpp='$CPP $CPPFLAGS'
37554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37557
37558 CXXFLAGS="$wx_save_CXXFLAGS"
37559 LDFLAGS="$wx_save_LDFLAGS"
37560 fi
37561
37562 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37563 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37564
37565 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37566 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37567 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37568 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37569 echo $ECHO_N "(cached) $ECHO_C" >&6
37570 else
37571
37572 ac_ext=cpp
37573 ac_cpp='$CXXCPP $CPPFLAGS'
37574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37577
37578 cat >conftest.$ac_ext <<_ACEOF
37579 /* confdefs.h. */
37580 _ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584
37585 #pragma GCC visibility push(default)
37586 #include <string>
37587 #pragma GCC visibility pop
37588
37589 int
37590 main ()
37591 {
37592
37593 std::string s("hello");
37594 return s.length();
37595
37596 ;
37597 return 0;
37598 }
37599 _ACEOF
37600 rm -f conftest.$ac_objext conftest$ac_exeext
37601 if { (ac_try="$ac_link"
37602 case "(($ac_try" in
37603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37604 *) ac_try_echo=$ac_try;;
37605 esac
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_link") 2>conftest.er1
37608 ac_status=$?
37609 grep -v '^ *+' conftest.er1 >conftest.err
37610 rm -f conftest.er1
37611 cat conftest.err >&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_cxx_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest$ac_exeext &&
37617 $as_test_x conftest$ac_exeext; then
37618 wx_cv_cc_visibility_workaround=no
37619 else
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37622
37623 wx_cv_cc_visibility_workaround=yes
37624 fi
37625
37626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37627 conftest$ac_exeext conftest.$ac_ext
37628 ac_ext=c
37629 ac_cpp='$CPP $CPPFLAGS'
37630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37633
37634
37635 fi
37636
37637 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37638 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37639
37640 if test $wx_cv_cc_visibility_workaround = no; then
37641 wx_cv_cc_visibility=no
37642 fi
37643 fi
37644 fi
37645
37646 if test $wx_cv_cc_visibility = yes; then
37647 cat >>confdefs.h <<\_ACEOF
37648 #define HAVE_VISIBILITY 1
37649 _ACEOF
37650
37651 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37652 cat >>confdefs.h <<\_ACEOF
37653 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37654 _ACEOF
37655
37656 fi
37657 else
37658 CFLAGS_VISIBILITY=""
37659 CXXFLAGS_VISIBILITY=""
37660 fi
37661
37662
37663 fi
37664
37665 fi
37666
37667 if test "x$SUNCXX" = xyes; then
37668 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37669 WXCONFIG_RPATH="-R\$libdir"
37670 else
37671 case "${host}" in
37672 *-*-linux* | *-*-gnu* )
37673 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37674 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37675 ;;
37676
37677 *-*-solaris2* )
37678
37679 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37680
37681 saveLdflags="$LDFLAGS"
37682 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37683 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37684 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37685 cat >conftest.$ac_ext <<_ACEOF
37686 /* confdefs.h. */
37687 _ACEOF
37688 cat confdefs.h >>conftest.$ac_ext
37689 cat >>conftest.$ac_ext <<_ACEOF
37690 /* end confdefs.h. */
37691
37692 int
37693 main ()
37694 {
37695
37696 ;
37697 return 0;
37698 }
37699 _ACEOF
37700 rm -f conftest.$ac_objext conftest$ac_exeext
37701 if { (ac_try="$ac_link"
37702 case "(($ac_try" in
37703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37704 *) ac_try_echo=$ac_try;;
37705 esac
37706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37707 (eval "$ac_link") 2>conftest.er1
37708 ac_status=$?
37709 grep -v '^ *+' conftest.er1 >conftest.err
37710 rm -f conftest.er1
37711 cat conftest.err >&5
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); } && {
37714 test -z "$ac_c_werror_flag" ||
37715 test ! -s conftest.err
37716 } && test -s conftest$ac_exeext &&
37717 $as_test_x conftest$ac_exeext; then
37718
37719 { echo "$as_me:$LINENO: result: yes" >&5
37720 echo "${ECHO_T}yes" >&6; }
37721 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37722 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37723
37724 else
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.$ac_ext >&5
37727
37728
37729 { echo "$as_me:$LINENO: result: no" >&5
37730 echo "${ECHO_T}no" >&6; }
37731 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37732 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37733 LDFLAGS="$saveLdflags -Wl,-R,/"
37734 cat >conftest.$ac_ext <<_ACEOF
37735 /* confdefs.h. */
37736 _ACEOF
37737 cat confdefs.h >>conftest.$ac_ext
37738 cat >>conftest.$ac_ext <<_ACEOF
37739 /* end confdefs.h. */
37740
37741 int
37742 main ()
37743 {
37744
37745 ;
37746 return 0;
37747 }
37748 _ACEOF
37749 rm -f conftest.$ac_objext conftest$ac_exeext
37750 if { (ac_try="$ac_link"
37751 case "(($ac_try" in
37752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37753 *) ac_try_echo=$ac_try;;
37754 esac
37755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37756 (eval "$ac_link") 2>conftest.er1
37757 ac_status=$?
37758 grep -v '^ *+' conftest.er1 >conftest.err
37759 rm -f conftest.er1
37760 cat conftest.err >&5
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); } && {
37763 test -z "$ac_c_werror_flag" ||
37764 test ! -s conftest.err
37765 } && test -s conftest$ac_exeext &&
37766 $as_test_x conftest$ac_exeext; then
37767
37768 { echo "$as_me:$LINENO: result: yes" >&5
37769 echo "${ECHO_T}yes" >&6; }
37770 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37771 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37772
37773 else
37774 echo "$as_me: failed program was:" >&5
37775 sed 's/^/| /' conftest.$ac_ext >&5
37776
37777
37778 { echo "$as_me:$LINENO: result: no" >&5
37779 echo "${ECHO_T}no" >&6; }
37780
37781 fi
37782
37783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37784 conftest$ac_exeext conftest.$ac_ext
37785
37786 fi
37787
37788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37789 conftest$ac_exeext conftest.$ac_ext
37790 LDFLAGS="$saveLdflags"
37791 ;;
37792
37793 *-*-darwin* )
37794 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
37795 if test "$install_name_tool" -a -x "$install_name_tool"; then
37796 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37797 cat <<EOF >change-install-names
37798 #!/bin/sh
37799 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
37800 for i in \${libnames} ; do
37801 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37802 for dep in \${libnames} ; do
37803 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37804 done
37805 done
37806 EOF
37807 chmod +x change-install-names
37808 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37809 fi
37810
37811 HEADER_PAD_OPTION="-headerpad_max_install_names"
37812 ;;
37813
37814 *-*-cygwin* | *-*-mingw32* )
37815 ;;
37816
37817 *-*-hpux* )
37818 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37819 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37820 ;;
37821
37822 esac
37823 fi
37824
37825 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37826
37827 if test $wxUSE_RPATH = "no"; then
37828 SAMPLES_RPATH_FLAG=''
37829 DYLIB_PATH_POSTLINK=''
37830 WXCONFIG_RPATH=''
37831 fi
37832
37833 SHARED=1
37834
37835 else
37836
37837 config_linkage_component="-static"
37838 SHARED=0
37839
37840 fi
37841
37842
37843 UNICODE=0
37844 lib_unicode_suffix=
37845 WX_CHARTYPE="ansi"
37846 if test "$wxUSE_UNICODE" = "yes"; then
37847 lib_unicode_suffix=u
37848 WX_CHARTYPE="unicode"
37849 UNICODE=1
37850 fi
37851
37852 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37853 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37854
37855 DEBUG_INFO=0
37856 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37857 DEBUG_INFO=1
37858 fi
37859
37860 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37861
37862 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37863
37864 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37865
37866
37867 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37868 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37869 else
37870 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37871 fi
37872 if test "${TOOLKIT_DIR}" = "os2"; then
37873 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37874 else
37875 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37876 fi
37877
37878
37879
37880 if test "$wxUSE_OLD_COCOA" = 1; then
37881
37882 ac_ext=c
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37887
37888 ac_ext=m
37889
37890 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
37891 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
37892 cat >conftest.$ac_ext <<_ACEOF
37893 /* confdefs.h. */
37894 _ACEOF
37895 cat confdefs.h >>conftest.$ac_ext
37896 cat >>conftest.$ac_ext <<_ACEOF
37897 /* end confdefs.h. */
37898 #include <AppKit/NSEvent.h>
37899 #include <CoreFoundation/CoreFoundation.h>
37900
37901 int
37902 main ()
37903 {
37904
37905 ;
37906 return 0;
37907 }
37908 _ACEOF
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37913 *) ac_try_echo=$ac_try;;
37914 esac
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37917 ac_status=$?
37918 grep -v '^ *+' conftest.er1 >conftest.err
37919 rm -f conftest.er1
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_c_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.$ac_objext; then
37926 { echo "$as_me:$LINENO: result: no" >&5
37927 echo "${ECHO_T}no" >&6; }
37928 else
37929 echo "$as_me: failed program was:" >&5
37930 sed 's/^/| /' conftest.$ac_ext >&5
37931
37932 { echo "$as_me:$LINENO: result: yes" >&5
37933 echo "${ECHO_T}yes" >&6; }
37934 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
37935 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
37936 cat >conftest.$ac_ext <<_ACEOF
37937 /* confdefs.h. */
37938 _ACEOF
37939 cat confdefs.h >>conftest.$ac_ext
37940 cat >>conftest.$ac_ext <<_ACEOF
37941 /* end confdefs.h. */
37942 #define __Point__ 1
37943 #include <AppKit/NSEvent.h>
37944 #include <CoreFoundation/CoreFoundation.h>
37945
37946 int
37947 main ()
37948 {
37949
37950 ;
37951 return 0;
37952 }
37953 _ACEOF
37954 rm -f conftest.$ac_objext
37955 if { (ac_try="$ac_compile"
37956 case "(($ac_try" in
37957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37958 *) ac_try_echo=$ac_try;;
37959 esac
37960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37961 (eval "$ac_compile") 2>conftest.er1
37962 ac_status=$?
37963 grep -v '^ *+' conftest.er1 >conftest.err
37964 rm -f conftest.er1
37965 cat conftest.err >&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } && {
37968 test -z "$ac_c_werror_flag" ||
37969 test ! -s conftest.err
37970 } && test -s conftest.$ac_objext; then
37971 { echo "$as_me:$LINENO: result: yes" >&5
37972 echo "${ECHO_T}yes" >&6; }
37973 cat >>confdefs.h <<\_ACEOF
37974 #define __Point__ 1
37975 _ACEOF
37976
37977
37978 else
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37981
37982 { { echo "$as_me:$LINENO: error: no
37983 See \`config.log' for more details." >&5
37984 echo "$as_me: error: no
37985 See \`config.log' for more details." >&2;}
37986 { (exit 1); exit 1; }; }
37987
37988 fi
37989
37990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991
37992 fi
37993
37994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37995 ac_ext=c
37996 ac_cpp='$CPP $CPPFLAGS'
37997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38000
38001 fi
38002
38003
38004 { echo "$as_me:$LINENO: checking for mode_t" >&5
38005 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38006 if test "${ac_cv_type_mode_t+set}" = set; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 else
38009 cat >conftest.$ac_ext <<_ACEOF
38010 /* confdefs.h. */
38011 _ACEOF
38012 cat confdefs.h >>conftest.$ac_ext
38013 cat >>conftest.$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38015 $ac_includes_default
38016 typedef mode_t ac__type_new_;
38017 int
38018 main ()
38019 {
38020 if ((ac__type_new_ *) 0)
38021 return 0;
38022 if (sizeof (ac__type_new_))
38023 return 0;
38024 ;
38025 return 0;
38026 }
38027 _ACEOF
38028 rm -f conftest.$ac_objext
38029 if { (ac_try="$ac_compile"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38033 esac
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_compile") 2>conftest.er1
38036 ac_status=$?
38037 grep -v '^ *+' conftest.er1 >conftest.err
38038 rm -f conftest.er1
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } && {
38042 test -z "$ac_c_werror_flag" ||
38043 test ! -s conftest.err
38044 } && test -s conftest.$ac_objext; then
38045 ac_cv_type_mode_t=yes
38046 else
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38049
38050 ac_cv_type_mode_t=no
38051 fi
38052
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38054 fi
38055 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38056 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38057 if test $ac_cv_type_mode_t = yes; then
38058 :
38059 else
38060
38061 cat >>confdefs.h <<_ACEOF
38062 #define mode_t int
38063 _ACEOF
38064
38065 fi
38066
38067 { echo "$as_me:$LINENO: checking for off_t" >&5
38068 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38069 if test "${ac_cv_type_off_t+set}" = set; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38072 cat >conftest.$ac_ext <<_ACEOF
38073 /* confdefs.h. */
38074 _ACEOF
38075 cat confdefs.h >>conftest.$ac_ext
38076 cat >>conftest.$ac_ext <<_ACEOF
38077 /* end confdefs.h. */
38078 $ac_includes_default
38079 typedef off_t ac__type_new_;
38080 int
38081 main ()
38082 {
38083 if ((ac__type_new_ *) 0)
38084 return 0;
38085 if (sizeof (ac__type_new_))
38086 return 0;
38087 ;
38088 return 0;
38089 }
38090 _ACEOF
38091 rm -f conftest.$ac_objext
38092 if { (ac_try="$ac_compile"
38093 case "(($ac_try" in
38094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38095 *) ac_try_echo=$ac_try;;
38096 esac
38097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38098 (eval "$ac_compile") 2>conftest.er1
38099 ac_status=$?
38100 grep -v '^ *+' conftest.er1 >conftest.err
38101 rm -f conftest.er1
38102 cat conftest.err >&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } && {
38105 test -z "$ac_c_werror_flag" ||
38106 test ! -s conftest.err
38107 } && test -s conftest.$ac_objext; then
38108 ac_cv_type_off_t=yes
38109 else
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38112
38113 ac_cv_type_off_t=no
38114 fi
38115
38116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38117 fi
38118 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38119 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38120 if test $ac_cv_type_off_t = yes; then
38121 :
38122 else
38123
38124 cat >>confdefs.h <<_ACEOF
38125 #define off_t long int
38126 _ACEOF
38127
38128 fi
38129
38130 { echo "$as_me:$LINENO: checking for pid_t" >&5
38131 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38132 if test "${ac_cv_type_pid_t+set}" = set; then
38133 echo $ECHO_N "(cached) $ECHO_C" >&6
38134 else
38135 cat >conftest.$ac_ext <<_ACEOF
38136 /* confdefs.h. */
38137 _ACEOF
38138 cat confdefs.h >>conftest.$ac_ext
38139 cat >>conftest.$ac_ext <<_ACEOF
38140 /* end confdefs.h. */
38141 $ac_includes_default
38142 typedef pid_t ac__type_new_;
38143 int
38144 main ()
38145 {
38146 if ((ac__type_new_ *) 0)
38147 return 0;
38148 if (sizeof (ac__type_new_))
38149 return 0;
38150 ;
38151 return 0;
38152 }
38153 _ACEOF
38154 rm -f conftest.$ac_objext
38155 if { (ac_try="$ac_compile"
38156 case "(($ac_try" in
38157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38158 *) ac_try_echo=$ac_try;;
38159 esac
38160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38161 (eval "$ac_compile") 2>conftest.er1
38162 ac_status=$?
38163 grep -v '^ *+' conftest.er1 >conftest.err
38164 rm -f conftest.er1
38165 cat conftest.err >&5
38166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38167 (exit $ac_status); } && {
38168 test -z "$ac_c_werror_flag" ||
38169 test ! -s conftest.err
38170 } && test -s conftest.$ac_objext; then
38171 ac_cv_type_pid_t=yes
38172 else
38173 echo "$as_me: failed program was:" >&5
38174 sed 's/^/| /' conftest.$ac_ext >&5
38175
38176 ac_cv_type_pid_t=no
38177 fi
38178
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 fi
38181 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38182 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38183 if test $ac_cv_type_pid_t = yes; then
38184 :
38185 else
38186
38187 cat >>confdefs.h <<_ACEOF
38188 #define pid_t int
38189 _ACEOF
38190
38191 fi
38192
38193 { echo "$as_me:$LINENO: checking for size_t" >&5
38194 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38195 if test "${ac_cv_type_size_t+set}" = set; then
38196 echo $ECHO_N "(cached) $ECHO_C" >&6
38197 else
38198 cat >conftest.$ac_ext <<_ACEOF
38199 /* confdefs.h. */
38200 _ACEOF
38201 cat confdefs.h >>conftest.$ac_ext
38202 cat >>conftest.$ac_ext <<_ACEOF
38203 /* end confdefs.h. */
38204 $ac_includes_default
38205 typedef size_t ac__type_new_;
38206 int
38207 main ()
38208 {
38209 if ((ac__type_new_ *) 0)
38210 return 0;
38211 if (sizeof (ac__type_new_))
38212 return 0;
38213 ;
38214 return 0;
38215 }
38216 _ACEOF
38217 rm -f conftest.$ac_objext
38218 if { (ac_try="$ac_compile"
38219 case "(($ac_try" in
38220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38221 *) ac_try_echo=$ac_try;;
38222 esac
38223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38224 (eval "$ac_compile") 2>conftest.er1
38225 ac_status=$?
38226 grep -v '^ *+' conftest.er1 >conftest.err
38227 rm -f conftest.er1
38228 cat conftest.err >&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); } && {
38231 test -z "$ac_c_werror_flag" ||
38232 test ! -s conftest.err
38233 } && test -s conftest.$ac_objext; then
38234 ac_cv_type_size_t=yes
38235 else
38236 echo "$as_me: failed program was:" >&5
38237 sed 's/^/| /' conftest.$ac_ext >&5
38238
38239 ac_cv_type_size_t=no
38240 fi
38241
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38243 fi
38244 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38245 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38246 if test $ac_cv_type_size_t = yes; then
38247 :
38248 else
38249
38250 cat >>confdefs.h <<_ACEOF
38251 #define size_t unsigned int
38252 _ACEOF
38253
38254 fi
38255
38256
38257 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38258 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38259 if test "${ac_cv_type_ssize_t+set}" = set; then
38260 echo $ECHO_N "(cached) $ECHO_C" >&6
38261 else
38262 cat >conftest.$ac_ext <<_ACEOF
38263 /* confdefs.h. */
38264 _ACEOF
38265 cat confdefs.h >>conftest.$ac_ext
38266 cat >>conftest.$ac_ext <<_ACEOF
38267 /* end confdefs.h. */
38268 $ac_includes_default
38269 typedef ssize_t ac__type_new_;
38270 int
38271 main ()
38272 {
38273 if ((ac__type_new_ *) 0)
38274 return 0;
38275 if (sizeof (ac__type_new_))
38276 return 0;
38277 ;
38278 return 0;
38279 }
38280 _ACEOF
38281 rm -f conftest.$ac_objext
38282 if { (ac_try="$ac_compile"
38283 case "(($ac_try" in
38284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38285 *) ac_try_echo=$ac_try;;
38286 esac
38287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38288 (eval "$ac_compile") 2>conftest.er1
38289 ac_status=$?
38290 grep -v '^ *+' conftest.er1 >conftest.err
38291 rm -f conftest.er1
38292 cat conftest.err >&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); } && {
38295 test -z "$ac_c_werror_flag" ||
38296 test ! -s conftest.err
38297 } && test -s conftest.$ac_objext; then
38298 ac_cv_type_ssize_t=yes
38299 else
38300 echo "$as_me: failed program was:" >&5
38301 sed 's/^/| /' conftest.$ac_ext >&5
38302
38303 ac_cv_type_ssize_t=no
38304 fi
38305
38306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38307 fi
38308 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38309 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38310 if test $ac_cv_type_ssize_t = yes; then
38311
38312 cat >>confdefs.h <<_ACEOF
38313 #define HAVE_SSIZE_T 1
38314 _ACEOF
38315
38316
38317 fi
38318
38319
38320 ac_ext=cpp
38321 ac_cpp='$CXXCPP $CPPFLAGS'
38322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38325 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38326 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38327 if test "${wx_cv_size_t_is_uint+set}" = set; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38329 else
38330
38331 cat >conftest.$ac_ext <<_ACEOF
38332 /* confdefs.h. */
38333 _ACEOF
38334 cat confdefs.h >>conftest.$ac_ext
38335 cat >>conftest.$ac_ext <<_ACEOF
38336 /* end confdefs.h. */
38337 #include <stddef.h>
38338 int
38339 main ()
38340 {
38341
38342 return 0; }
38343
38344 struct Foo { void foo(size_t); void foo(unsigned int); };
38345
38346 int bar() {
38347
38348 ;
38349 return 0;
38350 }
38351 _ACEOF
38352 rm -f conftest.$ac_objext
38353 if { (ac_try="$ac_compile"
38354 case "(($ac_try" in
38355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38356 *) ac_try_echo=$ac_try;;
38357 esac
38358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38359 (eval "$ac_compile") 2>conftest.er1
38360 ac_status=$?
38361 grep -v '^ *+' conftest.er1 >conftest.err
38362 rm -f conftest.er1
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } && {
38366 test -z "$ac_cxx_werror_flag" ||
38367 test ! -s conftest.err
38368 } && test -s conftest.$ac_objext; then
38369 wx_cv_size_t_is_uint=no
38370 else
38371 echo "$as_me: failed program was:" >&5
38372 sed 's/^/| /' conftest.$ac_ext >&5
38373
38374 wx_cv_size_t_is_uint=yes
38375
38376 fi
38377
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38379
38380
38381 fi
38382 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38383 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38384
38385 if test "$wx_cv_size_t_is_uint" = "yes"; then
38386 cat >>confdefs.h <<\_ACEOF
38387 #define wxSIZE_T_IS_UINT 1
38388 _ACEOF
38389
38390 else
38391 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38392 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38393 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38394 echo $ECHO_N "(cached) $ECHO_C" >&6
38395 else
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 #include <stddef.h>
38403 int
38404 main ()
38405 {
38406
38407 return 0; }
38408
38409 struct Foo { void foo(size_t); void foo(unsigned long); };
38410
38411 int bar() {
38412
38413 ;
38414 return 0;
38415 }
38416 _ACEOF
38417 rm -f conftest.$ac_objext
38418 if { (ac_try="$ac_compile"
38419 case "(($ac_try" in
38420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38421 *) ac_try_echo=$ac_try;;
38422 esac
38423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38424 (eval "$ac_compile") 2>conftest.er1
38425 ac_status=$?
38426 grep -v '^ *+' conftest.er1 >conftest.err
38427 rm -f conftest.er1
38428 cat conftest.err >&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); } && {
38431 test -z "$ac_cxx_werror_flag" ||
38432 test ! -s conftest.err
38433 } && test -s conftest.$ac_objext; then
38434 wx_cv_size_t_is_ulong=no
38435 else
38436 echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38438
38439 wx_cv_size_t_is_ulong=yes
38440
38441 fi
38442
38443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38444
38445 fi
38446 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38447 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38448
38449 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38450 cat >>confdefs.h <<\_ACEOF
38451 #define wxSIZE_T_IS_ULONG 1
38452 _ACEOF
38453
38454 fi
38455 fi
38456
38457 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38458 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38459 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38460 echo $ECHO_N "(cached) $ECHO_C" >&6
38461 else
38462 cat >conftest.$ac_ext <<_ACEOF
38463 /* confdefs.h. */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468 #include <wchar.h>
38469 int
38470 main ()
38471 {
38472
38473 return 0; }
38474
38475 struct Foo { void foo(wchar_t);
38476 void foo(unsigned short);
38477 void foo(unsigned int);
38478 void foo(unsigned long); };
38479
38480 int bar() {
38481
38482 ;
38483 return 0;
38484 }
38485 _ACEOF
38486 rm -f conftest.$ac_objext
38487 if { (ac_try="$ac_compile"
38488 case "(($ac_try" in
38489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38490 *) ac_try_echo=$ac_try;;
38491 esac
38492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38493 (eval "$ac_compile") 2>conftest.er1
38494 ac_status=$?
38495 grep -v '^ *+' conftest.er1 >conftest.err
38496 rm -f conftest.er1
38497 cat conftest.err >&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); } && {
38500 test -z "$ac_cxx_werror_flag" ||
38501 test ! -s conftest.err
38502 } && test -s conftest.$ac_objext; then
38503 wx_cv_wchar_t_is_separate_type=yes
38504 else
38505 echo "$as_me: failed program was:" >&5
38506 sed 's/^/| /' conftest.$ac_ext >&5
38507
38508 wx_cv_wchar_t_is_separate_type=no
38509
38510 fi
38511
38512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38513
38514 fi
38515 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38516 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38517
38518 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38519 cat >>confdefs.h <<\_ACEOF
38520 #define wxWCHAR_T_IS_REAL_TYPE 1
38521 _ACEOF
38522
38523 else
38524 cat >>confdefs.h <<\_ACEOF
38525 #define wxWCHAR_T_IS_REAL_TYPE 0
38526 _ACEOF
38527
38528 fi
38529
38530 ac_ext=c
38531 ac_cpp='$CPP $CPPFLAGS'
38532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38535
38536
38537 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38538 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38539 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38540 echo $ECHO_N "(cached) $ECHO_C" >&6
38541 else
38542
38543 cat >conftest.$ac_ext <<_ACEOF
38544 /* confdefs.h. */
38545 _ACEOF
38546 cat confdefs.h >>conftest.$ac_ext
38547 cat >>conftest.$ac_ext <<_ACEOF
38548 /* end confdefs.h. */
38549 #include <pwd.h>
38550 int
38551 main ()
38552 {
38553
38554 char *p;
38555 struct passwd *pw;
38556 p = pw->pw_gecos;
38557
38558 ;
38559 return 0;
38560 }
38561 _ACEOF
38562 rm -f conftest.$ac_objext
38563 if { (ac_try="$ac_compile"
38564 case "(($ac_try" in
38565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38566 *) ac_try_echo=$ac_try;;
38567 esac
38568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38569 (eval "$ac_compile") 2>conftest.er1
38570 ac_status=$?
38571 grep -v '^ *+' conftest.er1 >conftest.err
38572 rm -f conftest.er1
38573 cat conftest.err >&5
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); } && {
38576 test -z "$ac_c_werror_flag" ||
38577 test ! -s conftest.err
38578 } && test -s conftest.$ac_objext; then
38579
38580 wx_cv_struct_pw_gecos=yes
38581
38582 else
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38585
38586
38587 wx_cv_struct_pw_gecos=no
38588
38589
38590 fi
38591
38592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38593
38594
38595 fi
38596 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38597 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38598
38599 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38600 cat >>confdefs.h <<\_ACEOF
38601 #define HAVE_PW_GECOS 1
38602 _ACEOF
38603
38604 fi
38605
38606
38607 WCSLEN_FOUND=0
38608 WCHAR_LINK=
38609
38610 for ac_func in wcslen
38611 do
38612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38613 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38615 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38616 echo $ECHO_N "(cached) $ECHO_C" >&6
38617 else
38618 cat >conftest.$ac_ext <<_ACEOF
38619 /* confdefs.h. */
38620 _ACEOF
38621 cat confdefs.h >>conftest.$ac_ext
38622 cat >>conftest.$ac_ext <<_ACEOF
38623 /* end confdefs.h. */
38624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38626 #define $ac_func innocuous_$ac_func
38627
38628 /* System header to define __stub macros and hopefully few prototypes,
38629 which can conflict with char $ac_func (); below.
38630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38631 <limits.h> exists even on freestanding compilers. */
38632
38633 #ifdef __STDC__
38634 # include <limits.h>
38635 #else
38636 # include <assert.h>
38637 #endif
38638
38639 #undef $ac_func
38640
38641 /* Override any GCC internal prototype to avoid an error.
38642 Use char because int might match the return type of a GCC
38643 builtin and then its argument prototype would still apply. */
38644 #ifdef __cplusplus
38645 extern "C"
38646 #endif
38647 char $ac_func ();
38648 /* The GNU C library defines this for functions which it implements
38649 to always fail with ENOSYS. Some functions are actually named
38650 something starting with __ and the normal name is an alias. */
38651 #if defined __stub_$ac_func || defined __stub___$ac_func
38652 choke me
38653 #endif
38654
38655 int
38656 main ()
38657 {
38658 return $ac_func ();
38659 ;
38660 return 0;
38661 }
38662 _ACEOF
38663 rm -f conftest.$ac_objext conftest$ac_exeext
38664 if { (ac_try="$ac_link"
38665 case "(($ac_try" in
38666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38667 *) ac_try_echo=$ac_try;;
38668 esac
38669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38670 (eval "$ac_link") 2>conftest.er1
38671 ac_status=$?
38672 grep -v '^ *+' conftest.er1 >conftest.err
38673 rm -f conftest.er1
38674 cat conftest.err >&5
38675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676 (exit $ac_status); } && {
38677 test -z "$ac_c_werror_flag" ||
38678 test ! -s conftest.err
38679 } && test -s conftest$ac_exeext &&
38680 $as_test_x conftest$ac_exeext; then
38681 eval "$as_ac_var=yes"
38682 else
38683 echo "$as_me: failed program was:" >&5
38684 sed 's/^/| /' conftest.$ac_ext >&5
38685
38686 eval "$as_ac_var=no"
38687 fi
38688
38689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38690 conftest$ac_exeext conftest.$ac_ext
38691 fi
38692 ac_res=`eval echo '${'$as_ac_var'}'`
38693 { echo "$as_me:$LINENO: result: $ac_res" >&5
38694 echo "${ECHO_T}$ac_res" >&6; }
38695 if test `eval echo '${'$as_ac_var'}'` = yes; then
38696 cat >>confdefs.h <<_ACEOF
38697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38698 _ACEOF
38699 WCSLEN_FOUND=1
38700 fi
38701 done
38702
38703
38704 if test "$WCSLEN_FOUND" = 0; then
38705 if test "$TOOLKIT" = "MSW"; then
38706 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38707 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38708 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38709 echo $ECHO_N "(cached) $ECHO_C" >&6
38710 else
38711 ac_check_lib_save_LIBS=$LIBS
38712 LIBS="-lmsvcrt $LIBS"
38713 cat >conftest.$ac_ext <<_ACEOF
38714 /* confdefs.h. */
38715 _ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38719
38720 /* Override any GCC internal prototype to avoid an error.
38721 Use char because int might match the return type of a GCC
38722 builtin and then its argument prototype would still apply. */
38723 #ifdef __cplusplus
38724 extern "C"
38725 #endif
38726 char wcslen ();
38727 int
38728 main ()
38729 {
38730 return wcslen ();
38731 ;
38732 return 0;
38733 }
38734 _ACEOF
38735 rm -f conftest.$ac_objext conftest$ac_exeext
38736 if { (ac_try="$ac_link"
38737 case "(($ac_try" in
38738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38739 *) ac_try_echo=$ac_try;;
38740 esac
38741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38742 (eval "$ac_link") 2>conftest.er1
38743 ac_status=$?
38744 grep -v '^ *+' conftest.er1 >conftest.err
38745 rm -f conftest.er1
38746 cat conftest.err >&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); } && {
38749 test -z "$ac_c_werror_flag" ||
38750 test ! -s conftest.err
38751 } && test -s conftest$ac_exeext &&
38752 $as_test_x conftest$ac_exeext; then
38753 ac_cv_lib_msvcrt_wcslen=yes
38754 else
38755 echo "$as_me: failed program was:" >&5
38756 sed 's/^/| /' conftest.$ac_ext >&5
38757
38758 ac_cv_lib_msvcrt_wcslen=no
38759 fi
38760
38761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38762 conftest$ac_exeext conftest.$ac_ext
38763 LIBS=$ac_check_lib_save_LIBS
38764 fi
38765 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
38766 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38767 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38768 WCHAR_OK=1
38769 fi
38770
38771 else
38772 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
38773 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
38774 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38775 echo $ECHO_N "(cached) $ECHO_C" >&6
38776 else
38777 ac_check_lib_save_LIBS=$LIBS
38778 LIBS="-lw $LIBS"
38779 cat >conftest.$ac_ext <<_ACEOF
38780 /* confdefs.h. */
38781 _ACEOF
38782 cat confdefs.h >>conftest.$ac_ext
38783 cat >>conftest.$ac_ext <<_ACEOF
38784 /* end confdefs.h. */
38785
38786 /* Override any GCC internal prototype to avoid an error.
38787 Use char because int might match the return type of a GCC
38788 builtin and then its argument prototype would still apply. */
38789 #ifdef __cplusplus
38790 extern "C"
38791 #endif
38792 char wcslen ();
38793 int
38794 main ()
38795 {
38796 return wcslen ();
38797 ;
38798 return 0;
38799 }
38800 _ACEOF
38801 rm -f conftest.$ac_objext conftest$ac_exeext
38802 if { (ac_try="$ac_link"
38803 case "(($ac_try" in
38804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38805 *) ac_try_echo=$ac_try;;
38806 esac
38807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38808 (eval "$ac_link") 2>conftest.er1
38809 ac_status=$?
38810 grep -v '^ *+' conftest.er1 >conftest.err
38811 rm -f conftest.er1
38812 cat conftest.err >&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); } && {
38815 test -z "$ac_c_werror_flag" ||
38816 test ! -s conftest.err
38817 } && test -s conftest$ac_exeext &&
38818 $as_test_x conftest$ac_exeext; then
38819 ac_cv_lib_w_wcslen=yes
38820 else
38821 echo "$as_me: failed program was:" >&5
38822 sed 's/^/| /' conftest.$ac_ext >&5
38823
38824 ac_cv_lib_w_wcslen=no
38825 fi
38826
38827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38828 conftest$ac_exeext conftest.$ac_ext
38829 LIBS=$ac_check_lib_save_LIBS
38830 fi
38831 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
38832 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38833 if test $ac_cv_lib_w_wcslen = yes; then
38834
38835 WCHAR_LINK=" -lw"
38836 WCSLEN_FOUND=1
38837
38838 fi
38839
38840 fi
38841 fi
38842
38843 if test "$WCSLEN_FOUND" = 1; then
38844 cat >>confdefs.h <<\_ACEOF
38845 #define HAVE_WCSLEN 1
38846 _ACEOF
38847
38848 fi
38849
38850
38851
38852
38853
38854
38855
38856 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38857 do
38858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38862 echo $ECHO_N "(cached) $ECHO_C" >&6
38863 else
38864 cat >conftest.$ac_ext <<_ACEOF
38865 /* confdefs.h. */
38866 _ACEOF
38867 cat confdefs.h >>conftest.$ac_ext
38868 cat >>conftest.$ac_ext <<_ACEOF
38869 /* end confdefs.h. */
38870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38872 #define $ac_func innocuous_$ac_func
38873
38874 /* System header to define __stub macros and hopefully few prototypes,
38875 which can conflict with char $ac_func (); below.
38876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38877 <limits.h> exists even on freestanding compilers. */
38878
38879 #ifdef __STDC__
38880 # include <limits.h>
38881 #else
38882 # include <assert.h>
38883 #endif
38884
38885 #undef $ac_func
38886
38887 /* Override any GCC internal prototype to avoid an error.
38888 Use char because int might match the return type of a GCC
38889 builtin and then its argument prototype would still apply. */
38890 #ifdef __cplusplus
38891 extern "C"
38892 #endif
38893 char $ac_func ();
38894 /* The GNU C library defines this for functions which it implements
38895 to always fail with ENOSYS. Some functions are actually named
38896 something starting with __ and the normal name is an alias. */
38897 #if defined __stub_$ac_func || defined __stub___$ac_func
38898 choke me
38899 #endif
38900
38901 int
38902 main ()
38903 {
38904 return $ac_func ();
38905 ;
38906 return 0;
38907 }
38908 _ACEOF
38909 rm -f conftest.$ac_objext conftest$ac_exeext
38910 if { (ac_try="$ac_link"
38911 case "(($ac_try" in
38912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38913 *) ac_try_echo=$ac_try;;
38914 esac
38915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38916 (eval "$ac_link") 2>conftest.er1
38917 ac_status=$?
38918 grep -v '^ *+' conftest.er1 >conftest.err
38919 rm -f conftest.er1
38920 cat conftest.err >&5
38921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922 (exit $ac_status); } && {
38923 test -z "$ac_c_werror_flag" ||
38924 test ! -s conftest.err
38925 } && test -s conftest$ac_exeext &&
38926 $as_test_x conftest$ac_exeext; then
38927 eval "$as_ac_var=yes"
38928 else
38929 echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.$ac_ext >&5
38931
38932 eval "$as_ac_var=no"
38933 fi
38934
38935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38936 conftest$ac_exeext conftest.$ac_ext
38937 fi
38938 ac_res=`eval echo '${'$as_ac_var'}'`
38939 { echo "$as_me:$LINENO: result: $ac_res" >&5
38940 echo "${ECHO_T}$ac_res" >&6; }
38941 if test `eval echo '${'$as_ac_var'}'` = yes; then
38942 cat >>confdefs.h <<_ACEOF
38943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38944 _ACEOF
38945
38946 fi
38947 done
38948
38949
38950 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38951 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38952 fi
38953
38954 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
38955 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
38956 if test "${ac_cv_type_mbstate_t+set}" = set; then
38957 echo $ECHO_N "(cached) $ECHO_C" >&6
38958 else
38959 cat >conftest.$ac_ext <<_ACEOF
38960 /* confdefs.h. */
38961 _ACEOF
38962 cat confdefs.h >>conftest.$ac_ext
38963 cat >>conftest.$ac_ext <<_ACEOF
38964 /* end confdefs.h. */
38965 #include <wchar.h>
38966
38967 typedef mbstate_t ac__type_new_;
38968 int
38969 main ()
38970 {
38971 if ((ac__type_new_ *) 0)
38972 return 0;
38973 if (sizeof (ac__type_new_))
38974 return 0;
38975 ;
38976 return 0;
38977 }
38978 _ACEOF
38979 rm -f conftest.$ac_objext
38980 if { (ac_try="$ac_compile"
38981 case "(($ac_try" in
38982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38983 *) ac_try_echo=$ac_try;;
38984 esac
38985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38986 (eval "$ac_compile") 2>conftest.er1
38987 ac_status=$?
38988 grep -v '^ *+' conftest.er1 >conftest.err
38989 rm -f conftest.er1
38990 cat conftest.err >&5
38991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38992 (exit $ac_status); } && {
38993 test -z "$ac_c_werror_flag" ||
38994 test ! -s conftest.err
38995 } && test -s conftest.$ac_objext; then
38996 ac_cv_type_mbstate_t=yes
38997 else
38998 echo "$as_me: failed program was:" >&5
38999 sed 's/^/| /' conftest.$ac_ext >&5
39000
39001 ac_cv_type_mbstate_t=no
39002 fi
39003
39004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39005 fi
39006 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39007 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39008 if test $ac_cv_type_mbstate_t = yes; then
39009
39010 cat >>confdefs.h <<_ACEOF
39011 #define HAVE_MBSTATE_T 1
39012 _ACEOF
39013
39014
39015 for ac_func in wcsrtombs
39016 do
39017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39021 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 else
39023 cat >conftest.$ac_ext <<_ACEOF
39024 /* confdefs.h. */
39025 _ACEOF
39026 cat confdefs.h >>conftest.$ac_ext
39027 cat >>conftest.$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39031 #define $ac_func innocuous_$ac_func
39032
39033 /* System header to define __stub macros and hopefully few prototypes,
39034 which can conflict with char $ac_func (); below.
39035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39036 <limits.h> exists even on freestanding compilers. */
39037
39038 #ifdef __STDC__
39039 # include <limits.h>
39040 #else
39041 # include <assert.h>
39042 #endif
39043
39044 #undef $ac_func
39045
39046 /* Override any GCC internal prototype to avoid an error.
39047 Use char because int might match the return type of a GCC
39048 builtin and then its argument prototype would still apply. */
39049 #ifdef __cplusplus
39050 extern "C"
39051 #endif
39052 char $ac_func ();
39053 /* The GNU C library defines this for functions which it implements
39054 to always fail with ENOSYS. Some functions are actually named
39055 something starting with __ and the normal name is an alias. */
39056 #if defined __stub_$ac_func || defined __stub___$ac_func
39057 choke me
39058 #endif
39059
39060 int
39061 main ()
39062 {
39063 return $ac_func ();
39064 ;
39065 return 0;
39066 }
39067 _ACEOF
39068 rm -f conftest.$ac_objext conftest$ac_exeext
39069 if { (ac_try="$ac_link"
39070 case "(($ac_try" in
39071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39072 *) ac_try_echo=$ac_try;;
39073 esac
39074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39075 (eval "$ac_link") 2>conftest.er1
39076 ac_status=$?
39077 grep -v '^ *+' conftest.er1 >conftest.err
39078 rm -f conftest.er1
39079 cat conftest.err >&5
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); } && {
39082 test -z "$ac_c_werror_flag" ||
39083 test ! -s conftest.err
39084 } && test -s conftest$ac_exeext &&
39085 $as_test_x conftest$ac_exeext; then
39086 eval "$as_ac_var=yes"
39087 else
39088 echo "$as_me: failed program was:" >&5
39089 sed 's/^/| /' conftest.$ac_ext >&5
39090
39091 eval "$as_ac_var=no"
39092 fi
39093
39094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39095 conftest$ac_exeext conftest.$ac_ext
39096 fi
39097 ac_res=`eval echo '${'$as_ac_var'}'`
39098 { echo "$as_me:$LINENO: result: $ac_res" >&5
39099 echo "${ECHO_T}$ac_res" >&6; }
39100 if test `eval echo '${'$as_ac_var'}'` = yes; then
39101 cat >>confdefs.h <<_ACEOF
39102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39103 _ACEOF
39104
39105 fi
39106 done
39107
39108 fi
39109
39110
39111
39112
39113
39114 for ac_func in snprintf vsnprintf vsscanf
39115 do
39116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 else
39122 cat >conftest.$ac_ext <<_ACEOF
39123 /* confdefs.h. */
39124 _ACEOF
39125 cat confdefs.h >>conftest.$ac_ext
39126 cat >>conftest.$ac_ext <<_ACEOF
39127 /* end confdefs.h. */
39128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39130 #define $ac_func innocuous_$ac_func
39131
39132 /* System header to define __stub macros and hopefully few prototypes,
39133 which can conflict with char $ac_func (); below.
39134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39135 <limits.h> exists even on freestanding compilers. */
39136
39137 #ifdef __STDC__
39138 # include <limits.h>
39139 #else
39140 # include <assert.h>
39141 #endif
39142
39143 #undef $ac_func
39144
39145 /* Override any GCC internal prototype to avoid an error.
39146 Use char because int might match the return type of a GCC
39147 builtin and then its argument prototype would still apply. */
39148 #ifdef __cplusplus
39149 extern "C"
39150 #endif
39151 char $ac_func ();
39152 /* The GNU C library defines this for functions which it implements
39153 to always fail with ENOSYS. Some functions are actually named
39154 something starting with __ and the normal name is an alias. */
39155 #if defined __stub_$ac_func || defined __stub___$ac_func
39156 choke me
39157 #endif
39158
39159 int
39160 main ()
39161 {
39162 return $ac_func ();
39163 ;
39164 return 0;
39165 }
39166 _ACEOF
39167 rm -f conftest.$ac_objext conftest$ac_exeext
39168 if { (ac_try="$ac_link"
39169 case "(($ac_try" in
39170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39171 *) ac_try_echo=$ac_try;;
39172 esac
39173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39174 (eval "$ac_link") 2>conftest.er1
39175 ac_status=$?
39176 grep -v '^ *+' conftest.er1 >conftest.err
39177 rm -f conftest.er1
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } && {
39181 test -z "$ac_c_werror_flag" ||
39182 test ! -s conftest.err
39183 } && test -s conftest$ac_exeext &&
39184 $as_test_x conftest$ac_exeext; then
39185 eval "$as_ac_var=yes"
39186 else
39187 echo "$as_me: failed program was:" >&5
39188 sed 's/^/| /' conftest.$ac_ext >&5
39189
39190 eval "$as_ac_var=no"
39191 fi
39192
39193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39194 conftest$ac_exeext conftest.$ac_ext
39195 fi
39196 ac_res=`eval echo '${'$as_ac_var'}'`
39197 { echo "$as_me:$LINENO: result: $ac_res" >&5
39198 echo "${ECHO_T}$ac_res" >&6; }
39199 if test `eval echo '${'$as_ac_var'}'` = yes; then
39200 cat >>confdefs.h <<_ACEOF
39201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39202 _ACEOF
39203
39204 fi
39205 done
39206
39207
39208 ac_ext=cpp
39209 ac_cpp='$CXXCPP $CPPFLAGS'
39210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39213
39214 if test "$ac_cv_func_vsnprintf" = "yes"; then
39215 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39216 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39217 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39218 echo $ECHO_N "(cached) $ECHO_C" >&6
39219 else
39220
39221 cat >conftest.$ac_ext <<_ACEOF
39222 /* confdefs.h. */
39223 _ACEOF
39224 cat confdefs.h >>conftest.$ac_ext
39225 cat >>conftest.$ac_ext <<_ACEOF
39226 /* end confdefs.h. */
39227
39228 #include <stdio.h>
39229 #include <stdarg.h>
39230
39231 int
39232 main ()
39233 {
39234
39235 char *buf;
39236 va_list ap;
39237 vsnprintf(buf, 10u, "%s", ap);
39238
39239 ;
39240 return 0;
39241 }
39242 _ACEOF
39243 rm -f conftest.$ac_objext
39244 if { (ac_try="$ac_compile"
39245 case "(($ac_try" in
39246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39247 *) ac_try_echo=$ac_try;;
39248 esac
39249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39250 (eval "$ac_compile") 2>conftest.er1
39251 ac_status=$?
39252 grep -v '^ *+' conftest.er1 >conftest.err
39253 rm -f conftest.er1
39254 cat conftest.err >&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); } && {
39257 test -z "$ac_cxx_werror_flag" ||
39258 test ! -s conftest.err
39259 } && test -s conftest.$ac_objext; then
39260 wx_cv_func_vsnprintf_decl=yes
39261 else
39262 echo "$as_me: failed program was:" >&5
39263 sed 's/^/| /' conftest.$ac_ext >&5
39264
39265 wx_cv_func_vsnprintf_decl=no
39266
39267 fi
39268
39269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39270
39271
39272 fi
39273 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39274 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39275
39276 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39277 cat >>confdefs.h <<\_ACEOF
39278 #define HAVE_VSNPRINTF_DECL 1
39279 _ACEOF
39280
39281
39282 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39283 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39284 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39285 echo $ECHO_N "(cached) $ECHO_C" >&6
39286 else
39287
39288 cat >conftest.$ac_ext <<_ACEOF
39289 /* confdefs.h. */
39290 _ACEOF
39291 cat confdefs.h >>conftest.$ac_ext
39292 cat >>conftest.$ac_ext <<_ACEOF
39293 /* end confdefs.h. */
39294
39295 #include <stdio.h>
39296 #include <stdarg.h>
39297 #ifdef __MSL__
39298 #if __MSL__ >= 0x6000
39299 namespace std {}
39300 using namespace std;
39301 #endif
39302 #endif
39303
39304 int
39305 main ()
39306 {
39307
39308 char *buf;
39309 va_list ap;
39310 const char *fmt = "%s";
39311 vsnprintf(buf, 10u, fmt, ap);
39312
39313 ;
39314 return 0;
39315 }
39316 _ACEOF
39317 rm -f conftest.$ac_objext
39318 if { (ac_try="$ac_compile"
39319 case "(($ac_try" in
39320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39321 *) ac_try_echo=$ac_try;;
39322 esac
39323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39324 (eval "$ac_compile") 2>conftest.er1
39325 ac_status=$?
39326 grep -v '^ *+' conftest.er1 >conftest.err
39327 rm -f conftest.er1
39328 cat conftest.err >&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); } && {
39331 test -z "$ac_cxx_werror_flag" ||
39332 test ! -s conftest.err
39333 } && test -s conftest.$ac_objext; then
39334 wx_cv_func_broken_vsnprintf_decl=no
39335 else
39336 echo "$as_me: failed program was:" >&5
39337 sed 's/^/| /' conftest.$ac_ext >&5
39338
39339 wx_cv_func_broken_vsnprintf_decl=yes
39340
39341 fi
39342
39343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39344
39345
39346 fi
39347 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39348 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39349
39350 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39351 cat >>confdefs.h <<\_ACEOF
39352 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39353 _ACEOF
39354
39355 fi
39356 fi
39357 fi
39358
39359 if test "$ac_cv_func_snprintf" = "yes"; then
39360 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39361 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39362 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39363 echo $ECHO_N "(cached) $ECHO_C" >&6
39364 else
39365
39366 cat >conftest.$ac_ext <<_ACEOF
39367 /* confdefs.h. */
39368 _ACEOF
39369 cat confdefs.h >>conftest.$ac_ext
39370 cat >>conftest.$ac_ext <<_ACEOF
39371 /* end confdefs.h. */
39372
39373 #include <stdio.h>
39374 #include <stdarg.h>
39375 #ifdef __MSL__
39376 #if __MSL__ >= 0x6000
39377 namespace std {}
39378 using namespace std;
39379 #endif
39380 #endif
39381
39382 int
39383 main ()
39384 {
39385
39386 char *buf;
39387 snprintf(buf, 10u, "%s", "wx");
39388
39389 ;
39390 return 0;
39391 }
39392 _ACEOF
39393 rm -f conftest.$ac_objext
39394 if { (ac_try="$ac_compile"
39395 case "(($ac_try" in
39396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39397 *) ac_try_echo=$ac_try;;
39398 esac
39399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39400 (eval "$ac_compile") 2>conftest.er1
39401 ac_status=$?
39402 grep -v '^ *+' conftest.er1 >conftest.err
39403 rm -f conftest.er1
39404 cat conftest.err >&5
39405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406 (exit $ac_status); } && {
39407 test -z "$ac_cxx_werror_flag" ||
39408 test ! -s conftest.err
39409 } && test -s conftest.$ac_objext; then
39410 wx_cv_func_snprintf_decl=yes
39411 else
39412 echo "$as_me: failed program was:" >&5
39413 sed 's/^/| /' conftest.$ac_ext >&5
39414
39415 wx_cv_func_snprintf_decl=no
39416
39417 fi
39418
39419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39420
39421
39422 fi
39423 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39424 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39425
39426 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39427 cat >>confdefs.h <<\_ACEOF
39428 #define HAVE_SNPRINTF_DECL 1
39429 _ACEOF
39430
39431 fi
39432
39433 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39434
39435 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39436 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39437 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39438 echo $ECHO_N "(cached) $ECHO_C" >&6
39439 else
39440
39441 if test "$cross_compiling" = yes; then
39442
39443 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39444 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39445 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39446 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39447 wx_cv_func_snprintf_pos_params=no
39448
39449
39450 else
39451 cat >conftest.$ac_ext <<_ACEOF
39452 /* confdefs.h. */
39453 _ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39457
39458 #include <stdio.h>
39459
39460 int main (void)
39461 {
39462 char buffer[128];
39463 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39464 if (strcmp ("2 3 1", buffer) == 0)
39465 exit (0);
39466 exit (1);
39467 }
39468
39469 _ACEOF
39470 rm -f conftest$ac_exeext
39471 if { (ac_try="$ac_link"
39472 case "(($ac_try" in
39473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39474 *) ac_try_echo=$ac_try;;
39475 esac
39476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39477 (eval "$ac_link") 2>&5
39478 ac_status=$?
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39481 { (case "(($ac_try" in
39482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39483 *) ac_try_echo=$ac_try;;
39484 esac
39485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39486 (eval "$ac_try") 2>&5
39487 ac_status=$?
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); }; }; then
39490 wx_cv_func_snprintf_pos_params=no
39491 else
39492 echo "$as_me: program exited with status $ac_status" >&5
39493 echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.$ac_ext >&5
39495
39496 ( exit $ac_status )
39497 wx_cv_func_snprintf_pos_params=yes
39498 fi
39499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39500 fi
39501
39502
39503
39504
39505 fi
39506 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39507 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39508
39509 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_UNIX98_PRINTF 1
39512 _ACEOF
39513
39514 fi
39515 fi
39516 fi
39517
39518 if test "$ac_cv_func_vsscanf" = "yes"; then
39519 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39520 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39521 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39522 echo $ECHO_N "(cached) $ECHO_C" >&6
39523 else
39524
39525 cat >conftest.$ac_ext <<_ACEOF
39526 /* confdefs.h. */
39527 _ACEOF
39528 cat confdefs.h >>conftest.$ac_ext
39529 cat >>conftest.$ac_ext <<_ACEOF
39530 /* end confdefs.h. */
39531
39532 #include <stdio.h>
39533 #include <stdarg.h>
39534 #ifdef __MSL__
39535 #if __MSL__ >= 0x6000
39536 namespace std {}
39537 using namespace std;
39538 #endif
39539 #endif
39540
39541 int
39542 main ()
39543 {
39544
39545 char *buf;
39546 va_list args;
39547 vsscanf(buf, "%s", args);
39548
39549 ;
39550 return 0;
39551 }
39552 _ACEOF
39553 rm -f conftest.$ac_objext
39554 if { (ac_try="$ac_compile"
39555 case "(($ac_try" in
39556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39557 *) ac_try_echo=$ac_try;;
39558 esac
39559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39560 (eval "$ac_compile") 2>conftest.er1
39561 ac_status=$?
39562 grep -v '^ *+' conftest.er1 >conftest.err
39563 rm -f conftest.er1
39564 cat conftest.err >&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); } && {
39567 test -z "$ac_cxx_werror_flag" ||
39568 test ! -s conftest.err
39569 } && test -s conftest.$ac_objext; then
39570 wx_cv_func_vsscanf_decl=yes
39571 else
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39574
39575 wx_cv_func_vsscanf_decl=no
39576
39577 fi
39578
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39580
39581
39582 fi
39583 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39584 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39585
39586 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39587 cat >>confdefs.h <<\_ACEOF
39588 #define HAVE_VSSCANF_DECL 1
39589 _ACEOF
39590
39591 fi
39592 fi
39593 ac_ext=c
39594 ac_cpp='$CPP $CPPFLAGS'
39595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39598
39599
39600 if test "$wxUSE_UNICODE" = yes; then
39601
39602 wchar_headers="#include <stdio.h>
39603 #include <wchar.h>"
39604 case "${host}" in
39605 *-*-solaris2* )
39606
39607 for ac_header in widec.h
39608 do
39609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39613 echo $ECHO_N "(cached) $ECHO_C" >&6
39614 else
39615 cat >conftest.$ac_ext <<_ACEOF
39616 /* confdefs.h. */
39617 _ACEOF
39618 cat confdefs.h >>conftest.$ac_ext
39619 cat >>conftest.$ac_ext <<_ACEOF
39620 /* end confdefs.h. */
39621 $ac_includes_default
39622
39623 #include <$ac_header>
39624 _ACEOF
39625 rm -f conftest.$ac_objext
39626 if { (ac_try="$ac_compile"
39627 case "(($ac_try" in
39628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39629 *) ac_try_echo=$ac_try;;
39630 esac
39631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39632 (eval "$ac_compile") 2>conftest.er1
39633 ac_status=$?
39634 grep -v '^ *+' conftest.er1 >conftest.err
39635 rm -f conftest.er1
39636 cat conftest.err >&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } && {
39639 test -z "$ac_c_werror_flag" ||
39640 test ! -s conftest.err
39641 } && test -s conftest.$ac_objext; then
39642 eval "$as_ac_Header=yes"
39643 else
39644 echo "$as_me: failed program was:" >&5
39645 sed 's/^/| /' conftest.$ac_ext >&5
39646
39647 eval "$as_ac_Header=no"
39648 fi
39649
39650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39651 fi
39652 ac_res=`eval echo '${'$as_ac_Header'}'`
39653 { echo "$as_me:$LINENO: result: $ac_res" >&5
39654 echo "${ECHO_T}$ac_res" >&6; }
39655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39656 cat >>confdefs.h <<_ACEOF
39657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39658 _ACEOF
39659
39660 fi
39661
39662 done
39663
39664 if test "$ac_cv_header_widec_h" = "yes"; then
39665 wchar_headers="$wchar_headers
39666 #include <widec.h>"
39667 fi
39668 esac
39669
39670
39671 for wx_func in putws fputws wprintf vswprintf vswscanf
39672 do
39673 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39674 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39675 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678
39679 cat >conftest.$ac_ext <<_ACEOF
39680
39681 /* confdefs.h. */
39682 _ACEOF
39683 cat confdefs.h >>conftest.$ac_ext
39684 cat >>conftest.$ac_ext <<_ACEOF
39685 /* end confdefs.h. */
39686
39687 $wchar_headers
39688 $ac_includes_default
39689
39690 int
39691 main ()
39692 {
39693
39694 #ifndef $wx_func
39695 &$wx_func;
39696 #endif
39697
39698
39699 ;
39700 return 0;
39701 }
39702
39703 _ACEOF
39704 rm -f conftest.$ac_objext conftest$ac_exeext
39705 if { (ac_try="$ac_link"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39708 *) ac_try_echo=$ac_try;;
39709 esac
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_link") 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_c_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest$ac_exeext &&
39721 $as_test_x conftest$ac_exeext; then
39722 eval wx_cv_func_$wx_func=yes
39723 else
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.$ac_ext >&5
39726
39727 eval wx_cv_func_$wx_func=no
39728 fi
39729
39730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39731 conftest$ac_exeext conftest.$ac_ext
39732
39733 fi
39734 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39735 { echo "$as_me:$LINENO: result: $ac_res" >&5
39736 echo "${ECHO_T}$ac_res" >&6; }
39737
39738 if eval test \$wx_cv_func_$wx_func = yes
39739 then
39740 cat >>confdefs.h <<_ACEOF
39741 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39742 _ACEOF
39743
39744
39745 else
39746 :
39747
39748 fi
39749 done
39750
39751
39752 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39753 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39754 cat >conftest.$ac_ext <<_ACEOF
39755 /* confdefs.h. */
39756 _ACEOF
39757 cat confdefs.h >>conftest.$ac_ext
39758 cat >>conftest.$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 #include <wchar.h>
39761 int
39762 main ()
39763 {
39764 &_vsnwprintf;
39765 ;
39766 return 0;
39767 }
39768 _ACEOF
39769 rm -f conftest.$ac_objext
39770 if { (ac_try="$ac_compile"
39771 case "(($ac_try" in
39772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39773 *) ac_try_echo=$ac_try;;
39774 esac
39775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39776 (eval "$ac_compile") 2>conftest.er1
39777 ac_status=$?
39778 grep -v '^ *+' conftest.er1 >conftest.err
39779 rm -f conftest.er1
39780 cat conftest.err >&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); } && {
39783 test -z "$ac_c_werror_flag" ||
39784 test ! -s conftest.err
39785 } && test -s conftest.$ac_objext; then
39786 { echo "$as_me:$LINENO: result: yes" >&5
39787 echo "${ECHO_T}yes" >&6; }
39788 cat >>confdefs.h <<\_ACEOF
39789 #define HAVE__VSNWPRINTF 1
39790 _ACEOF
39791
39792 else
39793 echo "$as_me: failed program was:" >&5
39794 sed 's/^/| /' conftest.$ac_ext >&5
39795
39796 { echo "$as_me:$LINENO: result: no" >&5
39797 echo "${ECHO_T}no" >&6; }
39798 fi
39799
39800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39801 fi
39802
39803 if test "$wxUSE_FILE" = "yes"; then
39804
39805 for wx_func in fsync
39806 do
39807 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39808 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39809 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39811 else
39812
39813 cat >conftest.$ac_ext <<_ACEOF
39814
39815 /* confdefs.h. */
39816 _ACEOF
39817 cat confdefs.h >>conftest.$ac_ext
39818 cat >>conftest.$ac_ext <<_ACEOF
39819 /* end confdefs.h. */
39820
39821
39822 $ac_includes_default
39823
39824 int
39825 main ()
39826 {
39827
39828 #ifndef $wx_func
39829 &$wx_func;
39830 #endif
39831
39832
39833 ;
39834 return 0;
39835 }
39836
39837 _ACEOF
39838 rm -f conftest.$ac_objext conftest$ac_exeext
39839 if { (ac_try="$ac_link"
39840 case "(($ac_try" in
39841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39842 *) ac_try_echo=$ac_try;;
39843 esac
39844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39845 (eval "$ac_link") 2>conftest.er1
39846 ac_status=$?
39847 grep -v '^ *+' conftest.er1 >conftest.err
39848 rm -f conftest.er1
39849 cat conftest.err >&5
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); } && {
39852 test -z "$ac_c_werror_flag" ||
39853 test ! -s conftest.err
39854 } && test -s conftest$ac_exeext &&
39855 $as_test_x conftest$ac_exeext; then
39856 eval wx_cv_func_$wx_func=yes
39857 else
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.$ac_ext >&5
39860
39861 eval wx_cv_func_$wx_func=no
39862 fi
39863
39864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39865 conftest$ac_exeext conftest.$ac_ext
39866
39867 fi
39868 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39869 { echo "$as_me:$LINENO: result: $ac_res" >&5
39870 echo "${ECHO_T}$ac_res" >&6; }
39871
39872 if eval test \$wx_cv_func_$wx_func = yes
39873 then
39874 cat >>confdefs.h <<_ACEOF
39875 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39876 _ACEOF
39877
39878
39879 else
39880 :
39881
39882 fi
39883 done
39884
39885 fi
39886
39887 ac_ext=cpp
39888 ac_cpp='$CXXCPP $CPPFLAGS'
39889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39892
39893
39894 for wx_func in round
39895 do
39896 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39897 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39898 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39899 echo $ECHO_N "(cached) $ECHO_C" >&6
39900 else
39901
39902 cat >conftest.$ac_ext <<_ACEOF
39903
39904 /* confdefs.h. */
39905 _ACEOF
39906 cat confdefs.h >>conftest.$ac_ext
39907 cat >>conftest.$ac_ext <<_ACEOF
39908 /* end confdefs.h. */
39909
39910 #include <math.h>
39911 $ac_includes_default
39912
39913 int
39914 main ()
39915 {
39916
39917 #ifndef $wx_func
39918 &$wx_func;
39919 #endif
39920
39921
39922 ;
39923 return 0;
39924 }
39925
39926 _ACEOF
39927 rm -f conftest.$ac_objext conftest$ac_exeext
39928 if { (ac_try="$ac_link"
39929 case "(($ac_try" in
39930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39931 *) ac_try_echo=$ac_try;;
39932 esac
39933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39934 (eval "$ac_link") 2>conftest.er1
39935 ac_status=$?
39936 grep -v '^ *+' conftest.er1 >conftest.err
39937 rm -f conftest.er1
39938 cat conftest.err >&5
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); } && {
39941 test -z "$ac_cxx_werror_flag" ||
39942 test ! -s conftest.err
39943 } && test -s conftest$ac_exeext &&
39944 $as_test_x conftest$ac_exeext; then
39945 eval wx_cv_func_$wx_func=yes
39946 else
39947 echo "$as_me: failed program was:" >&5
39948 sed 's/^/| /' conftest.$ac_ext >&5
39949
39950 eval wx_cv_func_$wx_func=no
39951 fi
39952
39953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39954 conftest$ac_exeext conftest.$ac_ext
39955
39956 fi
39957 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39958 { echo "$as_me:$LINENO: result: $ac_res" >&5
39959 echo "${ECHO_T}$ac_res" >&6; }
39960
39961 if eval test \$wx_cv_func_$wx_func = yes
39962 then
39963 cat >>confdefs.h <<_ACEOF
39964 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39965 _ACEOF
39966
39967
39968 else
39969 :
39970
39971 fi
39972 done
39973
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39979
39980
39981 if test "$TOOLKIT" != "MSW"; then
39982
39983 if test "$wxUSE_LIBICONV" != "no" ; then
39984
39985
39986
39987 # Check whether --with-libiconv-prefix was given.
39988 if test "${with_libiconv_prefix+set}" = set; then
39989 withval=$with_libiconv_prefix;
39990 for dir in `echo "$withval" | tr : ' '`; do
39991 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39992 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39993 done
39994
39995 fi
39996
39997
39998 { echo "$as_me:$LINENO: checking for iconv" >&5
39999 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40000 if test "${am_cv_func_iconv+set}" = set; then
40001 echo $ECHO_N "(cached) $ECHO_C" >&6
40002 else
40003
40004 am_cv_func_iconv="no, consider installing GNU libiconv"
40005 am_cv_lib_iconv=no
40006 cat >conftest.$ac_ext <<_ACEOF
40007 /* confdefs.h. */
40008 _ACEOF
40009 cat confdefs.h >>conftest.$ac_ext
40010 cat >>conftest.$ac_ext <<_ACEOF
40011 /* end confdefs.h. */
40012 #include <stdlib.h>
40013 #include <iconv.h>
40014 int
40015 main ()
40016 {
40017 iconv_t cd = iconv_open("","");
40018 iconv(cd,NULL,NULL,NULL,NULL);
40019 iconv_close(cd);
40020 ;
40021 return 0;
40022 }
40023 _ACEOF
40024 rm -f conftest.$ac_objext conftest$ac_exeext
40025 if { (ac_try="$ac_link"
40026 case "(($ac_try" in
40027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40028 *) ac_try_echo=$ac_try;;
40029 esac
40030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40031 (eval "$ac_link") 2>conftest.er1
40032 ac_status=$?
40033 grep -v '^ *+' conftest.er1 >conftest.err
40034 rm -f conftest.er1
40035 cat conftest.err >&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); } && {
40038 test -z "$ac_c_werror_flag" ||
40039 test ! -s conftest.err
40040 } && test -s conftest$ac_exeext &&
40041 $as_test_x conftest$ac_exeext; then
40042 am_cv_func_iconv=yes
40043 else
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40046
40047
40048 fi
40049
40050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40051 conftest$ac_exeext conftest.$ac_ext
40052 if test "$am_cv_func_iconv" != yes; then
40053 am_save_LIBS="$LIBS"
40054 LIBS="$LIBS -liconv"
40055 cat >conftest.$ac_ext <<_ACEOF
40056 /* confdefs.h. */
40057 _ACEOF
40058 cat confdefs.h >>conftest.$ac_ext
40059 cat >>conftest.$ac_ext <<_ACEOF
40060 /* end confdefs.h. */
40061 #include <stdlib.h>
40062 #include <iconv.h>
40063 int
40064 main ()
40065 {
40066 iconv_t cd = iconv_open("","");
40067 iconv(cd,NULL,NULL,NULL,NULL);
40068 iconv_close(cd);
40069 ;
40070 return 0;
40071 }
40072 _ACEOF
40073 rm -f conftest.$ac_objext conftest$ac_exeext
40074 if { (ac_try="$ac_link"
40075 case "(($ac_try" in
40076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40077 *) ac_try_echo=$ac_try;;
40078 esac
40079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40080 (eval "$ac_link") 2>conftest.er1
40081 ac_status=$?
40082 grep -v '^ *+' conftest.er1 >conftest.err
40083 rm -f conftest.er1
40084 cat conftest.err >&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } && {
40087 test -z "$ac_c_werror_flag" ||
40088 test ! -s conftest.err
40089 } && test -s conftest$ac_exeext &&
40090 $as_test_x conftest$ac_exeext; then
40091 am_cv_lib_iconv=yes
40092 am_cv_func_iconv=yes
40093 else
40094 echo "$as_me: failed program was:" >&5
40095 sed 's/^/| /' conftest.$ac_ext >&5
40096
40097
40098 fi
40099
40100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40101 conftest$ac_exeext conftest.$ac_ext
40102 LIBS="$am_save_LIBS"
40103 fi
40104
40105 fi
40106 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40107 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40108 if test "$am_cv_func_iconv" = yes; then
40109
40110 cat >>confdefs.h <<\_ACEOF
40111 #define HAVE_ICONV 1
40112 _ACEOF
40113
40114 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40115 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40116 if test "${wx_cv_func_iconv_const+set}" = set; then
40117 echo $ECHO_N "(cached) $ECHO_C" >&6
40118 else
40119 cat >conftest.$ac_ext <<_ACEOF
40120 /* confdefs.h. */
40121 _ACEOF
40122 cat confdefs.h >>conftest.$ac_ext
40123 cat >>conftest.$ac_ext <<_ACEOF
40124 /* end confdefs.h. */
40125
40126 #include <stdlib.h>
40127 #include <iconv.h>
40128 extern
40129 #ifdef __cplusplus
40130 "C"
40131 #endif
40132 #if defined(__STDC__) || defined(__cplusplus)
40133 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40134 #else
40135 size_t iconv();
40136 #endif
40137
40138 int
40139 main ()
40140 {
40141
40142 ;
40143 return 0;
40144 }
40145 _ACEOF
40146 rm -f conftest.$ac_objext
40147 if { (ac_try="$ac_compile"
40148 case "(($ac_try" in
40149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40150 *) ac_try_echo=$ac_try;;
40151 esac
40152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40153 (eval "$ac_compile") 2>conftest.er1
40154 ac_status=$?
40155 grep -v '^ *+' conftest.er1 >conftest.err
40156 rm -f conftest.er1
40157 cat conftest.err >&5
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); } && {
40160 test -z "$ac_c_werror_flag" ||
40161 test ! -s conftest.err
40162 } && test -s conftest.$ac_objext; then
40163 wx_cv_func_iconv_const="no"
40164 else
40165 echo "$as_me: failed program was:" >&5
40166 sed 's/^/| /' conftest.$ac_ext >&5
40167
40168 wx_cv_func_iconv_const="yes"
40169
40170 fi
40171
40172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40173
40174 fi
40175 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40176 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40177
40178 iconv_const=
40179 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40180 iconv_const="const"
40181 fi
40182
40183
40184 cat >>confdefs.h <<_ACEOF
40185 #define ICONV_CONST $iconv_const
40186 _ACEOF
40187
40188 fi
40189 LIBICONV=
40190 if test "$am_cv_lib_iconv" = yes; then
40191 LIBICONV="-liconv"
40192 fi
40193
40194
40195 LIBS="$LIBICONV $LIBS"
40196 fi
40197
40198 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40199
40200 for ac_func in sigaction
40201 do
40202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40203 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40205 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40207 else
40208 cat >conftest.$ac_ext <<_ACEOF
40209 /* confdefs.h. */
40210 _ACEOF
40211 cat confdefs.h >>conftest.$ac_ext
40212 cat >>conftest.$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40216 #define $ac_func innocuous_$ac_func
40217
40218 /* System header to define __stub macros and hopefully few prototypes,
40219 which can conflict with char $ac_func (); below.
40220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40221 <limits.h> exists even on freestanding compilers. */
40222
40223 #ifdef __STDC__
40224 # include <limits.h>
40225 #else
40226 # include <assert.h>
40227 #endif
40228
40229 #undef $ac_func
40230
40231 /* Override any GCC internal prototype to avoid an error.
40232 Use char because int might match the return type of a GCC
40233 builtin and then its argument prototype would still apply. */
40234 #ifdef __cplusplus
40235 extern "C"
40236 #endif
40237 char $ac_func ();
40238 /* The GNU C library defines this for functions which it implements
40239 to always fail with ENOSYS. Some functions are actually named
40240 something starting with __ and the normal name is an alias. */
40241 #if defined __stub_$ac_func || defined __stub___$ac_func
40242 choke me
40243 #endif
40244
40245 int
40246 main ()
40247 {
40248 return $ac_func ();
40249 ;
40250 return 0;
40251 }
40252 _ACEOF
40253 rm -f conftest.$ac_objext conftest$ac_exeext
40254 if { (ac_try="$ac_link"
40255 case "(($ac_try" in
40256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40257 *) ac_try_echo=$ac_try;;
40258 esac
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_link") 2>conftest.er1
40261 ac_status=$?
40262 grep -v '^ *+' conftest.er1 >conftest.err
40263 rm -f conftest.er1
40264 cat conftest.err >&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest$ac_exeext &&
40270 $as_test_x conftest$ac_exeext; then
40271 eval "$as_ac_var=yes"
40272 else
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40275
40276 eval "$as_ac_var=no"
40277 fi
40278
40279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40280 conftest$ac_exeext conftest.$ac_ext
40281 fi
40282 ac_res=`eval echo '${'$as_ac_var'}'`
40283 { echo "$as_me:$LINENO: result: $ac_res" >&5
40284 echo "${ECHO_T}$ac_res" >&6; }
40285 if test `eval echo '${'$as_ac_var'}'` = yes; then
40286 cat >>confdefs.h <<_ACEOF
40287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40288 _ACEOF
40289
40290 fi
40291 done
40292
40293
40294 if test "$ac_cv_func_sigaction" = "no"; then
40295 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40296 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40297 wxUSE_ON_FATAL_EXCEPTION=no
40298 fi
40299
40300 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40301 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40302 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40303 if test "${wx_cv_type_sa_handler+set}" = set; then
40304 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 else
40306
40307 ac_ext=cpp
40308 ac_cpp='$CXXCPP $CPPFLAGS'
40309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40312
40313 cat >conftest.$ac_ext <<_ACEOF
40314 /* confdefs.h. */
40315 _ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h. */
40319 #include <signal.h>
40320 int
40321 main ()
40322 {
40323
40324 extern void testSigHandler(int);
40325
40326 struct sigaction sa;
40327 sa.sa_handler = testSigHandler;
40328
40329 ;
40330 return 0;
40331 }
40332 _ACEOF
40333 rm -f conftest.$ac_objext
40334 if { (ac_try="$ac_compile"
40335 case "(($ac_try" in
40336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40337 *) ac_try_echo=$ac_try;;
40338 esac
40339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40340 (eval "$ac_compile") 2>conftest.er1
40341 ac_status=$?
40342 grep -v '^ *+' conftest.er1 >conftest.err
40343 rm -f conftest.er1
40344 cat conftest.err >&5
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); } && {
40347 test -z "$ac_cxx_werror_flag" ||
40348 test ! -s conftest.err
40349 } && test -s conftest.$ac_objext; then
40350
40351 wx_cv_type_sa_handler=int
40352
40353 else
40354 echo "$as_me: failed program was:" >&5
40355 sed 's/^/| /' conftest.$ac_ext >&5
40356
40357
40358 wx_cv_type_sa_handler=void
40359
40360 fi
40361
40362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363 ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368
40369
40370 fi
40371 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40372 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40373
40374 cat >>confdefs.h <<_ACEOF
40375 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40376 _ACEOF
40377
40378 fi
40379 fi
40380
40381 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40382 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40383 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40384 if test "${wx_cv_func_backtrace+set}" = set; then
40385 echo $ECHO_N "(cached) $ECHO_C" >&6
40386 else
40387
40388 ac_ext=cpp
40389 ac_cpp='$CXXCPP $CPPFLAGS'
40390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40393
40394 cat >conftest.$ac_ext <<_ACEOF
40395 /* confdefs.h. */
40396 _ACEOF
40397 cat confdefs.h >>conftest.$ac_ext
40398 cat >>conftest.$ac_ext <<_ACEOF
40399 /* end confdefs.h. */
40400 #include <execinfo.h>
40401 int
40402 main ()
40403 {
40404
40405 void *trace[1];
40406 char **messages;
40407
40408 backtrace(trace, 1);
40409 messages = backtrace_symbols(trace, 1);
40410
40411 ;
40412 return 0;
40413 }
40414 _ACEOF
40415 rm -f conftest.$ac_objext
40416 if { (ac_try="$ac_compile"
40417 case "(($ac_try" in
40418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40419 *) ac_try_echo=$ac_try;;
40420 esac
40421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40422 (eval "$ac_compile") 2>conftest.er1
40423 ac_status=$?
40424 grep -v '^ *+' conftest.er1 >conftest.err
40425 rm -f conftest.er1
40426 cat conftest.err >&5
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); } && {
40429 test -z "$ac_cxx_werror_flag" ||
40430 test ! -s conftest.err
40431 } && test -s conftest.$ac_objext; then
40432 wx_cv_func_backtrace=yes
40433 else
40434 echo "$as_me: failed program was:" >&5
40435 sed 's/^/| /' conftest.$ac_ext >&5
40436
40437 wx_cv_func_backtrace=no
40438
40439 fi
40440
40441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40442 ac_ext=c
40443 ac_cpp='$CPP $CPPFLAGS'
40444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40447
40448
40449
40450 fi
40451 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40452 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40453
40454
40455 if test "$wx_cv_func_backtrace" = "no"; then
40456 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40457 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40458 wxUSE_STACKWALKER=no
40459 else
40460 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40461 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40462 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40463 echo $ECHO_N "(cached) $ECHO_C" >&6
40464 else
40465
40466 ac_ext=cpp
40467 ac_cpp='$CXXCPP $CPPFLAGS'
40468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40471
40472 cat >conftest.$ac_ext <<_ACEOF
40473 /* confdefs.h. */
40474 _ACEOF
40475 cat confdefs.h >>conftest.$ac_ext
40476 cat >>conftest.$ac_ext <<_ACEOF
40477 /* end confdefs.h. */
40478 #include <cxxabi.h>
40479 int
40480 main ()
40481 {
40482
40483 int rc;
40484 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40485
40486 ;
40487 return 0;
40488 }
40489 _ACEOF
40490 rm -f conftest.$ac_objext conftest$ac_exeext
40491 if { (ac_try="$ac_link"
40492 case "(($ac_try" in
40493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40494 *) ac_try_echo=$ac_try;;
40495 esac
40496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40497 (eval "$ac_link") 2>conftest.er1
40498 ac_status=$?
40499 grep -v '^ *+' conftest.er1 >conftest.err
40500 rm -f conftest.er1
40501 cat conftest.err >&5
40502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40503 (exit $ac_status); } && {
40504 test -z "$ac_cxx_werror_flag" ||
40505 test ! -s conftest.err
40506 } && test -s conftest$ac_exeext &&
40507 $as_test_x conftest$ac_exeext; then
40508 wx_cv_func_cxa_demangle=yes
40509 else
40510 echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40512
40513 wx_cv_func_cxa_demangle=no
40514
40515 fi
40516
40517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40518 conftest$ac_exeext conftest.$ac_ext
40519 ac_ext=c
40520 ac_cpp='$CPP $CPPFLAGS'
40521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40524
40525
40526
40527 fi
40528 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40529 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40530
40531 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40532 cat >>confdefs.h <<\_ACEOF
40533 #define HAVE_CXA_DEMANGLE 1
40534 _ACEOF
40535
40536 fi
40537 fi
40538 fi
40539
40540 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40541 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40542 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40543 wxUSE_STACKWALKER=no
40544 fi
40545
40546
40547
40548
40549 for ac_func in mkstemp mktemp
40550 do
40551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40552 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40554 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40555 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 else
40557 cat >conftest.$ac_ext <<_ACEOF
40558 /* confdefs.h. */
40559 _ACEOF
40560 cat confdefs.h >>conftest.$ac_ext
40561 cat >>conftest.$ac_ext <<_ACEOF
40562 /* end confdefs.h. */
40563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40565 #define $ac_func innocuous_$ac_func
40566
40567 /* System header to define __stub macros and hopefully few prototypes,
40568 which can conflict with char $ac_func (); below.
40569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40570 <limits.h> exists even on freestanding compilers. */
40571
40572 #ifdef __STDC__
40573 # include <limits.h>
40574 #else
40575 # include <assert.h>
40576 #endif
40577
40578 #undef $ac_func
40579
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40583 #ifdef __cplusplus
40584 extern "C"
40585 #endif
40586 char $ac_func ();
40587 /* The GNU C library defines this for functions which it implements
40588 to always fail with ENOSYS. Some functions are actually named
40589 something starting with __ and the normal name is an alias. */
40590 #if defined __stub_$ac_func || defined __stub___$ac_func
40591 choke me
40592 #endif
40593
40594 int
40595 main ()
40596 {
40597 return $ac_func ();
40598 ;
40599 return 0;
40600 }
40601 _ACEOF
40602 rm -f conftest.$ac_objext conftest$ac_exeext
40603 if { (ac_try="$ac_link"
40604 case "(($ac_try" in
40605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40606 *) ac_try_echo=$ac_try;;
40607 esac
40608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40609 (eval "$ac_link") 2>conftest.er1
40610 ac_status=$?
40611 grep -v '^ *+' conftest.er1 >conftest.err
40612 rm -f conftest.er1
40613 cat conftest.err >&5
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); } && {
40616 test -z "$ac_c_werror_flag" ||
40617 test ! -s conftest.err
40618 } && test -s conftest$ac_exeext &&
40619 $as_test_x conftest$ac_exeext; then
40620 eval "$as_ac_var=yes"
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40624
40625 eval "$as_ac_var=no"
40626 fi
40627
40628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40629 conftest$ac_exeext conftest.$ac_ext
40630 fi
40631 ac_res=`eval echo '${'$as_ac_var'}'`
40632 { echo "$as_me:$LINENO: result: $ac_res" >&5
40633 echo "${ECHO_T}$ac_res" >&6; }
40634 if test `eval echo '${'$as_ac_var'}'` = yes; then
40635 cat >>confdefs.h <<_ACEOF
40636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40637 _ACEOF
40638 break
40639 fi
40640 done
40641
40642
40643 { echo "$as_me:$LINENO: checking for statfs" >&5
40644 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40645 if test "${wx_cv_func_statfs+set}" = set; then
40646 echo $ECHO_N "(cached) $ECHO_C" >&6
40647 else
40648 cat >conftest.$ac_ext <<_ACEOF
40649 /* confdefs.h. */
40650 _ACEOF
40651 cat confdefs.h >>conftest.$ac_ext
40652 cat >>conftest.$ac_ext <<_ACEOF
40653 /* end confdefs.h. */
40654
40655 #if defined(__BSD__)
40656 #include <sys/param.h>
40657 #include <sys/mount.h>
40658 #else
40659 #include <sys/vfs.h>
40660 #endif
40661
40662 int
40663 main ()
40664 {
40665
40666 long l;
40667 struct statfs fs;
40668 statfs("/", &fs);
40669 l = fs.f_bsize;
40670 l += fs.f_blocks;
40671 l += fs.f_bavail;
40672
40673 ;
40674 return 0;
40675 }
40676 _ACEOF
40677 rm -f conftest.$ac_objext
40678 if { (ac_try="$ac_compile"
40679 case "(($ac_try" in
40680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40681 *) ac_try_echo=$ac_try;;
40682 esac
40683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40684 (eval "$ac_compile") 2>conftest.er1
40685 ac_status=$?
40686 grep -v '^ *+' conftest.er1 >conftest.err
40687 rm -f conftest.er1
40688 cat conftest.err >&5
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); } && {
40691 test -z "$ac_c_werror_flag" ||
40692 test ! -s conftest.err
40693 } && test -s conftest.$ac_objext; then
40694 wx_cv_func_statfs=yes
40695 else
40696 echo "$as_me: failed program was:" >&5
40697 sed 's/^/| /' conftest.$ac_ext >&5
40698
40699 wx_cv_func_statfs=no
40700
40701 fi
40702
40703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40704
40705 fi
40706 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40707 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40708
40709 if test "$wx_cv_func_statfs" = "yes"; then
40710 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40711 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40712 if test "${wx_cv_func_statfs_decl+set}" = set; then
40713 echo $ECHO_N "(cached) $ECHO_C" >&6
40714 else
40715 ac_ext=cpp
40716 ac_cpp='$CXXCPP $CPPFLAGS'
40717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40720
40721 cat >conftest.$ac_ext <<_ACEOF
40722 /* confdefs.h. */
40723 _ACEOF
40724 cat confdefs.h >>conftest.$ac_ext
40725 cat >>conftest.$ac_ext <<_ACEOF
40726 /* end confdefs.h. */
40727
40728 #if defined(__BSD__)
40729 #include <sys/param.h>
40730 #include <sys/mount.h>
40731 #else
40732 #include <sys/vfs.h>
40733 #endif
40734
40735 int
40736 main ()
40737 {
40738
40739 struct statfs fs;
40740 statfs("", &fs);
40741
40742 ;
40743 return 0;
40744 }
40745 _ACEOF
40746 rm -f conftest.$ac_objext
40747 if { (ac_try="$ac_compile"
40748 case "(($ac_try" in
40749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40750 *) ac_try_echo=$ac_try;;
40751 esac
40752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40753 (eval "$ac_compile") 2>conftest.er1
40754 ac_status=$?
40755 grep -v '^ *+' conftest.er1 >conftest.err
40756 rm -f conftest.er1
40757 cat conftest.err >&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); } && {
40760 test -z "$ac_cxx_werror_flag" ||
40761 test ! -s conftest.err
40762 } && test -s conftest.$ac_objext; then
40763 wx_cv_func_statfs_decl=yes
40764 else
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.$ac_ext >&5
40767
40768 wx_cv_func_statfs_decl=no
40769
40770 fi
40771
40772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40773 ac_ext=c
40774 ac_cpp='$CPP $CPPFLAGS'
40775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40778
40779
40780 fi
40781 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40782 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40783
40784 if test "$wx_cv_func_statfs_decl" = "yes"; then
40785 cat >>confdefs.h <<\_ACEOF
40786 #define HAVE_STATFS_DECL 1
40787 _ACEOF
40788
40789 fi
40790
40791 wx_cv_type_statvfs_t="struct statfs"
40792 cat >>confdefs.h <<\_ACEOF
40793 #define HAVE_STATFS 1
40794 _ACEOF
40795
40796 else
40797 { echo "$as_me:$LINENO: checking for statvfs" >&5
40798 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40799 if test "${wx_cv_func_statvfs+set}" = set; then
40800 echo $ECHO_N "(cached) $ECHO_C" >&6
40801 else
40802 cat >conftest.$ac_ext <<_ACEOF
40803 /* confdefs.h. */
40804 _ACEOF
40805 cat confdefs.h >>conftest.$ac_ext
40806 cat >>conftest.$ac_ext <<_ACEOF
40807 /* end confdefs.h. */
40808
40809 #include <stddef.h>
40810 #include <sys/statvfs.h>
40811
40812 int
40813 main ()
40814 {
40815
40816 statvfs("/", NULL);
40817
40818 ;
40819 return 0;
40820 }
40821 _ACEOF
40822 rm -f conftest.$ac_objext
40823 if { (ac_try="$ac_compile"
40824 case "(($ac_try" in
40825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40826 *) ac_try_echo=$ac_try;;
40827 esac
40828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40829 (eval "$ac_compile") 2>conftest.er1
40830 ac_status=$?
40831 grep -v '^ *+' conftest.er1 >conftest.err
40832 rm -f conftest.er1
40833 cat conftest.err >&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); } && {
40836 test -z "$ac_c_werror_flag" ||
40837 test ! -s conftest.err
40838 } && test -s conftest.$ac_objext; then
40839 wx_cv_func_statvfs=yes
40840 else
40841 echo "$as_me: failed program was:" >&5
40842 sed 's/^/| /' conftest.$ac_ext >&5
40843
40844 wx_cv_func_statvfs=no
40845
40846 fi
40847
40848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40849
40850 fi
40851 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40852 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40853
40854 if test "$wx_cv_func_statvfs" = "yes"; then
40855 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40856 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40857 if test "${wx_cv_type_statvfs_t+set}" = set; then
40858 echo $ECHO_N "(cached) $ECHO_C" >&6
40859 else
40860 ac_ext=cpp
40861 ac_cpp='$CXXCPP $CPPFLAGS'
40862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40865
40866 cat >conftest.$ac_ext <<_ACEOF
40867 /* confdefs.h. */
40868 _ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40872
40873 #include <sys/statvfs.h>
40874
40875 int
40876 main ()
40877 {
40878
40879 long l;
40880 statvfs_t fs;
40881 statvfs("/", &fs);
40882 l = fs.f_bsize;
40883 l += fs.f_blocks;
40884 l += fs.f_bavail;
40885
40886 ;
40887 return 0;
40888 }
40889 _ACEOF
40890 rm -f conftest.$ac_objext
40891 if { (ac_try="$ac_compile"
40892 case "(($ac_try" in
40893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40894 *) ac_try_echo=$ac_try;;
40895 esac
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_compile") 2>conftest.er1
40898 ac_status=$?
40899 grep -v '^ *+' conftest.er1 >conftest.err
40900 rm -f conftest.er1
40901 cat conftest.err >&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } && {
40904 test -z "$ac_cxx_werror_flag" ||
40905 test ! -s conftest.err
40906 } && test -s conftest.$ac_objext; then
40907 wx_cv_type_statvfs_t=statvfs_t
40908 else
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.$ac_ext >&5
40911
40912
40913 cat >conftest.$ac_ext <<_ACEOF
40914 /* confdefs.h. */
40915 _ACEOF
40916 cat confdefs.h >>conftest.$ac_ext
40917 cat >>conftest.$ac_ext <<_ACEOF
40918 /* end confdefs.h. */
40919
40920 #include <sys/statvfs.h>
40921
40922 int
40923 main ()
40924 {
40925
40926 long l;
40927 struct statvfs fs;
40928 statvfs("/", &fs);
40929 l = fs.f_bsize;
40930 l += fs.f_blocks;
40931 l += fs.f_bavail;
40932
40933 ;
40934 return 0;
40935 }
40936 _ACEOF
40937 rm -f conftest.$ac_objext
40938 if { (ac_try="$ac_compile"
40939 case "(($ac_try" in
40940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40941 *) ac_try_echo=$ac_try;;
40942 esac
40943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40944 (eval "$ac_compile") 2>conftest.er1
40945 ac_status=$?
40946 grep -v '^ *+' conftest.er1 >conftest.err
40947 rm -f conftest.er1
40948 cat conftest.err >&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); } && {
40951 test -z "$ac_cxx_werror_flag" ||
40952 test ! -s conftest.err
40953 } && test -s conftest.$ac_objext; then
40954 wx_cv_type_statvfs_t="struct statvfs"
40955 else
40956 echo "$as_me: failed program was:" >&5
40957 sed 's/^/| /' conftest.$ac_ext >&5
40958
40959 wx_cv_type_statvfs_t="unknown"
40960
40961 fi
40962
40963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40964
40965
40966 fi
40967
40968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40969 ac_ext=c
40970 ac_cpp='$CPP $CPPFLAGS'
40971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40974
40975
40976 fi
40977 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40978 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40979
40980 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40981 cat >>confdefs.h <<\_ACEOF
40982 #define HAVE_STATVFS 1
40983 _ACEOF
40984
40985 fi
40986 else
40987 wx_cv_type_statvfs_t="unknown"
40988 fi
40989 fi
40990
40991 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40992 cat >>confdefs.h <<_ACEOF
40993 #define WX_STATFS_T $wx_cv_type_statvfs_t
40994 _ACEOF
40995
40996 else
40997 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40998 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40999 fi
41000
41001 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41002
41003
41004 for ac_func in fcntl flock
41005 do
41006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41007 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41009 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41010 echo $ECHO_N "(cached) $ECHO_C" >&6
41011 else
41012 cat >conftest.$ac_ext <<_ACEOF
41013 /* confdefs.h. */
41014 _ACEOF
41015 cat confdefs.h >>conftest.$ac_ext
41016 cat >>conftest.$ac_ext <<_ACEOF
41017 /* end confdefs.h. */
41018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41020 #define $ac_func innocuous_$ac_func
41021
41022 /* System header to define __stub macros and hopefully few prototypes,
41023 which can conflict with char $ac_func (); below.
41024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41025 <limits.h> exists even on freestanding compilers. */
41026
41027 #ifdef __STDC__
41028 # include <limits.h>
41029 #else
41030 # include <assert.h>
41031 #endif
41032
41033 #undef $ac_func
41034
41035 /* Override any GCC internal prototype to avoid an error.
41036 Use char because int might match the return type of a GCC
41037 builtin and then its argument prototype would still apply. */
41038 #ifdef __cplusplus
41039 extern "C"
41040 #endif
41041 char $ac_func ();
41042 /* The GNU C library defines this for functions which it implements
41043 to always fail with ENOSYS. Some functions are actually named
41044 something starting with __ and the normal name is an alias. */
41045 #if defined __stub_$ac_func || defined __stub___$ac_func
41046 choke me
41047 #endif
41048
41049 int
41050 main ()
41051 {
41052 return $ac_func ();
41053 ;
41054 return 0;
41055 }
41056 _ACEOF
41057 rm -f conftest.$ac_objext conftest$ac_exeext
41058 if { (ac_try="$ac_link"
41059 case "(($ac_try" in
41060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41061 *) ac_try_echo=$ac_try;;
41062 esac
41063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41064 (eval "$ac_link") 2>conftest.er1
41065 ac_status=$?
41066 grep -v '^ *+' conftest.er1 >conftest.err
41067 rm -f conftest.er1
41068 cat conftest.err >&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); } && {
41071 test -z "$ac_c_werror_flag" ||
41072 test ! -s conftest.err
41073 } && test -s conftest$ac_exeext &&
41074 $as_test_x conftest$ac_exeext; then
41075 eval "$as_ac_var=yes"
41076 else
41077 echo "$as_me: failed program was:" >&5
41078 sed 's/^/| /' conftest.$ac_ext >&5
41079
41080 eval "$as_ac_var=no"
41081 fi
41082
41083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41084 conftest$ac_exeext conftest.$ac_ext
41085 fi
41086 ac_res=`eval echo '${'$as_ac_var'}'`
41087 { echo "$as_me:$LINENO: result: $ac_res" >&5
41088 echo "${ECHO_T}$ac_res" >&6; }
41089 if test `eval echo '${'$as_ac_var'}'` = yes; then
41090 cat >>confdefs.h <<_ACEOF
41091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41092 _ACEOF
41093 break
41094 fi
41095 done
41096
41097
41098 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41099 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41100 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41101 wxUSE_SNGLINST_CHECKER=no
41102 fi
41103 fi
41104
41105
41106
41107 for ac_func in setenv putenv
41108 do
41109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41110 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41112 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 else
41115 cat >conftest.$ac_ext <<_ACEOF
41116 /* confdefs.h. */
41117 _ACEOF
41118 cat confdefs.h >>conftest.$ac_ext
41119 cat >>conftest.$ac_ext <<_ACEOF
41120 /* end confdefs.h. */
41121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41123 #define $ac_func innocuous_$ac_func
41124
41125 /* System header to define __stub macros and hopefully few prototypes,
41126 which can conflict with char $ac_func (); below.
41127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41128 <limits.h> exists even on freestanding compilers. */
41129
41130 #ifdef __STDC__
41131 # include <limits.h>
41132 #else
41133 # include <assert.h>
41134 #endif
41135
41136 #undef $ac_func
41137
41138 /* Override any GCC internal prototype to avoid an error.
41139 Use char because int might match the return type of a GCC
41140 builtin and then its argument prototype would still apply. */
41141 #ifdef __cplusplus
41142 extern "C"
41143 #endif
41144 char $ac_func ();
41145 /* The GNU C library defines this for functions which it implements
41146 to always fail with ENOSYS. Some functions are actually named
41147 something starting with __ and the normal name is an alias. */
41148 #if defined __stub_$ac_func || defined __stub___$ac_func
41149 choke me
41150 #endif
41151
41152 int
41153 main ()
41154 {
41155 return $ac_func ();
41156 ;
41157 return 0;
41158 }
41159 _ACEOF
41160 rm -f conftest.$ac_objext conftest$ac_exeext
41161 if { (ac_try="$ac_link"
41162 case "(($ac_try" in
41163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41164 *) ac_try_echo=$ac_try;;
41165 esac
41166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41167 (eval "$ac_link") 2>conftest.er1
41168 ac_status=$?
41169 grep -v '^ *+' conftest.er1 >conftest.err
41170 rm -f conftest.er1
41171 cat conftest.err >&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); } && {
41174 test -z "$ac_c_werror_flag" ||
41175 test ! -s conftest.err
41176 } && test -s conftest$ac_exeext &&
41177 $as_test_x conftest$ac_exeext; then
41178 eval "$as_ac_var=yes"
41179 else
41180 echo "$as_me: failed program was:" >&5
41181 sed 's/^/| /' conftest.$ac_ext >&5
41182
41183 eval "$as_ac_var=no"
41184 fi
41185
41186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41187 conftest$ac_exeext conftest.$ac_ext
41188 fi
41189 ac_res=`eval echo '${'$as_ac_var'}'`
41190 { echo "$as_me:$LINENO: result: $ac_res" >&5
41191 echo "${ECHO_T}$ac_res" >&6; }
41192 if test `eval echo '${'$as_ac_var'}'` = yes; then
41193 cat >>confdefs.h <<_ACEOF
41194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41195 _ACEOF
41196 break
41197 fi
41198 done
41199
41200 if test "$ac_cv_func_setenv" = "yes"; then
41201
41202 for ac_func in unsetenv
41203 do
41204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41207 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41208 echo $ECHO_N "(cached) $ECHO_C" >&6
41209 else
41210 cat >conftest.$ac_ext <<_ACEOF
41211 /* confdefs.h. */
41212 _ACEOF
41213 cat confdefs.h >>conftest.$ac_ext
41214 cat >>conftest.$ac_ext <<_ACEOF
41215 /* end confdefs.h. */
41216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41218 #define $ac_func innocuous_$ac_func
41219
41220 /* System header to define __stub macros and hopefully few prototypes,
41221 which can conflict with char $ac_func (); below.
41222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41223 <limits.h> exists even on freestanding compilers. */
41224
41225 #ifdef __STDC__
41226 # include <limits.h>
41227 #else
41228 # include <assert.h>
41229 #endif
41230
41231 #undef $ac_func
41232
41233 /* Override any GCC internal prototype to avoid an error.
41234 Use char because int might match the return type of a GCC
41235 builtin and then its argument prototype would still apply. */
41236 #ifdef __cplusplus
41237 extern "C"
41238 #endif
41239 char $ac_func ();
41240 /* The GNU C library defines this for functions which it implements
41241 to always fail with ENOSYS. Some functions are actually named
41242 something starting with __ and the normal name is an alias. */
41243 #if defined __stub_$ac_func || defined __stub___$ac_func
41244 choke me
41245 #endif
41246
41247 int
41248 main ()
41249 {
41250 return $ac_func ();
41251 ;
41252 return 0;
41253 }
41254 _ACEOF
41255 rm -f conftest.$ac_objext conftest$ac_exeext
41256 if { (ac_try="$ac_link"
41257 case "(($ac_try" in
41258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41259 *) ac_try_echo=$ac_try;;
41260 esac
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_link") 2>conftest.er1
41263 ac_status=$?
41264 grep -v '^ *+' conftest.er1 >conftest.err
41265 rm -f conftest.er1
41266 cat conftest.err >&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } && {
41269 test -z "$ac_c_werror_flag" ||
41270 test ! -s conftest.err
41271 } && test -s conftest$ac_exeext &&
41272 $as_test_x conftest$ac_exeext; then
41273 eval "$as_ac_var=yes"
41274 else
41275 echo "$as_me: failed program was:" >&5
41276 sed 's/^/| /' conftest.$ac_ext >&5
41277
41278 eval "$as_ac_var=no"
41279 fi
41280
41281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41282 conftest$ac_exeext conftest.$ac_ext
41283 fi
41284 ac_res=`eval echo '${'$as_ac_var'}'`
41285 { echo "$as_me:$LINENO: result: $ac_res" >&5
41286 echo "${ECHO_T}$ac_res" >&6; }
41287 if test `eval echo '${'$as_ac_var'}'` = yes; then
41288 cat >>confdefs.h <<_ACEOF
41289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41290 _ACEOF
41291
41292 fi
41293 done
41294
41295 fi
41296
41297 HAVE_SOME_SLEEP_FUNC=0
41298 if test "$USE_BEOS" = 1; then
41299 cat >>confdefs.h <<\_ACEOF
41300 #define HAVE_SLEEP 1
41301 _ACEOF
41302
41303 HAVE_SOME_SLEEP_FUNC=1
41304 fi
41305
41306 if test "$USE_DARWIN" = 1; then
41307 cat >>confdefs.h <<\_ACEOF
41308 #define HAVE_USLEEP 1
41309 _ACEOF
41310
41311 HAVE_SOME_SLEEP_FUNC=1
41312 fi
41313
41314 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41315 POSIX4_LINK=
41316
41317 for ac_func in nanosleep
41318 do
41319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41320 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41322 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41323 echo $ECHO_N "(cached) $ECHO_C" >&6
41324 else
41325 cat >conftest.$ac_ext <<_ACEOF
41326 /* confdefs.h. */
41327 _ACEOF
41328 cat confdefs.h >>conftest.$ac_ext
41329 cat >>conftest.$ac_ext <<_ACEOF
41330 /* end confdefs.h. */
41331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41333 #define $ac_func innocuous_$ac_func
41334
41335 /* System header to define __stub macros and hopefully few prototypes,
41336 which can conflict with char $ac_func (); below.
41337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41338 <limits.h> exists even on freestanding compilers. */
41339
41340 #ifdef __STDC__
41341 # include <limits.h>
41342 #else
41343 # include <assert.h>
41344 #endif
41345
41346 #undef $ac_func
41347
41348 /* Override any GCC internal prototype to avoid an error.
41349 Use char because int might match the return type of a GCC
41350 builtin and then its argument prototype would still apply. */
41351 #ifdef __cplusplus
41352 extern "C"
41353 #endif
41354 char $ac_func ();
41355 /* The GNU C library defines this for functions which it implements
41356 to always fail with ENOSYS. Some functions are actually named
41357 something starting with __ and the normal name is an alias. */
41358 #if defined __stub_$ac_func || defined __stub___$ac_func
41359 choke me
41360 #endif
41361
41362 int
41363 main ()
41364 {
41365 return $ac_func ();
41366 ;
41367 return 0;
41368 }
41369 _ACEOF
41370 rm -f conftest.$ac_objext conftest$ac_exeext
41371 if { (ac_try="$ac_link"
41372 case "(($ac_try" in
41373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41374 *) ac_try_echo=$ac_try;;
41375 esac
41376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41377 (eval "$ac_link") 2>conftest.er1
41378 ac_status=$?
41379 grep -v '^ *+' conftest.er1 >conftest.err
41380 rm -f conftest.er1
41381 cat conftest.err >&5
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); } && {
41384 test -z "$ac_c_werror_flag" ||
41385 test ! -s conftest.err
41386 } && test -s conftest$ac_exeext &&
41387 $as_test_x conftest$ac_exeext; then
41388 eval "$as_ac_var=yes"
41389 else
41390 echo "$as_me: failed program was:" >&5
41391 sed 's/^/| /' conftest.$ac_ext >&5
41392
41393 eval "$as_ac_var=no"
41394 fi
41395
41396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41397 conftest$ac_exeext conftest.$ac_ext
41398 fi
41399 ac_res=`eval echo '${'$as_ac_var'}'`
41400 { echo "$as_me:$LINENO: result: $ac_res" >&5
41401 echo "${ECHO_T}$ac_res" >&6; }
41402 if test `eval echo '${'$as_ac_var'}'` = yes; then
41403 cat >>confdefs.h <<_ACEOF
41404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41405 _ACEOF
41406 cat >>confdefs.h <<\_ACEOF
41407 #define HAVE_NANOSLEEP 1
41408 _ACEOF
41409
41410 else
41411
41412 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41413 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41414 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41415 echo $ECHO_N "(cached) $ECHO_C" >&6
41416 else
41417 ac_check_lib_save_LIBS=$LIBS
41418 LIBS="-lposix4 $LIBS"
41419 cat >conftest.$ac_ext <<_ACEOF
41420 /* confdefs.h. */
41421 _ACEOF
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425
41426 /* Override any GCC internal prototype to avoid an error.
41427 Use char because int might match the return type of a GCC
41428 builtin and then its argument prototype would still apply. */
41429 #ifdef __cplusplus
41430 extern "C"
41431 #endif
41432 char nanosleep ();
41433 int
41434 main ()
41435 {
41436 return nanosleep ();
41437 ;
41438 return 0;
41439 }
41440 _ACEOF
41441 rm -f conftest.$ac_objext conftest$ac_exeext
41442 if { (ac_try="$ac_link"
41443 case "(($ac_try" in
41444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41445 *) ac_try_echo=$ac_try;;
41446 esac
41447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41448 (eval "$ac_link") 2>conftest.er1
41449 ac_status=$?
41450 grep -v '^ *+' conftest.er1 >conftest.err
41451 rm -f conftest.er1
41452 cat conftest.err >&5
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); } && {
41455 test -z "$ac_c_werror_flag" ||
41456 test ! -s conftest.err
41457 } && test -s conftest$ac_exeext &&
41458 $as_test_x conftest$ac_exeext; then
41459 ac_cv_lib_posix4_nanosleep=yes
41460 else
41461 echo "$as_me: failed program was:" >&5
41462 sed 's/^/| /' conftest.$ac_ext >&5
41463
41464 ac_cv_lib_posix4_nanosleep=no
41465 fi
41466
41467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41468 conftest$ac_exeext conftest.$ac_ext
41469 LIBS=$ac_check_lib_save_LIBS
41470 fi
41471 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41472 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41473 if test $ac_cv_lib_posix4_nanosleep = yes; then
41474
41475 cat >>confdefs.h <<\_ACEOF
41476 #define HAVE_NANOSLEEP 1
41477 _ACEOF
41478
41479 POSIX4_LINK=" -lposix4"
41480
41481 else
41482
41483
41484 for wx_func in usleep
41485 do
41486 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41487 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41488 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41489 echo $ECHO_N "(cached) $ECHO_C" >&6
41490 else
41491
41492 cat >conftest.$ac_ext <<_ACEOF
41493
41494 /* confdefs.h. */
41495 _ACEOF
41496 cat confdefs.h >>conftest.$ac_ext
41497 cat >>conftest.$ac_ext <<_ACEOF
41498 /* end confdefs.h. */
41499
41500
41501 $ac_includes_default
41502
41503 int
41504 main ()
41505 {
41506
41507 #ifndef $wx_func
41508 &$wx_func;
41509 #endif
41510
41511
41512 ;
41513 return 0;
41514 }
41515
41516 _ACEOF
41517 rm -f conftest.$ac_objext conftest$ac_exeext
41518 if { (ac_try="$ac_link"
41519 case "(($ac_try" in
41520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41521 *) ac_try_echo=$ac_try;;
41522 esac
41523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41524 (eval "$ac_link") 2>conftest.er1
41525 ac_status=$?
41526 grep -v '^ *+' conftest.er1 >conftest.err
41527 rm -f conftest.er1
41528 cat conftest.err >&5
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); } && {
41531 test -z "$ac_c_werror_flag" ||
41532 test ! -s conftest.err
41533 } && test -s conftest$ac_exeext &&
41534 $as_test_x conftest$ac_exeext; then
41535 eval wx_cv_func_$wx_func=yes
41536 else
41537 echo "$as_me: failed program was:" >&5
41538 sed 's/^/| /' conftest.$ac_ext >&5
41539
41540 eval wx_cv_func_$wx_func=no
41541 fi
41542
41543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41544 conftest$ac_exeext conftest.$ac_ext
41545
41546 fi
41547 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41548 { echo "$as_me:$LINENO: result: $ac_res" >&5
41549 echo "${ECHO_T}$ac_res" >&6; }
41550
41551 if eval test \$wx_cv_func_$wx_func = yes
41552 then
41553 cat >>confdefs.h <<_ACEOF
41554 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41555 _ACEOF
41556
41557
41558 else
41559 :
41560 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41561 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41562
41563 fi
41564 done
41565
41566
41567
41568 fi
41569
41570
41571
41572 fi
41573 done
41574
41575 fi
41576
41577
41578 for wx_func in uname
41579 do
41580 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41581 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41582 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41583 echo $ECHO_N "(cached) $ECHO_C" >&6
41584 else
41585
41586 cat >conftest.$ac_ext <<_ACEOF
41587
41588 /* confdefs.h. */
41589 _ACEOF
41590 cat confdefs.h >>conftest.$ac_ext
41591 cat >>conftest.$ac_ext <<_ACEOF
41592 /* end confdefs.h. */
41593
41594 #include <sys/utsname.h>
41595 $ac_includes_default
41596
41597 int
41598 main ()
41599 {
41600
41601 #ifndef $wx_func
41602 &$wx_func;
41603 #endif
41604
41605
41606 ;
41607 return 0;
41608 }
41609
41610 _ACEOF
41611 rm -f conftest.$ac_objext conftest$ac_exeext
41612 if { (ac_try="$ac_link"
41613 case "(($ac_try" in
41614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41615 *) ac_try_echo=$ac_try;;
41616 esac
41617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41618 (eval "$ac_link") 2>conftest.er1
41619 ac_status=$?
41620 grep -v '^ *+' conftest.er1 >conftest.err
41621 rm -f conftest.er1
41622 cat conftest.err >&5
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); } && {
41625 test -z "$ac_c_werror_flag" ||
41626 test ! -s conftest.err
41627 } && test -s conftest$ac_exeext &&
41628 $as_test_x conftest$ac_exeext; then
41629 eval wx_cv_func_$wx_func=yes
41630 else
41631 echo "$as_me: failed program was:" >&5
41632 sed 's/^/| /' conftest.$ac_ext >&5
41633
41634 eval wx_cv_func_$wx_func=no
41635 fi
41636
41637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41638 conftest$ac_exeext conftest.$ac_ext
41639
41640 fi
41641 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41642 { echo "$as_me:$LINENO: result: $ac_res" >&5
41643 echo "${ECHO_T}$ac_res" >&6; }
41644
41645 if eval test \$wx_cv_func_$wx_func = yes
41646 then
41647 cat >>confdefs.h <<_ACEOF
41648 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41649 _ACEOF
41650
41651
41652 else
41653 :
41654
41655 fi
41656 done
41657
41658 if test "$wx_cv_func_uname" != yes; then
41659
41660 for wx_func in gethostname
41661 do
41662 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41663 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41664 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41665 echo $ECHO_N "(cached) $ECHO_C" >&6
41666 else
41667
41668 cat >conftest.$ac_ext <<_ACEOF
41669
41670 /* confdefs.h. */
41671 _ACEOF
41672 cat confdefs.h >>conftest.$ac_ext
41673 cat >>conftest.$ac_ext <<_ACEOF
41674 /* end confdefs.h. */
41675
41676
41677 $ac_includes_default
41678
41679 int
41680 main ()
41681 {
41682
41683 #ifndef $wx_func
41684 &$wx_func;
41685 #endif
41686
41687
41688 ;
41689 return 0;
41690 }
41691
41692 _ACEOF
41693 rm -f conftest.$ac_objext conftest$ac_exeext
41694 if { (ac_try="$ac_link"
41695 case "(($ac_try" in
41696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41697 *) ac_try_echo=$ac_try;;
41698 esac
41699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41700 (eval "$ac_link") 2>conftest.er1
41701 ac_status=$?
41702 grep -v '^ *+' conftest.er1 >conftest.err
41703 rm -f conftest.er1
41704 cat conftest.err >&5
41705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706 (exit $ac_status); } && {
41707 test -z "$ac_c_werror_flag" ||
41708 test ! -s conftest.err
41709 } && test -s conftest$ac_exeext &&
41710 $as_test_x conftest$ac_exeext; then
41711 eval wx_cv_func_$wx_func=yes
41712 else
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.$ac_ext >&5
41715
41716 eval wx_cv_func_$wx_func=no
41717 fi
41718
41719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41720 conftest$ac_exeext conftest.$ac_ext
41721
41722 fi
41723 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41724 { echo "$as_me:$LINENO: result: $ac_res" >&5
41725 echo "${ECHO_T}$ac_res" >&6; }
41726
41727 if eval test \$wx_cv_func_$wx_func = yes
41728 then
41729 cat >>confdefs.h <<_ACEOF
41730 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41731 _ACEOF
41732
41733
41734 else
41735 :
41736
41737 fi
41738 done
41739
41740 fi
41741
41742
41743 for wx_func in strtok_r
41744 do
41745 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41746 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41747 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41748 echo $ECHO_N "(cached) $ECHO_C" >&6
41749 else
41750
41751 cat >conftest.$ac_ext <<_ACEOF
41752
41753 /* confdefs.h. */
41754 _ACEOF
41755 cat confdefs.h >>conftest.$ac_ext
41756 cat >>conftest.$ac_ext <<_ACEOF
41757 /* end confdefs.h. */
41758
41759 #define _REENTRANT
41760 $ac_includes_default
41761
41762 int
41763 main ()
41764 {
41765
41766 #ifndef $wx_func
41767 &$wx_func;
41768 #endif
41769
41770
41771 ;
41772 return 0;
41773 }
41774
41775 _ACEOF
41776 rm -f conftest.$ac_objext conftest$ac_exeext
41777 if { (ac_try="$ac_link"
41778 case "(($ac_try" in
41779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41780 *) ac_try_echo=$ac_try;;
41781 esac
41782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41783 (eval "$ac_link") 2>conftest.er1
41784 ac_status=$?
41785 grep -v '^ *+' conftest.er1 >conftest.err
41786 rm -f conftest.er1
41787 cat conftest.err >&5
41788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41789 (exit $ac_status); } && {
41790 test -z "$ac_c_werror_flag" ||
41791 test ! -s conftest.err
41792 } && test -s conftest$ac_exeext &&
41793 $as_test_x conftest$ac_exeext; then
41794 eval wx_cv_func_$wx_func=yes
41795 else
41796 echo "$as_me: failed program was:" >&5
41797 sed 's/^/| /' conftest.$ac_ext >&5
41798
41799 eval wx_cv_func_$wx_func=no
41800 fi
41801
41802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41803 conftest$ac_exeext conftest.$ac_ext
41804
41805 fi
41806 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41807 { echo "$as_me:$LINENO: result: $ac_res" >&5
41808 echo "${ECHO_T}$ac_res" >&6; }
41809
41810 if eval test \$wx_cv_func_$wx_func = yes
41811 then
41812 cat >>confdefs.h <<_ACEOF
41813 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41814 _ACEOF
41815
41816
41817 else
41818 :
41819
41820 fi
41821 done
41822
41823
41824 INET_LINK=
41825
41826 for ac_func in inet_addr
41827 do
41828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41832 echo $ECHO_N "(cached) $ECHO_C" >&6
41833 else
41834 cat >conftest.$ac_ext <<_ACEOF
41835 /* confdefs.h. */
41836 _ACEOF
41837 cat confdefs.h >>conftest.$ac_ext
41838 cat >>conftest.$ac_ext <<_ACEOF
41839 /* end confdefs.h. */
41840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41842 #define $ac_func innocuous_$ac_func
41843
41844 /* System header to define __stub macros and hopefully few prototypes,
41845 which can conflict with char $ac_func (); below.
41846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41847 <limits.h> exists even on freestanding compilers. */
41848
41849 #ifdef __STDC__
41850 # include <limits.h>
41851 #else
41852 # include <assert.h>
41853 #endif
41854
41855 #undef $ac_func
41856
41857 /* Override any GCC internal prototype to avoid an error.
41858 Use char because int might match the return type of a GCC
41859 builtin and then its argument prototype would still apply. */
41860 #ifdef __cplusplus
41861 extern "C"
41862 #endif
41863 char $ac_func ();
41864 /* The GNU C library defines this for functions which it implements
41865 to always fail with ENOSYS. Some functions are actually named
41866 something starting with __ and the normal name is an alias. */
41867 #if defined __stub_$ac_func || defined __stub___$ac_func
41868 choke me
41869 #endif
41870
41871 int
41872 main ()
41873 {
41874 return $ac_func ();
41875 ;
41876 return 0;
41877 }
41878 _ACEOF
41879 rm -f conftest.$ac_objext conftest$ac_exeext
41880 if { (ac_try="$ac_link"
41881 case "(($ac_try" in
41882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41883 *) ac_try_echo=$ac_try;;
41884 esac
41885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41886 (eval "$ac_link") 2>conftest.er1
41887 ac_status=$?
41888 grep -v '^ *+' conftest.er1 >conftest.err
41889 rm -f conftest.er1
41890 cat conftest.err >&5
41891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41892 (exit $ac_status); } && {
41893 test -z "$ac_c_werror_flag" ||
41894 test ! -s conftest.err
41895 } && test -s conftest$ac_exeext &&
41896 $as_test_x conftest$ac_exeext; then
41897 eval "$as_ac_var=yes"
41898 else
41899 echo "$as_me: failed program was:" >&5
41900 sed 's/^/| /' conftest.$ac_ext >&5
41901
41902 eval "$as_ac_var=no"
41903 fi
41904
41905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41906 conftest$ac_exeext conftest.$ac_ext
41907 fi
41908 ac_res=`eval echo '${'$as_ac_var'}'`
41909 { echo "$as_me:$LINENO: result: $ac_res" >&5
41910 echo "${ECHO_T}$ac_res" >&6; }
41911 if test `eval echo '${'$as_ac_var'}'` = yes; then
41912 cat >>confdefs.h <<_ACEOF
41913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41914 _ACEOF
41915 cat >>confdefs.h <<\_ACEOF
41916 #define HAVE_INET_ADDR 1
41917 _ACEOF
41918
41919 else
41920
41921 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41922 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41923 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 else
41926 ac_check_lib_save_LIBS=$LIBS
41927 LIBS="-lnsl $LIBS"
41928 cat >conftest.$ac_ext <<_ACEOF
41929 /* confdefs.h. */
41930 _ACEOF
41931 cat confdefs.h >>conftest.$ac_ext
41932 cat >>conftest.$ac_ext <<_ACEOF
41933 /* end confdefs.h. */
41934
41935 /* Override any GCC internal prototype to avoid an error.
41936 Use char because int might match the return type of a GCC
41937 builtin and then its argument prototype would still apply. */
41938 #ifdef __cplusplus
41939 extern "C"
41940 #endif
41941 char inet_addr ();
41942 int
41943 main ()
41944 {
41945 return inet_addr ();
41946 ;
41947 return 0;
41948 }
41949 _ACEOF
41950 rm -f conftest.$ac_objext conftest$ac_exeext
41951 if { (ac_try="$ac_link"
41952 case "(($ac_try" in
41953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41954 *) ac_try_echo=$ac_try;;
41955 esac
41956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41957 (eval "$ac_link") 2>conftest.er1
41958 ac_status=$?
41959 grep -v '^ *+' conftest.er1 >conftest.err
41960 rm -f conftest.er1
41961 cat conftest.err >&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); } && {
41964 test -z "$ac_c_werror_flag" ||
41965 test ! -s conftest.err
41966 } && test -s conftest$ac_exeext &&
41967 $as_test_x conftest$ac_exeext; then
41968 ac_cv_lib_nsl_inet_addr=yes
41969 else
41970 echo "$as_me: failed program was:" >&5
41971 sed 's/^/| /' conftest.$ac_ext >&5
41972
41973 ac_cv_lib_nsl_inet_addr=no
41974 fi
41975
41976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41977 conftest$ac_exeext conftest.$ac_ext
41978 LIBS=$ac_check_lib_save_LIBS
41979 fi
41980 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41981 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41982 if test $ac_cv_lib_nsl_inet_addr = yes; then
41983 INET_LINK="nsl"
41984 else
41985
41986 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41987 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41988 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41989 echo $ECHO_N "(cached) $ECHO_C" >&6
41990 else
41991 ac_check_lib_save_LIBS=$LIBS
41992 LIBS="-lresolv $LIBS"
41993 cat >conftest.$ac_ext <<_ACEOF
41994 /* confdefs.h. */
41995 _ACEOF
41996 cat confdefs.h >>conftest.$ac_ext
41997 cat >>conftest.$ac_ext <<_ACEOF
41998 /* end confdefs.h. */
41999
42000 /* Override any GCC internal prototype to avoid an error.
42001 Use char because int might match the return type of a GCC
42002 builtin and then its argument prototype would still apply. */
42003 #ifdef __cplusplus
42004 extern "C"
42005 #endif
42006 char inet_addr ();
42007 int
42008 main ()
42009 {
42010 return inet_addr ();
42011 ;
42012 return 0;
42013 }
42014 _ACEOF
42015 rm -f conftest.$ac_objext conftest$ac_exeext
42016 if { (ac_try="$ac_link"
42017 case "(($ac_try" in
42018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42019 *) ac_try_echo=$ac_try;;
42020 esac
42021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42022 (eval "$ac_link") 2>conftest.er1
42023 ac_status=$?
42024 grep -v '^ *+' conftest.er1 >conftest.err
42025 rm -f conftest.er1
42026 cat conftest.err >&5
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); } && {
42029 test -z "$ac_c_werror_flag" ||
42030 test ! -s conftest.err
42031 } && test -s conftest$ac_exeext &&
42032 $as_test_x conftest$ac_exeext; then
42033 ac_cv_lib_resolv_inet_addr=yes
42034 else
42035 echo "$as_me: failed program was:" >&5
42036 sed 's/^/| /' conftest.$ac_ext >&5
42037
42038 ac_cv_lib_resolv_inet_addr=no
42039 fi
42040
42041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42042 conftest$ac_exeext conftest.$ac_ext
42043 LIBS=$ac_check_lib_save_LIBS
42044 fi
42045 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42046 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42047 if test $ac_cv_lib_resolv_inet_addr = yes; then
42048 INET_LINK="resolv"
42049 else
42050
42051 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42052 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42053 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42054 echo $ECHO_N "(cached) $ECHO_C" >&6
42055 else
42056 ac_check_lib_save_LIBS=$LIBS
42057 LIBS="-lsocket $LIBS"
42058 cat >conftest.$ac_ext <<_ACEOF
42059 /* confdefs.h. */
42060 _ACEOF
42061 cat confdefs.h >>conftest.$ac_ext
42062 cat >>conftest.$ac_ext <<_ACEOF
42063 /* end confdefs.h. */
42064
42065 /* Override any GCC internal prototype to avoid an error.
42066 Use char because int might match the return type of a GCC
42067 builtin and then its argument prototype would still apply. */
42068 #ifdef __cplusplus
42069 extern "C"
42070 #endif
42071 char inet_addr ();
42072 int
42073 main ()
42074 {
42075 return inet_addr ();
42076 ;
42077 return 0;
42078 }
42079 _ACEOF
42080 rm -f conftest.$ac_objext conftest$ac_exeext
42081 if { (ac_try="$ac_link"
42082 case "(($ac_try" in
42083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42084 *) ac_try_echo=$ac_try;;
42085 esac
42086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42087 (eval "$ac_link") 2>conftest.er1
42088 ac_status=$?
42089 grep -v '^ *+' conftest.er1 >conftest.err
42090 rm -f conftest.er1
42091 cat conftest.err >&5
42092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42093 (exit $ac_status); } && {
42094 test -z "$ac_c_werror_flag" ||
42095 test ! -s conftest.err
42096 } && test -s conftest$ac_exeext &&
42097 $as_test_x conftest$ac_exeext; then
42098 ac_cv_lib_socket_inet_addr=yes
42099 else
42100 echo "$as_me: failed program was:" >&5
42101 sed 's/^/| /' conftest.$ac_ext >&5
42102
42103 ac_cv_lib_socket_inet_addr=no
42104 fi
42105
42106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42107 conftest$ac_exeext conftest.$ac_ext
42108 LIBS=$ac_check_lib_save_LIBS
42109 fi
42110 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42111 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42112 if test $ac_cv_lib_socket_inet_addr = yes; then
42113 INET_LINK="socket"
42114
42115 fi
42116
42117
42118
42119 fi
42120
42121
42122
42123 fi
42124
42125
42126
42127 fi
42128 done
42129
42130
42131
42132 for ac_func in inet_aton
42133 do
42134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42138 echo $ECHO_N "(cached) $ECHO_C" >&6
42139 else
42140 cat >conftest.$ac_ext <<_ACEOF
42141 /* confdefs.h. */
42142 _ACEOF
42143 cat confdefs.h >>conftest.$ac_ext
42144 cat >>conftest.$ac_ext <<_ACEOF
42145 /* end confdefs.h. */
42146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42148 #define $ac_func innocuous_$ac_func
42149
42150 /* System header to define __stub macros and hopefully few prototypes,
42151 which can conflict with char $ac_func (); below.
42152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42153 <limits.h> exists even on freestanding compilers. */
42154
42155 #ifdef __STDC__
42156 # include <limits.h>
42157 #else
42158 # include <assert.h>
42159 #endif
42160
42161 #undef $ac_func
42162
42163 /* Override any GCC internal prototype to avoid an error.
42164 Use char because int might match the return type of a GCC
42165 builtin and then its argument prototype would still apply. */
42166 #ifdef __cplusplus
42167 extern "C"
42168 #endif
42169 char $ac_func ();
42170 /* The GNU C library defines this for functions which it implements
42171 to always fail with ENOSYS. Some functions are actually named
42172 something starting with __ and the normal name is an alias. */
42173 #if defined __stub_$ac_func || defined __stub___$ac_func
42174 choke me
42175 #endif
42176
42177 int
42178 main ()
42179 {
42180 return $ac_func ();
42181 ;
42182 return 0;
42183 }
42184 _ACEOF
42185 rm -f conftest.$ac_objext conftest$ac_exeext
42186 if { (ac_try="$ac_link"
42187 case "(($ac_try" in
42188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42189 *) ac_try_echo=$ac_try;;
42190 esac
42191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42192 (eval "$ac_link") 2>conftest.er1
42193 ac_status=$?
42194 grep -v '^ *+' conftest.er1 >conftest.err
42195 rm -f conftest.er1
42196 cat conftest.err >&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); } && {
42199 test -z "$ac_c_werror_flag" ||
42200 test ! -s conftest.err
42201 } && test -s conftest$ac_exeext &&
42202 $as_test_x conftest$ac_exeext; then
42203 eval "$as_ac_var=yes"
42204 else
42205 echo "$as_me: failed program was:" >&5
42206 sed 's/^/| /' conftest.$ac_ext >&5
42207
42208 eval "$as_ac_var=no"
42209 fi
42210
42211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42212 conftest$ac_exeext conftest.$ac_ext
42213 fi
42214 ac_res=`eval echo '${'$as_ac_var'}'`
42215 { echo "$as_me:$LINENO: result: $ac_res" >&5
42216 echo "${ECHO_T}$ac_res" >&6; }
42217 if test `eval echo '${'$as_ac_var'}'` = yes; then
42218 cat >>confdefs.h <<_ACEOF
42219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42220 _ACEOF
42221 cat >>confdefs.h <<\_ACEOF
42222 #define HAVE_INET_ATON 1
42223 _ACEOF
42224
42225 else
42226
42227 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42228 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42229 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42230 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42231 echo $ECHO_N "(cached) $ECHO_C" >&6
42232 else
42233 ac_check_lib_save_LIBS=$LIBS
42234 LIBS="-l$INET_LINK $LIBS"
42235 cat >conftest.$ac_ext <<_ACEOF
42236 /* confdefs.h. */
42237 _ACEOF
42238 cat confdefs.h >>conftest.$ac_ext
42239 cat >>conftest.$ac_ext <<_ACEOF
42240 /* end confdefs.h. */
42241
42242 /* Override any GCC internal prototype to avoid an error.
42243 Use char because int might match the return type of a GCC
42244 builtin and then its argument prototype would still apply. */
42245 #ifdef __cplusplus
42246 extern "C"
42247 #endif
42248 char inet_aton ();
42249 int
42250 main ()
42251 {
42252 return inet_aton ();
42253 ;
42254 return 0;
42255 }
42256 _ACEOF
42257 rm -f conftest.$ac_objext conftest$ac_exeext
42258 if { (ac_try="$ac_link"
42259 case "(($ac_try" in
42260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42261 *) ac_try_echo=$ac_try;;
42262 esac
42263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42264 (eval "$ac_link") 2>conftest.er1
42265 ac_status=$?
42266 grep -v '^ *+' conftest.er1 >conftest.err
42267 rm -f conftest.er1
42268 cat conftest.err >&5
42269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42270 (exit $ac_status); } && {
42271 test -z "$ac_c_werror_flag" ||
42272 test ! -s conftest.err
42273 } && test -s conftest$ac_exeext &&
42274 $as_test_x conftest$ac_exeext; then
42275 eval "$as_ac_Lib=yes"
42276 else
42277 echo "$as_me: failed program was:" >&5
42278 sed 's/^/| /' conftest.$ac_ext >&5
42279
42280 eval "$as_ac_Lib=no"
42281 fi
42282
42283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42284 conftest$ac_exeext conftest.$ac_ext
42285 LIBS=$ac_check_lib_save_LIBS
42286 fi
42287 ac_res=`eval echo '${'$as_ac_Lib'}'`
42288 { echo "$as_me:$LINENO: result: $ac_res" >&5
42289 echo "${ECHO_T}$ac_res" >&6; }
42290 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42291 cat >>confdefs.h <<\_ACEOF
42292 #define HAVE_INET_ATON 1
42293 _ACEOF
42294
42295 fi
42296
42297
42298 fi
42299 done
42300
42301
42302 if test "x$INET_LINK" != "x"; then
42303 cat >>confdefs.h <<\_ACEOF
42304 #define HAVE_INET_ADDR 1
42305 _ACEOF
42306
42307 INET_LINK=" -l$INET_LINK"
42308 fi
42309
42310
42311 for wx_func in fdopen
42312 do
42313 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42314 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42315 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42316 echo $ECHO_N "(cached) $ECHO_C" >&6
42317 else
42318
42319 cat >conftest.$ac_ext <<_ACEOF
42320
42321 /* confdefs.h. */
42322 _ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42326
42327
42328 $ac_includes_default
42329
42330 int
42331 main ()
42332 {
42333
42334 #ifndef $wx_func
42335 &$wx_func;
42336 #endif
42337
42338
42339 ;
42340 return 0;
42341 }
42342
42343 _ACEOF
42344 rm -f conftest.$ac_objext conftest$ac_exeext
42345 if { (ac_try="$ac_link"
42346 case "(($ac_try" in
42347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42348 *) ac_try_echo=$ac_try;;
42349 esac
42350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42351 (eval "$ac_link") 2>conftest.er1
42352 ac_status=$?
42353 grep -v '^ *+' conftest.er1 >conftest.err
42354 rm -f conftest.er1
42355 cat conftest.err >&5
42356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); } && {
42358 test -z "$ac_c_werror_flag" ||
42359 test ! -s conftest.err
42360 } && test -s conftest$ac_exeext &&
42361 $as_test_x conftest$ac_exeext; then
42362 eval wx_cv_func_$wx_func=yes
42363 else
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.$ac_ext >&5
42366
42367 eval wx_cv_func_$wx_func=no
42368 fi
42369
42370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42371 conftest$ac_exeext conftest.$ac_ext
42372
42373 fi
42374 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42375 { echo "$as_me:$LINENO: result: $ac_res" >&5
42376 echo "${ECHO_T}$ac_res" >&6; }
42377
42378 if eval test \$wx_cv_func_$wx_func = yes
42379 then
42380 cat >>confdefs.h <<_ACEOF
42381 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42382 _ACEOF
42383
42384
42385 else
42386 :
42387
42388 fi
42389 done
42390
42391
42392 if test "$wxUSE_TARSTREAM" = "yes"; then
42393
42394 for wx_func in sysconf
42395 do
42396 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42397 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42398 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42399 echo $ECHO_N "(cached) $ECHO_C" >&6
42400 else
42401
42402 cat >conftest.$ac_ext <<_ACEOF
42403
42404 /* confdefs.h. */
42405 _ACEOF
42406 cat confdefs.h >>conftest.$ac_ext
42407 cat >>conftest.$ac_ext <<_ACEOF
42408 /* end confdefs.h. */
42409
42410
42411 $ac_includes_default
42412
42413 int
42414 main ()
42415 {
42416
42417 #ifndef $wx_func
42418 &$wx_func;
42419 #endif
42420
42421
42422 ;
42423 return 0;
42424 }
42425
42426 _ACEOF
42427 rm -f conftest.$ac_objext conftest$ac_exeext
42428 if { (ac_try="$ac_link"
42429 case "(($ac_try" in
42430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42431 *) ac_try_echo=$ac_try;;
42432 esac
42433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42434 (eval "$ac_link") 2>conftest.er1
42435 ac_status=$?
42436 grep -v '^ *+' conftest.er1 >conftest.err
42437 rm -f conftest.er1
42438 cat conftest.err >&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } && {
42441 test -z "$ac_c_werror_flag" ||
42442 test ! -s conftest.err
42443 } && test -s conftest$ac_exeext &&
42444 $as_test_x conftest$ac_exeext; then
42445 eval wx_cv_func_$wx_func=yes
42446 else
42447 echo "$as_me: failed program was:" >&5
42448 sed 's/^/| /' conftest.$ac_ext >&5
42449
42450 eval wx_cv_func_$wx_func=no
42451 fi
42452
42453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42454 conftest$ac_exeext conftest.$ac_ext
42455
42456 fi
42457 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42458 { echo "$as_me:$LINENO: result: $ac_res" >&5
42459 echo "${ECHO_T}$ac_res" >&6; }
42460
42461 if eval test \$wx_cv_func_$wx_func = yes
42462 then
42463 cat >>confdefs.h <<_ACEOF
42464 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42465 _ACEOF
42466
42467
42468 else
42469 :
42470
42471 fi
42472 done
42473
42474
42475
42476 for wx_func in getpwuid_r
42477 do
42478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42480 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42481 echo $ECHO_N "(cached) $ECHO_C" >&6
42482 else
42483
42484 cat >conftest.$ac_ext <<_ACEOF
42485
42486 /* confdefs.h. */
42487 _ACEOF
42488 cat confdefs.h >>conftest.$ac_ext
42489 cat >>conftest.$ac_ext <<_ACEOF
42490 /* end confdefs.h. */
42491
42492
42493 #define _REENTRANT
42494 #include <pwd.h>
42495
42496 $ac_includes_default
42497
42498 int
42499 main ()
42500 {
42501
42502 #ifndef $wx_func
42503 &$wx_func;
42504 #endif
42505
42506 struct passwd pw, *ppw;
42507 char buf[1024];
42508 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42509
42510
42511 ;
42512 return 0;
42513 }
42514
42515 _ACEOF
42516 rm -f conftest.$ac_objext conftest$ac_exeext
42517 if { (ac_try="$ac_link"
42518 case "(($ac_try" in
42519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42520 *) ac_try_echo=$ac_try;;
42521 esac
42522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42523 (eval "$ac_link") 2>conftest.er1
42524 ac_status=$?
42525 grep -v '^ *+' conftest.er1 >conftest.err
42526 rm -f conftest.er1
42527 cat conftest.err >&5
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); } && {
42530 test -z "$ac_c_werror_flag" ||
42531 test ! -s conftest.err
42532 } && test -s conftest$ac_exeext &&
42533 $as_test_x conftest$ac_exeext; then
42534 eval wx_cv_func_$wx_func=yes
42535 else
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.$ac_ext >&5
42538
42539 eval wx_cv_func_$wx_func=no
42540 fi
42541
42542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42543 conftest$ac_exeext conftest.$ac_ext
42544
42545 fi
42546 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42547 { echo "$as_me:$LINENO: result: $ac_res" >&5
42548 echo "${ECHO_T}$ac_res" >&6; }
42549
42550 if eval test \$wx_cv_func_$wx_func = yes
42551 then
42552 cat >>confdefs.h <<_ACEOF
42553 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42554 _ACEOF
42555
42556
42557 else
42558 :
42559
42560 fi
42561 done
42562
42563
42564
42565 for wx_func in getgrgid_r
42566 do
42567 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42568 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42569 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42570 echo $ECHO_N "(cached) $ECHO_C" >&6
42571 else
42572
42573 cat >conftest.$ac_ext <<_ACEOF
42574
42575 /* confdefs.h. */
42576 _ACEOF
42577 cat confdefs.h >>conftest.$ac_ext
42578 cat >>conftest.$ac_ext <<_ACEOF
42579 /* end confdefs.h. */
42580
42581
42582 #define _REENTRANT
42583 #include <grp.h>
42584
42585 $ac_includes_default
42586
42587 int
42588 main ()
42589 {
42590
42591 #ifndef $wx_func
42592 &$wx_func;
42593 #endif
42594
42595 struct group grp, *pgrp;
42596 char buf[1024];
42597 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42598
42599
42600 ;
42601 return 0;
42602 }
42603
42604 _ACEOF
42605 rm -f conftest.$ac_objext conftest$ac_exeext
42606 if { (ac_try="$ac_link"
42607 case "(($ac_try" in
42608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42609 *) ac_try_echo=$ac_try;;
42610 esac
42611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42612 (eval "$ac_link") 2>conftest.er1
42613 ac_status=$?
42614 grep -v '^ *+' conftest.er1 >conftest.err
42615 rm -f conftest.er1
42616 cat conftest.err >&5
42617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42618 (exit $ac_status); } && {
42619 test -z "$ac_c_werror_flag" ||
42620 test ! -s conftest.err
42621 } && test -s conftest$ac_exeext &&
42622 $as_test_x conftest$ac_exeext; then
42623 eval wx_cv_func_$wx_func=yes
42624 else
42625 echo "$as_me: failed program was:" >&5
42626 sed 's/^/| /' conftest.$ac_ext >&5
42627
42628 eval wx_cv_func_$wx_func=no
42629 fi
42630
42631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42632 conftest$ac_exeext conftest.$ac_ext
42633
42634 fi
42635 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42636 { echo "$as_me:$LINENO: result: $ac_res" >&5
42637 echo "${ECHO_T}$ac_res" >&6; }
42638
42639 if eval test \$wx_cv_func_$wx_func = yes
42640 then
42641 cat >>confdefs.h <<_ACEOF
42642 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42643 _ACEOF
42644
42645
42646 else
42647 :
42648
42649 fi
42650 done
42651
42652 fi
42653
42654 fi
42655
42656
42657
42658 cat >confcache <<\_ACEOF
42659 # This file is a shell script that caches the results of configure
42660 # tests run on this system so they can be shared between configure
42661 # scripts and configure runs, see configure's option --config-cache.
42662 # It is not useful on other systems. If it contains results you don't
42663 # want to keep, you may remove or edit it.
42664 #
42665 # config.status only pays attention to the cache file if you give it
42666 # the --recheck option to rerun configure.
42667 #
42668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42670 # following values.
42671
42672 _ACEOF
42673
42674 # The following way of writing the cache mishandles newlines in values,
42675 # but we know of no workaround that is simple, portable, and efficient.
42676 # So, we kill variables containing newlines.
42677 # Ultrix sh set writes to stderr and can't be redirected directly,
42678 # and sets the high bit in the cache file unless we assign to the vars.
42679 (
42680 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42681 eval ac_val=\$$ac_var
42682 case $ac_val in #(
42683 *${as_nl}*)
42684 case $ac_var in #(
42685 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42686 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42687 esac
42688 case $ac_var in #(
42689 _ | IFS | as_nl) ;; #(
42690 *) $as_unset $ac_var ;;
42691 esac ;;
42692 esac
42693 done
42694
42695 (set) 2>&1 |
42696 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42697 *${as_nl}ac_space=\ *)
42698 # `set' does not quote correctly, so add quotes (double-quote
42699 # substitution turns \\\\ into \\, and sed turns \\ into \).
42700 sed -n \
42701 "s/'/'\\\\''/g;
42702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42703 ;; #(
42704 *)
42705 # `set' quotes correctly as required by POSIX, so do not add quotes.
42706 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42707 ;;
42708 esac |
42709 sort
42710 ) |
42711 sed '
42712 /^ac_cv_env_/b end
42713 t clear
42714 :clear
42715 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42716 t end
42717 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42718 :end' >>confcache
42719 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42720 if test -w "$cache_file"; then
42721 test "x$cache_file" != "x/dev/null" &&
42722 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42723 echo "$as_me: updating cache $cache_file" >&6;}
42724 cat confcache >$cache_file
42725 else
42726 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42727 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42728 fi
42729 fi
42730 rm -f confcache
42731
42732
42733 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42734
42735
42736 THREADS_LINK=
42737 THREADS_CFLAGS=
42738
42739 if test "$wxUSE_THREADS" = "yes" ; then
42740 if test "$USE_BEOS" = 1; then
42741 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42742 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42743 wxUSE_THREADS="no"
42744 fi
42745 fi
42746
42747 if test "$wxUSE_THREADS" = "yes" ; then
42748
42749
42750 THREAD_OPTS="-pthread"
42751 if test "x$SUNCXX" = xyes; then
42752 THREAD_OPTS="-mt lthread $THREAD_OPTS"
42753 fi
42754
42755 case "${host}" in
42756 *-*-solaris2* | *-*-sunos4* )
42757 if test "x$GCC" = "xyes"; then
42758 THREAD_OPTS="-pthreads $THREAD_OPTS"
42759 fi
42760 ;;
42761 *-*-freebsd*)
42762 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42763 ;;
42764 *-*-darwin* | *-*-cygwin* )
42765 THREAD_OPTS=""
42766 ;;
42767 *-*-aix*)
42768 THREAD_OPTS="pthreads"
42769 ;;
42770 *-hp-hpux* )
42771 if test "x$GCC" = "xyes"; then
42772 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42773 THREAD_OPTS=""
42774 else
42775 THREAD_OPTS="-mt"
42776 fi
42777 ;;
42778
42779 *-*-irix* )
42780 if test "x$GCC" = "xyes"; then
42781 THREAD_OPTS=""
42782 fi
42783 ;;
42784
42785 *-*-qnx*)
42786 THREAD_OPTS=""
42787 ;;
42788
42789 *-*-*UnixWare*)
42790 if test "x$GCC" != "xyes"; then
42791 THREAD_OPTS="-Ethread"
42792 fi
42793 ;;
42794 esac
42795
42796 case "${host}" in
42797 *-*-qnx*)
42798 THREAD_OPTS="none pthread"
42799 ;;
42800
42801 *)
42802 THREAD_OPTS="$THREAD_OPTS pthread none"
42803 ;;
42804 esac
42805
42806 THREADS_OK=no
42807 for flag in $THREAD_OPTS; do
42808 case $flag in
42809 none)
42810 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42811 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42812 ;;
42813
42814 -*)
42815 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42816 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42817 THREADS_CFLAGS="$flag"
42818 ;;
42819
42820 *)
42821 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42822 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42823 THREADS_LINK="-l$flag"
42824 ;;
42825 esac
42826
42827 save_LIBS="$LIBS"
42828 save_CFLAGS="$CFLAGS"
42829 LIBS="$THREADS_LINK $LIBS"
42830 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42831
42832 cat >conftest.$ac_ext <<_ACEOF
42833 /* confdefs.h. */
42834 _ACEOF
42835 cat confdefs.h >>conftest.$ac_ext
42836 cat >>conftest.$ac_ext <<_ACEOF
42837 /* end confdefs.h. */
42838 #include <pthread.h>
42839 int
42840 main ()
42841 {
42842 pthread_create(0,0,0,0);
42843 ;
42844 return 0;
42845 }
42846 _ACEOF
42847 rm -f conftest.$ac_objext conftest$ac_exeext
42848 if { (ac_try="$ac_link"
42849 case "(($ac_try" in
42850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42851 *) ac_try_echo=$ac_try;;
42852 esac
42853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42854 (eval "$ac_link") 2>conftest.er1
42855 ac_status=$?
42856 grep -v '^ *+' conftest.er1 >conftest.err
42857 rm -f conftest.er1
42858 cat conftest.err >&5
42859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42860 (exit $ac_status); } && {
42861 test -z "$ac_c_werror_flag" ||
42862 test ! -s conftest.err
42863 } && test -s conftest$ac_exeext &&
42864 $as_test_x conftest$ac_exeext; then
42865 THREADS_OK=yes
42866 else
42867 echo "$as_me: failed program was:" >&5
42868 sed 's/^/| /' conftest.$ac_ext >&5
42869
42870
42871 fi
42872
42873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42874 conftest$ac_exeext conftest.$ac_ext
42875
42876 LIBS="$save_LIBS"
42877 CFLAGS="$save_CFLAGS"
42878
42879 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42880 echo "${ECHO_T}$THREADS_OK" >&6; }
42881 if test "x$THREADS_OK" = "xyes"; then
42882 break;
42883 fi
42884
42885 THREADS_LINK=""
42886 THREADS_CFLAGS=""
42887 done
42888
42889 if test "x$THREADS_OK" != "xyes"; then
42890 wxUSE_THREADS=no
42891 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42892 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42893 else
42894 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42895 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
42896 LIBS="$THREADS_LINK $LIBS"
42897
42898 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42899 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42900 flag=no
42901 case "${host}" in
42902 *-aix*)
42903 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42904 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
42905 flag="-D_THREAD_SAFE"
42906 ;;
42907 *-freebsd*)
42908 flag="-D_THREAD_SAFE"
42909 ;;
42910 *-hp-hpux* )
42911 flag="-D_REENTRANT"
42912 if test "x$GCC" != "xyes"; then
42913 flag="$flag -D_RWSTD_MULTI_THREAD"
42914 fi
42915 ;;
42916 *solaris* | alpha*-osf*)
42917 flag="-D_REENTRANT"
42918 ;;
42919 esac
42920 { echo "$as_me:$LINENO: result: ${flag}" >&5
42921 echo "${ECHO_T}${flag}" >&6; }
42922 if test "x$flag" != xno; then
42923 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42924 fi
42925
42926 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42927 fi
42928 fi
42929
42930 if test "$wxUSE_THREADS" = "yes" ; then
42931
42932 for ac_func in pthread_setconcurrency
42933 do
42934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42938 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 else
42940 cat >conftest.$ac_ext <<_ACEOF
42941 /* confdefs.h. */
42942 _ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42948 #define $ac_func innocuous_$ac_func
42949
42950 /* System header to define __stub macros and hopefully few prototypes,
42951 which can conflict with char $ac_func (); below.
42952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42953 <limits.h> exists even on freestanding compilers. */
42954
42955 #ifdef __STDC__
42956 # include <limits.h>
42957 #else
42958 # include <assert.h>
42959 #endif
42960
42961 #undef $ac_func
42962
42963 /* Override any GCC internal prototype to avoid an error.
42964 Use char because int might match the return type of a GCC
42965 builtin and then its argument prototype would still apply. */
42966 #ifdef __cplusplus
42967 extern "C"
42968 #endif
42969 char $ac_func ();
42970 /* The GNU C library defines this for functions which it implements
42971 to always fail with ENOSYS. Some functions are actually named
42972 something starting with __ and the normal name is an alias. */
42973 #if defined __stub_$ac_func || defined __stub___$ac_func
42974 choke me
42975 #endif
42976
42977 int
42978 main ()
42979 {
42980 return $ac_func ();
42981 ;
42982 return 0;
42983 }
42984 _ACEOF
42985 rm -f conftest.$ac_objext conftest$ac_exeext
42986 if { (ac_try="$ac_link"
42987 case "(($ac_try" in
42988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42989 *) ac_try_echo=$ac_try;;
42990 esac
42991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42992 (eval "$ac_link") 2>conftest.er1
42993 ac_status=$?
42994 grep -v '^ *+' conftest.er1 >conftest.err
42995 rm -f conftest.er1
42996 cat conftest.err >&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } && {
42999 test -z "$ac_c_werror_flag" ||
43000 test ! -s conftest.err
43001 } && test -s conftest$ac_exeext &&
43002 $as_test_x conftest$ac_exeext; then
43003 eval "$as_ac_var=yes"
43004 else
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.$ac_ext >&5
43007
43008 eval "$as_ac_var=no"
43009 fi
43010
43011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43012 conftest$ac_exeext conftest.$ac_ext
43013 fi
43014 ac_res=`eval echo '${'$as_ac_var'}'`
43015 { echo "$as_me:$LINENO: result: $ac_res" >&5
43016 echo "${ECHO_T}$ac_res" >&6; }
43017 if test `eval echo '${'$as_ac_var'}'` = yes; then
43018 cat >>confdefs.h <<_ACEOF
43019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43020 _ACEOF
43021 cat >>confdefs.h <<\_ACEOF
43022 #define HAVE_PTHREAD_SET_CONCURRENCY 1
43023 _ACEOF
43024
43025 else
43026
43027
43028 for ac_func in thr_setconcurrency
43029 do
43030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43031 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43033 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43034 echo $ECHO_N "(cached) $ECHO_C" >&6
43035 else
43036 cat >conftest.$ac_ext <<_ACEOF
43037 /* confdefs.h. */
43038 _ACEOF
43039 cat confdefs.h >>conftest.$ac_ext
43040 cat >>conftest.$ac_ext <<_ACEOF
43041 /* end confdefs.h. */
43042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43044 #define $ac_func innocuous_$ac_func
43045
43046 /* System header to define __stub macros and hopefully few prototypes,
43047 which can conflict with char $ac_func (); below.
43048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43049 <limits.h> exists even on freestanding compilers. */
43050
43051 #ifdef __STDC__
43052 # include <limits.h>
43053 #else
43054 # include <assert.h>
43055 #endif
43056
43057 #undef $ac_func
43058
43059 /* Override any GCC internal prototype to avoid an error.
43060 Use char because int might match the return type of a GCC
43061 builtin and then its argument prototype would still apply. */
43062 #ifdef __cplusplus
43063 extern "C"
43064 #endif
43065 char $ac_func ();
43066 /* The GNU C library defines this for functions which it implements
43067 to always fail with ENOSYS. Some functions are actually named
43068 something starting with __ and the normal name is an alias. */
43069 #if defined __stub_$ac_func || defined __stub___$ac_func
43070 choke me
43071 #endif
43072
43073 int
43074 main ()
43075 {
43076 return $ac_func ();
43077 ;
43078 return 0;
43079 }
43080 _ACEOF
43081 rm -f conftest.$ac_objext conftest$ac_exeext
43082 if { (ac_try="$ac_link"
43083 case "(($ac_try" in
43084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43085 *) ac_try_echo=$ac_try;;
43086 esac
43087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43088 (eval "$ac_link") 2>conftest.er1
43089 ac_status=$?
43090 grep -v '^ *+' conftest.er1 >conftest.err
43091 rm -f conftest.er1
43092 cat conftest.err >&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); } && {
43095 test -z "$ac_c_werror_flag" ||
43096 test ! -s conftest.err
43097 } && test -s conftest$ac_exeext &&
43098 $as_test_x conftest$ac_exeext; then
43099 eval "$as_ac_var=yes"
43100 else
43101 echo "$as_me: failed program was:" >&5
43102 sed 's/^/| /' conftest.$ac_ext >&5
43103
43104 eval "$as_ac_var=no"
43105 fi
43106
43107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43108 conftest$ac_exeext conftest.$ac_ext
43109 fi
43110 ac_res=`eval echo '${'$as_ac_var'}'`
43111 { echo "$as_me:$LINENO: result: $ac_res" >&5
43112 echo "${ECHO_T}$ac_res" >&6; }
43113 if test `eval echo '${'$as_ac_var'}'` = yes; then
43114 cat >>confdefs.h <<_ACEOF
43115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43116 _ACEOF
43117 cat >>confdefs.h <<\_ACEOF
43118 #define HAVE_THR_SETCONCURRENCY 1
43119 _ACEOF
43120
43121 else
43122 { echo "$as_me:$LINENO: WARNING: Setting thread concurrency will not work properly" >&5
43123 echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
43124 fi
43125 done
43126
43127
43128 fi
43129 done
43130
43131
43132 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43133 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43134 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43135 echo $ECHO_N "(cached) $ECHO_C" >&6
43136 else
43137
43138 ac_ext=cpp
43139 ac_cpp='$CXXCPP $CPPFLAGS'
43140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43143
43144 cat >conftest.$ac_ext <<_ACEOF
43145 /* confdefs.h. */
43146 _ACEOF
43147 cat confdefs.h >>conftest.$ac_ext
43148 cat >>conftest.$ac_ext <<_ACEOF
43149 /* end confdefs.h. */
43150 #include <pthread.h>
43151 void ThreadCleanupFunc(void *p);
43152
43153 int
43154 main ()
43155 {
43156
43157 void *p;
43158 pthread_cleanup_push(ThreadCleanupFunc, p);
43159 pthread_cleanup_pop(0);
43160
43161 ;
43162 return 0;
43163 }
43164 _ACEOF
43165 rm -f conftest.$ac_objext
43166 if { (ac_try="$ac_compile"
43167 case "(($ac_try" in
43168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43169 *) ac_try_echo=$ac_try;;
43170 esac
43171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43172 (eval "$ac_compile") 2>conftest.er1
43173 ac_status=$?
43174 grep -v '^ *+' conftest.er1 >conftest.err
43175 rm -f conftest.er1
43176 cat conftest.err >&5
43177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178 (exit $ac_status); } && {
43179 test -z "$ac_cxx_werror_flag" ||
43180 test ! -s conftest.err
43181 } && test -s conftest.$ac_objext; then
43182
43183 wx_cv_func_pthread_cleanup=yes
43184
43185 else
43186 echo "$as_me: failed program was:" >&5
43187 sed 's/^/| /' conftest.$ac_ext >&5
43188
43189
43190 wx_cv_func_pthread_cleanup=no
43191
43192
43193 fi
43194
43195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43196 ac_ext=c
43197 ac_cpp='$CPP $CPPFLAGS'
43198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201
43202
43203 fi
43204 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43205 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43206 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43207 cat >>confdefs.h <<\_ACEOF
43208 #define wxHAVE_PTHREAD_CLEANUP 1
43209 _ACEOF
43210
43211 fi
43212
43213
43214 for ac_header in sched.h
43215 do
43216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43220 echo $ECHO_N "(cached) $ECHO_C" >&6
43221 else
43222 cat >conftest.$ac_ext <<_ACEOF
43223 /* confdefs.h. */
43224 _ACEOF
43225 cat confdefs.h >>conftest.$ac_ext
43226 cat >>conftest.$ac_ext <<_ACEOF
43227 /* end confdefs.h. */
43228 $ac_includes_default
43229
43230 #include <$ac_header>
43231 _ACEOF
43232 rm -f conftest.$ac_objext
43233 if { (ac_try="$ac_compile"
43234 case "(($ac_try" in
43235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43236 *) ac_try_echo=$ac_try;;
43237 esac
43238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43239 (eval "$ac_compile") 2>conftest.er1
43240 ac_status=$?
43241 grep -v '^ *+' conftest.er1 >conftest.err
43242 rm -f conftest.er1
43243 cat conftest.err >&5
43244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43245 (exit $ac_status); } && {
43246 test -z "$ac_c_werror_flag" ||
43247 test ! -s conftest.err
43248 } && test -s conftest.$ac_objext; then
43249 eval "$as_ac_Header=yes"
43250 else
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.$ac_ext >&5
43253
43254 eval "$as_ac_Header=no"
43255 fi
43256
43257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43258 fi
43259 ac_res=`eval echo '${'$as_ac_Header'}'`
43260 { echo "$as_me:$LINENO: result: $ac_res" >&5
43261 echo "${ECHO_T}$ac_res" >&6; }
43262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43263 cat >>confdefs.h <<_ACEOF
43264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43265 _ACEOF
43266
43267 fi
43268
43269 done
43270
43271 if test "$ac_cv_header_sched_h" = "yes"; then
43272 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43273 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43274 if test "${ac_cv_func_sched_yield+set}" = set; then
43275 echo $ECHO_N "(cached) $ECHO_C" >&6
43276 else
43277 cat >conftest.$ac_ext <<_ACEOF
43278 /* confdefs.h. */
43279 _ACEOF
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43283 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43285 #define sched_yield innocuous_sched_yield
43286
43287 /* System header to define __stub macros and hopefully few prototypes,
43288 which can conflict with char sched_yield (); below.
43289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43290 <limits.h> exists even on freestanding compilers. */
43291
43292 #ifdef __STDC__
43293 # include <limits.h>
43294 #else
43295 # include <assert.h>
43296 #endif
43297
43298 #undef sched_yield
43299
43300 /* Override any GCC internal prototype to avoid an error.
43301 Use char because int might match the return type of a GCC
43302 builtin and then its argument prototype would still apply. */
43303 #ifdef __cplusplus
43304 extern "C"
43305 #endif
43306 char sched_yield ();
43307 /* The GNU C library defines this for functions which it implements
43308 to always fail with ENOSYS. Some functions are actually named
43309 something starting with __ and the normal name is an alias. */
43310 #if defined __stub_sched_yield || defined __stub___sched_yield
43311 choke me
43312 #endif
43313
43314 int
43315 main ()
43316 {
43317 return sched_yield ();
43318 ;
43319 return 0;
43320 }
43321 _ACEOF
43322 rm -f conftest.$ac_objext conftest$ac_exeext
43323 if { (ac_try="$ac_link"
43324 case "(($ac_try" in
43325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43326 *) ac_try_echo=$ac_try;;
43327 esac
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_link") 2>conftest.er1
43330 ac_status=$?
43331 grep -v '^ *+' conftest.er1 >conftest.err
43332 rm -f conftest.er1
43333 cat conftest.err >&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_c_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest$ac_exeext &&
43339 $as_test_x conftest$ac_exeext; then
43340 ac_cv_func_sched_yield=yes
43341 else
43342 echo "$as_me: failed program was:" >&5
43343 sed 's/^/| /' conftest.$ac_ext >&5
43344
43345 ac_cv_func_sched_yield=no
43346 fi
43347
43348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43349 conftest$ac_exeext conftest.$ac_ext
43350 fi
43351 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43352 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43353 if test $ac_cv_func_sched_yield = yes; then
43354 cat >>confdefs.h <<\_ACEOF
43355 #define HAVE_SCHED_YIELD 1
43356 _ACEOF
43357
43358 else
43359
43360 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43361 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43362 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43363 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 else
43365 ac_check_lib_save_LIBS=$LIBS
43366 LIBS="-lposix4 $LIBS"
43367 cat >conftest.$ac_ext <<_ACEOF
43368 /* confdefs.h. */
43369 _ACEOF
43370 cat confdefs.h >>conftest.$ac_ext
43371 cat >>conftest.$ac_ext <<_ACEOF
43372 /* end confdefs.h. */
43373
43374 /* Override any GCC internal prototype to avoid an error.
43375 Use char because int might match the return type of a GCC
43376 builtin and then its argument prototype would still apply. */
43377 #ifdef __cplusplus
43378 extern "C"
43379 #endif
43380 char sched_yield ();
43381 int
43382 main ()
43383 {
43384 return sched_yield ();
43385 ;
43386 return 0;
43387 }
43388 _ACEOF
43389 rm -f conftest.$ac_objext conftest$ac_exeext
43390 if { (ac_try="$ac_link"
43391 case "(($ac_try" in
43392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43393 *) ac_try_echo=$ac_try;;
43394 esac
43395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43396 (eval "$ac_link") 2>conftest.er1
43397 ac_status=$?
43398 grep -v '^ *+' conftest.er1 >conftest.err
43399 rm -f conftest.er1
43400 cat conftest.err >&5
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); } && {
43403 test -z "$ac_c_werror_flag" ||
43404 test ! -s conftest.err
43405 } && test -s conftest$ac_exeext &&
43406 $as_test_x conftest$ac_exeext; then
43407 ac_cv_lib_posix4_sched_yield=yes
43408 else
43409 echo "$as_me: failed program was:" >&5
43410 sed 's/^/| /' conftest.$ac_ext >&5
43411
43412 ac_cv_lib_posix4_sched_yield=no
43413 fi
43414
43415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43416 conftest$ac_exeext conftest.$ac_ext
43417 LIBS=$ac_check_lib_save_LIBS
43418 fi
43419 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43420 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43421 if test $ac_cv_lib_posix4_sched_yield = yes; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define HAVE_SCHED_YIELD 1
43424 _ACEOF
43425 POSIX4_LINK=" -lposix4"
43426 else
43427 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43428 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43429
43430 fi
43431
43432
43433
43434 fi
43435
43436 fi
43437
43438 HAVE_PRIOR_FUNCS=0
43439 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43440 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43441 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43442 echo $ECHO_N "(cached) $ECHO_C" >&6
43443 else
43444 cat >conftest.$ac_ext <<_ACEOF
43445 /* confdefs.h. */
43446 _ACEOF
43447 cat confdefs.h >>conftest.$ac_ext
43448 cat >>conftest.$ac_ext <<_ACEOF
43449 /* end confdefs.h. */
43450 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43452 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43453
43454 /* System header to define __stub macros and hopefully few prototypes,
43455 which can conflict with char pthread_attr_getschedpolicy (); below.
43456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43457 <limits.h> exists even on freestanding compilers. */
43458
43459 #ifdef __STDC__
43460 # include <limits.h>
43461 #else
43462 # include <assert.h>
43463 #endif
43464
43465 #undef pthread_attr_getschedpolicy
43466
43467 /* Override any GCC internal prototype to avoid an error.
43468 Use char because int might match the return type of a GCC
43469 builtin and then its argument prototype would still apply. */
43470 #ifdef __cplusplus
43471 extern "C"
43472 #endif
43473 char pthread_attr_getschedpolicy ();
43474 /* The GNU C library defines this for functions which it implements
43475 to always fail with ENOSYS. Some functions are actually named
43476 something starting with __ and the normal name is an alias. */
43477 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43478 choke me
43479 #endif
43480
43481 int
43482 main ()
43483 {
43484 return pthread_attr_getschedpolicy ();
43485 ;
43486 return 0;
43487 }
43488 _ACEOF
43489 rm -f conftest.$ac_objext conftest$ac_exeext
43490 if { (ac_try="$ac_link"
43491 case "(($ac_try" in
43492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43493 *) ac_try_echo=$ac_try;;
43494 esac
43495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43496 (eval "$ac_link") 2>conftest.er1
43497 ac_status=$?
43498 grep -v '^ *+' conftest.er1 >conftest.err
43499 rm -f conftest.er1
43500 cat conftest.err >&5
43501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502 (exit $ac_status); } && {
43503 test -z "$ac_c_werror_flag" ||
43504 test ! -s conftest.err
43505 } && test -s conftest$ac_exeext &&
43506 $as_test_x conftest$ac_exeext; then
43507 ac_cv_func_pthread_attr_getschedpolicy=yes
43508 else
43509 echo "$as_me: failed program was:" >&5
43510 sed 's/^/| /' conftest.$ac_ext >&5
43511
43512 ac_cv_func_pthread_attr_getschedpolicy=no
43513 fi
43514
43515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43516 conftest$ac_exeext conftest.$ac_ext
43517 fi
43518 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43519 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43520 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43521 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43522 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43523 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43524 echo $ECHO_N "(cached) $ECHO_C" >&6
43525 else
43526 cat >conftest.$ac_ext <<_ACEOF
43527 /* confdefs.h. */
43528 _ACEOF
43529 cat confdefs.h >>conftest.$ac_ext
43530 cat >>conftest.$ac_ext <<_ACEOF
43531 /* end confdefs.h. */
43532 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43534 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43535
43536 /* System header to define __stub macros and hopefully few prototypes,
43537 which can conflict with char pthread_attr_setschedparam (); below.
43538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43539 <limits.h> exists even on freestanding compilers. */
43540
43541 #ifdef __STDC__
43542 # include <limits.h>
43543 #else
43544 # include <assert.h>
43545 #endif
43546
43547 #undef pthread_attr_setschedparam
43548
43549 /* Override any GCC internal prototype to avoid an error.
43550 Use char because int might match the return type of a GCC
43551 builtin and then its argument prototype would still apply. */
43552 #ifdef __cplusplus
43553 extern "C"
43554 #endif
43555 char pthread_attr_setschedparam ();
43556 /* The GNU C library defines this for functions which it implements
43557 to always fail with ENOSYS. Some functions are actually named
43558 something starting with __ and the normal name is an alias. */
43559 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43560 choke me
43561 #endif
43562
43563 int
43564 main ()
43565 {
43566 return pthread_attr_setschedparam ();
43567 ;
43568 return 0;
43569 }
43570 _ACEOF
43571 rm -f conftest.$ac_objext conftest$ac_exeext
43572 if { (ac_try="$ac_link"
43573 case "(($ac_try" in
43574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43575 *) ac_try_echo=$ac_try;;
43576 esac
43577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43578 (eval "$ac_link") 2>conftest.er1
43579 ac_status=$?
43580 grep -v '^ *+' conftest.er1 >conftest.err
43581 rm -f conftest.er1
43582 cat conftest.err >&5
43583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43584 (exit $ac_status); } && {
43585 test -z "$ac_c_werror_flag" ||
43586 test ! -s conftest.err
43587 } && test -s conftest$ac_exeext &&
43588 $as_test_x conftest$ac_exeext; then
43589 ac_cv_func_pthread_attr_setschedparam=yes
43590 else
43591 echo "$as_me: failed program was:" >&5
43592 sed 's/^/| /' conftest.$ac_ext >&5
43593
43594 ac_cv_func_pthread_attr_setschedparam=no
43595 fi
43596
43597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43598 conftest$ac_exeext conftest.$ac_ext
43599 fi
43600 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43601 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43602 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43603 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43604 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43605 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43606 echo $ECHO_N "(cached) $ECHO_C" >&6
43607 else
43608 cat >conftest.$ac_ext <<_ACEOF
43609 /* confdefs.h. */
43610 _ACEOF
43611 cat confdefs.h >>conftest.$ac_ext
43612 cat >>conftest.$ac_ext <<_ACEOF
43613 /* end confdefs.h. */
43614 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43616 #define sched_get_priority_max innocuous_sched_get_priority_max
43617
43618 /* System header to define __stub macros and hopefully few prototypes,
43619 which can conflict with char sched_get_priority_max (); below.
43620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43621 <limits.h> exists even on freestanding compilers. */
43622
43623 #ifdef __STDC__
43624 # include <limits.h>
43625 #else
43626 # include <assert.h>
43627 #endif
43628
43629 #undef sched_get_priority_max
43630
43631 /* Override any GCC internal prototype to avoid an error.
43632 Use char because int might match the return type of a GCC
43633 builtin and then its argument prototype would still apply. */
43634 #ifdef __cplusplus
43635 extern "C"
43636 #endif
43637 char sched_get_priority_max ();
43638 /* The GNU C library defines this for functions which it implements
43639 to always fail with ENOSYS. Some functions are actually named
43640 something starting with __ and the normal name is an alias. */
43641 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43642 choke me
43643 #endif
43644
43645 int
43646 main ()
43647 {
43648 return sched_get_priority_max ();
43649 ;
43650 return 0;
43651 }
43652 _ACEOF
43653 rm -f conftest.$ac_objext conftest$ac_exeext
43654 if { (ac_try="$ac_link"
43655 case "(($ac_try" in
43656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43657 *) ac_try_echo=$ac_try;;
43658 esac
43659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43660 (eval "$ac_link") 2>conftest.er1
43661 ac_status=$?
43662 grep -v '^ *+' conftest.er1 >conftest.err
43663 rm -f conftest.er1
43664 cat conftest.err >&5
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); } && {
43667 test -z "$ac_c_werror_flag" ||
43668 test ! -s conftest.err
43669 } && test -s conftest$ac_exeext &&
43670 $as_test_x conftest$ac_exeext; then
43671 ac_cv_func_sched_get_priority_max=yes
43672 else
43673 echo "$as_me: failed program was:" >&5
43674 sed 's/^/| /' conftest.$ac_ext >&5
43675
43676 ac_cv_func_sched_get_priority_max=no
43677 fi
43678
43679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43680 conftest$ac_exeext conftest.$ac_ext
43681 fi
43682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43683 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43684 if test $ac_cv_func_sched_get_priority_max = yes; then
43685 HAVE_PRIOR_FUNCS=1
43686 else
43687 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43688 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43689 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 else
43692 ac_check_lib_save_LIBS=$LIBS
43693 LIBS="-lposix4 $LIBS"
43694 cat >conftest.$ac_ext <<_ACEOF
43695 /* confdefs.h. */
43696 _ACEOF
43697 cat confdefs.h >>conftest.$ac_ext
43698 cat >>conftest.$ac_ext <<_ACEOF
43699 /* end confdefs.h. */
43700
43701 /* Override any GCC internal prototype to avoid an error.
43702 Use char because int might match the return type of a GCC
43703 builtin and then its argument prototype would still apply. */
43704 #ifdef __cplusplus
43705 extern "C"
43706 #endif
43707 char sched_get_priority_max ();
43708 int
43709 main ()
43710 {
43711 return sched_get_priority_max ();
43712 ;
43713 return 0;
43714 }
43715 _ACEOF
43716 rm -f conftest.$ac_objext conftest$ac_exeext
43717 if { (ac_try="$ac_link"
43718 case "(($ac_try" in
43719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43720 *) ac_try_echo=$ac_try;;
43721 esac
43722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43723 (eval "$ac_link") 2>conftest.er1
43724 ac_status=$?
43725 grep -v '^ *+' conftest.er1 >conftest.err
43726 rm -f conftest.er1
43727 cat conftest.err >&5
43728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43729 (exit $ac_status); } && {
43730 test -z "$ac_c_werror_flag" ||
43731 test ! -s conftest.err
43732 } && test -s conftest$ac_exeext &&
43733 $as_test_x conftest$ac_exeext; then
43734 ac_cv_lib_posix4_sched_get_priority_max=yes
43735 else
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.$ac_ext >&5
43738
43739 ac_cv_lib_posix4_sched_get_priority_max=no
43740 fi
43741
43742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43743 conftest$ac_exeext conftest.$ac_ext
43744 LIBS=$ac_check_lib_save_LIBS
43745 fi
43746 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43747 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43748 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43749
43750 HAVE_PRIOR_FUNCS=1
43751 POSIX4_LINK=" -lposix4"
43752
43753 fi
43754
43755
43756 fi
43757
43758
43759 fi
43760
43761
43762 fi
43763
43764
43765 if test "$HAVE_PRIOR_FUNCS" = 1; then
43766 cat >>confdefs.h <<\_ACEOF
43767 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43768 _ACEOF
43769
43770 else
43771 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43772 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43773 fi
43774
43775 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43776 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43777 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43778 echo $ECHO_N "(cached) $ECHO_C" >&6
43779 else
43780 cat >conftest.$ac_ext <<_ACEOF
43781 /* confdefs.h. */
43782 _ACEOF
43783 cat confdefs.h >>conftest.$ac_ext
43784 cat >>conftest.$ac_ext <<_ACEOF
43785 /* end confdefs.h. */
43786 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43788 #define pthread_cancel innocuous_pthread_cancel
43789
43790 /* System header to define __stub macros and hopefully few prototypes,
43791 which can conflict with char pthread_cancel (); below.
43792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43793 <limits.h> exists even on freestanding compilers. */
43794
43795 #ifdef __STDC__
43796 # include <limits.h>
43797 #else
43798 # include <assert.h>
43799 #endif
43800
43801 #undef pthread_cancel
43802
43803 /* Override any GCC internal prototype to avoid an error.
43804 Use char because int might match the return type of a GCC
43805 builtin and then its argument prototype would still apply. */
43806 #ifdef __cplusplus
43807 extern "C"
43808 #endif
43809 char pthread_cancel ();
43810 /* The GNU C library defines this for functions which it implements
43811 to always fail with ENOSYS. Some functions are actually named
43812 something starting with __ and the normal name is an alias. */
43813 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43814 choke me
43815 #endif
43816
43817 int
43818 main ()
43819 {
43820 return pthread_cancel ();
43821 ;
43822 return 0;
43823 }
43824 _ACEOF
43825 rm -f conftest.$ac_objext conftest$ac_exeext
43826 if { (ac_try="$ac_link"
43827 case "(($ac_try" in
43828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43829 *) ac_try_echo=$ac_try;;
43830 esac
43831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43832 (eval "$ac_link") 2>conftest.er1
43833 ac_status=$?
43834 grep -v '^ *+' conftest.er1 >conftest.err
43835 rm -f conftest.er1
43836 cat conftest.err >&5
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); } && {
43839 test -z "$ac_c_werror_flag" ||
43840 test ! -s conftest.err
43841 } && test -s conftest$ac_exeext &&
43842 $as_test_x conftest$ac_exeext; then
43843 ac_cv_func_pthread_cancel=yes
43844 else
43845 echo "$as_me: failed program was:" >&5
43846 sed 's/^/| /' conftest.$ac_ext >&5
43847
43848 ac_cv_func_pthread_cancel=no
43849 fi
43850
43851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43852 conftest$ac_exeext conftest.$ac_ext
43853 fi
43854 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43855 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43856 if test $ac_cv_func_pthread_cancel = yes; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define HAVE_PTHREAD_CANCEL 1
43859 _ACEOF
43860
43861 else
43862 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43863 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43864 fi
43865
43866
43867 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43868 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43869 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43870 echo $ECHO_N "(cached) $ECHO_C" >&6
43871 else
43872 cat >conftest.$ac_ext <<_ACEOF
43873 /* confdefs.h. */
43874 _ACEOF
43875 cat confdefs.h >>conftest.$ac_ext
43876 cat >>conftest.$ac_ext <<_ACEOF
43877 /* end confdefs.h. */
43878 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43880 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43881
43882 /* System header to define __stub macros and hopefully few prototypes,
43883 which can conflict with char pthread_mutex_timedlock (); below.
43884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43885 <limits.h> exists even on freestanding compilers. */
43886
43887 #ifdef __STDC__
43888 # include <limits.h>
43889 #else
43890 # include <assert.h>
43891 #endif
43892
43893 #undef pthread_mutex_timedlock
43894
43895 /* Override any GCC internal prototype to avoid an error.
43896 Use char because int might match the return type of a GCC
43897 builtin and then its argument prototype would still apply. */
43898 #ifdef __cplusplus
43899 extern "C"
43900 #endif
43901 char pthread_mutex_timedlock ();
43902 /* The GNU C library defines this for functions which it implements
43903 to always fail with ENOSYS. Some functions are actually named
43904 something starting with __ and the normal name is an alias. */
43905 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43906 choke me
43907 #endif
43908
43909 int
43910 main ()
43911 {
43912 return pthread_mutex_timedlock ();
43913 ;
43914 return 0;
43915 }
43916 _ACEOF
43917 rm -f conftest.$ac_objext conftest$ac_exeext
43918 if { (ac_try="$ac_link"
43919 case "(($ac_try" in
43920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43921 *) ac_try_echo=$ac_try;;
43922 esac
43923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43924 (eval "$ac_link") 2>conftest.er1
43925 ac_status=$?
43926 grep -v '^ *+' conftest.er1 >conftest.err
43927 rm -f conftest.er1
43928 cat conftest.err >&5
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); } && {
43931 test -z "$ac_c_werror_flag" ||
43932 test ! -s conftest.err
43933 } && test -s conftest$ac_exeext &&
43934 $as_test_x conftest$ac_exeext; then
43935 ac_cv_func_pthread_mutex_timedlock=yes
43936 else
43937 echo "$as_me: failed program was:" >&5
43938 sed 's/^/| /' conftest.$ac_ext >&5
43939
43940 ac_cv_func_pthread_mutex_timedlock=no
43941 fi
43942
43943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43944 conftest$ac_exeext conftest.$ac_ext
43945 fi
43946 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43947 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43948 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43949 cat >>confdefs.h <<\_ACEOF
43950 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43951 _ACEOF
43952
43953 else
43954 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43955 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43956 fi
43957
43958
43959 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43960 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43961 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43963 else
43964 cat >conftest.$ac_ext <<_ACEOF
43965 /* confdefs.h. */
43966 _ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43972 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43973
43974 /* System header to define __stub macros and hopefully few prototypes,
43975 which can conflict with char pthread_attr_setstacksize (); below.
43976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43977 <limits.h> exists even on freestanding compilers. */
43978
43979 #ifdef __STDC__
43980 # include <limits.h>
43981 #else
43982 # include <assert.h>
43983 #endif
43984
43985 #undef pthread_attr_setstacksize
43986
43987 /* Override any GCC internal prototype to avoid an error.
43988 Use char because int might match the return type of a GCC
43989 builtin and then its argument prototype would still apply. */
43990 #ifdef __cplusplus
43991 extern "C"
43992 #endif
43993 char pthread_attr_setstacksize ();
43994 /* The GNU C library defines this for functions which it implements
43995 to always fail with ENOSYS. Some functions are actually named
43996 something starting with __ and the normal name is an alias. */
43997 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43998 choke me
43999 #endif
44000
44001 int
44002 main ()
44003 {
44004 return pthread_attr_setstacksize ();
44005 ;
44006 return 0;
44007 }
44008 _ACEOF
44009 rm -f conftest.$ac_objext conftest$ac_exeext
44010 if { (ac_try="$ac_link"
44011 case "(($ac_try" in
44012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44013 *) ac_try_echo=$ac_try;;
44014 esac
44015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44016 (eval "$ac_link") 2>conftest.er1
44017 ac_status=$?
44018 grep -v '^ *+' conftest.er1 >conftest.err
44019 rm -f conftest.er1
44020 cat conftest.err >&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); } && {
44023 test -z "$ac_c_werror_flag" ||
44024 test ! -s conftest.err
44025 } && test -s conftest$ac_exeext &&
44026 $as_test_x conftest$ac_exeext; then
44027 ac_cv_func_pthread_attr_setstacksize=yes
44028 else
44029 echo "$as_me: failed program was:" >&5
44030 sed 's/^/| /' conftest.$ac_ext >&5
44031
44032 ac_cv_func_pthread_attr_setstacksize=no
44033 fi
44034
44035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44036 conftest$ac_exeext conftest.$ac_ext
44037 fi
44038 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44039 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44040 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44041 cat >>confdefs.h <<\_ACEOF
44042 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44043 _ACEOF
44044
44045 fi
44046
44047
44048
44049 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44050 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44051 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44052 echo $ECHO_N "(cached) $ECHO_C" >&6
44053 else
44054
44055 cat >conftest.$ac_ext <<_ACEOF
44056 /* confdefs.h. */
44057 _ACEOF
44058 cat confdefs.h >>conftest.$ac_ext
44059 cat >>conftest.$ac_ext <<_ACEOF
44060 /* end confdefs.h. */
44061 #include <pthread.h>
44062 int
44063 main ()
44064 {
44065
44066 pthread_mutexattr_t attr;
44067 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44068
44069 ;
44070 return 0;
44071 }
44072 _ACEOF
44073 rm -f conftest.$ac_objext
44074 if { (ac_try="$ac_compile"
44075 case "(($ac_try" in
44076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44077 *) ac_try_echo=$ac_try;;
44078 esac
44079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44080 (eval "$ac_compile") 2>conftest.er1
44081 ac_status=$?
44082 grep -v '^ *+' conftest.er1 >conftest.err
44083 rm -f conftest.er1
44084 cat conftest.err >&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); } && {
44087 test -z "$ac_c_werror_flag" ||
44088 test ! -s conftest.err
44089 } && test -s conftest.$ac_objext; then
44090 wx_cv_type_pthread_mutexattr_t=yes
44091 else
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.$ac_ext >&5
44094
44095 wx_cv_type_pthread_mutexattr_t=no
44096
44097 fi
44098
44099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44100
44101 fi
44102 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44103 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44104
44105 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44106 cat >>confdefs.h <<\_ACEOF
44107 #define HAVE_PTHREAD_MUTEXATTR_T 1
44108 _ACEOF
44109
44110
44111 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44112 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44113 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44114 echo $ECHO_N "(cached) $ECHO_C" >&6
44115 else
44116
44117 cat >conftest.$ac_ext <<_ACEOF
44118 /* confdefs.h. */
44119 _ACEOF
44120 cat confdefs.h >>conftest.$ac_ext
44121 cat >>conftest.$ac_ext <<_ACEOF
44122 /* end confdefs.h. */
44123 #include <pthread.h>
44124 int
44125 main ()
44126 {
44127
44128 pthread_mutexattr_t attr;
44129 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44130
44131 ;
44132 return 0;
44133 }
44134 _ACEOF
44135 rm -f conftest.$ac_objext
44136 if { (ac_try="$ac_compile"
44137 case "(($ac_try" in
44138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44139 *) ac_try_echo=$ac_try;;
44140 esac
44141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44142 (eval "$ac_compile") 2>conftest.er1
44143 ac_status=$?
44144 grep -v '^ *+' conftest.er1 >conftest.err
44145 rm -f conftest.er1
44146 cat conftest.err >&5
44147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44148 (exit $ac_status); } && {
44149 test -z "$ac_c_werror_flag" ||
44150 test ! -s conftest.err
44151 } && test -s conftest.$ac_objext; then
44152 wx_cv_func_pthread_mutexattr_settype_decl=yes
44153 else
44154 echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44156
44157 wx_cv_func_pthread_mutexattr_settype_decl=no
44158
44159 fi
44160
44161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44162
44163 fi
44164 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44165 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44166 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44167 cat >>confdefs.h <<\_ACEOF
44168 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44169 _ACEOF
44170
44171 fi
44172 else
44173 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44174 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44175 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44176 echo $ECHO_N "(cached) $ECHO_C" >&6
44177 else
44178
44179 cat >conftest.$ac_ext <<_ACEOF
44180 /* confdefs.h. */
44181 _ACEOF
44182 cat confdefs.h >>conftest.$ac_ext
44183 cat >>conftest.$ac_ext <<_ACEOF
44184 /* end confdefs.h. */
44185 #include <pthread.h>
44186 int
44187 main ()
44188 {
44189
44190 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44191
44192 ;
44193 return 0;
44194 }
44195 _ACEOF
44196 rm -f conftest.$ac_objext
44197 if { (ac_try="$ac_compile"
44198 case "(($ac_try" in
44199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44200 *) ac_try_echo=$ac_try;;
44201 esac
44202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44203 (eval "$ac_compile") 2>conftest.er1
44204 ac_status=$?
44205 grep -v '^ *+' conftest.er1 >conftest.err
44206 rm -f conftest.er1
44207 cat conftest.err >&5
44208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44209 (exit $ac_status); } && {
44210 test -z "$ac_c_werror_flag" ||
44211 test ! -s conftest.err
44212 } && test -s conftest.$ac_objext; then
44213
44214 wx_cv_type_pthread_rec_mutex_init=yes
44215
44216 else
44217 echo "$as_me: failed program was:" >&5
44218 sed 's/^/| /' conftest.$ac_ext >&5
44219
44220
44221 wx_cv_type_pthread_rec_mutex_init=no
44222
44223
44224 fi
44225
44226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44227
44228 fi
44229 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44230 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44231 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44232 cat >>confdefs.h <<\_ACEOF
44233 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44234 _ACEOF
44235
44236 else
44237 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44238 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44239 fi
44240 fi
44241
44242 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44243 if test "$USE_NETBSD" = 1; then
44244 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44245 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44246 wxUSE_COMPILER_TLS=no
44247 else
44248 wxUSE_COMPILER_TLS=yes
44249 fi
44250 fi
44251
44252 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44253 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44254 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44255 if test "${wx_cv_cc___thread+set}" = set; then
44256 echo $ECHO_N "(cached) $ECHO_C" >&6
44257 else
44258
44259 cat >conftest.$ac_ext <<_ACEOF
44260 /* confdefs.h. */
44261 _ACEOF
44262 cat confdefs.h >>conftest.$ac_ext
44263 cat >>conftest.$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44265 #include <pthread.h>
44266 int
44267 main ()
44268 {
44269
44270 static __thread int n = 0;
44271 static __thread int *p = 0;
44272
44273 ;
44274 return 0;
44275 }
44276 _ACEOF
44277 rm -f conftest.$ac_objext
44278 if { (ac_try="$ac_compile"
44279 case "(($ac_try" in
44280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44281 *) ac_try_echo=$ac_try;;
44282 esac
44283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44284 (eval "$ac_compile") 2>conftest.er1
44285 ac_status=$?
44286 grep -v '^ *+' conftest.er1 >conftest.err
44287 rm -f conftest.er1
44288 cat conftest.err >&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); } && {
44291 test -z "$ac_c_werror_flag" ||
44292 test ! -s conftest.err
44293 } && test -s conftest.$ac_objext; then
44294 wx_cv_cc___thread=yes
44295 else
44296 echo "$as_me: failed program was:" >&5
44297 sed 's/^/| /' conftest.$ac_ext >&5
44298
44299 wx_cv_cc___thread=no
44300
44301 fi
44302
44303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44304
44305
44306 fi
44307 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44308 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44309
44310 if test "$wx_cv_cc___thread" = "yes"; then
44311
44312 GXX_VERSION=""
44313
44314
44315
44316 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44317 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44318
44319 if test "x$GCC" = "xyes" ; then
44320
44321 if test -z "" ; then
44322
44323 ax_gcc_option_test="int main()
44324 {
44325 return 0;
44326 }"
44327
44328 else
44329
44330 ax_gcc_option_test=""
44331
44332 fi
44333
44334
44335 # Dump the test program to file
44336 cat <<EOF > conftest.c
44337 $ax_gcc_option_test
44338 EOF
44339
44340 # Dump back the file to the log, useful for debugging purposes
44341 { ac_try='cat conftest.c 1>&5'
44342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44343 (eval $ac_try) 2>&5
44344 ac_status=$?
44345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44346 (exit $ac_status); }; }
44347
44348 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44350 (eval $ac_try) 2>&5
44351 ac_status=$?
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); }; } ; then
44354
44355 { echo "$as_me:$LINENO: result: yes" >&5
44356 echo "${ECHO_T}yes" >&6; }
44357
44358 ax_gcc_version_option=yes
44359
44360
44361 else
44362
44363 { echo "$as_me:$LINENO: result: no" >&5
44364 echo "${ECHO_T}no" >&6; }
44365
44366 ax_gcc_version_option=no
44367
44368
44369 fi
44370
44371
44372 else
44373
44374 { echo "$as_me:$LINENO: result: no gcc available" >&5
44375 echo "${ECHO_T}no gcc available" >&6; }
44376
44377 fi
44378
44379
44380 if test "x$GXX" = "xyes"; then
44381
44382 if test "x$ax_gxx_version_option" != "no"; then
44383
44384 { echo "$as_me:$LINENO: checking gxx version" >&5
44385 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44386 if test "${ax_cv_gxx_version+set}" = set; then
44387 echo $ECHO_N "(cached) $ECHO_C" >&6
44388 else
44389
44390 ax_cv_gxx_version="`$CXX -dumpversion`"
44391 if test "x$ax_cv_gxx_version" = "x"; then
44392
44393 ax_cv_gxx_version=""
44394
44395 fi
44396
44397
44398 fi
44399 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44400 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44401 GXX_VERSION=$ax_cv_gxx_version
44402
44403 fi
44404
44405
44406 fi
44407
44408
44409
44410 if test -n "$ax_cv_gxx_version"; then
44411 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44412 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44413 case "$ax_cv_gxx_version" in
44414 1.* | 2.* | 3.* )
44415 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44416 echo "${ECHO_T}no, it's broken" >&6; }
44417 wx_cv_cc___thread=no
44418 ;;
44419 *)
44420 { echo "$as_me:$LINENO: result: yes, it works" >&5
44421 echo "${ECHO_T}yes, it works" >&6; }
44422 ;;
44423 esac
44424 fi
44425 fi
44426
44427 if test "$wx_cv_cc___thread" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define HAVE___THREAD_KEYWORD 1
44430 _ACEOF
44431
44432 fi
44433 fi
44434 fi
44435
44436 else
44437 if test "$wxUSE_THREADS" = "yes" ; then
44438 case "${host}" in
44439 x86_64-*-mingw32* )
44440 ;;
44441 *-*-mingw32* )
44442 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44443 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44444 if test "${wx_cv_cflags_mthread+set}" = set; then
44445 echo $ECHO_N "(cached) $ECHO_C" >&6
44446 else
44447
44448 CFLAGS_OLD="$CFLAGS"
44449 CFLAGS="-mthreads $CFLAGS"
44450 cat >conftest.$ac_ext <<_ACEOF
44451 /* confdefs.h. */
44452 _ACEOF
44453 cat confdefs.h >>conftest.$ac_ext
44454 cat >>conftest.$ac_ext <<_ACEOF
44455 /* end confdefs.h. */
44456
44457 int
44458 main ()
44459 {
44460
44461 ;
44462 return 0;
44463 }
44464 _ACEOF
44465 rm -f conftest.$ac_objext
44466 if { (ac_try="$ac_compile"
44467 case "(($ac_try" in
44468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44469 *) ac_try_echo=$ac_try;;
44470 esac
44471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44472 (eval "$ac_compile") 2>conftest.er1
44473 ac_status=$?
44474 grep -v '^ *+' conftest.er1 >conftest.err
44475 rm -f conftest.er1
44476 cat conftest.err >&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } && {
44479 test -z "$ac_c_werror_flag" ||
44480 test ! -s conftest.err
44481 } && test -s conftest.$ac_objext; then
44482 wx_cv_cflags_mthread=yes
44483 else
44484 echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.$ac_ext >&5
44486
44487 wx_cv_cflags_mthread=no
44488
44489 fi
44490
44491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44492
44493
44494 fi
44495 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44496 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44497
44498 if test "$wx_cv_cflags_mthread" = "yes"; then
44499 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44500 LDFLAGS="$LDFLAGS -mthreads"
44501 else
44502 CFLAGS="$CFLAGS_OLD"
44503 fi
44504 ;;
44505 *-pc-os2*emx )
44506 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44507 LDFLAGS="$LDFLAGS -Zmt"
44508 ;;
44509 esac
44510 fi
44511 fi
44512
44513 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44514 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44515 if test "${ac_cv_func_localtime_r+set}" = set; then
44516 echo $ECHO_N "(cached) $ECHO_C" >&6
44517 else
44518 cat >conftest.$ac_ext <<_ACEOF
44519 /* confdefs.h. */
44520 _ACEOF
44521 cat confdefs.h >>conftest.$ac_ext
44522 cat >>conftest.$ac_ext <<_ACEOF
44523 /* end confdefs.h. */
44524 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44526 #define localtime_r innocuous_localtime_r
44527
44528 /* System header to define __stub macros and hopefully few prototypes,
44529 which can conflict with char localtime_r (); below.
44530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44531 <limits.h> exists even on freestanding compilers. */
44532
44533 #ifdef __STDC__
44534 # include <limits.h>
44535 #else
44536 # include <assert.h>
44537 #endif
44538
44539 #undef localtime_r
44540
44541 /* Override any GCC internal prototype to avoid an error.
44542 Use char because int might match the return type of a GCC
44543 builtin and then its argument prototype would still apply. */
44544 #ifdef __cplusplus
44545 extern "C"
44546 #endif
44547 char localtime_r ();
44548 /* The GNU C library defines this for functions which it implements
44549 to always fail with ENOSYS. Some functions are actually named
44550 something starting with __ and the normal name is an alias. */
44551 #if defined __stub_localtime_r || defined __stub___localtime_r
44552 choke me
44553 #endif
44554
44555 int
44556 main ()
44557 {
44558 return localtime_r ();
44559 ;
44560 return 0;
44561 }
44562 _ACEOF
44563 rm -f conftest.$ac_objext conftest$ac_exeext
44564 if { (ac_try="$ac_link"
44565 case "(($ac_try" in
44566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44567 *) ac_try_echo=$ac_try;;
44568 esac
44569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44570 (eval "$ac_link") 2>conftest.er1
44571 ac_status=$?
44572 grep -v '^ *+' conftest.er1 >conftest.err
44573 rm -f conftest.er1
44574 cat conftest.err >&5
44575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44576 (exit $ac_status); } && {
44577 test -z "$ac_c_werror_flag" ||
44578 test ! -s conftest.err
44579 } && test -s conftest$ac_exeext &&
44580 $as_test_x conftest$ac_exeext; then
44581 ac_cv_func_localtime_r=yes
44582 else
44583 echo "$as_me: failed program was:" >&5
44584 sed 's/^/| /' conftest.$ac_ext >&5
44585
44586 ac_cv_func_localtime_r=no
44587 fi
44588
44589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44590 conftest$ac_exeext conftest.$ac_ext
44591 fi
44592 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44593 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44594 if test $ac_cv_func_localtime_r = yes; then
44595 cat >>confdefs.h <<\_ACEOF
44596 #define HAVE_LOCALTIME_R 1
44597 _ACEOF
44598
44599 fi
44600
44601 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44602 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44603 if test "${ac_cv_func_gmtime_r+set}" = set; then
44604 echo $ECHO_N "(cached) $ECHO_C" >&6
44605 else
44606 cat >conftest.$ac_ext <<_ACEOF
44607 /* confdefs.h. */
44608 _ACEOF
44609 cat confdefs.h >>conftest.$ac_ext
44610 cat >>conftest.$ac_ext <<_ACEOF
44611 /* end confdefs.h. */
44612 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44614 #define gmtime_r innocuous_gmtime_r
44615
44616 /* System header to define __stub macros and hopefully few prototypes,
44617 which can conflict with char gmtime_r (); below.
44618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44619 <limits.h> exists even on freestanding compilers. */
44620
44621 #ifdef __STDC__
44622 # include <limits.h>
44623 #else
44624 # include <assert.h>
44625 #endif
44626
44627 #undef gmtime_r
44628
44629 /* Override any GCC internal prototype to avoid an error.
44630 Use char because int might match the return type of a GCC
44631 builtin and then its argument prototype would still apply. */
44632 #ifdef __cplusplus
44633 extern "C"
44634 #endif
44635 char gmtime_r ();
44636 /* The GNU C library defines this for functions which it implements
44637 to always fail with ENOSYS. Some functions are actually named
44638 something starting with __ and the normal name is an alias. */
44639 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44640 choke me
44641 #endif
44642
44643 int
44644 main ()
44645 {
44646 return gmtime_r ();
44647 ;
44648 return 0;
44649 }
44650 _ACEOF
44651 rm -f conftest.$ac_objext conftest$ac_exeext
44652 if { (ac_try="$ac_link"
44653 case "(($ac_try" in
44654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44655 *) ac_try_echo=$ac_try;;
44656 esac
44657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44658 (eval "$ac_link") 2>conftest.er1
44659 ac_status=$?
44660 grep -v '^ *+' conftest.er1 >conftest.err
44661 rm -f conftest.er1
44662 cat conftest.err >&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); } && {
44665 test -z "$ac_c_werror_flag" ||
44666 test ! -s conftest.err
44667 } && test -s conftest$ac_exeext &&
44668 $as_test_x conftest$ac_exeext; then
44669 ac_cv_func_gmtime_r=yes
44670 else
44671 echo "$as_me: failed program was:" >&5
44672 sed 's/^/| /' conftest.$ac_ext >&5
44673
44674 ac_cv_func_gmtime_r=no
44675 fi
44676
44677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44678 conftest$ac_exeext conftest.$ac_ext
44679 fi
44680 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44681 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44682 if test $ac_cv_func_gmtime_r = yes; then
44683 cat >>confdefs.h <<\_ACEOF
44684 #define HAVE_GMTIME_R 1
44685 _ACEOF
44686
44687 fi
44688
44689
44690
44691
44692 ac_ext=c
44693 ac_cpp='$CPP $CPPFLAGS'
44694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44697
44698 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44699 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44700
44701 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44702 echo $ECHO_N "(cached) $ECHO_C" >&6
44703 else
44704
44705
44706 ################################################################
44707
44708 ac_cv_func_which_gethostbyname_r=unknown
44709
44710 #
44711 # ONE ARGUMENT (sanity check)
44712 #
44713
44714 # This should fail, as there is no variant of gethostbyname_r() that takes
44715 # a single argument. If it actually compiles, then we can assume that
44716 # netdb.h is not declaring the function, and the compiler is thereby
44717 # assuming an implicit prototype. In which case, we're out of luck.
44718 #
44719 cat >conftest.$ac_ext <<_ACEOF
44720 /* confdefs.h. */
44721 _ACEOF
44722 cat confdefs.h >>conftest.$ac_ext
44723 cat >>conftest.$ac_ext <<_ACEOF
44724 /* end confdefs.h. */
44725 #include <netdb.h>
44726 int
44727 main ()
44728 {
44729
44730 char *name = "www.gnu.org";
44731 (void)gethostbyname_r(name) /* ; */
44732
44733
44734 ;
44735 return 0;
44736 }
44737 _ACEOF
44738 rm -f conftest.$ac_objext
44739 if { (ac_try="$ac_compile"
44740 case "(($ac_try" in
44741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44742 *) ac_try_echo=$ac_try;;
44743 esac
44744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44745 (eval "$ac_compile") 2>conftest.er1
44746 ac_status=$?
44747 grep -v '^ *+' conftest.er1 >conftest.err
44748 rm -f conftest.er1
44749 cat conftest.err >&5
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); } && {
44752 test -z "$ac_c_werror_flag" ||
44753 test ! -s conftest.err
44754 } && test -s conftest.$ac_objext; then
44755 ac_cv_func_which_gethostbyname_r=no
44756
44757 else
44758 echo "$as_me: failed program was:" >&5
44759 sed 's/^/| /' conftest.$ac_ext >&5
44760
44761
44762 fi
44763
44764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44765
44766 #
44767 # SIX ARGUMENTS
44768 # (e.g. Linux)
44769 #
44770
44771 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44772
44773 cat >conftest.$ac_ext <<_ACEOF
44774 /* confdefs.h. */
44775 _ACEOF
44776 cat confdefs.h >>conftest.$ac_ext
44777 cat >>conftest.$ac_ext <<_ACEOF
44778 /* end confdefs.h. */
44779 #include <netdb.h>
44780 int
44781 main ()
44782 {
44783
44784 char *name = "www.gnu.org";
44785 struct hostent ret, *retp;
44786 char buf[1024];
44787 int buflen = 1024;
44788 int my_h_errno;
44789 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44790
44791
44792 ;
44793 return 0;
44794 }
44795 _ACEOF
44796 rm -f conftest.$ac_objext
44797 if { (ac_try="$ac_compile"
44798 case "(($ac_try" in
44799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44800 *) ac_try_echo=$ac_try;;
44801 esac
44802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44803 (eval "$ac_compile") 2>conftest.er1
44804 ac_status=$?
44805 grep -v '^ *+' conftest.er1 >conftest.err
44806 rm -f conftest.er1
44807 cat conftest.err >&5
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); } && {
44810 test -z "$ac_c_werror_flag" ||
44811 test ! -s conftest.err
44812 } && test -s conftest.$ac_objext; then
44813 ac_cv_func_which_gethostbyname_r=six
44814
44815 else
44816 echo "$as_me: failed program was:" >&5
44817 sed 's/^/| /' conftest.$ac_ext >&5
44818
44819
44820 fi
44821
44822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44823
44824 fi
44825
44826 #
44827 # FIVE ARGUMENTS
44828 # (e.g. Solaris)
44829 #
44830
44831 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44832
44833 cat >conftest.$ac_ext <<_ACEOF
44834 /* confdefs.h. */
44835 _ACEOF
44836 cat confdefs.h >>conftest.$ac_ext
44837 cat >>conftest.$ac_ext <<_ACEOF
44838 /* end confdefs.h. */
44839 #include <netdb.h>
44840 int
44841 main ()
44842 {
44843
44844 char *name = "www.gnu.org";
44845 struct hostent ret;
44846 char buf[1024];
44847 int buflen = 1024;
44848 int my_h_errno;
44849 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44850
44851
44852 ;
44853 return 0;
44854 }
44855 _ACEOF
44856 rm -f conftest.$ac_objext
44857 if { (ac_try="$ac_compile"
44858 case "(($ac_try" in
44859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44860 *) ac_try_echo=$ac_try;;
44861 esac
44862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44863 (eval "$ac_compile") 2>conftest.er1
44864 ac_status=$?
44865 grep -v '^ *+' conftest.er1 >conftest.err
44866 rm -f conftest.er1
44867 cat conftest.err >&5
44868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869 (exit $ac_status); } && {
44870 test -z "$ac_c_werror_flag" ||
44871 test ! -s conftest.err
44872 } && test -s conftest.$ac_objext; then
44873 ac_cv_func_which_gethostbyname_r=five
44874
44875 else
44876 echo "$as_me: failed program was:" >&5
44877 sed 's/^/| /' conftest.$ac_ext >&5
44878
44879
44880 fi
44881
44882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44883
44884 fi
44885
44886 #
44887 # THREE ARGUMENTS
44888 # (e.g. AIX, HP-UX, Tru64)
44889 #
44890
44891 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44892
44893 cat >conftest.$ac_ext <<_ACEOF
44894 /* confdefs.h. */
44895 _ACEOF
44896 cat confdefs.h >>conftest.$ac_ext
44897 cat >>conftest.$ac_ext <<_ACEOF
44898 /* end confdefs.h. */
44899 #include <netdb.h>
44900 int
44901 main ()
44902 {
44903
44904 char *name = "www.gnu.org";
44905 struct hostent ret;
44906 struct hostent_data data;
44907 (void)gethostbyname_r(name, &ret, &data) /* ; */
44908
44909
44910 ;
44911 return 0;
44912 }
44913 _ACEOF
44914 rm -f conftest.$ac_objext
44915 if { (ac_try="$ac_compile"
44916 case "(($ac_try" in
44917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44918 *) ac_try_echo=$ac_try;;
44919 esac
44920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44921 (eval "$ac_compile") 2>conftest.er1
44922 ac_status=$?
44923 grep -v '^ *+' conftest.er1 >conftest.err
44924 rm -f conftest.er1
44925 cat conftest.err >&5
44926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44927 (exit $ac_status); } && {
44928 test -z "$ac_c_werror_flag" ||
44929 test ! -s conftest.err
44930 } && test -s conftest.$ac_objext; then
44931 ac_cv_func_which_gethostbyname_r=three
44932
44933 else
44934 echo "$as_me: failed program was:" >&5
44935 sed 's/^/| /' conftest.$ac_ext >&5
44936
44937
44938 fi
44939
44940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44941
44942 fi
44943
44944 ################################################################
44945
44946
44947 fi
44948
44949 case "$ac_cv_func_which_gethostbyname_r" in
44950 three)
44951 { echo "$as_me:$LINENO: result: three" >&5
44952 echo "${ECHO_T}three" >&6; }
44953 cat >>confdefs.h <<\_ACEOF
44954 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44955 _ACEOF
44956
44957 ;;
44958
44959 five)
44960 { echo "$as_me:$LINENO: result: five" >&5
44961 echo "${ECHO_T}five" >&6; }
44962 cat >>confdefs.h <<\_ACEOF
44963 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44964 _ACEOF
44965
44966 ;;
44967
44968 six)
44969 { echo "$as_me:$LINENO: result: six" >&5
44970 echo "${ECHO_T}six" >&6; }
44971 cat >>confdefs.h <<\_ACEOF
44972 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44973 _ACEOF
44974
44975 ;;
44976
44977 no)
44978 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44979 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44980 ;;
44981
44982 unknown)
44983 { echo "$as_me:$LINENO: result: can't tell" >&5
44984 echo "${ECHO_T}can't tell" >&6; }
44985 ;;
44986
44987 *)
44988 { { echo "$as_me:$LINENO: error: internal error" >&5
44989 echo "$as_me: error: internal error" >&2;}
44990 { (exit 1); exit 1; }; }
44991 ;;
44992 esac
44993
44994 ac_ext=c
44995 ac_cpp='$CPP $CPPFLAGS'
44996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44999
45000
45001
45002 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
45003 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
45004 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
45005 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
45006 if test "${ac_cv_func_gethostbyname+set}" = set; then
45007 echo $ECHO_N "(cached) $ECHO_C" >&6
45008 else
45009 cat >conftest.$ac_ext <<_ACEOF
45010 /* confdefs.h. */
45011 _ACEOF
45012 cat confdefs.h >>conftest.$ac_ext
45013 cat >>conftest.$ac_ext <<_ACEOF
45014 /* end confdefs.h. */
45015 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45017 #define gethostbyname innocuous_gethostbyname
45018
45019 /* System header to define __stub macros and hopefully few prototypes,
45020 which can conflict with char gethostbyname (); below.
45021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45022 <limits.h> exists even on freestanding compilers. */
45023
45024 #ifdef __STDC__
45025 # include <limits.h>
45026 #else
45027 # include <assert.h>
45028 #endif
45029
45030 #undef gethostbyname
45031
45032 /* Override any GCC internal prototype to avoid an error.
45033 Use char because int might match the return type of a GCC
45034 builtin and then its argument prototype would still apply. */
45035 #ifdef __cplusplus
45036 extern "C"
45037 #endif
45038 char gethostbyname ();
45039 /* The GNU C library defines this for functions which it implements
45040 to always fail with ENOSYS. Some functions are actually named
45041 something starting with __ and the normal name is an alias. */
45042 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45043 choke me
45044 #endif
45045
45046 int
45047 main ()
45048 {
45049 return gethostbyname ();
45050 ;
45051 return 0;
45052 }
45053 _ACEOF
45054 rm -f conftest.$ac_objext conftest$ac_exeext
45055 if { (ac_try="$ac_link"
45056 case "(($ac_try" in
45057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45058 *) ac_try_echo=$ac_try;;
45059 esac
45060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45061 (eval "$ac_link") 2>conftest.er1
45062 ac_status=$?
45063 grep -v '^ *+' conftest.er1 >conftest.err
45064 rm -f conftest.er1
45065 cat conftest.err >&5
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); } && {
45068 test -z "$ac_c_werror_flag" ||
45069 test ! -s conftest.err
45070 } && test -s conftest$ac_exeext &&
45071 $as_test_x conftest$ac_exeext; then
45072 ac_cv_func_gethostbyname=yes
45073 else
45074 echo "$as_me: failed program was:" >&5
45075 sed 's/^/| /' conftest.$ac_ext >&5
45076
45077 ac_cv_func_gethostbyname=no
45078 fi
45079
45080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45081 conftest$ac_exeext conftest.$ac_ext
45082 fi
45083 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45084 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45085 if test $ac_cv_func_gethostbyname = yes; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define HAVE_GETHOSTBYNAME 1
45088 _ACEOF
45089
45090 fi
45091
45092 fi
45093
45094 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45095 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45096 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45097 echo $ECHO_N "(cached) $ECHO_C" >&6
45098 else
45099
45100 ac_ext=cpp
45101 ac_cpp='$CXXCPP $CPPFLAGS'
45102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45105
45106
45107 cat >conftest.$ac_ext <<_ACEOF
45108 /* confdefs.h. */
45109 _ACEOF
45110 cat confdefs.h >>conftest.$ac_ext
45111 cat >>conftest.$ac_ext <<_ACEOF
45112 /* end confdefs.h. */
45113 #include <netdb.h>
45114 int
45115 main ()
45116 {
45117
45118 char *name;
45119 char *proto;
45120 struct servent *se, *res;
45121 char buffer[2048];
45122 int buflen = 2048;
45123 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45124
45125 ;
45126 return 0;
45127 }
45128 _ACEOF
45129 rm -f conftest.$ac_objext
45130 if { (ac_try="$ac_compile"
45131 case "(($ac_try" in
45132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45133 *) ac_try_echo=$ac_try;;
45134 esac
45135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45136 (eval "$ac_compile") 2>conftest.er1
45137 ac_status=$?
45138 grep -v '^ *+' conftest.er1 >conftest.err
45139 rm -f conftest.er1
45140 cat conftest.err >&5
45141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45142 (exit $ac_status); } && {
45143 test -z "$ac_cxx_werror_flag" ||
45144 test ! -s conftest.err
45145 } && test -s conftest.$ac_objext; then
45146 ac_cv_func_which_getservbyname_r=six
45147 else
45148 echo "$as_me: failed program was:" >&5
45149 sed 's/^/| /' conftest.$ac_ext >&5
45150
45151
45152 cat >conftest.$ac_ext <<_ACEOF
45153 /* confdefs.h. */
45154 _ACEOF
45155 cat confdefs.h >>conftest.$ac_ext
45156 cat >>conftest.$ac_ext <<_ACEOF
45157 /* end confdefs.h. */
45158 #include <netdb.h>
45159 int
45160 main ()
45161 {
45162
45163 char *name;
45164 char *proto;
45165 struct servent *se;
45166 char buffer[2048];
45167 int buflen = 2048;
45168 (void) getservbyname_r(name, proto, se, buffer, buflen)
45169
45170 ;
45171 return 0;
45172 }
45173 _ACEOF
45174 rm -f conftest.$ac_objext
45175 if { (ac_try="$ac_compile"
45176 case "(($ac_try" in
45177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45178 *) ac_try_echo=$ac_try;;
45179 esac
45180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45181 (eval "$ac_compile") 2>conftest.er1
45182 ac_status=$?
45183 grep -v '^ *+' conftest.er1 >conftest.err
45184 rm -f conftest.er1
45185 cat conftest.err >&5
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); } && {
45188 test -z "$ac_cxx_werror_flag" ||
45189 test ! -s conftest.err
45190 } && test -s conftest.$ac_objext; then
45191 ac_cv_func_which_getservbyname_r=five
45192 else
45193 echo "$as_me: failed program was:" >&5
45194 sed 's/^/| /' conftest.$ac_ext >&5
45195
45196
45197 cat >conftest.$ac_ext <<_ACEOF
45198 /* confdefs.h. */
45199 _ACEOF
45200 cat confdefs.h >>conftest.$ac_ext
45201 cat >>conftest.$ac_ext <<_ACEOF
45202 /* end confdefs.h. */
45203 #include <netdb.h>
45204 int
45205 main ()
45206 {
45207
45208 char *name;
45209 char *proto;
45210 struct servent *se;
45211 struct servent_data data;
45212 (void) getservbyname_r(name, proto, se, &data);
45213
45214 ;
45215 return 0;
45216 }
45217 _ACEOF
45218 rm -f conftest.$ac_objext
45219 if { (ac_try="$ac_compile"
45220 case "(($ac_try" in
45221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45222 *) ac_try_echo=$ac_try;;
45223 esac
45224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45225 (eval "$ac_compile") 2>conftest.er1
45226 ac_status=$?
45227 grep -v '^ *+' conftest.er1 >conftest.err
45228 rm -f conftest.er1
45229 cat conftest.err >&5
45230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45231 (exit $ac_status); } && {
45232 test -z "$ac_cxx_werror_flag" ||
45233 test ! -s conftest.err
45234 } && test -s conftest.$ac_objext; then
45235 ac_cv_func_which_getservbyname_r=four
45236 else
45237 echo "$as_me: failed program was:" >&5
45238 sed 's/^/| /' conftest.$ac_ext >&5
45239
45240 ac_cv_func_which_getservbyname_r=no
45241
45242 fi
45243
45244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45245
45246
45247 fi
45248
45249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45250
45251
45252 fi
45253
45254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45255 ac_ext=c
45256 ac_cpp='$CPP $CPPFLAGS'
45257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45260
45261
45262
45263 fi
45264 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45265 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45266
45267 if test $ac_cv_func_which_getservbyname_r = six; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45270 _ACEOF
45271
45272 elif test $ac_cv_func_which_getservbyname_r = five; then
45273 cat >>confdefs.h <<\_ACEOF
45274 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45275 _ACEOF
45276
45277 elif test $ac_cv_func_which_getservbyname_r = four; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45280 _ACEOF
45281
45282 fi
45283
45284
45285 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45286 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45287
45288 for ac_func in getservbyname
45289 do
45290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45294 echo $ECHO_N "(cached) $ECHO_C" >&6
45295 else
45296 cat >conftest.$ac_ext <<_ACEOF
45297 /* confdefs.h. */
45298 _ACEOF
45299 cat confdefs.h >>conftest.$ac_ext
45300 cat >>conftest.$ac_ext <<_ACEOF
45301 /* end confdefs.h. */
45302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45304 #define $ac_func innocuous_$ac_func
45305
45306 /* System header to define __stub macros and hopefully few prototypes,
45307 which can conflict with char $ac_func (); below.
45308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45309 <limits.h> exists even on freestanding compilers. */
45310
45311 #ifdef __STDC__
45312 # include <limits.h>
45313 #else
45314 # include <assert.h>
45315 #endif
45316
45317 #undef $ac_func
45318
45319 /* Override any GCC internal prototype to avoid an error.
45320 Use char because int might match the return type of a GCC
45321 builtin and then its argument prototype would still apply. */
45322 #ifdef __cplusplus
45323 extern "C"
45324 #endif
45325 char $ac_func ();
45326 /* The GNU C library defines this for functions which it implements
45327 to always fail with ENOSYS. Some functions are actually named
45328 something starting with __ and the normal name is an alias. */
45329 #if defined __stub_$ac_func || defined __stub___$ac_func
45330 choke me
45331 #endif
45332
45333 int
45334 main ()
45335 {
45336 return $ac_func ();
45337 ;
45338 return 0;
45339 }
45340 _ACEOF
45341 rm -f conftest.$ac_objext conftest$ac_exeext
45342 if { (ac_try="$ac_link"
45343 case "(($ac_try" in
45344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45345 *) ac_try_echo=$ac_try;;
45346 esac
45347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45348 (eval "$ac_link") 2>conftest.er1
45349 ac_status=$?
45350 grep -v '^ *+' conftest.er1 >conftest.err
45351 rm -f conftest.er1
45352 cat conftest.err >&5
45353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45354 (exit $ac_status); } && {
45355 test -z "$ac_c_werror_flag" ||
45356 test ! -s conftest.err
45357 } && test -s conftest$ac_exeext &&
45358 $as_test_x conftest$ac_exeext; then
45359 eval "$as_ac_var=yes"
45360 else
45361 echo "$as_me: failed program was:" >&5
45362 sed 's/^/| /' conftest.$ac_ext >&5
45363
45364 eval "$as_ac_var=no"
45365 fi
45366
45367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45368 conftest$ac_exeext conftest.$ac_ext
45369 fi
45370 ac_res=`eval echo '${'$as_ac_var'}'`
45371 { echo "$as_me:$LINENO: result: $ac_res" >&5
45372 echo "${ECHO_T}$ac_res" >&6; }
45373 if test `eval echo '${'$as_ac_var'}'` = yes; then
45374 cat >>confdefs.h <<_ACEOF
45375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45376 _ACEOF
45377 cat >>confdefs.h <<\_ACEOF
45378 #define HAVE_GETSERVBYNAME 1
45379 _ACEOF
45380
45381 fi
45382 done
45383
45384 fi
45385
45386 if test "$wxUSE_THREADS" = "yes"; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_THREADS 1
45389 _ACEOF
45390
45391
45392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45393 else
45394 if test "$wx_cv_func_strtok_r" = "yes"; then
45395 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45396 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45397 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45398 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45399 { echo "$as_me:$LINENO: result: yes" >&5
45400 echo "${ECHO_T}yes" >&6; }
45401 else
45402 { echo "$as_me:$LINENO: result: no" >&5
45403 echo "${ECHO_T}no" >&6; }
45404 fi
45405 fi
45406 fi
45407
45408 if test "$WXGTK2" = 1 ; then
45409 cat >>confdefs.h <<_ACEOF
45410 #define __WXGTK20__ $WXGTK2
45411 _ACEOF
45412
45413 fi
45414
45415 if test "$WXGTK127" = 1 ; then
45416 cat >>confdefs.h <<_ACEOF
45417 #define __WXGTK127__ $WXGTK127
45418 _ACEOF
45419
45420 fi
45421
45422 if test "$WXGPE" = 1 ; then
45423 cat >>confdefs.h <<_ACEOF
45424 #define __WXGPE__ $WXGPE
45425 _ACEOF
45426
45427 fi
45428
45429 DEBUG_CFLAGS=
45430 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45431 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45432 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45433 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45434 DEBUG_CFLAGS="-g"
45435 fi
45436
45437 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45438 wxUSE_DEBUG_INFO=yes
45439 if test "$GCC" = yes; then
45440 DEBUG_CFLAGS="-ggdb"
45441 fi
45442 fi
45443
45444 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45445 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45446
45447 if test "$wxUSE_GTK" = 1 ; then
45448 if test "x$wxGTK_VERSION" = "x1" ; then
45449 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45450 else
45451 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45452 fi
45453 fi
45454 fi
45455
45456 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_MEMORY_TRACING 1
45459 _ACEOF
45460
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45463 _ACEOF
45464
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_DEBUG_NEW_ALWAYS 1
45467 _ACEOF
45468
45469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45470 fi
45471
45472 if test "$wxUSE_DMALLOC" = "yes" ; then
45473 DMALLOC_LIBS="-ldmallocthcxx"
45474 fi
45475
45476 PROFILE_FLAGS=
45477 if test "$wxUSE_PROFILE" = "yes" ; then
45478 PROFILE_FLAGS=" -pg"
45479 fi
45480
45481 if test "$GCC" = "yes" ; then
45482 if test "$wxUSE_NO_RTTI" = "yes" ; then
45483 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45484 fi
45485 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45486 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45487 fi
45488 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45489 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45490 fi
45491
45492 case "${host}" in
45493 powerpc*-*-aix* )
45494 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45495 ;;
45496 *-hppa* )
45497 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45498 ;;
45499 esac
45500 fi
45501
45502 OPTIMISE_CFLAGS=
45503 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45504 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45505 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45506 else
45507 if test "$wxUSE_OPTIMISE" = "no" ; then
45508 if test "$GCC" = yes ; then
45509 OPTIMISE_CFLAGS="-O0"
45510 fi
45511 else
45512 if test "$GCC" = yes ; then
45513 case "${host}" in
45514 *-pc-os2_emx | *-pc-os2-emx )
45515 OPTIMISE_CFLAGS="-O2"
45516 ;;
45517 *)
45518 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45519 ;;
45520 esac
45521 else
45522 OPTIMISE_CFLAGS="-O"
45523 fi
45524 fi
45525 fi
45526
45527
45528 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define WXWIN_COMPATIBILITY_2_6 1
45531 _ACEOF
45532
45533
45534 WXWIN_COMPATIBILITY_2_8="yes"
45535 fi
45536
45537 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define WXWIN_COMPATIBILITY_2_8 1
45540 _ACEOF
45541
45542 fi
45543
45544
45545 if test "$wxUSE_GUI" = "yes"; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_GUI 1
45548 _ACEOF
45549
45550
45551 fi
45552
45553
45554 if test "$wxUSE_UNIX" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_UNIX 1
45557 _ACEOF
45558
45559 fi
45560
45561
45562 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45563
45564 HAVE_DL_FUNCS=0
45565 HAVE_SHL_FUNCS=0
45566 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45567 if test "$USE_DOS" = 1; then
45568 HAVE_DL_FUNCS=0
45569 else
45570
45571 for ac_func in dlopen
45572 do
45573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45577 echo $ECHO_N "(cached) $ECHO_C" >&6
45578 else
45579 cat >conftest.$ac_ext <<_ACEOF
45580 /* confdefs.h. */
45581 _ACEOF
45582 cat confdefs.h >>conftest.$ac_ext
45583 cat >>conftest.$ac_ext <<_ACEOF
45584 /* end confdefs.h. */
45585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45587 #define $ac_func innocuous_$ac_func
45588
45589 /* System header to define __stub macros and hopefully few prototypes,
45590 which can conflict with char $ac_func (); below.
45591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45592 <limits.h> exists even on freestanding compilers. */
45593
45594 #ifdef __STDC__
45595 # include <limits.h>
45596 #else
45597 # include <assert.h>
45598 #endif
45599
45600 #undef $ac_func
45601
45602 /* Override any GCC internal prototype to avoid an error.
45603 Use char because int might match the return type of a GCC
45604 builtin and then its argument prototype would still apply. */
45605 #ifdef __cplusplus
45606 extern "C"
45607 #endif
45608 char $ac_func ();
45609 /* The GNU C library defines this for functions which it implements
45610 to always fail with ENOSYS. Some functions are actually named
45611 something starting with __ and the normal name is an alias. */
45612 #if defined __stub_$ac_func || defined __stub___$ac_func
45613 choke me
45614 #endif
45615
45616 int
45617 main ()
45618 {
45619 return $ac_func ();
45620 ;
45621 return 0;
45622 }
45623 _ACEOF
45624 rm -f conftest.$ac_objext conftest$ac_exeext
45625 if { (ac_try="$ac_link"
45626 case "(($ac_try" in
45627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45628 *) ac_try_echo=$ac_try;;
45629 esac
45630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45631 (eval "$ac_link") 2>conftest.er1
45632 ac_status=$?
45633 grep -v '^ *+' conftest.er1 >conftest.err
45634 rm -f conftest.er1
45635 cat conftest.err >&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); } && {
45638 test -z "$ac_c_werror_flag" ||
45639 test ! -s conftest.err
45640 } && test -s conftest$ac_exeext &&
45641 $as_test_x conftest$ac_exeext; then
45642 eval "$as_ac_var=yes"
45643 else
45644 echo "$as_me: failed program was:" >&5
45645 sed 's/^/| /' conftest.$ac_ext >&5
45646
45647 eval "$as_ac_var=no"
45648 fi
45649
45650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45651 conftest$ac_exeext conftest.$ac_ext
45652 fi
45653 ac_res=`eval echo '${'$as_ac_var'}'`
45654 { echo "$as_me:$LINENO: result: $ac_res" >&5
45655 echo "${ECHO_T}$ac_res" >&6; }
45656 if test `eval echo '${'$as_ac_var'}'` = yes; then
45657 cat >>confdefs.h <<_ACEOF
45658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45659 _ACEOF
45660
45661 cat >>confdefs.h <<\_ACEOF
45662 #define HAVE_DLOPEN 1
45663 _ACEOF
45664
45665 HAVE_DL_FUNCS=1
45666
45667 else
45668
45669 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45670 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45671 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45672 echo $ECHO_N "(cached) $ECHO_C" >&6
45673 else
45674 ac_check_lib_save_LIBS=$LIBS
45675 LIBS="-ldl $LIBS"
45676 cat >conftest.$ac_ext <<_ACEOF
45677 /* confdefs.h. */
45678 _ACEOF
45679 cat confdefs.h >>conftest.$ac_ext
45680 cat >>conftest.$ac_ext <<_ACEOF
45681 /* end confdefs.h. */
45682
45683 /* Override any GCC internal prototype to avoid an error.
45684 Use char because int might match the return type of a GCC
45685 builtin and then its argument prototype would still apply. */
45686 #ifdef __cplusplus
45687 extern "C"
45688 #endif
45689 char dlopen ();
45690 int
45691 main ()
45692 {
45693 return dlopen ();
45694 ;
45695 return 0;
45696 }
45697 _ACEOF
45698 rm -f conftest.$ac_objext conftest$ac_exeext
45699 if { (ac_try="$ac_link"
45700 case "(($ac_try" in
45701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45702 *) ac_try_echo=$ac_try;;
45703 esac
45704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45705 (eval "$ac_link") 2>conftest.er1
45706 ac_status=$?
45707 grep -v '^ *+' conftest.er1 >conftest.err
45708 rm -f conftest.er1
45709 cat conftest.err >&5
45710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45711 (exit $ac_status); } && {
45712 test -z "$ac_c_werror_flag" ||
45713 test ! -s conftest.err
45714 } && test -s conftest$ac_exeext &&
45715 $as_test_x conftest$ac_exeext; then
45716 ac_cv_lib_dl_dlopen=yes
45717 else
45718 echo "$as_me: failed program was:" >&5
45719 sed 's/^/| /' conftest.$ac_ext >&5
45720
45721 ac_cv_lib_dl_dlopen=no
45722 fi
45723
45724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45725 conftest$ac_exeext conftest.$ac_ext
45726 LIBS=$ac_check_lib_save_LIBS
45727 fi
45728 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45729 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45730 if test $ac_cv_lib_dl_dlopen = yes; then
45731
45732 cat >>confdefs.h <<\_ACEOF
45733 #define HAVE_DLOPEN 1
45734 _ACEOF
45735
45736 HAVE_DL_FUNCS=1
45737 DL_LINK=" -ldl$DL_LINK"
45738
45739 else
45740
45741
45742 for ac_func in shl_load
45743 do
45744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45745 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45747 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45748 echo $ECHO_N "(cached) $ECHO_C" >&6
45749 else
45750 cat >conftest.$ac_ext <<_ACEOF
45751 /* confdefs.h. */
45752 _ACEOF
45753 cat confdefs.h >>conftest.$ac_ext
45754 cat >>conftest.$ac_ext <<_ACEOF
45755 /* end confdefs.h. */
45756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45758 #define $ac_func innocuous_$ac_func
45759
45760 /* System header to define __stub macros and hopefully few prototypes,
45761 which can conflict with char $ac_func (); below.
45762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45763 <limits.h> exists even on freestanding compilers. */
45764
45765 #ifdef __STDC__
45766 # include <limits.h>
45767 #else
45768 # include <assert.h>
45769 #endif
45770
45771 #undef $ac_func
45772
45773 /* Override any GCC internal prototype to avoid an error.
45774 Use char because int might match the return type of a GCC
45775 builtin and then its argument prototype would still apply. */
45776 #ifdef __cplusplus
45777 extern "C"
45778 #endif
45779 char $ac_func ();
45780 /* The GNU C library defines this for functions which it implements
45781 to always fail with ENOSYS. Some functions are actually named
45782 something starting with __ and the normal name is an alias. */
45783 #if defined __stub_$ac_func || defined __stub___$ac_func
45784 choke me
45785 #endif
45786
45787 int
45788 main ()
45789 {
45790 return $ac_func ();
45791 ;
45792 return 0;
45793 }
45794 _ACEOF
45795 rm -f conftest.$ac_objext conftest$ac_exeext
45796 if { (ac_try="$ac_link"
45797 case "(($ac_try" in
45798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45799 *) ac_try_echo=$ac_try;;
45800 esac
45801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45802 (eval "$ac_link") 2>conftest.er1
45803 ac_status=$?
45804 grep -v '^ *+' conftest.er1 >conftest.err
45805 rm -f conftest.er1
45806 cat conftest.err >&5
45807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45808 (exit $ac_status); } && {
45809 test -z "$ac_c_werror_flag" ||
45810 test ! -s conftest.err
45811 } && test -s conftest$ac_exeext &&
45812 $as_test_x conftest$ac_exeext; then
45813 eval "$as_ac_var=yes"
45814 else
45815 echo "$as_me: failed program was:" >&5
45816 sed 's/^/| /' conftest.$ac_ext >&5
45817
45818 eval "$as_ac_var=no"
45819 fi
45820
45821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45822 conftest$ac_exeext conftest.$ac_ext
45823 fi
45824 ac_res=`eval echo '${'$as_ac_var'}'`
45825 { echo "$as_me:$LINENO: result: $ac_res" >&5
45826 echo "${ECHO_T}$ac_res" >&6; }
45827 if test `eval echo '${'$as_ac_var'}'` = yes; then
45828 cat >>confdefs.h <<_ACEOF
45829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45830 _ACEOF
45831
45832 cat >>confdefs.h <<\_ACEOF
45833 #define HAVE_SHL_LOAD 1
45834 _ACEOF
45835
45836 HAVE_SHL_FUNCS=1
45837
45838 else
45839
45840 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45841 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45842 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45843 echo $ECHO_N "(cached) $ECHO_C" >&6
45844 else
45845 ac_check_lib_save_LIBS=$LIBS
45846 LIBS="-lshl_load $LIBS"
45847 cat >conftest.$ac_ext <<_ACEOF
45848 /* confdefs.h. */
45849 _ACEOF
45850 cat confdefs.h >>conftest.$ac_ext
45851 cat >>conftest.$ac_ext <<_ACEOF
45852 /* end confdefs.h. */
45853
45854 /* Override any GCC internal prototype to avoid an error.
45855 Use char because int might match the return type of a GCC
45856 builtin and then its argument prototype would still apply. */
45857 #ifdef __cplusplus
45858 extern "C"
45859 #endif
45860 char dld ();
45861 int
45862 main ()
45863 {
45864 return dld ();
45865 ;
45866 return 0;
45867 }
45868 _ACEOF
45869 rm -f conftest.$ac_objext conftest$ac_exeext
45870 if { (ac_try="$ac_link"
45871 case "(($ac_try" in
45872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45873 *) ac_try_echo=$ac_try;;
45874 esac
45875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45876 (eval "$ac_link") 2>conftest.er1
45877 ac_status=$?
45878 grep -v '^ *+' conftest.er1 >conftest.err
45879 rm -f conftest.er1
45880 cat conftest.err >&5
45881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45882 (exit $ac_status); } && {
45883 test -z "$ac_c_werror_flag" ||
45884 test ! -s conftest.err
45885 } && test -s conftest$ac_exeext &&
45886 $as_test_x conftest$ac_exeext; then
45887 ac_cv_lib_shl_load_dld=yes
45888 else
45889 echo "$as_me: failed program was:" >&5
45890 sed 's/^/| /' conftest.$ac_ext >&5
45891
45892 ac_cv_lib_shl_load_dld=no
45893 fi
45894
45895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45896 conftest$ac_exeext conftest.$ac_ext
45897 LIBS=$ac_check_lib_save_LIBS
45898 fi
45899 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45900 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45901 if test $ac_cv_lib_shl_load_dld = yes; then
45902
45903 HAVE_SHL_FUNCS=1
45904 DL_LINK=" -ldld$DL_LINK"
45905
45906 fi
45907
45908
45909 fi
45910 done
45911
45912
45913 fi
45914
45915
45916 fi
45917 done
45918
45919
45920 if test "$HAVE_DL_FUNCS" = 1; then
45921
45922 for ac_func in dlerror
45923 do
45924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45925 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45927 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45928 echo $ECHO_N "(cached) $ECHO_C" >&6
45929 else
45930 cat >conftest.$ac_ext <<_ACEOF
45931 /* confdefs.h. */
45932 _ACEOF
45933 cat confdefs.h >>conftest.$ac_ext
45934 cat >>conftest.$ac_ext <<_ACEOF
45935 /* end confdefs.h. */
45936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45938 #define $ac_func innocuous_$ac_func
45939
45940 /* System header to define __stub macros and hopefully few prototypes,
45941 which can conflict with char $ac_func (); below.
45942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45943 <limits.h> exists even on freestanding compilers. */
45944
45945 #ifdef __STDC__
45946 # include <limits.h>
45947 #else
45948 # include <assert.h>
45949 #endif
45950
45951 #undef $ac_func
45952
45953 /* Override any GCC internal prototype to avoid an error.
45954 Use char because int might match the return type of a GCC
45955 builtin and then its argument prototype would still apply. */
45956 #ifdef __cplusplus
45957 extern "C"
45958 #endif
45959 char $ac_func ();
45960 /* The GNU C library defines this for functions which it implements
45961 to always fail with ENOSYS. Some functions are actually named
45962 something starting with __ and the normal name is an alias. */
45963 #if defined __stub_$ac_func || defined __stub___$ac_func
45964 choke me
45965 #endif
45966
45967 int
45968 main ()
45969 {
45970 return $ac_func ();
45971 ;
45972 return 0;
45973 }
45974 _ACEOF
45975 rm -f conftest.$ac_objext conftest$ac_exeext
45976 if { (ac_try="$ac_link"
45977 case "(($ac_try" in
45978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45979 *) ac_try_echo=$ac_try;;
45980 esac
45981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45982 (eval "$ac_link") 2>conftest.er1
45983 ac_status=$?
45984 grep -v '^ *+' conftest.er1 >conftest.err
45985 rm -f conftest.er1
45986 cat conftest.err >&5
45987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988 (exit $ac_status); } && {
45989 test -z "$ac_c_werror_flag" ||
45990 test ! -s conftest.err
45991 } && test -s conftest$ac_exeext &&
45992 $as_test_x conftest$ac_exeext; then
45993 eval "$as_ac_var=yes"
45994 else
45995 echo "$as_me: failed program was:" >&5
45996 sed 's/^/| /' conftest.$ac_ext >&5
45997
45998 eval "$as_ac_var=no"
45999 fi
46000
46001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46002 conftest$ac_exeext conftest.$ac_ext
46003 fi
46004 ac_res=`eval echo '${'$as_ac_var'}'`
46005 { echo "$as_me:$LINENO: result: $ac_res" >&5
46006 echo "${ECHO_T}$ac_res" >&6; }
46007 if test `eval echo '${'$as_ac_var'}'` = yes; then
46008 cat >>confdefs.h <<_ACEOF
46009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46010 _ACEOF
46011 cat >>confdefs.h <<\_ACEOF
46012 #define HAVE_DLERROR 1
46013 _ACEOF
46014
46015 else
46016
46017 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46018 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46019 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46020 echo $ECHO_N "(cached) $ECHO_C" >&6
46021 else
46022 ac_check_lib_save_LIBS=$LIBS
46023 LIBS="-ldl $LIBS"
46024 cat >conftest.$ac_ext <<_ACEOF
46025 /* confdefs.h. */
46026 _ACEOF
46027 cat confdefs.h >>conftest.$ac_ext
46028 cat >>conftest.$ac_ext <<_ACEOF
46029 /* end confdefs.h. */
46030
46031 /* Override any GCC internal prototype to avoid an error.
46032 Use char because int might match the return type of a GCC
46033 builtin and then its argument prototype would still apply. */
46034 #ifdef __cplusplus
46035 extern "C"
46036 #endif
46037 char dlerror ();
46038 int
46039 main ()
46040 {
46041 return dlerror ();
46042 ;
46043 return 0;
46044 }
46045 _ACEOF
46046 rm -f conftest.$ac_objext conftest$ac_exeext
46047 if { (ac_try="$ac_link"
46048 case "(($ac_try" in
46049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46050 *) ac_try_echo=$ac_try;;
46051 esac
46052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46053 (eval "$ac_link") 2>conftest.er1
46054 ac_status=$?
46055 grep -v '^ *+' conftest.er1 >conftest.err
46056 rm -f conftest.er1
46057 cat conftest.err >&5
46058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46059 (exit $ac_status); } && {
46060 test -z "$ac_c_werror_flag" ||
46061 test ! -s conftest.err
46062 } && test -s conftest$ac_exeext &&
46063 $as_test_x conftest$ac_exeext; then
46064 ac_cv_lib_dl_dlerror=yes
46065 else
46066 echo "$as_me: failed program was:" >&5
46067 sed 's/^/| /' conftest.$ac_ext >&5
46068
46069 ac_cv_lib_dl_dlerror=no
46070 fi
46071
46072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46073 conftest$ac_exeext conftest.$ac_ext
46074 LIBS=$ac_check_lib_save_LIBS
46075 fi
46076 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46077 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46078 if test $ac_cv_lib_dl_dlerror = yes; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define HAVE_DLERROR 1
46081 _ACEOF
46082
46083 fi
46084
46085
46086
46087 fi
46088 done
46089
46090 fi
46091 fi
46092
46093 if test "$USE_DARWIN" = 1; then
46094 HAVE_DL_FUNCS=1
46095 fi
46096
46097 if test "$HAVE_DL_FUNCS" = 0; then
46098 if test "$HAVE_SHL_FUNCS" = 0; then
46099 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46100 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46101 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46102 wxUSE_DYNAMIC_LOADER=no
46103 wxUSE_DYNLIB_CLASS=no
46104 else
46105 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46106 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46107 fi
46108 fi
46109 fi
46110 fi
46111 fi
46112
46113 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_DYNAMIC_LOADER 1
46116 _ACEOF
46117
46118 fi
46119 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46120 cat >>confdefs.h <<\_ACEOF
46121 #define wxUSE_DYNLIB_CLASS 1
46122 _ACEOF
46123
46124 fi
46125
46126
46127
46128 if test "$wxUSE_PLUGINS" = "yes" ; then
46129 if test "$wxUSE_SHARED" = "no" ; then
46130 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46131 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46132 wxUSE_PLUGINS=no
46133 fi
46134 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46135 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46136 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46137 wxUSE_PLUGINS=no
46138 fi
46139 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46140 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46141 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46142 wxUSE_PLUGINS=no
46143 fi
46144 if test "$wxUSE_PLUGINS" = "yes" ; then
46145 cat >>confdefs.h <<\_ACEOF
46146 #define wxUSE_PLUGINS 1
46147 _ACEOF
46148
46149 fi
46150 fi
46151
46152
46153 if test "$wxUSE_FSWATCHER" = "yes"; then
46154 if test "$wxUSE_MSW" != "1"; then
46155 if test "$wxUSE_UNIX" = "yes"; then
46156
46157 for ac_header in sys/inotify.h
46158 do
46159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46163 echo $ECHO_N "(cached) $ECHO_C" >&6
46164 else
46165 cat >conftest.$ac_ext <<_ACEOF
46166 /* confdefs.h. */
46167 _ACEOF
46168 cat confdefs.h >>conftest.$ac_ext
46169 cat >>conftest.$ac_ext <<_ACEOF
46170 /* end confdefs.h. */
46171 $ac_includes_default
46172
46173 #include <$ac_header>
46174 _ACEOF
46175 rm -f conftest.$ac_objext
46176 if { (ac_try="$ac_compile"
46177 case "(($ac_try" in
46178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46179 *) ac_try_echo=$ac_try;;
46180 esac
46181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46182 (eval "$ac_compile") 2>conftest.er1
46183 ac_status=$?
46184 grep -v '^ *+' conftest.er1 >conftest.err
46185 rm -f conftest.er1
46186 cat conftest.err >&5
46187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46188 (exit $ac_status); } && {
46189 test -z "$ac_c_werror_flag" ||
46190 test ! -s conftest.err
46191 } && test -s conftest.$ac_objext; then
46192 eval "$as_ac_Header=yes"
46193 else
46194 echo "$as_me: failed program was:" >&5
46195 sed 's/^/| /' conftest.$ac_ext >&5
46196
46197 eval "$as_ac_Header=no"
46198 fi
46199
46200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46201 fi
46202 ac_res=`eval echo '${'$as_ac_Header'}'`
46203 { echo "$as_me:$LINENO: result: $ac_res" >&5
46204 echo "${ECHO_T}$ac_res" >&6; }
46205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46206 cat >>confdefs.h <<_ACEOF
46207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46208 _ACEOF
46209
46210 fi
46211
46212 done
46213
46214 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxHAS_INOTIFY 1
46217 _ACEOF
46218
46219 else
46220
46221 for ac_header in sys/event.h
46222 do
46223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46227 echo $ECHO_N "(cached) $ECHO_C" >&6
46228 else
46229 cat >conftest.$ac_ext <<_ACEOF
46230 /* confdefs.h. */
46231 _ACEOF
46232 cat confdefs.h >>conftest.$ac_ext
46233 cat >>conftest.$ac_ext <<_ACEOF
46234 /* end confdefs.h. */
46235 $ac_includes_default
46236
46237 #include <$ac_header>
46238 _ACEOF
46239 rm -f conftest.$ac_objext
46240 if { (ac_try="$ac_compile"
46241 case "(($ac_try" in
46242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46243 *) ac_try_echo=$ac_try;;
46244 esac
46245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46246 (eval "$ac_compile") 2>conftest.er1
46247 ac_status=$?
46248 grep -v '^ *+' conftest.er1 >conftest.err
46249 rm -f conftest.er1
46250 cat conftest.err >&5
46251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252 (exit $ac_status); } && {
46253 test -z "$ac_c_werror_flag" ||
46254 test ! -s conftest.err
46255 } && test -s conftest.$ac_objext; then
46256 eval "$as_ac_Header=yes"
46257 else
46258 echo "$as_me: failed program was:" >&5
46259 sed 's/^/| /' conftest.$ac_ext >&5
46260
46261 eval "$as_ac_Header=no"
46262 fi
46263
46264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46265 fi
46266 ac_res=`eval echo '${'$as_ac_Header'}'`
46267 { echo "$as_me:$LINENO: result: $ac_res" >&5
46268 echo "${ECHO_T}$ac_res" >&6; }
46269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46270 cat >>confdefs.h <<_ACEOF
46271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46272 _ACEOF
46273
46274 fi
46275
46276 done
46277
46278 if test "$ac_cv_header_sys_event_h" = "yes"; then
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxHAS_KQUEUE 1
46281 _ACEOF
46282
46283 else
46284 wxUSE_FSWATCHER=no
46285 fi
46286 fi
46287 else
46288 wxUSE_FSWATCHER=no
46289 fi
46290 else
46291 if test "$wxUSE_THREADS" != "yes"; then
46292 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46293 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46294 wxUSE_FSWATCHER=no
46295 fi
46296 fi
46297
46298 if test "$wxUSE_FSWATCHER" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_FSWATCHER 1
46301 _ACEOF
46302
46303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46304 else
46305 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46306 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46307 fi
46308 fi
46309
46310
46311 if test "$wxUSE_STL" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_STL 1
46314 _ACEOF
46315
46316 fi
46317
46318 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_EXTENDED_RTTI 1
46321 _ACEOF
46322
46323 fi
46324
46325 if test "$wxUSE_ANY" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_ANY 1
46328 _ACEOF
46329
46330 fi
46331
46332 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_APPLE_IEEE 1
46335 _ACEOF
46336
46337 fi
46338
46339 if test "$wxUSE_TIMER" = "yes"; then
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_TIMER 1
46342 _ACEOF
46343
46344 fi
46345
46346 if test "$USE_UNIX" = 1 ; then
46347 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46348 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46349 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46350 echo $ECHO_N "(cached) $ECHO_C" >&6
46351 else
46352
46353 cat >conftest.$ac_ext <<_ACEOF
46354 /* confdefs.h. */
46355 _ACEOF
46356 cat confdefs.h >>conftest.$ac_ext
46357 cat >>conftest.$ac_ext <<_ACEOF
46358 /* end confdefs.h. */
46359
46360 #include <sys/ioctl.h>
46361 #include <sys/soundcard.h>
46362
46363 int
46364 main ()
46365 {
46366
46367 ioctl(0, SNDCTL_DSP_SPEED, 0);
46368
46369 ;
46370 return 0;
46371 }
46372 _ACEOF
46373 rm -f conftest.$ac_objext conftest$ac_exeext
46374 if { (ac_try="$ac_link"
46375 case "(($ac_try" in
46376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46377 *) ac_try_echo=$ac_try;;
46378 esac
46379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46380 (eval "$ac_link") 2>conftest.er1
46381 ac_status=$?
46382 grep -v '^ *+' conftest.er1 >conftest.err
46383 rm -f conftest.er1
46384 cat conftest.err >&5
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); } && {
46387 test -z "$ac_c_werror_flag" ||
46388 test ! -s conftest.err
46389 } && test -s conftest$ac_exeext &&
46390 $as_test_x conftest$ac_exeext; then
46391 ac_cv_header_sys_soundcard=yes
46392 else
46393 echo "$as_me: failed program was:" >&5
46394 sed 's/^/| /' conftest.$ac_ext >&5
46395
46396
46397 saveLibs="$LIBS"
46398 LIBS="$saveLibs -lossaudio"
46399 cat >conftest.$ac_ext <<_ACEOF
46400 /* confdefs.h. */
46401 _ACEOF
46402 cat confdefs.h >>conftest.$ac_ext
46403 cat >>conftest.$ac_ext <<_ACEOF
46404 /* end confdefs.h. */
46405
46406 #include <sys/ioctl.h>
46407 #include <sys/soundcard.h>
46408
46409 int
46410 main ()
46411 {
46412
46413 ioctl(0, SNDCTL_DSP_SPEED, 0);
46414
46415 ;
46416 return 0;
46417 }
46418 _ACEOF
46419 rm -f conftest.$ac_objext conftest$ac_exeext
46420 if { (ac_try="$ac_link"
46421 case "(($ac_try" in
46422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46423 *) ac_try_echo=$ac_try;;
46424 esac
46425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46426 (eval "$ac_link") 2>conftest.er1
46427 ac_status=$?
46428 grep -v '^ *+' conftest.er1 >conftest.err
46429 rm -f conftest.er1
46430 cat conftest.err >&5
46431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46432 (exit $ac_status); } && {
46433 test -z "$ac_c_werror_flag" ||
46434 test ! -s conftest.err
46435 } && test -s conftest$ac_exeext &&
46436 $as_test_x conftest$ac_exeext; then
46437 ac_cv_header_sys_soundcard=yes
46438 else
46439 echo "$as_me: failed program was:" >&5
46440 sed 's/^/| /' conftest.$ac_ext >&5
46441
46442
46443 LIBS="$saveLibs"
46444 ac_cv_header_sys_soundcard=no
46445
46446
46447 fi
46448
46449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46450 conftest$ac_exeext conftest.$ac_ext
46451
46452
46453 fi
46454
46455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46456 conftest$ac_exeext conftest.$ac_ext
46457
46458 fi
46459 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46460 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46461
46462 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define HAVE_SYS_SOUNDCARD_H 1
46465 _ACEOF
46466
46467 fi
46468 fi
46469
46470 WITH_PLUGIN_SDL=0
46471 if test "$wxUSE_SOUND" = "yes"; then
46472 if test "$USE_UNIX" = 1 ; then
46473 if test "$wxUSE_LIBSDL" != "no"; then
46474
46475 # Check whether --with-sdl-prefix was given.
46476 if test "${with_sdl_prefix+set}" = set; then
46477 withval=$with_sdl_prefix; sdl_prefix="$withval"
46478 else
46479 sdl_prefix=""
46480 fi
46481
46482
46483 # Check whether --with-sdl-exec-prefix was given.
46484 if test "${with_sdl_exec_prefix+set}" = set; then
46485 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46486 else
46487 sdl_exec_prefix=""
46488 fi
46489
46490 # Check whether --enable-sdltest was given.
46491 if test "${enable_sdltest+set}" = set; then
46492 enableval=$enable_sdltest;
46493 else
46494 enable_sdltest=yes
46495 fi
46496
46497
46498 if test x$sdl_exec_prefix != x ; then
46499 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46500 if test x${SDL_CONFIG+set} != xset ; then
46501 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46502 fi
46503 fi
46504 if test x$sdl_prefix != x ; then
46505 sdl_args="$sdl_args --prefix=$sdl_prefix"
46506 if test x${SDL_CONFIG+set} != xset ; then
46507 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46508 fi
46509 fi
46510
46511 if test "x$prefix" != xNONE; then
46512 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46513 fi
46514 # Extract the first word of "sdl-config", so it can be a program name with args.
46515 set dummy sdl-config; ac_word=$2
46516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46518 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46519 echo $ECHO_N "(cached) $ECHO_C" >&6
46520 else
46521 case $SDL_CONFIG in
46522 [\\/]* | ?:[\\/]*)
46523 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46524 ;;
46525 *)
46526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46527 for as_dir in $PATH
46528 do
46529 IFS=$as_save_IFS
46530 test -z "$as_dir" && as_dir=.
46531 for ac_exec_ext in '' $ac_executable_extensions; do
46532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46533 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46535 break 2
46536 fi
46537 done
46538 done
46539 IFS=$as_save_IFS
46540
46541 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46542 ;;
46543 esac
46544 fi
46545 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46546 if test -n "$SDL_CONFIG"; then
46547 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46548 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46549 else
46550 { echo "$as_me:$LINENO: result: no" >&5
46551 echo "${ECHO_T}no" >&6; }
46552 fi
46553
46554
46555 min_sdl_version=1.2.0
46556 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46557 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46558 no_sdl=""
46559 if test "$SDL_CONFIG" = "no" ; then
46560 no_sdl=yes
46561 else
46562 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46563 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46564
46565 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46567 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46568 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46569 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46571 if test "x$enable_sdltest" = "xyes" ; then
46572 ac_save_CFLAGS="$CFLAGS"
46573 ac_save_CXXFLAGS="$CXXFLAGS"
46574 ac_save_LIBS="$LIBS"
46575 CFLAGS="$CFLAGS $SDL_CFLAGS"
46576 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46577 LIBS="$LIBS $SDL_LIBS"
46578 rm -f conf.sdltest
46579 if test "$cross_compiling" = yes; then
46580 echo $ac_n "cross compiling; assumed OK... $ac_c"
46581 else
46582 cat >conftest.$ac_ext <<_ACEOF
46583 /* confdefs.h. */
46584 _ACEOF
46585 cat confdefs.h >>conftest.$ac_ext
46586 cat >>conftest.$ac_ext <<_ACEOF
46587 /* end confdefs.h. */
46588
46589 #include <stdio.h>
46590 #include <stdlib.h>
46591 #include <string.h>
46592 #include "SDL.h"
46593
46594 char*
46595 my_strdup (char *str)
46596 {
46597 char *new_str;
46598
46599 if (str)
46600 {
46601 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46602 strcpy (new_str, str);
46603 }
46604 else
46605 new_str = NULL;
46606
46607 return new_str;
46608 }
46609
46610 int main (int argc, char *argv[])
46611 {
46612 int major, minor, micro;
46613 char *tmp_version;
46614
46615 /* This hangs on some systems (?)
46616 system ("touch conf.sdltest");
46617 */
46618 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46619
46620 /* HP/UX 9 (%@#!) writes to sscanf strings */
46621 tmp_version = my_strdup("$min_sdl_version");
46622 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
46623 printf("%s, bad version string\n", "$min_sdl_version");
46624 exit(1);
46625 }
46626
46627 if (($sdl_major_version > major) ||
46628 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46629 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46630 {
46631 return 0;
46632 }
46633 else
46634 {
46635 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46636 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46637 printf("*** best to upgrade to the required version.\n");
46638 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46639 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46640 printf("*** config.cache before re-running configure\n");
46641 return 1;
46642 }
46643 }
46644
46645
46646 _ACEOF
46647 rm -f conftest$ac_exeext
46648 if { (ac_try="$ac_link"
46649 case "(($ac_try" in
46650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46651 *) ac_try_echo=$ac_try;;
46652 esac
46653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46654 (eval "$ac_link") 2>&5
46655 ac_status=$?
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46658 { (case "(($ac_try" in
46659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46660 *) ac_try_echo=$ac_try;;
46661 esac
46662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46663 (eval "$ac_try") 2>&5
46664 ac_status=$?
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); }; }; then
46667 :
46668 else
46669 echo "$as_me: program exited with status $ac_status" >&5
46670 echo "$as_me: failed program was:" >&5
46671 sed 's/^/| /' conftest.$ac_ext >&5
46672
46673 ( exit $ac_status )
46674 no_sdl=yes
46675 fi
46676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46677 fi
46678
46679
46680 CFLAGS="$ac_save_CFLAGS"
46681 CXXFLAGS="$ac_save_CXXFLAGS"
46682 LIBS="$ac_save_LIBS"
46683 fi
46684 fi
46685 if test "x$no_sdl" = x ; then
46686 { echo "$as_me:$LINENO: result: yes" >&5
46687 echo "${ECHO_T}yes" >&6; }
46688
46689 EXTRALIBS_SDL="$SDL_LIBS"
46690 CFLAGS="$SDL_CFLAGS $CFLAGS"
46691 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_LIBSDL 1
46694 _ACEOF
46695
46696
46697 else
46698 { echo "$as_me:$LINENO: result: no" >&5
46699 echo "${ECHO_T}no" >&6; }
46700 if test "$SDL_CONFIG" = "no" ; then
46701 echo "*** The sdl-config script installed by SDL could not be found"
46702 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46703 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46704 echo "*** full path to sdl-config."
46705 else
46706 if test -f conf.sdltest ; then
46707 :
46708 else
46709 echo "*** Could not run SDL test program, checking why..."
46710 CFLAGS="$CFLAGS $SDL_CFLAGS"
46711 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46712 LIBS="$LIBS $SDL_LIBS"
46713 cat >conftest.$ac_ext <<_ACEOF
46714 /* confdefs.h. */
46715 _ACEOF
46716 cat confdefs.h >>conftest.$ac_ext
46717 cat >>conftest.$ac_ext <<_ACEOF
46718 /* end confdefs.h. */
46719
46720 #include <stdio.h>
46721 #include "SDL.h"
46722
46723 int main(int argc, char *argv[])
46724 { return 0; }
46725 #undef main
46726 #define main K_and_R_C_main
46727
46728 int
46729 main ()
46730 {
46731 return 0;
46732 ;
46733 return 0;
46734 }
46735 _ACEOF
46736 rm -f conftest.$ac_objext conftest$ac_exeext
46737 if { (ac_try="$ac_link"
46738 case "(($ac_try" in
46739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46740 *) ac_try_echo=$ac_try;;
46741 esac
46742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46743 (eval "$ac_link") 2>conftest.er1
46744 ac_status=$?
46745 grep -v '^ *+' conftest.er1 >conftest.err
46746 rm -f conftest.er1
46747 cat conftest.err >&5
46748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46749 (exit $ac_status); } && {
46750 test -z "$ac_c_werror_flag" ||
46751 test ! -s conftest.err
46752 } && test -s conftest$ac_exeext &&
46753 $as_test_x conftest$ac_exeext; then
46754 echo "*** The test program compiled, but did not run. This usually means"
46755 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46756 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46757 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46758 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46759 echo "*** is required on your system"
46760 echo "***"
46761 echo "*** If you have an old version installed, it is best to remove it, although"
46762 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46763 else
46764 echo "$as_me: failed program was:" >&5
46765 sed 's/^/| /' conftest.$ac_ext >&5
46766
46767 echo "*** The test program failed to compile or link. See the file config.log for the"
46768 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
46769 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46770 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46771 fi
46772
46773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46774 conftest$ac_exeext conftest.$ac_ext
46775 CFLAGS="$ac_save_CFLAGS"
46776 CXXFLAGS="$ac_save_CXXFLAGS"
46777 LIBS="$ac_save_LIBS"
46778 fi
46779 fi
46780 SDL_CFLAGS=""
46781 SDL_LIBS=""
46782 wxUSE_LIBSDL="no"
46783 fi
46784
46785
46786 rm -f conf.sdltest
46787
46788 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46789 WITH_PLUGIN_SDL=1
46790 fi
46791 fi
46792 fi
46793 fi
46794
46795 if test "$wxUSE_SOUND" = "yes"; then
46796 cat >>confdefs.h <<\_ACEOF
46797 #define wxUSE_SOUND 1
46798 _ACEOF
46799
46800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46801 fi
46802
46803 if test "$WXGTK2" = 1; then
46804
46805
46806 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46807 if test -n "$ac_tool_prefix"; then
46808 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46809 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46812 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46813 echo $ECHO_N "(cached) $ECHO_C" >&6
46814 else
46815 case $PKG_CONFIG in
46816 [\\/]* | ?:[\\/]*)
46817 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46818 ;;
46819 *)
46820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46821 for as_dir in $PATH
46822 do
46823 IFS=$as_save_IFS
46824 test -z "$as_dir" && as_dir=.
46825 for ac_exec_ext in '' $ac_executable_extensions; do
46826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46827 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46829 break 2
46830 fi
46831 done
46832 done
46833 IFS=$as_save_IFS
46834
46835 ;;
46836 esac
46837 fi
46838 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46839 if test -n "$PKG_CONFIG"; then
46840 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46841 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46842 else
46843 { echo "$as_me:$LINENO: result: no" >&5
46844 echo "${ECHO_T}no" >&6; }
46845 fi
46846
46847
46848 fi
46849 if test -z "$ac_cv_path_PKG_CONFIG"; then
46850 ac_pt_PKG_CONFIG=$PKG_CONFIG
46851 # Extract the first word of "pkg-config", so it can be a program name with args.
46852 set dummy pkg-config; ac_word=$2
46853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46855 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46856 echo $ECHO_N "(cached) $ECHO_C" >&6
46857 else
46858 case $ac_pt_PKG_CONFIG in
46859 [\\/]* | ?:[\\/]*)
46860 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46861 ;;
46862 *)
46863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46864 for as_dir in $PATH
46865 do
46866 IFS=$as_save_IFS
46867 test -z "$as_dir" && as_dir=.
46868 for ac_exec_ext in '' $ac_executable_extensions; do
46869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46870 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46872 break 2
46873 fi
46874 done
46875 done
46876 IFS=$as_save_IFS
46877
46878 ;;
46879 esac
46880 fi
46881 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46882 if test -n "$ac_pt_PKG_CONFIG"; then
46883 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46884 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46885 else
46886 { echo "$as_me:$LINENO: result: no" >&5
46887 echo "${ECHO_T}no" >&6; }
46888 fi
46889
46890 if test "x$ac_pt_PKG_CONFIG" = x; then
46891 PKG_CONFIG=""
46892 else
46893 case $cross_compiling:$ac_tool_warned in
46894 yes:)
46895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46896 whose name does not start with the host triplet. If you think this
46897 configuration is useful to you, please write to autoconf@gnu.org." >&5
46898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46899 whose name does not start with the host triplet. If you think this
46900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46901 ac_tool_warned=yes ;;
46902 esac
46903 PKG_CONFIG=$ac_pt_PKG_CONFIG
46904 fi
46905 else
46906 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46907 fi
46908
46909 fi
46910 if test -n "$PKG_CONFIG"; then
46911 _pkg_min_version=0.9.0
46912 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46913 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46914 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46915 { echo "$as_me:$LINENO: result: yes" >&5
46916 echo "${ECHO_T}yes" >&6; }
46917 else
46918 { echo "$as_me:$LINENO: result: no" >&5
46919 echo "${ECHO_T}no" >&6; }
46920 PKG_CONFIG=""
46921 fi
46922
46923 fi
46924
46925 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46926
46927 if test "$wxUSE_GTKPRINT" = "yes" ; then
46928
46929
46930 pkg_failed=no
46931 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46932 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46933
46934 if test -n "$PKG_CONFIG"; then
46935 if test -n "$GTKPRINT_CFLAGS"; then
46936 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
46937 else
46938 if test -n "$PKG_CONFIG" && \
46939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46940 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46941 ac_status=$?
46942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46943 (exit $ac_status); }; then
46944 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46945 else
46946 pkg_failed=yes
46947 fi
46948 fi
46949 else
46950 pkg_failed=untried
46951 fi
46952 if test -n "$PKG_CONFIG"; then
46953 if test -n "$GTKPRINT_LIBS"; then
46954 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
46955 else
46956 if test -n "$PKG_CONFIG" && \
46957 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46958 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46959 ac_status=$?
46960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961 (exit $ac_status); }; then
46962 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46963 else
46964 pkg_failed=yes
46965 fi
46966 fi
46967 else
46968 pkg_failed=untried
46969 fi
46970
46971
46972
46973 if test $pkg_failed = yes; then
46974
46975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46976 _pkg_short_errors_supported=yes
46977 else
46978 _pkg_short_errors_supported=no
46979 fi
46980 if test $_pkg_short_errors_supported = yes; then
46981 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46982 else
46983 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46984 fi
46985 # Put the nasty error message in config.log where it belongs
46986 echo "$GTKPRINT_PKG_ERRORS" >&5
46987
46988
46989 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46990 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46991 wxUSE_GTKPRINT="no"
46992
46993
46994 elif test $pkg_failed = untried; then
46995
46996 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46997 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46998 wxUSE_GTKPRINT="no"
46999
47000
47001 else
47002 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
47003 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
47004 { echo "$as_me:$LINENO: result: yes" >&5
47005 echo "${ECHO_T}yes" >&6; }
47006
47007 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
47008 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
47009 cat >>confdefs.h <<\_ACEOF
47010 #define wxUSE_GTKPRINT 1
47011 _ACEOF
47012
47013
47014 fi
47015 fi
47016
47017 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47018
47019
47020 pkg_failed=no
47021 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47022 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47023
47024 if test -n "$PKG_CONFIG"; then
47025 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47026 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
47027 else
47028 if test -n "$PKG_CONFIG" && \
47029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47030 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47031 ac_status=$?
47032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47033 (exit $ac_status); }; then
47034 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47035 else
47036 pkg_failed=yes
47037 fi
47038 fi
47039 else
47040 pkg_failed=untried
47041 fi
47042 if test -n "$PKG_CONFIG"; then
47043 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47044 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
47045 else
47046 if test -n "$PKG_CONFIG" && \
47047 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47048 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47049 ac_status=$?
47050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47051 (exit $ac_status); }; then
47052 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47053 else
47054 pkg_failed=yes
47055 fi
47056 fi
47057 else
47058 pkg_failed=untried
47059 fi
47060
47061
47062
47063 if test $pkg_failed = yes; then
47064
47065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47066 _pkg_short_errors_supported=yes
47067 else
47068 _pkg_short_errors_supported=no
47069 fi
47070 if test $_pkg_short_errors_supported = yes; then
47071 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47072 else
47073 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47074 fi
47075 # Put the nasty error message in config.log where it belongs
47076 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47077
47078
47079 if test "$wxUSE_GTKPRINT" = yes; then
47080 { echo "$as_me:$LINENO: result: no" >&5
47081 echo "${ECHO_T}no" >&6; }
47082 else
47083 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47084 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47085 fi
47086 wxUSE_LIBGNOMEPRINT="no"
47087
47088
47089 elif test $pkg_failed = untried; then
47090
47091 if test "$wxUSE_GTKPRINT" = yes; then
47092 { echo "$as_me:$LINENO: result: no" >&5
47093 echo "${ECHO_T}no" >&6; }
47094 else
47095 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47096 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47097 fi
47098 wxUSE_LIBGNOMEPRINT="no"
47099
47100
47101 else
47102 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47103 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47104 { echo "$as_me:$LINENO: result: yes" >&5
47105 echo "${ECHO_T}yes" >&6; }
47106
47107 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47108 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_LIBGNOMEPRINT 1
47111 _ACEOF
47112
47113
47114 fi
47115 fi
47116 fi
47117
47118 if test "$wxUSE_MIMETYPE" = "yes" ; then
47119 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47120
47121
47122 pkg_failed=no
47123 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47124 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47125
47126 if test -n "$PKG_CONFIG"; then
47127 if test -n "$GNOMEVFS_CFLAGS"; then
47128 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47129 else
47130 if test -n "$PKG_CONFIG" && \
47131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47132 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47133 ac_status=$?
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); }; then
47136 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47137 else
47138 pkg_failed=yes
47139 fi
47140 fi
47141 else
47142 pkg_failed=untried
47143 fi
47144 if test -n "$PKG_CONFIG"; then
47145 if test -n "$GNOMEVFS_LIBS"; then
47146 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47147 else
47148 if test -n "$PKG_CONFIG" && \
47149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47150 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47151 ac_status=$?
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; then
47154 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47155 else
47156 pkg_failed=yes
47157 fi
47158 fi
47159 else
47160 pkg_failed=untried
47161 fi
47162
47163
47164
47165 if test $pkg_failed = yes; then
47166
47167 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47168 _pkg_short_errors_supported=yes
47169 else
47170 _pkg_short_errors_supported=no
47171 fi
47172 if test $_pkg_short_errors_supported = yes; then
47173 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47174 else
47175 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47176 fi
47177 # Put the nasty error message in config.log where it belongs
47178 echo "$GNOMEVFS_PKG_ERRORS" >&5
47179
47180
47181 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47182 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47183 wxUSE_LIBGNOMEVFS="no"
47184
47185
47186 elif test $pkg_failed = untried; then
47187
47188 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47189 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47190 wxUSE_LIBGNOMEVFS="no"
47191
47192
47193 else
47194 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47195 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47196 { echo "$as_me:$LINENO: result: yes" >&5
47197 echo "${ECHO_T}yes" >&6; }
47198
47199 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47200 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47201 cat >>confdefs.h <<\_ACEOF
47202 #define wxUSE_LIBGNOMEVFS 1
47203 _ACEOF
47204
47205
47206 fi
47207 fi
47208 fi
47209
47210 if test "$wxUSE_LIBHILDON" = "yes" ; then
47211
47212 pkg_failed=no
47213 { echo "$as_me:$LINENO: checking for HILDON" >&5
47214 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47215
47216 if test -n "$PKG_CONFIG"; then
47217 if test -n "$HILDON_CFLAGS"; then
47218 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47219 else
47220 if test -n "$PKG_CONFIG" && \
47221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47222 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47223 ac_status=$?
47224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47225 (exit $ac_status); }; then
47226 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47227 else
47228 pkg_failed=yes
47229 fi
47230 fi
47231 else
47232 pkg_failed=untried
47233 fi
47234 if test -n "$PKG_CONFIG"; then
47235 if test -n "$HILDON_LIBS"; then
47236 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47237 else
47238 if test -n "$PKG_CONFIG" && \
47239 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47240 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47241 ac_status=$?
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); }; then
47244 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47245 else
47246 pkg_failed=yes
47247 fi
47248 fi
47249 else
47250 pkg_failed=untried
47251 fi
47252
47253
47254
47255 if test $pkg_failed = yes; then
47256
47257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47258 _pkg_short_errors_supported=yes
47259 else
47260 _pkg_short_errors_supported=no
47261 fi
47262 if test $_pkg_short_errors_supported = yes; then
47263 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47264 else
47265 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47266 fi
47267 # Put the nasty error message in config.log where it belongs
47268 echo "$HILDON_PKG_ERRORS" >&5
47269
47270
47271 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47272 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47273 wxUSE_LIBHILDON="no"
47274 ac_hildon_lgpl=0
47275
47276
47277 elif test $pkg_failed = untried; then
47278
47279 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47280 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47281 wxUSE_LIBHILDON="no"
47282 ac_hildon_lgpl=0
47283
47284
47285 else
47286 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47287 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47288 { echo "$as_me:$LINENO: result: yes" >&5
47289 echo "${ECHO_T}yes" >&6; }
47290
47291 EXTRALIBS_HILDON="$HILDON_LIBS"
47292 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47293 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47294 cat >>confdefs.h <<\_ACEOF
47295 #define wxUSE_LIBHILDON 1
47296 _ACEOF
47297
47298 ac_hildon_lgpl=1
47299
47300 fi
47301
47302 if test "$ac_hildon_lgpl" = 0 ; then
47303
47304 pkg_failed=no
47305 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47306 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47307
47308 if test -n "$PKG_CONFIG"; then
47309 if test -n "$HILDON2_CFLAGS"; then
47310 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47311 else
47312 if test -n "$PKG_CONFIG" && \
47313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47314 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47315 ac_status=$?
47316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47317 (exit $ac_status); }; then
47318 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47319 else
47320 pkg_failed=yes
47321 fi
47322 fi
47323 else
47324 pkg_failed=untried
47325 fi
47326 if test -n "$PKG_CONFIG"; then
47327 if test -n "$HILDON2_LIBS"; then
47328 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47329 else
47330 if test -n "$PKG_CONFIG" && \
47331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47332 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47333 ac_status=$?
47334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47335 (exit $ac_status); }; then
47336 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47337 else
47338 pkg_failed=yes
47339 fi
47340 fi
47341 else
47342 pkg_failed=untried
47343 fi
47344
47345
47346
47347 if test $pkg_failed = yes; then
47348
47349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47350 _pkg_short_errors_supported=yes
47351 else
47352 _pkg_short_errors_supported=no
47353 fi
47354 if test $_pkg_short_errors_supported = yes; then
47355 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47356 else
47357 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47358 fi
47359 # Put the nasty error message in config.log where it belongs
47360 echo "$HILDON2_PKG_ERRORS" >&5
47361
47362
47363 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47364 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47365 wxUSE_LIBHILDON2="no"
47366
47367
47368 elif test $pkg_failed = untried; then
47369
47370 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47371 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47372 wxUSE_LIBHILDON2="no"
47373
47374
47375 else
47376 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47377 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47378 { echo "$as_me:$LINENO: result: yes" >&5
47379 echo "${ECHO_T}yes" >&6; }
47380
47381 EXTRALIBS_HILDON="$HILDON2_LIBS"
47382 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47383 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_LIBHILDON2 1
47386 _ACEOF
47387
47388
47389 fi
47390 fi
47391 fi
47392 fi
47393
47394 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_CMDLINE_PARSER 1
47397 _ACEOF
47398
47399 fi
47400
47401 if test "$wxUSE_STOPWATCH" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_STOPWATCH 1
47404 _ACEOF
47405
47406 fi
47407
47408 if test "$wxUSE_DATETIME" = "yes"; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_DATETIME 1
47411 _ACEOF
47412
47413 fi
47414
47415 if test "$wxUSE_FILE" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_FILE 1
47418 _ACEOF
47419
47420 fi
47421
47422 if test "$wxUSE_FFILE" = "yes"; then
47423 cat >>confdefs.h <<\_ACEOF
47424 #define wxUSE_FFILE 1
47425 _ACEOF
47426
47427 fi
47428
47429 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47430 if test "$wxUSE_STREAMS" != yes; then
47431 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47432 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47433 wxUSE_ARCHIVE_STREAMS=no
47434 else
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_ARCHIVE_STREAMS 1
47437 _ACEOF
47438
47439 fi
47440 fi
47441
47442 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47443 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47444 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47445 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47446 elif test "$wxUSE_ZLIB" = "no"; then
47447 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47448 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47449 else
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_ZIPSTREAM 1
47452 _ACEOF
47453
47454 fi
47455 fi
47456
47457 if test "$wxUSE_TARSTREAM" = "yes"; then
47458 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47459 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47460 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47461 else
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_TARSTREAM 1
47464 _ACEOF
47465
47466 fi
47467 fi
47468
47469 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47470 cat >>confdefs.h <<\_ACEOF
47471 #define wxUSE_FILE_HISTORY 1
47472 _ACEOF
47473
47474 fi
47475
47476 if test "$wxUSE_FILESYSTEM" = "yes"; then
47477 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47478 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47479 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47480 wxUSE_FILESYSTEM=no
47481 else
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_FILESYSTEM 1
47484 _ACEOF
47485
47486 fi
47487 fi
47488
47489 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47490 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47491 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47492 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47493 else
47494 cat >>confdefs.h <<\_ACEOF
47495 #define wxUSE_FS_ARCHIVE 1
47496 _ACEOF
47497
47498 fi
47499 fi
47500
47501 if test "$wxUSE_FS_ZIP" = "yes"; then
47502 if test "$wxUSE_FS_ARCHIVE" != yes; then
47503 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47504 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47505 else
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_FS_ZIP 1
47508 _ACEOF
47509
47510 fi
47511 fi
47512
47513 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47514 if test "$USE_UNIX" != 1; then
47515 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47516 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47517 wxUSE_ON_FATAL_EXCEPTION=no
47518 else
47519 cat >>confdefs.h <<\_ACEOF
47520 #define wxUSE_ON_FATAL_EXCEPTION 1
47521 _ACEOF
47522
47523 fi
47524 fi
47525
47526 if test "$wxUSE_STACKWALKER" = "yes"; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_STACKWALKER 1
47529 _ACEOF
47530
47531 fi
47532
47533 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47534 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47535 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47536 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47537 wxUSE_DEBUGREPORT=no
47538 else
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_DEBUGREPORT 1
47541 _ACEOF
47542
47543 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47545 fi
47546 fi
47547 fi
47548
47549 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_SNGLINST_CHECKER 1
47552 _ACEOF
47553
47554 fi
47555
47556 if test "$wxUSE_BUSYINFO" = "yes"; then
47557 cat >>confdefs.h <<\_ACEOF
47558 #define wxUSE_BUSYINFO 1
47559 _ACEOF
47560
47561 fi
47562
47563 if test "$wxUSE_HOTKEY" = "yes"; then
47564 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47565 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47566 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47567 wxUSE_HOTKEY=no
47568 fi
47569 elif test "$wxUSE_HOTKEY" = "auto"; then
47570 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47571 wxUSE_HOTKEY=yes
47572 fi
47573 fi
47574 if test "$wxUSE_HOTKEY" = "yes"; then
47575 cat >>confdefs.h <<\_ACEOF
47576 #define wxUSE_HOTKEY 1
47577 _ACEOF
47578
47579 fi
47580
47581 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_STD_CONTAINERS 1
47584 _ACEOF
47585
47586 fi
47587
47588 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_STD_IOSTREAM 1
47591 _ACEOF
47592
47593 fi
47594
47595 if test "$wxUSE_STD_STRING" = "yes"; then
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_STD_STRING 1
47598 _ACEOF
47599
47600 fi
47601
47602 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47603 cat >>confdefs.h <<\_ACEOF
47604 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47605 _ACEOF
47606
47607 fi
47608
47609 if test "$wxUSE_STDPATHS" = "yes"; then
47610 cat >>confdefs.h <<\_ACEOF
47611 #define wxUSE_STDPATHS 1
47612 _ACEOF
47613
47614 fi
47615
47616 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47617 cat >>confdefs.h <<\_ACEOF
47618 #define wxUSE_TEXTBUFFER 1
47619 _ACEOF
47620
47621 fi
47622
47623 if test "$wxUSE_TEXTFILE" = "yes"; then
47624 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47625 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47626 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47627 else
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_TEXTFILE 1
47630 _ACEOF
47631
47632 fi
47633 fi
47634
47635 if test "$wxUSE_CONFIG" = "yes" ; then
47636 if test "$wxUSE_TEXTFILE" != "yes"; then
47637 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47638 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47639 else
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_CONFIG 1
47642 _ACEOF
47643
47644 cat >>confdefs.h <<\_ACEOF
47645 #define wxUSE_CONFIG_NATIVE 1
47646 _ACEOF
47647
47648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47649 fi
47650 fi
47651
47652 if test "$wxUSE_INTL" = "yes" ; then
47653 if test "$wxUSE_FILE" != "yes"; then
47654 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47655 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47656 else
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_INTL 1
47659 _ACEOF
47660
47661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47662 GUIDIST="$GUIDIST INTL_DIST"
47663 fi
47664 fi
47665
47666 if test "$wxUSE_XLOCALE" = "yes" ; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_XLOCALE 1
47669 _ACEOF
47670
47671 { echo "$as_me:$LINENO: checking for locale_t" >&5
47672 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47673 if test "${ac_cv_type_locale_t+set}" = set; then
47674 echo $ECHO_N "(cached) $ECHO_C" >&6
47675 else
47676 cat >conftest.$ac_ext <<_ACEOF
47677 /* confdefs.h. */
47678 _ACEOF
47679 cat confdefs.h >>conftest.$ac_ext
47680 cat >>conftest.$ac_ext <<_ACEOF
47681 /* end confdefs.h. */
47682 #include <xlocale.h>
47683 #include <locale.h>
47684
47685 typedef locale_t ac__type_new_;
47686 int
47687 main ()
47688 {
47689 if ((ac__type_new_ *) 0)
47690 return 0;
47691 if (sizeof (ac__type_new_))
47692 return 0;
47693 ;
47694 return 0;
47695 }
47696 _ACEOF
47697 rm -f conftest.$ac_objext
47698 if { (ac_try="$ac_compile"
47699 case "(($ac_try" in
47700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47701 *) ac_try_echo=$ac_try;;
47702 esac
47703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47704 (eval "$ac_compile") 2>conftest.er1
47705 ac_status=$?
47706 grep -v '^ *+' conftest.er1 >conftest.err
47707 rm -f conftest.er1
47708 cat conftest.err >&5
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); } && {
47711 test -z "$ac_c_werror_flag" ||
47712 test ! -s conftest.err
47713 } && test -s conftest.$ac_objext; then
47714 ac_cv_type_locale_t=yes
47715 else
47716 echo "$as_me: failed program was:" >&5
47717 sed 's/^/| /' conftest.$ac_ext >&5
47718
47719 ac_cv_type_locale_t=no
47720 fi
47721
47722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47723 fi
47724 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47725 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47726 if test $ac_cv_type_locale_t = yes; then
47727
47728 cat >>confdefs.h <<_ACEOF
47729 #define HAVE_LOCALE_T 1
47730 _ACEOF
47731
47732
47733 fi
47734
47735 fi
47736
47737 if test "$wxUSE_LOG" = "yes"; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_LOG 1
47740 _ACEOF
47741
47742
47743 if test "$wxUSE_LOGGUI" = "yes"; then
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_LOGGUI 1
47746 _ACEOF
47747
47748 fi
47749
47750 if test "$wxUSE_LOGWINDOW" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_LOGWINDOW 1
47753 _ACEOF
47754
47755 fi
47756
47757 if test "$wxUSE_LOGDIALOG" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_LOG_DIALOG 1
47760 _ACEOF
47761
47762 fi
47763
47764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47765 fi
47766
47767 if test "$wxUSE_LONGLONG" = "yes"; then
47768 cat >>confdefs.h <<\_ACEOF
47769 #define wxUSE_LONGLONG 1
47770 _ACEOF
47771
47772 fi
47773
47774 if test "$wxUSE_GEOMETRY" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_GEOMETRY 1
47777 _ACEOF
47778
47779 fi
47780
47781 if test "$wxUSE_BASE64" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_BASE64 1
47784 _ACEOF
47785
47786 fi
47787
47788 if test "$wxUSE_STREAMS" = "yes" ; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_STREAMS 1
47791 _ACEOF
47792
47793 fi
47794
47795 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_PRINTF_POS_PARAMS 1
47798 _ACEOF
47799
47800 fi
47801
47802 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47803 cat >>confdefs.h <<\_ACEOF
47804 #define wxUSE_OBJC_UNIQUIFYING 1
47805 _ACEOF
47806
47807 fi
47808
47809
47810 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_CONSOLE_EVENTLOOP 1
47813 _ACEOF
47814
47815
47816 if test "$wxUSE_UNIX" = "yes"; then
47817 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47818 cat >>confdefs.h <<\_ACEOF
47819 #define wxUSE_SELECT_DISPATCHER 1
47820 _ACEOF
47821
47822 fi
47823
47824 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47825
47826 for ac_header in sys/epoll.h
47827 do
47828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47832 echo $ECHO_N "(cached) $ECHO_C" >&6
47833 else
47834 cat >conftest.$ac_ext <<_ACEOF
47835 /* confdefs.h. */
47836 _ACEOF
47837 cat confdefs.h >>conftest.$ac_ext
47838 cat >>conftest.$ac_ext <<_ACEOF
47839 /* end confdefs.h. */
47840 $ac_includes_default
47841
47842 #include <$ac_header>
47843 _ACEOF
47844 rm -f conftest.$ac_objext
47845 if { (ac_try="$ac_compile"
47846 case "(($ac_try" in
47847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47848 *) ac_try_echo=$ac_try;;
47849 esac
47850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47851 (eval "$ac_compile") 2>conftest.er1
47852 ac_status=$?
47853 grep -v '^ *+' conftest.er1 >conftest.err
47854 rm -f conftest.er1
47855 cat conftest.err >&5
47856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47857 (exit $ac_status); } && {
47858 test -z "$ac_c_werror_flag" ||
47859 test ! -s conftest.err
47860 } && test -s conftest.$ac_objext; then
47861 eval "$as_ac_Header=yes"
47862 else
47863 echo "$as_me: failed program was:" >&5
47864 sed 's/^/| /' conftest.$ac_ext >&5
47865
47866 eval "$as_ac_Header=no"
47867 fi
47868
47869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47870 fi
47871 ac_res=`eval echo '${'$as_ac_Header'}'`
47872 { echo "$as_me:$LINENO: result: $ac_res" >&5
47873 echo "${ECHO_T}$ac_res" >&6; }
47874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47875 cat >>confdefs.h <<_ACEOF
47876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47877 _ACEOF
47878
47879 fi
47880
47881 done
47882
47883 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_EPOLL_DISPATCHER 1
47886 _ACEOF
47887
47888 else
47889 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47890 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47891 fi
47892 fi
47893 fi
47894 fi
47895
47896
47897
47898
47899 for ac_func in gettimeofday ftime
47900 do
47901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47902 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47904 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47905 echo $ECHO_N "(cached) $ECHO_C" >&6
47906 else
47907 cat >conftest.$ac_ext <<_ACEOF
47908 /* confdefs.h. */
47909 _ACEOF
47910 cat confdefs.h >>conftest.$ac_ext
47911 cat >>conftest.$ac_ext <<_ACEOF
47912 /* end confdefs.h. */
47913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47915 #define $ac_func innocuous_$ac_func
47916
47917 /* System header to define __stub macros and hopefully few prototypes,
47918 which can conflict with char $ac_func (); below.
47919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47920 <limits.h> exists even on freestanding compilers. */
47921
47922 #ifdef __STDC__
47923 # include <limits.h>
47924 #else
47925 # include <assert.h>
47926 #endif
47927
47928 #undef $ac_func
47929
47930 /* Override any GCC internal prototype to avoid an error.
47931 Use char because int might match the return type of a GCC
47932 builtin and then its argument prototype would still apply. */
47933 #ifdef __cplusplus
47934 extern "C"
47935 #endif
47936 char $ac_func ();
47937 /* The GNU C library defines this for functions which it implements
47938 to always fail with ENOSYS. Some functions are actually named
47939 something starting with __ and the normal name is an alias. */
47940 #if defined __stub_$ac_func || defined __stub___$ac_func
47941 choke me
47942 #endif
47943
47944 int
47945 main ()
47946 {
47947 return $ac_func ();
47948 ;
47949 return 0;
47950 }
47951 _ACEOF
47952 rm -f conftest.$ac_objext conftest$ac_exeext
47953 if { (ac_try="$ac_link"
47954 case "(($ac_try" in
47955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47956 *) ac_try_echo=$ac_try;;
47957 esac
47958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47959 (eval "$ac_link") 2>conftest.er1
47960 ac_status=$?
47961 grep -v '^ *+' conftest.er1 >conftest.err
47962 rm -f conftest.er1
47963 cat conftest.err >&5
47964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47965 (exit $ac_status); } && {
47966 test -z "$ac_c_werror_flag" ||
47967 test ! -s conftest.err
47968 } && test -s conftest$ac_exeext &&
47969 $as_test_x conftest$ac_exeext; then
47970 eval "$as_ac_var=yes"
47971 else
47972 echo "$as_me: failed program was:" >&5
47973 sed 's/^/| /' conftest.$ac_ext >&5
47974
47975 eval "$as_ac_var=no"
47976 fi
47977
47978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47979 conftest$ac_exeext conftest.$ac_ext
47980 fi
47981 ac_res=`eval echo '${'$as_ac_var'}'`
47982 { echo "$as_me:$LINENO: result: $ac_res" >&5
47983 echo "${ECHO_T}$ac_res" >&6; }
47984 if test `eval echo '${'$as_ac_var'}'` = yes; then
47985 cat >>confdefs.h <<_ACEOF
47986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47987 _ACEOF
47988 break
47989 fi
47990 done
47991
47992
47993 if test "$ac_cv_func_gettimeofday" = "yes"; then
47994 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47995 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47996 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47997 echo $ECHO_N "(cached) $ECHO_C" >&6
47998 else
47999
48000 cat >conftest.$ac_ext <<_ACEOF
48001 /* confdefs.h. */
48002 _ACEOF
48003 cat confdefs.h >>conftest.$ac_ext
48004 cat >>conftest.$ac_ext <<_ACEOF
48005 /* end confdefs.h. */
48006
48007 #include <sys/time.h>
48008 #include <unistd.h>
48009
48010 int
48011 main ()
48012 {
48013
48014 struct timeval tv;
48015 gettimeofday(&tv, NULL);
48016
48017 ;
48018 return 0;
48019 }
48020 _ACEOF
48021 rm -f conftest.$ac_objext
48022 if { (ac_try="$ac_compile"
48023 case "(($ac_try" in
48024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48025 *) ac_try_echo=$ac_try;;
48026 esac
48027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48028 (eval "$ac_compile") 2>conftest.er1
48029 ac_status=$?
48030 grep -v '^ *+' conftest.er1 >conftest.err
48031 rm -f conftest.er1
48032 cat conftest.err >&5
48033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48034 (exit $ac_status); } && {
48035 test -z "$ac_c_werror_flag" ||
48036 test ! -s conftest.err
48037 } && test -s conftest.$ac_objext; then
48038 wx_cv_func_gettimeofday_has_2_args=yes
48039 else
48040 echo "$as_me: failed program was:" >&5
48041 sed 's/^/| /' conftest.$ac_ext >&5
48042
48043 cat >conftest.$ac_ext <<_ACEOF
48044 /* confdefs.h. */
48045 _ACEOF
48046 cat confdefs.h >>conftest.$ac_ext
48047 cat >>conftest.$ac_ext <<_ACEOF
48048 /* end confdefs.h. */
48049
48050 #include <sys/time.h>
48051 #include <unistd.h>
48052
48053 int
48054 main ()
48055 {
48056
48057 struct timeval tv;
48058 gettimeofday(&tv);
48059
48060 ;
48061 return 0;
48062 }
48063 _ACEOF
48064 rm -f conftest.$ac_objext
48065 if { (ac_try="$ac_compile"
48066 case "(($ac_try" in
48067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48068 *) ac_try_echo=$ac_try;;
48069 esac
48070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48071 (eval "$ac_compile") 2>conftest.er1
48072 ac_status=$?
48073 grep -v '^ *+' conftest.er1 >conftest.err
48074 rm -f conftest.er1
48075 cat conftest.err >&5
48076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48077 (exit $ac_status); } && {
48078 test -z "$ac_c_werror_flag" ||
48079 test ! -s conftest.err
48080 } && test -s conftest.$ac_objext; then
48081 wx_cv_func_gettimeofday_has_2_args=no
48082 else
48083 echo "$as_me: failed program was:" >&5
48084 sed 's/^/| /' conftest.$ac_ext >&5
48085
48086
48087 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48088 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48089 wx_cv_func_gettimeofday_has_2_args=unknown
48090
48091
48092 fi
48093
48094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48095
48096 fi
48097
48098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48099
48100 fi
48101 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48102 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48103
48104 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48105 cat >>confdefs.h <<\_ACEOF
48106 #define WX_GETTIMEOFDAY_NO_TZ 1
48107 _ACEOF
48108
48109 fi
48110 fi
48111
48112 if test "$wxUSE_DATETIME" = "yes"; then
48113 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48114 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48115 if test "${wx_cv_var_timezone+set}" = set; then
48116 echo $ECHO_N "(cached) $ECHO_C" >&6
48117 else
48118
48119 ac_ext=cpp
48120 ac_cpp='$CXXCPP $CPPFLAGS'
48121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48124
48125 cat >conftest.$ac_ext <<_ACEOF
48126 /* confdefs.h. */
48127 _ACEOF
48128 cat confdefs.h >>conftest.$ac_ext
48129 cat >>conftest.$ac_ext <<_ACEOF
48130 /* end confdefs.h. */
48131
48132 #include <time.h>
48133
48134 int
48135 main ()
48136 {
48137
48138 int tz;
48139 tz = timezone;
48140
48141 ;
48142 return 0;
48143 }
48144 _ACEOF
48145 rm -f conftest.$ac_objext
48146 if { (ac_try="$ac_compile"
48147 case "(($ac_try" in
48148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48149 *) ac_try_echo=$ac_try;;
48150 esac
48151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48152 (eval "$ac_compile") 2>conftest.er1
48153 ac_status=$?
48154 grep -v '^ *+' conftest.er1 >conftest.err
48155 rm -f conftest.er1
48156 cat conftest.err >&5
48157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48158 (exit $ac_status); } && {
48159 test -z "$ac_cxx_werror_flag" ||
48160 test ! -s conftest.err
48161 } && test -s conftest.$ac_objext; then
48162
48163 wx_cv_var_timezone=timezone
48164
48165 else
48166 echo "$as_me: failed program was:" >&5
48167 sed 's/^/| /' conftest.$ac_ext >&5
48168
48169
48170 cat >conftest.$ac_ext <<_ACEOF
48171 /* confdefs.h. */
48172 _ACEOF
48173 cat confdefs.h >>conftest.$ac_ext
48174 cat >>conftest.$ac_ext <<_ACEOF
48175 /* end confdefs.h. */
48176
48177 #include <time.h>
48178
48179 int
48180 main ()
48181 {
48182
48183 int tz;
48184 tz = _timezone;
48185
48186 ;
48187 return 0;
48188 }
48189 _ACEOF
48190 rm -f conftest.$ac_objext
48191 if { (ac_try="$ac_compile"
48192 case "(($ac_try" in
48193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48194 *) ac_try_echo=$ac_try;;
48195 esac
48196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48197 (eval "$ac_compile") 2>conftest.er1
48198 ac_status=$?
48199 grep -v '^ *+' conftest.er1 >conftest.err
48200 rm -f conftest.er1
48201 cat conftest.err >&5
48202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48203 (exit $ac_status); } && {
48204 test -z "$ac_cxx_werror_flag" ||
48205 test ! -s conftest.err
48206 } && test -s conftest.$ac_objext; then
48207
48208 wx_cv_var_timezone=_timezone
48209
48210 else
48211 echo "$as_me: failed program was:" >&5
48212 sed 's/^/| /' conftest.$ac_ext >&5
48213
48214
48215 cat >conftest.$ac_ext <<_ACEOF
48216 /* confdefs.h. */
48217 _ACEOF
48218 cat confdefs.h >>conftest.$ac_ext
48219 cat >>conftest.$ac_ext <<_ACEOF
48220 /* end confdefs.h. */
48221
48222 #include <time.h>
48223
48224 int
48225 main ()
48226 {
48227
48228 int tz;
48229 tz = __timezone;
48230
48231 ;
48232 return 0;
48233 }
48234 _ACEOF
48235 rm -f conftest.$ac_objext
48236 if { (ac_try="$ac_compile"
48237 case "(($ac_try" in
48238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48239 *) ac_try_echo=$ac_try;;
48240 esac
48241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48242 (eval "$ac_compile") 2>conftest.er1
48243 ac_status=$?
48244 grep -v '^ *+' conftest.er1 >conftest.err
48245 rm -f conftest.er1
48246 cat conftest.err >&5
48247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48248 (exit $ac_status); } && {
48249 test -z "$ac_cxx_werror_flag" ||
48250 test ! -s conftest.err
48251 } && test -s conftest.$ac_objext; then
48252
48253 wx_cv_var_timezone=__timezone
48254
48255 else
48256 echo "$as_me: failed program was:" >&5
48257 sed 's/^/| /' conftest.$ac_ext >&5
48258
48259
48260 if test "$USE_DOS" = 0 ; then
48261 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48262 echo "$as_me: WARNING: no timezone variable" >&2;}
48263 fi
48264
48265
48266 fi
48267
48268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48269
48270
48271 fi
48272
48273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48274
48275
48276 fi
48277
48278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48279 ac_ext=c
48280 ac_cpp='$CPP $CPPFLAGS'
48281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48284
48285
48286
48287 fi
48288 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48289 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48290
48291 if test "x$wx_cv_var_timezone" != x ; then
48292 cat >>confdefs.h <<_ACEOF
48293 #define WX_TIMEZONE $wx_cv_var_timezone
48294 _ACEOF
48295
48296 fi
48297
48298
48299 for ac_func in localtime
48300 do
48301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48302 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48304 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48305 echo $ECHO_N "(cached) $ECHO_C" >&6
48306 else
48307 cat >conftest.$ac_ext <<_ACEOF
48308 /* confdefs.h. */
48309 _ACEOF
48310 cat confdefs.h >>conftest.$ac_ext
48311 cat >>conftest.$ac_ext <<_ACEOF
48312 /* end confdefs.h. */
48313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48315 #define $ac_func innocuous_$ac_func
48316
48317 /* System header to define __stub macros and hopefully few prototypes,
48318 which can conflict with char $ac_func (); below.
48319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48320 <limits.h> exists even on freestanding compilers. */
48321
48322 #ifdef __STDC__
48323 # include <limits.h>
48324 #else
48325 # include <assert.h>
48326 #endif
48327
48328 #undef $ac_func
48329
48330 /* Override any GCC internal prototype to avoid an error.
48331 Use char because int might match the return type of a GCC
48332 builtin and then its argument prototype would still apply. */
48333 #ifdef __cplusplus
48334 extern "C"
48335 #endif
48336 char $ac_func ();
48337 /* The GNU C library defines this for functions which it implements
48338 to always fail with ENOSYS. Some functions are actually named
48339 something starting with __ and the normal name is an alias. */
48340 #if defined __stub_$ac_func || defined __stub___$ac_func
48341 choke me
48342 #endif
48343
48344 int
48345 main ()
48346 {
48347 return $ac_func ();
48348 ;
48349 return 0;
48350 }
48351 _ACEOF
48352 rm -f conftest.$ac_objext conftest$ac_exeext
48353 if { (ac_try="$ac_link"
48354 case "(($ac_try" in
48355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48356 *) ac_try_echo=$ac_try;;
48357 esac
48358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48359 (eval "$ac_link") 2>conftest.er1
48360 ac_status=$?
48361 grep -v '^ *+' conftest.er1 >conftest.err
48362 rm -f conftest.er1
48363 cat conftest.err >&5
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); } && {
48366 test -z "$ac_c_werror_flag" ||
48367 test ! -s conftest.err
48368 } && test -s conftest$ac_exeext &&
48369 $as_test_x conftest$ac_exeext; then
48370 eval "$as_ac_var=yes"
48371 else
48372 echo "$as_me: failed program was:" >&5
48373 sed 's/^/| /' conftest.$ac_ext >&5
48374
48375 eval "$as_ac_var=no"
48376 fi
48377
48378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48379 conftest$ac_exeext conftest.$ac_ext
48380 fi
48381 ac_res=`eval echo '${'$as_ac_var'}'`
48382 { echo "$as_me:$LINENO: result: $ac_res" >&5
48383 echo "${ECHO_T}$ac_res" >&6; }
48384 if test `eval echo '${'$as_ac_var'}'` = yes; then
48385 cat >>confdefs.h <<_ACEOF
48386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48387 _ACEOF
48388
48389 fi
48390 done
48391
48392
48393 if test "$ac_cv_func_localtime" = "yes"; then
48394 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48395 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48396 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48397 echo $ECHO_N "(cached) $ECHO_C" >&6
48398 else
48399
48400 cat >conftest.$ac_ext <<_ACEOF
48401 /* confdefs.h. */
48402 _ACEOF
48403 cat confdefs.h >>conftest.$ac_ext
48404 cat >>conftest.$ac_ext <<_ACEOF
48405 /* end confdefs.h. */
48406
48407 #include <time.h>
48408
48409 int
48410 main ()
48411 {
48412
48413 struct tm tm;
48414 tm.tm_gmtoff++;
48415
48416 ;
48417 return 0;
48418 }
48419 _ACEOF
48420 rm -f conftest.$ac_objext
48421 if { (ac_try="$ac_compile"
48422 case "(($ac_try" in
48423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48424 *) ac_try_echo=$ac_try;;
48425 esac
48426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48427 (eval "$ac_compile") 2>conftest.er1
48428 ac_status=$?
48429 grep -v '^ *+' conftest.er1 >conftest.err
48430 rm -f conftest.er1
48431 cat conftest.err >&5
48432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48433 (exit $ac_status); } && {
48434 test -z "$ac_c_werror_flag" ||
48435 test ! -s conftest.err
48436 } && test -s conftest.$ac_objext; then
48437
48438 wx_cv_struct_tm_has_gmtoff=yes
48439
48440 else
48441 echo "$as_me: failed program was:" >&5
48442 sed 's/^/| /' conftest.$ac_ext >&5
48443
48444 wx_cv_struct_tm_has_gmtoff=no
48445
48446 fi
48447
48448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48449
48450 fi
48451 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48452 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48453 fi
48454
48455 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define WX_GMTOFF_IN_TM 1
48458 _ACEOF
48459
48460 fi
48461
48462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48463 fi
48464
48465
48466 if test "$wxUSE_SOCKETS" = "yes"; then
48467 if test "$TOOLKIT" != "MSW"; then
48468 { echo "$as_me:$LINENO: checking for socket" >&5
48469 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48470 if test "${ac_cv_func_socket+set}" = set; then
48471 echo $ECHO_N "(cached) $ECHO_C" >&6
48472 else
48473 cat >conftest.$ac_ext <<_ACEOF
48474 /* confdefs.h. */
48475 _ACEOF
48476 cat confdefs.h >>conftest.$ac_ext
48477 cat >>conftest.$ac_ext <<_ACEOF
48478 /* end confdefs.h. */
48479 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48481 #define socket innocuous_socket
48482
48483 /* System header to define __stub macros and hopefully few prototypes,
48484 which can conflict with char socket (); below.
48485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48486 <limits.h> exists even on freestanding compilers. */
48487
48488 #ifdef __STDC__
48489 # include <limits.h>
48490 #else
48491 # include <assert.h>
48492 #endif
48493
48494 #undef socket
48495
48496 /* Override any GCC internal prototype to avoid an error.
48497 Use char because int might match the return type of a GCC
48498 builtin and then its argument prototype would still apply. */
48499 #ifdef __cplusplus
48500 extern "C"
48501 #endif
48502 char socket ();
48503 /* The GNU C library defines this for functions which it implements
48504 to always fail with ENOSYS. Some functions are actually named
48505 something starting with __ and the normal name is an alias. */
48506 #if defined __stub_socket || defined __stub___socket
48507 choke me
48508 #endif
48509
48510 int
48511 main ()
48512 {
48513 return socket ();
48514 ;
48515 return 0;
48516 }
48517 _ACEOF
48518 rm -f conftest.$ac_objext conftest$ac_exeext
48519 if { (ac_try="$ac_link"
48520 case "(($ac_try" in
48521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48522 *) ac_try_echo=$ac_try;;
48523 esac
48524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48525 (eval "$ac_link") 2>conftest.er1
48526 ac_status=$?
48527 grep -v '^ *+' conftest.er1 >conftest.err
48528 rm -f conftest.er1
48529 cat conftest.err >&5
48530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48531 (exit $ac_status); } && {
48532 test -z "$ac_c_werror_flag" ||
48533 test ! -s conftest.err
48534 } && test -s conftest$ac_exeext &&
48535 $as_test_x conftest$ac_exeext; then
48536 ac_cv_func_socket=yes
48537 else
48538 echo "$as_me: failed program was:" >&5
48539 sed 's/^/| /' conftest.$ac_ext >&5
48540
48541 ac_cv_func_socket=no
48542 fi
48543
48544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48545 conftest$ac_exeext conftest.$ac_ext
48546 fi
48547 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48548 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48549 if test $ac_cv_func_socket = yes; then
48550 :
48551 else
48552
48553 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48554 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48555 if test "${ac_cv_lib_socket_socket+set}" = set; then
48556 echo $ECHO_N "(cached) $ECHO_C" >&6
48557 else
48558 ac_check_lib_save_LIBS=$LIBS
48559 LIBS="-lsocket $LIBS"
48560 cat >conftest.$ac_ext <<_ACEOF
48561 /* confdefs.h. */
48562 _ACEOF
48563 cat confdefs.h >>conftest.$ac_ext
48564 cat >>conftest.$ac_ext <<_ACEOF
48565 /* end confdefs.h. */
48566
48567 /* Override any GCC internal prototype to avoid an error.
48568 Use char because int might match the return type of a GCC
48569 builtin and then its argument prototype would still apply. */
48570 #ifdef __cplusplus
48571 extern "C"
48572 #endif
48573 char socket ();
48574 int
48575 main ()
48576 {
48577 return socket ();
48578 ;
48579 return 0;
48580 }
48581 _ACEOF
48582 rm -f conftest.$ac_objext conftest$ac_exeext
48583 if { (ac_try="$ac_link"
48584 case "(($ac_try" in
48585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48586 *) ac_try_echo=$ac_try;;
48587 esac
48588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48589 (eval "$ac_link") 2>conftest.er1
48590 ac_status=$?
48591 grep -v '^ *+' conftest.er1 >conftest.err
48592 rm -f conftest.er1
48593 cat conftest.err >&5
48594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48595 (exit $ac_status); } && {
48596 test -z "$ac_c_werror_flag" ||
48597 test ! -s conftest.err
48598 } && test -s conftest$ac_exeext &&
48599 $as_test_x conftest$ac_exeext; then
48600 ac_cv_lib_socket_socket=yes
48601 else
48602 echo "$as_me: failed program was:" >&5
48603 sed 's/^/| /' conftest.$ac_ext >&5
48604
48605 ac_cv_lib_socket_socket=no
48606 fi
48607
48608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48609 conftest$ac_exeext conftest.$ac_ext
48610 LIBS=$ac_check_lib_save_LIBS
48611 fi
48612 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48613 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48614 if test $ac_cv_lib_socket_socket = yes; then
48615 if test "$INET_LINK" != " -lsocket"; then
48616 INET_LINK="$INET_LINK -lsocket"
48617 fi
48618 else
48619
48620 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48621 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48622 wxUSE_SOCKETS=no
48623
48624
48625 fi
48626
48627
48628
48629 fi
48630
48631 fi
48632 fi
48633
48634 if test "$wxUSE_SOCKETS" = "yes" ; then
48635 if test "$TOOLKIT" != "MSW"; then
48636 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48637 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48638 if test "${wx_cv_type_getsockname3+set}" = set; then
48639 echo $ECHO_N "(cached) $ECHO_C" >&6
48640 else
48641
48642 ac_ext=cpp
48643 ac_cpp='$CXXCPP $CPPFLAGS'
48644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647
48648 cat >conftest.$ac_ext <<_ACEOF
48649 /* confdefs.h. */
48650 _ACEOF
48651 cat confdefs.h >>conftest.$ac_ext
48652 cat >>conftest.$ac_ext <<_ACEOF
48653 /* end confdefs.h. */
48654
48655 #include <sys/types.h>
48656 #include <sys/socket.h>
48657
48658 int
48659 main ()
48660 {
48661
48662 socklen_t len;
48663 getsockname(0, 0, &len);
48664
48665 ;
48666 return 0;
48667 }
48668 _ACEOF
48669 rm -f conftest.$ac_objext
48670 if { (ac_try="$ac_compile"
48671 case "(($ac_try" in
48672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48673 *) ac_try_echo=$ac_try;;
48674 esac
48675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48676 (eval "$ac_compile") 2>conftest.er1
48677 ac_status=$?
48678 grep -v '^ *+' conftest.er1 >conftest.err
48679 rm -f conftest.er1
48680 cat conftest.err >&5
48681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48682 (exit $ac_status); } && {
48683 test -z "$ac_cxx_werror_flag" ||
48684 test ! -s conftest.err
48685 } && test -s conftest.$ac_objext; then
48686 wx_cv_type_getsockname3=socklen_t
48687 else
48688 echo "$as_me: failed program was:" >&5
48689 sed 's/^/| /' conftest.$ac_ext >&5
48690
48691
48692 CFLAGS_OLD="$CFLAGS"
48693 if test "$GCC" = yes ; then
48694 CFLAGS="-Werror $CFLAGS"
48695 fi
48696
48697 cat >conftest.$ac_ext <<_ACEOF
48698 /* confdefs.h. */
48699 _ACEOF
48700 cat confdefs.h >>conftest.$ac_ext
48701 cat >>conftest.$ac_ext <<_ACEOF
48702 /* end confdefs.h. */
48703
48704 #include <sys/types.h>
48705 #include <sys/socket.h>
48706
48707 int
48708 main ()
48709 {
48710
48711 size_t len;
48712 getsockname(0, 0, &len);
48713
48714 ;
48715 return 0;
48716 }
48717 _ACEOF
48718 rm -f conftest.$ac_objext
48719 if { (ac_try="$ac_compile"
48720 case "(($ac_try" in
48721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48722 *) ac_try_echo=$ac_try;;
48723 esac
48724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48725 (eval "$ac_compile") 2>conftest.er1
48726 ac_status=$?
48727 grep -v '^ *+' conftest.er1 >conftest.err
48728 rm -f conftest.er1
48729 cat conftest.err >&5
48730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48731 (exit $ac_status); } && {
48732 test -z "$ac_cxx_werror_flag" ||
48733 test ! -s conftest.err
48734 } && test -s conftest.$ac_objext; then
48735 wx_cv_type_getsockname3=size_t
48736 else
48737 echo "$as_me: failed program was:" >&5
48738 sed 's/^/| /' conftest.$ac_ext >&5
48739
48740 cat >conftest.$ac_ext <<_ACEOF
48741 /* confdefs.h. */
48742 _ACEOF
48743 cat confdefs.h >>conftest.$ac_ext
48744 cat >>conftest.$ac_ext <<_ACEOF
48745 /* end confdefs.h. */
48746
48747 #include <sys/types.h>
48748 #include <sys/socket.h>
48749
48750 int
48751 main ()
48752 {
48753
48754 int len;
48755 getsockname(0, 0, &len);
48756
48757 ;
48758 return 0;
48759 }
48760 _ACEOF
48761 rm -f conftest.$ac_objext
48762 if { (ac_try="$ac_compile"
48763 case "(($ac_try" in
48764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48765 *) ac_try_echo=$ac_try;;
48766 esac
48767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48768 (eval "$ac_compile") 2>conftest.er1
48769 ac_status=$?
48770 grep -v '^ *+' conftest.er1 >conftest.err
48771 rm -f conftest.er1
48772 cat conftest.err >&5
48773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48774 (exit $ac_status); } && {
48775 test -z "$ac_cxx_werror_flag" ||
48776 test ! -s conftest.err
48777 } && test -s conftest.$ac_objext; then
48778 wx_cv_type_getsockname3=int
48779 else
48780 echo "$as_me: failed program was:" >&5
48781 sed 's/^/| /' conftest.$ac_ext >&5
48782
48783 wx_cv_type_getsockname3=unknown
48784
48785 fi
48786
48787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48788
48789 fi
48790
48791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792
48793 CFLAGS="$CFLAGS_OLD"
48794
48795
48796 fi
48797
48798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48799 ac_ext=c
48800 ac_cpp='$CPP $CPPFLAGS'
48801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48804
48805
48806 fi
48807 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48808 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48809
48810 if test "$wx_cv_type_getsockname3" = "unknown"; then
48811 wxUSE_SOCKETS=no
48812 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48813 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48814 else
48815 cat >>confdefs.h <<_ACEOF
48816 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48817 _ACEOF
48818
48819 fi
48820 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48821 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48822 if test "${wx_cv_type_getsockopt5+set}" = set; then
48823 echo $ECHO_N "(cached) $ECHO_C" >&6
48824 else
48825
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48831
48832 cat >conftest.$ac_ext <<_ACEOF
48833 /* confdefs.h. */
48834 _ACEOF
48835 cat confdefs.h >>conftest.$ac_ext
48836 cat >>conftest.$ac_ext <<_ACEOF
48837 /* end confdefs.h. */
48838
48839 #include <sys/types.h>
48840 #include <sys/socket.h>
48841
48842 int
48843 main ()
48844 {
48845
48846 socklen_t len;
48847 getsockopt(0, 0, 0, 0, &len);
48848
48849 ;
48850 return 0;
48851 }
48852 _ACEOF
48853 rm -f conftest.$ac_objext
48854 if { (ac_try="$ac_compile"
48855 case "(($ac_try" in
48856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48857 *) ac_try_echo=$ac_try;;
48858 esac
48859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48860 (eval "$ac_compile") 2>conftest.er1
48861 ac_status=$?
48862 grep -v '^ *+' conftest.er1 >conftest.err
48863 rm -f conftest.er1
48864 cat conftest.err >&5
48865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48866 (exit $ac_status); } && {
48867 test -z "$ac_cxx_werror_flag" ||
48868 test ! -s conftest.err
48869 } && test -s conftest.$ac_objext; then
48870 wx_cv_type_getsockopt5=socklen_t
48871 else
48872 echo "$as_me: failed program was:" >&5
48873 sed 's/^/| /' conftest.$ac_ext >&5
48874
48875
48876 cat >conftest.$ac_ext <<_ACEOF
48877 /* confdefs.h. */
48878 _ACEOF
48879 cat confdefs.h >>conftest.$ac_ext
48880 cat >>conftest.$ac_ext <<_ACEOF
48881 /* end confdefs.h. */
48882
48883 #include <sys/types.h>
48884 #include <sys/socket.h>
48885
48886 int
48887 main ()
48888 {
48889
48890 size_t len;
48891 getsockopt(0, 0, 0, 0, &len);
48892
48893 ;
48894 return 0;
48895 }
48896 _ACEOF
48897 rm -f conftest.$ac_objext
48898 if { (ac_try="$ac_compile"
48899 case "(($ac_try" in
48900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48901 *) ac_try_echo=$ac_try;;
48902 esac
48903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48904 (eval "$ac_compile") 2>conftest.er1
48905 ac_status=$?
48906 grep -v '^ *+' conftest.er1 >conftest.err
48907 rm -f conftest.er1
48908 cat conftest.err >&5
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); } && {
48911 test -z "$ac_cxx_werror_flag" ||
48912 test ! -s conftest.err
48913 } && test -s conftest.$ac_objext; then
48914 wx_cv_type_getsockopt5=size_t
48915 else
48916 echo "$as_me: failed program was:" >&5
48917 sed 's/^/| /' conftest.$ac_ext >&5
48918
48919 cat >conftest.$ac_ext <<_ACEOF
48920 /* confdefs.h. */
48921 _ACEOF
48922 cat confdefs.h >>conftest.$ac_ext
48923 cat >>conftest.$ac_ext <<_ACEOF
48924 /* end confdefs.h. */
48925
48926 #include <sys/types.h>
48927 #include <sys/socket.h>
48928
48929 int
48930 main ()
48931 {
48932
48933 int len;
48934 getsockopt(0, 0, 0, 0, &len);
48935
48936 ;
48937 return 0;
48938 }
48939 _ACEOF
48940 rm -f conftest.$ac_objext
48941 if { (ac_try="$ac_compile"
48942 case "(($ac_try" in
48943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48944 *) ac_try_echo=$ac_try;;
48945 esac
48946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48947 (eval "$ac_compile") 2>conftest.er1
48948 ac_status=$?
48949 grep -v '^ *+' conftest.er1 >conftest.err
48950 rm -f conftest.er1
48951 cat conftest.err >&5
48952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48953 (exit $ac_status); } && {
48954 test -z "$ac_cxx_werror_flag" ||
48955 test ! -s conftest.err
48956 } && test -s conftest.$ac_objext; then
48957 wx_cv_type_getsockopt5=int
48958 else
48959 echo "$as_me: failed program was:" >&5
48960 sed 's/^/| /' conftest.$ac_ext >&5
48961
48962 wx_cv_type_getsockopt5=unknown
48963
48964 fi
48965
48966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48967
48968 fi
48969
48970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48971
48972
48973 fi
48974
48975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48976 ac_ext=c
48977 ac_cpp='$CPP $CPPFLAGS'
48978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48981
48982
48983 fi
48984 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48985 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48986
48987 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48988 wxUSE_SOCKETS=no
48989 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48990 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48991 else
48992 cat >>confdefs.h <<_ACEOF
48993 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48994 _ACEOF
48995
48996 fi
48997 fi
48998 fi
48999
49000 if test "$wxUSE_SOCKETS" = "yes" ; then
49001 if test "$wxUSE_IPV6" = "yes"; then
49002 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
49003 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
49004 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
49005 echo $ECHO_N "(cached) $ECHO_C" >&6
49006 else
49007
49008 cat >conftest.$ac_ext <<_ACEOF
49009 /* confdefs.h. */
49010 _ACEOF
49011 cat confdefs.h >>conftest.$ac_ext
49012 cat >>conftest.$ac_ext <<_ACEOF
49013 /* end confdefs.h. */
49014
49015 #include <sys/types.h>
49016 #include <sys/socket.h>
49017 #include <netinet/in.h>
49018
49019 int
49020 main ()
49021 {
49022
49023 struct sockaddr_in6 sa6;
49024
49025 ;
49026 return 0;
49027 }
49028 _ACEOF
49029 rm -f conftest.$ac_objext
49030 if { (ac_try="$ac_compile"
49031 case "(($ac_try" in
49032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49033 *) ac_try_echo=$ac_try;;
49034 esac
49035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49036 (eval "$ac_compile") 2>conftest.er1
49037 ac_status=$?
49038 grep -v '^ *+' conftest.er1 >conftest.err
49039 rm -f conftest.er1
49040 cat conftest.err >&5
49041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49042 (exit $ac_status); } && {
49043 test -z "$ac_c_werror_flag" ||
49044 test ! -s conftest.err
49045 } && test -s conftest.$ac_objext; then
49046 wx_cv_type_sockaddr_in6=yes
49047 else
49048 echo "$as_me: failed program was:" >&5
49049 sed 's/^/| /' conftest.$ac_ext >&5
49050
49051 wx_cv_type_sockaddr_in6=no
49052
49053 fi
49054
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056
49057
49058 fi
49059 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49060 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49061
49062 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49063 cat >>confdefs.h <<\_ACEOF
49064 #define wxUSE_IPV6 1
49065 _ACEOF
49066
49067 else
49068 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49069 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49070 fi
49071 fi
49072
49073 cat >>confdefs.h <<\_ACEOF
49074 #define wxUSE_SOCKETS 1
49075 _ACEOF
49076
49077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49078 fi
49079
49080 if test "$wxUSE_PROTOCOL" = "yes"; then
49081 if test "$wxUSE_SOCKETS" != "yes"; then
49082 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49083 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49084 wxUSE_PROTOCOL=no
49085 fi
49086 fi
49087
49088 if test "$wxUSE_PROTOCOL" = "yes"; then
49089 cat >>confdefs.h <<\_ACEOF
49090 #define wxUSE_PROTOCOL 1
49091 _ACEOF
49092
49093
49094 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49095 cat >>confdefs.h <<\_ACEOF
49096 #define wxUSE_PROTOCOL_HTTP 1
49097 _ACEOF
49098
49099 fi
49100 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49101 cat >>confdefs.h <<\_ACEOF
49102 #define wxUSE_PROTOCOL_FTP 1
49103 _ACEOF
49104
49105 fi
49106 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49107 cat >>confdefs.h <<\_ACEOF
49108 #define wxUSE_PROTOCOL_FILE 1
49109 _ACEOF
49110
49111 fi
49112 else
49113 if test "$wxUSE_FS_INET" = "yes"; then
49114 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49115 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49116 wxUSE_FS_INET="no"
49117 fi
49118 fi
49119
49120 if test "$wxUSE_URL" = "yes"; then
49121 if test "$wxUSE_PROTOCOL" != "yes"; then
49122 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49123 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49124 wxUSE_URL=no
49125 fi
49126 if test "$wxUSE_URL" = "yes"; then
49127 cat >>confdefs.h <<\_ACEOF
49128 #define wxUSE_URL 1
49129 _ACEOF
49130
49131 fi
49132 fi
49133
49134 if test "$wxUSE_VARIANT" = "yes"; then
49135 cat >>confdefs.h <<\_ACEOF
49136 #define wxUSE_VARIANT 1
49137 _ACEOF
49138
49139 fi
49140
49141 if test "$wxUSE_FS_INET" = "yes"; then
49142 cat >>confdefs.h <<\_ACEOF
49143 #define wxUSE_FS_INET 1
49144 _ACEOF
49145
49146 fi
49147
49148
49149 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49150 wxUSE_JOYSTICK=no
49151
49152 if test "$TOOLKIT" = "MSW"; then
49153 wxUSE_JOYSTICK=yes
49154
49155 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49156 if test "$USE_DARWIN" = 1; then
49157 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49158 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49159 ac_ext=cpp
49160 ac_cpp='$CXXCPP $CPPFLAGS'
49161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164
49165 cat >conftest.$ac_ext <<_ACEOF
49166 /* confdefs.h. */
49167 _ACEOF
49168 cat confdefs.h >>conftest.$ac_ext
49169 cat >>conftest.$ac_ext <<_ACEOF
49170 /* end confdefs.h. */
49171 #include <IOKit/hid/IOHIDLib.h>
49172 int
49173 main ()
49174 {
49175 IOHIDQueueInterface *qi = NULL;
49176 IOHIDCallbackFunction cb = NULL;
49177 qi->setEventCallout(NULL, cb, NULL, NULL);
49178 ;
49179 return 0;
49180 }
49181 _ACEOF
49182 rm -f conftest.$ac_objext
49183 if { (ac_try="$ac_compile"
49184 case "(($ac_try" in
49185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49186 *) ac_try_echo=$ac_try;;
49187 esac
49188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49189 (eval "$ac_compile") 2>conftest.er1
49190 ac_status=$?
49191 grep -v '^ *+' conftest.er1 >conftest.err
49192 rm -f conftest.er1
49193 cat conftest.err >&5
49194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49195 (exit $ac_status); } && {
49196 test -z "$ac_cxx_werror_flag" ||
49197 test ! -s conftest.err
49198 } && test -s conftest.$ac_objext; then
49199 wxUSE_JOYSTICK=yes
49200
49201 else
49202 echo "$as_me: failed program was:" >&5
49203 sed 's/^/| /' conftest.$ac_ext >&5
49204
49205
49206 fi
49207
49208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49209 ac_ext=c
49210 ac_cpp='$CPP $CPPFLAGS'
49211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49214
49215 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49216 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49217 fi
49218
49219 else
49220
49221 for ac_header in linux/joystick.h
49222 do
49223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49227 echo $ECHO_N "(cached) $ECHO_C" >&6
49228 else
49229 cat >conftest.$ac_ext <<_ACEOF
49230 /* confdefs.h. */
49231 _ACEOF
49232 cat confdefs.h >>conftest.$ac_ext
49233 cat >>conftest.$ac_ext <<_ACEOF
49234 /* end confdefs.h. */
49235 $ac_includes_default
49236
49237 #include <$ac_header>
49238 _ACEOF
49239 rm -f conftest.$ac_objext
49240 if { (ac_try="$ac_compile"
49241 case "(($ac_try" in
49242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49243 *) ac_try_echo=$ac_try;;
49244 esac
49245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49246 (eval "$ac_compile") 2>conftest.er1
49247 ac_status=$?
49248 grep -v '^ *+' conftest.er1 >conftest.err
49249 rm -f conftest.er1
49250 cat conftest.err >&5
49251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49252 (exit $ac_status); } && {
49253 test -z "$ac_c_werror_flag" ||
49254 test ! -s conftest.err
49255 } && test -s conftest.$ac_objext; then
49256 eval "$as_ac_Header=yes"
49257 else
49258 echo "$as_me: failed program was:" >&5
49259 sed 's/^/| /' conftest.$ac_ext >&5
49260
49261 eval "$as_ac_Header=no"
49262 fi
49263
49264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49265 fi
49266 ac_res=`eval echo '${'$as_ac_Header'}'`
49267 { echo "$as_me:$LINENO: result: $ac_res" >&5
49268 echo "${ECHO_T}$ac_res" >&6; }
49269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49270 cat >>confdefs.h <<_ACEOF
49271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49272 _ACEOF
49273 wxUSE_JOYSTICK=yes
49274 fi
49275
49276 done
49277
49278 fi
49279
49280 if test "$wxUSE_JOYSTICK" = "yes"; then
49281 cat >>confdefs.h <<\_ACEOF
49282 #define wxUSE_JOYSTICK 1
49283 _ACEOF
49284
49285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49286 else
49287 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49288 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49289 fi
49290 fi
49291
49292
49293
49294 if test "$wxUSE_FONTENUM" = "yes" ; then
49295 cat >>confdefs.h <<\_ACEOF
49296 #define wxUSE_FONTENUM 1
49297 _ACEOF
49298
49299 fi
49300
49301 if test "$wxUSE_FONTMAP" = "yes" ; then
49302 cat >>confdefs.h <<\_ACEOF
49303 #define wxUSE_FONTMAP 1
49304 _ACEOF
49305
49306 fi
49307
49308 if test "$wxUSE_UNICODE" = "yes" ; then
49309 cat >>confdefs.h <<\_ACEOF
49310 #define wxUSE_UNICODE 1
49311 _ACEOF
49312
49313
49314 if test "$USE_WIN32" != 1; then
49315 wxUSE_UNICODE_MSLU=no
49316 fi
49317
49318 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49319 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49320 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49321 if test "${ac_cv_lib_unicows_main+set}" = set; then
49322 echo $ECHO_N "(cached) $ECHO_C" >&6
49323 else
49324 ac_check_lib_save_LIBS=$LIBS
49325 LIBS="-lunicows $LIBS"
49326 cat >conftest.$ac_ext <<_ACEOF
49327 /* confdefs.h. */
49328 _ACEOF
49329 cat confdefs.h >>conftest.$ac_ext
49330 cat >>conftest.$ac_ext <<_ACEOF
49331 /* end confdefs.h. */
49332
49333
49334 int
49335 main ()
49336 {
49337 return main ();
49338 ;
49339 return 0;
49340 }
49341 _ACEOF
49342 rm -f conftest.$ac_objext conftest$ac_exeext
49343 if { (ac_try="$ac_link"
49344 case "(($ac_try" in
49345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49346 *) ac_try_echo=$ac_try;;
49347 esac
49348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49349 (eval "$ac_link") 2>conftest.er1
49350 ac_status=$?
49351 grep -v '^ *+' conftest.er1 >conftest.err
49352 rm -f conftest.er1
49353 cat conftest.err >&5
49354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49355 (exit $ac_status); } && {
49356 test -z "$ac_c_werror_flag" ||
49357 test ! -s conftest.err
49358 } && test -s conftest$ac_exeext &&
49359 $as_test_x conftest$ac_exeext; then
49360 ac_cv_lib_unicows_main=yes
49361 else
49362 echo "$as_me: failed program was:" >&5
49363 sed 's/^/| /' conftest.$ac_ext >&5
49364
49365 ac_cv_lib_unicows_main=no
49366 fi
49367
49368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49369 conftest$ac_exeext conftest.$ac_ext
49370 LIBS=$ac_check_lib_save_LIBS
49371 fi
49372 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49373 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49374 if test $ac_cv_lib_unicows_main = yes; then
49375
49376 cat >>confdefs.h <<\_ACEOF
49377 #define wxUSE_UNICODE_MSLU 1
49378 _ACEOF
49379
49380
49381 else
49382
49383 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49384 Applications will only run on Windows NT/2000/XP!" >&5
49385 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49386 Applications will only run on Windows NT/2000/XP!" >&2;}
49387 wxUSE_UNICODE_MSLU=no
49388
49389 fi
49390
49391 fi
49392 fi
49393
49394 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49395 cat >>confdefs.h <<\_ACEOF
49396 #define wxUSE_UNICODE_UTF8 1
49397 _ACEOF
49398
49399
49400 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49401 cat >>confdefs.h <<\_ACEOF
49402 #define wxUSE_UTF8_LOCALE_ONLY 1
49403 _ACEOF
49404
49405 fi
49406 fi
49407
49408
49409 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49410 cat >>confdefs.h <<\_ACEOF
49411 #define wxUSE_CONSTRAINTS 1
49412 _ACEOF
49413
49414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49415 fi
49416
49417 if test "$wxUSE_MDI" = "yes"; then
49418 cat >>confdefs.h <<\_ACEOF
49419 #define wxUSE_MDI 1
49420 _ACEOF
49421
49422
49423 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49424 cat >>confdefs.h <<\_ACEOF
49425 #define wxUSE_MDI_ARCHITECTURE 1
49426 _ACEOF
49427
49428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49429 fi
49430 fi
49431
49432 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49433 cat >>confdefs.h <<\_ACEOF
49434 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49435 _ACEOF
49436
49437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49438 fi
49439
49440 if test "$wxUSE_HELP" = "yes"; then
49441 cat >>confdefs.h <<\_ACEOF
49442 #define wxUSE_HELP 1
49443 _ACEOF
49444
49445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49446
49447 if test "$wxUSE_MSW" = 1; then
49448 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49449 cat >>confdefs.h <<\_ACEOF
49450 #define wxUSE_MS_HTML_HELP 1
49451 _ACEOF
49452
49453 fi
49454 fi
49455
49456 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49457 if test "$wxUSE_HTML" = "yes"; then
49458 cat >>confdefs.h <<\_ACEOF
49459 #define wxUSE_WXHTML_HELP 1
49460 _ACEOF
49461
49462 else
49463 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49464 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49465 wxUSE_WXHTML_HELP=no
49466 fi
49467 fi
49468 fi
49469
49470 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49471 cat >>confdefs.h <<\_ACEOF
49472 #define wxUSE_PRINTING_ARCHITECTURE 1
49473 _ACEOF
49474
49475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49476 fi
49477
49478 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49479 cat >>confdefs.h <<\_ACEOF
49480 #define wxUSE_POSTSCRIPT 1
49481 _ACEOF
49482
49483 fi
49484
49485 cat >>confdefs.h <<\_ACEOF
49486 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49487 _ACEOF
49488
49489
49490 if test "$wxUSE_SVG" = "yes"; then
49491 cat >>confdefs.h <<\_ACEOF
49492 #define wxUSE_SVG 1
49493 _ACEOF
49494
49495 fi
49496
49497
49498 if test "$wxUSE_METAFILE" = "yes"; then
49499 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49500 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49501 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49502 wxUSE_METAFILE=no
49503 fi
49504 elif test "$wxUSE_METAFILE" = "auto"; then
49505 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49506 wxUSE_METAFILE=yes
49507 fi
49508 fi
49509
49510 if test "$wxUSE_METAFILE" = "yes"; then
49511 cat >>confdefs.h <<\_ACEOF
49512 #define wxUSE_METAFILE 1
49513 _ACEOF
49514
49515 if test "$wxUSE_MSW" = 1; then
49516 cat >>confdefs.h <<\_ACEOF
49517 #define wxUSE_ENH_METAFILE 1
49518 _ACEOF
49519
49520 fi
49521 fi
49522
49523
49524 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49525 -o "$wxUSE_CLIPBOARD" = "yes" \
49526 -o "$wxUSE_OLE" = "yes" \
49527 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49528 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49529 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49530 if test "${ac_cv_header_ole2_h+set}" = set; then
49531 echo $ECHO_N "(cached) $ECHO_C" >&6
49532 else
49533 cat >conftest.$ac_ext <<_ACEOF
49534 /* confdefs.h. */
49535 _ACEOF
49536 cat confdefs.h >>conftest.$ac_ext
49537 cat >>conftest.$ac_ext <<_ACEOF
49538 /* end confdefs.h. */
49539
49540
49541 #include <ole2.h>
49542 _ACEOF
49543 rm -f conftest.$ac_objext
49544 if { (ac_try="$ac_compile"
49545 case "(($ac_try" in
49546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49547 *) ac_try_echo=$ac_try;;
49548 esac
49549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49550 (eval "$ac_compile") 2>conftest.er1
49551 ac_status=$?
49552 grep -v '^ *+' conftest.er1 >conftest.err
49553 rm -f conftest.er1
49554 cat conftest.err >&5
49555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49556 (exit $ac_status); } && {
49557 test -z "$ac_c_werror_flag" ||
49558 test ! -s conftest.err
49559 } && test -s conftest.$ac_objext; then
49560 ac_cv_header_ole2_h=yes
49561 else
49562 echo "$as_me: failed program was:" >&5
49563 sed 's/^/| /' conftest.$ac_ext >&5
49564
49565 ac_cv_header_ole2_h=no
49566 fi
49567
49568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49569 fi
49570 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49571 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49572
49573
49574
49575 if test "$ac_cv_header_ole2_h" = "yes" ; then
49576 if test "$GCC" = yes ; then
49577 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49578 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49579 cat >conftest.$ac_ext <<_ACEOF
49580 /* confdefs.h. */
49581 _ACEOF
49582 cat confdefs.h >>conftest.$ac_ext
49583 cat >>conftest.$ac_ext <<_ACEOF
49584 /* end confdefs.h. */
49585 #include <windows.h>
49586 #include <ole2.h>
49587 int
49588 main ()
49589 {
49590
49591 ;
49592 return 0;
49593 }
49594 _ACEOF
49595 rm -f conftest.$ac_objext
49596 if { (ac_try="$ac_compile"
49597 case "(($ac_try" in
49598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49599 *) ac_try_echo=$ac_try;;
49600 esac
49601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49602 (eval "$ac_compile") 2>conftest.er1
49603 ac_status=$?
49604 grep -v '^ *+' conftest.er1 >conftest.err
49605 rm -f conftest.er1
49606 cat conftest.err >&5
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); } && {
49609 test -z "$ac_c_werror_flag" ||
49610 test ! -s conftest.err
49611 } && test -s conftest.$ac_objext; then
49612 { echo "$as_me:$LINENO: result: no" >&5
49613 echo "${ECHO_T}no" >&6; }
49614 else
49615 echo "$as_me: failed program was:" >&5
49616 sed 's/^/| /' conftest.$ac_ext >&5
49617
49618 { echo "$as_me:$LINENO: result: yes" >&5
49619 echo "${ECHO_T}yes" >&6; }
49620 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49621 fi
49622
49623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49624 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49625 if test "$wxUSE_OLE" = "yes" ; then
49626 cat >>confdefs.h <<\_ACEOF
49627 #define wxUSE_OLE 1
49628 _ACEOF
49629
49630 cat >>confdefs.h <<\_ACEOF
49631 #define wxUSE_OLE_AUTOMATION 1
49632 _ACEOF
49633
49634 cat >>confdefs.h <<\_ACEOF
49635 #define wxUSE_ACTIVEX 1
49636 _ACEOF
49637
49638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49639 fi
49640 fi
49641
49642 if test "$wxUSE_DATAOBJ" = "yes" ; then
49643 cat >>confdefs.h <<\_ACEOF
49644 #define wxUSE_DATAOBJ 1
49645 _ACEOF
49646
49647 fi
49648 else
49649 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49650 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49651
49652 wxUSE_CLIPBOARD=no
49653 wxUSE_DRAG_AND_DROP=no
49654 wxUSE_DATAOBJ=no
49655 wxUSE_OLE=no
49656 fi
49657 fi
49658
49659 if test "$wxUSE_IPC" = "yes"; then
49660 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49661 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49662 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49663 wxUSE_IPC=no
49664 fi
49665
49666 if test "$wxUSE_IPC" = "yes"; then
49667 cat >>confdefs.h <<\_ACEOF
49668 #define wxUSE_IPC 1
49669 _ACEOF
49670
49671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49672 fi
49673 fi
49674
49675 if test "$wxUSE_DATAOBJ" = "yes"; then
49676 cat >>confdefs.h <<\_ACEOF
49677 #define wxUSE_DATAOBJ 1
49678 _ACEOF
49679
49680 else
49681 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49682 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49683 wxUSE_CLIPBOARD=no
49684 wxUSE_DRAG_AND_DROP=no
49685 fi
49686
49687 if test "$wxUSE_CLIPBOARD" = "yes"; then
49688 if test "$wxUSE_DFB" = 1; then
49689 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49690 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49691 wxUSE_CLIPBOARD=no
49692 fi
49693
49694 if test "$wxUSE_CLIPBOARD" = "yes"; then
49695 cat >>confdefs.h <<\_ACEOF
49696 #define wxUSE_CLIPBOARD 1
49697 _ACEOF
49698
49699 fi
49700 fi
49701
49702 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49703 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
49704 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49705 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49706 wxUSE_DRAG_AND_DROP=no
49707 fi
49708
49709 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49710 cat >>confdefs.h <<\_ACEOF
49711 #define wxUSE_DRAG_AND_DROP 1
49712 _ACEOF
49713
49714 fi
49715
49716 fi
49717
49718 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49720 fi
49721
49722 if test "$wxUSE_CLIPBOARD" = "yes"; then
49723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49724 fi
49725
49726 if test "$wxUSE_SPLINES" = "yes" ; then
49727 cat >>confdefs.h <<\_ACEOF
49728 #define wxUSE_SPLINES 1
49729 _ACEOF
49730
49731 fi
49732
49733 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49734 cat >>confdefs.h <<\_ACEOF
49735 #define wxUSE_MOUSEWHEEL 1
49736 _ACEOF
49737
49738 fi
49739
49740 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49741 cat >>confdefs.h <<\_ACEOF
49742 #define wxUSE_UIACTIONSIMULATOR 1
49743 _ACEOF
49744
49745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49746 fi
49747
49748 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49749 cat >>confdefs.h <<\_ACEOF
49750 #define wxUSE_DC_TRANSFORM_MATRIX 1
49751 _ACEOF
49752
49753 fi
49754
49755
49756 USES_CONTROLS=0
49757 if test "$wxUSE_CONTROLS" = "yes"; then
49758 USES_CONTROLS=1
49759 fi
49760
49761 if test "$wxUSE_MARKUP" = "yes"; then
49762 cat >>confdefs.h <<\_ACEOF
49763 #define wxUSE_MARKUP 1
49764 _ACEOF
49765
49766 fi
49767
49768 if test "$wxUSE_ACCEL" = "yes"; then
49769 cat >>confdefs.h <<\_ACEOF
49770 #define wxUSE_ACCEL 1
49771 _ACEOF
49772
49773 USES_CONTROLS=1
49774 fi
49775
49776 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49777 cat >>confdefs.h <<\_ACEOF
49778 #define wxUSE_ANIMATIONCTRL 1
49779 _ACEOF
49780
49781 USES_CONTROLS=1
49782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49783 fi
49784
49785 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49786 cat >>confdefs.h <<\_ACEOF
49787 #define wxUSE_BANNERWINDOW 1
49788 _ACEOF
49789
49790 fi
49791
49792 if test "$wxUSE_BUTTON" = "yes"; then
49793 cat >>confdefs.h <<\_ACEOF
49794 #define wxUSE_BUTTON 1
49795 _ACEOF
49796
49797 USES_CONTROLS=1
49798 fi
49799
49800 if test "$wxUSE_BMPBUTTON" = "yes"; then
49801 cat >>confdefs.h <<\_ACEOF
49802 #define wxUSE_BMPBUTTON 1
49803 _ACEOF
49804
49805 USES_CONTROLS=1
49806 fi
49807
49808 if test "$wxUSE_CALCTRL" = "yes"; then
49809 cat >>confdefs.h <<\_ACEOF
49810 #define wxUSE_CALENDARCTRL 1
49811 _ACEOF
49812
49813 USES_CONTROLS=1
49814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49815 fi
49816
49817 if test "$wxUSE_CARET" = "yes"; then
49818 cat >>confdefs.h <<\_ACEOF
49819 #define wxUSE_CARET 1
49820 _ACEOF
49821
49822 USES_CONTROLS=1
49823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49824 fi
49825
49826 if test "$wxUSE_COLLPANE" = "yes"; then
49827 cat >>confdefs.h <<\_ACEOF
49828 #define wxUSE_COLLPANE 1
49829 _ACEOF
49830
49831 USES_CONTROLS=1
49832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49833 fi
49834
49835 if test "$wxUSE_COMBOBOX" = "yes"; then
49836 cat >>confdefs.h <<\_ACEOF
49837 #define wxUSE_COMBOBOX 1
49838 _ACEOF
49839
49840 USES_CONTROLS=1
49841 fi
49842
49843 if test "$wxUSE_COMBOCTRL" = "yes"; then
49844 cat >>confdefs.h <<\_ACEOF
49845 #define wxUSE_COMBOCTRL 1
49846 _ACEOF
49847
49848 USES_CONTROLS=1
49849 fi
49850
49851 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49852 cat >>confdefs.h <<\_ACEOF
49853 #define wxUSE_COMMANDLINKBUTTON 1
49854 _ACEOF
49855
49856 USES_CONTROLS=1
49857 fi
49858
49859 if test "$wxUSE_CHOICE" = "yes"; then
49860 cat >>confdefs.h <<\_ACEOF
49861 #define wxUSE_CHOICE 1
49862 _ACEOF
49863
49864 USES_CONTROLS=1
49865 fi
49866
49867 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49868 cat >>confdefs.h <<\_ACEOF
49869 #define wxUSE_CHOICEBOOK 1
49870 _ACEOF
49871
49872 USES_CONTROLS=1
49873 fi
49874
49875 if test "$wxUSE_CHECKBOX" = "yes"; then
49876 cat >>confdefs.h <<\_ACEOF
49877 #define wxUSE_CHECKBOX 1
49878 _ACEOF
49879
49880 USES_CONTROLS=1
49881 fi
49882
49883 if test "$wxUSE_CHECKLST" = "yes"; then
49884 cat >>confdefs.h <<\_ACEOF
49885 #define wxUSE_CHECKLISTBOX 1
49886 _ACEOF
49887
49888 USES_CONTROLS=1
49889 fi
49890
49891 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49892 cat >>confdefs.h <<\_ACEOF
49893 #define wxUSE_COLOURPICKERCTRL 1
49894 _ACEOF
49895
49896 USES_CONTROLS=1
49897 fi
49898
49899 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49900 cat >>confdefs.h <<\_ACEOF
49901 #define wxUSE_DATEPICKCTRL 1
49902 _ACEOF
49903
49904 USES_CONTROLS=1
49905 fi
49906
49907 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49908 cat >>confdefs.h <<\_ACEOF
49909 #define wxUSE_DIRPICKERCTRL 1
49910 _ACEOF
49911
49912 USES_CONTROLS=1
49913 fi
49914
49915 if test "$wxUSE_FILECTRL" = "yes"; then
49916 cat >>confdefs.h <<\_ACEOF
49917 #define wxUSE_FILECTRL 1
49918 _ACEOF
49919
49920 USES_CONTROLS=1
49921 fi
49922
49923 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49924 cat >>confdefs.h <<\_ACEOF
49925 #define wxUSE_FILEPICKERCTRL 1
49926 _ACEOF
49927
49928 USES_CONTROLS=1
49929 fi
49930
49931 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49932 cat >>confdefs.h <<\_ACEOF
49933 #define wxUSE_FONTPICKERCTRL 1
49934 _ACEOF
49935
49936 USES_CONTROLS=1
49937 fi
49938
49939 if test "$wxUSE_DISPLAY" = "yes"; then
49940 if test "$wxUSE_DFB" = 1; then
49941 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49942 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49943 wxUSE_DISPLAY=no
49944 else
49945 cat >>confdefs.h <<\_ACEOF
49946 #define wxUSE_DISPLAY 1
49947 _ACEOF
49948
49949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
49950 fi
49951 fi
49952
49953 if test "$wxUSE_DETECT_SM" = "yes"; then
49954 cat >>confdefs.h <<\_ACEOF
49955 #define wxUSE_DETECT_SM 1
49956 _ACEOF
49957
49958 fi
49959
49960 if test "$wxUSE_GAUGE" = "yes"; then
49961 cat >>confdefs.h <<\_ACEOF
49962 #define wxUSE_GAUGE 1
49963 _ACEOF
49964
49965 USES_CONTROLS=1
49966 fi
49967
49968 if test "$wxUSE_GRID" = "yes"; then
49969 cat >>confdefs.h <<\_ACEOF
49970 #define wxUSE_GRID 1
49971 _ACEOF
49972
49973 USES_CONTROLS=1
49974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49975 fi
49976
49977 if test "$wxUSE_HEADERCTRL" = "yes"; then
49978 cat >>confdefs.h <<\_ACEOF
49979 #define wxUSE_HEADERCTRL 1
49980 _ACEOF
49981
49982 USES_CONTROLS=1
49983 fi
49984
49985 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49986 cat >>confdefs.h <<\_ACEOF
49987 #define wxUSE_HYPERLINKCTRL 1
49988 _ACEOF
49989
49990 USES_CONTROLS=1
49991 fi
49992
49993 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49994 cat >>confdefs.h <<\_ACEOF
49995 #define wxUSE_BITMAPCOMBOBOX 1
49996 _ACEOF
49997
49998 USES_CONTROLS=1
49999 fi
50000
50001 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
50002 cat >>confdefs.h <<\_ACEOF
50003 #define wxUSE_DATAVIEWCTRL 1
50004 _ACEOF
50005
50006 USES_CONTROLS=1
50007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
50008 fi
50009
50010 if test "$wxUSE_IMAGLIST" = "yes"; then
50011 cat >>confdefs.h <<\_ACEOF
50012 #define wxUSE_IMAGLIST 1
50013 _ACEOF
50014
50015 fi
50016
50017 if test "$wxUSE_INFOBAR" = "yes"; then
50018 cat >>confdefs.h <<\_ACEOF
50019 #define wxUSE_INFOBAR 1
50020 _ACEOF
50021
50022 fi
50023
50024 if test "$wxUSE_LISTBOOK" = "yes"; then
50025 cat >>confdefs.h <<\_ACEOF
50026 #define wxUSE_LISTBOOK 1
50027 _ACEOF
50028
50029 USES_CONTROLS=1
50030 fi
50031
50032 if test "$wxUSE_LISTBOX" = "yes"; then
50033 cat >>confdefs.h <<\_ACEOF
50034 #define wxUSE_LISTBOX 1
50035 _ACEOF
50036
50037 USES_CONTROLS=1
50038 fi
50039
50040 if test "$wxUSE_LISTCTRL" = "yes"; then
50041 if test "$wxUSE_IMAGLIST" = "yes"; then
50042 cat >>confdefs.h <<\_ACEOF
50043 #define wxUSE_LISTCTRL 1
50044 _ACEOF
50045
50046 USES_CONTROLS=1
50047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
50048 else
50049 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50050 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50051 fi
50052 fi
50053
50054 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50055 cat >>confdefs.h <<\_ACEOF
50056 #define wxUSE_EDITABLELISTBOX 1
50057 _ACEOF
50058
50059 USES_CONTROLS=1
50060 fi
50061
50062 if test "$wxUSE_NOTEBOOK" = "yes"; then
50063 cat >>confdefs.h <<\_ACEOF
50064 #define wxUSE_NOTEBOOK 1
50065 _ACEOF
50066
50067 USES_CONTROLS=1
50068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
50069 fi
50070
50071 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50072 cat >>confdefs.h <<\_ACEOF
50073 #define wxUSE_NOTIFICATION_MESSAGE 1
50074 _ACEOF
50075
50076 fi
50077
50078 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50079 cat >>confdefs.h <<\_ACEOF
50080 #define wxUSE_ODCOMBOBOX 1
50081 _ACEOF
50082
50083 USES_CONTROLS=1
50084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
50085 fi
50086
50087 if test "$wxUSE_RADIOBOX" = "yes"; then
50088 cat >>confdefs.h <<\_ACEOF
50089 #define wxUSE_RADIOBOX 1
50090 _ACEOF
50091
50092 USES_CONTROLS=1
50093 fi
50094
50095 if test "$wxUSE_RADIOBTN" = "yes"; then
50096 cat >>confdefs.h <<\_ACEOF
50097 #define wxUSE_RADIOBTN 1
50098 _ACEOF
50099
50100 USES_CONTROLS=1
50101 fi
50102
50103 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50104 cat >>confdefs.h <<\_ACEOF
50105 #define wxUSE_REARRANGECTRL 1
50106 _ACEOF
50107
50108 fi
50109
50110 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50111 cat >>confdefs.h <<\_ACEOF
50112 #define wxUSE_RICHMSGDLG 1
50113 _ACEOF
50114
50115 fi
50116
50117 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50118 cat >>confdefs.h <<\_ACEOF
50119 #define wxUSE_RICHTOOLTIP 1
50120 _ACEOF
50121
50122 fi
50123
50124 if test "$wxUSE_SASH" = "yes"; then
50125 cat >>confdefs.h <<\_ACEOF
50126 #define wxUSE_SASH 1
50127 _ACEOF
50128
50129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50130 fi
50131
50132 if test "$wxUSE_SCROLLBAR" = "yes"; then
50133 cat >>confdefs.h <<\_ACEOF
50134 #define wxUSE_SCROLLBAR 1
50135 _ACEOF
50136
50137 USES_CONTROLS=1
50138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50139 fi
50140
50141 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50142 cat >>confdefs.h <<\_ACEOF
50143 #define wxUSE_SEARCHCTRL 1
50144 _ACEOF
50145
50146 USES_CONTROLS=1
50147 fi
50148
50149 if test "$wxUSE_SLIDER" = "yes"; then
50150 cat >>confdefs.h <<\_ACEOF
50151 #define wxUSE_SLIDER 1
50152 _ACEOF
50153
50154 USES_CONTROLS=1
50155 fi
50156
50157 if test "$wxUSE_SPINBTN" = "yes"; then
50158 cat >>confdefs.h <<\_ACEOF
50159 #define wxUSE_SPINBTN 1
50160 _ACEOF
50161
50162 USES_CONTROLS=1
50163 fi
50164
50165 if test "$wxUSE_SPINCTRL" = "yes"; then
50166 cat >>confdefs.h <<\_ACEOF
50167 #define wxUSE_SPINCTRL 1
50168 _ACEOF
50169
50170 USES_CONTROLS=1
50171 fi
50172
50173 if test "$wxUSE_SPLITTER" = "yes"; then
50174 cat >>confdefs.h <<\_ACEOF
50175 #define wxUSE_SPLITTER 1
50176 _ACEOF
50177
50178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50179 fi
50180
50181 if test "$wxUSE_STATBMP" = "yes"; then
50182 cat >>confdefs.h <<\_ACEOF
50183 #define wxUSE_STATBMP 1
50184 _ACEOF
50185
50186 USES_CONTROLS=1
50187 fi
50188
50189 if test "$wxUSE_STATBOX" = "yes"; then
50190 cat >>confdefs.h <<\_ACEOF
50191 #define wxUSE_STATBOX 1
50192 _ACEOF
50193
50194 USES_CONTROLS=1
50195 fi
50196
50197 if test "$wxUSE_STATTEXT" = "yes"; then
50198 cat >>confdefs.h <<\_ACEOF
50199 #define wxUSE_STATTEXT 1
50200 _ACEOF
50201
50202 USES_CONTROLS=1
50203 fi
50204
50205 if test "$wxUSE_STATLINE" = "yes"; then
50206 cat >>confdefs.h <<\_ACEOF
50207 #define wxUSE_STATLINE 1
50208 _ACEOF
50209
50210 USES_CONTROLS=1
50211 fi
50212
50213 if test "$wxUSE_STATUSBAR" = "yes"; then
50214 cat >>confdefs.h <<\_ACEOF
50215 #define wxUSE_NATIVE_STATUSBAR 1
50216 _ACEOF
50217
50218 cat >>confdefs.h <<\_ACEOF
50219 #define wxUSE_STATUSBAR 1
50220 _ACEOF
50221
50222 USES_CONTROLS=1
50223
50224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50225 fi
50226
50227 if test "$wxUSE_TEXTCTRL" = "yes"; then
50228 cat >>confdefs.h <<\_ACEOF
50229 #define wxUSE_TEXTCTRL 1
50230 _ACEOF
50231
50232 USES_CONTROLS=1
50233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50234
50235 cat >>confdefs.h <<\_ACEOF
50236 #define wxUSE_RICHEDIT 1
50237 _ACEOF
50238
50239 cat >>confdefs.h <<\_ACEOF
50240 #define wxUSE_RICHEDIT2 1
50241 _ACEOF
50242
50243 fi
50244
50245 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50246 cat >>confdefs.h <<\_ACEOF
50247 #define wxUSE_TIMEPICKCTRL 1
50248 _ACEOF
50249
50250 USES_CONTROLS=1
50251 fi
50252
50253 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50254 if test "$wxUSE_OLD_COCOA" = 1 ; then
50255 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50256 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50257 wxUSE_TOGGLEBTN=no
50258 fi
50259
50260 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50261 cat >>confdefs.h <<\_ACEOF
50262 #define wxUSE_TOGGLEBTN 1
50263 _ACEOF
50264
50265 USES_CONTROLS=1
50266 fi
50267 fi
50268
50269 if test "$wxUSE_TOOLBAR" = "yes"; then
50270 cat >>confdefs.h <<\_ACEOF
50271 #define wxUSE_TOOLBAR 1
50272 _ACEOF
50273
50274 USES_CONTROLS=1
50275
50276 if test "$wxUSE_UNIVERSAL" = "yes"; then
50277 wxUSE_TOOLBAR_NATIVE="no"
50278 else
50279 wxUSE_TOOLBAR_NATIVE="yes"
50280 cat >>confdefs.h <<\_ACEOF
50281 #define wxUSE_TOOLBAR_NATIVE 1
50282 _ACEOF
50283
50284 fi
50285
50286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50287 fi
50288
50289 if test "$wxUSE_TOOLTIPS" = "yes"; then
50290 if test "$wxUSE_MOTIF" = 1; then
50291 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50292 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50293 else
50294 if test "$wxUSE_UNIVERSAL" = "yes"; then
50295 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50296 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50297 else
50298 cat >>confdefs.h <<\_ACEOF
50299 #define wxUSE_TOOLTIPS 1
50300 _ACEOF
50301
50302 fi
50303 fi
50304 fi
50305
50306 if test "$wxUSE_TREEBOOK" = "yes"; then
50307 cat >>confdefs.h <<\_ACEOF
50308 #define wxUSE_TREEBOOK 1
50309 _ACEOF
50310
50311 USES_CONTROLS=1
50312 fi
50313
50314 if test "$wxUSE_TOOLBOOK" = "yes"; then
50315 cat >>confdefs.h <<\_ACEOF
50316 #define wxUSE_TOOLBOOK 1
50317 _ACEOF
50318
50319 USES_CONTROLS=1
50320 fi
50321
50322 if test "$wxUSE_TREECTRL" = "yes"; then
50323 if test "$wxUSE_IMAGLIST" = "yes"; then
50324 cat >>confdefs.h <<\_ACEOF
50325 #define wxUSE_TREECTRL 1
50326 _ACEOF
50327
50328 USES_CONTROLS=1
50329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50330 else
50331 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50332 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50333 fi
50334 fi
50335
50336 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50337 cat >>confdefs.h <<\_ACEOF
50338 #define wxUSE_TREELISTCTRL 1
50339 _ACEOF
50340
50341 USES_CONTROLS=1
50342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
50343 fi
50344
50345 if test "$wxUSE_POPUPWIN" = "yes"; then
50346 if test "$wxUSE_OLD_COCOA" = 1 ; then
50347 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50348 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50349 else
50350 if test "$wxUSE_PM" = 1; then
50351 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50352 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50353 else
50354 cat >>confdefs.h <<\_ACEOF
50355 #define wxUSE_POPUPWIN 1
50356 _ACEOF
50357
50358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50359
50360 USES_CONTROLS=1
50361 fi
50362 fi
50363 fi
50364
50365 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50366 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
50367 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50368 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50369 else
50370 cat >>confdefs.h <<\_ACEOF
50371 #define wxUSE_DIALUP_MANAGER 1
50372 _ACEOF
50373
50374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50375 fi
50376 fi
50377
50378 if test "$wxUSE_TIPWINDOW" = "yes"; then
50379 if test "$wxUSE_PM" = 1; then
50380 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50381 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50382 else
50383 cat >>confdefs.h <<\_ACEOF
50384 #define wxUSE_TIPWINDOW 1
50385 _ACEOF
50386
50387 fi
50388 fi
50389
50390 if test "$USES_CONTROLS" = 1; then
50391 cat >>confdefs.h <<\_ACEOF
50392 #define wxUSE_CONTROLS 1
50393 _ACEOF
50394
50395 fi
50396
50397
50398 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50399 cat >>confdefs.h <<\_ACEOF
50400 #define wxUSE_ACCESSIBILITY 1
50401 _ACEOF
50402
50403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50404 fi
50405
50406 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50407 cat >>confdefs.h <<\_ACEOF
50408 #define wxUSE_ARTPROVIDER_STD 1
50409 _ACEOF
50410
50411 fi
50412
50413 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50414 if test "$wxUSE_GTK" != 1; then
50415 if test "$wxUSE_LIBPNG" != no -a \
50416 "$wxUSE_IMAGE" = yes -a \
50417 "$wxUSE_STREAMS" = yes; then
50418 wxUSE_ARTPROVIDER_TANGO="yes"
50419 fi
50420 fi
50421 fi
50422
50423 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50424 cat >>confdefs.h <<\_ACEOF
50425 #define wxUSE_ARTPROVIDER_TANGO 1
50426 _ACEOF
50427
50428 fi
50429
50430 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50431 cat >>confdefs.h <<\_ACEOF
50432 #define wxUSE_DRAGIMAGE 1
50433 _ACEOF
50434
50435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50436 fi
50437
50438 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50439 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50440 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50441 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50442 else
50443 cat >>confdefs.h <<\_ACEOF
50444 #define wxUSE_EXCEPTIONS 1
50445 _ACEOF
50446
50447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50448 fi
50449 fi
50450
50451 USE_HTML=0
50452 if test "$wxUSE_HTML" = "yes"; then
50453 cat >>confdefs.h <<\_ACEOF
50454 #define wxUSE_HTML 1
50455 _ACEOF
50456
50457 USE_HTML=1
50458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50459 fi
50460 if test "$wxUSE_WEBKIT" = "yes"; then
50461 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50462 old_CPPFLAGS="$CPPFLAGS"
50463 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50464 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50465 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50466 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50467 echo $ECHO_N "(cached) $ECHO_C" >&6
50468 else
50469 cat >conftest.$ac_ext <<_ACEOF
50470 /* confdefs.h. */
50471 _ACEOF
50472 cat confdefs.h >>conftest.$ac_ext
50473 cat >>conftest.$ac_ext <<_ACEOF
50474 /* end confdefs.h. */
50475
50476 #include <Carbon/Carbon.h>
50477 #include <WebKit/WebKit.h>
50478
50479
50480 #include <WebKit/HIWebView.h>
50481 _ACEOF
50482 rm -f conftest.$ac_objext
50483 if { (ac_try="$ac_compile"
50484 case "(($ac_try" in
50485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50486 *) ac_try_echo=$ac_try;;
50487 esac
50488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50489 (eval "$ac_compile") 2>conftest.er1
50490 ac_status=$?
50491 grep -v '^ *+' conftest.er1 >conftest.err
50492 rm -f conftest.er1
50493 cat conftest.err >&5
50494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50495 (exit $ac_status); } && {
50496 test -z "$ac_c_werror_flag" ||
50497 test ! -s conftest.err
50498 } && test -s conftest.$ac_objext; then
50499 ac_cv_header_WebKit_HIWebView_h=yes
50500 else
50501 echo "$as_me: failed program was:" >&5
50502 sed 's/^/| /' conftest.$ac_ext >&5
50503
50504 ac_cv_header_WebKit_HIWebView_h=no
50505 fi
50506
50507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50508 fi
50509 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50510 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50511 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50512
50513 cat >>confdefs.h <<\_ACEOF
50514 #define wxUSE_WEBKIT 1
50515 _ACEOF
50516
50517 WEBKIT_LINK="-framework WebKit"
50518
50519 else
50520
50521 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50522 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50523 wxUSE_WEBKIT=no
50524
50525 fi
50526
50527
50528 CPPFLAGS="$old_CPPFLAGS"
50529 elif test "$wxUSE_OLD_COCOA" = 1; then
50530 cat >>confdefs.h <<\_ACEOF
50531 #define wxUSE_WEBKIT 1
50532 _ACEOF
50533
50534 else
50535 wxUSE_WEBKIT=no
50536 fi
50537 if test "$wxUSE_WEBKIT" = "yes"; then
50538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50539 fi
50540 fi
50541
50542 USE_XRC=0
50543 if test "$wxUSE_XRC" = "yes"; then
50544 if test "$wxUSE_XML" != "yes"; then
50545 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50546 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50547 wxUSE_XRC=no
50548 else
50549 cat >>confdefs.h <<\_ACEOF
50550 #define wxUSE_XRC 1
50551 _ACEOF
50552
50553 USE_XRC=1
50554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50555 fi
50556 fi
50557
50558 USE_AUI=0
50559 if test "$wxUSE_AUI" = "yes"; then
50560 cat >>confdefs.h <<\_ACEOF
50561 #define wxUSE_AUI 1
50562 _ACEOF
50563
50564 USE_AUI=1
50565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50566 fi
50567
50568 USE_PROPGRID=0
50569 if test "$wxUSE_PROPGRID" = "yes"; then
50570 cat >>confdefs.h <<\_ACEOF
50571 #define wxUSE_PROPGRID 1
50572 _ACEOF
50573
50574 USE_PROPGRID=1
50575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50576 fi
50577
50578 USE_RIBBON=0
50579 if test "$wxUSE_RIBBON" = "yes"; then
50580 cat >>confdefs.h <<\_ACEOF
50581 #define wxUSE_RIBBON 1
50582 _ACEOF
50583
50584 USE_RIBBON=1
50585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50586 fi
50587
50588 USE_STC=0
50589 if test "$wxUSE_STC" = "yes"; then
50590 cat >>confdefs.h <<\_ACEOF
50591 #define wxUSE_STC 1
50592 _ACEOF
50593
50594 USE_STC=1
50595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50596
50597 # Extract the first word of "python", so it can be a program name with args.
50598 set dummy python; ac_word=$2
50599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50601 if test "${ac_cv_path_PYTHON+set}" = set; then
50602 echo $ECHO_N "(cached) $ECHO_C" >&6
50603 else
50604 case $PYTHON in
50605 [\\/]* | ?:[\\/]*)
50606 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50607 ;;
50608 *)
50609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50610 for as_dir in $PATH
50611 do
50612 IFS=$as_save_IFS
50613 test -z "$as_dir" && as_dir=.
50614 for ac_exec_ext in '' $ac_executable_extensions; do
50615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50616 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50618 break 2
50619 fi
50620 done
50621 done
50622 IFS=$as_save_IFS
50623
50624 ;;
50625 esac
50626 fi
50627 PYTHON=$ac_cv_path_PYTHON
50628 if test -n "$PYTHON"; then
50629 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50630 echo "${ECHO_T}$PYTHON" >&6; }
50631 else
50632 { echo "$as_me:$LINENO: result: no" >&5
50633 echo "${ECHO_T}no" >&6; }
50634 fi
50635
50636
50637 if test "x$PYTHON" = "x"; then
50638 COND_PYTHON="#"
50639 fi
50640
50641 fi
50642
50643 if test "$wxUSE_MENUS" = "yes"; then
50644 cat >>confdefs.h <<\_ACEOF
50645 #define wxUSE_MENUS 1
50646 _ACEOF
50647
50648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50649 fi
50650
50651 if test "$wxUSE_MIMETYPE" = "yes"; then
50652 cat >>confdefs.h <<\_ACEOF
50653 #define wxUSE_MIMETYPE 1
50654 _ACEOF
50655
50656 fi
50657
50658 if test "$wxUSE_MINIFRAME" = "yes"; then
50659 cat >>confdefs.h <<\_ACEOF
50660 #define wxUSE_MINIFRAME 1
50661 _ACEOF
50662
50663 fi
50664
50665 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50666 cat >>confdefs.h <<\_ACEOF
50667 #define wxUSE_SYSTEM_OPTIONS 1
50668 _ACEOF
50669
50670 fi
50671
50672 if test "$wxUSE_TASKBARICON" = "yes"; then
50673 cat >>confdefs.h <<\_ACEOF
50674 #define wxUSE_TASKBARICON 1
50675 _ACEOF
50676
50677 cat >>confdefs.h <<\_ACEOF
50678 #define wxUSE_TASKBARICON_BALLOONS 1
50679 _ACEOF
50680
50681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50682 fi
50683
50684
50685 if test "$wxUSE_VALIDATORS" = "yes"; then
50686 cat >>confdefs.h <<\_ACEOF
50687 #define wxUSE_VALIDATORS 1
50688 _ACEOF
50689
50690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50691 fi
50692
50693 if test "$wxUSE_PALETTE" = "yes" ; then
50694 if test "$wxUSE_DFB" = 1; then
50695 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50696 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50697 wxUSE_PALETTE=no
50698 else
50699 cat >>confdefs.h <<\_ACEOF
50700 #define wxUSE_PALETTE 1
50701 _ACEOF
50702
50703 fi
50704 fi
50705
50706 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50707 LIBS=" -lunicows $LIBS"
50708 fi
50709
50710 USE_RICHTEXT=0
50711 if test "$wxUSE_RICHTEXT" = "yes"; then
50712 cat >>confdefs.h <<\_ACEOF
50713 #define wxUSE_RICHTEXT 1
50714 _ACEOF
50715
50716 USE_RICHTEXT=1
50717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50718 fi
50719
50720 if test "$wxUSE_WEBVIEW" = "yes"; then
50721 USE_WEBVIEW_WEBKIT=0
50722 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50723 if test "$wxUSE_GTK" = 1; then
50724
50725 pkg_failed=no
50726 { echo "$as_me:$LINENO: checking for WEBKIT" >&5
50727 echo $ECHO_N "checking for WEBKIT... $ECHO_C" >&6; }
50728
50729 if test -n "$PKG_CONFIG"; then
50730 if test -n "$WEBKIT_CFLAGS"; then
50731 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
50732 else
50733 if test -n "$PKG_CONFIG" && \
50734 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50735 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50736 ac_status=$?
50737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738 (exit $ac_status); }; then
50739 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.3.1" 2>/dev/null`
50740 else
50741 pkg_failed=yes
50742 fi
50743 fi
50744 else
50745 pkg_failed=untried
50746 fi
50747 if test -n "$PKG_CONFIG"; then
50748 if test -n "$WEBKIT_LIBS"; then
50749 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
50750 else
50751 if test -n "$PKG_CONFIG" && \
50752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50753 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50754 ac_status=$?
50755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50756 (exit $ac_status); }; then
50757 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= 1.3.1" 2>/dev/null`
50758 else
50759 pkg_failed=yes
50760 fi
50761 fi
50762 else
50763 pkg_failed=untried
50764 fi
50765
50766
50767
50768 if test $pkg_failed = yes; then
50769
50770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50771 _pkg_short_errors_supported=yes
50772 else
50773 _pkg_short_errors_supported=no
50774 fi
50775 if test $_pkg_short_errors_supported = yes; then
50776 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50777 else
50778 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50779 fi
50780 # Put the nasty error message in config.log where it belongs
50781 echo "$WEBKIT_PKG_ERRORS" >&5
50782
50783
50784 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50785 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50786
50787 elif test $pkg_failed = untried; then
50788
50789 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50790 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50791
50792 else
50793 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
50794 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
50795 { echo "$as_me:$LINENO: result: yes" >&5
50796 echo "${ECHO_T}yes" >&6; }
50797
50798 USE_WEBVIEW_WEBKIT=1
50799 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
50800 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
50801
50802 fi
50803 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50804 old_CPPFLAGS="$CPPFLAGS"
50805 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50806 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50807 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50808 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50809 echo $ECHO_N "(cached) $ECHO_C" >&6
50810 else
50811 cat >conftest.$ac_ext <<_ACEOF
50812 /* confdefs.h. */
50813 _ACEOF
50814 cat confdefs.h >>conftest.$ac_ext
50815 cat >>conftest.$ac_ext <<_ACEOF
50816 /* end confdefs.h. */
50817
50818 #include <Carbon/Carbon.h>
50819 #include <WebKit/WebKit.h>
50820
50821
50822 #include <WebKit/HIWebView.h>
50823 _ACEOF
50824 rm -f conftest.$ac_objext
50825 if { (ac_try="$ac_compile"
50826 case "(($ac_try" in
50827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50828 *) ac_try_echo=$ac_try;;
50829 esac
50830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50831 (eval "$ac_compile") 2>conftest.er1
50832 ac_status=$?
50833 grep -v '^ *+' conftest.er1 >conftest.err
50834 rm -f conftest.er1
50835 cat conftest.err >&5
50836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50837 (exit $ac_status); } && {
50838 test -z "$ac_c_werror_flag" ||
50839 test ! -s conftest.err
50840 } && test -s conftest.$ac_objext; then
50841 ac_cv_header_WebKit_HIWebView_h=yes
50842 else
50843 echo "$as_me: failed program was:" >&5
50844 sed 's/^/| /' conftest.$ac_ext >&5
50845
50846 ac_cv_header_WebKit_HIWebView_h=no
50847 fi
50848
50849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50850 fi
50851 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50852 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50853 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50854
50855 USE_WEBVIEW_WEBKIT=1
50856 WEBKIT_LINK="-framework WebKit"
50857
50858 else
50859
50860 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50861 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50862
50863 fi
50864
50865
50866 CPPFLAGS="$old_CPPFLAGS"
50867 fi
50868 fi
50869
50870 wxUSE_WEBVIEW="no"
50871 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50872 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50873 wxUSE_WEBVIEW="yes"
50874 cat >>confdefs.h <<\_ACEOF
50875 #define wxUSE_WEBVIEW_WEBKIT 1
50876 _ACEOF
50877
50878 else
50879 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50880 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50881 fi
50882 elif test "$wxUSE_MSW" = 1; then
50883 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50884 wxUSE_WEBVIEW="yes"
50885 cat >>confdefs.h <<\_ACEOF
50886 #define wxUSE_WEBVIEW_IE 1
50887 _ACEOF
50888
50889 fi
50890 fi
50891 fi
50892
50893 if test "$wxUSE_WEBVIEW" = "yes"; then
50894 USE_WEBVIEW=1
50895 cat >>confdefs.h <<\_ACEOF
50896 #define wxUSE_WEBVIEW 1
50897 _ACEOF
50898
50899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
50900 else
50901 USE_WEBVIEW=0
50902 fi
50903
50904
50905 if test "$wxUSE_IMAGE" = "yes" ; then
50906 cat >>confdefs.h <<\_ACEOF
50907 #define wxUSE_IMAGE 1
50908 _ACEOF
50909
50910
50911 if test "$wxUSE_GIF" = "yes" ; then
50912 cat >>confdefs.h <<\_ACEOF
50913 #define wxUSE_GIF 1
50914 _ACEOF
50915
50916 fi
50917
50918 if test "$wxUSE_PCX" = "yes" ; then
50919 cat >>confdefs.h <<\_ACEOF
50920 #define wxUSE_PCX 1
50921 _ACEOF
50922
50923 fi
50924
50925 if test "$wxUSE_TGA" = "yes" ; then
50926 cat >>confdefs.h <<\_ACEOF
50927 #define wxUSE_TGA 1
50928 _ACEOF
50929
50930 fi
50931
50932 if test "$wxUSE_IFF" = "yes" ; then
50933 cat >>confdefs.h <<\_ACEOF
50934 #define wxUSE_IFF 1
50935 _ACEOF
50936
50937 fi
50938
50939 if test "$wxUSE_PNM" = "yes" ; then
50940 cat >>confdefs.h <<\_ACEOF
50941 #define wxUSE_PNM 1
50942 _ACEOF
50943
50944 fi
50945
50946 if test "$wxUSE_XPM" = "yes" ; then
50947 cat >>confdefs.h <<\_ACEOF
50948 #define wxUSE_XPM 1
50949 _ACEOF
50950
50951 fi
50952
50953 if test "$wxUSE_ICO_CUR" = "yes" ; then
50954 cat >>confdefs.h <<\_ACEOF
50955 #define wxUSE_ICO_CUR 1
50956 _ACEOF
50957
50958 fi
50959 fi
50960
50961
50962 if test "$wxUSE_ABOUTDLG" = "yes"; then
50963 cat >>confdefs.h <<\_ACEOF
50964 #define wxUSE_ABOUTDLG 1
50965 _ACEOF
50966
50967 fi
50968
50969 if test "$wxUSE_CHOICEDLG" = "yes"; then
50970 cat >>confdefs.h <<\_ACEOF
50971 #define wxUSE_CHOICEDLG 1
50972 _ACEOF
50973
50974 fi
50975
50976 if test "$wxUSE_COLOURDLG" = "yes"; then
50977 cat >>confdefs.h <<\_ACEOF
50978 #define wxUSE_COLOURDLG 1
50979 _ACEOF
50980
50981 fi
50982
50983 if test "$wxUSE_FILEDLG" = "yes"; then
50984 cat >>confdefs.h <<\_ACEOF
50985 #define wxUSE_FILEDLG 1
50986 _ACEOF
50987
50988 fi
50989
50990 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50991 cat >>confdefs.h <<\_ACEOF
50992 #define wxUSE_FINDREPLDLG 1
50993 _ACEOF
50994
50995 fi
50996
50997 if test "$wxUSE_FONTDLG" = "yes"; then
50998 cat >>confdefs.h <<\_ACEOF
50999 #define wxUSE_FONTDLG 1
51000 _ACEOF
51001
51002 fi
51003
51004 if test "$wxUSE_DIRDLG" = "yes"; then
51005 if test "$wxUSE_TREECTRL" != "yes"; then
51006 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
51007 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
51008 else
51009 cat >>confdefs.h <<\_ACEOF
51010 #define wxUSE_DIRDLG 1
51011 _ACEOF
51012
51013 fi
51014 fi
51015
51016 if test "$wxUSE_MSGDLG" = "yes"; then
51017 cat >>confdefs.h <<\_ACEOF
51018 #define wxUSE_MSGDLG 1
51019 _ACEOF
51020
51021 fi
51022
51023 if test "$wxUSE_NUMBERDLG" = "yes"; then
51024 cat >>confdefs.h <<\_ACEOF
51025 #define wxUSE_NUMBERDLG 1
51026 _ACEOF
51027
51028 fi
51029
51030 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51031 cat >>confdefs.h <<\_ACEOF
51032 #define wxUSE_PROGRESSDLG 1
51033 _ACEOF
51034
51035 fi
51036
51037 if test "$wxUSE_SPLASH" = "yes"; then
51038 cat >>confdefs.h <<\_ACEOF
51039 #define wxUSE_SPLASH 1
51040 _ACEOF
51041
51042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
51043 fi
51044
51045 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51046 cat >>confdefs.h <<\_ACEOF
51047 #define wxUSE_STARTUP_TIPS 1
51048 _ACEOF
51049
51050 fi
51051
51052 if test "$wxUSE_TEXTDLG" = "yes"; then
51053 cat >>confdefs.h <<\_ACEOF
51054 #define wxUSE_TEXTDLG 1
51055 _ACEOF
51056
51057 fi
51058
51059 if test "$wxUSE_WIZARDDLG" = "yes"; then
51060 cat >>confdefs.h <<\_ACEOF
51061 #define wxUSE_WIZARDDLG 1
51062 _ACEOF
51063
51064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
51065 fi
51066
51067
51068 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51069 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51070 cat >>confdefs.h <<\_ACEOF
51071 #define wxUSE_OWNER_DRAWN 1
51072 _ACEOF
51073
51074 fi
51075 fi
51076
51077
51078 if test "$wxUSE_MSW" = 1 ; then
51079
51080 if test "$wxUSE_DC_CACHEING" = "yes"; then
51081 cat >>confdefs.h <<\_ACEOF
51082 #define wxUSE_DC_CACHEING 1
51083 _ACEOF
51084
51085 fi
51086
51087 if test "$wxUSE_DIB" = "yes"; then
51088 cat >>confdefs.h <<\_ACEOF
51089 #define wxUSE_WXDIB 1
51090 _ACEOF
51091
51092 fi
51093
51094 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51095 cat >>confdefs.h <<\_ACEOF
51096 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51097 _ACEOF
51098
51099 fi
51100
51101 if test "$wxUSE_UXTHEME" = "yes"; then
51102 cat >>confdefs.h <<\_ACEOF
51103 #define wxUSE_UXTHEME 1
51104 _ACEOF
51105
51106 fi
51107
51108 fi
51109
51110 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51111 cat >>confdefs.h <<\_ACEOF
51112 #define wxUSE_AUTOID_MANAGEMENT 1
51113 _ACEOF
51114
51115 fi
51116
51117 if test "$USE_WIN32" = 1 ; then
51118 if test "$wxUSE_INICONF" = "yes"; then
51119 cat >>confdefs.h <<\_ACEOF
51120 #define wxUSE_INICONF 1
51121 _ACEOF
51122
51123 fi
51124
51125 if test "$wxUSE_REGKEY" = "yes"; then
51126 cat >>confdefs.h <<\_ACEOF
51127 #define wxUSE_REGKEY 1
51128 _ACEOF
51129
51130 fi
51131 fi
51132
51133
51134 if test "$wxUSE_MAC" = 1; then
51135 wxUSE_GRAPHICS_CONTEXT="yes"
51136 fi
51137
51138 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51139 wx_has_graphics=0
51140 if test "$wxUSE_MSW" = 1; then
51141 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51142 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51143 if test "${wx_cv_lib_gdiplus+set}" = set; then
51144 echo $ECHO_N "(cached) $ECHO_C" >&6
51145 else
51146
51147 ac_ext=cpp
51148 ac_cpp='$CXXCPP $CPPFLAGS'
51149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51152
51153 cat >conftest.$ac_ext <<_ACEOF
51154 /* confdefs.h. */
51155 _ACEOF
51156 cat confdefs.h >>conftest.$ac_ext
51157 cat >>conftest.$ac_ext <<_ACEOF
51158 /* end confdefs.h. */
51159 #include <windows.h>
51160 #include <gdiplus.h>
51161 int
51162 main ()
51163 {
51164
51165 using namespace Gdiplus;
51166
51167 ;
51168 return 0;
51169 }
51170 _ACEOF
51171 rm -f conftest.$ac_objext
51172 if { (ac_try="$ac_compile"
51173 case "(($ac_try" in
51174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51175 *) ac_try_echo=$ac_try;;
51176 esac
51177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51178 (eval "$ac_compile") 2>conftest.er1
51179 ac_status=$?
51180 grep -v '^ *+' conftest.er1 >conftest.err
51181 rm -f conftest.er1
51182 cat conftest.err >&5
51183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51184 (exit $ac_status); } && {
51185 test -z "$ac_cxx_werror_flag" ||
51186 test ! -s conftest.err
51187 } && test -s conftest.$ac_objext; then
51188 wx_cv_lib_gdiplus=yes
51189 else
51190 echo "$as_me: failed program was:" >&5
51191 sed 's/^/| /' conftest.$ac_ext >&5
51192
51193 wx_cv_lib_gdiplus=no
51194
51195 fi
51196
51197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51198 ac_ext=c
51199 ac_cpp='$CPP $CPPFLAGS'
51200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51203
51204
51205
51206 fi
51207 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51208 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51209 if test "$wx_cv_lib_gdiplus" = "yes"; then
51210 wx_has_graphics=1
51211 fi
51212 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51213
51214 pkg_failed=no
51215 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51216 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51217
51218 if test -n "$PKG_CONFIG"; then
51219 if test -n "$CAIRO_CFLAGS"; then
51220 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51221 else
51222 if test -n "$PKG_CONFIG" && \
51223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51224 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51225 ac_status=$?
51226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51227 (exit $ac_status); }; then
51228 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51229 else
51230 pkg_failed=yes
51231 fi
51232 fi
51233 else
51234 pkg_failed=untried
51235 fi
51236 if test -n "$PKG_CONFIG"; then
51237 if test -n "$CAIRO_LIBS"; then
51238 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51239 else
51240 if test -n "$PKG_CONFIG" && \
51241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51242 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51243 ac_status=$?
51244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51245 (exit $ac_status); }; then
51246 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51247 else
51248 pkg_failed=yes
51249 fi
51250 fi
51251 else
51252 pkg_failed=untried
51253 fi
51254
51255
51256
51257 if test $pkg_failed = yes; then
51258
51259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51260 _pkg_short_errors_supported=yes
51261 else
51262 _pkg_short_errors_supported=no
51263 fi
51264 if test $_pkg_short_errors_supported = yes; then
51265 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51266 else
51267 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51268 fi
51269 # Put the nasty error message in config.log where it belongs
51270 echo "$CAIRO_PKG_ERRORS" >&5
51271
51272 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51273 echo "$as_me: WARNING: Cairo library not found" >&2;}
51274
51275 elif test $pkg_failed = untried; then
51276 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51277 echo "$as_me: WARNING: Cairo library not found" >&2;}
51278
51279 else
51280 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51281 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51282 { echo "$as_me:$LINENO: result: yes" >&5
51283 echo "${ECHO_T}yes" >&6; }
51284 wx_has_graphics=1
51285 fi
51286 if test "$wx_has_graphics" = 1; then
51287 save_LIBS="$LIBS"
51288 LIBS="$LIBS $CAIRO_LIBS"
51289
51290 for ac_func in cairo_push_group
51291 do
51292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51296 echo $ECHO_N "(cached) $ECHO_C" >&6
51297 else
51298 cat >conftest.$ac_ext <<_ACEOF
51299 /* confdefs.h. */
51300 _ACEOF
51301 cat confdefs.h >>conftest.$ac_ext
51302 cat >>conftest.$ac_ext <<_ACEOF
51303 /* end confdefs.h. */
51304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51306 #define $ac_func innocuous_$ac_func
51307
51308 /* System header to define __stub macros and hopefully few prototypes,
51309 which can conflict with char $ac_func (); below.
51310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51311 <limits.h> exists even on freestanding compilers. */
51312
51313 #ifdef __STDC__
51314 # include <limits.h>
51315 #else
51316 # include <assert.h>
51317 #endif
51318
51319 #undef $ac_func
51320
51321 /* Override any GCC internal prototype to avoid an error.
51322 Use char because int might match the return type of a GCC
51323 builtin and then its argument prototype would still apply. */
51324 #ifdef __cplusplus
51325 extern "C"
51326 #endif
51327 char $ac_func ();
51328 /* The GNU C library defines this for functions which it implements
51329 to always fail with ENOSYS. Some functions are actually named
51330 something starting with __ and the normal name is an alias. */
51331 #if defined __stub_$ac_func || defined __stub___$ac_func
51332 choke me
51333 #endif
51334
51335 int
51336 main ()
51337 {
51338 return $ac_func ();
51339 ;
51340 return 0;
51341 }
51342 _ACEOF
51343 rm -f conftest.$ac_objext conftest$ac_exeext
51344 if { (ac_try="$ac_link"
51345 case "(($ac_try" in
51346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51347 *) ac_try_echo=$ac_try;;
51348 esac
51349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51350 (eval "$ac_link") 2>conftest.er1
51351 ac_status=$?
51352 grep -v '^ *+' conftest.er1 >conftest.err
51353 rm -f conftest.er1
51354 cat conftest.err >&5
51355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51356 (exit $ac_status); } && {
51357 test -z "$ac_c_werror_flag" ||
51358 test ! -s conftest.err
51359 } && test -s conftest$ac_exeext &&
51360 $as_test_x conftest$ac_exeext; then
51361 eval "$as_ac_var=yes"
51362 else
51363 echo "$as_me: failed program was:" >&5
51364 sed 's/^/| /' conftest.$ac_ext >&5
51365
51366 eval "$as_ac_var=no"
51367 fi
51368
51369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51370 conftest$ac_exeext conftest.$ac_ext
51371 fi
51372 ac_res=`eval echo '${'$as_ac_var'}'`
51373 { echo "$as_me:$LINENO: result: $ac_res" >&5
51374 echo "${ECHO_T}$ac_res" >&6; }
51375 if test `eval echo '${'$as_ac_var'}'` = yes; then
51376 cat >>confdefs.h <<_ACEOF
51377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51378 _ACEOF
51379
51380 fi
51381 done
51382
51383 LIBS="$save_LIBS"
51384 if test "$ac_cv_func_cairo_push_group" = "no"; then
51385 wx_has_graphics=0
51386 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51387 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51388 else
51389 cat >>confdefs.h <<\_ACEOF
51390 #define wxUSE_CAIRO 1
51391 _ACEOF
51392
51393
51394 if test "$wxUSE_GTK" != 1; then
51395 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51396 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51397 fi
51398 fi
51399 fi
51400 else
51401 wx_has_graphics=1
51402 fi
51403
51404 if test "$wx_has_graphics" = 1; then
51405 cat >>confdefs.h <<\_ACEOF
51406 #define wxUSE_GRAPHICS_CONTEXT 1
51407 _ACEOF
51408
51409 else
51410 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51411 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51412 fi
51413 fi
51414
51415
51416 USE_MEDIA=0
51417
51418 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51419 USE_MEDIA=1
51420
51421 if test "$wxUSE_GTK" = 1; then
51422 wxUSE_GSTREAMER="no"
51423
51424 GST_VERSION_MAJOR=0
51425 GST_VERSION_MINOR=10
51426 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51427
51428 if test "$wxUSE_GSTREAMER8" = "no"; then
51429
51430 pkg_failed=no
51431 { echo "$as_me:$LINENO: checking for GST" >&5
51432 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51433
51434 if test -n "$PKG_CONFIG"; then
51435 if test -n "$GST_CFLAGS"; then
51436 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51437 else
51438 if test -n "$PKG_CONFIG" && \
51439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51440 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51441 ac_status=$?
51442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51443 (exit $ac_status); }; then
51444 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51445 else
51446 pkg_failed=yes
51447 fi
51448 fi
51449 else
51450 pkg_failed=untried
51451 fi
51452 if test -n "$PKG_CONFIG"; then
51453 if test -n "$GST_LIBS"; then
51454 pkg_cv_GST_LIBS="$GST_LIBS"
51455 else
51456 if test -n "$PKG_CONFIG" && \
51457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51458 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51459 ac_status=$?
51460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51461 (exit $ac_status); }; then
51462 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51463 else
51464 pkg_failed=yes
51465 fi
51466 fi
51467 else
51468 pkg_failed=untried
51469 fi
51470
51471
51472
51473 if test $pkg_failed = yes; then
51474
51475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51476 _pkg_short_errors_supported=yes
51477 else
51478 _pkg_short_errors_supported=no
51479 fi
51480 if test $_pkg_short_errors_supported = yes; then
51481 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51482 else
51483 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51484 fi
51485 # Put the nasty error message in config.log where it belongs
51486 echo "$GST_PKG_ERRORS" >&5
51487
51488
51489 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51490 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51491 GST_VERSION_MINOR=8
51492
51493
51494 elif test $pkg_failed = untried; then
51495
51496 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51497 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51498 GST_VERSION_MINOR=8
51499
51500
51501 else
51502 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51503 GST_LIBS=$pkg_cv_GST_LIBS
51504 { echo "$as_me:$LINENO: result: yes" >&5
51505 echo "${ECHO_T}yes" >&6; }
51506
51507 wxUSE_GSTREAMER="yes"
51508 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51509
51510 fi
51511 else
51512 GST_VERSION_MINOR=8
51513 fi
51514
51515 if test $GST_VERSION_MINOR = "8"; then
51516 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51517
51518 pkg_failed=no
51519 { echo "$as_me:$LINENO: checking for GST" >&5
51520 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51521
51522 if test -n "$PKG_CONFIG"; then
51523 if test -n "$GST_CFLAGS"; then
51524 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51525 else
51526 if test -n "$PKG_CONFIG" && \
51527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51528 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51529 ac_status=$?
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); }; then
51532 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51533 else
51534 pkg_failed=yes
51535 fi
51536 fi
51537 else
51538 pkg_failed=untried
51539 fi
51540 if test -n "$PKG_CONFIG"; then
51541 if test -n "$GST_LIBS"; then
51542 pkg_cv_GST_LIBS="$GST_LIBS"
51543 else
51544 if test -n "$PKG_CONFIG" && \
51545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51546 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51547 ac_status=$?
51548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51549 (exit $ac_status); }; then
51550 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51551 else
51552 pkg_failed=yes
51553 fi
51554 fi
51555 else
51556 pkg_failed=untried
51557 fi
51558
51559
51560
51561 if test $pkg_failed = yes; then
51562
51563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51564 _pkg_short_errors_supported=yes
51565 else
51566 _pkg_short_errors_supported=no
51567 fi
51568 if test $_pkg_short_errors_supported = yes; then
51569 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51570 else
51571 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51572 fi
51573 # Put the nasty error message in config.log where it belongs
51574 echo "$GST_PKG_ERRORS" >&5
51575
51576
51577 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51578 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51579
51580 elif test $pkg_failed = untried; then
51581
51582 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51583 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51584
51585 else
51586 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51587 GST_LIBS=$pkg_cv_GST_LIBS
51588 { echo "$as_me:$LINENO: result: yes" >&5
51589 echo "${ECHO_T}yes" >&6; }
51590 wxUSE_GSTREAMER="yes"
51591 fi
51592 fi
51593
51594
51595 if test "$wxUSE_GSTREAMER" = "yes"; then
51596 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51597 EXTRALIBS_MEDIA="$GST_LIBS"
51598
51599 cat >>confdefs.h <<\_ACEOF
51600 #define wxUSE_GSTREAMER 1
51601 _ACEOF
51602
51603 else
51604 USE_MEDIA=0
51605 fi
51606 fi
51607
51608 if test $USE_MEDIA = 1; then
51609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51610 cat >>confdefs.h <<\_ACEOF
51611 #define wxUSE_MEDIACTRL 1
51612 _ACEOF
51613
51614 else
51615 if test "$wxUSE_MEDIACTRL" = "yes"; then
51616 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51617 echo "$as_me: error: GStreamer not available" >&2;}
51618 { (exit 1); exit 1; }; }
51619 else
51620 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51621 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51622 fi
51623 fi
51624 fi
51625
51626
51627 if test "$cross_compiling" != "no"; then
51628 OSINFO="\"$host\""
51629 else
51630 OSINFO=`uname -s -r -m`
51631 OSINFO="\"$OSINFO\""
51632 fi
51633
51634 cat >>confdefs.h <<_ACEOF
51635 #define WXWIN_OS_DESCRIPTION $OSINFO
51636 _ACEOF
51637
51638
51639
51640 if test "x$prefix" != "xNONE"; then
51641 wxPREFIX=$prefix
51642 else
51643 wxPREFIX=$ac_default_prefix
51644 fi
51645
51646 cat >>confdefs.h <<_ACEOF
51647 #define wxINSTALL_PREFIX "$wxPREFIX"
51648 _ACEOF
51649
51650
51651
51652
51653 STD_BASE_LIBS="base"
51654 STD_GUI_LIBS=""
51655 BUILT_WX_LIBS="base"
51656 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51657
51658 if test "$wxUSE_SOCKETS" = "yes" ; then
51659 STD_BASE_LIBS="net $STD_BASE_LIBS"
51660 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51661 fi
51662 if test "$wxUSE_XML" = "yes" ; then
51663 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51664 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51665 fi
51666
51667 if test "$wxUSE_GUI" = "yes"; then
51668 STD_GUI_LIBS="adv core"
51669 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51670
51671 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51672 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51673 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51674 fi
51675 if test "$wxUSE_HTML" = "yes" ; then
51676 STD_GUI_LIBS="html $STD_GUI_LIBS"
51677 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51678 fi
51679 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51680 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51681 fi
51682 if test "$wxUSE_OPENGL" = "yes" ; then
51683 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51684 fi
51685 if test "$wxUSE_AUI" = "yes" ; then
51686 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51687 fi
51688 if test "$wxUSE_PROPGRID" = "yes" ; then
51689 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51690 fi
51691 if test "$wxUSE_RIBBON" = "yes" ; then
51692 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51693 fi
51694 if test "$wxUSE_RICHTEXT" = "yes" ; then
51695 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51696 fi
51697 if test "$wxUSE_STC" = "yes" ; then
51698 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51699 fi
51700 if test "$wxUSE_WEBVIEW" = "yes" ; then
51701 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51702 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51703 fi
51704 if test "$wxUSE_XRC" = "yes" ; then
51705 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51706 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51707 fi
51708 fi
51709
51710
51711
51712
51713
51714
51715
51716 EXTRA_FRAMEWORKS=
51717 if test "$wxUSE_MAC" = 1 ; then
51718 if test "$USE_DARWIN" = 1; then
51719 if test "$wxUSE_OSX_IPHONE" = 1; then
51720 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51721 else
51722 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
51723
51724
51725 if test "$cross_compiling" != "no"; then
51726 wx_cv_target_x86_64=no
51727 else
51728 { echo "$as_me:$LINENO: checking if we target only x86_64" >&5
51729 echo $ECHO_N "checking if we target only x86_64... $ECHO_C" >&6; }
51730 if test "${wx_cv_target_x86_64+set}" = set; then
51731 echo $ECHO_N "(cached) $ECHO_C" >&6
51732 else
51733 cat >conftest.$ac_ext <<_ACEOF
51734 /* confdefs.h. */
51735 _ACEOF
51736 cat confdefs.h >>conftest.$ac_ext
51737 cat >>conftest.$ac_ext <<_ACEOF
51738 /* end confdefs.h. */
51739 int main() { return 0; }
51740 _ACEOF
51741 rm -f conftest.$ac_objext conftest$ac_exeext
51742 if { (ac_try="$ac_link"
51743 case "(($ac_try" in
51744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51745 *) ac_try_echo=$ac_try;;
51746 esac
51747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51748 (eval "$ac_link") 2>conftest.er1
51749 ac_status=$?
51750 grep -v '^ *+' conftest.er1 >conftest.err
51751 rm -f conftest.er1
51752 cat conftest.err >&5
51753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51754 (exit $ac_status); } && {
51755 test -z "$ac_c_werror_flag" ||
51756 test ! -s conftest.err
51757 } && test -s conftest$ac_exeext &&
51758 $as_test_x conftest$ac_exeext; then
51759 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
51760 wx_cv_target_x86_64=no
51761 else
51762 wx_cv_target_x86_64=yes
51763 fi
51764
51765 else
51766 echo "$as_me: failed program was:" >&5
51767 sed 's/^/| /' conftest.$ac_ext >&5
51768
51769
51770 fi
51771
51772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51773 conftest$ac_exeext conftest.$ac_ext
51774
51775 fi
51776 { echo "$as_me:$LINENO: result: $wx_cv_target_x86_64" >&5
51777 echo "${ECHO_T}$wx_cv_target_x86_64" >&6; }
51778 fi
51779
51780 if test "$wx_cv_target_x86_64" != "yes"; then
51781 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51782 fi
51783 fi
51784 fi
51785 fi
51786 if test "$wxUSE_OLD_COCOA" = 1 ; then
51787 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
51788 if test "$wxUSE_MEDIACTRL" = "yes"; then
51789 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51790 fi
51791 fi
51792 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51793 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51794 fi
51795
51796 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
51797 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51798
51799 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51800
51801 if test "$wxUSE_GUI" = "yes"; then
51802
51803
51804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51805 erase event exec font image minimal render \
51806 shaped svg taborder vscroll widgets wrapsizer"
51807
51808 if test "$wxUSE_MONOLITHIC" != "yes"; then
51809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
51810 fi
51811 if test "$TOOLKIT" = "MSW"; then
51812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
51813 if test "$wxUSE_UNIVERSAL" != "yes"; then
51814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51815 fi
51816 fi
51817 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
51819 fi
51820 else
51821 SAMPLES_SUBDIRS="console"
51822 if test "$wxUSE_SOCKETS" = "yes" ; then
51823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51824 fi
51825 if test "$wxUSE_IPC" = "yes" ; then
51826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
51827 fi
51828 fi
51829
51830
51831 if test "x$INTELCC" = "xyes" ; then
51832 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
51833 elif test "$GCC" = yes ; then
51834 CWARNINGS="-Wall -Wundef"
51835 fi
51836
51837 if test "x$INTELCXX" = "xyes" ; then
51838 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51839 elif test "$GXX" = yes ; then
51840 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51841 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51842 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51843 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51844 echo $ECHO_N "(cached) $ECHO_C" >&6
51845 else
51846 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
51847
51848 ac_ext=cpp
51849 ac_cpp='$CXXCPP $CPPFLAGS'
51850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51853
51854 ac_save_CXXFLAGS="$CXXFLAGS"
51855 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51856 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51857 cat >conftest.$ac_ext <<_ACEOF
51858 /* confdefs.h. */
51859 _ACEOF
51860 cat confdefs.h >>conftest.$ac_ext
51861 cat >>conftest.$ac_ext <<_ACEOF
51862 /* end confdefs.h. */
51863
51864 int
51865 main ()
51866 {
51867 return 0;
51868 ;
51869 return 0;
51870 }
51871 _ACEOF
51872 rm -f conftest.$ac_objext
51873 if { (ac_try="$ac_compile"
51874 case "(($ac_try" in
51875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51876 *) ac_try_echo=$ac_try;;
51877 esac
51878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51879 (eval "$ac_compile") 2>conftest.er1
51880 ac_status=$?
51881 grep -v '^ *+' conftest.er1 >conftest.err
51882 rm -f conftest.er1
51883 cat conftest.err >&5
51884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51885 (exit $ac_status); } && {
51886 test -z "$ac_cxx_werror_flag" ||
51887 test ! -s conftest.err
51888 } && test -s conftest.$ac_objext; then
51889 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51890 else
51891 echo "$as_me: failed program was:" >&5
51892 sed 's/^/| /' conftest.$ac_ext >&5
51893
51894
51895 fi
51896
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 done
51899 CXXFLAGS="$ac_save_CXXFLAGS"
51900 ac_ext=c
51901 ac_cpp='$CPP $CPPFLAGS'
51902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51905
51906
51907 fi
51908 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51909 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51910 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51911 .ok|.ok,*) ;;
51912 .|.no|.no,*) ;;
51913 *)
51914 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51915 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51916 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51917 ac_status=$?
51918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51919 (exit $ac_status); }
51920 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51921 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51922 ac_status=$?
51923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51924 (exit $ac_status); }
51925 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51926 fi
51927 ;;
51928 esac
51929
51930
51931 if test "$wxUSE_MAC" = 1 ; then
51932 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51933 fi
51934 fi
51935
51936
51937 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51938 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51939
51940
51941 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51942 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
51943 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
51944 $CPPFLAGS `
51945
51946 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51947 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51948 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51949 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51950 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51951
51952 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51953
51954
51955 if test "x$MWCC" = "xyes"; then
51956
51957 CC="$CC -cwd source -I-"
51958 CXX="$CXX -cwd source -I-"
51959 fi
51960
51961
51962 LIBS=`echo $LIBS`
51963 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51964 EXTRALIBS_XML="$EXPAT_LINK"
51965 EXTRALIBS_HTML="$MSPACK_LINK"
51966 EXTRALIBS_MEDIA="$GST_LIBS"
51967 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51968 if test "$wxUSE_GUI" = "yes"; then
51969 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51970 fi
51971 if test "$wxUSE_OPENGL" = "yes"; then
51972 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51973 fi
51974
51975 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51976
51977 WXCONFIG_LIBS="$LIBS"
51978
51979 if test "$wxUSE_REGEX" = "builtin" ; then
51980 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51981 fi
51982 if test "$wxUSE_EXPAT" = "builtin" ; then
51983 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51984 fi
51985 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51986 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51987 fi
51988 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51989 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51990 fi
51991 if test "$wxUSE_LIBPNG" = "builtin" ; then
51992 wxconfig_3rdparty="png $wxconfig_3rdparty"
51993 fi
51994 if test "$wxUSE_ZLIB" = "builtin" ; then
51995 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51996 fi
51997
51998 for i in $wxconfig_3rdparty ; do
51999 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
52000 done
52001
52002
52003 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
52004 WXUNIV=1
52005
52006 case "$wxUNIV_THEMES" in
52007 ''|all)
52008 cat >>confdefs.h <<\_ACEOF
52009 #define wxUSE_ALL_THEMES 1
52010 _ACEOF
52011
52012 ;;
52013
52014 *)
52015 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52016 cat >>confdefs.h <<_ACEOF
52017 #define wxUSE_THEME_$t 1
52018 _ACEOF
52019
52020 done
52021 esac
52022 else
52023 WXUNIV=0
52024 fi
52025
52026
52027
52028
52029
52030
52031
52032
52033 if test $wxUSE_MONOLITHIC = "yes" ; then
52034 MONOLITHIC=1
52035 else
52036 MONOLITHIC=0
52037 fi
52038
52039 if test $wxUSE_PLUGINS = "yes" ; then
52040 USE_PLUGINS=1
52041 else
52042 USE_PLUGINS=0
52043 fi
52044
52045 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52046 USE_QA=1
52047 else
52048 USE_QA=0
52049 fi
52050
52051 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52052 OFFICIAL_BUILD=1
52053 else
52054 OFFICIAL_BUILD=0
52055 fi
52056
52057
52058
52059
52060
52061
52062
52063
52064
52065
52066
52067
52068
52069
52070
52071
52072
52073
52074
52075
52076
52077
52078
52079
52080
52081
52082
52083 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52084
52085
52086
52087
52088
52089
52090
52091
52092
52093
52094 case "$TOOLKIT" in
52095 GTK)
52096 TOOLKIT_DESC="GTK+"
52097 if test "$WXGTK2" = 1; then
52098 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52099 if test "$wxUSE_GTKPRINT" = "yes" ; then
52100 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52101 fi
52102 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52103 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52104 fi
52105 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52106 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52107 fi
52108 if test "$wxUSE_LIBHILDON" = "yes"; then
52109 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52110 fi
52111 if test "$wxUSE_LIBHILDON2" = "yes"; then
52112 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52113 fi
52114
52115 if test "$TOOLKIT_EXTRA" != ""; then
52116 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52117 fi
52118 fi
52119 ;;
52120
52121 ?*)
52122 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52123 ;;
52124
52125 *)
52126 TOOLKIT_DESC="base only"
52127 ;;
52128 esac
52129
52130 if test "$wxUSE_WINE" = "yes"; then
52131 BAKEFILE_FORCE_PLATFORM=win32
52132 fi
52133
52134 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52135 then
52136 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52137 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52138 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52139 echo $ECHO_N "(cached) $ECHO_C" >&6
52140 else
52141
52142 echo '#include <stdio.h>
52143 const wchar_t test_var[] = L"awidetest";' > conftest.h
52144
52145 echo '#include "conftest.h"
52146 int main()
52147 {
52148 printf("%ls", test_var);
52149 return 0;
52150 }' > conftest.cpp
52151
52152 wx_cv_gcc_pch_bug="pch not supported"
52153
52154 if $CXX conftest.h >/dev/null 2>&1
52155 then
52156 wx_cv_gcc_pch_bug=
52157
52158 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52159 then
52160 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52161 grep awidetest >/dev/null
52162 then
52163 wx_cv_gcc_pch_bug=no
52164 else
52165 wx_cv_gcc_pch_bug=yes
52166 fi
52167 fi
52168 fi
52169
52170 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52171
52172 fi
52173 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52174 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52175
52176 if test "$wx_cv_gcc_pch_bug" = yes; then
52177 bk_use_pch=no
52178 fi
52179 fi
52180
52181
52182
52183
52184
52185
52186
52187 if test "x$BAKEFILE_HOST" = "x"; then
52188 if test "x${host}" = "x" ; then
52189 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52190 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52191 { (exit 1); exit 1; }; }
52192 fi
52193
52194 BAKEFILE_HOST="${host}"
52195 fi
52196
52197 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52198
52199 if test -n "$ac_tool_prefix"; then
52200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52201 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52204 if test "${ac_cv_prog_RANLIB+set}" = set; then
52205 echo $ECHO_N "(cached) $ECHO_C" >&6
52206 else
52207 if test -n "$RANLIB"; then
52208 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52209 else
52210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52211 for as_dir in $PATH
52212 do
52213 IFS=$as_save_IFS
52214 test -z "$as_dir" && as_dir=.
52215 for ac_exec_ext in '' $ac_executable_extensions; do
52216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52217 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52219 break 2
52220 fi
52221 done
52222 done
52223 IFS=$as_save_IFS
52224
52225 fi
52226 fi
52227 RANLIB=$ac_cv_prog_RANLIB
52228 if test -n "$RANLIB"; then
52229 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52230 echo "${ECHO_T}$RANLIB" >&6; }
52231 else
52232 { echo "$as_me:$LINENO: result: no" >&5
52233 echo "${ECHO_T}no" >&6; }
52234 fi
52235
52236
52237 fi
52238 if test -z "$ac_cv_prog_RANLIB"; then
52239 ac_ct_RANLIB=$RANLIB
52240 # Extract the first word of "ranlib", so it can be a program name with args.
52241 set dummy ranlib; ac_word=$2
52242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52244 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52245 echo $ECHO_N "(cached) $ECHO_C" >&6
52246 else
52247 if test -n "$ac_ct_RANLIB"; then
52248 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52249 else
52250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52251 for as_dir in $PATH
52252 do
52253 IFS=$as_save_IFS
52254 test -z "$as_dir" && as_dir=.
52255 for ac_exec_ext in '' $ac_executable_extensions; do
52256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52257 ac_cv_prog_ac_ct_RANLIB="ranlib"
52258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52259 break 2
52260 fi
52261 done
52262 done
52263 IFS=$as_save_IFS
52264
52265 fi
52266 fi
52267 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52268 if test -n "$ac_ct_RANLIB"; then
52269 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52270 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52271 else
52272 { echo "$as_me:$LINENO: result: no" >&5
52273 echo "${ECHO_T}no" >&6; }
52274 fi
52275
52276 if test "x$ac_ct_RANLIB" = x; then
52277 RANLIB=":"
52278 else
52279 case $cross_compiling:$ac_tool_warned in
52280 yes:)
52281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52282 whose name does not start with the host triplet. If you think this
52283 configuration is useful to you, please write to autoconf@gnu.org." >&5
52284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52285 whose name does not start with the host triplet. If you think this
52286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52287 ac_tool_warned=yes ;;
52288 esac
52289 RANLIB=$ac_ct_RANLIB
52290 fi
52291 else
52292 RANLIB="$ac_cv_prog_RANLIB"
52293 fi
52294
52295 # Find a good install program. We prefer a C program (faster),
52296 # so one script is as good as another. But avoid the broken or
52297 # incompatible versions:
52298 # SysV /etc/install, /usr/sbin/install
52299 # SunOS /usr/etc/install
52300 # IRIX /sbin/install
52301 # AIX /bin/install
52302 # AmigaOS /C/install, which installs bootblocks on floppy discs
52303 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52306 # OS/2's system install, which has a completely different semantic
52307 # ./install, which can be erroneously created by make from ./install.sh.
52308 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52309 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52310 if test -z "$INSTALL"; then
52311 if test "${ac_cv_path_install+set}" = set; then
52312 echo $ECHO_N "(cached) $ECHO_C" >&6
52313 else
52314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52315 for as_dir in $PATH
52316 do
52317 IFS=$as_save_IFS
52318 test -z "$as_dir" && as_dir=.
52319 # Account for people who put trailing slashes in PATH elements.
52320 case $as_dir/ in
52321 ./ | .// | /cC/* | \
52322 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52323 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52324 /usr/ucb/* ) ;;
52325 *)
52326 # OSF1 and SCO ODT 3.0 have their own names for install.
52327 # Don't use installbsd from OSF since it installs stuff as root
52328 # by default.
52329 for ac_prog in ginstall scoinst install; do
52330 for ac_exec_ext in '' $ac_executable_extensions; do
52331 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52332 if test $ac_prog = install &&
52333 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52334 # AIX install. It has an incompatible calling convention.
52335 :
52336 elif test $ac_prog = install &&
52337 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52338 # program-specific install script used by HP pwplus--don't use.
52339 :
52340 else
52341 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52342 break 3
52343 fi
52344 fi
52345 done
52346 done
52347 ;;
52348 esac
52349 done
52350 IFS=$as_save_IFS
52351
52352
52353 fi
52354 if test "${ac_cv_path_install+set}" = set; then
52355 INSTALL=$ac_cv_path_install
52356 else
52357 # As a last resort, use the slow shell script. Don't cache a
52358 # value for INSTALL within a source directory, because that will
52359 # break other packages using the cache if that directory is
52360 # removed, or if the value is a relative name.
52361 INSTALL=$ac_install_sh
52362 fi
52363 fi
52364 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52365 echo "${ECHO_T}$INSTALL" >&6; }
52366
52367 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52368 # It thinks the first close brace ends the variable substitution.
52369 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52370
52371 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52372
52373 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52374
52375 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52376 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52377 LN_S=$as_ln_s
52378 if test "$LN_S" = "ln -s"; then
52379 { echo "$as_me:$LINENO: result: yes" >&5
52380 echo "${ECHO_T}yes" >&6; }
52381 else
52382 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52383 echo "${ECHO_T}no, using $LN_S" >&6; }
52384 fi
52385
52386
52387 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52388 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52389 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52390 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52391 echo $ECHO_N "(cached) $ECHO_C" >&6
52392 else
52393 cat >conftest.make <<\_ACEOF
52394 SHELL = /bin/sh
52395 all:
52396 @echo '@@@%%%=$(MAKE)=@@@%%%'
52397 _ACEOF
52398 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52399 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52400 *@@@%%%=?*=@@@%%%*)
52401 eval ac_cv_prog_make_${ac_make}_set=yes;;
52402 *)
52403 eval ac_cv_prog_make_${ac_make}_set=no;;
52404 esac
52405 rm -f conftest.make
52406 fi
52407 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52408 { echo "$as_me:$LINENO: result: yes" >&5
52409 echo "${ECHO_T}yes" >&6; }
52410 SET_MAKE=
52411 else
52412 { echo "$as_me:$LINENO: result: no" >&5
52413 echo "${ECHO_T}no" >&6; }
52414 SET_MAKE="MAKE=${MAKE-make}"
52415 fi
52416
52417
52418
52419 if test "x$SUNCXX" = "xyes"; then
52420 AR=$CXX
52421 AROPTIONS="-xar -o"
52422
52423 elif test "x$SGICC" = "xyes"; then
52424 AR=$CXX
52425 AROPTIONS="-ar -o"
52426
52427 else
52428 if test -n "$ac_tool_prefix"; then
52429 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52430 set dummy ${ac_tool_prefix}ar; ac_word=$2
52431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52433 if test "${ac_cv_prog_AR+set}" = set; then
52434 echo $ECHO_N "(cached) $ECHO_C" >&6
52435 else
52436 if test -n "$AR"; then
52437 ac_cv_prog_AR="$AR" # Let the user override the test.
52438 else
52439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52440 for as_dir in $PATH
52441 do
52442 IFS=$as_save_IFS
52443 test -z "$as_dir" && as_dir=.
52444 for ac_exec_ext in '' $ac_executable_extensions; do
52445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52446 ac_cv_prog_AR="${ac_tool_prefix}ar"
52447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52448 break 2
52449 fi
52450 done
52451 done
52452 IFS=$as_save_IFS
52453
52454 fi
52455 fi
52456 AR=$ac_cv_prog_AR
52457 if test -n "$AR"; then
52458 { echo "$as_me:$LINENO: result: $AR" >&5
52459 echo "${ECHO_T}$AR" >&6; }
52460 else
52461 { echo "$as_me:$LINENO: result: no" >&5
52462 echo "${ECHO_T}no" >&6; }
52463 fi
52464
52465
52466 fi
52467 if test -z "$ac_cv_prog_AR"; then
52468 ac_ct_AR=$AR
52469 # Extract the first word of "ar", so it can be a program name with args.
52470 set dummy ar; ac_word=$2
52471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52473 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52474 echo $ECHO_N "(cached) $ECHO_C" >&6
52475 else
52476 if test -n "$ac_ct_AR"; then
52477 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52478 else
52479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52480 for as_dir in $PATH
52481 do
52482 IFS=$as_save_IFS
52483 test -z "$as_dir" && as_dir=.
52484 for ac_exec_ext in '' $ac_executable_extensions; do
52485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52486 ac_cv_prog_ac_ct_AR="ar"
52487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52488 break 2
52489 fi
52490 done
52491 done
52492 IFS=$as_save_IFS
52493
52494 fi
52495 fi
52496 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52497 if test -n "$ac_ct_AR"; then
52498 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52499 echo "${ECHO_T}$ac_ct_AR" >&6; }
52500 else
52501 { echo "$as_me:$LINENO: result: no" >&5
52502 echo "${ECHO_T}no" >&6; }
52503 fi
52504
52505 if test "x$ac_ct_AR" = x; then
52506 AR="ar"
52507 else
52508 case $cross_compiling:$ac_tool_warned in
52509 yes:)
52510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52511 whose name does not start with the host triplet. If you think this
52512 configuration is useful to you, please write to autoconf@gnu.org." >&5
52513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52514 whose name does not start with the host triplet. If you think this
52515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52516 ac_tool_warned=yes ;;
52517 esac
52518 AR=$ac_ct_AR
52519 fi
52520 else
52521 AR="$ac_cv_prog_AR"
52522 fi
52523
52524 AROPTIONS=rcu
52525 fi
52526
52527
52528 if test -n "$ac_tool_prefix"; then
52529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52530 set dummy ${ac_tool_prefix}strip; ac_word=$2
52531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52533 if test "${ac_cv_prog_STRIP+set}" = set; then
52534 echo $ECHO_N "(cached) $ECHO_C" >&6
52535 else
52536 if test -n "$STRIP"; then
52537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52538 else
52539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52540 for as_dir in $PATH
52541 do
52542 IFS=$as_save_IFS
52543 test -z "$as_dir" && as_dir=.
52544 for ac_exec_ext in '' $ac_executable_extensions; do
52545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52546 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52548 break 2
52549 fi
52550 done
52551 done
52552 IFS=$as_save_IFS
52553
52554 fi
52555 fi
52556 STRIP=$ac_cv_prog_STRIP
52557 if test -n "$STRIP"; then
52558 { echo "$as_me:$LINENO: result: $STRIP" >&5
52559 echo "${ECHO_T}$STRIP" >&6; }
52560 else
52561 { echo "$as_me:$LINENO: result: no" >&5
52562 echo "${ECHO_T}no" >&6; }
52563 fi
52564
52565
52566 fi
52567 if test -z "$ac_cv_prog_STRIP"; then
52568 ac_ct_STRIP=$STRIP
52569 # Extract the first word of "strip", so it can be a program name with args.
52570 set dummy strip; ac_word=$2
52571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52573 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52574 echo $ECHO_N "(cached) $ECHO_C" >&6
52575 else
52576 if test -n "$ac_ct_STRIP"; then
52577 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52578 else
52579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52580 for as_dir in $PATH
52581 do
52582 IFS=$as_save_IFS
52583 test -z "$as_dir" && as_dir=.
52584 for ac_exec_ext in '' $ac_executable_extensions; do
52585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52586 ac_cv_prog_ac_ct_STRIP="strip"
52587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52588 break 2
52589 fi
52590 done
52591 done
52592 IFS=$as_save_IFS
52593
52594 fi
52595 fi
52596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52597 if test -n "$ac_ct_STRIP"; then
52598 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52599 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52600 else
52601 { echo "$as_me:$LINENO: result: no" >&5
52602 echo "${ECHO_T}no" >&6; }
52603 fi
52604
52605 if test "x$ac_ct_STRIP" = x; then
52606 STRIP=":"
52607 else
52608 case $cross_compiling:$ac_tool_warned in
52609 yes:)
52610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52611 whose name does not start with the host triplet. If you think this
52612 configuration is useful to you, please write to autoconf@gnu.org." >&5
52613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52614 whose name does not start with the host triplet. If you think this
52615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52616 ac_tool_warned=yes ;;
52617 esac
52618 STRIP=$ac_ct_STRIP
52619 fi
52620 else
52621 STRIP="$ac_cv_prog_STRIP"
52622 fi
52623
52624 if test -n "$ac_tool_prefix"; then
52625 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52626 set dummy ${ac_tool_prefix}nm; ac_word=$2
52627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52629 if test "${ac_cv_prog_NM+set}" = set; then
52630 echo $ECHO_N "(cached) $ECHO_C" >&6
52631 else
52632 if test -n "$NM"; then
52633 ac_cv_prog_NM="$NM" # Let the user override the test.
52634 else
52635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52636 for as_dir in $PATH
52637 do
52638 IFS=$as_save_IFS
52639 test -z "$as_dir" && as_dir=.
52640 for ac_exec_ext in '' $ac_executable_extensions; do
52641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52642 ac_cv_prog_NM="${ac_tool_prefix}nm"
52643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52644 break 2
52645 fi
52646 done
52647 done
52648 IFS=$as_save_IFS
52649
52650 fi
52651 fi
52652 NM=$ac_cv_prog_NM
52653 if test -n "$NM"; then
52654 { echo "$as_me:$LINENO: result: $NM" >&5
52655 echo "${ECHO_T}$NM" >&6; }
52656 else
52657 { echo "$as_me:$LINENO: result: no" >&5
52658 echo "${ECHO_T}no" >&6; }
52659 fi
52660
52661
52662 fi
52663 if test -z "$ac_cv_prog_NM"; then
52664 ac_ct_NM=$NM
52665 # Extract the first word of "nm", so it can be a program name with args.
52666 set dummy nm; ac_word=$2
52667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52669 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52670 echo $ECHO_N "(cached) $ECHO_C" >&6
52671 else
52672 if test -n "$ac_ct_NM"; then
52673 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52674 else
52675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52676 for as_dir in $PATH
52677 do
52678 IFS=$as_save_IFS
52679 test -z "$as_dir" && as_dir=.
52680 for ac_exec_ext in '' $ac_executable_extensions; do
52681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52682 ac_cv_prog_ac_ct_NM="nm"
52683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52684 break 2
52685 fi
52686 done
52687 done
52688 IFS=$as_save_IFS
52689
52690 fi
52691 fi
52692 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52693 if test -n "$ac_ct_NM"; then
52694 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52695 echo "${ECHO_T}$ac_ct_NM" >&6; }
52696 else
52697 { echo "$as_me:$LINENO: result: no" >&5
52698 echo "${ECHO_T}no" >&6; }
52699 fi
52700
52701 if test "x$ac_ct_NM" = x; then
52702 NM=":"
52703 else
52704 case $cross_compiling:$ac_tool_warned in
52705 yes:)
52706 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52707 whose name does not start with the host triplet. If you think this
52708 configuration is useful to you, please write to autoconf@gnu.org." >&5
52709 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52710 whose name does not start with the host triplet. If you think this
52711 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52712 ac_tool_warned=yes ;;
52713 esac
52714 NM=$ac_ct_NM
52715 fi
52716 else
52717 NM="$ac_cv_prog_NM"
52718 fi
52719
52720
52721 INSTALL_DIR="mkdir -p"
52722
52723
52724 LDFLAGS_GUI=
52725 case ${BAKEFILE_HOST} in
52726 *-*-cygwin* | *-*-mingw32* )
52727 LDFLAGS_GUI="-mwindows"
52728 esac
52729
52730
52731 fi
52732
52733 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52734 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52735 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52736 echo $ECHO_N "(cached) $ECHO_C" >&6
52737 else
52738
52739 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52740 egrep -s GNU > /dev/null); then
52741 bakefile_cv_prog_makeisgnu="yes"
52742 else
52743 bakefile_cv_prog_makeisgnu="no"
52744 fi
52745
52746 fi
52747 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52748 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52749
52750 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52751 IF_GNU_MAKE=""
52752 else
52753 IF_GNU_MAKE="#"
52754 fi
52755
52756
52757
52758 PLATFORM_UNIX=0
52759 PLATFORM_WIN32=0
52760 PLATFORM_MSDOS=0
52761 PLATFORM_MAC=0
52762 PLATFORM_MACOS=0
52763 PLATFORM_MACOSX=0
52764 PLATFORM_OS2=0
52765 PLATFORM_BEOS=0
52766
52767 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52768 case "${BAKEFILE_HOST}" in
52769 *-*-mingw32* )
52770 PLATFORM_WIN32=1
52771 ;;
52772 *-pc-msdosdjgpp )
52773 PLATFORM_MSDOS=1
52774 ;;
52775 *-pc-os2_emx | *-pc-os2-emx )
52776 PLATFORM_OS2=1
52777 ;;
52778 *-*-darwin* )
52779 PLATFORM_MAC=1
52780 PLATFORM_MACOSX=1
52781 ;;
52782 *-*-beos* )
52783 PLATFORM_BEOS=1
52784 ;;
52785 powerpc-apple-macos* )
52786 PLATFORM_MAC=1
52787 PLATFORM_MACOS=1
52788 ;;
52789 * )
52790 PLATFORM_UNIX=1
52791 ;;
52792 esac
52793 else
52794 case "$BAKEFILE_FORCE_PLATFORM" in
52795 win32 )
52796 PLATFORM_WIN32=1
52797 ;;
52798 msdos )
52799 PLATFORM_MSDOS=1
52800 ;;
52801 os2 )
52802 PLATFORM_OS2=1
52803 ;;
52804 darwin )
52805 PLATFORM_MAC=1
52806 PLATFORM_MACOSX=1
52807 ;;
52808 unix )
52809 PLATFORM_UNIX=1
52810 ;;
52811 beos )
52812 PLATFORM_BEOS=1
52813 ;;
52814 * )
52815 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52816 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52817 { (exit 1); exit 1; }; }
52818 ;;
52819 esac
52820 fi
52821
52822
52823
52824
52825
52826
52827
52828
52829
52830
52831
52832 # Check whether --enable-omf was given.
52833 if test "${enable_omf+set}" = set; then
52834 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52835 fi
52836
52837
52838 case "${BAKEFILE_HOST}" in
52839 *-*-darwin* )
52840 if test "x$GCC" = "xyes"; then
52841 CFLAGS="$CFLAGS -fno-common"
52842 CXXFLAGS="$CXXFLAGS -fno-common"
52843 fi
52844 if test "x$XLCC" = "xyes"; then
52845 CFLAGS="$CFLAGS -qnocommon"
52846 CXXFLAGS="$CXXFLAGS -qnocommon"
52847 fi
52848 ;;
52849
52850 *-pc-os2_emx | *-pc-os2-emx )
52851 if test "x$bk_os2_use_omf" = "xyes" ; then
52852 AR=emxomfar
52853 RANLIB=:
52854 LDFLAGS="-Zomf $LDFLAGS"
52855 CFLAGS="-Zomf $CFLAGS"
52856 CXXFLAGS="-Zomf $CXXFLAGS"
52857 OS2_LIBEXT="lib"
52858 else
52859 OS2_LIBEXT="a"
52860 fi
52861 ;;
52862
52863 i*86-*-beos* )
52864 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52865 ;;
52866 esac
52867
52868
52869 SO_SUFFIX="so"
52870 SO_SUFFIX_MODULE="so"
52871 EXEEXT=""
52872 LIBPREFIX="lib"
52873 LIBEXT=".a"
52874 DLLPREFIX="lib"
52875 DLLPREFIX_MODULE=""
52876 DLLIMP_SUFFIX=""
52877 dlldir="$libdir"
52878
52879 case "${BAKEFILE_HOST}" in
52880 ia64-hp-hpux* )
52881 ;;
52882 *-hp-hpux* )
52883 SO_SUFFIX="sl"
52884 SO_SUFFIX_MODULE="sl"
52885 ;;
52886 *-*-aix* )
52887 SO_SUFFIX="a"
52888 SO_SUFFIX_MODULE="a"
52889 ;;
52890 *-*-cygwin* )
52891 SO_SUFFIX="dll"
52892 SO_SUFFIX_MODULE="dll"
52893 DLLIMP_SUFFIX="dll.a"
52894 EXEEXT=".exe"
52895 DLLPREFIX="cyg"
52896 dlldir="$bindir"
52897 ;;
52898 *-*-mingw32* )
52899 SO_SUFFIX="dll"
52900 SO_SUFFIX_MODULE="dll"
52901 DLLIMP_SUFFIX="dll.a"
52902 EXEEXT=".exe"
52903 DLLPREFIX=""
52904 dlldir="$bindir"
52905 ;;
52906 *-pc-msdosdjgpp )
52907 EXEEXT=".exe"
52908 DLLPREFIX=""
52909 dlldir="$bindir"
52910 ;;
52911 *-pc-os2_emx | *-pc-os2-emx )
52912 SO_SUFFIX="dll"
52913 SO_SUFFIX_MODULE="dll"
52914 DLLIMP_SUFFIX=$OS2_LIBEXT
52915 EXEEXT=".exe"
52916 DLLPREFIX=""
52917 LIBPREFIX=""
52918 LIBEXT=".$OS2_LIBEXT"
52919 dlldir="$bindir"
52920 ;;
52921 *-*-darwin* )
52922 SO_SUFFIX="dylib"
52923 SO_SUFFIX_MODULE="bundle"
52924 ;;
52925 esac
52926
52927 if test "x$DLLIMP_SUFFIX" = "x" ; then
52928 DLLIMP_SUFFIX="$SO_SUFFIX"
52929 fi
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942 PIC_FLAG=""
52943 if test "x$GCC" = "xyes"; then
52944 PIC_FLAG="-fPIC"
52945 fi
52946
52947 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52948 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52949 WINDOWS_IMPLIB=0
52950
52951 case "${BAKEFILE_HOST}" in
52952 *-hp-hpux* )
52953 if test "x$GCC" != "xyes"; then
52954 LDFLAGS="$LDFLAGS -L/usr/lib"
52955
52956 SHARED_LD_CC="${CC} -b -o"
52957 SHARED_LD_CXX="${CXX} -b -o"
52958 PIC_FLAG="+Z"
52959 fi
52960 ;;
52961
52962 *-*-linux* )
52963 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52964 PIC_FLAG="-KPIC"
52965 elif test "x$SUNCXX" = "xyes"; then
52966 SHARED_LD_CC="${CC} -G -o"
52967 SHARED_LD_CXX="${CXX} -G -o"
52968 PIC_FLAG="-KPIC"
52969 fi
52970 ;;
52971
52972 *-*-solaris2* )
52973 if test "x$SUNCXX" = xyes ; then
52974 SHARED_LD_CC="${CC} -G -o"
52975 SHARED_LD_CXX="${CXX} -G -o"
52976 PIC_FLAG="-KPIC"
52977 fi
52978 ;;
52979
52980 *-*-darwin* )
52981
52982 D='$'
52983 cat <<EOF >shared-ld-sh
52984 #!/bin/sh
52985 #-----------------------------------------------------------------------------
52986 #-- Name: distrib/mac/shared-ld-sh
52987 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52988 #-- Author: Gilles Depeyrot
52989 #-- Copyright: (c) 2002 Gilles Depeyrot
52990 #-- Licence: any use permitted
52991 #-----------------------------------------------------------------------------
52992
52993 verbose=0
52994 args=""
52995 objects=""
52996 linking_flag="-dynamiclib"
52997 ldargs="-r -keep_private_externs -nostdlib"
52998
52999 if test "x${D}CXX" = "x"; then
53000 CXX="c++"
53001 fi
53002
53003 while test ${D}# -gt 0; do
53004 case ${D}1 in
53005
53006 -v)
53007 verbose=1
53008 ;;
53009
53010 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
53011 # collect these options and values
53012 args="${D}{args} ${D}1 ${D}2"
53013 shift
53014 ;;
53015
53016 -arch|-isysroot)
53017 # collect these options and values
53018 ldargs="${D}{ldargs} ${D}1 ${D}2"
53019 shift
53020 ;;
53021
53022 -s|-Wl,*)
53023 # collect these load args
53024 ldargs="${D}{ldargs} ${D}1"
53025 ;;
53026
53027 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53028 # collect these options
53029 args="${D}{args} ${D}1"
53030 ;;
53031
53032 -dynamiclib|-bundle)
53033 linking_flag="${D}1"
53034 ;;
53035
53036 -*)
53037 echo "shared-ld: unhandled option '${D}1'"
53038 exit 1
53039 ;;
53040
53041 *.o | *.a | *.dylib)
53042 # collect object files
53043 objects="${D}{objects} ${D}1"
53044 ;;
53045
53046 *)
53047 echo "shared-ld: unhandled argument '${D}1'"
53048 exit 1
53049 ;;
53050
53051 esac
53052 shift
53053 done
53054
53055 status=0
53056
53057 #
53058 # Link one module containing all the others
53059 #
53060 if test ${D}{verbose} = 1; then
53061 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53062 fi
53063 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53064 status=${D}?
53065
53066 #
53067 # Link the shared library from the single module created, but only if the
53068 # previous command didn't fail:
53069 #
53070 if test ${D}{status} = 0; then
53071 if test ${D}{verbose} = 1; then
53072 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53073 fi
53074 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53075 status=${D}?
53076 fi
53077
53078 #
53079 # Remove intermediate module
53080 #
53081 rm -f master.${D}${D}.o
53082
53083 exit ${D}status
53084 EOF
53085
53086 chmod +x shared-ld-sh
53087
53088 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53089 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53090
53091
53092 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53093 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53094 if test "${bakefile_cv_gcc31+set}" = set; then
53095 echo $ECHO_N "(cached) $ECHO_C" >&6
53096 else
53097
53098 cat >conftest.$ac_ext <<_ACEOF
53099 /* confdefs.h. */
53100 _ACEOF
53101 cat confdefs.h >>conftest.$ac_ext
53102 cat >>conftest.$ac_ext <<_ACEOF
53103 /* end confdefs.h. */
53104
53105 int
53106 main ()
53107 {
53108
53109 #if (__GNUC__ < 3) || \
53110 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53111 This is old gcc
53112 #endif
53113
53114 ;
53115 return 0;
53116 }
53117 _ACEOF
53118 rm -f conftest.$ac_objext
53119 if { (ac_try="$ac_compile"
53120 case "(($ac_try" in
53121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53122 *) ac_try_echo=$ac_try;;
53123 esac
53124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53125 (eval "$ac_compile") 2>conftest.er1
53126 ac_status=$?
53127 grep -v '^ *+' conftest.er1 >conftest.err
53128 rm -f conftest.er1
53129 cat conftest.err >&5
53130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53131 (exit $ac_status); } && {
53132 test -z "$ac_c_werror_flag" ||
53133 test ! -s conftest.err
53134 } && test -s conftest.$ac_objext; then
53135
53136 bakefile_cv_gcc31=yes
53137
53138 else
53139 echo "$as_me: failed program was:" >&5
53140 sed 's/^/| /' conftest.$ac_ext >&5
53141
53142
53143 bakefile_cv_gcc31=no
53144
53145
53146 fi
53147
53148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53149
53150 fi
53151 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53152 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53153 if test "$bakefile_cv_gcc31" = "no"; then
53154 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53155 SHARED_LD_CXX="$SHARED_LD_CC"
53156 else
53157 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53158 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53159 fi
53160
53161 if test "x$GCC" == "xyes"; then
53162 PIC_FLAG="-dynamic -fPIC"
53163 fi
53164 if test "x$XLCC" = "xyes"; then
53165 PIC_FLAG="-dynamic -DPIC"
53166 fi
53167 ;;
53168
53169 *-*-aix* )
53170 if test "x$GCC" = "xyes"; then
53171 PIC_FLAG=""
53172
53173 case "${BAKEFILE_HOST}" in
53174 *-*-aix5* )
53175 LD_EXPFULL="-Wl,-bexpfull"
53176 ;;
53177 esac
53178
53179 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
53180 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
53181 else
53182 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53183 set dummy makeC++SharedLib; ac_word=$2
53184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53186 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53187 echo $ECHO_N "(cached) $ECHO_C" >&6
53188 else
53189 if test -n "$AIX_CXX_LD"; then
53190 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
53191 else
53192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53193 for as_dir in $PATH
53194 do
53195 IFS=$as_save_IFS
53196 test -z "$as_dir" && as_dir=.
53197 for ac_exec_ext in '' $ac_executable_extensions; do
53198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53199 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
53200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53201 break 2
53202 fi
53203 done
53204 done
53205 IFS=$as_save_IFS
53206
53207 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
53208 fi
53209 fi
53210 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
53211 if test -n "$AIX_CXX_LD"; then
53212 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53213 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53214 else
53215 { echo "$as_me:$LINENO: result: no" >&5
53216 echo "${ECHO_T}no" >&6; }
53217 fi
53218
53219
53220 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
53221 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
53222 fi
53223 ;;
53224
53225 *-*-beos* )
53226 SHARED_LD_CC="${LD} -nostart -o"
53227 SHARED_LD_CXX="${LD} -nostart -o"
53228 ;;
53229
53230 *-*-irix* )
53231 if test "x$GCC" != "xyes"; then
53232 PIC_FLAG="-KPIC"
53233 fi
53234 ;;
53235
53236 *-*-cygwin* | *-*-mingw32* )
53237 PIC_FLAG=""
53238 SHARED_LD_CC="\$(CC) -shared -o"
53239 SHARED_LD_CXX="\$(CXX) -shared -o"
53240 WINDOWS_IMPLIB=1
53241 ;;
53242
53243 *-pc-os2_emx | *-pc-os2-emx )
53244 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53245 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53246 PIC_FLAG=""
53247
53248 D='$'
53249 cat <<EOF >dllar.sh
53250 #!/bin/sh
53251 #
53252 # dllar - a tool to build both a .dll and an .a file
53253 # from a set of object (.o) files for EMX/OS2.
53254 #
53255 # Written by Andrew Zabolotny, bit@freya.etu.ru
53256 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53257 #
53258 # This script will accept a set of files on the command line.
53259 # All the public symbols from the .o files will be exported into
53260 # a .DEF file, then linker will be run (through gcc) against them to
53261 # build a shared library consisting of all given .o files. All libraries
53262 # (.a) will be first decompressed into component .o files then act as
53263 # described above. You can optionally give a description (-d "description")
53264 # which will be put into .DLL. To see the list of accepted options (as well
53265 # as command-line format) simply run this program without options. The .DLL
53266 # is built to be imported by name (there is no guarantee that new versions
53267 # of the library you build will have same ordinals for same symbols).
53268 #
53269 # dllar is free software; you can redistribute it and/or modify
53270 # it under the terms of the GNU General Public License as published by
53271 # the Free Software Foundation; either version 2, or (at your option)
53272 # any later version.
53273 #
53274 # dllar is distributed in the hope that it will be useful,
53275 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53276 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53277 # GNU General Public License for more details.
53278 #
53279 # You should have received a copy of the GNU General Public License
53280 # along with dllar; see the file COPYING. If not, write to the Free
53281 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53282 # 02111-1307, USA.
53283
53284 # To successfuly run this program you will need:
53285 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53286 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53287 # - gcc
53288 # (used to build the .dll)
53289 # - emxexp
53290 # (used to create .def file from .o files)
53291 # - emximp
53292 # (used to create .a file from .def file)
53293 # - GNU text utilites (cat, sort, uniq)
53294 # used to process emxexp output
53295 # - GNU file utilities (mv, rm)
53296 # - GNU sed
53297 # - lxlite (optional, see flag below)
53298 # (used for general .dll cleanup)
53299 #
53300
53301 flag_USE_LXLITE=1;
53302
53303 #
53304 # helper functions
53305 # basnam, variant of basename, which does _not_ remove the path, _iff_
53306 # second argument (suffix to remove) is given
53307 basnam(){
53308 case ${D}# in
53309 1)
53310 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53311 ;;
53312 2)
53313 echo ${D}1 | sed 's/'${D}2'${D}//'
53314 ;;
53315 *)
53316 echo "error in basnam ${D}*"
53317 exit 8
53318 ;;
53319 esac
53320 }
53321
53322 # Cleanup temporary files and output
53323 CleanUp() {
53324 cd ${D}curDir
53325 for i in ${D}inputFiles ; do
53326 case ${D}i in
53327 *!)
53328 rm -rf \`basnam ${D}i !\`
53329 ;;
53330 *)
53331 ;;
53332 esac
53333 done
53334
53335 # Kill result in case of failure as there is just to many stupid make/nmake
53336 # things out there which doesn't do this.
53337 if [ ${D}# -eq 0 ]; then
53338 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53339 fi
53340 }
53341
53342 # Print usage and exit script with rc=1.
53343 PrintHelp() {
53344 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53345 echo ' [-name-mangler-script script.sh]'
53346 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53347 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53348 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53349 echo ' [*.o] [*.a]'
53350 echo '*> "output_file" should have no extension.'
53351 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53352 echo ' The import library name is derived from this and is set to "name".a,'
53353 echo ' unless overridden by -import'
53354 echo '*> "importlib_name" should have no extension.'
53355 echo ' If it has the .o, or .a extension, it is automatically removed.'
53356 echo ' This name is used as the import library name and may be longer and'
53357 echo ' more descriptive than the DLL name which has to follow the old '
53358 echo ' 8.3 convention of FAT.'
53359 echo '*> "script.sh may be given to override the output_file name by a'
53360 echo ' different name. It is mainly useful if the regular make process'
53361 echo ' of some package does not take into account OS/2 restriction of'
53362 echo ' DLL name lengths. It takes the importlib name as input and is'
53363 echo ' supposed to procude a shorter name as output. The script should'
53364 echo ' expect to get importlib_name without extension and should produce'
53365 echo ' a (max.) 8 letter name without extension.'
53366 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53367 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53368 echo ' These flags will be put at the start of GCC command line.'
53369 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53370 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53371 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53372 echo ' If the last character of a symbol is "*", all symbols beginning'
53373 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53374 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53375 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53376 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53377 echo ' C runtime DLLs.'
53378 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53379 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53380 echo ' unchanged to GCC at the end of command line.'
53381 echo '*> If you create a DLL from a library and you do not specify -o,'
53382 echo ' the basename for DLL and import library will be set to library name,'
53383 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53384 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53385 echo ' library will be renamed into gcc_s.a.'
53386 echo '--------'
53387 echo 'Example:'
53388 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53389 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53390 CleanUp
53391 exit 1
53392 }
53393
53394 # Execute a command.
53395 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53396 # @Uses Whatever CleanUp() uses.
53397 doCommand() {
53398 echo "${D}*"
53399 eval ${D}*
53400 rcCmd=${D}?
53401
53402 if [ ${D}rcCmd -ne 0 ]; then
53403 echo "command failed, exit code="${D}rcCmd
53404 CleanUp
53405 exit ${D}rcCmd
53406 fi
53407 }
53408
53409 # main routine
53410 # setup globals
53411 cmdLine=${D}*
53412 outFile=""
53413 outimpFile=""
53414 inputFiles=""
53415 renameScript=""
53416 description=""
53417 CC=gcc.exe
53418 CFLAGS="-s -Zcrtdll"
53419 EXTRA_CFLAGS=""
53420 EXPORT_BY_ORDINALS=0
53421 exclude_symbols=""
53422 library_flags=""
53423 curDir=\`pwd\`
53424 curDirS=curDir
53425 case ${D}curDirS in
53426 */)
53427 ;;
53428 *)
53429 curDirS=${D}{curDirS}"/"
53430 ;;
53431 esac
53432 # Parse commandline
53433 libsToLink=0
53434 omfLinking=0
53435 while [ ${D}1 ]; do
53436 case ${D}1 in
53437 -ord*)
53438 EXPORT_BY_ORDINALS=1;
53439 ;;
53440 -o*)
53441 shift
53442 outFile=${D}1
53443 ;;
53444 -i*)
53445 shift
53446 outimpFile=${D}1
53447 ;;
53448 -name-mangler-script)
53449 shift
53450 renameScript=${D}1
53451 ;;
53452 -d*)
53453 shift
53454 description=${D}1
53455 ;;
53456 -f*)
53457 shift
53458 CFLAGS=${D}1
53459 ;;
53460 -c*)
53461 shift
53462 CC=${D}1
53463 ;;
53464 -h*)
53465 PrintHelp
53466 ;;
53467 -ex*)
53468 shift
53469 exclude_symbols=${D}{exclude_symbols}${D}1" "
53470 ;;
53471 -libf*)
53472 shift
53473 library_flags=${D}{library_flags}${D}1" "
53474 ;;
53475 -nocrt*)
53476 CFLAGS="-s"
53477 ;;
53478 -nolxl*)
53479 flag_USE_LXLITE=0
53480 ;;
53481 -* | /*)
53482 case ${D}1 in
53483 -L* | -l*)
53484 libsToLink=1
53485 ;;
53486 -Zomf)
53487 omfLinking=1
53488 ;;
53489 *)
53490 ;;
53491 esac
53492 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53493 ;;
53494 *.dll)
53495 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53496 if [ ${D}omfLinking -eq 1 ]; then
53497 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53498 else
53499 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53500 fi
53501 ;;
53502 *)
53503 found=0;
53504 if [ ${D}libsToLink -ne 0 ]; then
53505 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53506 else
53507 for file in ${D}1 ; do
53508 if [ -f ${D}file ]; then
53509 inputFiles="${D}{inputFiles} ${D}file"
53510 found=1
53511 fi
53512 done
53513 if [ ${D}found -eq 0 ]; then
53514 echo "ERROR: No file(s) found: "${D}1
53515 exit 8
53516 fi
53517 fi
53518 ;;
53519 esac
53520 shift
53521 done # iterate cmdline words
53522
53523 #
53524 if [ -z "${D}inputFiles" ]; then
53525 echo "dllar: no input files"
53526 PrintHelp
53527 fi
53528
53529 # Now extract all .o files from .a files
53530 newInputFiles=""
53531 for file in ${D}inputFiles ; do
53532 case ${D}file in
53533 *.a | *.lib)
53534 case ${D}file in
53535 *.a)
53536 suffix=".a"
53537 AR="ar"
53538 ;;
53539 *.lib)
53540 suffix=".lib"
53541 AR="emxomfar"
53542 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53543 ;;
53544 *)
53545 ;;
53546 esac
53547 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53548 mkdir ${D}dirname
53549 if [ ${D}? -ne 0 ]; then
53550 echo "Failed to create subdirectory ./${D}dirname"
53551 CleanUp
53552 exit 8;
53553 fi
53554 # Append '!' to indicate archive
53555 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53556 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53557 cd ${D}curDir
53558 found=0;
53559 for subfile in ${D}dirname/*.o* ; do
53560 if [ -f ${D}subfile ]; then
53561 found=1
53562 if [ -s ${D}subfile ]; then
53563 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53564 newInputFiles="${D}newInputFiles ${D}subfile"
53565 fi
53566 fi
53567 done
53568 if [ ${D}found -eq 0 ]; then
53569 echo "WARNING: there are no files in archive \\'${D}file\\'"
53570 fi
53571 ;;
53572 *)
53573 newInputFiles="${D}{newInputFiles} ${D}file"
53574 ;;
53575 esac
53576 done
53577 inputFiles="${D}newInputFiles"
53578
53579 # Output filename(s).
53580 do_backup=0;
53581 if [ -z ${D}outFile ]; then
53582 do_backup=1;
53583 set outFile ${D}inputFiles; outFile=${D}2
53584 fi
53585
53586 # If it is an archive, remove the '!' and the '_%' suffixes
53587 case ${D}outFile in
53588 *_%!)
53589 outFile=\`basnam ${D}outFile _%!\`
53590 ;;
53591 *)
53592 ;;
53593 esac
53594 case ${D}outFile in
53595 *.dll)
53596 outFile=\`basnam ${D}outFile .dll\`
53597 ;;
53598 *.DLL)
53599 outFile=\`basnam ${D}outFile .DLL\`
53600 ;;
53601 *.o)
53602 outFile=\`basnam ${D}outFile .o\`
53603 ;;
53604 *.obj)
53605 outFile=\`basnam ${D}outFile .obj\`
53606 ;;
53607 *.a)
53608 outFile=\`basnam ${D}outFile .a\`
53609 ;;
53610 *.lib)
53611 outFile=\`basnam ${D}outFile .lib\`
53612 ;;
53613 *)
53614 ;;
53615 esac
53616 case ${D}outimpFile in
53617 *.a)
53618 outimpFile=\`basnam ${D}outimpFile .a\`
53619 ;;
53620 *.lib)
53621 outimpFile=\`basnam ${D}outimpFile .lib\`
53622 ;;
53623 *)
53624 ;;
53625 esac
53626 if [ -z ${D}outimpFile ]; then
53627 outimpFile=${D}outFile
53628 fi
53629 defFile="${D}{outFile}.def"
53630 arcFile="${D}{outimpFile}.a"
53631 arcFile2="${D}{outimpFile}.lib"
53632
53633 #create ${D}dllFile as something matching 8.3 restrictions,
53634 if [ -z ${D}renameScript ] ; then
53635 dllFile="${D}outFile"
53636 else
53637 dllFile=\`${D}renameScript ${D}outimpFile\`
53638 fi
53639
53640 if [ ${D}do_backup -ne 0 ] ; then
53641 if [ -f ${D}arcFile ] ; then
53642 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53643 fi
53644 if [ -f ${D}arcFile2 ] ; then
53645 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53646 fi
53647 fi
53648
53649 # Extract public symbols from all the object files.
53650 tmpdefFile=${D}{defFile}_%
53651 rm -f ${D}tmpdefFile
53652 for file in ${D}inputFiles ; do
53653 case ${D}file in
53654 *!)
53655 ;;
53656 *)
53657 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53658 ;;
53659 esac
53660 done
53661
53662 # Create the def file.
53663 rm -f ${D}defFile
53664 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53665 dllFile="${D}{dllFile}.dll"
53666 if [ ! -z ${D}description ]; then
53667 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53668 fi
53669 echo "EXPORTS" >> ${D}defFile
53670
53671 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53672 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53673
53674 # Checks if the export is ok or not.
53675 for word in ${D}exclude_symbols; do
53676 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53677 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53678 done
53679
53680
53681 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53682 sed "=" < ${D}tmpdefFile | \\
53683 sed '
53684 N
53685 : loop
53686 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53687 t loop
53688 ' > ${D}{tmpdefFile}%
53689 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53690 else
53691 rm -f ${D}{tmpdefFile}%
53692 fi
53693 cat ${D}tmpdefFile >> ${D}defFile
53694 rm -f ${D}tmpdefFile
53695
53696 # Do linking, create implib, and apply lxlite.
53697 gccCmdl="";
53698 for file in ${D}inputFiles ; do
53699 case ${D}file in
53700 *!)
53701 ;;
53702 *)
53703 gccCmdl="${D}gccCmdl ${D}file"
53704 ;;
53705 esac
53706 done
53707 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53708 touch "${D}{outFile}.dll"
53709
53710 doCommand "emximp -o ${D}arcFile ${D}defFile"
53711 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53712 add_flags="";
53713 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53714 add_flags="-ynd"
53715 fi
53716 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53717 fi
53718 doCommand "emxomf -s -l ${D}arcFile"
53719
53720 # Successful exit.
53721 CleanUp 1
53722 exit 0
53723 EOF
53724
53725 chmod +x dllar.sh
53726 ;;
53727
53728 powerpc-apple-macos* | \
53729 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
53730 *-*-mirbsd* | \
53731 *-*-sunos4* | \
53732 *-*-osf* | \
53733 *-*-dgux5* | \
53734 *-*-sysv5* | \
53735 *-pc-msdosdjgpp )
53736 ;;
53737
53738 *)
53739 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53740 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53741 { (exit 1); exit 1; }; }
53742 esac
53743
53744 if test "x$PIC_FLAG" != "x" ; then
53745 PIC_FLAG="$PIC_FLAG -DPIC"
53746 fi
53747
53748 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53749 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
53750 fi
53751 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53752 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
53753 fi
53754
53755
53756
53757
53758
53759
53760
53761
53762
53763 USE_SOVERSION=0
53764 USE_SOVERLINUX=0
53765 USE_SOVERSOLARIS=0
53766 USE_SOVERCYGWIN=0
53767 USE_SOTWOSYMLINKS=0
53768 USE_MACVERSION=0
53769 SONAME_FLAG=
53770
53771 case "${BAKEFILE_HOST}" in
53772 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53773 *-*-k*bsd*-gnu | *-*-mirbsd* )
53774 if test "x$SUNCXX" = "xyes"; then
53775 SONAME_FLAG="-h "
53776 else
53777 SONAME_FLAG="-Wl,-soname,"
53778 fi
53779 USE_SOVERSION=1
53780 USE_SOVERLINUX=1
53781 USE_SOTWOSYMLINKS=1
53782 ;;
53783
53784 *-*-solaris2* )
53785 SONAME_FLAG="-h "
53786 USE_SOVERSION=1
53787 USE_SOVERSOLARIS=1
53788 ;;
53789
53790 *-*-darwin* )
53791 USE_MACVERSION=1
53792 USE_SOVERSION=1
53793 USE_SOTWOSYMLINKS=1
53794 ;;
53795
53796 *-*-cygwin* )
53797 USE_SOVERSION=1
53798 USE_SOVERCYGWIN=1
53799 ;;
53800 esac
53801
53802
53803
53804
53805
53806
53807
53808
53809
53810
53811 # Check whether --enable-dependency-tracking was given.
53812 if test "${enable_dependency_tracking+set}" = set; then
53813 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
53814 fi
53815
53816
53817 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53818 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53819
53820 BK_DEPS=""
53821 if test "x$bk_use_trackdeps" = "xno" ; then
53822 DEPS_TRACKING=0
53823 { echo "$as_me:$LINENO: result: disabled" >&5
53824 echo "${ECHO_T}disabled" >&6; }
53825 else
53826 DEPS_TRACKING=1
53827
53828 if test "x$GCC" = "xyes"; then
53829 DEPSMODE=gcc
53830 case "${BAKEFILE_HOST}" in
53831 *-*-darwin* )
53832 DEPSFLAG="-no-cpp-precomp -MMD"
53833 ;;
53834 * )
53835 DEPSFLAG="-MMD"
53836 ;;
53837 esac
53838 { echo "$as_me:$LINENO: result: gcc" >&5
53839 echo "${ECHO_T}gcc" >&6; }
53840 elif test "x$MWCC" = "xyes"; then
53841 DEPSMODE=mwcc
53842 DEPSFLAG="-MM"
53843 { echo "$as_me:$LINENO: result: mwcc" >&5
53844 echo "${ECHO_T}mwcc" >&6; }
53845 elif test "x$SUNCC" = "xyes"; then
53846 DEPSMODE=unixcc
53847 DEPSFLAG="-xM1"
53848 { echo "$as_me:$LINENO: result: Sun cc" >&5
53849 echo "${ECHO_T}Sun cc" >&6; }
53850 elif test "x$SGICC" = "xyes"; then
53851 DEPSMODE=unixcc
53852 DEPSFLAG="-M"
53853 { echo "$as_me:$LINENO: result: SGI cc" >&5
53854 echo "${ECHO_T}SGI cc" >&6; }
53855 elif test "x$HPCC" = "xyes"; then
53856 DEPSMODE=unixcc
53857 DEPSFLAG="+make"
53858 { echo "$as_me:$LINENO: result: HP cc" >&5
53859 echo "${ECHO_T}HP cc" >&6; }
53860 elif test "x$COMPAQCC" = "xyes"; then
53861 DEPSMODE=gcc
53862 DEPSFLAG="-MD"
53863 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53864 echo "${ECHO_T}Compaq cc" >&6; }
53865 else
53866 DEPS_TRACKING=0
53867 { echo "$as_me:$LINENO: result: none" >&5
53868 echo "${ECHO_T}none" >&6; }
53869 fi
53870
53871 if test $DEPS_TRACKING = 1 ; then
53872
53873 D='$'
53874 cat <<EOF >bk-deps
53875 #!/bin/sh
53876
53877 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53878 # script. It is used to track C/C++ files dependencies in portable way.
53879 #
53880 # Permission is given to use this file in any way.
53881
53882 DEPSMODE=${DEPSMODE}
53883 DEPSFLAG="${DEPSFLAG}"
53884 DEPSDIRBASE=.deps
53885
53886 if test ${D}DEPSMODE = gcc ; then
53887 ${D}* ${D}{DEPSFLAG}
53888 status=${D}?
53889
53890 # determine location of created files:
53891 while test ${D}# -gt 0; do
53892 case "${D}1" in
53893 -o )
53894 shift
53895 objfile=${D}1
53896 ;;
53897 -* )
53898 ;;
53899 * )
53900 srcfile=${D}1
53901 ;;
53902 esac
53903 shift
53904 done
53905 objfilebase=\`basename ${D}objfile\`
53906 builddir=\`dirname ${D}objfile\`
53907 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53908 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53909 depsdir=${D}builddir/${D}DEPSDIRBASE
53910 mkdir -p ${D}depsdir
53911
53912 # if the compiler failed, we're done:
53913 if test ${D}{status} != 0 ; then
53914 rm -f ${D}depfile
53915 exit ${D}{status}
53916 fi
53917
53918 # move created file to the location we want it in:
53919 if test -f ${D}depfile ; then
53920 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53921 rm -f ${D}depfile
53922 else
53923 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53924 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53925 if test ! -f ${D}depfile ; then
53926 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53927 depfile="${D}objfile.d"
53928 fi
53929 if test -f ${D}depfile ; then
53930 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53931 rm -f ${D}depfile
53932 fi
53933 fi
53934 exit 0
53935
53936 elif test ${D}DEPSMODE = mwcc ; then
53937 ${D}* || exit ${D}?
53938 # Run mwcc again with -MM and redirect into the dep file we want
53939 # NOTE: We can't use shift here because we need ${D}* to be valid
53940 prevarg=
53941 for arg in ${D}* ; do
53942 if test "${D}prevarg" = "-o"; then
53943 objfile=${D}arg
53944 else
53945 case "${D}arg" in
53946 -* )
53947 ;;
53948 * )
53949 srcfile=${D}arg
53950 ;;
53951 esac
53952 fi
53953 prevarg="${D}arg"
53954 done
53955
53956 objfilebase=\`basename ${D}objfile\`
53957 builddir=\`dirname ${D}objfile\`
53958 depsdir=${D}builddir/${D}DEPSDIRBASE
53959 mkdir -p ${D}depsdir
53960
53961 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53962 exit 0
53963
53964 elif test ${D}DEPSMODE = unixcc; then
53965 ${D}* || exit ${D}?
53966 # Run compiler again with deps flag and redirect into the dep file.
53967 # It doesn't work if the '-o FILE' option is used, but without it the
53968 # dependency file will contain the wrong name for the object. So it is
53969 # removed from the command line, and the dep file is fixed with sed.
53970 cmd=""
53971 while test ${D}# -gt 0; do
53972 case "${D}1" in
53973 -o )
53974 shift
53975 objfile=${D}1
53976 ;;
53977 * )
53978 eval arg${D}#=\\${D}1
53979 cmd="${D}cmd \\${D}arg${D}#"
53980 ;;
53981 esac
53982 shift
53983 done
53984
53985 objfilebase=\`basename ${D}objfile\`
53986 builddir=\`dirname ${D}objfile\`
53987 depsdir=${D}builddir/${D}DEPSDIRBASE
53988 mkdir -p ${D}depsdir
53989
53990 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
53991 exit 0
53992
53993 else
53994 ${D}*
53995 exit ${D}?
53996 fi
53997 EOF
53998
53999 chmod +x bk-deps
54000 BK_DEPS="`pwd`/bk-deps"
54001 fi
54002 fi
54003
54004
54005
54006
54007
54008 case ${BAKEFILE_HOST} in
54009 *-*-cygwin* | *-*-mingw32* )
54010 if test -n "$ac_tool_prefix"; then
54011 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
54012 set dummy ${ac_tool_prefix}windres; ac_word=$2
54013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54015 if test "${ac_cv_prog_WINDRES+set}" = set; then
54016 echo $ECHO_N "(cached) $ECHO_C" >&6
54017 else
54018 if test -n "$WINDRES"; then
54019 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
54020 else
54021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54022 for as_dir in $PATH
54023 do
54024 IFS=$as_save_IFS
54025 test -z "$as_dir" && as_dir=.
54026 for ac_exec_ext in '' $ac_executable_extensions; do
54027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54028 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
54029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54030 break 2
54031 fi
54032 done
54033 done
54034 IFS=$as_save_IFS
54035
54036 fi
54037 fi
54038 WINDRES=$ac_cv_prog_WINDRES
54039 if test -n "$WINDRES"; then
54040 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54041 echo "${ECHO_T}$WINDRES" >&6; }
54042 else
54043 { echo "$as_me:$LINENO: result: no" >&5
54044 echo "${ECHO_T}no" >&6; }
54045 fi
54046
54047
54048 fi
54049 if test -z "$ac_cv_prog_WINDRES"; then
54050 ac_ct_WINDRES=$WINDRES
54051 # Extract the first word of "windres", so it can be a program name with args.
54052 set dummy windres; ac_word=$2
54053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54055 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54056 echo $ECHO_N "(cached) $ECHO_C" >&6
54057 else
54058 if test -n "$ac_ct_WINDRES"; then
54059 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
54060 else
54061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54062 for as_dir in $PATH
54063 do
54064 IFS=$as_save_IFS
54065 test -z "$as_dir" && as_dir=.
54066 for ac_exec_ext in '' $ac_executable_extensions; do
54067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54068 ac_cv_prog_ac_ct_WINDRES="windres"
54069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54070 break 2
54071 fi
54072 done
54073 done
54074 IFS=$as_save_IFS
54075
54076 fi
54077 fi
54078 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
54079 if test -n "$ac_ct_WINDRES"; then
54080 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54081 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54082 else
54083 { echo "$as_me:$LINENO: result: no" >&5
54084 echo "${ECHO_T}no" >&6; }
54085 fi
54086
54087 if test "x$ac_ct_WINDRES" = x; then
54088 WINDRES=""
54089 else
54090 case $cross_compiling:$ac_tool_warned in
54091 yes:)
54092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54093 whose name does not start with the host triplet. If you think this
54094 configuration is useful to you, please write to autoconf@gnu.org." >&5
54095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54096 whose name does not start with the host triplet. If you think this
54097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54098 ac_tool_warned=yes ;;
54099 esac
54100 WINDRES=$ac_ct_WINDRES
54101 fi
54102 else
54103 WINDRES="$ac_cv_prog_WINDRES"
54104 fi
54105
54106 ;;
54107
54108 *-*-darwin* | powerpc-apple-macos* )
54109 # Extract the first word of "Rez", so it can be a program name with args.
54110 set dummy Rez; ac_word=$2
54111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54113 if test "${ac_cv_prog_REZ+set}" = set; then
54114 echo $ECHO_N "(cached) $ECHO_C" >&6
54115 else
54116 if test -n "$REZ"; then
54117 ac_cv_prog_REZ="$REZ" # Let the user override the test.
54118 else
54119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54120 for as_dir in $PATH
54121 do
54122 IFS=$as_save_IFS
54123 test -z "$as_dir" && as_dir=.
54124 for ac_exec_ext in '' $ac_executable_extensions; do
54125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54126 ac_cv_prog_REZ="Rez"
54127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54128 break 2
54129 fi
54130 done
54131 done
54132 IFS=$as_save_IFS
54133
54134 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
54135 fi
54136 fi
54137 REZ=$ac_cv_prog_REZ
54138 if test -n "$REZ"; then
54139 { echo "$as_me:$LINENO: result: $REZ" >&5
54140 echo "${ECHO_T}$REZ" >&6; }
54141 else
54142 { echo "$as_me:$LINENO: result: no" >&5
54143 echo "${ECHO_T}no" >&6; }
54144 fi
54145
54146
54147 # Extract the first word of "SetFile", so it can be a program name with args.
54148 set dummy SetFile; ac_word=$2
54149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54151 if test "${ac_cv_prog_SETFILE+set}" = set; then
54152 echo $ECHO_N "(cached) $ECHO_C" >&6
54153 else
54154 if test -n "$SETFILE"; then
54155 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
54156 else
54157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54158 for as_dir in $PATH
54159 do
54160 IFS=$as_save_IFS
54161 test -z "$as_dir" && as_dir=.
54162 for ac_exec_ext in '' $ac_executable_extensions; do
54163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54164 ac_cv_prog_SETFILE="SetFile"
54165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54166 break 2
54167 fi
54168 done
54169 done
54170 IFS=$as_save_IFS
54171
54172 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
54173 fi
54174 fi
54175 SETFILE=$ac_cv_prog_SETFILE
54176 if test -n "$SETFILE"; then
54177 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54178 echo "${ECHO_T}$SETFILE" >&6; }
54179 else
54180 { echo "$as_me:$LINENO: result: no" >&5
54181 echo "${ECHO_T}no" >&6; }
54182 fi
54183
54184
54185 ;;
54186 esac
54187
54188
54189
54190
54191
54192
54193
54194
54195
54196 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
54197
54198
54199 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
54200
54201
54202
54203 # Check whether --enable-precomp-headers was given.
54204 if test "${enable_precomp_headers+set}" = set; then
54205 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
54206 fi
54207
54208
54209 GCC_PCH=0
54210 ICC_PCH=0
54211 USE_PCH=0
54212 BK_MAKE_PCH=""
54213
54214 case ${BAKEFILE_HOST} in
54215 *-*-cygwin* )
54216 bk_use_pch="no"
54217 ;;
54218 esac
54219
54220 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54221 if test "x$GCC" = "xyes"; then
54222 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54223 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54224 cat >conftest.$ac_ext <<_ACEOF
54225 /* confdefs.h. */
54226 _ACEOF
54227 cat confdefs.h >>conftest.$ac_ext
54228 cat >>conftest.$ac_ext <<_ACEOF
54229 /* end confdefs.h. */
54230
54231 int
54232 main ()
54233 {
54234
54235 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54236 There is no PCH support
54237 #endif
54238 #if (__GNUC__ < 3)
54239 There is no PCH support
54240 #endif
54241 #if (__GNUC__ == 3) && \
54242 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54243 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54244 ( defined(__INTEL_COMPILER) )
54245 There is no PCH support
54246 #endif
54247
54248 ;
54249 return 0;
54250 }
54251 _ACEOF
54252 rm -f conftest.$ac_objext
54253 if { (ac_try="$ac_compile"
54254 case "(($ac_try" in
54255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54256 *) ac_try_echo=$ac_try;;
54257 esac
54258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54259 (eval "$ac_compile") 2>conftest.er1
54260 ac_status=$?
54261 grep -v '^ *+' conftest.er1 >conftest.err
54262 rm -f conftest.er1
54263 cat conftest.err >&5
54264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54265 (exit $ac_status); } && {
54266 test -z "$ac_c_werror_flag" ||
54267 test ! -s conftest.err
54268 } && test -s conftest.$ac_objext; then
54269
54270 { echo "$as_me:$LINENO: result: yes" >&5
54271 echo "${ECHO_T}yes" >&6; }
54272 GCC_PCH=1
54273
54274 else
54275 echo "$as_me: failed program was:" >&5
54276 sed 's/^/| /' conftest.$ac_ext >&5
54277
54278
54279 if test "$INTELCXX8" = "yes"; then
54280 { echo "$as_me:$LINENO: result: yes" >&5
54281 echo "${ECHO_T}yes" >&6; }
54282 ICC_PCH=1
54283 if test "$INTELCXX10" = "yes"; then
54284 ICC_PCH_CREATE_SWITCH="-pch-create"
54285 ICC_PCH_USE_SWITCH="-pch-use"
54286 else
54287 ICC_PCH_CREATE_SWITCH="-create-pch"
54288 ICC_PCH_USE_SWITCH="-use-pch"
54289 fi
54290 else
54291 { echo "$as_me:$LINENO: result: no" >&5
54292 echo "${ECHO_T}no" >&6; }
54293 fi
54294
54295 fi
54296
54297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54298 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54299 USE_PCH=1
54300
54301 D='$'
54302 cat <<EOF >bk-make-pch
54303 #!/bin/sh
54304
54305 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54306 # script. It is used to generated precompiled headers.
54307 #
54308 # Permission is given to use this file in any way.
54309
54310 outfile="${D}{1}"
54311 header="${D}{2}"
54312 shift
54313 shift
54314
54315 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
54316
54317 compiler=""
54318 headerfile=""
54319
54320 while test ${D}{#} -gt 0; do
54321 add_to_cmdline=1
54322 case "${D}{1}" in
54323 -I* )
54324 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
54325 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54326 headerfile="${D}{incdir}/${D}{header}"
54327 fi
54328 ;;
54329 -use-pch|-use_pch|-pch-use )
54330 shift
54331 add_to_cmdline=0
54332 ;;
54333 esac
54334 if test ${D}add_to_cmdline = 1 ; then
54335 compiler="${D}{compiler} ${D}{1}"
54336 fi
54337 shift
54338 done
54339
54340 if test "x${D}{headerfile}" = "x" ; then
54341 echo "error: can't find header ${D}{header} in include paths" >&2
54342 else
54343 if test -f ${D}{outfile} ; then
54344 rm -f ${D}{outfile}
54345 else
54346 mkdir -p \`dirname ${D}{outfile}\`
54347 fi
54348 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
54349 mkdir -p ${D}{builddir}/.deps
54350 if test "x${GCC_PCH}" = "x1" ; then
54351 # can do this because gcc is >= 3.4:
54352 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54353 elif test "x${ICC_PCH}" = "x1" ; then
54354 filename=pch_gen-${D}${D}
54355 file=${D}{filename}.c
54356 dfile=${D}{filename}.d
54357 cat > ${D}file <<EOT
54358 #include "${D}header"
54359 EOT
54360 # using -MF icc complains about differing command lines in creation/use
54361 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54362 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54363 rm -f ${D}file ${D}dfile ${D}{filename}.o
54364 fi
54365 exit ${D}{?}
54366 fi
54367 EOF
54368
54369 chmod +x bk-make-pch
54370 BK_MAKE_PCH="`pwd`/bk-make-pch"
54371 fi
54372 fi
54373 fi
54374
54375
54376
54377
54378
54379
54380
54381 COND_BUILD_DEBUG="#"
54382 if test "x$BUILD" = "xdebug" ; then
54383 COND_BUILD_DEBUG=""
54384 fi
54385
54386 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54387 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54388 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54389 fi
54390
54391 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54392 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54393 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54394 fi
54395
54396 COND_BUILD_DEBUG_UNICODE_0="#"
54397 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54398 COND_BUILD_DEBUG_UNICODE_0=""
54399 fi
54400
54401 COND_BUILD_DEBUG_UNICODE_1="#"
54402 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54403 COND_BUILD_DEBUG_UNICODE_1=""
54404 fi
54405
54406 COND_BUILD_RELEASE="#"
54407 if test "x$BUILD" = "xrelease" ; then
54408 COND_BUILD_RELEASE=""
54409 fi
54410
54411 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54412 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54413 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54414 fi
54415
54416 COND_BUILD_RELEASE_UNICODE_0="#"
54417 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54418 COND_BUILD_RELEASE_UNICODE_0=""
54419 fi
54420
54421 COND_BUILD_RELEASE_UNICODE_1="#"
54422 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54423 COND_BUILD_RELEASE_UNICODE_1=""
54424 fi
54425
54426 COND_BUILD_debug="#"
54427 if test "x$BUILD" = "xdebug" ; then
54428 COND_BUILD_debug=""
54429 fi
54430
54431 COND_BUILD_debug_DEBUG_FLAG_default="#"
54432 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54433 COND_BUILD_debug_DEBUG_FLAG_default=""
54434 fi
54435
54436 COND_BUILD_debug_DEBUG_INFO_default="#"
54437 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54438 COND_BUILD_debug_DEBUG_INFO_default=""
54439 fi
54440
54441 COND_BUILD_debug_UNICODE_0="#"
54442 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54443 COND_BUILD_debug_UNICODE_0=""
54444 fi
54445
54446 COND_BUILD_debug_UNICODE_1="#"
54447 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54448 COND_BUILD_debug_UNICODE_1=""
54449 fi
54450
54451 COND_BUILD_release="#"
54452 if test "x$BUILD" = "xrelease" ; then
54453 COND_BUILD_release=""
54454 fi
54455
54456 COND_BUILD_release_DEBUG_INFO_default="#"
54457 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54458 COND_BUILD_release_DEBUG_INFO_default=""
54459 fi
54460
54461 COND_BUILD_release_UNICODE_0="#"
54462 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54463 COND_BUILD_release_UNICODE_0=""
54464 fi
54465
54466 COND_BUILD_release_UNICODE_1="#"
54467 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54468 COND_BUILD_release_UNICODE_1=""
54469 fi
54470
54471 COND_DEBUG_FLAG_0="#"
54472 if test "x$DEBUG_FLAG" = "x0" ; then
54473 COND_DEBUG_FLAG_0=""
54474 fi
54475
54476 COND_DEBUG_FLAG_1="#"
54477 if test "x$DEBUG_FLAG" = "x1" ; then
54478 COND_DEBUG_FLAG_1=""
54479 fi
54480
54481 COND_DEBUG_INFO_0="#"
54482 if test "x$DEBUG_INFO" = "x0" ; then
54483 COND_DEBUG_INFO_0=""
54484 fi
54485
54486 COND_DEBUG_INFO_1="#"
54487 if test "x$DEBUG_INFO" = "x1" ; then
54488 COND_DEBUG_INFO_1=""
54489 fi
54490
54491 COND_DEPS_TRACKING_0="#"
54492 if test "x$DEPS_TRACKING" = "x0" ; then
54493 COND_DEPS_TRACKING_0=""
54494 fi
54495
54496 COND_DEPS_TRACKING_1="#"
54497 if test "x$DEPS_TRACKING" = "x1" ; then
54498 COND_DEPS_TRACKING_1=""
54499 fi
54500
54501 COND_GCC_PCH_1="#"
54502 if test "x$GCC_PCH" = "x1" ; then
54503 COND_GCC_PCH_1=""
54504 fi
54505
54506 COND_ICC_PCH_1="#"
54507 if test "x$ICC_PCH" = "x1" ; then
54508 COND_ICC_PCH_1=""
54509 fi
54510
54511 COND_MONOLITHIC_0="#"
54512 if test "x$MONOLITHIC" = "x0" ; then
54513 COND_MONOLITHIC_0=""
54514 fi
54515
54516 COND_MONOLITHIC_0_SHARED_0="#"
54517 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54518 COND_MONOLITHIC_0_SHARED_0=""
54519 fi
54520
54521 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54522 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54523 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54524 fi
54525
54526 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54528 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54529 fi
54530
54531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54534 fi
54535
54536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54539 fi
54540
54541 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54544 fi
54545
54546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54549 fi
54550
54551 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54553 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54554 fi
54555
54556 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54558 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54559 fi
54560
54561 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54563 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54564 fi
54565
54566 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54568 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54569 fi
54570
54571 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54573 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54574 fi
54575
54576 COND_MONOLITHIC_0_SHARED_1="#"
54577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54578 COND_MONOLITHIC_0_SHARED_1=""
54579 fi
54580
54581 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54583 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54584 fi
54585
54586 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54588 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54589 fi
54590
54591 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54593 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54594 fi
54595
54596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54599 fi
54600
54601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54603 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54604 fi
54605
54606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54609 fi
54610
54611 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54612 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54613 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54614 fi
54615
54616 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54617 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54618 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54619 fi
54620
54621 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54622 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54623 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54624 fi
54625
54626 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54627 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54628 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54629 fi
54630
54631 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54632 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54633 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54634 fi
54635
54636 COND_MONOLITHIC_0_USE_AUI_1="#"
54637 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54638 COND_MONOLITHIC_0_USE_AUI_1=""
54639 fi
54640
54641 COND_MONOLITHIC_0_USE_GUI_1="#"
54642 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54643 COND_MONOLITHIC_0_USE_GUI_1=""
54644 fi
54645
54646 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54647 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54648 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54649 fi
54650
54651 COND_MONOLITHIC_0_USE_HTML_1="#"
54652 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54653 COND_MONOLITHIC_0_USE_HTML_1=""
54654 fi
54655
54656 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54657 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54658 COND_MONOLITHIC_0_USE_MEDIA_1=""
54659 fi
54660
54661 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54662 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54663 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54664 fi
54665
54666 COND_MONOLITHIC_0_USE_QA_1="#"
54667 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54668 COND_MONOLITHIC_0_USE_QA_1=""
54669 fi
54670
54671 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54672 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54673 COND_MONOLITHIC_0_USE_RIBBON_1=""
54674 fi
54675
54676 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54677 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54678 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54679 fi
54680
54681 COND_MONOLITHIC_0_USE_STC_1="#"
54682 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54683 COND_MONOLITHIC_0_USE_STC_1=""
54684 fi
54685
54686 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54687 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54688 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54689 fi
54690
54691 COND_MONOLITHIC_0_USE_XRC_1="#"
54692 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54693 COND_MONOLITHIC_0_USE_XRC_1=""
54694 fi
54695
54696 COND_MONOLITHIC_1="#"
54697 if test "x$MONOLITHIC" = "x1" ; then
54698 COND_MONOLITHIC_1=""
54699 fi
54700
54701 COND_MONOLITHIC_1_SHARED_0="#"
54702 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54703 COND_MONOLITHIC_1_SHARED_0=""
54704 fi
54705
54706 COND_MONOLITHIC_1_SHARED_1="#"
54707 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54708 COND_MONOLITHIC_1_SHARED_1=""
54709 fi
54710
54711 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54712 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54713 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54714 fi
54715
54716 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54717 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54718 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54719 fi
54720
54721 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54722 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54723 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54724 fi
54725
54726 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54727 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54728 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54729 fi
54730
54731 COND_PLATFORM_MACOSX_1="#"
54732 if test "x$PLATFORM_MACOSX" = "x1" ; then
54733 COND_PLATFORM_MACOSX_1=""
54734 fi
54735
54736 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54737 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54738 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54739 fi
54740
54741 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54742 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54743 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54744 fi
54745
54746 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54747 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54748 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54749 fi
54750
54751 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54752 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54753 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54754 fi
54755
54756 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54757 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54758 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54759 fi
54760
54761 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54762 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54763 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54764 fi
54765
54766 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54767 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54768 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54769 fi
54770
54771 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54772 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54773 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54774 fi
54775
54776 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54777 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54778 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54779 fi
54780
54781 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54782 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54783 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54784 fi
54785
54786 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54787 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54788 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54789 fi
54790
54791 COND_PLATFORM_MACOS_1="#"
54792 if test "x$PLATFORM_MACOS" = "x1" ; then
54793 COND_PLATFORM_MACOS_1=""
54794 fi
54795
54796 COND_PLATFORM_MAC_0="#"
54797 if test "x$PLATFORM_MAC" = "x0" ; then
54798 COND_PLATFORM_MAC_0=""
54799 fi
54800
54801 COND_PLATFORM_MAC_1="#"
54802 if test "x$PLATFORM_MAC" = "x1" ; then
54803 COND_PLATFORM_MAC_1=""
54804 fi
54805
54806 COND_PLATFORM_MSDOS_0="#"
54807 if test "x$PLATFORM_MSDOS" = "x0" ; then
54808 COND_PLATFORM_MSDOS_0=""
54809 fi
54810
54811 COND_PLATFORM_MSDOS_1="#"
54812 if test "x$PLATFORM_MSDOS" = "x1" ; then
54813 COND_PLATFORM_MSDOS_1=""
54814 fi
54815
54816 COND_PLATFORM_OS2_1="#"
54817 if test "x$PLATFORM_OS2" = "x1" ; then
54818 COND_PLATFORM_OS2_1=""
54819 fi
54820
54821 COND_PLATFORM_UNIX_0="#"
54822 if test "x$PLATFORM_UNIX" = "x0" ; then
54823 COND_PLATFORM_UNIX_0=""
54824 fi
54825
54826 COND_PLATFORM_UNIX_1="#"
54827 if test "x$PLATFORM_UNIX" = "x1" ; then
54828 COND_PLATFORM_UNIX_1=""
54829 fi
54830
54831 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54832 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54833 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54834 fi
54835
54836 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54837 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54838 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54839 fi
54840
54841 COND_PLATFORM_WIN32_0="#"
54842 if test "x$PLATFORM_WIN32" = "x0" ; then
54843 COND_PLATFORM_WIN32_0=""
54844 fi
54845
54846 COND_PLATFORM_WIN32_1="#"
54847 if test "x$PLATFORM_WIN32" = "x1" ; then
54848 COND_PLATFORM_WIN32_1=""
54849 fi
54850
54851 COND_PLATFORM_WIN32_1_SHARED_0="#"
54852 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54853 COND_PLATFORM_WIN32_1_SHARED_0=""
54854 fi
54855
54856 COND_SHARED_0="#"
54857 if test "x$SHARED" = "x0" ; then
54858 COND_SHARED_0=""
54859 fi
54860
54861 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54862 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54863 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54864 fi
54865
54866 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54867 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54868 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54869 fi
54870
54871 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54872 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54873 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54874 fi
54875
54876 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54877 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54878 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54879 fi
54880
54881 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54882 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54883 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54884 fi
54885
54886 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54887 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54888 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54889 fi
54890
54891 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54892 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54893 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54894 fi
54895
54896 COND_SHARED_0_USE_STC_1="#"
54897 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54898 COND_SHARED_0_USE_STC_1=""
54899 fi
54900
54901 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54902 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54903 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54904 fi
54905
54906 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54907 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54908 COND_SHARED_0_wxUSE_REGEX_builtin=""
54909 fi
54910
54911 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54912 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54913 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54914 fi
54915
54916 COND_SHARED_1="#"
54917 if test "x$SHARED" = "x1" ; then
54918 COND_SHARED_1=""
54919 fi
54920
54921 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54922 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54924 fi
54925
54926 COND_TOOLKIT_="#"
54927 if test "x$TOOLKIT" = "x" ; then
54928 COND_TOOLKIT_=""
54929 fi
54930
54931 COND_TOOLKIT_COCOA="#"
54932 if test "x$TOOLKIT" = "xCOCOA" ; then
54933 COND_TOOLKIT_COCOA=""
54934 fi
54935
54936 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54937 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54938 COND_TOOLKIT_COCOA_USE_GUI_1=""
54939 fi
54940
54941 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54942 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54943 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54944 fi
54945
54946 COND_TOOLKIT_DFB="#"
54947 if test "x$TOOLKIT" = "xDFB" ; then
54948 COND_TOOLKIT_DFB=""
54949 fi
54950
54951 COND_TOOLKIT_DFB_USE_GUI_1="#"
54952 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54953 COND_TOOLKIT_DFB_USE_GUI_1=""
54954 fi
54955
54956 COND_TOOLKIT_GTK="#"
54957 if test "x$TOOLKIT" = "xGTK" ; then
54958 COND_TOOLKIT_GTK=""
54959 fi
54960
54961 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54962 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54963 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54964 fi
54965
54966 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54967 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54968 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54969 fi
54970
54971 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54972 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54973 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54974 fi
54975
54976 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54977 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54978 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54979 fi
54980
54981 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54982 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54983 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54984 fi
54985
54986 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54987 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54988 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54989 fi
54990
54991 COND_TOOLKIT_GTK_USE_GUI_1="#"
54992 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54993 COND_TOOLKIT_GTK_USE_GUI_1=""
54994 fi
54995
54996 COND_TOOLKIT_MAC="#"
54997 if test "x$TOOLKIT" = "xMAC" ; then
54998 COND_TOOLKIT_MAC=""
54999 fi
55000
55001 COND_TOOLKIT_MOTIF="#"
55002 if test "x$TOOLKIT" = "xMOTIF" ; then
55003 COND_TOOLKIT_MOTIF=""
55004 fi
55005
55006 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
55007 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
55008 COND_TOOLKIT_MOTIF_USE_GUI_1=""
55009 fi
55010
55011 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
55012 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55013 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
55014 fi
55015
55016 COND_TOOLKIT_MSW="#"
55017 if test "x$TOOLKIT" = "xMSW" ; then
55018 COND_TOOLKIT_MSW=""
55019 fi
55020
55021 COND_TOOLKIT_MSW_USE_GUI_1="#"
55022 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55023 COND_TOOLKIT_MSW_USE_GUI_1=""
55024 fi
55025
55026 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55027 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55028 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55029 fi
55030
55031 COND_TOOLKIT_MSW_WXUNIV_0="#"
55032 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55033 COND_TOOLKIT_MSW_WXUNIV_0=""
55034 fi
55035
55036 COND_TOOLKIT_OSX_CARBON="#"
55037 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55038 COND_TOOLKIT_OSX_CARBON=""
55039 fi
55040
55041 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55042 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55043 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55044 fi
55045
55046 COND_TOOLKIT_OSX_COCOA="#"
55047 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55048 COND_TOOLKIT_OSX_COCOA=""
55049 fi
55050
55051 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55052 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55053 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55054 fi
55055
55056 COND_TOOLKIT_OSX_IPHONE="#"
55057 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55058 COND_TOOLKIT_OSX_IPHONE=""
55059 fi
55060
55061 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55062 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55063 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55064 fi
55065
55066 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55067 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55068 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55069 fi
55070
55071 COND_TOOLKIT_PM="#"
55072 if test "x$TOOLKIT" = "xPM" ; then
55073 COND_TOOLKIT_PM=""
55074 fi
55075
55076 COND_TOOLKIT_PM_USE_GUI_1="#"
55077 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55078 COND_TOOLKIT_PM_USE_GUI_1=""
55079 fi
55080
55081 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55082 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55083 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55084 fi
55085
55086 COND_TOOLKIT_WINCE="#"
55087 if test "x$TOOLKIT" = "xWINCE" ; then
55088 COND_TOOLKIT_WINCE=""
55089 fi
55090
55091 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55092 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55093 COND_TOOLKIT_WINCE_USE_GUI_1=""
55094 fi
55095
55096 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55097 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55098 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55099 fi
55100
55101 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55102 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55103 COND_TOOLKIT_WINCE_WXUNIV_0=""
55104 fi
55105
55106 COND_TOOLKIT_X11="#"
55107 if test "x$TOOLKIT" = "xX11" ; then
55108 COND_TOOLKIT_X11=""
55109 fi
55110
55111 COND_TOOLKIT_X11_USE_GUI_1="#"
55112 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55113 COND_TOOLKIT_X11_USE_GUI_1=""
55114 fi
55115
55116 COND_UNICODE_1="#"
55117 if test "x$UNICODE" = "x1" ; then
55118 COND_UNICODE_1=""
55119 fi
55120
55121 COND_USE_CAIRO_1="#"
55122 if test "x$USE_CAIRO" = "x1" ; then
55123 COND_USE_CAIRO_1=""
55124 fi
55125
55126 COND_USE_EXCEPTIONS_0="#"
55127 if test "x$USE_EXCEPTIONS" = "x0" ; then
55128 COND_USE_EXCEPTIONS_0=""
55129 fi
55130
55131 COND_USE_EXCEPTIONS_1="#"
55132 if test "x$USE_EXCEPTIONS" = "x1" ; then
55133 COND_USE_EXCEPTIONS_1=""
55134 fi
55135
55136 COND_USE_GUI_0="#"
55137 if test "x$USE_GUI" = "x0" ; then
55138 COND_USE_GUI_0=""
55139 fi
55140
55141 COND_USE_GUI_1="#"
55142 if test "x$USE_GUI" = "x1" ; then
55143 COND_USE_GUI_1=""
55144 fi
55145
55146 COND_USE_GUI_1_USE_OPENGL_1="#"
55147 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55148 COND_USE_GUI_1_USE_OPENGL_1=""
55149 fi
55150
55151 COND_USE_GUI_1_WXUNIV_0="#"
55152 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55153 COND_USE_GUI_1_WXUNIV_0=""
55154 fi
55155
55156 COND_USE_GUI_1_WXUNIV_1="#"
55157 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55158 COND_USE_GUI_1_WXUNIV_1=""
55159 fi
55160
55161 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55162 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55163 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55164 fi
55165
55166 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55167 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55168 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55169 fi
55170
55171 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55172 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55173 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55174 fi
55175
55176 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55177 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55178 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55179 fi
55180
55181 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55182 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55183 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55184 fi
55185
55186 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55187 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55188 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55189 fi
55190
55191 COND_USE_OPENGL_1="#"
55192 if test "x$USE_OPENGL" = "x1" ; then
55193 COND_USE_OPENGL_1=""
55194 fi
55195
55196 COND_USE_PCH_1="#"
55197 if test "x$USE_PCH" = "x1" ; then
55198 COND_USE_PCH_1=""
55199 fi
55200
55201 COND_USE_PLUGINS_0="#"
55202 if test "x$USE_PLUGINS" = "x0" ; then
55203 COND_USE_PLUGINS_0=""
55204 fi
55205
55206 COND_USE_RTTI_0="#"
55207 if test "x$USE_RTTI" = "x0" ; then
55208 COND_USE_RTTI_0=""
55209 fi
55210
55211 COND_USE_RTTI_1="#"
55212 if test "x$USE_RTTI" = "x1" ; then
55213 COND_USE_RTTI_1=""
55214 fi
55215
55216 COND_USE_SOTWOSYMLINKS_1="#"
55217 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55218 COND_USE_SOTWOSYMLINKS_1=""
55219 fi
55220
55221 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55222 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55223 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55224 fi
55225
55226 COND_USE_SOVERLINUX_1="#"
55227 if test "x$USE_SOVERLINUX" = "x1" ; then
55228 COND_USE_SOVERLINUX_1=""
55229 fi
55230
55231 COND_USE_SOVERSION_0="#"
55232 if test "x$USE_SOVERSION" = "x0" ; then
55233 COND_USE_SOVERSION_0=""
55234 fi
55235
55236 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55237 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55238 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55239 fi
55240
55241 COND_USE_SOVERSOLARIS_1="#"
55242 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55243 COND_USE_SOVERSOLARIS_1=""
55244 fi
55245
55246 COND_USE_STC_1="#"
55247 if test "x$USE_STC" = "x1" ; then
55248 COND_USE_STC_1=""
55249 fi
55250
55251 COND_USE_THREADS_0="#"
55252 if test "x$USE_THREADS" = "x0" ; then
55253 COND_USE_THREADS_0=""
55254 fi
55255
55256 COND_USE_THREADS_1="#"
55257 if test "x$USE_THREADS" = "x1" ; then
55258 COND_USE_THREADS_1=""
55259 fi
55260
55261 COND_USE_XRC_1="#"
55262 if test "x$USE_XRC" = "x1" ; then
55263 COND_USE_XRC_1=""
55264 fi
55265
55266 COND_WINDOWS_IMPLIB_1="#"
55267 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55268 COND_WINDOWS_IMPLIB_1=""
55269 fi
55270
55271 COND_WITH_PLUGIN_SDL_1="#"
55272 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55273 COND_WITH_PLUGIN_SDL_1=""
55274 fi
55275
55276 COND_WXUNIV_0="#"
55277 if test "x$WXUNIV" = "x0" ; then
55278 COND_WXUNIV_0=""
55279 fi
55280
55281 COND_WXUNIV_1="#"
55282 if test "x$WXUNIV" = "x1" ; then
55283 COND_WXUNIV_1=""
55284 fi
55285
55286 COND_WXUSE_EXPAT_BUILTIN="#"
55287 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55288 COND_WXUSE_EXPAT_BUILTIN=""
55289 fi
55290
55291 COND_WXUSE_LIBJPEG_BUILTIN="#"
55292 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55293 COND_WXUSE_LIBJPEG_BUILTIN=""
55294 fi
55295
55296 COND_WXUSE_LIBPNG_BUILTIN="#"
55297 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55298 COND_WXUSE_LIBPNG_BUILTIN=""
55299 fi
55300
55301 COND_WXUSE_LIBTIFF_BUILTIN="#"
55302 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55303 COND_WXUSE_LIBTIFF_BUILTIN=""
55304 fi
55305
55306 COND_WXUSE_REGEX_BUILTIN="#"
55307 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55308 COND_WXUSE_REGEX_BUILTIN=""
55309 fi
55310
55311 COND_WXUSE_ZLIB_BUILTIN="#"
55312 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55313 COND_WXUSE_ZLIB_BUILTIN=""
55314 fi
55315
55316 COND_wxUSE_EXPAT_builtin="#"
55317 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55318 COND_wxUSE_EXPAT_builtin=""
55319 fi
55320
55321 COND_wxUSE_LIBJPEG_builtin="#"
55322 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55323 COND_wxUSE_LIBJPEG_builtin=""
55324 fi
55325
55326 COND_wxUSE_LIBPNG_builtin="#"
55327 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55328 COND_wxUSE_LIBPNG_builtin=""
55329 fi
55330
55331 COND_wxUSE_LIBTIFF_builtin="#"
55332 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55333 COND_wxUSE_LIBTIFF_builtin=""
55334 fi
55335
55336 COND_wxUSE_REGEX_builtin="#"
55337 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55338 COND_wxUSE_REGEX_builtin=""
55339 fi
55340
55341 COND_wxUSE_ZLIB_builtin="#"
55342 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55343 COND_wxUSE_ZLIB_builtin=""
55344 fi
55345
55346
55347
55348 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55349 { { 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
55350 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;}
55351 { (exit 1); exit 1; }; }
55352 fi
55353
55354 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55355 { { 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
55356 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;}
55357 { (exit 1); exit 1; }; }
55358 fi
55359
55360
55361 case ${INSTALL} in
55362 /* ) # Absolute
55363 ;;
55364 ?:* ) # Drive letter, considered as absolute.
55365 ;;
55366 *)
55367 INSTALL=`pwd`/${INSTALL} ;;
55368 esac
55369
55370 if test "$wxUSE_GUI" = "yes"; then
55371
55372 if test "$wxUSE_MSW" = 1 ; then
55373 if test "x$WINDRES" = "x"; then
55374 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55375 echo "$as_me: error: Required windres program not found" >&2;}
55376 { (exit 1); exit 1; }; }
55377 fi
55378
55379 RESCOMP="$WINDRES"
55380 fi
55381
55382 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55383 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55384 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55385
55386 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55387
55388 # Extract the first word of "DeRez", so it can be a program name with args.
55389 set dummy DeRez; ac_word=$2
55390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55392 if test "${ac_cv_prog_DEREZ+set}" = set; then
55393 echo $ECHO_N "(cached) $ECHO_C" >&6
55394 else
55395 if test -n "$DEREZ"; then
55396 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55397 else
55398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55399 for as_dir in $PATH
55400 do
55401 IFS=$as_save_IFS
55402 test -z "$as_dir" && as_dir=.
55403 for ac_exec_ext in '' $ac_executable_extensions; do
55404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55405 ac_cv_prog_DEREZ="DeRez"
55406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55407 break 2
55408 fi
55409 done
55410 done
55411 IFS=$as_save_IFS
55412
55413 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55414 fi
55415 fi
55416 DEREZ=$ac_cv_prog_DEREZ
55417 if test -n "$DEREZ"; then
55418 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55419 echo "${ECHO_T}$DEREZ" >&6; }
55420 else
55421 { echo "$as_me:$LINENO: result: no" >&5
55422 echo "${ECHO_T}no" >&6; }
55423 fi
55424
55425
55426
55427 MACSETFILE="\$(SETFILE)"
55428
55429 if test "$wxUSE_OSX_CARBON" = 1; then
55430 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55431 RESCOMP="$REZ"
55432 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55433 else
55434 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55435 RESCOMP="cat /dev/null \| $REZ"
55436 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55437 fi
55438
55439 else
55440 MACSETFILE="@true"
55441
55442 if test "$wxUSE_PM" = 1; then
55443 RESCOMP="emxbind"
55444 WXCONFIG_RESFLAGS="-ep"
55445
55446 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55447 else
55448 POSTLINK_COMMAND="@true"
55449 fi
55450 fi
55451
55452 fi
55453
55454
55455 if test $GCC_PCH = 1
55456 then
55457 if test "$wx_cv_gcc_pch_bug" = yes; then
55458 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55459 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55460 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55461 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55462 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55463 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55464 fi
55465
55466 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55467 # the headers that benefit from precompilation are mostly C++ headers.
55468 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55469 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55470 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55471 fi
55472
55473
55474 if test "$wxUSE_MAC" = 1 ; then
55475 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55476 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55477 mv temp bk-deps
55478 chmod +x bk-deps
55479 fi
55480 fi
55481
55482 if test "$wxUSE_SHARED" = "yes"; then
55483 case "${host}" in
55484 *-pc-os2_emx | *-pc-os2-emx )
55485 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55486 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55487 cp -p ${srcdir}/src/os2/dllnames.sh .
55488 cp -p ${srcdir}/src/os2/dllar.sh .
55489 ;;
55490 esac
55491 fi
55492 if test "$wxUSE_OMF" = "yes"; then
55493 case "${host}" in
55494 *-pc-os2_emx | *-pc-os2-emx )
55495 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55496 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55497 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55498 ;;
55499 esac
55500 fi
55501
55502 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55503
55504
55505 case "${host}" in
55506 *-*-solaris2* )
55507 if test "$GCC" = yes; then
55508 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55509 LIBS=`echo $LIBS | sed 's/-mt//g'`
55510 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55511 fi
55512 ;;
55513
55514 *-*-linux* )
55515 if test "x$SUNCXX" = xyes; then
55516 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55517 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55518 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55519 fi
55520 ;;
55521 esac
55522
55523 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55524 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55525 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55526 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55527
55528 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55529
55530
55531
55532
55533
55534
55535
55536
55537
55538
55539
55540
55541
55542
55543
55544
55545
55546
55547
55548
55549
55550
55551
55552
55553
55554
55555
55556
55557
55558
55559
55560
55561
55562
55563
55564
55565
55566
55567
55568
55569
55570
55571
55572
55573
55574
55575
55576
55577
55578
55579
55580
55581
55582
55583
55584
55585
55586
55587
55588
55589 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55590 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55591 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55592 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55593 echo $ECHO_N "(cached) $ECHO_C" >&6
55594 else
55595 cat >conftest.make <<\_ACEOF
55596 SHELL = /bin/sh
55597 all:
55598 @echo '@@@%%%=$(MAKE)=@@@%%%'
55599 _ACEOF
55600 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55601 case `${MAKE-make} -f conftest.make 2>/dev/null` in
55602 *@@@%%%=?*=@@@%%%*)
55603 eval ac_cv_prog_make_${ac_make}_set=yes;;
55604 *)
55605 eval ac_cv_prog_make_${ac_make}_set=no;;
55606 esac
55607 rm -f conftest.make
55608 fi
55609 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55610 { echo "$as_me:$LINENO: result: yes" >&5
55611 echo "${ECHO_T}yes" >&6; }
55612 SET_MAKE=
55613 else
55614 { echo "$as_me:$LINENO: result: no" >&5
55615 echo "${ECHO_T}no" >&6; }
55616 SET_MAKE="MAKE=${MAKE-make}"
55617 fi
55618
55619
55620
55621 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55622
55623
55624 if test "$USE_WIN32" = 1; then
55625 ac_config_commands="$ac_config_commands rcdefs.h"
55626
55627 fi
55628
55629 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55630
55631
55632 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55633
55634
55635 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55636
55637
55638 if test "$wx_cv_version_script" = "yes"; then
55639 ac_config_files="$ac_config_files version-script"
55640
55641 fi
55642 ac_config_files="$ac_config_files Makefile"
55643
55644
55645 ac_config_commands="$ac_config_commands wx-config"
55646
55647
55648
55649 if test "$wxWITH_SUBDIRS" != "no"; then
55650 if test "$wxUSE_GUI" = "yes"; then
55651 SUBDIRS="samples demos utils"
55652 else
55653 SUBDIRS="samples utils"
55654 fi
55655
55656
55657
55658 # Check whether --with-cppunit-prefix was given.
55659 if test "${with_cppunit_prefix+set}" = set; then
55660 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55661 else
55662 cppunit_config_prefix=""
55663 fi
55664
55665
55666 # Check whether --with-cppunit-exec-prefix was given.
55667 if test "${with_cppunit_exec_prefix+set}" = set; then
55668 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55669 else
55670 cppunit_config_exec_prefix=""
55671 fi
55672
55673
55674 if test x$cppunit_config_exec_prefix != x ; then
55675 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55676 if test x${CPPUNIT_CONFIG+set} != xset ; then
55677 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55678 fi
55679 fi
55680 if test x$cppunit_config_prefix != x ; then
55681 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55682 if test x${CPPUNIT_CONFIG+set} != xset ; then
55683 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55684 fi
55685 fi
55686
55687 # Extract the first word of "cppunit-config", so it can be a program name with args.
55688 set dummy cppunit-config; ac_word=$2
55689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55691 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55692 echo $ECHO_N "(cached) $ECHO_C" >&6
55693 else
55694 case $CPPUNIT_CONFIG in
55695 [\\/]* | ?:[\\/]*)
55696 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55697 ;;
55698 *)
55699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55700 for as_dir in $PATH
55701 do
55702 IFS=$as_save_IFS
55703 test -z "$as_dir" && as_dir=.
55704 for ac_exec_ext in '' $ac_executable_extensions; do
55705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55706 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55708 break 2
55709 fi
55710 done
55711 done
55712 IFS=$as_save_IFS
55713
55714 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55715 ;;
55716 esac
55717 fi
55718 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55719 if test -n "$CPPUNIT_CONFIG"; then
55720 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55721 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55722 else
55723 { echo "$as_me:$LINENO: result: no" >&5
55724 echo "${ECHO_T}no" >&6; }
55725 fi
55726
55727
55728 cppunit_version_min=1.8.0
55729
55730 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55731 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55732 no_cppunit=""
55733 if test "$CPPUNIT_CONFIG" = "no" ; then
55734 { echo "$as_me:$LINENO: result: no" >&5
55735 echo "${ECHO_T}no" >&6; }
55736 no_cppunit=yes
55737 else
55738 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55739 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55740 cppunit_version=`$CPPUNIT_CONFIG --version`
55741
55742 cppunit_major_version=`echo $cppunit_version | \
55743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55744 cppunit_minor_version=`echo $cppunit_version | \
55745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55746 cppunit_micro_version=`echo $cppunit_version | \
55747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55748
55749 cppunit_major_min=`echo $cppunit_version_min | \
55750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55751 cppunit_minor_min=`echo $cppunit_version_min | \
55752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55753 cppunit_micro_min=`echo $cppunit_version_min | \
55754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55755
55756 cppunit_version_proper=`expr \
55757 $cppunit_major_version \> $cppunit_major_min \| \
55758 $cppunit_major_version \= $cppunit_major_min \& \
55759 $cppunit_minor_version \> $cppunit_minor_min \| \
55760 $cppunit_major_version \= $cppunit_major_min \& \
55761 $cppunit_minor_version \= $cppunit_minor_min \& \
55762 $cppunit_micro_version \>= $cppunit_micro_min `
55763
55764 if test "$cppunit_version_proper" = "1" ; then
55765 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55766 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55767 else
55768 { echo "$as_me:$LINENO: result: no" >&5
55769 echo "${ECHO_T}no" >&6; }
55770 no_cppunit=yes
55771 fi
55772 fi
55773
55774 if test "x$no_cppunit" = x ; then
55775 SUBDIRS="$SUBDIRS tests"
55776 else
55777 CPPUNIT_CFLAGS=""
55778 CPPUNIT_LIBS=""
55779 :
55780 fi
55781
55782
55783
55784
55785
55786 for subdir in $SUBDIRS; do
55787 if test -d ${srcdir}/${subdir} ; then
55788 if test "$wxUSE_GUI" = "yes"; then
55789 if test ${subdir} = "samples"; then
55790 makefiles="samples/Makefile.in $makefiles"
55791 for sample in $SAMPLES_SUBDIRS; do
55792 if test -d $srcdir/samples/$sample; then
55793 makefiles="samples/$sample/Makefile.in $makefiles"
55794 fi
55795 done
55796 else
55797 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55798 eval "disabled=\$$disabled_var"
55799 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
55800 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
55801 fi
55802 else
55803 if test ${subdir} = "samples"; then
55804 makefiles="samples/Makefile.in $makefiles"
55805 for sample in `echo $SAMPLES_SUBDIRS`; do
55806 if test -d $srcdir/samples/$sample; then
55807 makefiles="samples/$sample/Makefile.in $makefiles"
55808 fi
55809 done
55810 elif test ${subdir} = "utils"; then
55811 makefiles=""
55812 for util in ifacecheck ; do
55813 if test -d $srcdir/utils/$util ; then
55814 makefiles="utils/$util/src/Makefile.in \
55815 $makefiles"
55816 fi
55817 done
55818 else
55819 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
55820 fi
55821 fi
55822
55823 for mkin in $makefiles ; do
55824 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55825 ac_config_files="$ac_config_files $mk"
55826
55827 done
55828 fi
55829 done
55830 fi
55831 cat >confcache <<\_ACEOF
55832 # This file is a shell script that caches the results of configure
55833 # tests run on this system so they can be shared between configure
55834 # scripts and configure runs, see configure's option --config-cache.
55835 # It is not useful on other systems. If it contains results you don't
55836 # want to keep, you may remove or edit it.
55837 #
55838 # config.status only pays attention to the cache file if you give it
55839 # the --recheck option to rerun configure.
55840 #
55841 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55842 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55843 # following values.
55844
55845 _ACEOF
55846
55847 # The following way of writing the cache mishandles newlines in values,
55848 # but we know of no workaround that is simple, portable, and efficient.
55849 # So, we kill variables containing newlines.
55850 # Ultrix sh set writes to stderr and can't be redirected directly,
55851 # and sets the high bit in the cache file unless we assign to the vars.
55852 (
55853 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55854 eval ac_val=\$$ac_var
55855 case $ac_val in #(
55856 *${as_nl}*)
55857 case $ac_var in #(
55858 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55859 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55860 esac
55861 case $ac_var in #(
55862 _ | IFS | as_nl) ;; #(
55863 *) $as_unset $ac_var ;;
55864 esac ;;
55865 esac
55866 done
55867
55868 (set) 2>&1 |
55869 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55870 *${as_nl}ac_space=\ *)
55871 # `set' does not quote correctly, so add quotes (double-quote
55872 # substitution turns \\\\ into \\, and sed turns \\ into \).
55873 sed -n \
55874 "s/'/'\\\\''/g;
55875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55876 ;; #(
55877 *)
55878 # `set' quotes correctly as required by POSIX, so do not add quotes.
55879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55880 ;;
55881 esac |
55882 sort
55883 ) |
55884 sed '
55885 /^ac_cv_env_/b end
55886 t clear
55887 :clear
55888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55889 t end
55890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55891 :end' >>confcache
55892 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55893 if test -w "$cache_file"; then
55894 test "x$cache_file" != "x/dev/null" &&
55895 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55896 echo "$as_me: updating cache $cache_file" >&6;}
55897 cat confcache >$cache_file
55898 else
55899 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55900 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55901 fi
55902 fi
55903 rm -f confcache
55904
55905 test "x$prefix" = xNONE && prefix=$ac_default_prefix
55906 # Let make expand exec_prefix.
55907 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55908
55909 DEFS=-DHAVE_CONFIG_H
55910
55911 ac_libobjs=
55912 ac_ltlibobjs=
55913 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55914 # 1. Remove the extension, and $U if already installed.
55915 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55916 ac_i=`echo "$ac_i" | sed "$ac_script"`
55917 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55918 # will be set to the directory where LIBOBJS objects are built.
55919 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55920 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55921 done
55922 LIBOBJS=$ac_libobjs
55923
55924 LTLIBOBJS=$ac_ltlibobjs
55925
55926
55927
55928 : ${CONFIG_STATUS=./config.status}
55929 ac_clean_files_save=$ac_clean_files
55930 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
55931 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55932 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55933 cat >$CONFIG_STATUS <<_ACEOF
55934 #! $SHELL
55935 # Generated by $as_me.
55936 # Run this file to recreate the current configuration.
55937 # Compiler output produced by configure, useful for debugging
55938 # configure, is in config.log if it exists.
55939
55940 debug=false
55941 ac_cs_recheck=false
55942 ac_cs_silent=false
55943 SHELL=\${CONFIG_SHELL-$SHELL}
55944 _ACEOF
55945
55946 cat >>$CONFIG_STATUS <<\_ACEOF
55947 ## --------------------- ##
55948 ## M4sh Initialization. ##
55949 ## --------------------- ##
55950
55951 # Be more Bourne compatible
55952 DUALCASE=1; export DUALCASE # for MKS sh
55953 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55954 emulate sh
55955 NULLCMD=:
55956 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55957 # is contrary to our usage. Disable this feature.
55958 alias -g '${1+"$@"}'='"$@"'
55959 setopt NO_GLOB_SUBST
55960 else
55961 case `(set -o) 2>/dev/null` in
55962 *posix*) set -o posix ;;
55963 esac
55964
55965 fi
55966
55967
55968
55969
55970 # PATH needs CR
55971 # Avoid depending upon Character Ranges.
55972 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55973 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55974 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55975 as_cr_digits='0123456789'
55976 as_cr_alnum=$as_cr_Letters$as_cr_digits
55977
55978 # The user is always right.
55979 if test "${PATH_SEPARATOR+set}" != set; then
55980 echo "#! /bin/sh" >conf$$.sh
55981 echo "exit 0" >>conf$$.sh
55982 chmod +x conf$$.sh
55983 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55984 PATH_SEPARATOR=';'
55985 else
55986 PATH_SEPARATOR=:
55987 fi
55988 rm -f conf$$.sh
55989 fi
55990
55991 # Support unset when possible.
55992 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55993 as_unset=unset
55994 else
55995 as_unset=false
55996 fi
55997
55998
55999 # IFS
56000 # We need space, tab and new line, in precisely that order. Quoting is
56001 # there to prevent editors from complaining about space-tab.
56002 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56003 # splitting by setting IFS to empty value.)
56004 as_nl='
56005 '
56006 IFS=" "" $as_nl"
56007
56008 # Find who we are. Look in the path if we contain no directory separator.
56009 case $0 in
56010 *[\\/]* ) as_myself=$0 ;;
56011 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56012 for as_dir in $PATH
56013 do
56014 IFS=$as_save_IFS
56015 test -z "$as_dir" && as_dir=.
56016 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
56017 done
56018 IFS=$as_save_IFS
56019
56020 ;;
56021 esac
56022 # We did not find ourselves, most probably we were run as `sh COMMAND'
56023 # in which case we are not to be found in the path.
56024 if test "x$as_myself" = x; then
56025 as_myself=$0
56026 fi
56027 if test ! -f "$as_myself"; then
56028 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56029 { (exit 1); exit 1; }
56030 fi
56031
56032 # Work around bugs in pre-3.0 UWIN ksh.
56033 for as_var in ENV MAIL MAILPATH
56034 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56035 done
56036 PS1='$ '
56037 PS2='> '
56038 PS4='+ '
56039
56040 # NLS nuisances.
56041 for as_var in \
56042 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56043 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56044 LC_TELEPHONE LC_TIME
56045 do
56046 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56047 eval $as_var=C; export $as_var
56048 else
56049 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56050 fi
56051 done
56052
56053 # Required to use basename.
56054 if expr a : '\(a\)' >/dev/null 2>&1 &&
56055 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56056 as_expr=expr
56057 else
56058 as_expr=false
56059 fi
56060
56061 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56062 as_basename=basename
56063 else
56064 as_basename=false
56065 fi
56066
56067
56068 # Name of the executable.
56069 as_me=`$as_basename -- "$0" ||
56070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56071 X"$0" : 'X\(//\)$' \| \
56072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56073 echo X/"$0" |
56074 sed '/^.*\/\([^/][^/]*\)\/*$/{
56075 s//\1/
56076 q
56077 }
56078 /^X\/\(\/\/\)$/{
56079 s//\1/
56080 q
56081 }
56082 /^X\/\(\/\).*/{
56083 s//\1/
56084 q
56085 }
56086 s/.*/./; q'`
56087
56088 # CDPATH.
56089 $as_unset CDPATH
56090
56091
56092
56093 as_lineno_1=$LINENO
56094 as_lineno_2=$LINENO
56095 test "x$as_lineno_1" != "x$as_lineno_2" &&
56096 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56097
56098 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56099 # uniformly replaced by the line number. The first 'sed' inserts a
56100 # line-number line after each line using $LINENO; the second 'sed'
56101 # does the real work. The second script uses 'N' to pair each
56102 # line-number line with the line containing $LINENO, and appends
56103 # trailing '-' during substitution so that $LINENO is not a special
56104 # case at line end.
56105 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56106 # scripts with optimization help from Paolo Bonzini. Blame Lee
56107 # E. McMahon (1931-1989) for sed's syntax. :-)
56108 sed -n '
56109 p
56110 /[$]LINENO/=
56111 ' <$as_myself |
56112 sed '
56113 s/[$]LINENO.*/&-/
56114 t lineno
56115 b
56116 :lineno
56117 N
56118 :loop
56119 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56120 t loop
56121 s/-\n.*//
56122 ' >$as_me.lineno &&
56123 chmod +x "$as_me.lineno" ||
56124 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56125 { (exit 1); exit 1; }; }
56126
56127 # Don't try to exec as it changes $[0], causing all sort of problems
56128 # (the dirname of $[0] is not the place where we might find the
56129 # original and so on. Autoconf is especially sensitive to this).
56130 . "./$as_me.lineno"
56131 # Exit status is that of the last command.
56132 exit
56133 }
56134
56135
56136 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56137 as_dirname=dirname
56138 else
56139 as_dirname=false
56140 fi
56141
56142 ECHO_C= ECHO_N= ECHO_T=
56143 case `echo -n x` in
56144 -n*)
56145 case `echo 'x\c'` in
56146 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56147 *) ECHO_C='\c';;
56148 esac;;
56149 *)
56150 ECHO_N='-n';;
56151 esac
56152
56153 if expr a : '\(a\)' >/dev/null 2>&1 &&
56154 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56155 as_expr=expr
56156 else
56157 as_expr=false
56158 fi
56159
56160 rm -f conf$$ conf$$.exe conf$$.file
56161 if test -d conf$$.dir; then
56162 rm -f conf$$.dir/conf$$.file
56163 else
56164 rm -f conf$$.dir
56165 mkdir conf$$.dir
56166 fi
56167 echo >conf$$.file
56168 if ln -s conf$$.file conf$$ 2>/dev/null; then
56169 as_ln_s='ln -s'
56170 # ... but there are two gotchas:
56171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56173 # In both cases, we have to default to `cp -p'.
56174 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56175 as_ln_s='cp -p'
56176 elif ln conf$$.file conf$$ 2>/dev/null; then
56177 as_ln_s=ln
56178 else
56179 as_ln_s='cp -p'
56180 fi
56181 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56182 rmdir conf$$.dir 2>/dev/null
56183
56184 if mkdir -p . 2>/dev/null; then
56185 as_mkdir_p=:
56186 else
56187 test -d ./-p && rmdir ./-p
56188 as_mkdir_p=false
56189 fi
56190
56191 if test -x / >/dev/null 2>&1; then
56192 as_test_x='test -x'
56193 else
56194 if ls -dL / >/dev/null 2>&1; then
56195 as_ls_L_option=L
56196 else
56197 as_ls_L_option=
56198 fi
56199 as_test_x='
56200 eval sh -c '\''
56201 if test -d "$1"; then
56202 test -d "$1/.";
56203 else
56204 case $1 in
56205 -*)set "./$1";;
56206 esac;
56207 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56208 ???[sx]*):;;*)false;;esac;fi
56209 '\'' sh
56210 '
56211 fi
56212 as_executable_p=$as_test_x
56213
56214 # Sed expression to map a string onto a valid CPP name.
56215 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56216
56217 # Sed expression to map a string onto a valid variable name.
56218 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56219
56220
56221 exec 6>&1
56222
56223 # Save the log message, to keep $[0] and so on meaningful, and to
56224 # report actual input values of CONFIG_FILES etc. instead of their
56225 # values after options handling.
56226 ac_log="
56227 This file was extended by wxWidgets $as_me 2.9.4, which was
56228 generated by GNU Autoconf 2.61. Invocation command line was
56229
56230 CONFIG_FILES = $CONFIG_FILES
56231 CONFIG_HEADERS = $CONFIG_HEADERS
56232 CONFIG_LINKS = $CONFIG_LINKS
56233 CONFIG_COMMANDS = $CONFIG_COMMANDS
56234 $ $0 $@
56235
56236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56237 "
56238
56239 _ACEOF
56240
56241 cat >>$CONFIG_STATUS <<_ACEOF
56242 # Files that config.status was made for.
56243 config_files="$ac_config_files"
56244 config_headers="$ac_config_headers"
56245 config_commands="$ac_config_commands"
56246
56247 _ACEOF
56248
56249 cat >>$CONFIG_STATUS <<\_ACEOF
56250 ac_cs_usage="\
56251 \`$as_me' instantiates files from templates according to the
56252 current configuration.
56253
56254 Usage: $0 [OPTIONS] [FILE]...
56255
56256 -h, --help print this help, then exit
56257 -V, --version print version number and configuration settings, then exit
56258 -q, --quiet do not print progress messages
56259 -d, --debug don't remove temporary files
56260 --recheck update $as_me by reconfiguring in the same conditions
56261 --file=FILE[:TEMPLATE]
56262 instantiate the configuration file FILE
56263 --header=FILE[:TEMPLATE]
56264 instantiate the configuration header FILE
56265
56266 Configuration files:
56267 $config_files
56268
56269 Configuration headers:
56270 $config_headers
56271
56272 Configuration commands:
56273 $config_commands
56274
56275 Report bugs to <bug-autoconf@gnu.org>."
56276
56277 _ACEOF
56278 cat >>$CONFIG_STATUS <<_ACEOF
56279 ac_cs_version="\\
56280 wxWidgets config.status 2.9.4
56281 configured by $0, generated by GNU Autoconf 2.61,
56282 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56283
56284 Copyright (C) 2006 Free Software Foundation, Inc.
56285 This config.status script is free software; the Free Software Foundation
56286 gives unlimited permission to copy, distribute and modify it."
56287
56288 ac_pwd='$ac_pwd'
56289 srcdir='$srcdir'
56290 INSTALL='$INSTALL'
56291 _ACEOF
56292
56293 cat >>$CONFIG_STATUS <<\_ACEOF
56294 # If no file are specified by the user, then we need to provide default
56295 # value. By we need to know if files were specified by the user.
56296 ac_need_defaults=:
56297 while test $# != 0
56298 do
56299 case $1 in
56300 --*=*)
56301 ac_option=`expr "X$1" : 'X\([^=]*\)='`
56302 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
56303 ac_shift=:
56304 ;;
56305 *)
56306 ac_option=$1
56307 ac_optarg=$2
56308 ac_shift=shift
56309 ;;
56310 esac
56311
56312 case $ac_option in
56313 # Handling of the options.
56314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56315 ac_cs_recheck=: ;;
56316 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56317 echo "$ac_cs_version"; exit ;;
56318 --debug | --debu | --deb | --de | --d | -d )
56319 debug=: ;;
56320 --file | --fil | --fi | --f )
56321 $ac_shift
56322 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
56323 ac_need_defaults=false;;
56324 --header | --heade | --head | --hea )
56325 $ac_shift
56326 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56327 ac_need_defaults=false;;
56328 --he | --h)
56329 # Conflict between --help and --header
56330 { echo "$as_me: error: ambiguous option: $1
56331 Try \`$0 --help' for more information." >&2
56332 { (exit 1); exit 1; }; };;
56333 --help | --hel | -h )
56334 echo "$ac_cs_usage"; exit ;;
56335 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56336 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56337 ac_cs_silent=: ;;
56338
56339 # This is an error.
56340 -*) { echo "$as_me: error: unrecognized option: $1
56341 Try \`$0 --help' for more information." >&2
56342 { (exit 1); exit 1; }; } ;;
56343
56344 *) ac_config_targets="$ac_config_targets $1"
56345 ac_need_defaults=false ;;
56346
56347 esac
56348 shift
56349 done
56350
56351 ac_configure_extra_args=
56352
56353 if $ac_cs_silent; then
56354 exec 6>/dev/null
56355 ac_configure_extra_args="$ac_configure_extra_args --silent"
56356 fi
56357
56358 _ACEOF
56359 cat >>$CONFIG_STATUS <<_ACEOF
56360 if \$ac_cs_recheck; then
56361 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56362 CONFIG_SHELL=$SHELL
56363 export CONFIG_SHELL
56364 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56365 fi
56366
56367 _ACEOF
56368 cat >>$CONFIG_STATUS <<\_ACEOF
56369 exec 5>>config.log
56370 {
56371 echo
56372 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56373 ## Running $as_me. ##
56374 _ASBOX
56375 echo "$ac_log"
56376 } >&5
56377
56378 _ACEOF
56379 cat >>$CONFIG_STATUS <<_ACEOF
56380 #
56381 # INIT-COMMANDS
56382 #
56383
56384 CPP="$CPP"
56385 infile="$srcdir/include/wx/msw/genrcdefs.h"
56386 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56387
56388
56389 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56390 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56391 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56392 LN_S="${LN_S}"
56393
56394
56395 _ACEOF
56396
56397 cat >>$CONFIG_STATUS <<\_ACEOF
56398
56399 # Handling of arguments.
56400 for ac_config_target in $ac_config_targets
56401 do
56402 case $ac_config_target in
56403 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56404 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
56405 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56406 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56407 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56408 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
56409 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56410 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
56411 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
56412
56413 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56414 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56415 { (exit 1); exit 1; }; };;
56416 esac
56417 done
56418
56419
56420 # If the user did not use the arguments to specify the items to instantiate,
56421 # then the envvar interface is used. Set only those that are not.
56422 # We use the long form for the default assignment because of an extremely
56423 # bizarre bug on SunOS 4.1.3.
56424 if $ac_need_defaults; then
56425 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56426 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
56428 fi
56429
56430 # Have a temporary directory for convenience. Make it in the build tree
56431 # simply because there is no reason against having it here, and in addition,
56432 # creating and moving files from /tmp can sometimes cause problems.
56433 # Hook for its removal unless debugging.
56434 # Note that there is a small window in which the directory will not be cleaned:
56435 # after its creation but before its name has been assigned to `$tmp'.
56436 $debug ||
56437 {
56438 tmp=
56439 trap 'exit_status=$?
56440 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56441 ' 0
56442 trap '{ (exit 1); exit 1; }' 1 2 13 15
56443 }
56444 # Create a (secure) tmp directory for tmp files.
56445
56446 {
56447 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56448 test -n "$tmp" && test -d "$tmp"
56449 } ||
56450 {
56451 tmp=./conf$$-$RANDOM
56452 (umask 077 && mkdir "$tmp")
56453 } ||
56454 {
56455 echo "$me: cannot create a temporary directory in ." >&2
56456 { (exit 1); exit 1; }
56457 }
56458
56459 #
56460 # Set up the sed scripts for CONFIG_FILES section.
56461 #
56462
56463 # No need to generate the scripts if there are no CONFIG_FILES.
56464 # This happens for instance when ./config.status config.h
56465 if test -n "$CONFIG_FILES"; then
56466
56467 _ACEOF
56468
56469
56470
56471 ac_delim='%!_!# '
56472 for ac_last_try in false false false false false :; do
56473 cat >conf$$subs.sed <<_ACEOF
56474 SHELL!$SHELL$ac_delim
56475 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56476 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56477 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56478 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56479 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56480 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56481 exec_prefix!$exec_prefix$ac_delim
56482 prefix!$prefix$ac_delim
56483 program_transform_name!$program_transform_name$ac_delim
56484 bindir!$bindir$ac_delim
56485 sbindir!$sbindir$ac_delim
56486 libexecdir!$libexecdir$ac_delim
56487 datarootdir!$datarootdir$ac_delim
56488 datadir!$datadir$ac_delim
56489 sysconfdir!$sysconfdir$ac_delim
56490 sharedstatedir!$sharedstatedir$ac_delim
56491 localstatedir!$localstatedir$ac_delim
56492 includedir!$includedir$ac_delim
56493 oldincludedir!$oldincludedir$ac_delim
56494 docdir!$docdir$ac_delim
56495 infodir!$infodir$ac_delim
56496 htmldir!$htmldir$ac_delim
56497 dvidir!$dvidir$ac_delim
56498 pdfdir!$pdfdir$ac_delim
56499 psdir!$psdir$ac_delim
56500 libdir!$libdir$ac_delim
56501 localedir!$localedir$ac_delim
56502 mandir!$mandir$ac_delim
56503 DEFS!$DEFS$ac_delim
56504 ECHO_C!$ECHO_C$ac_delim
56505 ECHO_N!$ECHO_N$ac_delim
56506 ECHO_T!$ECHO_T$ac_delim
56507 LIBS!$LIBS$ac_delim
56508 build_alias!$build_alias$ac_delim
56509 host_alias!$host_alias$ac_delim
56510 target_alias!$target_alias$ac_delim
56511 build!$build$ac_delim
56512 build_cpu!$build_cpu$ac_delim
56513 build_vendor!$build_vendor$ac_delim
56514 build_os!$build_os$ac_delim
56515 host!$host$ac_delim
56516 host_cpu!$host_cpu$ac_delim
56517 host_vendor!$host_vendor$ac_delim
56518 host_os!$host_os$ac_delim
56519 wx_top_builddir!$wx_top_builddir$ac_delim
56520 CC!$CC$ac_delim
56521 CFLAGS!$CFLAGS$ac_delim
56522 LDFLAGS!$LDFLAGS$ac_delim
56523 CPPFLAGS!$CPPFLAGS$ac_delim
56524 ac_ct_CC!$ac_ct_CC$ac_delim
56525 EXEEXT!$EXEEXT$ac_delim
56526 OBJEXT!$OBJEXT$ac_delim
56527 CPP!$CPP$ac_delim
56528 GREP!$GREP$ac_delim
56529 EGREP!$EGREP$ac_delim
56530 CXX!$CXX$ac_delim
56531 CXXFLAGS!$CXXFLAGS$ac_delim
56532 ac_ct_CXX!$ac_ct_CXX$ac_delim
56533 AR!$AR$ac_delim
56534 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56535 CXXCPP!$CXXCPP$ac_delim
56536 subdirs!$subdirs$ac_delim
56537 PKG_CONFIG!$PKG_CONFIG$ac_delim
56538 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56539 GTK_LIBS!$GTK_LIBS$ac_delim
56540 GTK_CONFIG!$GTK_CONFIG$ac_delim
56541 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56542 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56543 XMKMF!$XMKMF$ac_delim
56544 X_CFLAGS!$X_CFLAGS$ac_delim
56545 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56546 X_LIBS!$X_LIBS$ac_delim
56547 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56548 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56549 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56550 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56551 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56552 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56553 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56554 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56555 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56556 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56557 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56558 SM_CFLAGS!$SM_CFLAGS$ac_delim
56559 SM_LIBS!$SM_LIBS$ac_delim
56560 GL_CFLAGS!$GL_CFLAGS$ac_delim
56561 GL_LIBS!$GL_LIBS$ac_delim
56562 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56563 GLU_LIBS!$GLU_LIBS$ac_delim
56564 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56565 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56566 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56567 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56568 LIBICONV!$LIBICONV$ac_delim
56569 GXX_VERSION!$GXX_VERSION$ac_delim
56570 SDL_CONFIG!$SDL_CONFIG$ac_delim
56571 _ACEOF
56572
56573 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56574 break
56575 elif $ac_last_try; then
56576 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56577 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56578 { (exit 1); exit 1; }; }
56579 else
56580 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56581 fi
56582 done
56583
56584 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56585 if test -n "$ac_eof"; then
56586 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56587 ac_eof=`expr $ac_eof + 1`
56588 fi
56589
56590 cat >>$CONFIG_STATUS <<_ACEOF
56591 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56592 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56593 _ACEOF
56594 sed '
56595 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56596 s/^/s,@/; s/!/@,|#_!!_#|/
56597 :n
56598 t n
56599 s/'"$ac_delim"'$/,g/; t
56600 s/$/\\/; p
56601 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56602 ' >>$CONFIG_STATUS <conf$$subs.sed
56603 rm -f conf$$subs.sed
56604 cat >>$CONFIG_STATUS <<_ACEOF
56605 CEOF$ac_eof
56606 _ACEOF
56607
56608
56609 ac_delim='%!_!# '
56610 for ac_last_try in false false false false false :; do
56611 cat >conf$$subs.sed <<_ACEOF
56612 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56613 SDL_LIBS!$SDL_LIBS$ac_delim
56614 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56615 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56616 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56617 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56618 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56619 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56620 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56621 HILDON_LIBS!$HILDON_LIBS$ac_delim
56622 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56623 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56624 PYTHON!$PYTHON$ac_delim
56625 COND_PYTHON!$COND_PYTHON$ac_delim
56626 WEBKIT_CFLAGS!$WEBKIT_CFLAGS$ac_delim
56627 WEBKIT_LIBS!$WEBKIT_LIBS$ac_delim
56628 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56629 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56630 GST_CFLAGS!$GST_CFLAGS$ac_delim
56631 GST_LIBS!$GST_LIBS$ac_delim
56632 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56633 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56634 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56635 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56636 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56637 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56638 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56639 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56640 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56641 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56642 VENDOR!$VENDOR$ac_delim
56643 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56644 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56645 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56646 WXUNIV!$WXUNIV$ac_delim
56647 MONOLITHIC!$MONOLITHIC$ac_delim
56648 USE_PLUGINS!$USE_PLUGINS$ac_delim
56649 CXXWARNINGS!$CXXWARNINGS$ac_delim
56650 EXTRALIBS!$EXTRALIBS$ac_delim
56651 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56652 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56653 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56654 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56655 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56656 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56657 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56658 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56659 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56660 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56661 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56662 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56663 UNICODE!$UNICODE$ac_delim
56664 DEBUG_INFO!$DEBUG_INFO$ac_delim
56665 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56666 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56667 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56668 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56669 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56670 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56671 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56672 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56673 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56674 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56675 RANLIB!$RANLIB$ac_delim
56676 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56677 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56678 INSTALL_DATA!$INSTALL_DATA$ac_delim
56679 LN_S!$LN_S$ac_delim
56680 SET_MAKE!$SET_MAKE$ac_delim
56681 MAKE_SET!$MAKE_SET$ac_delim
56682 AROPTIONS!$AROPTIONS$ac_delim
56683 STRIP!$STRIP$ac_delim
56684 NM!$NM$ac_delim
56685 INSTALL_DIR!$INSTALL_DIR$ac_delim
56686 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56687 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56688 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56689 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56690 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56691 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56692 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56693 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56694 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56695 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56696 SO_SUFFIX!$SO_SUFFIX$ac_delim
56697 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56698 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56699 LIBPREFIX!$LIBPREFIX$ac_delim
56700 LIBEXT!$LIBEXT$ac_delim
56701 DLLPREFIX!$DLLPREFIX$ac_delim
56702 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56703 dlldir!$dlldir$ac_delim
56704 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56705 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56706 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56707 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56708 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56709 _ACEOF
56710
56711 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56712 break
56713 elif $ac_last_try; then
56714 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56715 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56716 { (exit 1); exit 1; }; }
56717 else
56718 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56719 fi
56720 done
56721
56722 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56723 if test -n "$ac_eof"; then
56724 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56725 ac_eof=`expr $ac_eof + 1`
56726 fi
56727
56728 cat >>$CONFIG_STATUS <<_ACEOF
56729 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56731 _ACEOF
56732 sed '
56733 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56734 s/^/s,@/; s/!/@,|#_!!_#|/
56735 :n
56736 t n
56737 s/'"$ac_delim"'$/,g/; t
56738 s/$/\\/; p
56739 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56740 ' >>$CONFIG_STATUS <conf$$subs.sed
56741 rm -f conf$$subs.sed
56742 cat >>$CONFIG_STATUS <<_ACEOF
56743 CEOF$ac_eof
56744 _ACEOF
56745
56746
56747 ac_delim='%!_!# '
56748 for ac_last_try in false false false false false :; do
56749 cat >conf$$subs.sed <<_ACEOF
56750 PIC_FLAG!$PIC_FLAG$ac_delim
56751 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56752 USE_SOVERSION!$USE_SOVERSION$ac_delim
56753 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56754 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56755 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56756 USE_MACVERSION!$USE_MACVERSION$ac_delim
56757 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56758 SONAME_FLAG!$SONAME_FLAG$ac_delim
56759 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56760 BK_DEPS!$BK_DEPS$ac_delim
56761 WINDRES!$WINDRES$ac_delim
56762 REZ!$REZ$ac_delim
56763 SETFILE!$SETFILE$ac_delim
56764 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56765 GCC_PCH!$GCC_PCH$ac_delim
56766 ICC_PCH!$ICC_PCH$ac_delim
56767 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56768 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56769 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56770 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56771 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56772 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56773 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56774 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56775 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56776 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56777 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56778 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56779 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56780 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56781 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56782 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56783 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56784 COND_BUILD_release!$COND_BUILD_release$ac_delim
56785 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56786 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56787 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56788 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56789 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56790 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56791 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56792 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56793 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56794 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56795 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56796 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56797 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56798 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56802 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56803 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56804 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56805 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56806 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56807 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56808 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56809 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56810 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56813 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56815 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56816 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56817 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56818 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56819 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56820 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56821 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56822 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56823 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56824 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56825 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56826 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56827 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56828 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56829 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56830 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56831 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56832 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56833 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56834 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56835 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56836 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56837 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56838 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56839 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56840 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56841 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56842 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56843 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56844 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
56845 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56846 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
56847 _ACEOF
56848
56849 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56850 break
56851 elif $ac_last_try; then
56852 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56853 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56854 { (exit 1); exit 1; }; }
56855 else
56856 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56857 fi
56858 done
56859
56860 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56861 if test -n "$ac_eof"; then
56862 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56863 ac_eof=`expr $ac_eof + 1`
56864 fi
56865
56866 cat >>$CONFIG_STATUS <<_ACEOF
56867 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56869 _ACEOF
56870 sed '
56871 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56872 s/^/s,@/; s/!/@,|#_!!_#|/
56873 :n
56874 t n
56875 s/'"$ac_delim"'$/,g/; t
56876 s/$/\\/; p
56877 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56878 ' >>$CONFIG_STATUS <conf$$subs.sed
56879 rm -f conf$$subs.sed
56880 cat >>$CONFIG_STATUS <<_ACEOF
56881 CEOF$ac_eof
56882 _ACEOF
56883
56884
56885 ac_delim='%!_!# '
56886 for ac_last_try in false false false false false :; do
56887 cat >conf$$subs.sed <<_ACEOF
56888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56890 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56893 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56894 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56895 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56896 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56897 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56898 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56899 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56900 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56901 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56903 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56904 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56905 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56906 COND_SHARED_0!$COND_SHARED_0$ac_delim
56907 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56908 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56909 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56910 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56911 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56914 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56915 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56916 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56917 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56918 COND_SHARED_1!$COND_SHARED_1$ac_delim
56919 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56920 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56921 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56922 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56923 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56924 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56925 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56926 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56931 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56933 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56934 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56935 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56936 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56937 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56938 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56939 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56940 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56941 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56942 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56943 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56944 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56946 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56947 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56948 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56949 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56950 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56951 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56952 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56953 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56954 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56955 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56956 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56957 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56958 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56959 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56960 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56961 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56962 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56963 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56964 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56965 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56966 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56967 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
56968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
56969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
56970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56973 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
56974 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
56975 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
56976 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
56977 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
56978 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
56979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
56980 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
56981 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
56982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
56983 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
56984 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
56985 _ACEOF
56986
56987 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56988 break
56989 elif $ac_last_try; then
56990 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56991 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56992 { (exit 1); exit 1; }; }
56993 else
56994 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56995 fi
56996 done
56997
56998 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56999 if test -n "$ac_eof"; then
57000 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57001 ac_eof=`expr $ac_eof + 1`
57002 fi
57003
57004 cat >>$CONFIG_STATUS <<_ACEOF
57005 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
57006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57007 _ACEOF
57008 sed '
57009 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57010 s/^/s,@/; s/!/@,|#_!!_#|/
57011 :n
57012 t n
57013 s/'"$ac_delim"'$/,g/; t
57014 s/$/\\/; p
57015 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57016 ' >>$CONFIG_STATUS <conf$$subs.sed
57017 rm -f conf$$subs.sed
57018 cat >>$CONFIG_STATUS <<_ACEOF
57019 CEOF$ac_eof
57020 _ACEOF
57021
57022
57023 ac_delim='%!_!# '
57024 for ac_last_try in false false false false false :; do
57025 cat >conf$$subs.sed <<_ACEOF
57026 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57027 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57028 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57029 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57030 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57031 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57032 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57033 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57034 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57035 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57036 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57037 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57038 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57039 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57040 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57041 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57042 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57043 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57044 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57045 DEREZ!$DEREZ$ac_delim
57046 SHARED!$SHARED$ac_delim
57047 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57048 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57049 USE_GUI!$USE_GUI$ac_delim
57050 AFMINSTALL!$AFMINSTALL$ac_delim
57051 WIN32INSTALL!$WIN32INSTALL$ac_delim
57052 TOOLKIT!$TOOLKIT$ac_delim
57053 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57054 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57055 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57056 cross_compiling!$cross_compiling$ac_delim
57057 WIDGET_SET!$WIDGET_SET$ac_delim
57058 WX_RELEASE!$WX_RELEASE$ac_delim
57059 WX_VERSION!$WX_VERSION$ac_delim
57060 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57061 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57062 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57063 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57064 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57065 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57066 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57067 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57068 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57069 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57070 GUIDIST!$GUIDIST$ac_delim
57071 DISTDIR!$DISTDIR$ac_delim
57072 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57073 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57074 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57075 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57076 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57077 RESCOMP!$RESCOMP$ac_delim
57078 RESFLAGS!$RESFLAGS$ac_delim
57079 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57080 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57081 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57082 LIBWXMACRES!$LIBWXMACRES$ac_delim
57083 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57084 MACSETFILE!$MACSETFILE$ac_delim
57085 GCC!$GCC$ac_delim
57086 DLLTOOL!$DLLTOOL$ac_delim
57087 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57088 LIBOBJS!$LIBOBJS$ac_delim
57089 LTLIBOBJS!$LTLIBOBJS$ac_delim
57090 _ACEOF
57091
57092 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
57093 break
57094 elif $ac_last_try; then
57095 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57096 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57097 { (exit 1); exit 1; }; }
57098 else
57099 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57100 fi
57101 done
57102
57103 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57104 if test -n "$ac_eof"; then
57105 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57106 ac_eof=`expr $ac_eof + 1`
57107 fi
57108
57109 cat >>$CONFIG_STATUS <<_ACEOF
57110 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57111 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57112 _ACEOF
57113 sed '
57114 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57115 s/^/s,@/; s/!/@,|#_!!_#|/
57116 :n
57117 t n
57118 s/'"$ac_delim"'$/,g/; t
57119 s/$/\\/; p
57120 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57121 ' >>$CONFIG_STATUS <conf$$subs.sed
57122 rm -f conf$$subs.sed
57123 cat >>$CONFIG_STATUS <<_ACEOF
57124 :end
57125 s/|#_!!_#|//g
57126 CEOF$ac_eof
57127 _ACEOF
57128
57129
57130 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57131 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57132 # trailing colons and then remove the whole line if VPATH becomes empty
57133 # (actually we leave an empty line to preserve line numbers).
57134 if test "x$srcdir" = x.; then
57135 ac_vpsub='/^[ ]*VPATH[ ]*=/{
57136 s/:*\$(srcdir):*/:/
57137 s/:*\${srcdir}:*/:/
57138 s/:*@srcdir@:*/:/
57139 s/^\([^=]*=[ ]*\):*/\1/
57140 s/:*$//
57141 s/^[^=]*=[ ]*$//
57142 }'
57143 fi
57144
57145 cat >>$CONFIG_STATUS <<\_ACEOF
57146 fi # test -n "$CONFIG_FILES"
57147
57148
57149 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
57150 do
57151 case $ac_tag in
57152 :[FHLC]) ac_mode=$ac_tag; continue;;
57153 esac
57154 case $ac_mode$ac_tag in
57155 :[FHL]*:*);;
57156 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57157 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57158 { (exit 1); exit 1; }; };;
57159 :[FH]-) ac_tag=-:-;;
57160 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57161 esac
57162 ac_save_IFS=$IFS
57163 IFS=:
57164 set x $ac_tag
57165 IFS=$ac_save_IFS
57166 shift
57167 ac_file=$1
57168 shift
57169
57170 case $ac_mode in
57171 :L) ac_source=$1;;
57172 :[FH])
57173 ac_file_inputs=
57174 for ac_f
57175 do
57176 case $ac_f in
57177 -) ac_f="$tmp/stdin";;
57178 *) # Look for the file first in the build tree, then in the source tree
57179 # (if the path is not absolute). The absolute path cannot be DOS-style,
57180 # because $ac_f cannot contain `:'.
57181 test -f "$ac_f" ||
57182 case $ac_f in
57183 [\\/$]*) false;;
57184 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57185 esac ||
57186 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57187 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57188 { (exit 1); exit 1; }; };;
57189 esac
57190 ac_file_inputs="$ac_file_inputs $ac_f"
57191 done
57192
57193 # Let's still pretend it is `configure' which instantiates (i.e., don't
57194 # use $as_me), people would be surprised to read:
57195 # /* config.h. Generated by config.status. */
57196 configure_input="Generated from "`IFS=:
57197 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57198 if test x"$ac_file" != x-; then
57199 configure_input="$ac_file. $configure_input"
57200 { echo "$as_me:$LINENO: creating $ac_file" >&5
57201 echo "$as_me: creating $ac_file" >&6;}
57202 fi
57203
57204 case $ac_tag in
57205 *:-:* | *:-) cat >"$tmp/stdin";;
57206 esac
57207 ;;
57208 esac
57209
57210 ac_dir=`$as_dirname -- "$ac_file" ||
57211 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57212 X"$ac_file" : 'X\(//\)[^/]' \| \
57213 X"$ac_file" : 'X\(//\)$' \| \
57214 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57215 echo X"$ac_file" |
57216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57217 s//\1/
57218 q
57219 }
57220 /^X\(\/\/\)[^/].*/{
57221 s//\1/
57222 q
57223 }
57224 /^X\(\/\/\)$/{
57225 s//\1/
57226 q
57227 }
57228 /^X\(\/\).*/{
57229 s//\1/
57230 q
57231 }
57232 s/.*/./; q'`
57233 { as_dir="$ac_dir"
57234 case $as_dir in #(
57235 -*) as_dir=./$as_dir;;
57236 esac
57237 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57238 as_dirs=
57239 while :; do
57240 case $as_dir in #(
57241 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57242 *) as_qdir=$as_dir;;
57243 esac
57244 as_dirs="'$as_qdir' $as_dirs"
57245 as_dir=`$as_dirname -- "$as_dir" ||
57246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57247 X"$as_dir" : 'X\(//\)[^/]' \| \
57248 X"$as_dir" : 'X\(//\)$' \| \
57249 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57250 echo X"$as_dir" |
57251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57252 s//\1/
57253 q
57254 }
57255 /^X\(\/\/\)[^/].*/{
57256 s//\1/
57257 q
57258 }
57259 /^X\(\/\/\)$/{
57260 s//\1/
57261 q
57262 }
57263 /^X\(\/\).*/{
57264 s//\1/
57265 q
57266 }
57267 s/.*/./; q'`
57268 test -d "$as_dir" && break
57269 done
57270 test -z "$as_dirs" || eval "mkdir $as_dirs"
57271 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57272 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57273 { (exit 1); exit 1; }; }; }
57274 ac_builddir=.
57275
57276 case "$ac_dir" in
57277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57278 *)
57279 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57280 # A ".." for each directory in $ac_dir_suffix.
57281 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57282 case $ac_top_builddir_sub in
57283 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57284 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57285 esac ;;
57286 esac
57287 ac_abs_top_builddir=$ac_pwd
57288 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57289 # for backward compatibility:
57290 ac_top_builddir=$ac_top_build_prefix
57291
57292 case $srcdir in
57293 .) # We are building in place.
57294 ac_srcdir=.
57295 ac_top_srcdir=$ac_top_builddir_sub
57296 ac_abs_top_srcdir=$ac_pwd ;;
57297 [\\/]* | ?:[\\/]* ) # Absolute name.
57298 ac_srcdir=$srcdir$ac_dir_suffix;
57299 ac_top_srcdir=$srcdir
57300 ac_abs_top_srcdir=$srcdir ;;
57301 *) # Relative name.
57302 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57303 ac_top_srcdir=$ac_top_build_prefix$srcdir
57304 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57305 esac
57306 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57307
57308
57309 case $ac_mode in
57310 :F)
57311 #
57312 # CONFIG_FILE
57313 #
57314
57315 case $INSTALL in
57316 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
57317 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
57318 esac
57319 _ACEOF
57320
57321 cat >>$CONFIG_STATUS <<\_ACEOF
57322 # If the template does not know about datarootdir, expand it.
57323 # FIXME: This hack should be removed a few years after 2.60.
57324 ac_datarootdir_hack=; ac_datarootdir_seen=
57325
57326 case `sed -n '/datarootdir/ {
57327 p
57328 q
57329 }
57330 /@datadir@/p
57331 /@docdir@/p
57332 /@infodir@/p
57333 /@localedir@/p
57334 /@mandir@/p
57335 ' $ac_file_inputs` in
57336 *datarootdir*) ac_datarootdir_seen=yes;;
57337 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
57338 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57339 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57340 _ACEOF
57341 cat >>$CONFIG_STATUS <<_ACEOF
57342 ac_datarootdir_hack='
57343 s&@datadir@&$datadir&g
57344 s&@docdir@&$docdir&g
57345 s&@infodir@&$infodir&g
57346 s&@localedir@&$localedir&g
57347 s&@mandir@&$mandir&g
57348 s&\\\${datarootdir}&$datarootdir&g' ;;
57349 esac
57350 _ACEOF
57351
57352 # Neutralize VPATH when `$srcdir' = `.'.
57353 # Shell code in configure.ac might set extrasub.
57354 # FIXME: do we really want to maintain this feature?
57355 cat >>$CONFIG_STATUS <<_ACEOF
57356 sed "$ac_vpsub
57357 $extrasub
57358 _ACEOF
57359 cat >>$CONFIG_STATUS <<\_ACEOF
57360 :t
57361 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57362 s&@configure_input@&$configure_input&;t t
57363 s&@top_builddir@&$ac_top_builddir_sub&;t t
57364 s&@srcdir@&$ac_srcdir&;t t
57365 s&@abs_srcdir@&$ac_abs_srcdir&;t t
57366 s&@top_srcdir@&$ac_top_srcdir&;t t
57367 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
57368 s&@builddir@&$ac_builddir&;t t
57369 s&@abs_builddir@&$ac_abs_builddir&;t t
57370 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57371 s&@INSTALL@&$ac_INSTALL&;t t
57372 $ac_datarootdir_hack
57373 " $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
57374
57375 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57376 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57377 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57378 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57379 which seems to be undefined. Please make sure it is defined." >&5
57380 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57381 which seems to be undefined. Please make sure it is defined." >&2;}
57382
57383 rm -f "$tmp/stdin"
57384 case $ac_file in
57385 -) cat "$tmp/out"; rm -f "$tmp/out";;
57386 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57387 esac
57388 ;;
57389 :H)
57390 #
57391 # CONFIG_HEADER
57392 #
57393 _ACEOF
57394
57395 # Transform confdefs.h into a sed script `conftest.defines', that
57396 # substitutes the proper values into config.h.in to produce config.h.
57397 rm -f conftest.defines conftest.tail
57398 # First, append a space to every undef/define line, to ease matching.
57399 echo 's/$/ /' >conftest.defines
57400 # Then, protect against being on the right side of a sed subst, or in
57401 # an unquoted here document, in config.status. If some macros were
57402 # called several times there might be several #defines for the same
57403 # symbol, which is useless. But do not sort them, since the last
57404 # AC_DEFINE must be honored.
57405 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57406 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57407 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57408 # PARAMS is the parameter list in the macro definition--in most cases, it's
57409 # just an empty string.
57410 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57411 ac_dB='\\)[ (].*,\\1define\\2'
57412 ac_dC=' '
57413 ac_dD=' ,'
57414
57415 uniq confdefs.h |
57416 sed -n '
57417 t rset
57418 :rset
57419 s/^[ ]*#[ ]*define[ ][ ]*//
57420 t ok
57421 d
57422 :ok
57423 s/[\\&,]/\\&/g
57424 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57425 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57426 ' >>conftest.defines
57427
57428 # Remove the space that was appended to ease matching.
57429 # Then replace #undef with comments. This is necessary, for
57430 # example, in the case of _POSIX_SOURCE, which is predefined and required
57431 # on some systems where configure will not decide to define it.
57432 # (The regexp can be short, since the line contains either #define or #undef.)
57433 echo 's/ $//
57434 s,^[ #]*u.*,/* & */,' >>conftest.defines
57435
57436 # Break up conftest.defines:
57437 ac_max_sed_lines=50
57438
57439 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57440 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57441 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57442 # et cetera.
57443 ac_in='$ac_file_inputs'
57444 ac_out='"$tmp/out1"'
57445 ac_nxt='"$tmp/out2"'
57446
57447 while :
57448 do
57449 # Write a here document:
57450 cat >>$CONFIG_STATUS <<_ACEOF
57451 # First, check the format of the line:
57452 cat >"\$tmp/defines.sed" <<\\CEOF
57453 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57454 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57455 b
57456 :def
57457 _ACEOF
57458 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57459 echo 'CEOF
57460 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57461 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57462 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57463 grep . conftest.tail >/dev/null || break
57464 rm -f conftest.defines
57465 mv conftest.tail conftest.defines
57466 done
57467 rm -f conftest.defines conftest.tail
57468
57469 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57470 cat >>$CONFIG_STATUS <<\_ACEOF
57471 if test x"$ac_file" != x-; then
57472 echo "/* $configure_input */" >"$tmp/config.h"
57473 cat "$ac_result" >>"$tmp/config.h"
57474 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57475 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57476 echo "$as_me: $ac_file is unchanged" >&6;}
57477 else
57478 rm -f $ac_file
57479 mv "$tmp/config.h" $ac_file
57480 fi
57481 else
57482 echo "/* $configure_input */"
57483 cat "$ac_result"
57484 fi
57485 rm -f "$tmp/out12"
57486 ;;
57487
57488 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57489 echo "$as_me: executing $ac_file commands" >&6;}
57490 ;;
57491 esac
57492
57493
57494 case $ac_file$ac_mode in
57495 "rcdefs.h":C)
57496 mkdir -p $outdir &&
57497 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57498 ;;
57499 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
57500 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
57501 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
57502 "wx-config":C) rm -f wx-config
57503 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
57504 ;;
57505
57506 esac
57507 done # for ac_tag
57508
57509
57510 { (exit 0); exit 0; }
57511 _ACEOF
57512 chmod +x $CONFIG_STATUS
57513 ac_clean_files=$ac_clean_files_save
57514
57515
57516 # configure is writing to config.log, and then calls config.status.
57517 # config.status does its own redirection, appending to config.log.
57518 # Unfortunately, on DOS this fails, as config.log is still kept open
57519 # by configure, so config.status won't be able to write to it; its
57520 # output is simply discarded. So we exec the FD to /dev/null,
57521 # effectively closing config.log, so it can be properly (re)opened and
57522 # appended to by config.status. When coming back to configure, we
57523 # need to make the FD available again.
57524 if test "$no_create" != yes; then
57525 ac_cs_success=:
57526 ac_config_status_args=
57527 test "$silent" = yes &&
57528 ac_config_status_args="$ac_config_status_args --quiet"
57529 exec 5>/dev/null
57530 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
57531 exec 5>>config.log
57532 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57533 # would make configure fail if this is the last instruction.
57534 $ac_cs_success || { (exit 1); exit 1; }
57535 fi
57536
57537 #
57538 # CONFIG_SUBDIRS section.
57539 #
57540 if test "$no_recursion" != yes; then
57541
57542 # Remove --cache-file and --srcdir arguments so they do not pile up.
57543 ac_sub_configure_args=
57544 ac_prev=
57545 eval "set x $ac_configure_args"
57546 shift
57547 for ac_arg
57548 do
57549 if test -n "$ac_prev"; then
57550 ac_prev=
57551 continue
57552 fi
57553 case $ac_arg in
57554 -cache-file | --cache-file | --cache-fil | --cache-fi \
57555 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57556 ac_prev=cache_file ;;
57557 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57558 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57559 | --c=*)
57560 ;;
57561 --config-cache | -C)
57562 ;;
57563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57564 ac_prev=srcdir ;;
57565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57566 ;;
57567 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57568 ac_prev=prefix ;;
57569 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57570 ;;
57571 *)
57572 case $ac_arg in
57573 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57574 esac
57575 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
57576 esac
57577 done
57578
57579 # Always prepend --prefix to ensure using the same prefix
57580 # in subdir configurations.
57581 ac_arg="--prefix=$prefix"
57582 case $ac_arg in
57583 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57584 esac
57585 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
57586
57587 # Pass --silent
57588 if test "$silent" = yes; then
57589 ac_sub_configure_args="--silent $ac_sub_configure_args"
57590 fi
57591
57592 ac_popdir=`pwd`
57593 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
57594
57595 # Do not complain, so a configure script can configure whichever
57596 # parts of a large source tree are present.
57597 test -d "$srcdir/$ac_dir" || continue
57598
57599 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57600 echo "$as_me:$LINENO: $ac_msg" >&5
57601 echo "$ac_msg" >&6
57602 { as_dir="$ac_dir"
57603 case $as_dir in #(
57604 -*) as_dir=./$as_dir;;
57605 esac
57606 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57607 as_dirs=
57608 while :; do
57609 case $as_dir in #(
57610 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57611 *) as_qdir=$as_dir;;
57612 esac
57613 as_dirs="'$as_qdir' $as_dirs"
57614 as_dir=`$as_dirname -- "$as_dir" ||
57615 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57616 X"$as_dir" : 'X\(//\)[^/]' \| \
57617 X"$as_dir" : 'X\(//\)$' \| \
57618 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57619 echo X"$as_dir" |
57620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57621 s//\1/
57622 q
57623 }
57624 /^X\(\/\/\)[^/].*/{
57625 s//\1/
57626 q
57627 }
57628 /^X\(\/\/\)$/{
57629 s//\1/
57630 q
57631 }
57632 /^X\(\/\).*/{
57633 s//\1/
57634 q
57635 }
57636 s/.*/./; q'`
57637 test -d "$as_dir" && break
57638 done
57639 test -z "$as_dirs" || eval "mkdir $as_dirs"
57640 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57641 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57642 { (exit 1); exit 1; }; }; }
57643 ac_builddir=.
57644
57645 case "$ac_dir" in
57646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57647 *)
57648 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57649 # A ".." for each directory in $ac_dir_suffix.
57650 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57651 case $ac_top_builddir_sub in
57652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57654 esac ;;
57655 esac
57656 ac_abs_top_builddir=$ac_pwd
57657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57658 # for backward compatibility:
57659 ac_top_builddir=$ac_top_build_prefix
57660
57661 case $srcdir in
57662 .) # We are building in place.
57663 ac_srcdir=.
57664 ac_top_srcdir=$ac_top_builddir_sub
57665 ac_abs_top_srcdir=$ac_pwd ;;
57666 [\\/]* | ?:[\\/]* ) # Absolute name.
57667 ac_srcdir=$srcdir$ac_dir_suffix;
57668 ac_top_srcdir=$srcdir
57669 ac_abs_top_srcdir=$srcdir ;;
57670 *) # Relative name.
57671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57672 ac_top_srcdir=$ac_top_build_prefix$srcdir
57673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57674 esac
57675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57676
57677
57678 cd "$ac_dir"
57679
57680 # Check for guested configure; otherwise get Cygnus style configure.
57681 if test -f "$ac_srcdir/configure.gnu"; then
57682 ac_sub_configure=$ac_srcdir/configure.gnu
57683 elif test -f "$ac_srcdir/configure"; then
57684 ac_sub_configure=$ac_srcdir/configure
57685 elif test -f "$ac_srcdir/configure.in"; then
57686 # This should be Cygnus configure.
57687 ac_sub_configure=$ac_aux_dir/configure
57688 else
57689 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57690 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57691 ac_sub_configure=
57692 fi
57693
57694 # The recursion is here.
57695 if test -n "$ac_sub_configure"; then
57696 # Make the cache file name correct relative to the subdirectory.
57697 case $cache_file in
57698 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
57699 *) # Relative name.
57700 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
57701 esac
57702
57703 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57704 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57705 # The eval makes quoting arguments work.
57706 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57707 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57708 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57709 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57710 { (exit 1); exit 1; }; }
57711 fi
57712
57713 cd "$ac_popdir"
57714 done
57715 fi
57716
57717
57718 echo
57719 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57720 echo ""
57721 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57722 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57723 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57724 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57725 if test "$wxUSE_UNICODE" = "yes"; then
57726 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57727 echo " (using UTF-8)"
57728 else
57729 echo " (using wchar_t)"
57730 fi
57731 else
57732 echo
57733 fi
57734
57735 echo " What level of wxWidgets compatibility should be enabled?"
57736 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57737 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57738
57739 echo " Which libraries should wxWidgets use?"
57740 echo " STL ${wxUSE_STL}"
57741 echo " jpeg ${wxUSE_LIBJPEG-none}"
57742 echo " png ${wxUSE_LIBPNG-none}"
57743 echo " regex ${wxUSE_REGEX}"
57744 echo " tiff ${wxUSE_LIBTIFF-none}"
57745 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57746 echo " xpm ${wxUSE_LIBXPM-none}"
57747 fi
57748 echo " zlib ${wxUSE_ZLIB}"
57749 echo " expat ${wxUSE_EXPAT}"
57750 echo " libmspack ${wxUSE_LIBMSPACK}"
57751 echo " sdl ${wxUSE_LIBSDL}"
57752
57753 echo ""
57754