]> git.saurik.com Git - wxWidgets.git/blob - configure
cleaning up problems after string changes
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 EXTRALIBS
744 EXTRALIBS_XML
745 EXTRALIBS_HTML
746 EXTRALIBS_ODBC
747 EXTRALIBS_GUI
748 EXTRALIBS_OPENGL
749 EXTRALIBS_SDL
750 WITH_PLUGIN_SDL
751 EXTRALIBS_GNOMEPRINT
752 EXTRALIBS_GNOMEVFS
753 EXTRALIBS_HILDON
754 UNICODE
755 BUILD
756 DEBUG_INFO
757 DEBUG_FLAG
758 TOOLKIT_LOWERCASE
759 TOOLKIT_VERSION
760 SAMPLES_RPATH_FLAG
761 SAMPLES_RPATH_POSTLINK
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 PLATFORM_UNIX
772 PLATFORM_WIN32
773 PLATFORM_MSDOS
774 PLATFORM_MAC
775 PLATFORM_MACOS
776 PLATFORM_MACOSX
777 PLATFORM_OS2
778 PLATFORM_BEOS
779 SO_SUFFIX
780 SO_SUFFIX_MODULE
781 DLLIMP_SUFFIX
782 LIBPREFIX
783 LIBEXT
784 DLLPREFIX
785 DLLPREFIX_MODULE
786 dlldir
787 AIX_CXX_LD
788 SHARED_LD_CC
789 SHARED_LD_CXX
790 SHARED_LD_MODULE_CC
791 SHARED_LD_MODULE_CXX
792 PIC_FLAG
793 WINDOWS_IMPLIB
794 USE_SOVERSION
795 USE_SOVERLINUX
796 USE_SOVERSOLARIS
797 USE_SOVERCYGWIN
798 USE_MACVERSION
799 USE_SOSYMLINKS
800 SONAME_FLAG
801 DEPS_TRACKING
802 BK_DEPS
803 GCC_PCH
804 ICC_PCH
805 BK_MAKE_PCH
806 COND_BUILD_DEBUG
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
811 COND_BUILD_RELEASE
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
815 COND_DEBUG_FLAG_1
816 COND_DEBUG_INFO_0
817 COND_DEBUG_INFO_1
818 COND_DEPS_TRACKING_0
819 COND_DEPS_TRACKING_1
820 COND_GCC_PCH_1
821 COND_ICC_PCH_1
822 COND_MONOLITHIC_0
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_OS2_1
878 COND_PLATFORM_UNIX_0
879 COND_PLATFORM_UNIX_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
886 COND_SHARED_0
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_USE_XRC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_ODBC_BUILTIN
898 COND_SHARED_0_WXUSE_REGEX_BUILTIN
899 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
900 COND_SHARED_1
901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_SHARED_1_USE_XRC_1
903 COND_TOOLKIT_
904 COND_TOOLKIT_COCOA
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_DFB
908 COND_TOOLKIT_DFB_USE_GUI_1
909 COND_TOOLKIT_GTK
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MAC
918 COND_TOOLKIT_MAC_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MGL
921 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF
923 COND_TOOLKIT_MOTIF_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW
926 COND_TOOLKIT_MSW_USE_GUI_1
927 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW_WXUNIV_0
929 COND_TOOLKIT_PM
930 COND_TOOLKIT_PM_USE_GUI_1
931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE
933 COND_TOOLKIT_WINCE_USE_GUI_1
934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE_WXUNIV_0
936 COND_TOOLKIT_X11
937 COND_TOOLKIT_X11_USE_GUI_1
938 COND_UNICODE_1
939 COND_USE_EXCEPTIONS_0
940 COND_USE_EXCEPTIONS_1
941 COND_USE_GUI_0
942 COND_USE_GUI_1
943 COND_USE_GUI_1_USE_OPENGL_1
944 COND_USE_GUI_1_WXUNIV_0
945 COND_USE_GUI_1_WXUNIV_1
946 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
949 COND_USE_ODBC_1
950 COND_USE_OPENGL_1
951 COND_USE_PCH_1
952 COND_USE_PLUGINS_0
953 COND_USE_RTTI_0
954 COND_USE_RTTI_1
955 COND_USE_SOSYMLINKS_1
956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
957 COND_USE_SOVERLINUX_1
958 COND_USE_SOVERSION_0
959 COND_USE_SOVERSOLARIS_1
960 COND_USE_STC_1
961 COND_USE_THREADS_0
962 COND_USE_THREADS_1
963 COND_USE_XRC_1
964 COND_WINDOWS_IMPLIB_1
965 COND_WITH_PLUGIN_SDL_1
966 COND_WXUNIV_0
967 COND_WXUNIV_1
968 COND_WXUSE_EXPAT_BUILTIN
969 COND_WXUSE_LIBJPEG_BUILTIN
970 COND_WXUSE_LIBPNG_BUILTIN
971 COND_WXUSE_LIBTIFF_BUILTIN
972 COND_WXUSE_ODBC_BUILTIN
973 COND_WXUSE_REGEX_BUILTIN
974 COND_WXUSE_ZLIB_BUILTIN
975 SHARED
976 WX_LIBRARY_BASENAME_NOGUI
977 WX_LIBRARY_BASENAME_GUI
978 USE_GUI
979 AFMINSTALL
980 WIN32INSTALL
981 TOOLKIT
982 TOOLKIT_DIR
983 TOOLCHAIN_NAME
984 TOOLCHAIN_FULLNAME
985 cross_compiling
986 WIDGET_SET
987 WX_RELEASE
988 WX_VERSION
989 WX_SUBVERSION
990 WX_CHARTYPE
991 WX_DEBUGTYPE
992 WXCONFIG_CPPFLAGS
993 WXCONFIG_CFLAGS
994 WXCONFIG_CXXFLAGS
995 WXCONFIG_LIBS
996 WXCONFIG_RPATH
997 WXCONFIG_LDFLAGS_GUI
998 WXCONFIG_RESFLAGS
999 EXE_LINKER
1000 GUIDIST
1001 DISTDIR
1002 SAMPLES_SUBDIRS
1003 LDFLAGS_GL
1004 OPENGL_LIBS
1005 DMALLOC_LIBS
1006 WX_VERSION_TAG
1007 RESCOMP
1008 RESFLAGS
1009 RESPROGRAMOBJ
1010 WX_RESOURCES_MACOSX_ASCII
1011 WX_RESOURCES_MACOSX_DATA
1012 LIBWXMACRES
1013 POSTLINK_COMMAND
1014 MACSETFILE
1015 GCC
1016 CPPUNIT_CONFIG
1017 LIBOBJS
1018 LTLIBOBJS'
1019 ac_subst_files=''
1020 ac_precious_vars='build_alias
1021 host_alias
1022 target_alias
1023 CC
1024 CFLAGS
1025 LDFLAGS
1026 LIBS
1027 CPPFLAGS
1028 CPP
1029 CXX
1030 CXXFLAGS
1031 CCC
1032 PKG_CONFIG
1033 DIRECTFB_CFLAGS
1034 DIRECTFB_LIBS
1035 XMKMF
1036 PANGOX_CFLAGS
1037 PANGOX_LIBS
1038 PANGOFT2_CFLAGS
1039 PANGOFT2_LIBS
1040 PANGOXFT_CFLAGS
1041 PANGOXFT_LIBS
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1044 GNOMEVFS_CFLAGS
1045 GNOMEVFS_LIBS
1046 HILDON_CFLAGS
1047 HILDON_LIBS
1048 CAIRO_CFLAGS
1049 CAIRO_LIBS
1050 GST_CFLAGS
1051 GST_LIBS'
1052 ac_subdirs_all='src/expat'
1053
1054 # Initialize some variables set by options.
1055 ac_init_help=
1056 ac_init_version=false
1057 # The variables have the same names as the options, with
1058 # dashes changed to underlines.
1059 cache_file=/dev/null
1060 exec_prefix=NONE
1061 no_create=
1062 no_recursion=
1063 prefix=NONE
1064 program_prefix=NONE
1065 program_suffix=NONE
1066 program_transform_name=s,x,x,
1067 silent=
1068 site=
1069 srcdir=
1070 verbose=
1071 x_includes=NONE
1072 x_libraries=NONE
1073
1074 # Installation directory options.
1075 # These are left unexpanded so users can "make install exec_prefix=/foo"
1076 # and all the variables that are supposed to be based on exec_prefix
1077 # by default will actually change.
1078 # Use braces instead of parens because sh, perl, etc. also accept them.
1079 # (The list follows the same order as the GNU Coding Standards.)
1080 bindir='${exec_prefix}/bin'
1081 sbindir='${exec_prefix}/sbin'
1082 libexecdir='${exec_prefix}/libexec'
1083 datarootdir='${prefix}/share'
1084 datadir='${datarootdir}'
1085 sysconfdir='${prefix}/etc'
1086 sharedstatedir='${prefix}/com'
1087 localstatedir='${prefix}/var'
1088 includedir='${prefix}/include'
1089 oldincludedir='/usr/include'
1090 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1091 infodir='${datarootdir}/info'
1092 htmldir='${docdir}'
1093 dvidir='${docdir}'
1094 pdfdir='${docdir}'
1095 psdir='${docdir}'
1096 libdir='${exec_prefix}/lib'
1097 localedir='${datarootdir}/locale'
1098 mandir='${datarootdir}/man'
1099
1100 ac_prev=
1101 ac_dashdash=
1102 for ac_option
1103 do
1104 # If the previous option needs an argument, assign it.
1105 if test -n "$ac_prev"; then
1106 eval $ac_prev=\$ac_option
1107 ac_prev=
1108 continue
1109 fi
1110
1111 case $ac_option in
1112 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 *) ac_optarg=yes ;;
1114 esac
1115
1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1117
1118 case $ac_dashdash$ac_option in
1119 --)
1120 ac_dashdash=yes ;;
1121
1122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123 ac_prev=bindir ;;
1124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125 bindir=$ac_optarg ;;
1126
1127 -build | --build | --buil | --bui | --bu)
1128 ac_prev=build_alias ;;
1129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130 build_alias=$ac_optarg ;;
1131
1132 -cache-file | --cache-file | --cache-fil | --cache-fi \
1133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134 ac_prev=cache_file ;;
1135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137 cache_file=$ac_optarg ;;
1138
1139 --config-cache | -C)
1140 cache_file=config.cache ;;
1141
1142 -datadir | --datadir | --datadi | --datad)
1143 ac_prev=datadir ;;
1144 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145 datadir=$ac_optarg ;;
1146
1147 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148 | --dataroo | --dataro | --datar)
1149 ac_prev=datarootdir ;;
1150 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152 datarootdir=$ac_optarg ;;
1153
1154 -disable-* | --disable-*)
1155 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1161 eval enable_$ac_feature=no ;;
1162
1163 -docdir | --docdir | --docdi | --doc | --do)
1164 ac_prev=docdir ;;
1165 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1166 docdir=$ac_optarg ;;
1167
1168 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1169 ac_prev=dvidir ;;
1170 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1171 dvidir=$ac_optarg ;;
1172
1173 -enable-* | --enable-*)
1174 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1180 eval enable_$ac_feature=\$ac_optarg ;;
1181
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev=exec_prefix ;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix=$ac_optarg ;;
1190
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1193 with_gas=yes ;;
1194
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help=long ;;
1197 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198 ac_init_help=recursive ;;
1199 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200 ac_init_help=short ;;
1201
1202 -host | --host | --hos | --ho)
1203 ac_prev=host_alias ;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias=$ac_optarg ;;
1206
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208 ac_prev=htmldir ;;
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210 | --ht=*)
1211 htmldir=$ac_optarg ;;
1212
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev=includedir ;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir=$ac_optarg ;;
1219
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1221 ac_prev=infodir ;;
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir=$ac_optarg ;;
1224
1225 -libdir | --libdir | --libdi | --libd)
1226 ac_prev=libdir ;;
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir=$ac_optarg ;;
1229
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev=libexecdir ;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir=$ac_optarg ;;
1236
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev=localedir ;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir=$ac_optarg ;;
1241
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev=localstatedir ;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir=$ac_optarg ;;
1248
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250 ac_prev=mandir ;;
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir=$ac_optarg ;;
1253
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1256 with_fp=no ;;
1257
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1260 no_create=yes ;;
1261
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1264 no_recursion=yes ;;
1265
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev=oldincludedir ;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir=$ac_optarg ;;
1274
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276 ac_prev=prefix ;;
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix=$ac_optarg ;;
1279
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev=program_prefix ;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix=$ac_optarg ;;
1286
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev=program_suffix ;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix=$ac_optarg ;;
1293
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev=program_transform_name ;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name=$ac_optarg ;;
1310
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312 ac_prev=pdfdir ;;
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir=$ac_optarg ;;
1315
1316 -psdir | --psdir | --psdi | --psd | --ps)
1317 ac_prev=psdir ;;
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1319 psdir=$ac_optarg ;;
1320
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1323 silent=yes ;;
1324
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326 ac_prev=sbindir ;;
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328 | --sbi=* | --sb=*)
1329 sbindir=$ac_optarg ;;
1330
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1334 | --sha | --sh)
1335 ac_prev=sharedstatedir ;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339 | --sha=* | --sh=*)
1340 sharedstatedir=$ac_optarg ;;
1341
1342 -site | --site | --sit)
1343 ac_prev=site ;;
1344 -site=* | --site=* | --sit=*)
1345 site=$ac_optarg ;;
1346
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348 ac_prev=srcdir ;;
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir=$ac_optarg ;;
1351
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev=sysconfdir ;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir=$ac_optarg ;;
1358
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev=target_alias ;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias=$ac_optarg ;;
1363
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1365 verbose=yes ;;
1366
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version=: ;;
1369
1370 -with-* | --with-*)
1371 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374 { echo "$as_me: error: invalid package name: $ac_package" >&2
1375 { (exit 1); exit 1; }; }
1376 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1377 eval with_$ac_package=\$ac_optarg ;;
1378
1379 -without-* | --without-*)
1380 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381 # Reject names that are not valid shell variable names.
1382 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 { echo "$as_me: error: invalid package name: $ac_package" >&2
1384 { (exit 1); exit 1; }; }
1385 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1386 eval with_$ac_package=no ;;
1387
1388 --x)
1389 # Obsolete; use --with-x.
1390 with_x=yes ;;
1391
1392 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1393 | --x-incl | --x-inc | --x-in | --x-i)
1394 ac_prev=x_includes ;;
1395 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1396 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1397 x_includes=$ac_optarg ;;
1398
1399 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1400 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1401 ac_prev=x_libraries ;;
1402 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1403 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1404 x_libraries=$ac_optarg ;;
1405
1406 -*) { echo "$as_me: error: unrecognized option: $ac_option
1407 Try \`$0 --help' for more information." >&2
1408 { (exit 1); exit 1; }; }
1409 ;;
1410
1411 *=*)
1412 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1413 # Reject names that are not valid shell variable names.
1414 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1415 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1416 { (exit 1); exit 1; }; }
1417 eval $ac_envvar=\$ac_optarg
1418 export $ac_envvar ;;
1419
1420 *)
1421 # FIXME: should be removed in autoconf 3.0.
1422 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1423 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1424 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1425 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1426 ;;
1427
1428 esac
1429 done
1430
1431 if test -n "$ac_prev"; then
1432 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1433 { echo "$as_me: error: missing argument to $ac_option" >&2
1434 { (exit 1); exit 1; }; }
1435 fi
1436
1437 # Be sure to have absolute directory names.
1438 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1442 do
1443 eval ac_val=\$$ac_var
1444 case $ac_val in
1445 [\\/$]* | ?:[\\/]* ) continue;;
1446 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1447 esac
1448 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1449 { (exit 1); exit 1; }; }
1450 done
1451
1452 # There might be people who depend on the old broken behavior: `$host'
1453 # used to hold the argument of --host etc.
1454 # FIXME: To remove some day.
1455 build=$build_alias
1456 host=$host_alias
1457 target=$target_alias
1458
1459 # FIXME: To remove some day.
1460 if test "x$host_alias" != x; then
1461 if test "x$build_alias" = x; then
1462 cross_compiling=maybe
1463 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1464 If a cross compiler is detected then cross compile mode will be used." >&2
1465 elif test "x$build_alias" != "x$host_alias"; then
1466 cross_compiling=yes
1467 fi
1468 fi
1469
1470 ac_tool_prefix=
1471 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1472
1473 test "$silent" = yes && exec 6>/dev/null
1474
1475
1476 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1477 ac_ls_di=`ls -di .` &&
1478 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1479 { echo "$as_me: error: Working directory cannot be determined" >&2
1480 { (exit 1); exit 1; }; }
1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482 { echo "$as_me: error: pwd does not report name of working directory" >&2
1483 { (exit 1); exit 1; }; }
1484
1485
1486 # Find the source files, if location was not specified.
1487 if test -z "$srcdir"; then
1488 ac_srcdir_defaulted=yes
1489 # Try the directory containing this script, then the parent directory.
1490 ac_confdir=`$as_dirname -- "$0" ||
1491 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1492 X"$0" : 'X\(//\)[^/]' \| \
1493 X"$0" : 'X\(//\)$' \| \
1494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1495 echo X"$0" |
1496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1497 s//\1/
1498 q
1499 }
1500 /^X\(\/\/\)[^/].*/{
1501 s//\1/
1502 q
1503 }
1504 /^X\(\/\/\)$/{
1505 s//\1/
1506 q
1507 }
1508 /^X\(\/\).*/{
1509 s//\1/
1510 q
1511 }
1512 s/.*/./; q'`
1513 srcdir=$ac_confdir
1514 if test ! -r "$srcdir/$ac_unique_file"; then
1515 srcdir=..
1516 fi
1517 else
1518 ac_srcdir_defaulted=no
1519 fi
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1521 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1522 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1523 { (exit 1); exit 1; }; }
1524 fi
1525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 ac_abs_confdir=`(
1527 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1528 { (exit 1); exit 1; }; }
1529 pwd)`
1530 # When building in place, set srcdir=.
1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
1532 srcdir=.
1533 fi
1534 # Remove unnecessary trailing slashes from srcdir.
1535 # Double slashes in file names in object file debugging info
1536 # mess up M-x gdb in Emacs.
1537 case $srcdir in
1538 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 esac
1540 for ac_var in $ac_precious_vars; do
1541 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1542 eval ac_env_${ac_var}_value=\$${ac_var}
1543 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1544 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545 done
1546
1547 #
1548 # Report the --help message.
1549 #
1550 if test "$ac_init_help" = "long"; then
1551 # Omit some internal or obsolete options to make the list less imposing.
1552 # This message is too long to be a string in the A/UX 3.1 sh.
1553 cat <<_ACEOF
1554 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1555
1556 Usage: $0 [OPTION]... [VAR=VALUE]...
1557
1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1559 VAR=VALUE. See below for descriptions of some of the useful variables.
1560
1561 Defaults for the options are specified in brackets.
1562
1563 Configuration:
1564 -h, --help display this help and exit
1565 --help=short display options specific to this package
1566 --help=recursive display the short help of all the included packages
1567 -V, --version display version information and exit
1568 -q, --quiet, --silent do not print \`checking...' messages
1569 --cache-file=FILE cache test results in FILE [disabled]
1570 -C, --config-cache alias for \`--cache-file=config.cache'
1571 -n, --no-create do not create output files
1572 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573
1574 Installation directories:
1575 --prefix=PREFIX install architecture-independent files in PREFIX
1576 [$ac_default_prefix]
1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1578 [PREFIX]
1579
1580 By default, \`make install' will install all the files in
1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1583 for instance \`--prefix=\$HOME'.
1584
1585 For better control, use the options below.
1586
1587 Fine tuning of the installation directories:
1588 --bindir=DIR user executables [EPREFIX/bin]
1589 --sbindir=DIR system admin executables [EPREFIX/sbin]
1590 --libexecdir=DIR program executables [EPREFIX/libexec]
1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1594 --libdir=DIR object code libraries [EPREFIX/lib]
1595 --includedir=DIR C header files [PREFIX/include]
1596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1599 --infodir=DIR info documentation [DATAROOTDIR/info]
1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1601 --mandir=DIR man documentation [DATAROOTDIR/man]
1602 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1603 --htmldir=DIR html documentation [DOCDIR]
1604 --dvidir=DIR dvi documentation [DOCDIR]
1605 --pdfdir=DIR pdf documentation [DOCDIR]
1606 --psdir=DIR ps documentation [DOCDIR]
1607 _ACEOF
1608
1609 cat <<\_ACEOF
1610
1611 X features:
1612 --x-includes=DIR X include files are in DIR
1613 --x-libraries=DIR X library files are in DIR
1614
1615 System types:
1616 --build=BUILD configure for building on BUILD [guessed]
1617 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1618 --target=TARGET configure for building compilers for TARGET [HOST]
1619 _ACEOF
1620 fi
1621
1622 if test -n "$ac_init_help"; then
1623 case $ac_init_help in
1624 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1625 esac
1626 cat <<\_ACEOF
1627
1628 Optional Features:
1629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1631 --enable-gui use GUI classes
1632 --enable-monolithic build wxWidgets as single library
1633 --enable-plugins build parts of wxWidgets as loadable components
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --enable-shared create shared library code
1639 --enable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-extended_rtti use extended RTTI (XTI)
1643 --enable-omf use OMF object format
1644 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1645 --enable-debug_info create code with debugging information
1646 --enable-debug_gdb create code with extra GDB debugging information
1647 --enable-debug_cntxt use wxDebugContext
1648 --enable-mem_tracing create code with memory tracing
1649 --enable-profile create code with profiling information
1650 --enable-no_rtti create code without RTTI information
1651 --enable-no_exceptions create code without C++ exceptions handling
1652 --enable-permissive compile code disregarding strict ANSI
1653 --enable-no_deps create code without dependency information
1654 --disable-vararg_macros don't use vararg macros, even if they are supported
1655 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1656 --enable-compat26 enable wxWidgets 2.6 compatibility
1657 --disable-compat28 disable wxWidgets 2.8 compatibility
1658 --disable-rpath disable use of rpath for uninstalled builds
1659 --enable-intl use internationalization system
1660 --enable-config use wxConfig (and derived) classes
1661 --enable-protocols use wxProtocol and derived classes
1662 --enable-ftp use wxFTP (requires wxProtocol
1663 --enable-http use wxHTTP (requires wxProtocol
1664 --enable-fileproto use wxFileProto class (requires wxProtocol
1665 --enable-sockets use socket/network classes
1666 --enable-ole use OLE classes (Win32 only)
1667 --enable-dataobj use data object classes
1668 --enable-ipc use interprocess communication (wxSocket etc.)
1669 --enable-apple_ieee use the Apple IEEE codec
1670 --enable-arcstream use wxArchive streams
1671 --enable-backtrace use wxStackWalker class for getting backtraces
1672 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1673 --enable-cmdline use wxCmdLineParser class
1674 --enable-datetime use wxDateTime class
1675 --enable-debugreport use wxDebugReport class
1676 --enable-dialupman use dialup network classes
1677 --enable-dynlib use wxLibrary class for DLL loading
1678 --enable-dynamicloader use (new) wxDynamicLibrary class
1679 --enable-exceptions build exception-safe library
1680 --enable-ffile use wxFFile class
1681 --enable-file use wxFile class
1682 --enable-filesystem use virtual file systems classes
1683 --enable-fontmap use font encodings conversion classes
1684 --enable-fs_archive use virtual archive filesystems
1685 --enable-fs_inet use virtual HTTP/FTP filesystems
1686 --enable-fs_zip now replaced by fs_archive
1687 --enable-geometry use geometry class
1688 --enable-log use logging system
1689 --enable-longlong use wxLongLong class
1690 --enable-mimetype use wxMimeTypesManager
1691 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1692 --enable-utf8 use UTF-8 representation for strings (Unix only)
1693 --enable-snglinst use wxSingleInstanceChecker class
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-stdpaths use wxStandardPaths class
1697 --enable-stopwatch use wxStopWatch class
1698 --enable-streams use wxStream etc classes
1699 --enable-sysoptions use wxSystemOptions
1700 --enable-tarstream use wxTar streams
1701 --enable-textbuf use wxTextBuffer class
1702 --enable-textfile use wxTextFile class
1703 --enable-timer use wxTimer class
1704 --enable-unicode compile wxString with Unicode support
1705 --enable-sound use wxSound class
1706 --enable-mediactrl use wxMediaCtrl class
1707 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1708 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1709 --enable-zipstream use wxZip streams
1710 --enable-url use wxURL class
1711 --enable-variant use wxVariant class
1712 --enable-protocol use wxProtocol class
1713 --enable-protocol-http HTTP support in wxProtocol
1714 --enable-protocol-ftp FTP support in wxProtocol
1715 --enable-protocol-file FILE support in wxProtocol
1716 --enable-threads use threads
1717 --enable-docview use document view architecture
1718 --enable-help use help subsystem
1719 --enable-mshtmlhelp use MS HTML Help (win32)
1720 --enable-html use wxHTML sub-library
1721 --enable-htmlhelp use wxHTML-based help
1722 --enable-xrc use XRC resources sub-library
1723 --enable-aui use AUI docking library
1724 --enable-stc use wxStyledTextCtrl library
1725 --enable-constraints use layout-constraints system
1726 --enable-printarch use printing architecture
1727 --enable-mdi use multiple document interface architecture
1728 --enable-mdidoc use docview architecture with MDI
1729 --enable-loggui use standard GUI logger
1730 --enable-logwin use wxLogWindow
1731 --enable-logdialog use wxLogDialog
1732 --enable-webkit use wxWebKitCtrl (Mac)
1733 --enable-richtext use wxRichTextCtrl
1734 --enable-graphics_ctx use graphics context 2D drawing API
1735 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1736 --enable-clipboard use wxClipboard class
1737 --enable-dnd use Drag'n'Drop classes
1738 --enable-metafile use win32 metafiles
1739 --enable-controls use all usual controls
1740 --enable-accel use accelerators
1741 --enable-animatectrl use wxAnimationCtrl class
1742 --enable-button use wxButton class
1743 --enable-bmpbutton use wxBitmapButton class
1744 --enable-bmpcombobox use wxBitmapComboBox class
1745 --enable-calendar use wxCalendarCtrl class
1746 --enable-caret use wxCaret class
1747 --enable-checkbox use wxCheckBox class
1748 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1749 --enable-choice use wxChoice class
1750 --enable-choicebook use wxChoicebook class
1751 --enable-collpane use wxCollapsiblePane class
1752 --enable-colourpicker use wxColourPickerCtrl class
1753 --enable-combobox use wxComboBox class
1754 --enable-comboctrl use wxComboCtrl class
1755 --enable-datepick use wxDatePickerCtrl class
1756 --enable-dirpicker use wxDirPickerCtrl class
1757 --enable-display use wxDisplay class
1758 --enable-detect_sm use code to detect X11 session manager
1759 --enable-filepicker use wxFilePickerCtrl class
1760 --enable-fontpicker use wxFontPickerCtrl class
1761 --enable-gauge use wxGauge class
1762 --enable-grid use wxGrid class
1763 --enable-dataviewctrl use wxDataViewCtrl class
1764 --enable-hyperlink use wxHyperlinkCtrl class
1765 --enable-imaglist use wxImageList class
1766 --enable-listbook use wxListbook class
1767 --enable-listbox use wxListBox class
1768 --enable-listctrl use wxListCtrl class
1769 --enable-notebook use wxNotebook class
1770 --enable-odcombobox use wxOwnerDrawnComboBox class
1771 --enable-radiobox use wxRadioBox class
1772 --enable-radiobtn use wxRadioButton class
1773 --enable-sash use wxSashWindow class
1774 --enable-scrollbar use wxScrollBar class and scrollable windows
1775 --enable-searchctrl use wxSearchCtrl class
1776 --enable-slider use wxSlider class
1777 --enable-spinbtn use wxSpinButton class
1778 --enable-spinctrl use wxSpinCtrl class
1779 --enable-splitter use wxSplitterWindow class
1780 --enable-statbmp use wxStaticBitmap class
1781 --enable-statbox use wxStaticBox class
1782 --enable-statline use wxStaticLine class
1783 --enable-stattext use wxStaticText class
1784 --enable-statusbar use wxStatusBar class
1785 --enable-tabdialog use wxTabControl class
1786 --enable-textctrl use wxTextCtrl class
1787 --enable-togglebtn use wxToggleButton class
1788 --enable-toolbar use wxToolBar class
1789 --enable-tbarnative use native wxToolBar class
1790 --enable-treebook use wxTreebook class
1791 --enable-toolbook use wxToolbook class
1792 --enable-treectrl use wxTreeCtrl class
1793 --enable-tipwindow use wxTipWindow class
1794 --enable-popupwin use wxPopUpWindow class
1795 --enable-commondlg use all common dialogs
1796 --enable-aboutdlg use wxAboutBox
1797 --enable-choicedlg use wxChoiceDialog
1798 --enable-coldlg use wxColourDialog
1799 --enable-filedlg use wxFileDialog
1800 --enable-finddlg use wxFindReplaceDialog
1801 --enable-fontdlg use wxFontDialog
1802 --enable-dirdlg use wxDirDialog
1803 --enable-msgdlg use wxMessageDialog
1804 --enable-numberdlg use wxNumberEntryDialog
1805 --enable-splash use wxSplashScreen
1806 --enable-textdlg use wxTextDialog
1807 --enable-tipdlg use startup tips
1808 --enable-progressdlg use wxProgressDialog
1809 --enable-wizarddlg use wxWizard
1810 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1811 --enable-miniframe use wxMiniFrame class
1812 --enable-tooltips use wxToolTip class
1813 --enable-splines use spline drawing code
1814 --enable-mousewheel use mousewheel
1815 --enable-validators use wxValidator and derived classes
1816 --enable-busyinfo use wxBusyInfo
1817 --enable-joystick use wxJoystick
1818 --enable-metafiles use wxMetaFile (Win32 only)
1819 --enable-dragimage use wxDragImage
1820 --enable-accessibility enable accessibility support
1821 --enable-dccache cache temporary wxDC objects (Win32 only)
1822 --enable-palette use wxPalette class
1823 --enable-image use wxImage class
1824 --enable-gif use gif images (GIF file format)
1825 --enable-pcx use pcx images (PCX file format)
1826 --enable-tga use tga images (TGA file format)
1827 --enable-iff use iff images (IFF file format)
1828 --enable-pnm use pnm images (PNM file format)
1829 --enable-xpm use xpm images (XPM file format)
1830 --enable-icocur use Windows ICO and CUR formats
1831 --enable-official_build official build of wxWidgets (win32 DLL only)
1832 --enable-vendor=VENDOR vendor name (win32 DLL only)
1833 --disable-largefile omit support for large files
1834 --disable-gtktest do not try to compile and run a test GTK+ program
1835 --disable-gtktest Do not try to compile and run a test GTK program
1836 --disable-sdltest Do not try to compile and run a test SDL program
1837 --enable-omf use OMF object format (OS/2)
1838 --disable-dependency-tracking
1839 don't use dependency tracking even if the compiler
1840 can
1841 --disable-precomp-headers
1842 don't use precompiled headers even if compiler can
1843
1844 Optional Packages:
1845 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1846 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1847 --without-subdirs don't generate makefiles for samples/demos/...
1848 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1849 --with-motif use Motif/Lesstif
1850 --with-mac use Mac OS X
1851 --with-cocoa use Cocoa
1852 --with-wine use Wine
1853 --with-msw use MS-Windows
1854 --with-pm use OS/2 Presentation Manager
1855 --with-mgl use SciTech MGL
1856 --with-directfb use DirectFB
1857 --with-microwin use MicroWindows
1858 --with-x11 use X11
1859 --with-libpng use libpng (PNG image format)
1860 --with-libjpeg use libjpeg (JPEG file format)
1861 --with-libtiff use libtiff (TIFF file format)
1862 --with-libxpm use libxpm (XPM file format)
1863 --with-libmspack use libmspack (CHM help files loading)
1864 --with-sdl use SDL for audio on Unix
1865 --with-gnomeprint use GNOME print for printing under GNOME
1866 --with-gnomevfs use GNOME VFS for associating MIME types
1867 --with-hildon use Hildon framework for Nokia 770
1868 --with-opengl use OpenGL (or Mesa)
1869 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1870 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1871 --with-regex enable support for wxRegEx class
1872 --with-zlib use zlib for LZW compression
1873 --with-odbc use the IODBC and wxODBC classes
1874 --with-expat enable XML support using expat parser
1875 --with-flavour=NAME specify a name to identify this build
1876 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1877 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1878 --with-x use the X Window System
1879 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1880 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1881 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1882 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1883 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1884
1885 Some influential environment variables:
1886 CC C compiler command
1887 CFLAGS C compiler flags
1888 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1889 nonstandard directory <lib dir>
1890 LIBS libraries to pass to the linker, e.g. -l<library>
1891 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1892 you have headers in a nonstandard directory <include dir>
1893 CPP C preprocessor
1894 CXX C++ compiler command
1895 CXXFLAGS C++ compiler flags
1896 PKG_CONFIG path to pkg-config utility
1897 DIRECTFB_CFLAGS
1898 C compiler flags for DIRECTFB, overriding pkg-config
1899 DIRECTFB_LIBS
1900 linker flags for DIRECTFB, overriding pkg-config
1901 XMKMF Path to xmkmf, Makefile generator for X Window System
1902 PANGOX_CFLAGS
1903 C compiler flags for PANGOX, overriding pkg-config
1904 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1905 PANGOFT2_CFLAGS
1906 C compiler flags for PANGOFT2, overriding pkg-config
1907 PANGOFT2_LIBS
1908 linker flags for PANGOFT2, overriding pkg-config
1909 PANGOXFT_CFLAGS
1910 C compiler flags for PANGOXFT, overriding pkg-config
1911 PANGOXFT_LIBS
1912 linker flags for PANGOXFT, overriding pkg-config
1913 LIBGNOMEPRINTUI_CFLAGS
1914 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1915 LIBGNOMEPRINTUI_LIBS
1916 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1917 GNOMEVFS_CFLAGS
1918 C compiler flags for GNOMEVFS, overriding pkg-config
1919 GNOMEVFS_LIBS
1920 linker flags for GNOMEVFS, overriding pkg-config
1921 HILDON_CFLAGS
1922 C compiler flags for HILDON, overriding pkg-config
1923 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1924 CAIRO_CFLAGS
1925 C compiler flags for CAIRO, overriding pkg-config
1926 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1927 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1928 GST_LIBS linker flags for GST, overriding pkg-config
1929
1930 Use these variables to override the choices made by `configure' or to help
1931 it to find libraries and programs with nonstandard names/locations.
1932
1933 Report bugs to <wx-dev@lists.wxwidgets.org>.
1934 _ACEOF
1935 ac_status=$?
1936 fi
1937
1938 if test "$ac_init_help" = "recursive"; then
1939 # If there are subdirs, report their specific --help.
1940 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1941 test -d "$ac_dir" || continue
1942 ac_builddir=.
1943
1944 case "$ac_dir" in
1945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1946 *)
1947 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1948 # A ".." for each directory in $ac_dir_suffix.
1949 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1950 case $ac_top_builddir_sub in
1951 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1952 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1953 esac ;;
1954 esac
1955 ac_abs_top_builddir=$ac_pwd
1956 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1957 # for backward compatibility:
1958 ac_top_builddir=$ac_top_build_prefix
1959
1960 case $srcdir in
1961 .) # We are building in place.
1962 ac_srcdir=.
1963 ac_top_srcdir=$ac_top_builddir_sub
1964 ac_abs_top_srcdir=$ac_pwd ;;
1965 [\\/]* | ?:[\\/]* ) # Absolute name.
1966 ac_srcdir=$srcdir$ac_dir_suffix;
1967 ac_top_srcdir=$srcdir
1968 ac_abs_top_srcdir=$srcdir ;;
1969 *) # Relative name.
1970 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1971 ac_top_srcdir=$ac_top_build_prefix$srcdir
1972 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1973 esac
1974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1975
1976 cd "$ac_dir" || { ac_status=$?; continue; }
1977 # Check for guested configure.
1978 if test -f "$ac_srcdir/configure.gnu"; then
1979 echo &&
1980 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1981 elif test -f "$ac_srcdir/configure"; then
1982 echo &&
1983 $SHELL "$ac_srcdir/configure" --help=recursive
1984 else
1985 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1986 fi || ac_status=$?
1987 cd "$ac_pwd" || { ac_status=$?; break; }
1988 done
1989 fi
1990
1991 test -n "$ac_init_help" && exit $ac_status
1992 if $ac_init_version; then
1993 cat <<\_ACEOF
1994 wxWidgets configure 2.9.0
1995 generated by GNU Autoconf 2.61
1996
1997 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1998 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1999 This configure script is free software; the Free Software Foundation
2000 gives unlimited permission to copy, distribute and modify it.
2001 _ACEOF
2002 exit
2003 fi
2004 cat >config.log <<_ACEOF
2005 This file contains any messages produced by compilers while
2006 running configure, to aid debugging if configure makes a mistake.
2007
2008 It was created by wxWidgets $as_me 2.9.0, which was
2009 generated by GNU Autoconf 2.61. Invocation command line was
2010
2011 $ $0 $@
2012
2013 _ACEOF
2014 exec 5>>config.log
2015 {
2016 cat <<_ASUNAME
2017 ## --------- ##
2018 ## Platform. ##
2019 ## --------- ##
2020
2021 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2022 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2023 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2024 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2025 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2026
2027 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2028 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2029
2030 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2031 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2032 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2033 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2034 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2035 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2036 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2037
2038 _ASUNAME
2039
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 for as_dir in $PATH
2042 do
2043 IFS=$as_save_IFS
2044 test -z "$as_dir" && as_dir=.
2045 echo "PATH: $as_dir"
2046 done
2047 IFS=$as_save_IFS
2048
2049 } >&5
2050
2051 cat >&5 <<_ACEOF
2052
2053
2054 ## ----------- ##
2055 ## Core tests. ##
2056 ## ----------- ##
2057
2058 _ACEOF
2059
2060
2061 # Keep a trace of the command line.
2062 # Strip out --no-create and --no-recursion so they do not pile up.
2063 # Strip out --silent because we don't want to record it for future runs.
2064 # Also quote any args containing shell meta-characters.
2065 # Make two passes to allow for proper duplicate-argument suppression.
2066 ac_configure_args=
2067 ac_configure_args0=
2068 ac_configure_args1=
2069 ac_must_keep_next=false
2070 for ac_pass in 1 2
2071 do
2072 for ac_arg
2073 do
2074 case $ac_arg in
2075 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2077 | -silent | --silent | --silen | --sile | --sil)
2078 continue ;;
2079 *\'*)
2080 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2081 esac
2082 case $ac_pass in
2083 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2084 2)
2085 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2086 if test $ac_must_keep_next = true; then
2087 ac_must_keep_next=false # Got value, back to normal.
2088 else
2089 case $ac_arg in
2090 *=* | --config-cache | -C | -disable-* | --disable-* \
2091 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2092 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2093 | -with-* | --with-* | -without-* | --without-* | --x)
2094 case "$ac_configure_args0 " in
2095 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2096 esac
2097 ;;
2098 -* ) ac_must_keep_next=true ;;
2099 esac
2100 fi
2101 ac_configure_args="$ac_configure_args '$ac_arg'"
2102 ;;
2103 esac
2104 done
2105 done
2106 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2107 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2108
2109 # When interrupted or exit'd, cleanup temporary files, and complete
2110 # config.log. We remove comments because anyway the quotes in there
2111 # would cause problems or look ugly.
2112 # WARNING: Use '\'' to represent an apostrophe within the trap.
2113 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2114 trap 'exit_status=$?
2115 # Save into config.log some information that might help in debugging.
2116 {
2117 echo
2118
2119 cat <<\_ASBOX
2120 ## ---------------- ##
2121 ## Cache variables. ##
2122 ## ---------------- ##
2123 _ASBOX
2124 echo
2125 # The following way of writing the cache mishandles newlines in values,
2126 (
2127 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2128 eval ac_val=\$$ac_var
2129 case $ac_val in #(
2130 *${as_nl}*)
2131 case $ac_var in #(
2132 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2133 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2134 esac
2135 case $ac_var in #(
2136 _ | IFS | as_nl) ;; #(
2137 *) $as_unset $ac_var ;;
2138 esac ;;
2139 esac
2140 done
2141 (set) 2>&1 |
2142 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2143 *${as_nl}ac_space=\ *)
2144 sed -n \
2145 "s/'\''/'\''\\\\'\'''\''/g;
2146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2147 ;; #(
2148 *)
2149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2150 ;;
2151 esac |
2152 sort
2153 )
2154 echo
2155
2156 cat <<\_ASBOX
2157 ## ----------------- ##
2158 ## Output variables. ##
2159 ## ----------------- ##
2160 _ASBOX
2161 echo
2162 for ac_var in $ac_subst_vars
2163 do
2164 eval ac_val=\$$ac_var
2165 case $ac_val in
2166 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2167 esac
2168 echo "$ac_var='\''$ac_val'\''"
2169 done | sort
2170 echo
2171
2172 if test -n "$ac_subst_files"; then
2173 cat <<\_ASBOX
2174 ## ------------------- ##
2175 ## File substitutions. ##
2176 ## ------------------- ##
2177 _ASBOX
2178 echo
2179 for ac_var in $ac_subst_files
2180 do
2181 eval ac_val=\$$ac_var
2182 case $ac_val in
2183 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 esac
2185 echo "$ac_var='\''$ac_val'\''"
2186 done | sort
2187 echo
2188 fi
2189
2190 if test -s confdefs.h; then
2191 cat <<\_ASBOX
2192 ## ----------- ##
2193 ## confdefs.h. ##
2194 ## ----------- ##
2195 _ASBOX
2196 echo
2197 cat confdefs.h
2198 echo
2199 fi
2200 test "$ac_signal" != 0 &&
2201 echo "$as_me: caught signal $ac_signal"
2202 echo "$as_me: exit $exit_status"
2203 } >&5
2204 rm -f core *.core core.conftest.* &&
2205 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2206 exit $exit_status
2207 ' 0
2208 for ac_signal in 1 2 13 15; do
2209 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2210 done
2211 ac_signal=0
2212
2213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2214 rm -f -r conftest* confdefs.h
2215
2216 # Predefined preprocessor variables.
2217
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_NAME "$PACKAGE_NAME"
2220 _ACEOF
2221
2222
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2225 _ACEOF
2226
2227
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2230 _ACEOF
2231
2232
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_STRING "$PACKAGE_STRING"
2235 _ACEOF
2236
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240 _ACEOF
2241
2242
2243 # Let the site file select an alternate cache file if it wants to.
2244 # Prefer explicitly selected file to automatically selected ones.
2245 if test -n "$CONFIG_SITE"; then
2246 set x "$CONFIG_SITE"
2247 elif test "x$prefix" != xNONE; then
2248 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2249 else
2250 set x "$ac_default_prefix/share/config.site" \
2251 "$ac_default_prefix/etc/config.site"
2252 fi
2253 shift
2254 for ac_site_file
2255 do
2256 if test -r "$ac_site_file"; then
2257 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2258 echo "$as_me: loading site script $ac_site_file" >&6;}
2259 sed 's/^/| /' "$ac_site_file" >&5
2260 . "$ac_site_file"
2261 fi
2262 done
2263
2264 if test -r "$cache_file"; then
2265 # Some versions of bash will fail to source /dev/null (special
2266 # files actually), so we avoid doing that.
2267 if test -f "$cache_file"; then
2268 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2269 echo "$as_me: loading cache $cache_file" >&6;}
2270 case $cache_file in
2271 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2272 *) . "./$cache_file";;
2273 esac
2274 fi
2275 else
2276 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2277 echo "$as_me: creating cache $cache_file" >&6;}
2278 >$cache_file
2279 fi
2280
2281 # Check that the precious variables saved in the cache have kept the same
2282 # value.
2283 ac_cache_corrupted=false
2284 for ac_var in $ac_precious_vars; do
2285 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2286 eval ac_new_set=\$ac_env_${ac_var}_set
2287 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2288 eval ac_new_val=\$ac_env_${ac_var}_value
2289 case $ac_old_set,$ac_new_set in
2290 set,)
2291 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2293 ac_cache_corrupted=: ;;
2294 ,set)
2295 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2297 ac_cache_corrupted=: ;;
2298 ,);;
2299 *)
2300 if test "x$ac_old_val" != "x$ac_new_val"; then
2301 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2303 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2304 echo "$as_me: former value: $ac_old_val" >&2;}
2305 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2306 echo "$as_me: current value: $ac_new_val" >&2;}
2307 ac_cache_corrupted=:
2308 fi;;
2309 esac
2310 # Pass precious variables to config.status.
2311 if test "$ac_new_set" = set; then
2312 case $ac_new_val in
2313 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2314 *) ac_arg=$ac_var=$ac_new_val ;;
2315 esac
2316 case " $ac_configure_args " in
2317 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2318 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2319 esac
2320 fi
2321 done
2322 if $ac_cache_corrupted; then
2323 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2324 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2325 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2326 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2327 { (exit 1); exit 1; }; }
2328 fi
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354 ac_ext=c
2355 ac_cpp='$CPP $CPPFLAGS'
2356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2359
2360
2361
2362
2363
2364 ac_aux_dir=
2365 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2366 if test -f "$ac_dir/install-sh"; then
2367 ac_aux_dir=$ac_dir
2368 ac_install_sh="$ac_aux_dir/install-sh -c"
2369 break
2370 elif test -f "$ac_dir/install.sh"; then
2371 ac_aux_dir=$ac_dir
2372 ac_install_sh="$ac_aux_dir/install.sh -c"
2373 break
2374 elif test -f "$ac_dir/shtool"; then
2375 ac_aux_dir=$ac_dir
2376 ac_install_sh="$ac_aux_dir/shtool install -c"
2377 break
2378 fi
2379 done
2380 if test -z "$ac_aux_dir"; then
2381 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2382 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2383 { (exit 1); exit 1; }; }
2384 fi
2385
2386 # These three variables are undocumented and unsupported,
2387 # and are intended to be withdrawn in a future Autoconf release.
2388 # They can cause serious problems if a builder's source tree is in a directory
2389 # whose full name contains unusual characters.
2390 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2391 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2392 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2393
2394
2395 # Make sure we can run config.sub.
2396 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2397 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2398 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2399 { (exit 1); exit 1; }; }
2400
2401 { echo "$as_me:$LINENO: checking build system type" >&5
2402 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2403 if test "${ac_cv_build+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 else
2406 ac_build_alias=$build_alias
2407 test "x$ac_build_alias" = x &&
2408 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2409 test "x$ac_build_alias" = x &&
2410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2412 { (exit 1); exit 1; }; }
2413 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2414 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2415 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2416 { (exit 1); exit 1; }; }
2417
2418 fi
2419 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2420 echo "${ECHO_T}$ac_cv_build" >&6; }
2421 case $ac_cv_build in
2422 *-*-*) ;;
2423 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2424 echo "$as_me: error: invalid value of canonical build" >&2;}
2425 { (exit 1); exit 1; }; };;
2426 esac
2427 build=$ac_cv_build
2428 ac_save_IFS=$IFS; IFS='-'
2429 set x $ac_cv_build
2430 shift
2431 build_cpu=$1
2432 build_vendor=$2
2433 shift; shift
2434 # Remember, the first character of IFS is used to create $*,
2435 # except with old shells:
2436 build_os=$*
2437 IFS=$ac_save_IFS
2438 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2439
2440
2441 { echo "$as_me:$LINENO: checking host system type" >&5
2442 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2443 if test "${ac_cv_host+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 else
2446 if test "x$host_alias" = x; then
2447 ac_cv_host=$ac_cv_build
2448 else
2449 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2450 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2451 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2452 { (exit 1); exit 1; }; }
2453 fi
2454
2455 fi
2456 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2457 echo "${ECHO_T}$ac_cv_host" >&6; }
2458 case $ac_cv_host in
2459 *-*-*) ;;
2460 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2461 echo "$as_me: error: invalid value of canonical host" >&2;}
2462 { (exit 1); exit 1; }; };;
2463 esac
2464 host=$ac_cv_host
2465 ac_save_IFS=$IFS; IFS='-'
2466 set x $ac_cv_host
2467 shift
2468 host_cpu=$1
2469 host_vendor=$2
2470 shift; shift
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2473 host_os=$*
2474 IFS=$ac_save_IFS
2475 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2476
2477
2478 { echo "$as_me:$LINENO: checking target system type" >&5
2479 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_target+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 else
2483 if test "x$target_alias" = x; then
2484 ac_cv_target=$ac_cv_host
2485 else
2486 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2487 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2488 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2489 { (exit 1); exit 1; }; }
2490 fi
2491
2492 fi
2493 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2494 echo "${ECHO_T}$ac_cv_target" >&6; }
2495 case $ac_cv_target in
2496 *-*-*) ;;
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2498 echo "$as_me: error: invalid value of canonical target" >&2;}
2499 { (exit 1); exit 1; }; };;
2500 esac
2501 target=$ac_cv_target
2502 ac_save_IFS=$IFS; IFS='-'
2503 set x $ac_cv_target
2504 shift
2505 target_cpu=$1
2506 target_vendor=$2
2507 shift; shift
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2510 target_os=$*
2511 IFS=$ac_save_IFS
2512 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2513
2514
2515 # The aliases save the names the user supplied, while $host etc.
2516 # will get canonicalized.
2517 test -n "$target_alias" &&
2518 test "$program_prefix$program_suffix$program_transform_name" = \
2519 NONENONEs,x,x, &&
2520 program_prefix=${target_alias}-
2521
2522
2523
2524 wx_major_version_number=2
2525 wx_minor_version_number=9
2526 wx_release_number=0
2527 wx_subrelease_number=0
2528
2529 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2530 WX_VERSION=$WX_RELEASE.$wx_release_number
2531 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2532
2533 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2534
2535
2536 wx_top_builddir="`pwd`"
2537
2538
2539
2540
2541 USE_UNIX=1
2542 USE_OS2=0
2543 USE_WIN32=0
2544 USE_DOS=0
2545 USE_BEOS=0
2546 USE_MAC=0
2547
2548 USE_AIX=
2549 USE_BSD= USE_DARWIN= USE_FREEBSD=
2550 USE_GNU= USE_HPUX=
2551 USE_LINUX=
2552 USE_NETBSD=
2553 USE_OPENBSD=
2554 USE_OSF= USE_SGI=
2555 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2556 USE_ULTRIX=
2557 USE_UNIXWARE=
2558
2559 USE_ALPHA=
2560
2561 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2562
2563 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2564
2565 DEFAULT_wxUSE_COCOA=0
2566 DEFAULT_wxUSE_GTK=0
2567 DEFAULT_wxUSE_MAC=0
2568 DEFAULT_wxUSE_MGL=0
2569 DEFAULT_wxUSE_MICROWIN=0
2570 DEFAULT_wxUSE_MOTIF=0
2571 DEFAULT_wxUSE_MSW=0
2572 DEFAULT_wxUSE_PM=0
2573 DEFAULT_wxUSE_X11=0
2574 DEFAULT_wxUSE_DFB=0
2575
2576 DEFAULT_DEFAULT_wxUSE_COCOA=0
2577 DEFAULT_DEFAULT_wxUSE_GTK=0
2578 DEFAULT_DEFAULT_wxUSE_MAC=0
2579 DEFAULT_DEFAULT_wxUSE_MGL=0
2580 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2581 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2582 DEFAULT_DEFAULT_wxUSE_MSW=0
2583 DEFAULT_DEFAULT_wxUSE_PM=0
2584 DEFAULT_DEFAULT_wxUSE_X11=0
2585 DEFAULT_DEFAULT_wxUSE_DFB=0
2586
2587 PROGRAM_EXT=
2588 SO_SUFFIX=so
2589 SAMPLES_RPATH_FLAG=
2590 SAMPLES_RPATH_POSTLINK=
2591
2592 DEFAULT_STD_FLAG=yes
2593
2594 case "${host}" in
2595 *-hp-hpux* )
2596 USE_HPUX=1
2597 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2598 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2599 SO_SUFFIX=sl
2600 cat >>confdefs.h <<\_ACEOF
2601 #define __HPUX__ 1
2602 _ACEOF
2603
2604
2605 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2606 ;;
2607 *-*-linux* )
2608 USE_LINUX=1
2609 cat >>confdefs.h <<\_ACEOF
2610 #define __LINUX__ 1
2611 _ACEOF
2612
2613 TMP=`uname -m`
2614 if test "x$TMP" = "xalpha"; then
2615 USE_ALPHA=1
2616 cat >>confdefs.h <<\_ACEOF
2617 #define __ALPHA__ 1
2618 _ACEOF
2619
2620 fi
2621 DEFAULT_DEFAULT_wxUSE_GTK=1
2622 ;;
2623 *-*-gnu* | *-*-k*bsd*-gnu )
2624 USE_GNU=1
2625 TMP=`uname -m`
2626 if test "x$TMP" = "xalpha"; then
2627 USE_ALPHA=1
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __ALPHA__ 1
2630 _ACEOF
2631
2632 fi
2633 DEFAULT_DEFAULT_wxUSE_GTK=1
2634 ;;
2635 *-*-irix5* | *-*-irix6* )
2636 USE_SGI=1
2637 USE_SVR4=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __SGI__ 1
2640 _ACEOF
2641
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SVR4__ 1
2644 _ACEOF
2645
2646 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2647 ;;
2648 *-*-solaris2* )
2649 USE_SUN=1
2650 USE_SOLARIS=1
2651 USE_SVR4=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __SUN__ 1
2654 _ACEOF
2655
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SOLARIS__ 1
2658 _ACEOF
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SVR4__ 1
2662 _ACEOF
2663
2664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2665 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2666 ;;
2667 *-*-sunos4* )
2668 USE_SUN=1
2669 USE_SUNOS=1
2670 USE_BSD=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SUN__ 1
2673 _ACEOF
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SUNOS__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __BSD__ 1
2681 _ACEOF
2682
2683 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2684 ;;
2685 *-*-freebsd*)
2686 USE_BSD=1
2687 USE_FREEBSD=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __FREEBSD__ 1
2690 _ACEOF
2691
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __BSD__ 1
2694 _ACEOF
2695
2696 DEFAULT_DEFAULT_wxUSE_GTK=1
2697 ;;
2698 *-*-openbsd*|*-*-mirbsd*)
2699 USE_BSD=1
2700 USE_OPENBSD=1
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __OPENBSD__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __BSD__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_GTK=1
2710 ;;
2711 *-*-netbsd*)
2712 USE_BSD=1
2713 USE_NETBSD=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __NETBSD__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2724
2725 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2726 ;;
2727 *-*-osf* )
2728 USE_ALPHA=1
2729 USE_OSF=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __ALPHA__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __OSF__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2740 ;;
2741 *-*-dgux5* )
2742 USE_ALPHA=1
2743 USE_SVR4=1
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __ALPHA__ 1
2746 _ACEOF
2747
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __SVR4__ 1
2750 _ACEOF
2751
2752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2753 ;;
2754 *-*-sysv5* )
2755 USE_SYSV=1
2756 USE_SVR4=1
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __SYSV__ 1
2759 _ACEOF
2760
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __SVR4__ 1
2763 _ACEOF
2764
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2766 ;;
2767 *-*-aix* )
2768 USE_AIX=1
2769 USE_SYSV=1
2770 USE_SVR4=1
2771 SO_SUFFIX=a
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __AIX__ 1
2774 _ACEOF
2775
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __SYSV__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SVR4__ 1
2782 _ACEOF
2783
2784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2785 ;;
2786
2787 *-*-*UnixWare*)
2788 USE_SYSV=1
2789 USE_SVR4=1
2790 USE_UNIXWARE=1
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __UNIXWARE__ 1
2793 _ACEOF
2794
2795 ;;
2796
2797 *-*-cygwin* | *-*-mingw32* )
2798 SO_SUFFIX=dll
2799 PROGRAM_EXT=".exe"
2800 DEFAULT_DEFAULT_wxUSE_MSW=1
2801 ;;
2802
2803 *-pc-msdosdjgpp )
2804 USE_UNIX=0
2805 USE_DOS=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __DOS__ 1
2808 _ACEOF
2809
2810 PROGRAM_EXT=".exe"
2811 DEFAULT_DEFAULT_wxUSE_MGL=1
2812 ;;
2813
2814 *-pc-os2_emx | *-pc-os2-emx )
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __EMX__ 1
2817 _ACEOF
2818
2819 USE_OS2=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __OS2__ 1
2822 _ACEOF
2823
2824 PROGRAM_EXT=".exe"
2825 DEFAULT_DEFAULT_wxUSE_PM=1
2826 CXX=gcc
2827 LDFLAGS="$LDFLAGS -Zcrtdll"
2828 ac_executable_extensions=".exe"
2829 export ac_executable_extensions
2830 ac_save_IFS="$IFS"
2831 IFS='\\'
2832 ac_TEMP_PATH=
2833 for ac_dir in $PATH; do
2834 IFS=$ac_save_IFS
2835 if test -z "$ac_TEMP_PATH"; then
2836 ac_TEMP_PATH="$ac_dir"
2837 else
2838 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2839 fi
2840 done
2841 export PATH="$ac_TEMP_PATH"
2842 unset ac_TEMP_PATH
2843 DEFAULT_STD_FLAG=no
2844 ;;
2845
2846 *-*-darwin* )
2847 USE_BSD=1
2848 USE_DARWIN=1
2849 SO_SUFFIX=dylib
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __BSD__ 1
2852 _ACEOF
2853
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __DARWIN__ 1
2856 _ACEOF
2857
2858 cat >>confdefs.h <<\_ACEOF
2859 #define TARGET_CARBON 1
2860 _ACEOF
2861
2862 DEFAULT_DEFAULT_wxUSE_MAC=1
2863 DEFAULT_STD_FLAG=no
2864 ;;
2865 powerpc-apple-macos* )
2866 USE_UNIX=0
2867 ac_cv_c_bigendian=yes
2868 SO_SUFFIX=shlib
2869 DEFAULT_DEFAULT_wxUSE_MAC=1
2870 DEFAULT_STD_FLAG=no
2871 ;;
2872
2873 *-*-beos* )
2874 USE_BEOS=1
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __BEOS__ 1
2877 _ACEOF
2878
2879 ;;
2880
2881 *)
2882 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2883 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2884 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2885 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2886
2887 DEFAULT_DEFAULT_wxUSE_X11=1
2888 DEFAULT_wxUSE_SHARED=no
2889 esac
2890
2891
2892
2893
2894 wx_arg_cache_file="configarg.cache"
2895 echo "loading argument cache $wx_arg_cache_file"
2896 rm -f ${wx_arg_cache_file}.tmp
2897 touch ${wx_arg_cache_file}.tmp
2898 touch ${wx_arg_cache_file}
2899
2900
2901 DEBUG_CONFIGURE=0
2902 if test $DEBUG_CONFIGURE = 1; then
2903 DEFAULT_wxUSE_UNIVERSAL=no
2904 DEFAULT_wxUSE_STL=no
2905 DEFAULT_wxUSE_EXTENDED_RTTI=no
2906
2907 DEFAULT_wxUSE_NANOX=no
2908
2909 DEFAULT_wxUSE_THREADS=yes
2910
2911 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2912 DEFAULT_wxUSE_OPTIMISE=no
2913 DEFAULT_wxUSE_PROFILE=no
2914 DEFAULT_wxUSE_NO_DEPS=no
2915 DEFAULT_wxUSE_VARARG_MACROS=no
2916 DEFAULT_wxUSE_NO_RTTI=no
2917 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2918 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2919 DEFAULT_wxUSE_RPATH=yes
2920 DEFAULT_wxUSE_PERMISSIVE=no
2921 DEFAULT_wxUSE_DEBUG_FLAG=yes
2922 DEFAULT_wxUSE_DEBUG_INFO=yes
2923 DEFAULT_wxUSE_DEBUG_GDB=yes
2924 DEFAULT_wxUSE_MEM_TRACING=no
2925 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2926 DEFAULT_wxUSE_DMALLOC=no
2927 DEFAULT_wxUSE_APPLE_IEEE=no
2928
2929 DEFAULT_wxUSE_EXCEPTIONS=no
2930 DEFAULT_wxUSE_LOG=yes
2931 DEFAULT_wxUSE_LOGWINDOW=no
2932 DEFAULT_wxUSE_LOGGUI=no
2933 DEFAULT_wxUSE_LOGDIALOG=no
2934
2935 DEFAULT_wxUSE_GUI=yes
2936 DEFAULT_wxUSE_CONTROLS=no
2937
2938 DEFAULT_wxUSE_REGEX=no
2939 DEFAULT_wxUSE_XML=no
2940 DEFAULT_wxUSE_EXPAT=no
2941 DEFAULT_wxUSE_ZLIB=no
2942 DEFAULT_wxUSE_LIBPNG=no
2943 DEFAULT_wxUSE_LIBJPEG=no
2944 DEFAULT_wxUSE_LIBTIFF=no
2945 DEFAULT_wxUSE_LIBXPM=no
2946 DEFAULT_wxUSE_LIBMSPACK=no
2947 DEFAULT_wxUSE_LIBSDL=no
2948 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2949 DEFAULT_wxUSE_LIBGNOMEVFS=no
2950 DEFAULT_wxUSE_LIBHILDON=no
2951 DEFAULT_wxUSE_ODBC=no
2952 DEFAULT_wxUSE_OPENGL=no
2953
2954 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2955 DEFAULT_wxUSE_STACKWALKER=no
2956 DEFAULT_wxUSE_DEBUGREPORT=no
2957 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2958 DEFAULT_wxUSE_STD_IOSTREAM=no
2959 DEFAULT_wxUSE_STD_STRING=no
2960 DEFAULT_wxUSE_CMDLINE_PARSER=no
2961 DEFAULT_wxUSE_DATETIME=no
2962 DEFAULT_wxUSE_TIMER=no
2963 DEFAULT_wxUSE_STOPWATCH=no
2964 DEFAULT_wxUSE_FILE=no
2965 DEFAULT_wxUSE_FFILE=no
2966 DEFAULT_wxUSE_STDPATHS=no
2967 DEFAULT_wxUSE_TEXTBUFFER=no
2968 DEFAULT_wxUSE_TEXTFILE=no
2969 DEFAULT_wxUSE_SOUND=no
2970 DEFAULT_wxUSE_MEDIACTRL=no
2971 DEFAULT_wxUSE_GSTREAMER8=no
2972 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2973 DEFAULT_wxUSE_INTL=no
2974 DEFAULT_wxUSE_CONFIG=no
2975 DEFAULT_wxUSE_FONTMAP=no
2976 DEFAULT_wxUSE_STREAMS=no
2977 DEFAULT_wxUSE_SOCKETS=no
2978 DEFAULT_wxUSE_OLE=no
2979 DEFAULT_wxUSE_DATAOBJ=no
2980 DEFAULT_wxUSE_DIALUP_MANAGER=no
2981 DEFAULT_wxUSE_JOYSTICK=no
2982 DEFAULT_wxUSE_DYNLIB_CLASS=no
2983 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2984 DEFAULT_wxUSE_LONGLONG=no
2985 DEFAULT_wxUSE_GEOMETRY=no
2986
2987 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2988 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2989 DEFAULT_wxUSE_POSTSCRIPT=no
2990
2991 DEFAULT_wxUSE_CLIPBOARD=no
2992 DEFAULT_wxUSE_TOOLTIPS=no
2993 DEFAULT_wxUSE_DRAG_AND_DROP=no
2994 DEFAULT_wxUSE_DRAGIMAGE=no
2995 DEFAULT_wxUSE_SPLINES=no
2996 DEFAULT_wxUSE_MOUSEWHEEL=no
2997
2998 DEFAULT_wxUSE_MDI=no
2999 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3000 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3001 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3002
3003 DEFAULT_wxUSE_CONSTRAINTS=no
3004 DEFAULT_wxUSE_IPC=no
3005 DEFAULT_wxUSE_HELP=no
3006 DEFAULT_wxUSE_MS_HTML_HELP=no
3007 DEFAULT_wxUSE_WXHTML_HELP=no
3008 DEFAULT_wxUSE_TREELAYOUT=no
3009 DEFAULT_wxUSE_METAFILE=no
3010 DEFAULT_wxUSE_MIMETYPE=no
3011 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3012 DEFAULT_wxUSE_PROTOCOL=no
3013 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3014 DEFAULT_wxUSE_PROTOCOL_FTP=no
3015 DEFAULT_wxUSE_PROTOCOL_FILE=no
3016 DEFAULT_wxUSE_URL=no
3017 DEFAULT_wxUSE_VARIANT=no
3018
3019 DEFAULT_wxUSE_ABOUTDLG=no
3020 DEFAULT_wxUSE_COMMONDLGS=no
3021 DEFAULT_wxUSE_CHOICEDLG=no
3022 DEFAULT_wxUSE_COLOURDLG=no
3023 DEFAULT_wxUSE_DIRDLG=no
3024 DEFAULT_wxUSE_FILEDLG=no
3025 DEFAULT_wxUSE_FINDREPLDLG=no
3026 DEFAULT_wxUSE_FONTDLG=no
3027 DEFAULT_wxUSE_MSGDLG=no
3028 DEFAULT_wxUSE_NUMBERDLG=no
3029 DEFAULT_wxUSE_TEXTDLG=no
3030 DEFAULT_wxUSE_SPLASH=no
3031 DEFAULT_wxUSE_STARTUP_TIPS=no
3032 DEFAULT_wxUSE_PROGRESSDLG=no
3033 DEFAULT_wxUSE_WIZARDDLG=no
3034
3035 DEFAULT_wxUSE_MENUS=no
3036 DEFAULT_wxUSE_MINIFRAME=no
3037 DEFAULT_wxUSE_HTML=no
3038 DEFAULT_wxUSE_RICHTEXT=no
3039 DEFAULT_wxUSE_XRC=no
3040 DEFAULT_wxUSE_AUI=no
3041 DEFAULT_wxUSE_STC=no
3042 DEFAULT_wxUSE_WEBKIT=no
3043 DEFAULT_wxUSE_FILESYSTEM=no
3044 DEFAULT_wxUSE_FS_INET=no
3045 DEFAULT_wxUSE_FS_ZIP=no
3046 DEFAULT_wxUSE_FS_ARCHIVE=no
3047 DEFAULT_wxUSE_BUSYINFO=no
3048 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3049 DEFAULT_wxUSE_ZIPSTREAM=no
3050 DEFAULT_wxUSE_TARSTREAM=no
3051 DEFAULT_wxUSE_VALIDATORS=no
3052
3053 DEFAULT_wxUSE_ACCEL=no
3054 DEFAULT_wxUSE_ANIMATIONCTRL=no
3055 DEFAULT_wxUSE_BUTTON=no
3056 DEFAULT_wxUSE_BMPBUTTON=no
3057 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3058 DEFAULT_wxUSE_CALCTRL=no
3059 DEFAULT_wxUSE_CARET=no
3060 DEFAULT_wxUSE_CHECKBOX=no
3061 DEFAULT_wxUSE_CHECKLST=no
3062 DEFAULT_wxUSE_CHOICE=no
3063 DEFAULT_wxUSE_CHOICEBOOK=no
3064 DEFAULT_wxUSE_COLLPANE=no
3065 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3066 DEFAULT_wxUSE_COMBOBOX=no
3067 DEFAULT_wxUSE_COMBOCTRL=no
3068 DEFAULT_wxUSE_DATEPICKCTRL=no
3069 DEFAULT_wxUSE_DISPLAY=no
3070 DEFAULT_wxUSE_DETECT_SM=no
3071 DEFAULT_wxUSE_DIRPICKERCTRL=no
3072 DEFAULT_wxUSE_FILEPICKERCTRL=no
3073 DEFAULT_wxUSE_FONTPICKERCTRL=no
3074 DEFAULT_wxUSE_GAUGE=no
3075 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3076 DEFAULT_wxUSE_GRID=no
3077 DEFAULT_wxUSE_HYPERLINKCTRL=no
3078 DEFAULT_wxUSE_DATAVIEWCTRL=no
3079 DEFAULT_wxUSE_IMAGLIST=no
3080 DEFAULT_wxUSE_LISTBOOK=no
3081 DEFAULT_wxUSE_LISTBOX=no
3082 DEFAULT_wxUSE_LISTCTRL=no
3083 DEFAULT_wxUSE_NOTEBOOK=no
3084 DEFAULT_wxUSE_ODCOMBOBOX=no
3085 DEFAULT_wxUSE_RADIOBOX=no
3086 DEFAULT_wxUSE_RADIOBTN=no
3087 DEFAULT_wxUSE_SASH=no
3088 DEFAULT_wxUSE_SCROLLBAR=no
3089 DEFAULT_wxUSE_SEARCHCTRL=no
3090 DEFAULT_wxUSE_SLIDER=no
3091 DEFAULT_wxUSE_SPINBTN=no
3092 DEFAULT_wxUSE_SPINCTRL=no
3093 DEFAULT_wxUSE_SPLITTER=no
3094 DEFAULT_wxUSE_STATBMP=no
3095 DEFAULT_wxUSE_STATBOX=no
3096 DEFAULT_wxUSE_STATLINE=no
3097 DEFAULT_wxUSE_STATTEXT=no
3098 DEFAULT_wxUSE_STATUSBAR=yes
3099 DEFAULT_wxUSE_TAB_DIALOG=no
3100 DEFAULT_wxUSE_TEXTCTRL=no
3101 DEFAULT_wxUSE_TOGGLEBTN=no
3102 DEFAULT_wxUSE_TOOLBAR=no
3103 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3104 DEFAULT_wxUSE_TREEBOOK=no
3105 DEFAULT_wxUSE_TOOLBOOK=no
3106 DEFAULT_wxUSE_TREECTRL=no
3107 DEFAULT_wxUSE_POPUPWIN=no
3108 DEFAULT_wxUSE_TIPWINDOW=no
3109
3110 DEFAULT_wxUSE_UNICODE=no
3111 DEFAULT_wxUSE_UNICODE_MSLU=no
3112 DEFAULT_wxUSE_UNICODE_UTF8=no
3113 DEFAULT_wxUSE_WCSRTOMBS=no
3114
3115 DEFAULT_wxUSE_PALETTE=no
3116 DEFAULT_wxUSE_IMAGE=no
3117 DEFAULT_wxUSE_GIF=no
3118 DEFAULT_wxUSE_PCX=no
3119 DEFAULT_wxUSE_TGA=no
3120 DEFAULT_wxUSE_PNM=no
3121 DEFAULT_wxUSE_IFF=no
3122 DEFAULT_wxUSE_XPM=no
3123 DEFAULT_wxUSE_ICO_CUR=no
3124 DEFAULT_wxUSE_ACCESSIBILITY=no
3125
3126 DEFAULT_wxUSE_MONOLITHIC=no
3127 DEFAULT_wxUSE_PLUGINS=no
3128 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3129 else
3130 DEFAULT_wxUSE_UNIVERSAL=no
3131 DEFAULT_wxUSE_STL=no
3132 DEFAULT_wxUSE_EXTENDED_RTTI=no
3133
3134 DEFAULT_wxUSE_NANOX=no
3135
3136 DEFAULT_wxUSE_THREADS=yes
3137
3138 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3139 DEFAULT_wxUSE_OPTIMISE=yes
3140 DEFAULT_wxUSE_PROFILE=no
3141 DEFAULT_wxUSE_NO_DEPS=no
3142 DEFAULT_wxUSE_VARARG_MACROS=yes
3143 DEFAULT_wxUSE_NO_RTTI=no
3144 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3145 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3146 DEFAULT_wxUSE_RPATH=yes
3147 DEFAULT_wxUSE_PERMISSIVE=no
3148 DEFAULT_wxUSE_DEBUG_FLAG=no
3149 DEFAULT_wxUSE_DEBUG_INFO=no
3150 DEFAULT_wxUSE_DEBUG_GDB=no
3151 DEFAULT_wxUSE_MEM_TRACING=no
3152 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3153 DEFAULT_wxUSE_DMALLOC=no
3154 DEFAULT_wxUSE_APPLE_IEEE=yes
3155
3156 DEFAULT_wxUSE_EXCEPTIONS=yes
3157 DEFAULT_wxUSE_LOG=yes
3158 DEFAULT_wxUSE_LOGWINDOW=yes
3159 DEFAULT_wxUSE_LOGGUI=yes
3160 DEFAULT_wxUSE_LOGDIALOG=yes
3161
3162 DEFAULT_wxUSE_GUI=yes
3163
3164 DEFAULT_wxUSE_REGEX=yes
3165 DEFAULT_wxUSE_XML=yes
3166 DEFAULT_wxUSE_EXPAT=yes
3167 DEFAULT_wxUSE_ZLIB=yes
3168 DEFAULT_wxUSE_LIBPNG=yes
3169 DEFAULT_wxUSE_LIBJPEG=yes
3170 DEFAULT_wxUSE_LIBTIFF=yes
3171 DEFAULT_wxUSE_LIBXPM=yes
3172 DEFAULT_wxUSE_LIBMSPACK=yes
3173 DEFAULT_wxUSE_LIBSDL=no
3174 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3175 DEFAULT_wxUSE_LIBGNOMEVFS=no
3176 DEFAULT_wxUSE_LIBHILDON=no
3177 DEFAULT_wxUSE_ODBC=no
3178 DEFAULT_wxUSE_OPENGL=no
3179
3180 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3181 DEFAULT_wxUSE_STACKWALKER=yes
3182 DEFAULT_wxUSE_DEBUGREPORT=yes
3183 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3184 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3185 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3186 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3187 DEFAULT_wxUSE_DATETIME=yes
3188 DEFAULT_wxUSE_TIMER=yes
3189 DEFAULT_wxUSE_STOPWATCH=yes
3190 DEFAULT_wxUSE_FILE=yes
3191 DEFAULT_wxUSE_FFILE=yes
3192 DEFAULT_wxUSE_STDPATHS=yes
3193 DEFAULT_wxUSE_TEXTBUFFER=yes
3194 DEFAULT_wxUSE_TEXTFILE=yes
3195 DEFAULT_wxUSE_SOUND=yes
3196 DEFAULT_wxUSE_MEDIACTRL=no
3197 DEFAULT_wxUSE_GSTREAMER8=no
3198 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3199 DEFAULT_wxUSE_INTL=yes
3200 DEFAULT_wxUSE_CONFIG=yes
3201 DEFAULT_wxUSE_FONTMAP=yes
3202 DEFAULT_wxUSE_STREAMS=yes
3203 DEFAULT_wxUSE_SOCKETS=yes
3204 DEFAULT_wxUSE_OLE=yes
3205 DEFAULT_wxUSE_DATAOBJ=yes
3206 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3207 DEFAULT_wxUSE_JOYSTICK=yes
3208 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3209 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3210 DEFAULT_wxUSE_LONGLONG=yes
3211 DEFAULT_wxUSE_GEOMETRY=yes
3212
3213 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3214 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3215 DEFAULT_wxUSE_POSTSCRIPT=yes
3216
3217 DEFAULT_wxUSE_CLIPBOARD=yes
3218 DEFAULT_wxUSE_TOOLTIPS=yes
3219 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3220 DEFAULT_wxUSE_DRAGIMAGE=yes
3221 DEFAULT_wxUSE_SPLINES=yes
3222 DEFAULT_wxUSE_MOUSEWHEEL=yes
3223
3224 DEFAULT_wxUSE_MDI=yes
3225 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3226 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3227 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3228
3229 DEFAULT_wxUSE_CONSTRAINTS=yes
3230 DEFAULT_wxUSE_IPC=yes
3231 DEFAULT_wxUSE_HELP=yes
3232 DEFAULT_wxUSE_MS_HTML_HELP=yes
3233 DEFAULT_wxUSE_WXHTML_HELP=yes
3234 DEFAULT_wxUSE_TREELAYOUT=yes
3235 DEFAULT_wxUSE_METAFILE=yes
3236 DEFAULT_wxUSE_MIMETYPE=yes
3237 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3238 DEFAULT_wxUSE_PROTOCOL=yes
3239 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3240 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3241 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3242 DEFAULT_wxUSE_URL=yes
3243 DEFAULT_wxUSE_VARIANT=yes
3244
3245 DEFAULT_wxUSE_ABOUTDLG=yes
3246 DEFAULT_wxUSE_COMMONDLGS=yes
3247 DEFAULT_wxUSE_CHOICEDLG=yes
3248 DEFAULT_wxUSE_COLOURDLG=yes
3249 DEFAULT_wxUSE_DIRDLG=yes
3250 DEFAULT_wxUSE_FILEDLG=yes
3251 DEFAULT_wxUSE_FINDREPLDLG=yes
3252 DEFAULT_wxUSE_FONTDLG=yes
3253 DEFAULT_wxUSE_MSGDLG=yes
3254 DEFAULT_wxUSE_NUMBERDLG=yes
3255 DEFAULT_wxUSE_TEXTDLG=yes
3256 DEFAULT_wxUSE_SPLASH=yes
3257 DEFAULT_wxUSE_STARTUP_TIPS=yes
3258 DEFAULT_wxUSE_PROGRESSDLG=yes
3259 DEFAULT_wxUSE_WIZARDDLG=yes
3260
3261 DEFAULT_wxUSE_MENUS=yes
3262 DEFAULT_wxUSE_MINIFRAME=yes
3263 DEFAULT_wxUSE_HTML=yes
3264 DEFAULT_wxUSE_RICHTEXT=yes
3265 DEFAULT_wxUSE_XRC=yes
3266 DEFAULT_wxUSE_AUI=yes
3267 DEFAULT_wxUSE_STC=yes
3268 DEFAULT_wxUSE_WEBKIT=yes
3269 DEFAULT_wxUSE_FILESYSTEM=yes
3270 DEFAULT_wxUSE_FS_INET=yes
3271 DEFAULT_wxUSE_FS_ZIP=yes
3272 DEFAULT_wxUSE_FS_ARCHIVE=yes
3273 DEFAULT_wxUSE_BUSYINFO=yes
3274 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3275 DEFAULT_wxUSE_ZIPSTREAM=yes
3276 DEFAULT_wxUSE_TARSTREAM=yes
3277 DEFAULT_wxUSE_VALIDATORS=yes
3278
3279 DEFAULT_wxUSE_ACCEL=yes
3280 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3281 DEFAULT_wxUSE_BUTTON=yes
3282 DEFAULT_wxUSE_BMPBUTTON=yes
3283 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3284 DEFAULT_wxUSE_CALCTRL=yes
3285 DEFAULT_wxUSE_CARET=yes
3286 DEFAULT_wxUSE_CHECKBOX=yes
3287 DEFAULT_wxUSE_CHECKLST=yes
3288 DEFAULT_wxUSE_CHOICE=yes
3289 DEFAULT_wxUSE_CHOICEBOOK=yes
3290 DEFAULT_wxUSE_COLLPANE=yes
3291 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3292 DEFAULT_wxUSE_COMBOBOX=yes
3293 DEFAULT_wxUSE_COMBOCTRL=yes
3294 DEFAULT_wxUSE_DATEPICKCTRL=yes
3295 DEFAULT_wxUSE_DISPLAY=yes
3296 DEFAULT_wxUSE_DETECT_SM=yes
3297 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3298 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3299 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3300 DEFAULT_wxUSE_GAUGE=yes
3301 DEFAULT_wxUSE_GRID=yes
3302 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3303 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3304 DEFAULT_wxUSE_DATAVIEWCTRL=no
3305 DEFAULT_wxUSE_IMAGLIST=yes
3306 DEFAULT_wxUSE_LISTBOOK=yes
3307 DEFAULT_wxUSE_LISTBOX=yes
3308 DEFAULT_wxUSE_LISTCTRL=yes
3309 DEFAULT_wxUSE_NOTEBOOK=yes
3310 DEFAULT_wxUSE_ODCOMBOBOX=yes
3311 DEFAULT_wxUSE_RADIOBOX=yes
3312 DEFAULT_wxUSE_RADIOBTN=yes
3313 DEFAULT_wxUSE_SASH=yes
3314 DEFAULT_wxUSE_SCROLLBAR=yes
3315 DEFAULT_wxUSE_SEARCHCTRL=yes
3316 DEFAULT_wxUSE_SLIDER=yes
3317 DEFAULT_wxUSE_SPINBTN=yes
3318 DEFAULT_wxUSE_SPINCTRL=yes
3319 DEFAULT_wxUSE_SPLITTER=yes
3320 DEFAULT_wxUSE_STATBMP=yes
3321 DEFAULT_wxUSE_STATBOX=yes
3322 DEFAULT_wxUSE_STATLINE=yes
3323 DEFAULT_wxUSE_STATTEXT=yes
3324 DEFAULT_wxUSE_STATUSBAR=yes
3325 DEFAULT_wxUSE_TAB_DIALOG=no
3326 DEFAULT_wxUSE_TEXTCTRL=yes
3327 DEFAULT_wxUSE_TOGGLEBTN=yes
3328 DEFAULT_wxUSE_TOOLBAR=yes
3329 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3330 DEFAULT_wxUSE_TREEBOOK=yes
3331 DEFAULT_wxUSE_TOOLBOOK=yes
3332 DEFAULT_wxUSE_TREECTRL=yes
3333 DEFAULT_wxUSE_POPUPWIN=yes
3334 DEFAULT_wxUSE_TIPWINDOW=yes
3335
3336 DEFAULT_wxUSE_UNICODE=no
3337 DEFAULT_wxUSE_UNICODE_MSLU=yes
3338 DEFAULT_wxUSE_UNICODE_UTF8=no
3339 DEFAULT_wxUSE_WCSRTOMBS=no
3340
3341 DEFAULT_wxUSE_PALETTE=yes
3342 DEFAULT_wxUSE_IMAGE=yes
3343 DEFAULT_wxUSE_GIF=yes
3344 DEFAULT_wxUSE_PCX=yes
3345 DEFAULT_wxUSE_TGA=yes
3346 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3347 DEFAULT_wxUSE_XPM=yes
3348 DEFAULT_wxUSE_ICO_CUR=yes
3349 DEFAULT_wxUSE_ACCESSIBILITY=no
3350
3351 DEFAULT_wxUSE_MONOLITHIC=no
3352 DEFAULT_wxUSE_PLUGINS=no
3353 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3354
3355 DEFAULT_wxUSE_GTK2=yes
3356 fi
3357
3358
3359
3360
3361 for toolkit in `echo $ALL_TOOLKITS`; do
3362 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3363 if test "x$LINE" != "x" ; then
3364 has_toolkit_in_cache=1
3365 eval "DEFAULT_$LINE"
3366 eval "CACHE_$toolkit=1"
3367
3368 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3369 if test "x$LINE" != "x" ; then
3370 eval "DEFAULT_$LINE"
3371 fi
3372 fi
3373 done
3374
3375
3376
3377 enablestring=
3378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3379 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3380 no_cache=0
3381 # Check whether --enable-gui was given.
3382 if test "${enable_gui+set}" = set; then
3383 enableval=$enable_gui;
3384 if test "$enableval" = yes; then
3385 ac_cv_use_gui='wxUSE_GUI=yes'
3386 else
3387 ac_cv_use_gui='wxUSE_GUI=no'
3388 fi
3389
3390 else
3391
3392 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3393 if test "x$LINE" != x ; then
3394 eval "DEFAULT_$LINE"
3395 else
3396 no_cache=1
3397 fi
3398
3399 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3400
3401 fi
3402
3403
3404 eval "$ac_cv_use_gui"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3407 fi
3408
3409 if test "$wxUSE_GUI" = yes; then
3410 { echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6; }
3412 else
3413 { echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6; }
3415 fi
3416
3417
3418 enablestring=
3419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3420 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3421 no_cache=0
3422 # Check whether --enable-monolithic was given.
3423 if test "${enable_monolithic+set}" = set; then
3424 enableval=$enable_monolithic;
3425 if test "$enableval" = yes; then
3426 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3427 else
3428 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3441
3442 fi
3443
3444
3445 eval "$ac_cv_use_monolithic"
3446 if test "$no_cache" != 1; then
3447 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3448 fi
3449
3450 if test "$wxUSE_MONOLITHIC" = yes; then
3451 { echo "$as_me:$LINENO: result: yes" >&5
3452 echo "${ECHO_T}yes" >&6; }
3453 else
3454 { echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6; }
3456 fi
3457
3458
3459 enablestring=
3460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3462 no_cache=0
3463 # Check whether --enable-plugins was given.
3464 if test "${enable_plugins+set}" = set; then
3465 enableval=$enable_plugins;
3466 if test "$enableval" = yes; then
3467 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3468 else
3469 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3470 fi
3471
3472 else
3473
3474 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3475 if test "x$LINE" != x ; then
3476 eval "DEFAULT_$LINE"
3477 else
3478 no_cache=1
3479 fi
3480
3481 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3482
3483 fi
3484
3485
3486 eval "$ac_cv_use_plugins"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_PLUGINS" = yes; then
3492 { echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6; }
3494 else
3495 { echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6; }
3497 fi
3498
3499
3500 withstring=without
3501 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3502 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3503 no_cache=0
3504
3505 # Check whether --with-subdirs was given.
3506 if test "${with_subdirs+set}" = set; then
3507 withval=$with_subdirs;
3508 if test "$withval" = yes; then
3509 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3510 else
3511 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3512 fi
3513
3514 else
3515
3516 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3519 else
3520 no_cache=1
3521 fi
3522
3523 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3524
3525 fi
3526
3527
3528 eval "$ac_cv_use_subdirs"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3531 fi
3532
3533 if test "$wxWITH_SUBDIRS" = yes; then
3534 { echo "$as_me:$LINENO: result: yes" >&5
3535 echo "${ECHO_T}yes" >&6; }
3536 else
3537 { echo "$as_me:$LINENO: result: no" >&5
3538 echo "${ECHO_T}no" >&6; }
3539 fi
3540
3541
3542 if test "$wxUSE_GUI" = "yes"; then
3543
3544
3545 enablestring=
3546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3547 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3548 no_cache=0
3549 # Check whether --enable-universal was given.
3550 if test "${enable_universal+set}" = set; then
3551 enableval=$enable_universal;
3552 if test "$enableval" = yes; then
3553 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3554 else
3555 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3556 fi
3557
3558 else
3559
3560 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x ; then
3562 eval "DEFAULT_$LINE"
3563 else
3564 no_cache=1
3565 fi
3566
3567 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3568
3569 fi
3570
3571
3572 eval "$ac_cv_use_universal"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3575 fi
3576
3577 if test "$wxUSE_UNIVERSAL" = yes; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3580 else
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3583 fi
3584
3585
3586 # Check whether --with-gtk was given.
3587 if test "${with_gtk+set}" = set; then
3588 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3589 fi
3590
3591
3592 # Check whether --with-motif was given.
3593 if test "${with_motif+set}" = set; then
3594 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3595 fi
3596
3597
3598 # Check whether --with-mac was given.
3599 if test "${with_mac+set}" = set; then
3600 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3601 fi
3602
3603
3604 # Check whether --with-cocoa was given.
3605 if test "${with_cocoa+set}" = set; then
3606 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3607 fi
3608
3609
3610 # Check whether --with-wine was given.
3611 if test "${with_wine+set}" = set; then
3612 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3613 fi
3614
3615
3616 # Check whether --with-msw was given.
3617 if test "${with_msw+set}" = set; then
3618 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3619 fi
3620
3621
3622 # Check whether --with-pm was given.
3623 if test "${with_pm+set}" = set; then
3624 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3625 fi
3626
3627
3628 # Check whether --with-mgl was given.
3629 if test "${with_mgl+set}" = set; then
3630 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3631 fi
3632
3633
3634 # Check whether --with-directfb was given.
3635 if test "${with_directfb+set}" = set; then
3636 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3637 fi
3638
3639
3640 # Check whether --with-microwin was given.
3641 if test "${with_microwin+set}" = set; then
3642 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3643 fi
3644
3645
3646 # Check whether --with-x11 was given.
3647 if test "${with_x11+set}" = set; then
3648 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3649 fi
3650
3651
3652 enablestring=
3653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3654 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3655 no_cache=0
3656 # Check whether --enable-nanox was given.
3657 if test "${enable_nanox+set}" = set; then
3658 enableval=$enable_nanox;
3659 if test "$enableval" = yes; then
3660 ac_cv_use_nanox='wxUSE_NANOX=yes'
3661 else
3662 ac_cv_use_nanox='wxUSE_NANOX=no'
3663 fi
3664
3665 else
3666
3667 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x ; then
3669 eval "DEFAULT_$LINE"
3670 else
3671 no_cache=1
3672 fi
3673
3674 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3675
3676 fi
3677
3678
3679 eval "$ac_cv_use_nanox"
3680 if test "$no_cache" != 1; then
3681 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3682 fi
3683
3684 if test "$wxUSE_NANOX" = yes; then
3685 { echo "$as_me:$LINENO: result: yes" >&5
3686 echo "${ECHO_T}yes" >&6; }
3687 else
3688 { echo "$as_me:$LINENO: result: no" >&5
3689 echo "${ECHO_T}no" >&6; }
3690 fi
3691
3692
3693 # Check whether --enable-gtk2 was given.
3694 if test "${enable_gtk2+set}" = set; then
3695 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3696 fi
3697
3698
3699 enablestring=
3700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3702 no_cache=0
3703 # Check whether --enable-gpe was given.
3704 if test "${enable_gpe+set}" = set; then
3705 enableval=$enable_gpe;
3706 if test "$enableval" = yes; then
3707 ac_cv_use_gpe='wxUSE_GPE=yes'
3708 else
3709 ac_cv_use_gpe='wxUSE_GPE=no'
3710 fi
3711
3712 else
3713
3714 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x ; then
3716 eval "DEFAULT_$LINE"
3717 else
3718 no_cache=1
3719 fi
3720
3721 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3722
3723 fi
3724
3725
3726 eval "$ac_cv_use_gpe"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3729 fi
3730
3731 if test "$wxUSE_GPE" = yes; then
3732 { echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6; }
3734 else
3735 { echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6; }
3737 fi
3738
3739
3740
3741 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3742 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3743 no_cache=0
3744
3745 # Check whether --with-libpng was given.
3746 if test "${with_libpng+set}" = set; then
3747 withval=$with_libpng;
3748 if test "$withval" = yes; then
3749 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3750 elif test "$withval" = no; then
3751 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3752 elif test "$withval" = sys; then
3753 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3754 elif test "$withval" = builtin; then
3755 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3756 else
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3760 fi
3761
3762 else
3763
3764 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x ; then
3766 eval "DEFAULT_$LINE"
3767 else
3768 no_cache=1
3769 fi
3770
3771 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3772
3773 fi
3774
3775
3776 eval "$ac_cv_use_libpng"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3779 fi
3780
3781 if test "$wxUSE_LIBPNG" = yes; then
3782 { echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6; }
3784 elif test "$wxUSE_LIBPNG" = no; then
3785 { echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6; }
3787 elif test "$wxUSE_LIBPNG" = sys; then
3788 { echo "$as_me:$LINENO: result: system version" >&5
3789 echo "${ECHO_T}system version" >&6; }
3790 elif test "$wxUSE_LIBPNG" = builtin; then
3791 { echo "$as_me:$LINENO: result: builtin version" >&5
3792 echo "${ECHO_T}builtin version" >&6; }
3793 else
3794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3796 { (exit 1); exit 1; }; }
3797 fi
3798
3799
3800 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3801 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3802 no_cache=0
3803
3804 # Check whether --with-libjpeg was given.
3805 if test "${with_libjpeg+set}" = set; then
3806 withval=$with_libjpeg;
3807 if test "$withval" = yes; then
3808 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3809 elif test "$withval" = no; then
3810 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3811 elif test "$withval" = sys; then
3812 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3813 elif test "$withval" = builtin; then
3814 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3815 else
3816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3817 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3818 { (exit 1); exit 1; }; }
3819 fi
3820
3821 else
3822
3823 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x ; then
3825 eval "DEFAULT_$LINE"
3826 else
3827 no_cache=1
3828 fi
3829
3830 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3831
3832 fi
3833
3834
3835 eval "$ac_cv_use_libjpeg"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3838 fi
3839
3840 if test "$wxUSE_LIBJPEG" = yes; then
3841 { echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6; }
3843 elif test "$wxUSE_LIBJPEG" = no; then
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3846 elif test "$wxUSE_LIBJPEG" = sys; then
3847 { echo "$as_me:$LINENO: result: system version" >&5
3848 echo "${ECHO_T}system version" >&6; }
3849 elif test "$wxUSE_LIBJPEG" = builtin; then
3850 { echo "$as_me:$LINENO: result: builtin version" >&5
3851 echo "${ECHO_T}builtin version" >&6; }
3852 else
3853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3855 { (exit 1); exit 1; }; }
3856 fi
3857
3858
3859 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3860 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3861 no_cache=0
3862
3863 # Check whether --with-libtiff was given.
3864 if test "${with_libtiff+set}" = set; then
3865 withval=$with_libtiff;
3866 if test "$withval" = yes; then
3867 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3868 elif test "$withval" = no; then
3869 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3870 elif test "$withval" = sys; then
3871 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3872 elif test "$withval" = builtin; then
3873 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3874 else
3875 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3876 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3877 { (exit 1); exit 1; }; }
3878 fi
3879
3880 else
3881
3882 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x ; then
3884 eval "DEFAULT_$LINE"
3885 else
3886 no_cache=1
3887 fi
3888
3889 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3890
3891 fi
3892
3893
3894 eval "$ac_cv_use_libtiff"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3897 fi
3898
3899 if test "$wxUSE_LIBTIFF" = yes; then
3900 { echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6; }
3902 elif test "$wxUSE_LIBTIFF" = no; then
3903 { echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6; }
3905 elif test "$wxUSE_LIBTIFF" = sys; then
3906 { echo "$as_me:$LINENO: result: system version" >&5
3907 echo "${ECHO_T}system version" >&6; }
3908 elif test "$wxUSE_LIBTIFF" = builtin; then
3909 { echo "$as_me:$LINENO: result: builtin version" >&5
3910 echo "${ECHO_T}builtin version" >&6; }
3911 else
3912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3914 { (exit 1); exit 1; }; }
3915 fi
3916
3917
3918 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3919 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3920 no_cache=0
3921
3922 # Check whether --with-libxpm was given.
3923 if test "${with_libxpm+set}" = set; then
3924 withval=$with_libxpm;
3925 if test "$withval" = yes; then
3926 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3927 elif test "$withval" = no; then
3928 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3929 elif test "$withval" = sys; then
3930 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3931 elif test "$withval" = builtin; then
3932 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3933 else
3934 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3935 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3936 { (exit 1); exit 1; }; }
3937 fi
3938
3939 else
3940
3941 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x ; then
3943 eval "DEFAULT_$LINE"
3944 else
3945 no_cache=1
3946 fi
3947
3948 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3949
3950 fi
3951
3952
3953 eval "$ac_cv_use_libxpm"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3956 fi
3957
3958 if test "$wxUSE_LIBXPM" = yes; then
3959 { echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6; }
3961 elif test "$wxUSE_LIBXPM" = no; then
3962 { echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6; }
3964 elif test "$wxUSE_LIBXPM" = sys; then
3965 { echo "$as_me:$LINENO: result: system version" >&5
3966 echo "${ECHO_T}system version" >&6; }
3967 elif test "$wxUSE_LIBXPM" = builtin; then
3968 { echo "$as_me:$LINENO: result: builtin version" >&5
3969 echo "${ECHO_T}builtin version" >&6; }
3970 else
3971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3973 { (exit 1); exit 1; }; }
3974 fi
3975
3976
3977 withstring=
3978 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3979 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3980 no_cache=0
3981
3982 # Check whether --with-libmspack was given.
3983 if test "${with_libmspack+set}" = set; then
3984 withval=$with_libmspack;
3985 if test "$withval" = yes; then
3986 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3987 else
3988 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3989 fi
3990
3991 else
3992
3993 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
3996 else
3997 no_cache=1
3998 fi
3999
4000 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4001
4002 fi
4003
4004
4005 eval "$ac_cv_use_libmspack"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4008 fi
4009
4010 if test "$wxUSE_LIBMSPACK" = yes; then
4011 { echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6; }
4013 else
4014 { echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6; }
4016 fi
4017
4018
4019 withstring=
4020 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4021 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4022 no_cache=0
4023
4024 # Check whether --with-sdl was given.
4025 if test "${with_sdl+set}" = set; then
4026 withval=$with_sdl;
4027 if test "$withval" = yes; then
4028 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4029 else
4030 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4031 fi
4032
4033 else
4034
4035 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x ; then
4037 eval "DEFAULT_$LINE"
4038 else
4039 no_cache=1
4040 fi
4041
4042 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4043
4044 fi
4045
4046
4047 eval "$ac_cv_use_sdl"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4050 fi
4051
4052 if test "$wxUSE_LIBSDL" = yes; then
4053 { echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6; }
4055 else
4056 { echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6; }
4058 fi
4059
4060
4061 withstring=
4062 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4063 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4064 no_cache=0
4065
4066 # Check whether --with-gnomeprint was given.
4067 if test "${with_gnomeprint+set}" = set; then
4068 withval=$with_gnomeprint;
4069 if test "$withval" = yes; then
4070 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4071 else
4072 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4073 fi
4074
4075 else
4076
4077 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4080 else
4081 no_cache=1
4082 fi
4083
4084 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4085
4086 fi
4087
4088
4089 eval "$ac_cv_use_gnomeprint"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4092 fi
4093
4094 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4095 { echo "$as_me:$LINENO: result: yes" >&5
4096 echo "${ECHO_T}yes" >&6; }
4097 else
4098 { echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6; }
4100 fi
4101
4102
4103 withstring=
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4106 no_cache=0
4107
4108 # Check whether --with-gnomevfs was given.
4109 if test "${with_gnomevfs+set}" = set; then
4110 withval=$with_gnomevfs;
4111 if test "$withval" = yes; then
4112 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4113 else
4114 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4115 fi
4116
4117 else
4118
4119 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4122 else
4123 no_cache=1
4124 fi
4125
4126 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4127
4128 fi
4129
4130
4131 eval "$ac_cv_use_gnomevfs"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4137 { echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6; }
4139 else
4140 { echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6; }
4142 fi
4143
4144
4145 withstring=
4146 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4147 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4148 no_cache=0
4149
4150 # Check whether --with-hildon was given.
4151 if test "${with_hildon+set}" = set; then
4152 withval=$with_hildon;
4153 if test "$withval" = yes; then
4154 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4155 else
4156 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4157 fi
4158
4159 else
4160
4161 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4169
4170 fi
4171
4172
4173 eval "$ac_cv_use_hildon"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4176 fi
4177
4178 if test "$wxUSE_LIBHILDON" = yes; then
4179 { echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6; }
4181 else
4182 { echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6; }
4184 fi
4185
4186
4187 withstring=
4188 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4189 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4190 no_cache=0
4191
4192 # Check whether --with-opengl was given.
4193 if test "${with_opengl+set}" = set; then
4194 withval=$with_opengl;
4195 if test "$withval" = yes; then
4196 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4197 else
4198 ac_cv_use_opengl='wxUSE_OPENGL=no'
4199 fi
4200
4201 else
4202
4203 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x ; then
4205 eval "DEFAULT_$LINE"
4206 else
4207 no_cache=1
4208 fi
4209
4210 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4211
4212 fi
4213
4214
4215 eval "$ac_cv_use_opengl"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4218 fi
4219
4220 if test "$wxUSE_OPENGL" = yes; then
4221 { echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6; }
4223 else
4224 { echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6; }
4226 fi
4227
4228
4229 if test "$wxUSE_UNIVERSAL" = "yes"; then
4230
4231 # Check whether --with-themes was given.
4232 if test "${with_themes+set}" = set; then
4233 withval=$with_themes; wxUNIV_THEMES="$withval"
4234 fi
4235
4236 fi
4237
4238 fi
4239
4240
4241 withstring=
4242 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4243 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4244 no_cache=0
4245
4246 # Check whether --with-dmalloc was given.
4247 if test "${with_dmalloc+set}" = set; then
4248 withval=$with_dmalloc;
4249 if test "$withval" = yes; then
4250 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4251 else
4252 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4253 fi
4254
4255 else
4256
4257 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4260 else
4261 no_cache=1
4262 fi
4263
4264 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4265
4266 fi
4267
4268
4269 eval "$ac_cv_use_dmalloc"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4272 fi
4273
4274 if test "$wxUSE_DMALLOC" = yes; then
4275 { echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6; }
4277 else
4278 { echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6; }
4280 fi
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4284 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4285 no_cache=0
4286
4287 # Check whether --with-regex was given.
4288 if test "${with_regex+set}" = set; then
4289 withval=$with_regex;
4290 if test "$withval" = yes; then
4291 ac_cv_use_regex='wxUSE_REGEX=yes'
4292 elif test "$withval" = no; then
4293 ac_cv_use_regex='wxUSE_REGEX=no'
4294 elif test "$withval" = sys; then
4295 ac_cv_use_regex='wxUSE_REGEX=sys'
4296 elif test "$withval" = builtin; then
4297 ac_cv_use_regex='wxUSE_REGEX=builtin'
4298 else
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303
4304 else
4305
4306 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 else
4310 no_cache=1
4311 fi
4312
4313 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4314
4315 fi
4316
4317
4318 eval "$ac_cv_use_regex"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4321 fi
4322
4323 if test "$wxUSE_REGEX" = yes; then
4324 { echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6; }
4326 elif test "$wxUSE_REGEX" = no; then
4327 { echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6; }
4329 elif test "$wxUSE_REGEX" = sys; then
4330 { echo "$as_me:$LINENO: result: system version" >&5
4331 echo "${ECHO_T}system version" >&6; }
4332 elif test "$wxUSE_REGEX" = builtin; then
4333 { echo "$as_me:$LINENO: result: builtin version" >&5
4334 echo "${ECHO_T}builtin version" >&6; }
4335 else
4336 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4337 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4338 { (exit 1); exit 1; }; }
4339 fi
4340
4341
4342 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4343 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4344 no_cache=0
4345
4346 # Check whether --with-zlib was given.
4347 if test "${with_zlib+set}" = set; then
4348 withval=$with_zlib;
4349 if test "$withval" = yes; then
4350 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4351 elif test "$withval" = no; then
4352 ac_cv_use_zlib='wxUSE_ZLIB=no'
4353 elif test "$withval" = sys; then
4354 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4355 elif test "$withval" = builtin; then
4356 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4357 else
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4361 fi
4362
4363 else
4364
4365 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4368 else
4369 no_cache=1
4370 fi
4371
4372 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4373
4374 fi
4375
4376
4377 eval "$ac_cv_use_zlib"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4380 fi
4381
4382 if test "$wxUSE_ZLIB" = yes; then
4383 { echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6; }
4385 elif test "$wxUSE_ZLIB" = no; then
4386 { echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6; }
4388 elif test "$wxUSE_ZLIB" = sys; then
4389 { echo "$as_me:$LINENO: result: system version" >&5
4390 echo "${ECHO_T}system version" >&6; }
4391 elif test "$wxUSE_ZLIB" = builtin; then
4392 { echo "$as_me:$LINENO: result: builtin version" >&5
4393 echo "${ECHO_T}builtin version" >&6; }
4394 else
4395 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4396 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4397 { (exit 1); exit 1; }; }
4398 fi
4399
4400
4401 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4402 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4403 no_cache=0
4404
4405 # Check whether --with-odbc was given.
4406 if test "${with_odbc+set}" = set; then
4407 withval=$with_odbc;
4408 if test "$withval" = yes; then
4409 ac_cv_use_odbc='wxUSE_ODBC=yes'
4410 elif test "$withval" = no; then
4411 ac_cv_use_odbc='wxUSE_ODBC=no'
4412 elif test "$withval" = sys; then
4413 ac_cv_use_odbc='wxUSE_ODBC=sys'
4414 elif test "$withval" = builtin; then
4415 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4416 else
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4420 fi
4421
4422 else
4423
4424 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x ; then
4426 eval "DEFAULT_$LINE"
4427 else
4428 no_cache=1
4429 fi
4430
4431 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4432
4433 fi
4434
4435
4436 eval "$ac_cv_use_odbc"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4439 fi
4440
4441 if test "$wxUSE_ODBC" = yes; then
4442 { echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6; }
4444 elif test "$wxUSE_ODBC" = no; then
4445 { echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6; }
4447 elif test "$wxUSE_ODBC" = sys; then
4448 { echo "$as_me:$LINENO: result: system version" >&5
4449 echo "${ECHO_T}system version" >&6; }
4450 elif test "$wxUSE_ODBC" = builtin; then
4451 { echo "$as_me:$LINENO: result: builtin version" >&5
4452 echo "${ECHO_T}builtin version" >&6; }
4453 else
4454 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4455 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4456 { (exit 1); exit 1; }; }
4457 fi
4458
4459
4460 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4461 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4462 no_cache=0
4463
4464 # Check whether --with-expat was given.
4465 if test "${with_expat+set}" = set; then
4466 withval=$with_expat;
4467 if test "$withval" = yes; then
4468 ac_cv_use_expat='wxUSE_EXPAT=yes'
4469 elif test "$withval" = no; then
4470 ac_cv_use_expat='wxUSE_EXPAT=no'
4471 elif test "$withval" = sys; then
4472 ac_cv_use_expat='wxUSE_EXPAT=sys'
4473 elif test "$withval" = builtin; then
4474 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4475 else
4476 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4477 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4478 { (exit 1); exit 1; }; }
4479 fi
4480
4481 else
4482
4483 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4484 if test "x$LINE" != x ; then
4485 eval "DEFAULT_$LINE"
4486 else
4487 no_cache=1
4488 fi
4489
4490 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4491
4492 fi
4493
4494
4495 eval "$ac_cv_use_expat"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4498 fi
4499
4500 if test "$wxUSE_EXPAT" = yes; then
4501 { echo "$as_me:$LINENO: result: yes" >&5
4502 echo "${ECHO_T}yes" >&6; }
4503 elif test "$wxUSE_EXPAT" = no; then
4504 { echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6; }
4506 elif test "$wxUSE_EXPAT" = sys; then
4507 { echo "$as_me:$LINENO: result: system version" >&5
4508 echo "${ECHO_T}system version" >&6; }
4509 elif test "$wxUSE_EXPAT" = builtin; then
4510 { echo "$as_me:$LINENO: result: builtin version" >&5
4511 echo "${ECHO_T}builtin version" >&6; }
4512 else
4513 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4514 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4515 { (exit 1); exit 1; }; }
4516 fi
4517
4518
4519
4520
4521 enablestring=
4522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4524 no_cache=0
4525 # Check whether --enable-shared was given.
4526 if test "${enable_shared+set}" = set; then
4527 enableval=$enable_shared;
4528 if test "$enableval" = yes; then
4529 ac_cv_use_shared='wxUSE_SHARED=yes'
4530 else
4531 ac_cv_use_shared='wxUSE_SHARED=no'
4532 fi
4533
4534 else
4535
4536 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x ; then
4538 eval "DEFAULT_$LINE"
4539 else
4540 no_cache=1
4541 fi
4542
4543 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4544
4545 fi
4546
4547
4548 eval "$ac_cv_use_shared"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test "$wxUSE_SHARED" = yes; then
4554 { echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6; }
4556 else
4557 { echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6; }
4559 fi
4560
4561
4562 enablestring=
4563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4564 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4565 no_cache=0
4566 # Check whether --enable-optimise was given.
4567 if test "${enable_optimise+set}" = set; then
4568 enableval=$enable_optimise;
4569 if test "$enableval" = yes; then
4570 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4571 else
4572 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4573 fi
4574
4575 else
4576
4577 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4580 else
4581 no_cache=1
4582 fi
4583
4584 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4585
4586 fi
4587
4588
4589 eval "$ac_cv_use_optimise"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4592 fi
4593
4594 if test "$wxUSE_OPTIMISE" = yes; then
4595 { echo "$as_me:$LINENO: result: yes" >&5
4596 echo "${ECHO_T}yes" >&6; }
4597 else
4598 { echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6; }
4600 fi
4601
4602
4603 enablestring=
4604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4605 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4606 no_cache=0
4607 # Check whether --enable-debug was given.
4608 if test "${enable_debug+set}" = set; then
4609 enableval=$enable_debug;
4610 if test "$enableval" = yes; then
4611 ac_cv_use_debug='wxUSE_DEBUG=yes'
4612 else
4613 ac_cv_use_debug='wxUSE_DEBUG=no'
4614 fi
4615
4616 else
4617
4618 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x ; then
4620 eval "DEFAULT_$LINE"
4621 else
4622 no_cache=1
4623 fi
4624
4625 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4626
4627 fi
4628
4629
4630 eval "$ac_cv_use_debug"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4633 fi
4634
4635 if test "$wxUSE_DEBUG" = yes; then
4636 { echo "$as_me:$LINENO: result: yes" >&5
4637 echo "${ECHO_T}yes" >&6; }
4638 else
4639 { echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6; }
4641 fi
4642
4643
4644 enablestring=
4645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4647 no_cache=0
4648 # Check whether --enable-stl was given.
4649 if test "${enable_stl+set}" = set; then
4650 enableval=$enable_stl;
4651 if test "$enableval" = yes; then
4652 ac_cv_use_stl='wxUSE_STL=yes'
4653 else
4654 ac_cv_use_stl='wxUSE_STL=no'
4655 fi
4656
4657 else
4658
4659 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4662 else
4663 no_cache=1
4664 fi
4665
4666 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4667
4668 fi
4669
4670
4671 eval "$ac_cv_use_stl"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4674 fi
4675
4676 if test "$wxUSE_STL" = yes; then
4677 { echo "$as_me:$LINENO: result: yes" >&5
4678 echo "${ECHO_T}yes" >&6; }
4679 else
4680 { echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6; }
4682 fi
4683
4684
4685 enablestring=
4686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4687 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4688 no_cache=0
4689 # Check whether --enable-extended_rtti was given.
4690 if test "${enable_extended_rtti+set}" = set; then
4691 enableval=$enable_extended_rtti;
4692 if test "$enableval" = yes; then
4693 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4694 else
4695 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4696 fi
4697
4698 else
4699
4700 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4703 else
4704 no_cache=1
4705 fi
4706
4707 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4708
4709 fi
4710
4711
4712 eval "$ac_cv_use_extended_rtti"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4715 fi
4716
4717 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4718 { echo "$as_me:$LINENO: result: yes" >&5
4719 echo "${ECHO_T}yes" >&6; }
4720 else
4721 { echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6; }
4723 fi
4724
4725 if test "$USE_OS2" = "1"; then
4726 DEFAULT_wxUSE_OMF=no
4727
4728 enablestring=
4729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4730 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4731 no_cache=0
4732 # Check whether --enable-omf was given.
4733 if test "${enable_omf+set}" = set; then
4734 enableval=$enable_omf;
4735 if test "$enableval" = yes; then
4736 ac_cv_use_omf='wxUSE_OMF=yes'
4737 else
4738 ac_cv_use_omf='wxUSE_OMF=no'
4739 fi
4740
4741 else
4742
4743 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4744 if test "x$LINE" != x ; then
4745 eval "DEFAULT_$LINE"
4746 else
4747 no_cache=1
4748 fi
4749
4750 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4751
4752 fi
4753
4754
4755 eval "$ac_cv_use_omf"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4758 fi
4759
4760 if test "$wxUSE_OMF" = yes; then
4761 { echo "$as_me:$LINENO: result: yes" >&5
4762 echo "${ECHO_T}yes" >&6; }
4763 else
4764 { echo "$as_me:$LINENO: result: no" >&5
4765 echo "${ECHO_T}no" >&6; }
4766 fi
4767
4768 fi
4769
4770 if test "$wxUSE_DEBUG" = "yes"; then
4771 DEFAULT_wxUSE_DEBUG_FLAG=yes
4772 DEFAULT_wxUSE_DEBUG_INFO=yes
4773 BUILD=debug
4774 elif test "$wxUSE_DEBUG" = "no"; then
4775 DEFAULT_wxUSE_DEBUG_FLAG=no
4776 DEFAULT_wxUSE_DEBUG_INFO=no
4777 BUILD=release
4778 fi
4779
4780
4781 enablestring=
4782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4783 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4784 no_cache=0
4785 # Check whether --enable-debug_flag was given.
4786 if test "${enable_debug_flag+set}" = set; then
4787 enableval=$enable_debug_flag;
4788 if test "$enableval" = yes; then
4789 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4790 else
4791 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4792 fi
4793
4794 else
4795
4796 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4804
4805 fi
4806
4807
4808 eval "$ac_cv_use_debug_flag"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4811 fi
4812
4813 if test "$wxUSE_DEBUG_FLAG" = yes; then
4814 { echo "$as_me:$LINENO: result: yes" >&5
4815 echo "${ECHO_T}yes" >&6; }
4816 else
4817 { echo "$as_me:$LINENO: result: no" >&5
4818 echo "${ECHO_T}no" >&6; }
4819 fi
4820
4821
4822 enablestring=
4823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4824 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4825 no_cache=0
4826 # Check whether --enable-debug_info was given.
4827 if test "${enable_debug_info+set}" = set; then
4828 enableval=$enable_debug_info;
4829 if test "$enableval" = yes; then
4830 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4831 else
4832 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4833 fi
4834
4835 else
4836
4837 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4845
4846 fi
4847
4848
4849 eval "$ac_cv_use_debug_info"
4850 if test "$no_cache" != 1; then
4851 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4852 fi
4853
4854 if test "$wxUSE_DEBUG_INFO" = yes; then
4855 { echo "$as_me:$LINENO: result: yes" >&5
4856 echo "${ECHO_T}yes" >&6; }
4857 else
4858 { echo "$as_me:$LINENO: result: no" >&5
4859 echo "${ECHO_T}no" >&6; }
4860 fi
4861
4862
4863 enablestring=
4864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4865 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4866 no_cache=0
4867 # Check whether --enable-debug_gdb was given.
4868 if test "${enable_debug_gdb+set}" = set; then
4869 enableval=$enable_debug_gdb;
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4872 else
4873 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4874 fi
4875
4876 else
4877
4878 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4886
4887 fi
4888
4889
4890 eval "$ac_cv_use_debug_gdb"
4891 if test "$no_cache" != 1; then
4892 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4893 fi
4894
4895 if test "$wxUSE_DEBUG_GDB" = yes; then
4896 { echo "$as_me:$LINENO: result: yes" >&5
4897 echo "${ECHO_T}yes" >&6; }
4898 else
4899 { echo "$as_me:$LINENO: result: no" >&5
4900 echo "${ECHO_T}no" >&6; }
4901 fi
4902
4903
4904 enablestring=
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4907 no_cache=0
4908 # Check whether --enable-debug_cntxt was given.
4909 if test "${enable_debug_cntxt+set}" = set; then
4910 enableval=$enable_debug_cntxt;
4911 if test "$enableval" = yes; then
4912 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4913 else
4914 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4927
4928 fi
4929
4930
4931 eval "$ac_cv_use_debug_cntxt"
4932 if test "$no_cache" != 1; then
4933 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4934 fi
4935
4936 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4937 { echo "$as_me:$LINENO: result: yes" >&5
4938 echo "${ECHO_T}yes" >&6; }
4939 else
4940 { echo "$as_me:$LINENO: result: no" >&5
4941 echo "${ECHO_T}no" >&6; }
4942 fi
4943
4944
4945 enablestring=
4946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4948 no_cache=0
4949 # Check whether --enable-mem_tracing was given.
4950 if test "${enable_mem_tracing+set}" = set; then
4951 enableval=$enable_mem_tracing;
4952 if test "$enableval" = yes; then
4953 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4954 else
4955 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4956 fi
4957
4958 else
4959
4960 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4968
4969 fi
4970
4971
4972 eval "$ac_cv_use_mem_tracing"
4973 if test "$no_cache" != 1; then
4974 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4975 fi
4976
4977 if test "$wxUSE_MEM_TRACING" = yes; then
4978 { echo "$as_me:$LINENO: result: yes" >&5
4979 echo "${ECHO_T}yes" >&6; }
4980 else
4981 { echo "$as_me:$LINENO: result: no" >&5
4982 echo "${ECHO_T}no" >&6; }
4983 fi
4984
4985
4986 enablestring=
4987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4989 no_cache=0
4990 # Check whether --enable-profile was given.
4991 if test "${enable_profile+set}" = set; then
4992 enableval=$enable_profile;
4993 if test "$enableval" = yes; then
4994 ac_cv_use_profile='wxUSE_PROFILE=yes'
4995 else
4996 ac_cv_use_profile='wxUSE_PROFILE=no'
4997 fi
4998
4999 else
5000
5001 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5009
5010 fi
5011
5012
5013 eval "$ac_cv_use_profile"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5016 fi
5017
5018 if test "$wxUSE_PROFILE" = yes; then
5019 { echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6; }
5021 else
5022 { echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6; }
5024 fi
5025
5026
5027 enablestring=
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5030 no_cache=0
5031 # Check whether --enable-no_rtti was given.
5032 if test "${enable_no_rtti+set}" = set; then
5033 enableval=$enable_no_rtti;
5034 if test "$enableval" = yes; then
5035 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5036 else
5037 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5038 fi
5039
5040 else
5041
5042 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5050
5051 fi
5052
5053
5054 eval "$ac_cv_use_no_rtti"
5055 if test "$no_cache" != 1; then
5056 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5057 fi
5058
5059 if test "$wxUSE_NO_RTTI" = yes; then
5060 { echo "$as_me:$LINENO: result: yes" >&5
5061 echo "${ECHO_T}yes" >&6; }
5062 else
5063 { echo "$as_me:$LINENO: result: no" >&5
5064 echo "${ECHO_T}no" >&6; }
5065 fi
5066
5067
5068 enablestring=
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5071 no_cache=0
5072 # Check whether --enable-no_exceptions was given.
5073 if test "${enable_no_exceptions+set}" = set; then
5074 enableval=$enable_no_exceptions;
5075 if test "$enableval" = yes; then
5076 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5077 else
5078 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5079 fi
5080
5081 else
5082
5083 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5091
5092 fi
5093
5094
5095 eval "$ac_cv_use_no_exceptions"
5096 if test "$no_cache" != 1; then
5097 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5098 fi
5099
5100 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5101 { echo "$as_me:$LINENO: result: yes" >&5
5102 echo "${ECHO_T}yes" >&6; }
5103 else
5104 { echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6; }
5106 fi
5107
5108
5109 enablestring=
5110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5112 no_cache=0
5113 # Check whether --enable-permissive was given.
5114 if test "${enable_permissive+set}" = set; then
5115 enableval=$enable_permissive;
5116 if test "$enableval" = yes; then
5117 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5118 else
5119 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5120 fi
5121
5122 else
5123
5124 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5132
5133 fi
5134
5135
5136 eval "$ac_cv_use_permissive"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5139 fi
5140
5141 if test "$wxUSE_PERMISSIVE" = yes; then
5142 { echo "$as_me:$LINENO: result: yes" >&5
5143 echo "${ECHO_T}yes" >&6; }
5144 else
5145 { echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6; }
5147 fi
5148
5149
5150 enablestring=
5151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5153 no_cache=0
5154 # Check whether --enable-no_deps was given.
5155 if test "${enable_no_deps+set}" = set; then
5156 enableval=$enable_no_deps;
5157 if test "$enableval" = yes; then
5158 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5159 else
5160 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5161 fi
5162
5163 else
5164
5165 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5173
5174 fi
5175
5176
5177 eval "$ac_cv_use_no_deps"
5178 if test "$no_cache" != 1; then
5179 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5180 fi
5181
5182 if test "$wxUSE_NO_DEPS" = yes; then
5183 { echo "$as_me:$LINENO: result: yes" >&5
5184 echo "${ECHO_T}yes" >&6; }
5185 else
5186 { echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6; }
5188 fi
5189
5190
5191 enablestring=
5192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5193 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5194 no_cache=0
5195 # Check whether --enable-vararg_macros was given.
5196 if test "${enable_vararg_macros+set}" = set; then
5197 enableval=$enable_vararg_macros;
5198 if test "$enableval" = yes; then
5199 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5200 else
5201 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5202 fi
5203
5204 else
5205
5206 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5214
5215 fi
5216
5217
5218 eval "$ac_cv_use_vararg_macros"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5221 fi
5222
5223 if test "$wxUSE_VARARG_MACROS" = yes; then
5224 { echo "$as_me:$LINENO: result: yes" >&5
5225 echo "${ECHO_T}yes" >&6; }
5226 else
5227 { echo "$as_me:$LINENO: result: no" >&5
5228 echo "${ECHO_T}no" >&6; }
5229 fi
5230
5231
5232 enablestring=
5233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5235 no_cache=0
5236 # Check whether --enable-universal_binary was given.
5237 if test "${enable_universal_binary+set}" = set; then
5238 enableval=$enable_universal_binary;
5239 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5240
5241 else
5242
5243 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x ; then
5245 eval "DEFAULT_$LINE"
5246 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5247 else
5248 no_cache=1
5249 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5250 fi
5251
5252 fi
5253
5254
5255 eval "$wx_cv_use_universal_binary"
5256 if test "$no_cache" != 1; then
5257 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5258 fi
5259
5260 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5261 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5262
5263
5264
5265 enablestring=enable
5266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5268 no_cache=0
5269 # Check whether --enable-compat26 was given.
5270 if test "${enable_compat26+set}" = set; then
5271 enableval=$enable_compat26;
5272 if test "$enableval" = yes; then
5273 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5274 else
5275 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5276 fi
5277
5278 else
5279
5280 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x ; then
5282 eval "DEFAULT_$LINE"
5283 else
5284 no_cache=1
5285 fi
5286
5287 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5288
5289 fi
5290
5291
5292 eval "$ac_cv_use_compat26"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5295 fi
5296
5297 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5298 { echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6; }
5300 else
5301 { echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6; }
5303 fi
5304
5305
5306 enablestring=disable
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5309 no_cache=0
5310 # Check whether --enable-compat28 was given.
5311 if test "${enable_compat28+set}" = set; then
5312 enableval=$enable_compat28;
5313 if test "$enableval" = yes; then
5314 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5315 else
5316 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5317 fi
5318
5319 else
5320
5321 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5324 else
5325 no_cache=1
5326 fi
5327
5328 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5329
5330 fi
5331
5332
5333 eval "$ac_cv_use_compat28"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5336 fi
5337
5338 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5339 { echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6; }
5341 else
5342 { echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6; }
5344 fi
5345
5346
5347
5348 enablestring=
5349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5350 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5351 no_cache=0
5352 # Check whether --enable-rpath was given.
5353 if test "${enable_rpath+set}" = set; then
5354 enableval=$enable_rpath;
5355 if test "$enableval" = yes; then
5356 ac_cv_use_rpath='wxUSE_RPATH=yes'
5357 else
5358 ac_cv_use_rpath='wxUSE_RPATH=no'
5359 fi
5360
5361 else
5362
5363 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x ; then
5365 eval "DEFAULT_$LINE"
5366 else
5367 no_cache=1
5368 fi
5369
5370 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5371
5372 fi
5373
5374
5375 eval "$ac_cv_use_rpath"
5376 if test "$no_cache" != 1; then
5377 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5378 fi
5379
5380 if test "$wxUSE_RPATH" = yes; then
5381 { echo "$as_me:$LINENO: result: yes" >&5
5382 echo "${ECHO_T}yes" >&6; }
5383 else
5384 { echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6; }
5386 fi
5387
5388
5389
5390
5391
5392 enablestring=
5393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5395 no_cache=0
5396 # Check whether --enable-intl was given.
5397 if test "${enable_intl+set}" = set; then
5398 enableval=$enable_intl;
5399 if test "$enableval" = yes; then
5400 ac_cv_use_intl='wxUSE_INTL=yes'
5401 else
5402 ac_cv_use_intl='wxUSE_INTL=no'
5403 fi
5404
5405 else
5406
5407 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x ; then
5409 eval "DEFAULT_$LINE"
5410 else
5411 no_cache=1
5412 fi
5413
5414 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5415
5416 fi
5417
5418
5419 eval "$ac_cv_use_intl"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5422 fi
5423
5424 if test "$wxUSE_INTL" = yes; then
5425 { echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6; }
5427 else
5428 { echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6; }
5430 fi
5431
5432
5433 enablestring=
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5436 no_cache=0
5437 # Check whether --enable-config was given.
5438 if test "${enable_config+set}" = set; then
5439 enableval=$enable_config;
5440 if test "$enableval" = yes; then
5441 ac_cv_use_config='wxUSE_CONFIG=yes'
5442 else
5443 ac_cv_use_config='wxUSE_CONFIG=no'
5444 fi
5445
5446 else
5447
5448 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5449 if test "x$LINE" != x ; then
5450 eval "DEFAULT_$LINE"
5451 else
5452 no_cache=1
5453 fi
5454
5455 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5456
5457 fi
5458
5459
5460 eval "$ac_cv_use_config"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5463 fi
5464
5465 if test "$wxUSE_CONFIG" = yes; then
5466 { echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6; }
5468 else
5469 { echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6; }
5471 fi
5472
5473
5474
5475 enablestring=
5476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5478 no_cache=0
5479 # Check whether --enable-protocols was given.
5480 if test "${enable_protocols+set}" = set; then
5481 enableval=$enable_protocols;
5482 if test "$enableval" = yes; then
5483 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5484 else
5485 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5486 fi
5487
5488 else
5489
5490 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x ; then
5492 eval "DEFAULT_$LINE"
5493 else
5494 no_cache=1
5495 fi
5496
5497 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5498
5499 fi
5500
5501
5502 eval "$ac_cv_use_protocols"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test "$wxUSE_PROTOCOL" = yes; then
5508 { echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6; }
5510 else
5511 { echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6; }
5513 fi
5514
5515
5516 enablestring=
5517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5519 no_cache=0
5520 # Check whether --enable-ftp was given.
5521 if test "${enable_ftp+set}" = set; then
5522 enableval=$enable_ftp;
5523 if test "$enableval" = yes; then
5524 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5525 else
5526 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5527 fi
5528
5529 else
5530
5531 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5534 else
5535 no_cache=1
5536 fi
5537
5538 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5539
5540 fi
5541
5542
5543 eval "$ac_cv_use_ftp"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5549 { echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6; }
5551 else
5552 { echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6; }
5554 fi
5555
5556
5557 enablestring=
5558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5560 no_cache=0
5561 # Check whether --enable-http was given.
5562 if test "${enable_http+set}" = set; then
5563 enableval=$enable_http;
5564 if test "$enableval" = yes; then
5565 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5566 else
5567 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5568 fi
5569
5570 else
5571
5572 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x ; then
5574 eval "DEFAULT_$LINE"
5575 else
5576 no_cache=1
5577 fi
5578
5579 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5580
5581 fi
5582
5583
5584 eval "$ac_cv_use_http"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5590 { echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6; }
5592 else
5593 { echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6; }
5595 fi
5596
5597
5598 enablestring=
5599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5601 no_cache=0
5602 # Check whether --enable-fileproto was given.
5603 if test "${enable_fileproto+set}" = set; then
5604 enableval=$enable_fileproto;
5605 if test "$enableval" = yes; then
5606 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5607 else
5608 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5609 fi
5610
5611 else
5612
5613 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x ; then
5615 eval "DEFAULT_$LINE"
5616 else
5617 no_cache=1
5618 fi
5619
5620 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5621
5622 fi
5623
5624
5625 eval "$ac_cv_use_fileproto"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5628 fi
5629
5630 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5631 { echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6; }
5633 else
5634 { echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6; }
5636 fi
5637
5638
5639 enablestring=
5640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5642 no_cache=0
5643 # Check whether --enable-sockets was given.
5644 if test "${enable_sockets+set}" = set; then
5645 enableval=$enable_sockets;
5646 if test "$enableval" = yes; then
5647 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5648 else
5649 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5650 fi
5651
5652 else
5653
5654 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x ; then
5656 eval "DEFAULT_$LINE"
5657 else
5658 no_cache=1
5659 fi
5660
5661 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5662
5663 fi
5664
5665
5666 eval "$ac_cv_use_sockets"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_SOCKETS" = yes; then
5672 { echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6; }
5674 else
5675 { echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6; }
5677 fi
5678
5679
5680 enablestring=
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5683 no_cache=0
5684 # Check whether --enable-ole was given.
5685 if test "${enable_ole+set}" = set; then
5686 enableval=$enable_ole;
5687 if test "$enableval" = yes; then
5688 ac_cv_use_ole='wxUSE_OLE=yes'
5689 else
5690 ac_cv_use_ole='wxUSE_OLE=no'
5691 fi
5692
5693 else
5694
5695 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5698 else
5699 no_cache=1
5700 fi
5701
5702 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5703
5704 fi
5705
5706
5707 eval "$ac_cv_use_ole"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_OLE" = yes; then
5713 { echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6; }
5715 else
5716 { echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6; }
5718 fi
5719
5720
5721 enablestring=
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5724 no_cache=0
5725 # Check whether --enable-dataobj was given.
5726 if test "${enable_dataobj+set}" = set; then
5727 enableval=$enable_dataobj;
5728 if test "$enableval" = yes; then
5729 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5730 else
5731 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5732 fi
5733
5734 else
5735
5736 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5739 else
5740 no_cache=1
5741 fi
5742
5743 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5744
5745 fi
5746
5747
5748 eval "$ac_cv_use_dataobj"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test "$wxUSE_DATAOBJ" = yes; then
5754 { echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6; }
5756 else
5757 { echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6; }
5759 fi
5760
5761
5762
5763 enablestring=
5764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5766 no_cache=0
5767 # Check whether --enable-ipc was given.
5768 if test "${enable_ipc+set}" = set; then
5769 enableval=$enable_ipc;
5770 if test "$enableval" = yes; then
5771 ac_cv_use_ipc='wxUSE_IPC=yes'
5772 else
5773 ac_cv_use_ipc='wxUSE_IPC=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5786
5787 fi
5788
5789
5790 eval "$ac_cv_use_ipc"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5793 fi
5794
5795 if test "$wxUSE_IPC" = yes; then
5796 { echo "$as_me:$LINENO: result: yes" >&5
5797 echo "${ECHO_T}yes" >&6; }
5798 else
5799 { echo "$as_me:$LINENO: result: no" >&5
5800 echo "${ECHO_T}no" >&6; }
5801 fi
5802
5803
5804
5805 enablestring=
5806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5808 no_cache=0
5809 # Check whether --enable-apple_ieee was given.
5810 if test "${enable_apple_ieee+set}" = set; then
5811 enableval=$enable_apple_ieee;
5812 if test "$enableval" = yes; then
5813 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5814 else
5815 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5816 fi
5817
5818 else
5819
5820 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x ; then
5822 eval "DEFAULT_$LINE"
5823 else
5824 no_cache=1
5825 fi
5826
5827 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5828
5829 fi
5830
5831
5832 eval "$ac_cv_use_apple_ieee"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5835 fi
5836
5837 if test "$wxUSE_APPLE_IEEE" = yes; then
5838 { echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6; }
5840 else
5841 { echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6; }
5843 fi
5844
5845
5846 enablestring=
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5849 no_cache=0
5850 # Check whether --enable-arcstream was given.
5851 if test "${enable_arcstream+set}" = set; then
5852 enableval=$enable_arcstream;
5853 if test "$enableval" = yes; then
5854 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5855 else
5856 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5857 fi
5858
5859 else
5860
5861 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5864 else
5865 no_cache=1
5866 fi
5867
5868 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5869
5870 fi
5871
5872
5873 eval "$ac_cv_use_arcstream"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5876 fi
5877
5878 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5879 { echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6; }
5881 else
5882 { echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6; }
5884 fi
5885
5886
5887 enablestring=
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5890 no_cache=0
5891 # Check whether --enable-backtrace was given.
5892 if test "${enable_backtrace+set}" = set; then
5893 enableval=$enable_backtrace;
5894 if test "$enableval" = yes; then
5895 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5896 else
5897 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5898 fi
5899
5900 else
5901
5902 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5905 else
5906 no_cache=1
5907 fi
5908
5909 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5910
5911 fi
5912
5913
5914 eval "$ac_cv_use_backtrace"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5917 fi
5918
5919 if test "$wxUSE_STACKWALKER" = yes; then
5920 { echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6; }
5922 else
5923 { echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6; }
5925 fi
5926
5927
5928 enablestring=
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5931 no_cache=0
5932 # Check whether --enable-catch_segvs was given.
5933 if test "${enable_catch_segvs+set}" = set; then
5934 enableval=$enable_catch_segvs;
5935 if test "$enableval" = yes; then
5936 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5937 else
5938 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5939 fi
5940
5941 else
5942
5943 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5946 else
5947 no_cache=1
5948 fi
5949
5950 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5951
5952 fi
5953
5954
5955 eval "$ac_cv_use_catch_segvs"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5958 fi
5959
5960 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5961 { echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6; }
5963 else
5964 { echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6; }
5966 fi
5967
5968
5969 enablestring=
5970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5972 no_cache=0
5973 # Check whether --enable-cmdline was given.
5974 if test "${enable_cmdline+set}" = set; then
5975 enableval=$enable_cmdline;
5976 if test "$enableval" = yes; then
5977 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5978 else
5979 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5980 fi
5981
5982 else
5983
5984 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5987 else
5988 no_cache=1
5989 fi
5990
5991 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5992
5993 fi
5994
5995
5996 eval "$ac_cv_use_cmdline"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6002 { echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6; }
6004 else
6005 { echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6; }
6007 fi
6008
6009
6010 enablestring=
6011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6013 no_cache=0
6014 # Check whether --enable-datetime was given.
6015 if test "${enable_datetime+set}" = set; then
6016 enableval=$enable_datetime;
6017 if test "$enableval" = yes; then
6018 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6019 else
6020 ac_cv_use_datetime='wxUSE_DATETIME=no'
6021 fi
6022
6023 else
6024
6025 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x ; then
6027 eval "DEFAULT_$LINE"
6028 else
6029 no_cache=1
6030 fi
6031
6032 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6033
6034 fi
6035
6036
6037 eval "$ac_cv_use_datetime"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6040 fi
6041
6042 if test "$wxUSE_DATETIME" = yes; then
6043 { echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6; }
6045 else
6046 { echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6; }
6048 fi
6049
6050
6051 enablestring=
6052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6054 no_cache=0
6055 # Check whether --enable-debugreport was given.
6056 if test "${enable_debugreport+set}" = set; then
6057 enableval=$enable_debugreport;
6058 if test "$enableval" = yes; then
6059 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6060 else
6061 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6062 fi
6063
6064 else
6065
6066 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6069 else
6070 no_cache=1
6071 fi
6072
6073 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6074
6075 fi
6076
6077
6078 eval "$ac_cv_use_debugreport"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_DEBUGREPORT" = yes; then
6084 { echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6; }
6086 else
6087 { echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6; }
6089 fi
6090
6091
6092 enablestring=
6093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6095 no_cache=0
6096 # Check whether --enable-dialupman was given.
6097 if test "${enable_dialupman+set}" = set; then
6098 enableval=$enable_dialupman;
6099 if test "$enableval" = yes; then
6100 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6101 else
6102 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6103 fi
6104
6105 else
6106
6107 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6108 if test "x$LINE" != x ; then
6109 eval "DEFAULT_$LINE"
6110 else
6111 no_cache=1
6112 fi
6113
6114 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6115
6116 fi
6117
6118
6119 eval "$ac_cv_use_dialupman"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6125 { echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6; }
6127 else
6128 { echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6; }
6130 fi
6131
6132
6133 enablestring=
6134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6136 no_cache=0
6137 # Check whether --enable-dynlib was given.
6138 if test "${enable_dynlib+set}" = set; then
6139 enableval=$enable_dynlib;
6140 if test "$enableval" = yes; then
6141 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6142 else
6143 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6144 fi
6145
6146 else
6147
6148 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6151 else
6152 no_cache=1
6153 fi
6154
6155 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6156
6157 fi
6158
6159
6160 eval "$ac_cv_use_dynlib"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6163 fi
6164
6165 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6166 { echo "$as_me:$LINENO: result: yes" >&5
6167 echo "${ECHO_T}yes" >&6; }
6168 else
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6171 fi
6172
6173
6174 enablestring=
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6177 no_cache=0
6178 # Check whether --enable-dynamicloader was given.
6179 if test "${enable_dynamicloader+set}" = set; then
6180 enableval=$enable_dynamicloader;
6181 if test "$enableval" = yes; then
6182 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6183 else
6184 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6185 fi
6186
6187 else
6188
6189 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6192 else
6193 no_cache=1
6194 fi
6195
6196 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6197
6198 fi
6199
6200
6201 eval "$ac_cv_use_dynamicloader"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6204 fi
6205
6206 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6207 { echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6; }
6209 else
6210 { echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6; }
6212 fi
6213
6214
6215 enablestring=
6216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6218 no_cache=0
6219 # Check whether --enable-exceptions was given.
6220 if test "${enable_exceptions+set}" = set; then
6221 enableval=$enable_exceptions;
6222 if test "$enableval" = yes; then
6223 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6224 else
6225 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6226 fi
6227
6228 else
6229
6230 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x ; then
6232 eval "DEFAULT_$LINE"
6233 else
6234 no_cache=1
6235 fi
6236
6237 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6238
6239 fi
6240
6241
6242 eval "$ac_cv_use_exceptions"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6245 fi
6246
6247 if test "$wxUSE_EXCEPTIONS" = yes; then
6248 { echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6; }
6250 else
6251 { echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6; }
6253 fi
6254
6255
6256 enablestring=
6257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6259 no_cache=0
6260 # Check whether --enable-ffile was given.
6261 if test "${enable_ffile+set}" = set; then
6262 enableval=$enable_ffile;
6263 if test "$enableval" = yes; then
6264 ac_cv_use_ffile='wxUSE_FFILE=yes'
6265 else
6266 ac_cv_use_ffile='wxUSE_FFILE=no'
6267 fi
6268
6269 else
6270
6271 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x ; then
6273 eval "DEFAULT_$LINE"
6274 else
6275 no_cache=1
6276 fi
6277
6278 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6279
6280 fi
6281
6282
6283 eval "$ac_cv_use_ffile"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6286 fi
6287
6288 if test "$wxUSE_FFILE" = yes; then
6289 { echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6; }
6291 else
6292 { echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6; }
6294 fi
6295
6296
6297 enablestring=
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6300 no_cache=0
6301 # Check whether --enable-file was given.
6302 if test "${enable_file+set}" = set; then
6303 enableval=$enable_file;
6304 if test "$enableval" = yes; then
6305 ac_cv_use_file='wxUSE_FILE=yes'
6306 else
6307 ac_cv_use_file='wxUSE_FILE=no'
6308 fi
6309
6310 else
6311
6312 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6315 else
6316 no_cache=1
6317 fi
6318
6319 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6320
6321 fi
6322
6323
6324 eval "$ac_cv_use_file"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6327 fi
6328
6329 if test "$wxUSE_FILE" = yes; then
6330 { echo "$as_me:$LINENO: result: yes" >&5
6331 echo "${ECHO_T}yes" >&6; }
6332 else
6333 { echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6; }
6335 fi
6336
6337
6338 enablestring=
6339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6341 no_cache=0
6342 # Check whether --enable-filesystem was given.
6343 if test "${enable_filesystem+set}" = set; then
6344 enableval=$enable_filesystem;
6345 if test "$enableval" = yes; then
6346 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6347 else
6348 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6349 fi
6350
6351 else
6352
6353 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6356 else
6357 no_cache=1
6358 fi
6359
6360 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6361
6362 fi
6363
6364
6365 eval "$ac_cv_use_filesystem"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6368 fi
6369
6370 if test "$wxUSE_FILESYSTEM" = yes; then
6371 { echo "$as_me:$LINENO: result: yes" >&5
6372 echo "${ECHO_T}yes" >&6; }
6373 else
6374 { echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6; }
6376 fi
6377
6378
6379 enablestring=
6380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6382 no_cache=0
6383 # Check whether --enable-fontmap was given.
6384 if test "${enable_fontmap+set}" = set; then
6385 enableval=$enable_fontmap;
6386 if test "$enableval" = yes; then
6387 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6388 else
6389 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6390 fi
6391
6392 else
6393
6394 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6397 else
6398 no_cache=1
6399 fi
6400
6401 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6402
6403 fi
6404
6405
6406 eval "$ac_cv_use_fontmap"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6409 fi
6410
6411 if test "$wxUSE_FONTMAP" = yes; then
6412 { echo "$as_me:$LINENO: result: yes" >&5
6413 echo "${ECHO_T}yes" >&6; }
6414 else
6415 { echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6; }
6417 fi
6418
6419
6420 enablestring=
6421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6423 no_cache=0
6424 # Check whether --enable-fs_archive was given.
6425 if test "${enable_fs_archive+set}" = set; then
6426 enableval=$enable_fs_archive;
6427 if test "$enableval" = yes; then
6428 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6429 else
6430 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6431 fi
6432
6433 else
6434
6435 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x ; then
6437 eval "DEFAULT_$LINE"
6438 else
6439 no_cache=1
6440 fi
6441
6442 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6443
6444 fi
6445
6446
6447 eval "$ac_cv_use_fs_archive"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6450 fi
6451
6452 if test "$wxUSE_FS_ARCHIVE" = yes; then
6453 { echo "$as_me:$LINENO: result: yes" >&5
6454 echo "${ECHO_T}yes" >&6; }
6455 else
6456 { echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6; }
6458 fi
6459
6460
6461 enablestring=
6462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6464 no_cache=0
6465 # Check whether --enable-fs_inet was given.
6466 if test "${enable_fs_inet+set}" = set; then
6467 enableval=$enable_fs_inet;
6468 if test "$enableval" = yes; then
6469 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6470 else
6471 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6472 fi
6473
6474 else
6475
6476 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6477 if test "x$LINE" != x ; then
6478 eval "DEFAULT_$LINE"
6479 else
6480 no_cache=1
6481 fi
6482
6483 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6484
6485 fi
6486
6487
6488 eval "$ac_cv_use_fs_inet"
6489 if test "$no_cache" != 1; then
6490 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6491 fi
6492
6493 if test "$wxUSE_FS_INET" = yes; then
6494 { echo "$as_me:$LINENO: result: yes" >&5
6495 echo "${ECHO_T}yes" >&6; }
6496 else
6497 { echo "$as_me:$LINENO: result: no" >&5
6498 echo "${ECHO_T}no" >&6; }
6499 fi
6500
6501
6502 enablestring=
6503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6504 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6505 no_cache=0
6506 # Check whether --enable-fs_zip was given.
6507 if test "${enable_fs_zip+set}" = set; then
6508 enableval=$enable_fs_zip;
6509 if test "$enableval" = yes; then
6510 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6511 else
6512 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6513 fi
6514
6515 else
6516
6517 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x ; then
6519 eval "DEFAULT_$LINE"
6520 else
6521 no_cache=1
6522 fi
6523
6524 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6525
6526 fi
6527
6528
6529 eval "$ac_cv_use_fs_zip"
6530 if test "$no_cache" != 1; then
6531 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6532 fi
6533
6534 if test "$wxUSE_FS_ZIP" = yes; then
6535 { echo "$as_me:$LINENO: result: yes" >&5
6536 echo "${ECHO_T}yes" >&6; }
6537 else
6538 { echo "$as_me:$LINENO: result: no" >&5
6539 echo "${ECHO_T}no" >&6; }
6540 fi
6541
6542
6543 enablestring=
6544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6545 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6546 no_cache=0
6547 # Check whether --enable-geometry was given.
6548 if test "${enable_geometry+set}" = set; then
6549 enableval=$enable_geometry;
6550 if test "$enableval" = yes; then
6551 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6552 else
6553 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6554 fi
6555
6556 else
6557
6558 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x ; then
6560 eval "DEFAULT_$LINE"
6561 else
6562 no_cache=1
6563 fi
6564
6565 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6566
6567 fi
6568
6569
6570 eval "$ac_cv_use_geometry"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6573 fi
6574
6575 if test "$wxUSE_GEOMETRY" = yes; then
6576 { echo "$as_me:$LINENO: result: yes" >&5
6577 echo "${ECHO_T}yes" >&6; }
6578 else
6579 { echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6; }
6581 fi
6582
6583
6584 enablestring=
6585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6586 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6587 no_cache=0
6588 # Check whether --enable-log was given.
6589 if test "${enable_log+set}" = set; then
6590 enableval=$enable_log;
6591 if test "$enableval" = yes; then
6592 ac_cv_use_log='wxUSE_LOG=yes'
6593 else
6594 ac_cv_use_log='wxUSE_LOG=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6607
6608 fi
6609
6610
6611 eval "$ac_cv_use_log"
6612 if test "$no_cache" != 1; then
6613 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6614 fi
6615
6616 if test "$wxUSE_LOG" = yes; then
6617 { echo "$as_me:$LINENO: result: yes" >&5
6618 echo "${ECHO_T}yes" >&6; }
6619 else
6620 { echo "$as_me:$LINENO: result: no" >&5
6621 echo "${ECHO_T}no" >&6; }
6622 fi
6623
6624
6625 enablestring=
6626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6627 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6628 no_cache=0
6629 # Check whether --enable-longlong was given.
6630 if test "${enable_longlong+set}" = set; then
6631 enableval=$enable_longlong;
6632 if test "$enableval" = yes; then
6633 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6634 else
6635 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6636 fi
6637
6638 else
6639
6640 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6643 else
6644 no_cache=1
6645 fi
6646
6647 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6648
6649 fi
6650
6651
6652 eval "$ac_cv_use_longlong"
6653 if test "$no_cache" != 1; then
6654 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6655 fi
6656
6657 if test "$wxUSE_LONGLONG" = yes; then
6658 { echo "$as_me:$LINENO: result: yes" >&5
6659 echo "${ECHO_T}yes" >&6; }
6660 else
6661 { echo "$as_me:$LINENO: result: no" >&5
6662 echo "${ECHO_T}no" >&6; }
6663 fi
6664
6665
6666 enablestring=
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6669 no_cache=0
6670 # Check whether --enable-mimetype was given.
6671 if test "${enable_mimetype+set}" = set; then
6672 enableval=$enable_mimetype;
6673 if test "$enableval" = yes; then
6674 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6675 else
6676 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6689
6690 fi
6691
6692
6693 eval "$ac_cv_use_mimetype"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6696 fi
6697
6698 if test "$wxUSE_MIMETYPE" = yes; then
6699 { echo "$as_me:$LINENO: result: yes" >&5
6700 echo "${ECHO_T}yes" >&6; }
6701 else
6702 { echo "$as_me:$LINENO: result: no" >&5
6703 echo "${ECHO_T}no" >&6; }
6704 fi
6705
6706
6707 enablestring=
6708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6709 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6710 no_cache=0
6711 # Check whether --enable-mslu was given.
6712 if test "${enable_mslu+set}" = set; then
6713 enableval=$enable_mslu;
6714 if test "$enableval" = yes; then
6715 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6716 else
6717 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6718 fi
6719
6720 else
6721
6722 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x ; then
6724 eval "DEFAULT_$LINE"
6725 else
6726 no_cache=1
6727 fi
6728
6729 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6730
6731 fi
6732
6733
6734 eval "$ac_cv_use_mslu"
6735 if test "$no_cache" != 1; then
6736 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6737 fi
6738
6739 if test "$wxUSE_UNICODE_MSLU" = yes; then
6740 { echo "$as_me:$LINENO: result: yes" >&5
6741 echo "${ECHO_T}yes" >&6; }
6742 else
6743 { echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6; }
6745 fi
6746
6747
6748 enablestring=
6749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6751 no_cache=0
6752 # Check whether --enable-utf8 was given.
6753 if test "${enable_utf8+set}" = set; then
6754 enableval=$enable_utf8;
6755 if test "$enableval" = yes; then
6756 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=yes'
6757 else
6758 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=no'
6759 fi
6760
6761 else
6762
6763 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6766 else
6767 no_cache=1
6768 fi
6769
6770 ac_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6771
6772 fi
6773
6774
6775 eval "$ac_cv_use_utf8"
6776 if test "$no_cache" != 1; then
6777 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6778 fi
6779
6780 if test "$wxUSE_UNICODE_UTF8" = yes; then
6781 { echo "$as_me:$LINENO: result: yes" >&5
6782 echo "${ECHO_T}yes" >&6; }
6783 else
6784 { echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6; }
6786 fi
6787
6788
6789 enablestring=
6790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6791 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6792 no_cache=0
6793 # Check whether --enable-snglinst was given.
6794 if test "${enable_snglinst+set}" = set; then
6795 enableval=$enable_snglinst;
6796 if test "$enableval" = yes; then
6797 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6798 else
6799 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6800 fi
6801
6802 else
6803
6804 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x ; then
6806 eval "DEFAULT_$LINE"
6807 else
6808 no_cache=1
6809 fi
6810
6811 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6812
6813 fi
6814
6815
6816 eval "$ac_cv_use_snglinst"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6819 fi
6820
6821 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6822 { echo "$as_me:$LINENO: result: yes" >&5
6823 echo "${ECHO_T}yes" >&6; }
6824 else
6825 { echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6; }
6827 fi
6828
6829
6830 enablestring=
6831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6832 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6833 no_cache=0
6834 # Check whether --enable-std_iostreams was given.
6835 if test "${enable_std_iostreams+set}" = set; then
6836 enableval=$enable_std_iostreams;
6837 if test "$enableval" = yes; then
6838 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6839 else
6840 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6841 fi
6842
6843 else
6844
6845 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x ; then
6847 eval "DEFAULT_$LINE"
6848 else
6849 no_cache=1
6850 fi
6851
6852 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6853
6854 fi
6855
6856
6857 eval "$ac_cv_use_std_iostreams"
6858 if test "$no_cache" != 1; then
6859 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6860 fi
6861
6862 if test "$wxUSE_STD_IOSTREAM" = yes; then
6863 { echo "$as_me:$LINENO: result: yes" >&5
6864 echo "${ECHO_T}yes" >&6; }
6865 else
6866 { echo "$as_me:$LINENO: result: no" >&5
6867 echo "${ECHO_T}no" >&6; }
6868 fi
6869
6870
6871 enablestring=
6872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6873 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6874 no_cache=0
6875 # Check whether --enable-std_string was given.
6876 if test "${enable_std_string+set}" = set; then
6877 enableval=$enable_std_string;
6878 if test "$enableval" = yes; then
6879 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6880 else
6881 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6882 fi
6883
6884 else
6885
6886 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x ; then
6888 eval "DEFAULT_$LINE"
6889 else
6890 no_cache=1
6891 fi
6892
6893 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6894
6895 fi
6896
6897
6898 eval "$ac_cv_use_std_string"
6899 if test "$no_cache" != 1; then
6900 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6901 fi
6902
6903 if test "$wxUSE_STD_STRING" = yes; then
6904 { echo "$as_me:$LINENO: result: yes" >&5
6905 echo "${ECHO_T}yes" >&6; }
6906 else
6907 { echo "$as_me:$LINENO: result: no" >&5
6908 echo "${ECHO_T}no" >&6; }
6909 fi
6910
6911
6912 enablestring=
6913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6914 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6915 no_cache=0
6916 # Check whether --enable-stdpaths was given.
6917 if test "${enable_stdpaths+set}" = set; then
6918 enableval=$enable_stdpaths;
6919 if test "$enableval" = yes; then
6920 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6921 else
6922 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6923 fi
6924
6925 else
6926
6927 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x ; then
6929 eval "DEFAULT_$LINE"
6930 else
6931 no_cache=1
6932 fi
6933
6934 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6935
6936 fi
6937
6938
6939 eval "$ac_cv_use_stdpaths"
6940 if test "$no_cache" != 1; then
6941 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6942 fi
6943
6944 if test "$wxUSE_STDPATHS" = yes; then
6945 { echo "$as_me:$LINENO: result: yes" >&5
6946 echo "${ECHO_T}yes" >&6; }
6947 else
6948 { echo "$as_me:$LINENO: result: no" >&5
6949 echo "${ECHO_T}no" >&6; }
6950 fi
6951
6952
6953 enablestring=
6954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6955 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6956 no_cache=0
6957 # Check whether --enable-stopwatch was given.
6958 if test "${enable_stopwatch+set}" = set; then
6959 enableval=$enable_stopwatch;
6960 if test "$enableval" = yes; then
6961 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6962 else
6963 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6964 fi
6965
6966 else
6967
6968 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6969 if test "x$LINE" != x ; then
6970 eval "DEFAULT_$LINE"
6971 else
6972 no_cache=1
6973 fi
6974
6975 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6976
6977 fi
6978
6979
6980 eval "$ac_cv_use_stopwatch"
6981 if test "$no_cache" != 1; then
6982 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6983 fi
6984
6985 if test "$wxUSE_STOPWATCH" = yes; then
6986 { echo "$as_me:$LINENO: result: yes" >&5
6987 echo "${ECHO_T}yes" >&6; }
6988 else
6989 { echo "$as_me:$LINENO: result: no" >&5
6990 echo "${ECHO_T}no" >&6; }
6991 fi
6992
6993
6994 enablestring=
6995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6996 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6997 no_cache=0
6998 # Check whether --enable-streams was given.
6999 if test "${enable_streams+set}" = set; then
7000 enableval=$enable_streams;
7001 if test "$enableval" = yes; then
7002 ac_cv_use_streams='wxUSE_STREAMS=yes'
7003 else
7004 ac_cv_use_streams='wxUSE_STREAMS=no'
7005 fi
7006
7007 else
7008
7009 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
7010 if test "x$LINE" != x ; then
7011 eval "DEFAULT_$LINE"
7012 else
7013 no_cache=1
7014 fi
7015
7016 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7017
7018 fi
7019
7020
7021 eval "$ac_cv_use_streams"
7022 if test "$no_cache" != 1; then
7023 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7024 fi
7025
7026 if test "$wxUSE_STREAMS" = yes; then
7027 { echo "$as_me:$LINENO: result: yes" >&5
7028 echo "${ECHO_T}yes" >&6; }
7029 else
7030 { echo "$as_me:$LINENO: result: no" >&5
7031 echo "${ECHO_T}no" >&6; }
7032 fi
7033
7034
7035 enablestring=
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7038 no_cache=0
7039 # Check whether --enable-system_options was given.
7040 if test "${enable_system_options+set}" = set; then
7041 enableval=$enable_system_options;
7042 if test "$enableval" = yes; then
7043 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7044 else
7045 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7046 fi
7047
7048 else
7049
7050 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
7051 if test "x$LINE" != x ; then
7052 eval "DEFAULT_$LINE"
7053 else
7054 no_cache=1
7055 fi
7056
7057 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7058
7059 fi
7060
7061
7062 eval "$ac_cv_use_system_options"
7063 if test "$no_cache" != 1; then
7064 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7065 fi
7066
7067 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7068 { echo "$as_me:$LINENO: result: yes" >&5
7069 echo "${ECHO_T}yes" >&6; }
7070 else
7071 { echo "$as_me:$LINENO: result: no" >&5
7072 echo "${ECHO_T}no" >&6; }
7073 fi
7074
7075
7076 enablestring=
7077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7078 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7079 no_cache=0
7080 # Check whether --enable-tarstream was given.
7081 if test "${enable_tarstream+set}" = set; then
7082 enableval=$enable_tarstream;
7083 if test "$enableval" = yes; then
7084 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7085 else
7086 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7087 fi
7088
7089 else
7090
7091 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7092 if test "x$LINE" != x ; then
7093 eval "DEFAULT_$LINE"
7094 else
7095 no_cache=1
7096 fi
7097
7098 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7099
7100 fi
7101
7102
7103 eval "$ac_cv_use_tarstream"
7104 if test "$no_cache" != 1; then
7105 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7106 fi
7107
7108 if test "$wxUSE_TARSTREAM" = yes; then
7109 { echo "$as_me:$LINENO: result: yes" >&5
7110 echo "${ECHO_T}yes" >&6; }
7111 else
7112 { echo "$as_me:$LINENO: result: no" >&5
7113 echo "${ECHO_T}no" >&6; }
7114 fi
7115
7116
7117 enablestring=
7118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7119 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7120 no_cache=0
7121 # Check whether --enable-textbuf was given.
7122 if test "${enable_textbuf+set}" = set; then
7123 enableval=$enable_textbuf;
7124 if test "$enableval" = yes; then
7125 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7126 else
7127 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7128 fi
7129
7130 else
7131
7132 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7133 if test "x$LINE" != x ; then
7134 eval "DEFAULT_$LINE"
7135 else
7136 no_cache=1
7137 fi
7138
7139 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7140
7141 fi
7142
7143
7144 eval "$ac_cv_use_textbuf"
7145 if test "$no_cache" != 1; then
7146 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7147 fi
7148
7149 if test "$wxUSE_TEXTBUFFER" = yes; then
7150 { echo "$as_me:$LINENO: result: yes" >&5
7151 echo "${ECHO_T}yes" >&6; }
7152 else
7153 { echo "$as_me:$LINENO: result: no" >&5
7154 echo "${ECHO_T}no" >&6; }
7155 fi
7156
7157
7158 enablestring=
7159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7160 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7161 no_cache=0
7162 # Check whether --enable-textfile was given.
7163 if test "${enable_textfile+set}" = set; then
7164 enableval=$enable_textfile;
7165 if test "$enableval" = yes; then
7166 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7167 else
7168 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7169 fi
7170
7171 else
7172
7173 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7174 if test "x$LINE" != x ; then
7175 eval "DEFAULT_$LINE"
7176 else
7177 no_cache=1
7178 fi
7179
7180 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7181
7182 fi
7183
7184
7185 eval "$ac_cv_use_textfile"
7186 if test "$no_cache" != 1; then
7187 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7188 fi
7189
7190 if test "$wxUSE_TEXTFILE" = yes; then
7191 { echo "$as_me:$LINENO: result: yes" >&5
7192 echo "${ECHO_T}yes" >&6; }
7193 else
7194 { echo "$as_me:$LINENO: result: no" >&5
7195 echo "${ECHO_T}no" >&6; }
7196 fi
7197
7198
7199 enablestring=
7200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7201 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7202 no_cache=0
7203 # Check whether --enable-timer was given.
7204 if test "${enable_timer+set}" = set; then
7205 enableval=$enable_timer;
7206 if test "$enableval" = yes; then
7207 ac_cv_use_timer='wxUSE_TIMER=yes'
7208 else
7209 ac_cv_use_timer='wxUSE_TIMER=no'
7210 fi
7211
7212 else
7213
7214 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x ; then
7216 eval "DEFAULT_$LINE"
7217 else
7218 no_cache=1
7219 fi
7220
7221 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7222
7223 fi
7224
7225
7226 eval "$ac_cv_use_timer"
7227 if test "$no_cache" != 1; then
7228 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7229 fi
7230
7231 if test "$wxUSE_TIMER" = yes; then
7232 { echo "$as_me:$LINENO: result: yes" >&5
7233 echo "${ECHO_T}yes" >&6; }
7234 else
7235 { echo "$as_me:$LINENO: result: no" >&5
7236 echo "${ECHO_T}no" >&6; }
7237 fi
7238
7239
7240 enablestring=
7241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7242 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7243 no_cache=0
7244 # Check whether --enable-unicode was given.
7245 if test "${enable_unicode+set}" = set; then
7246 enableval=$enable_unicode;
7247 if test "$enableval" = yes; then
7248 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7249 else
7250 ac_cv_use_unicode='wxUSE_UNICODE=no'
7251 fi
7252
7253 else
7254
7255 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7256 if test "x$LINE" != x ; then
7257 eval "DEFAULT_$LINE"
7258 else
7259 no_cache=1
7260 fi
7261
7262 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7263
7264 fi
7265
7266
7267 eval "$ac_cv_use_unicode"
7268 if test "$no_cache" != 1; then
7269 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7270 fi
7271
7272 if test "$wxUSE_UNICODE" = yes; then
7273 { echo "$as_me:$LINENO: result: yes" >&5
7274 echo "${ECHO_T}yes" >&6; }
7275 else
7276 { echo "$as_me:$LINENO: result: no" >&5
7277 echo "${ECHO_T}no" >&6; }
7278 fi
7279
7280
7281 enablestring=
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7284 no_cache=0
7285 # Check whether --enable-sound was given.
7286 if test "${enable_sound+set}" = set; then
7287 enableval=$enable_sound;
7288 if test "$enableval" = yes; then
7289 ac_cv_use_sound='wxUSE_SOUND=yes'
7290 else
7291 ac_cv_use_sound='wxUSE_SOUND=no'
7292 fi
7293
7294 else
7295
7296 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x ; then
7298 eval "DEFAULT_$LINE"
7299 else
7300 no_cache=1
7301 fi
7302
7303 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7304
7305 fi
7306
7307
7308 eval "$ac_cv_use_sound"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7311 fi
7312
7313 if test "$wxUSE_SOUND" = yes; then
7314 { echo "$as_me:$LINENO: result: yes" >&5
7315 echo "${ECHO_T}yes" >&6; }
7316 else
7317 { echo "$as_me:$LINENO: result: no" >&5
7318 echo "${ECHO_T}no" >&6; }
7319 fi
7320
7321
7322 enablestring=
7323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7324 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7325 no_cache=0
7326 # Check whether --enable-mediactrl was given.
7327 if test "${enable_mediactrl+set}" = set; then
7328 enableval=$enable_mediactrl;
7329 if test "$enableval" = yes; then
7330 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7331 else
7332 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7333 fi
7334
7335 else
7336
7337 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7338 if test "x$LINE" != x ; then
7339 eval "DEFAULT_$LINE"
7340 else
7341 no_cache=1
7342 fi
7343
7344 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7345
7346 fi
7347
7348
7349 eval "$ac_cv_use_mediactrl"
7350 if test "$no_cache" != 1; then
7351 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7352 fi
7353
7354 if test "$wxUSE_MEDIACTRL" = yes; then
7355 { echo "$as_me:$LINENO: result: yes" >&5
7356 echo "${ECHO_T}yes" >&6; }
7357 else
7358 { echo "$as_me:$LINENO: result: no" >&5
7359 echo "${ECHO_T}no" >&6; }
7360 fi
7361
7362
7363 enablestring=
7364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7365 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7366 no_cache=0
7367 # Check whether --enable-gstreamer8 was given.
7368 if test "${enable_gstreamer8+set}" = set; then
7369 enableval=$enable_gstreamer8;
7370 if test "$enableval" = yes; then
7371 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7372 else
7373 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7374 fi
7375
7376 else
7377
7378 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7379 if test "x$LINE" != x ; then
7380 eval "DEFAULT_$LINE"
7381 else
7382 no_cache=1
7383 fi
7384
7385 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7386
7387 fi
7388
7389
7390 eval "$ac_cv_use_gstreamer8"
7391 if test "$no_cache" != 1; then
7392 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7393 fi
7394
7395 if test "$wxUSE_GSTREAMER8" = yes; then
7396 { echo "$as_me:$LINENO: result: yes" >&5
7397 echo "${ECHO_T}yes" >&6; }
7398 else
7399 { echo "$as_me:$LINENO: result: no" >&5
7400 echo "${ECHO_T}no" >&6; }
7401 fi
7402
7403
7404 enablestring=
7405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7406 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7407 no_cache=0
7408 # Check whether --enable-printfposparam was given.
7409 if test "${enable_printfposparam+set}" = set; then
7410 enableval=$enable_printfposparam;
7411 if test "$enableval" = yes; then
7412 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7413 else
7414 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7415 fi
7416
7417 else
7418
7419 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7420 if test "x$LINE" != x ; then
7421 eval "DEFAULT_$LINE"
7422 else
7423 no_cache=1
7424 fi
7425
7426 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7427
7428 fi
7429
7430
7431 eval "$ac_cv_use_printfposparam"
7432 if test "$no_cache" != 1; then
7433 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7434 fi
7435
7436 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7437 { echo "$as_me:$LINENO: result: yes" >&5
7438 echo "${ECHO_T}yes" >&6; }
7439 else
7440 { echo "$as_me:$LINENO: result: no" >&5
7441 echo "${ECHO_T}no" >&6; }
7442 fi
7443
7444
7445 enablestring=
7446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7447 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7448 no_cache=0
7449 # Check whether --enable-zipstream was given.
7450 if test "${enable_zipstream+set}" = set; then
7451 enableval=$enable_zipstream;
7452 if test "$enableval" = yes; then
7453 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7454 else
7455 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7456 fi
7457
7458 else
7459
7460 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7461 if test "x$LINE" != x ; then
7462 eval "DEFAULT_$LINE"
7463 else
7464 no_cache=1
7465 fi
7466
7467 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7468
7469 fi
7470
7471
7472 eval "$ac_cv_use_zipstream"
7473 if test "$no_cache" != 1; then
7474 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7475 fi
7476
7477 if test "$wxUSE_ZIPSTREAM" = yes; then
7478 { echo "$as_me:$LINENO: result: yes" >&5
7479 echo "${ECHO_T}yes" >&6; }
7480 else
7481 { echo "$as_me:$LINENO: result: no" >&5
7482 echo "${ECHO_T}no" >&6; }
7483 fi
7484
7485
7486
7487 enablestring=
7488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7490 no_cache=0
7491 # Check whether --enable-url was given.
7492 if test "${enable_url+set}" = set; then
7493 enableval=$enable_url;
7494 if test "$enableval" = yes; then
7495 ac_cv_use_url='wxUSE_URL=yes'
7496 else
7497 ac_cv_use_url='wxUSE_URL=no'
7498 fi
7499
7500 else
7501
7502 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7505 else
7506 no_cache=1
7507 fi
7508
7509 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7510
7511 fi
7512
7513
7514 eval "$ac_cv_use_url"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7517 fi
7518
7519 if test "$wxUSE_URL" = yes; then
7520 { echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6; }
7522 else
7523 { echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6; }
7525 fi
7526
7527
7528 enablestring=
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7531 no_cache=0
7532 # Check whether --enable-variant was given.
7533 if test "${enable_variant+set}" = set; then
7534 enableval=$enable_variant;
7535 if test "$enableval" = yes; then
7536 ac_cv_use_variant='wxUSE_VARIANT=yes'
7537 else
7538 ac_cv_use_variant='wxUSE_VARIANT=no'
7539 fi
7540
7541 else
7542
7543 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7546 else
7547 no_cache=1
7548 fi
7549
7550 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7551
7552 fi
7553
7554
7555 eval "$ac_cv_use_variant"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7558 fi
7559
7560 if test "$wxUSE_VARIANT" = yes; then
7561 { echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6; }
7563 else
7564 { echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6; }
7566 fi
7567
7568
7569 enablestring=
7570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7572 no_cache=0
7573 # Check whether --enable-protocol was given.
7574 if test "${enable_protocol+set}" = set; then
7575 enableval=$enable_protocol;
7576 if test "$enableval" = yes; then
7577 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7578 else
7579 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7580 fi
7581
7582 else
7583
7584 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7585 if test "x$LINE" != x ; then
7586 eval "DEFAULT_$LINE"
7587 else
7588 no_cache=1
7589 fi
7590
7591 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7592
7593 fi
7594
7595
7596 eval "$ac_cv_use_protocol"
7597 if test "$no_cache" != 1; then
7598 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7599 fi
7600
7601 if test "$wxUSE_PROTOCOL" = yes; then
7602 { echo "$as_me:$LINENO: result: yes" >&5
7603 echo "${ECHO_T}yes" >&6; }
7604 else
7605 { echo "$as_me:$LINENO: result: no" >&5
7606 echo "${ECHO_T}no" >&6; }
7607 fi
7608
7609
7610 enablestring=
7611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7612 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7613 no_cache=0
7614 # Check whether --enable-protocol_http was given.
7615 if test "${enable_protocol_http+set}" = set; then
7616 enableval=$enable_protocol_http;
7617 if test "$enableval" = yes; then
7618 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7619 else
7620 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7621 fi
7622
7623 else
7624
7625 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7626 if test "x$LINE" != x ; then
7627 eval "DEFAULT_$LINE"
7628 else
7629 no_cache=1
7630 fi
7631
7632 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7633
7634 fi
7635
7636
7637 eval "$ac_cv_use_protocol_http"
7638 if test "$no_cache" != 1; then
7639 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7640 fi
7641
7642 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7643 { echo "$as_me:$LINENO: result: yes" >&5
7644 echo "${ECHO_T}yes" >&6; }
7645 else
7646 { echo "$as_me:$LINENO: result: no" >&5
7647 echo "${ECHO_T}no" >&6; }
7648 fi
7649
7650
7651 enablestring=
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7654 no_cache=0
7655 # Check whether --enable-protocol_ftp was given.
7656 if test "${enable_protocol_ftp+set}" = set; then
7657 enableval=$enable_protocol_ftp;
7658 if test "$enableval" = yes; then
7659 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7660 else
7661 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7662 fi
7663
7664 else
7665
7666 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x ; then
7668 eval "DEFAULT_$LINE"
7669 else
7670 no_cache=1
7671 fi
7672
7673 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7674
7675 fi
7676
7677
7678 eval "$ac_cv_use_protocol_ftp"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7681 fi
7682
7683 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7684 { echo "$as_me:$LINENO: result: yes" >&5
7685 echo "${ECHO_T}yes" >&6; }
7686 else
7687 { echo "$as_me:$LINENO: result: no" >&5
7688 echo "${ECHO_T}no" >&6; }
7689 fi
7690
7691
7692 enablestring=
7693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7695 no_cache=0
7696 # Check whether --enable-protocol_file was given.
7697 if test "${enable_protocol_file+set}" = set; then
7698 enableval=$enable_protocol_file;
7699 if test "$enableval" = yes; then
7700 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7701 else
7702 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7703 fi
7704
7705 else
7706
7707 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7708 if test "x$LINE" != x ; then
7709 eval "DEFAULT_$LINE"
7710 else
7711 no_cache=1
7712 fi
7713
7714 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7715
7716 fi
7717
7718
7719 eval "$ac_cv_use_protocol_file"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7722 fi
7723
7724 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7725 { echo "$as_me:$LINENO: result: yes" >&5
7726 echo "${ECHO_T}yes" >&6; }
7727 else
7728 { echo "$as_me:$LINENO: result: no" >&5
7729 echo "${ECHO_T}no" >&6; }
7730 fi
7731
7732
7733
7734
7735
7736 enablestring=
7737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7738 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7739 no_cache=0
7740 # Check whether --enable-threads was given.
7741 if test "${enable_threads+set}" = set; then
7742 enableval=$enable_threads;
7743 if test "$enableval" = yes; then
7744 ac_cv_use_threads='wxUSE_THREADS=yes'
7745 else
7746 ac_cv_use_threads='wxUSE_THREADS=no'
7747 fi
7748
7749 else
7750
7751 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7752 if test "x$LINE" != x ; then
7753 eval "DEFAULT_$LINE"
7754 else
7755 no_cache=1
7756 fi
7757
7758 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7759
7760 fi
7761
7762
7763 eval "$ac_cv_use_threads"
7764 if test "$no_cache" != 1; then
7765 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7766 fi
7767
7768 if test "$wxUSE_THREADS" = yes; then
7769 { echo "$as_me:$LINENO: result: yes" >&5
7770 echo "${ECHO_T}yes" >&6; }
7771 else
7772 { echo "$as_me:$LINENO: result: no" >&5
7773 echo "${ECHO_T}no" >&6; }
7774 fi
7775
7776
7777 if test "$wxUSE_GUI" = "yes"; then
7778
7779
7780
7781 enablestring=
7782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7784 no_cache=0
7785 # Check whether --enable-docview was given.
7786 if test "${enable_docview+set}" = set; then
7787 enableval=$enable_docview;
7788 if test "$enableval" = yes; then
7789 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7790 else
7791 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7792 fi
7793
7794 else
7795
7796 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x ; then
7798 eval "DEFAULT_$LINE"
7799 else
7800 no_cache=1
7801 fi
7802
7803 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7804
7805 fi
7806
7807
7808 eval "$ac_cv_use_docview"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7811 fi
7812
7813 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7814 { echo "$as_me:$LINENO: result: yes" >&5
7815 echo "${ECHO_T}yes" >&6; }
7816 else
7817 { echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6; }
7819 fi
7820
7821
7822 enablestring=
7823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7825 no_cache=0
7826 # Check whether --enable-help was given.
7827 if test "${enable_help+set}" = set; then
7828 enableval=$enable_help;
7829 if test "$enableval" = yes; then
7830 ac_cv_use_help='wxUSE_HELP=yes'
7831 else
7832 ac_cv_use_help='wxUSE_HELP=no'
7833 fi
7834
7835 else
7836
7837 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7838 if test "x$LINE" != x ; then
7839 eval "DEFAULT_$LINE"
7840 else
7841 no_cache=1
7842 fi
7843
7844 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7845
7846 fi
7847
7848
7849 eval "$ac_cv_use_help"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7852 fi
7853
7854 if test "$wxUSE_HELP" = yes; then
7855 { echo "$as_me:$LINENO: result: yes" >&5
7856 echo "${ECHO_T}yes" >&6; }
7857 else
7858 { echo "$as_me:$LINENO: result: no" >&5
7859 echo "${ECHO_T}no" >&6; }
7860 fi
7861
7862
7863 enablestring=
7864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7866 no_cache=0
7867 # Check whether --enable-mshtmlhelp was given.
7868 if test "${enable_mshtmlhelp+set}" = set; then
7869 enableval=$enable_mshtmlhelp;
7870 if test "$enableval" = yes; then
7871 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7872 else
7873 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7874 fi
7875
7876 else
7877
7878 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x ; then
7880 eval "DEFAULT_$LINE"
7881 else
7882 no_cache=1
7883 fi
7884
7885 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7886
7887 fi
7888
7889
7890 eval "$ac_cv_use_mshtmlhelp"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7893 fi
7894
7895 if test "$wxUSE_MS_HTML_HELP" = yes; then
7896 { echo "$as_me:$LINENO: result: yes" >&5
7897 echo "${ECHO_T}yes" >&6; }
7898 else
7899 { echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6; }
7901 fi
7902
7903
7904 enablestring=
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7907 no_cache=0
7908 # Check whether --enable-html was given.
7909 if test "${enable_html+set}" = set; then
7910 enableval=$enable_html;
7911 if test "$enableval" = yes; then
7912 ac_cv_use_html='wxUSE_HTML=yes'
7913 else
7914 ac_cv_use_html='wxUSE_HTML=no'
7915 fi
7916
7917 else
7918
7919 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x ; then
7921 eval "DEFAULT_$LINE"
7922 else
7923 no_cache=1
7924 fi
7925
7926 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7927
7928 fi
7929
7930
7931 eval "$ac_cv_use_html"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7934 fi
7935
7936 if test "$wxUSE_HTML" = yes; then
7937 { echo "$as_me:$LINENO: result: yes" >&5
7938 echo "${ECHO_T}yes" >&6; }
7939 else
7940 { echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6; }
7942 fi
7943
7944
7945 enablestring=
7946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7948 no_cache=0
7949 # Check whether --enable-htmlhelp was given.
7950 if test "${enable_htmlhelp+set}" = set; then
7951 enableval=$enable_htmlhelp;
7952 if test "$enableval" = yes; then
7953 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7954 else
7955 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7956 fi
7957
7958 else
7959
7960 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7963 else
7964 no_cache=1
7965 fi
7966
7967 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7968
7969 fi
7970
7971
7972 eval "$ac_cv_use_htmlhelp"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7975 fi
7976
7977 if test "$wxUSE_WXHTML_HELP" = yes; then
7978 { echo "$as_me:$LINENO: result: yes" >&5
7979 echo "${ECHO_T}yes" >&6; }
7980 else
7981 { echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6; }
7983 fi
7984
7985
7986 enablestring=
7987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7989 no_cache=0
7990 # Check whether --enable-xrc was given.
7991 if test "${enable_xrc+set}" = set; then
7992 enableval=$enable_xrc;
7993 if test "$enableval" = yes; then
7994 ac_cv_use_xrc='wxUSE_XRC=yes'
7995 else
7996 ac_cv_use_xrc='wxUSE_XRC=no'
7997 fi
7998
7999 else
8000
8001 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
8002 if test "x$LINE" != x ; then
8003 eval "DEFAULT_$LINE"
8004 else
8005 no_cache=1
8006 fi
8007
8008 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8009
8010 fi
8011
8012
8013 eval "$ac_cv_use_xrc"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8016 fi
8017
8018 if test "$wxUSE_XRC" = yes; then
8019 { echo "$as_me:$LINENO: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6; }
8021 else
8022 { echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6; }
8024 fi
8025
8026
8027 enablestring=
8028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8029 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8030 no_cache=0
8031 # Check whether --enable-aui was given.
8032 if test "${enable_aui+set}" = set; then
8033 enableval=$enable_aui;
8034 if test "$enableval" = yes; then
8035 ac_cv_use_aui='wxUSE_AUI=yes'
8036 else
8037 ac_cv_use_aui='wxUSE_AUI=no'
8038 fi
8039
8040 else
8041
8042 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x ; then
8044 eval "DEFAULT_$LINE"
8045 else
8046 no_cache=1
8047 fi
8048
8049 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8050
8051 fi
8052
8053
8054 eval "$ac_cv_use_aui"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test "$wxUSE_AUI" = yes; then
8060 { echo "$as_me:$LINENO: result: yes" >&5
8061 echo "${ECHO_T}yes" >&6; }
8062 else
8063 { echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6; }
8065 fi
8066
8067
8068 enablestring=
8069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8071 no_cache=0
8072 # Check whether --enable-stc was given.
8073 if test "${enable_stc+set}" = set; then
8074 enableval=$enable_stc;
8075 if test "$enableval" = yes; then
8076 ac_cv_use_stc='wxUSE_STC=yes'
8077 else
8078 ac_cv_use_stc='wxUSE_STC=no'
8079 fi
8080
8081 else
8082
8083 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x ; then
8085 eval "DEFAULT_$LINE"
8086 else
8087 no_cache=1
8088 fi
8089
8090 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8091
8092 fi
8093
8094
8095 eval "$ac_cv_use_stc"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8098 fi
8099
8100 if test "$wxUSE_STC" = yes; then
8101 { echo "$as_me:$LINENO: result: yes" >&5
8102 echo "${ECHO_T}yes" >&6; }
8103 else
8104 { echo "$as_me:$LINENO: result: no" >&5
8105 echo "${ECHO_T}no" >&6; }
8106 fi
8107
8108
8109 enablestring=
8110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8112 no_cache=0
8113 # Check whether --enable-constraints was given.
8114 if test "${enable_constraints+set}" = set; then
8115 enableval=$enable_constraints;
8116 if test "$enableval" = yes; then
8117 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8118 else
8119 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8120 fi
8121
8122 else
8123
8124 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x ; then
8126 eval "DEFAULT_$LINE"
8127 else
8128 no_cache=1
8129 fi
8130
8131 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8132
8133 fi
8134
8135
8136 eval "$ac_cv_use_constraints"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8139 fi
8140
8141 if test "$wxUSE_CONSTRAINTS" = yes; then
8142 { echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6; }
8144 else
8145 { echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6; }
8147 fi
8148
8149
8150 enablestring=
8151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8153 no_cache=0
8154 # Check whether --enable-printarch was given.
8155 if test "${enable_printarch+set}" = set; then
8156 enableval=$enable_printarch;
8157 if test "$enableval" = yes; then
8158 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8159 else
8160 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8161 fi
8162
8163 else
8164
8165 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8168 else
8169 no_cache=1
8170 fi
8171
8172 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8173
8174 fi
8175
8176
8177 eval "$ac_cv_use_printarch"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8183 { echo "$as_me:$LINENO: result: yes" >&5
8184 echo "${ECHO_T}yes" >&6; }
8185 else
8186 { echo "$as_me:$LINENO: result: no" >&5
8187 echo "${ECHO_T}no" >&6; }
8188 fi
8189
8190
8191 enablestring=
8192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8194 no_cache=0
8195 # Check whether --enable-mdi was given.
8196 if test "${enable_mdi+set}" = set; then
8197 enableval=$enable_mdi;
8198 if test "$enableval" = yes; then
8199 ac_cv_use_mdi='wxUSE_MDI=yes'
8200 else
8201 ac_cv_use_mdi='wxUSE_MDI=no'
8202 fi
8203
8204 else
8205
8206 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8209 else
8210 no_cache=1
8211 fi
8212
8213 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8214
8215 fi
8216
8217
8218 eval "$ac_cv_use_mdi"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8221 fi
8222
8223 if test "$wxUSE_MDI" = yes; then
8224 { echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6; }
8226 else
8227 { echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6; }
8229 fi
8230
8231
8232 enablestring=
8233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8235 no_cache=0
8236 # Check whether --enable-mdidoc was given.
8237 if test "${enable_mdidoc+set}" = set; then
8238 enableval=$enable_mdidoc;
8239 if test "$enableval" = yes; then
8240 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8241 else
8242 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8243 fi
8244
8245 else
8246
8247 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x ; then
8249 eval "DEFAULT_$LINE"
8250 else
8251 no_cache=1
8252 fi
8253
8254 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8255
8256 fi
8257
8258
8259 eval "$ac_cv_use_mdidoc"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8262 fi
8263
8264 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8265 { echo "$as_me:$LINENO: result: yes" >&5
8266 echo "${ECHO_T}yes" >&6; }
8267 else
8268 { echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6; }
8270 fi
8271
8272
8273 enablestring=
8274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8276 no_cache=0
8277 # Check whether --enable-loggui was given.
8278 if test "${enable_loggui+set}" = set; then
8279 enableval=$enable_loggui;
8280 if test "$enableval" = yes; then
8281 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8282 else
8283 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8284 fi
8285
8286 else
8287
8288 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x ; then
8290 eval "DEFAULT_$LINE"
8291 else
8292 no_cache=1
8293 fi
8294
8295 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8296
8297 fi
8298
8299
8300 eval "$ac_cv_use_loggui"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8303 fi
8304
8305 if test "$wxUSE_LOGGUI" = yes; then
8306 { echo "$as_me:$LINENO: result: yes" >&5
8307 echo "${ECHO_T}yes" >&6; }
8308 else
8309 { echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6; }
8311 fi
8312
8313
8314 enablestring=
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8317 no_cache=0
8318 # Check whether --enable-logwin was given.
8319 if test "${enable_logwin+set}" = set; then
8320 enableval=$enable_logwin;
8321 if test "$enableval" = yes; then
8322 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8323 else
8324 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8325 fi
8326
8327 else
8328
8329 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x ; then
8331 eval "DEFAULT_$LINE"
8332 else
8333 no_cache=1
8334 fi
8335
8336 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8337
8338 fi
8339
8340
8341 eval "$ac_cv_use_logwin"
8342 if test "$no_cache" != 1; then
8343 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8344 fi
8345
8346 if test "$wxUSE_LOGWINDOW" = yes; then
8347 { echo "$as_me:$LINENO: result: yes" >&5
8348 echo "${ECHO_T}yes" >&6; }
8349 else
8350 { echo "$as_me:$LINENO: result: no" >&5
8351 echo "${ECHO_T}no" >&6; }
8352 fi
8353
8354
8355 enablestring=
8356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8357 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8358 no_cache=0
8359 # Check whether --enable-logdialog was given.
8360 if test "${enable_logdialog+set}" = set; then
8361 enableval=$enable_logdialog;
8362 if test "$enableval" = yes; then
8363 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8364 else
8365 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8366 fi
8367
8368 else
8369
8370 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x ; then
8372 eval "DEFAULT_$LINE"
8373 else
8374 no_cache=1
8375 fi
8376
8377 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8378
8379 fi
8380
8381
8382 eval "$ac_cv_use_logdialog"
8383 if test "$no_cache" != 1; then
8384 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8385 fi
8386
8387 if test "$wxUSE_LOGDIALOG" = yes; then
8388 { echo "$as_me:$LINENO: result: yes" >&5
8389 echo "${ECHO_T}yes" >&6; }
8390 else
8391 { echo "$as_me:$LINENO: result: no" >&5
8392 echo "${ECHO_T}no" >&6; }
8393 fi
8394
8395
8396 enablestring=
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8399 no_cache=0
8400 # Check whether --enable-webkit was given.
8401 if test "${enable_webkit+set}" = set; then
8402 enableval=$enable_webkit;
8403 if test "$enableval" = yes; then
8404 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8405 else
8406 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8407 fi
8408
8409 else
8410
8411 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x ; then
8413 eval "DEFAULT_$LINE"
8414 else
8415 no_cache=1
8416 fi
8417
8418 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8419
8420 fi
8421
8422
8423 eval "$ac_cv_use_webkit"
8424 if test "$no_cache" != 1; then
8425 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8426 fi
8427
8428 if test "$wxUSE_WEBKIT" = yes; then
8429 { echo "$as_me:$LINENO: result: yes" >&5
8430 echo "${ECHO_T}yes" >&6; }
8431 else
8432 { echo "$as_me:$LINENO: result: no" >&5
8433 echo "${ECHO_T}no" >&6; }
8434 fi
8435
8436
8437 enablestring=
8438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8439 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8440 no_cache=0
8441 # Check whether --enable-richtext was given.
8442 if test "${enable_richtext+set}" = set; then
8443 enableval=$enable_richtext;
8444 if test "$enableval" = yes; then
8445 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8446 else
8447 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8448 fi
8449
8450 else
8451
8452 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x ; then
8454 eval "DEFAULT_$LINE"
8455 else
8456 no_cache=1
8457 fi
8458
8459 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8460
8461 fi
8462
8463
8464 eval "$ac_cv_use_richtext"
8465 if test "$no_cache" != 1; then
8466 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8467 fi
8468
8469 if test "$wxUSE_RICHTEXT" = yes; then
8470 { echo "$as_me:$LINENO: result: yes" >&5
8471 echo "${ECHO_T}yes" >&6; }
8472 else
8473 { echo "$as_me:$LINENO: result: no" >&5
8474 echo "${ECHO_T}no" >&6; }
8475 fi
8476
8477
8478 enablestring=
8479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8480 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8481 no_cache=0
8482 # Check whether --enable-graphics_ctx was given.
8483 if test "${enable_graphics_ctx+set}" = set; then
8484 enableval=$enable_graphics_ctx;
8485 if test "$enableval" = yes; then
8486 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8487 else
8488 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8489 fi
8490
8491 else
8492
8493 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x ; then
8495 eval "DEFAULT_$LINE"
8496 else
8497 no_cache=1
8498 fi
8499
8500 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8501
8502 fi
8503
8504
8505 eval "$ac_cv_use_graphics_ctx"
8506 if test "$no_cache" != 1; then
8507 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8508 fi
8509
8510 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8511 { echo "$as_me:$LINENO: result: yes" >&5
8512 echo "${ECHO_T}yes" >&6; }
8513 else
8514 { echo "$as_me:$LINENO: result: no" >&5
8515 echo "${ECHO_T}no" >&6; }
8516 fi
8517
8518
8519
8520 enablestring=
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8523 no_cache=0
8524 # Check whether --enable-postscript was given.
8525 if test "${enable_postscript+set}" = set; then
8526 enableval=$enable_postscript;
8527 if test "$enableval" = yes; then
8528 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8529 else
8530 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8531 fi
8532
8533 else
8534
8535 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8538 else
8539 no_cache=1
8540 fi
8541
8542 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8543
8544 fi
8545
8546
8547 eval "$ac_cv_use_postscript"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_POSTSCRIPT" = yes; then
8553 { echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6; }
8555 else
8556 { echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6; }
8558 fi
8559
8560
8561
8562
8563
8564 enablestring=
8565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8567 no_cache=0
8568 # Check whether --enable-clipboard was given.
8569 if test "${enable_clipboard+set}" = set; then
8570 enableval=$enable_clipboard;
8571 if test "$enableval" = yes; then
8572 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8573 else
8574 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8575 fi
8576
8577 else
8578
8579 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x ; then
8581 eval "DEFAULT_$LINE"
8582 else
8583 no_cache=1
8584 fi
8585
8586 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8587
8588 fi
8589
8590
8591 eval "$ac_cv_use_clipboard"
8592 if test "$no_cache" != 1; then
8593 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8594 fi
8595
8596 if test "$wxUSE_CLIPBOARD" = yes; then
8597 { echo "$as_me:$LINENO: result: yes" >&5
8598 echo "${ECHO_T}yes" >&6; }
8599 else
8600 { echo "$as_me:$LINENO: result: no" >&5
8601 echo "${ECHO_T}no" >&6; }
8602 fi
8603
8604
8605 enablestring=
8606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8608 no_cache=0
8609 # Check whether --enable-dnd was given.
8610 if test "${enable_dnd+set}" = set; then
8611 enableval=$enable_dnd;
8612 if test "$enableval" = yes; then
8613 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8614 else
8615 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8616 fi
8617
8618 else
8619
8620 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 else
8624 no_cache=1
8625 fi
8626
8627 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8628
8629 fi
8630
8631
8632 eval "$ac_cv_use_dnd"
8633 if test "$no_cache" != 1; then
8634 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8635 fi
8636
8637 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8638 { echo "$as_me:$LINENO: result: yes" >&5
8639 echo "${ECHO_T}yes" >&6; }
8640 else
8641 { echo "$as_me:$LINENO: result: no" >&5
8642 echo "${ECHO_T}no" >&6; }
8643 fi
8644
8645
8646 enablestring=
8647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8649 no_cache=0
8650 # Check whether --enable-metafile was given.
8651 if test "${enable_metafile+set}" = set; then
8652 enableval=$enable_metafile;
8653 if test "$enableval" = yes; then
8654 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8655 else
8656 ac_cv_use_metafile='wxUSE_METAFILE=no'
8657 fi
8658
8659 else
8660
8661 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8664 else
8665 no_cache=1
8666 fi
8667
8668 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8669
8670 fi
8671
8672
8673 eval "$ac_cv_use_metafile"
8674 if test "$no_cache" != 1; then
8675 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8676 fi
8677
8678 if test "$wxUSE_METAFILE" = yes; then
8679 { echo "$as_me:$LINENO: result: yes" >&5
8680 echo "${ECHO_T}yes" >&6; }
8681 else
8682 { echo "$as_me:$LINENO: result: no" >&5
8683 echo "${ECHO_T}no" >&6; }
8684 fi
8685
8686
8687
8688
8689
8690 enablestring=
8691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8693 no_cache=0
8694 # Check whether --enable-controls was given.
8695 if test "${enable_controls+set}" = set; then
8696 enableval=$enable_controls;
8697 if test "$enableval" = yes; then
8698 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8699 else
8700 ac_cv_use_controls='wxUSE_CONTROLS=no'
8701 fi
8702
8703 else
8704
8705 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8708 else
8709 no_cache=1
8710 fi
8711
8712 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8713
8714 fi
8715
8716
8717 eval "$ac_cv_use_controls"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_CONTROLS" = yes; then
8723 { echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6; }
8725 else
8726 { echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6; }
8728 fi
8729
8730
8731 if test "$wxUSE_CONTROLS" = "yes"; then
8732 DEFAULT_wxUSE_ACCEL=yes
8733 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8734 DEFAULT_wxUSE_BMPBUTTON=yes
8735 DEFAULT_wxUSE_BUTTON=yes
8736 DEFAULT_wxUSE_CALCTRL=yes
8737 DEFAULT_wxUSE_CARET=yes
8738 DEFAULT_wxUSE_COMBOBOX=yes
8739 DEFAULT_wxUSE_CHECKBOX=yes
8740 DEFAULT_wxUSE_CHECKLISTBOX=yes
8741 DEFAULT_wxUSE_CHOICE=yes
8742 DEFAULT_wxUSE_CHOICEBOOK=yes
8743 DEFAULT_wxUSE_COLLPANE=yes
8744 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8745 DEFAULT_wxUSE_COMBOBOX=yes
8746 DEFAULT_wxUSE_DATEPICKCTRL=yes
8747 DEFAULT_wxUSE_DISPLAY=yes
8748 DEFAULT_wxUSE_DETECT_SM=yes
8749 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8750 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8751 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8752 DEFAULT_wxUSE_GAUGE=yes
8753 DEFAULT_wxUSE_GRID=yes
8754 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8755 DEFAULT_wxUSE_DATAVIEWCTRL=no
8756 DEFAULT_wxUSE_IMAGLIST=yes
8757 DEFAULT_wxUSE_LISTBOOK=yes
8758 DEFAULT_wxUSE_LISTBOX=yes
8759 DEFAULT_wxUSE_LISTCTRL=yes
8760 DEFAULT_wxUSE_NOTEBOOK=yes
8761 DEFAULT_wxUSE_RADIOBOX=yes
8762 DEFAULT_wxUSE_RADIOBTN=yes
8763 DEFAULT_wxUSE_SASH=yes
8764 DEFAULT_wxUSE_SCROLLBAR=yes
8765 DEFAULT_wxUSE_SEARCHCTRL=yes
8766 DEFAULT_wxUSE_SLIDER=yes
8767 DEFAULT_wxUSE_SPINBTN=yes
8768 DEFAULT_wxUSE_SPINCTRL=yes
8769 DEFAULT_wxUSE_SPLITTER=yes
8770 DEFAULT_wxUSE_STATBMP=yes
8771 DEFAULT_wxUSE_STATBOX=yes
8772 DEFAULT_wxUSE_STATLINE=yes
8773 DEFAULT_wxUSE_STATUSBAR=yes
8774 DEFAULT_wxUSE_TAB_DIALOG=yes
8775 DEFAULT_wxUSE_TOGGLEBTN=yes
8776 DEFAULT_wxUSE_TOOLBAR=yes
8777 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8778 DEFAULT_wxUSE_TOOLTIPS=yes
8779 DEFAULT_wxUSE_TREEBOOK=yes
8780 DEFAULT_wxUSE_TOOLBOOK=yes
8781 DEFAULT_wxUSE_TREECTRL=yes
8782 DEFAULT_wxUSE_POPUPWIN=yes
8783 DEFAULT_wxUSE_TIPWINDOW=yes
8784 elif test "$wxUSE_CONTROLS" = "no"; then
8785 DEFAULT_wxUSE_ACCEL=no
8786 DEFAULT_wxUSE_ANIMATIONCTRL=no
8787 DEFAULT_wxUSE_BMPBUTTON=no
8788 DEFAULT_wxUSE_BUTTON=no
8789 DEFAULT_wxUSE_CALCTRL=no
8790 DEFAULT_wxUSE_CARET=no
8791 DEFAULT_wxUSE_COLLPANE=no
8792 DEFAULT_wxUSE_COMBOBOX=no
8793 DEFAULT_wxUSE_CHECKBOX=no
8794 DEFAULT_wxUSE_CHECKLISTBOX=no
8795 DEFAULT_wxUSE_CHOICE=no
8796 DEFAULT_wxUSE_CHOICEBOOK=no
8797 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8798 DEFAULT_wxUSE_COMBOBOX=no
8799 DEFAULT_wxUSE_DATEPICKCTRL=no
8800 DEFAULT_wxUSE_DISPLAY=no
8801 DEFAULT_wxUSE_DETECT_SM=no
8802 DEFAULT_wxUSE_DIRPICKERCTRL=no
8803 DEFAULT_wxUSE_FILEPICKERCTRL=no
8804 DEFAULT_wxUSE_FONTPICKERCTRL=no
8805 DEFAULT_wxUSE_GAUGE=no
8806 DEFAULT_wxUSE_GRID=no
8807 DEFAULT_wxUSE_HYPERLINKCTRL=no
8808 DEFAULT_wxUSE_DATAVIEWCTRL=no
8809 DEFAULT_wxUSE_IMAGLIST=no
8810 DEFAULT_wxUSE_LISTBOOK=no
8811 DEFAULT_wxUSE_LISTBOX=no
8812 DEFAULT_wxUSE_LISTCTRL=no
8813 DEFAULT_wxUSE_NOTEBOOK=no
8814 DEFAULT_wxUSE_RADIOBOX=no
8815 DEFAULT_wxUSE_RADIOBTN=no
8816 DEFAULT_wxUSE_SASH=no
8817 DEFAULT_wxUSE_SCROLLBAR=no
8818 DEFAULT_wxUSE_SEARCHCTRL=no
8819 DEFAULT_wxUSE_SLIDER=no
8820 DEFAULT_wxUSE_SPINBTN=no
8821 DEFAULT_wxUSE_SPINCTRL=no
8822 DEFAULT_wxUSE_SPLITTER=no
8823 DEFAULT_wxUSE_STATBMP=no
8824 DEFAULT_wxUSE_STATBOX=no
8825 DEFAULT_wxUSE_STATLINE=no
8826 DEFAULT_wxUSE_STATUSBAR=no
8827 DEFAULT_wxUSE_TAB_DIALOG=no
8828 DEFAULT_wxUSE_TOGGLEBTN=no
8829 DEFAULT_wxUSE_TOOLBAR=no
8830 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8831 DEFAULT_wxUSE_TOOLTIPS=no
8832 DEFAULT_wxUSE_TREEBOOK=no
8833 DEFAULT_wxUSE_TOOLBOOK=no
8834 DEFAULT_wxUSE_TREECTRL=no
8835 DEFAULT_wxUSE_POPUPWIN=no
8836 DEFAULT_wxUSE_TIPWINDOW=no
8837 fi
8838
8839
8840 enablestring=
8841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8843 no_cache=0
8844 # Check whether --enable-accel was given.
8845 if test "${enable_accel+set}" = set; then
8846 enableval=$enable_accel;
8847 if test "$enableval" = yes; then
8848 ac_cv_use_accel='wxUSE_ACCEL=yes'
8849 else
8850 ac_cv_use_accel='wxUSE_ACCEL=no'
8851 fi
8852
8853 else
8854
8855 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8858 else
8859 no_cache=1
8860 fi
8861
8862 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8863
8864 fi
8865
8866
8867 eval "$ac_cv_use_accel"
8868 if test "$no_cache" != 1; then
8869 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8870 fi
8871
8872 if test "$wxUSE_ACCEL" = yes; then
8873 { echo "$as_me:$LINENO: result: yes" >&5
8874 echo "${ECHO_T}yes" >&6; }
8875 else
8876 { echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6; }
8878 fi
8879
8880
8881 enablestring=
8882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8884 no_cache=0
8885 # Check whether --enable-animatectrl was given.
8886 if test "${enable_animatectrl+set}" = set; then
8887 enableval=$enable_animatectrl;
8888 if test "$enableval" = yes; then
8889 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8890 else
8891 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8892 fi
8893
8894 else
8895
8896 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x ; then
8898 eval "DEFAULT_$LINE"
8899 else
8900 no_cache=1
8901 fi
8902
8903 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8904
8905 fi
8906
8907
8908 eval "$ac_cv_use_animatectrl"
8909 if test "$no_cache" != 1; then
8910 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8911 fi
8912
8913 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8914 { echo "$as_me:$LINENO: result: yes" >&5
8915 echo "${ECHO_T}yes" >&6; }
8916 else
8917 { echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6; }
8919 fi
8920
8921
8922 enablestring=
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8925 no_cache=0
8926 # Check whether --enable-button was given.
8927 if test "${enable_button+set}" = set; then
8928 enableval=$enable_button;
8929 if test "$enableval" = yes; then
8930 ac_cv_use_button='wxUSE_BUTTON=yes'
8931 else
8932 ac_cv_use_button='wxUSE_BUTTON=no'
8933 fi
8934
8935 else
8936
8937 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8940 else
8941 no_cache=1
8942 fi
8943
8944 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8945
8946 fi
8947
8948
8949 eval "$ac_cv_use_button"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8952 fi
8953
8954 if test "$wxUSE_BUTTON" = yes; then
8955 { echo "$as_me:$LINENO: result: yes" >&5
8956 echo "${ECHO_T}yes" >&6; }
8957 else
8958 { echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6; }
8960 fi
8961
8962
8963 enablestring=
8964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8966 no_cache=0
8967 # Check whether --enable-bmpbutton was given.
8968 if test "${enable_bmpbutton+set}" = set; then
8969 enableval=$enable_bmpbutton;
8970 if test "$enableval" = yes; then
8971 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8972 else
8973 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8974 fi
8975
8976 else
8977
8978 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8981 else
8982 no_cache=1
8983 fi
8984
8985 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8986
8987 fi
8988
8989
8990 eval "$ac_cv_use_bmpbutton"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8993 fi
8994
8995 if test "$wxUSE_BMPBUTTON" = yes; then
8996 { echo "$as_me:$LINENO: result: yes" >&5
8997 echo "${ECHO_T}yes" >&6; }
8998 else
8999 { echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6; }
9001 fi
9002
9003
9004 enablestring=
9005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9007 no_cache=0
9008 # Check whether --enable-bmpcombobox was given.
9009 if test "${enable_bmpcombobox+set}" = set; then
9010 enableval=$enable_bmpcombobox;
9011 if test "$enableval" = yes; then
9012 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9013 else
9014 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9015 fi
9016
9017 else
9018
9019 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9022 else
9023 no_cache=1
9024 fi
9025
9026 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9027
9028 fi
9029
9030
9031 eval "$ac_cv_use_bmpcombobox"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9034 fi
9035
9036 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9037 { echo "$as_me:$LINENO: result: yes" >&5
9038 echo "${ECHO_T}yes" >&6; }
9039 else
9040 { echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6; }
9042 fi
9043
9044
9045 enablestring=
9046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9048 no_cache=0
9049 # Check whether --enable-calendar was given.
9050 if test "${enable_calendar+set}" = set; then
9051 enableval=$enable_calendar;
9052 if test "$enableval" = yes; then
9053 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9054 else
9055 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9056 fi
9057
9058 else
9059
9060 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9063 else
9064 no_cache=1
9065 fi
9066
9067 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9068
9069 fi
9070
9071
9072 eval "$ac_cv_use_calendar"
9073 if test "$no_cache" != 1; then
9074 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9075 fi
9076
9077 if test "$wxUSE_CALCTRL" = yes; then
9078 { echo "$as_me:$LINENO: result: yes" >&5
9079 echo "${ECHO_T}yes" >&6; }
9080 else
9081 { echo "$as_me:$LINENO: result: no" >&5
9082 echo "${ECHO_T}no" >&6; }
9083 fi
9084
9085
9086 enablestring=
9087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9088 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9089 no_cache=0
9090 # Check whether --enable-caret was given.
9091 if test "${enable_caret+set}" = set; then
9092 enableval=$enable_caret;
9093 if test "$enableval" = yes; then
9094 ac_cv_use_caret='wxUSE_CARET=yes'
9095 else
9096 ac_cv_use_caret='wxUSE_CARET=no'
9097 fi
9098
9099 else
9100
9101 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9104 else
9105 no_cache=1
9106 fi
9107
9108 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9109
9110 fi
9111
9112
9113 eval "$ac_cv_use_caret"
9114 if test "$no_cache" != 1; then
9115 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9116 fi
9117
9118 if test "$wxUSE_CARET" = yes; then
9119 { echo "$as_me:$LINENO: result: yes" >&5
9120 echo "${ECHO_T}yes" >&6; }
9121 else
9122 { echo "$as_me:$LINENO: result: no" >&5
9123 echo "${ECHO_T}no" >&6; }
9124 fi
9125
9126
9127 enablestring=
9128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9129 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9130 no_cache=0
9131 # Check whether --enable-checkbox was given.
9132 if test "${enable_checkbox+set}" = set; then
9133 enableval=$enable_checkbox;
9134 if test "$enableval" = yes; then
9135 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9136 else
9137 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9138 fi
9139
9140 else
9141
9142 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x ; then
9144 eval "DEFAULT_$LINE"
9145 else
9146 no_cache=1
9147 fi
9148
9149 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9150
9151 fi
9152
9153
9154 eval "$ac_cv_use_checkbox"
9155 if test "$no_cache" != 1; then
9156 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9157 fi
9158
9159 if test "$wxUSE_CHECKBOX" = yes; then
9160 { echo "$as_me:$LINENO: result: yes" >&5
9161 echo "${ECHO_T}yes" >&6; }
9162 else
9163 { echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6; }
9165 fi
9166
9167
9168 enablestring=
9169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9171 no_cache=0
9172 # Check whether --enable-checklst was given.
9173 if test "${enable_checklst+set}" = set; then
9174 enableval=$enable_checklst;
9175 if test "$enableval" = yes; then
9176 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9177 else
9178 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9179 fi
9180
9181 else
9182
9183 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x ; then
9185 eval "DEFAULT_$LINE"
9186 else
9187 no_cache=1
9188 fi
9189
9190 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9191
9192 fi
9193
9194
9195 eval "$ac_cv_use_checklst"
9196 if test "$no_cache" != 1; then
9197 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9198 fi
9199
9200 if test "$wxUSE_CHECKLST" = yes; then
9201 { echo "$as_me:$LINENO: result: yes" >&5
9202 echo "${ECHO_T}yes" >&6; }
9203 else
9204 { echo "$as_me:$LINENO: result: no" >&5
9205 echo "${ECHO_T}no" >&6; }
9206 fi
9207
9208
9209 enablestring=
9210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9212 no_cache=0
9213 # Check whether --enable-choice was given.
9214 if test "${enable_choice+set}" = set; then
9215 enableval=$enable_choice;
9216 if test "$enableval" = yes; then
9217 ac_cv_use_choice='wxUSE_CHOICE=yes'
9218 else
9219 ac_cv_use_choice='wxUSE_CHOICE=no'
9220 fi
9221
9222 else
9223
9224 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9227 else
9228 no_cache=1
9229 fi
9230
9231 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9232
9233 fi
9234
9235
9236 eval "$ac_cv_use_choice"
9237 if test "$no_cache" != 1; then
9238 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9239 fi
9240
9241 if test "$wxUSE_CHOICE" = yes; then
9242 { echo "$as_me:$LINENO: result: yes" >&5
9243 echo "${ECHO_T}yes" >&6; }
9244 else
9245 { echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6; }
9247 fi
9248
9249
9250 enablestring=
9251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9253 no_cache=0
9254 # Check whether --enable-choicebook was given.
9255 if test "${enable_choicebook+set}" = set; then
9256 enableval=$enable_choicebook;
9257 if test "$enableval" = yes; then
9258 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9259 else
9260 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9261 fi
9262
9263 else
9264
9265 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9268 else
9269 no_cache=1
9270 fi
9271
9272 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9273
9274 fi
9275
9276
9277 eval "$ac_cv_use_choicebook"
9278 if test "$no_cache" != 1; then
9279 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9280 fi
9281
9282 if test "$wxUSE_CHOICEBOOK" = yes; then
9283 { echo "$as_me:$LINENO: result: yes" >&5
9284 echo "${ECHO_T}yes" >&6; }
9285 else
9286 { echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6; }
9288 fi
9289
9290
9291 enablestring=
9292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9294 no_cache=0
9295 # Check whether --enable-collpane was given.
9296 if test "${enable_collpane+set}" = set; then
9297 enableval=$enable_collpane;
9298 if test "$enableval" = yes; then
9299 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9300 else
9301 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9302 fi
9303
9304 else
9305
9306 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x ; then
9308 eval "DEFAULT_$LINE"
9309 else
9310 no_cache=1
9311 fi
9312
9313 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9314
9315 fi
9316
9317
9318 eval "$ac_cv_use_collpane"
9319 if test "$no_cache" != 1; then
9320 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9321 fi
9322
9323 if test "$wxUSE_COLLPANE" = yes; then
9324 { echo "$as_me:$LINENO: result: yes" >&5
9325 echo "${ECHO_T}yes" >&6; }
9326 else
9327 { echo "$as_me:$LINENO: result: no" >&5
9328 echo "${ECHO_T}no" >&6; }
9329 fi
9330
9331
9332 enablestring=
9333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9335 no_cache=0
9336 # Check whether --enable-colourpicker was given.
9337 if test "${enable_colourpicker+set}" = set; then
9338 enableval=$enable_colourpicker;
9339 if test "$enableval" = yes; then
9340 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9341 else
9342 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9343 fi
9344
9345 else
9346
9347 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x ; then
9349 eval "DEFAULT_$LINE"
9350 else
9351 no_cache=1
9352 fi
9353
9354 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9355
9356 fi
9357
9358
9359 eval "$ac_cv_use_colourpicker"
9360 if test "$no_cache" != 1; then
9361 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9362 fi
9363
9364 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9365 { echo "$as_me:$LINENO: result: yes" >&5
9366 echo "${ECHO_T}yes" >&6; }
9367 else
9368 { echo "$as_me:$LINENO: result: no" >&5
9369 echo "${ECHO_T}no" >&6; }
9370 fi
9371
9372
9373 enablestring=
9374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9376 no_cache=0
9377 # Check whether --enable-combobox was given.
9378 if test "${enable_combobox+set}" = set; then
9379 enableval=$enable_combobox;
9380 if test "$enableval" = yes; then
9381 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9382 else
9383 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9384 fi
9385
9386 else
9387
9388 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9391 else
9392 no_cache=1
9393 fi
9394
9395 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9396
9397 fi
9398
9399
9400 eval "$ac_cv_use_combobox"
9401 if test "$no_cache" != 1; then
9402 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9403 fi
9404
9405 if test "$wxUSE_COMBOBOX" = yes; then
9406 { echo "$as_me:$LINENO: result: yes" >&5
9407 echo "${ECHO_T}yes" >&6; }
9408 else
9409 { echo "$as_me:$LINENO: result: no" >&5
9410 echo "${ECHO_T}no" >&6; }
9411 fi
9412
9413
9414 enablestring=
9415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9416 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9417 no_cache=0
9418 # Check whether --enable-comboctrl was given.
9419 if test "${enable_comboctrl+set}" = set; then
9420 enableval=$enable_comboctrl;
9421 if test "$enableval" = yes; then
9422 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9423 else
9424 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9425 fi
9426
9427 else
9428
9429 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x ; then
9431 eval "DEFAULT_$LINE"
9432 else
9433 no_cache=1
9434 fi
9435
9436 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9437
9438 fi
9439
9440
9441 eval "$ac_cv_use_comboctrl"
9442 if test "$no_cache" != 1; then
9443 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9444 fi
9445
9446 if test "$wxUSE_COMBOCTRL" = yes; then
9447 { echo "$as_me:$LINENO: result: yes" >&5
9448 echo "${ECHO_T}yes" >&6; }
9449 else
9450 { echo "$as_me:$LINENO: result: no" >&5
9451 echo "${ECHO_T}no" >&6; }
9452 fi
9453
9454
9455 enablestring=
9456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9457 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9458 no_cache=0
9459 # Check whether --enable-datepick was given.
9460 if test "${enable_datepick+set}" = set; then
9461 enableval=$enable_datepick;
9462 if test "$enableval" = yes; then
9463 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9464 else
9465 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9466 fi
9467
9468 else
9469
9470 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9471 if test "x$LINE" != x ; then
9472 eval "DEFAULT_$LINE"
9473 else
9474 no_cache=1
9475 fi
9476
9477 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9478
9479 fi
9480
9481
9482 eval "$ac_cv_use_datepick"
9483 if test "$no_cache" != 1; then
9484 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9485 fi
9486
9487 if test "$wxUSE_DATEPICKCTRL" = yes; then
9488 { echo "$as_me:$LINENO: result: yes" >&5
9489 echo "${ECHO_T}yes" >&6; }
9490 else
9491 { echo "$as_me:$LINENO: result: no" >&5
9492 echo "${ECHO_T}no" >&6; }
9493 fi
9494
9495
9496 enablestring=
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9499 no_cache=0
9500 # Check whether --enable-dirpicker was given.
9501 if test "${enable_dirpicker+set}" = set; then
9502 enableval=$enable_dirpicker;
9503 if test "$enableval" = yes; then
9504 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9505 else
9506 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9507 fi
9508
9509 else
9510
9511 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x ; then
9513 eval "DEFAULT_$LINE"
9514 else
9515 no_cache=1
9516 fi
9517
9518 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9519
9520 fi
9521
9522
9523 eval "$ac_cv_use_dirpicker"
9524 if test "$no_cache" != 1; then
9525 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9526 fi
9527
9528 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9529 { echo "$as_me:$LINENO: result: yes" >&5
9530 echo "${ECHO_T}yes" >&6; }
9531 else
9532 { echo "$as_me:$LINENO: result: no" >&5
9533 echo "${ECHO_T}no" >&6; }
9534 fi
9535
9536
9537 enablestring=
9538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9539 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9540 no_cache=0
9541 # Check whether --enable-display was given.
9542 if test "${enable_display+set}" = set; then
9543 enableval=$enable_display;
9544 if test "$enableval" = yes; then
9545 ac_cv_use_display='wxUSE_DISPLAY=yes'
9546 else
9547 ac_cv_use_display='wxUSE_DISPLAY=no'
9548 fi
9549
9550 else
9551
9552 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x ; then
9554 eval "DEFAULT_$LINE"
9555 else
9556 no_cache=1
9557 fi
9558
9559 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9560
9561 fi
9562
9563
9564 eval "$ac_cv_use_display"
9565 if test "$no_cache" != 1; then
9566 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9567 fi
9568
9569 if test "$wxUSE_DISPLAY" = yes; then
9570 { echo "$as_me:$LINENO: result: yes" >&5
9571 echo "${ECHO_T}yes" >&6; }
9572 else
9573 { echo "$as_me:$LINENO: result: no" >&5
9574 echo "${ECHO_T}no" >&6; }
9575 fi
9576
9577
9578 enablestring=
9579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9581 no_cache=0
9582 # Check whether --enable-detect_sm was given.
9583 if test "${enable_detect_sm+set}" = set; then
9584 enableval=$enable_detect_sm;
9585 if test "$enableval" = yes; then
9586 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9587 else
9588 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9589 fi
9590
9591 else
9592
9593 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9594 if test "x$LINE" != x ; then
9595 eval "DEFAULT_$LINE"
9596 else
9597 no_cache=1
9598 fi
9599
9600 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9601
9602 fi
9603
9604
9605 eval "$ac_cv_use_detect_sm"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9608 fi
9609
9610 if test "$wxUSE_DETECT_SM" = yes; then
9611 { echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6; }
9613 else
9614 { echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6; }
9616 fi
9617
9618
9619 enablestring=
9620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9622 no_cache=0
9623 # Check whether --enable-filepicker was given.
9624 if test "${enable_filepicker+set}" = set; then
9625 enableval=$enable_filepicker;
9626 if test "$enableval" = yes; then
9627 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9628 else
9629 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9630 fi
9631
9632 else
9633
9634 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9635 if test "x$LINE" != x ; then
9636 eval "DEFAULT_$LINE"
9637 else
9638 no_cache=1
9639 fi
9640
9641 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9642
9643 fi
9644
9645
9646 eval "$ac_cv_use_filepicker"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9649 fi
9650
9651 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9652 { echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6; }
9654 else
9655 { echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6; }
9657 fi
9658
9659
9660 enablestring=
9661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9663 no_cache=0
9664 # Check whether --enable-fontpicker was given.
9665 if test "${enable_fontpicker+set}" = set; then
9666 enableval=$enable_fontpicker;
9667 if test "$enableval" = yes; then
9668 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9669 else
9670 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9671 fi
9672
9673 else
9674
9675 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x ; then
9677 eval "DEFAULT_$LINE"
9678 else
9679 no_cache=1
9680 fi
9681
9682 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9683
9684 fi
9685
9686
9687 eval "$ac_cv_use_fontpicker"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9690 fi
9691
9692 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9693 { echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6; }
9695 else
9696 { echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6; }
9698 fi
9699
9700
9701 enablestring=
9702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9704 no_cache=0
9705 # Check whether --enable-gauge was given.
9706 if test "${enable_gauge+set}" = set; then
9707 enableval=$enable_gauge;
9708 if test "$enableval" = yes; then
9709 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9710 else
9711 ac_cv_use_gauge='wxUSE_GAUGE=no'
9712 fi
9713
9714 else
9715
9716 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9717 if test "x$LINE" != x ; then
9718 eval "DEFAULT_$LINE"
9719 else
9720 no_cache=1
9721 fi
9722
9723 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9724
9725 fi
9726
9727
9728 eval "$ac_cv_use_gauge"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9731 fi
9732
9733 if test "$wxUSE_GAUGE" = yes; then
9734 { echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6; }
9736 else
9737 { echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6; }
9739 fi
9740
9741
9742 enablestring=
9743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9745 no_cache=0
9746 # Check whether --enable-grid was given.
9747 if test "${enable_grid+set}" = set; then
9748 enableval=$enable_grid;
9749 if test "$enableval" = yes; then
9750 ac_cv_use_grid='wxUSE_GRID=yes'
9751 else
9752 ac_cv_use_grid='wxUSE_GRID=no'
9753 fi
9754
9755 else
9756
9757 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9758 if test "x$LINE" != x ; then
9759 eval "DEFAULT_$LINE"
9760 else
9761 no_cache=1
9762 fi
9763
9764 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9765
9766 fi
9767
9768
9769 eval "$ac_cv_use_grid"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9772 fi
9773
9774 if test "$wxUSE_GRID" = yes; then
9775 { echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6; }
9777 else
9778 { echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6; }
9780 fi
9781
9782
9783 enablestring=
9784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9786 no_cache=0
9787 # Check whether --enable-dataviewctrl was given.
9788 if test "${enable_dataviewctrl+set}" = set; then
9789 enableval=$enable_dataviewctrl;
9790 if test "$enableval" = yes; then
9791 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9792 else
9793 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9794 fi
9795
9796 else
9797
9798 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9799 if test "x$LINE" != x ; then
9800 eval "DEFAULT_$LINE"
9801 else
9802 no_cache=1
9803 fi
9804
9805 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9806
9807 fi
9808
9809
9810 eval "$ac_cv_use_dataviewctrl"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9813 fi
9814
9815 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9816 { echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6; }
9818 else
9819 { echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6; }
9821 fi
9822
9823
9824 enablestring=
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9827 no_cache=0
9828 # Check whether --enable-hyperlink was given.
9829 if test "${enable_hyperlink+set}" = set; then
9830 enableval=$enable_hyperlink;
9831 if test "$enableval" = yes; then
9832 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9833 else
9834 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9835 fi
9836
9837 else
9838
9839 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x ; then
9841 eval "DEFAULT_$LINE"
9842 else
9843 no_cache=1
9844 fi
9845
9846 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9847
9848 fi
9849
9850
9851 eval "$ac_cv_use_hyperlink"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9854 fi
9855
9856 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9857 { echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6; }
9859 else
9860 { echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6; }
9862 fi
9863
9864
9865 enablestring=
9866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9868 no_cache=0
9869 # Check whether --enable-imaglist was given.
9870 if test "${enable_imaglist+set}" = set; then
9871 enableval=$enable_imaglist;
9872 if test "$enableval" = yes; then
9873 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9874 else
9875 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9876 fi
9877
9878 else
9879
9880 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9881 if test "x$LINE" != x ; then
9882 eval "DEFAULT_$LINE"
9883 else
9884 no_cache=1
9885 fi
9886
9887 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9888
9889 fi
9890
9891
9892 eval "$ac_cv_use_imaglist"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9895 fi
9896
9897 if test "$wxUSE_IMAGLIST" = yes; then
9898 { echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6; }
9900 else
9901 { echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6; }
9903 fi
9904
9905
9906 enablestring=
9907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9909 no_cache=0
9910 # Check whether --enable-listbook was given.
9911 if test "${enable_listbook+set}" = set; then
9912 enableval=$enable_listbook;
9913 if test "$enableval" = yes; then
9914 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9915 else
9916 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9917 fi
9918
9919 else
9920
9921 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9922 if test "x$LINE" != x ; then
9923 eval "DEFAULT_$LINE"
9924 else
9925 no_cache=1
9926 fi
9927
9928 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9929
9930 fi
9931
9932
9933 eval "$ac_cv_use_listbook"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9936 fi
9937
9938 if test "$wxUSE_LISTBOOK" = yes; then
9939 { echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6; }
9941 else
9942 { echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6; }
9944 fi
9945
9946
9947 enablestring=
9948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9950 no_cache=0
9951 # Check whether --enable-listbox was given.
9952 if test "${enable_listbox+set}" = set; then
9953 enableval=$enable_listbox;
9954 if test "$enableval" = yes; then
9955 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9956 else
9957 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9958 fi
9959
9960 else
9961
9962 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x ; then
9964 eval "DEFAULT_$LINE"
9965 else
9966 no_cache=1
9967 fi
9968
9969 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9970
9971 fi
9972
9973
9974 eval "$ac_cv_use_listbox"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9977 fi
9978
9979 if test "$wxUSE_LISTBOX" = yes; then
9980 { echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6; }
9982 else
9983 { echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6; }
9985 fi
9986
9987
9988 enablestring=
9989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9991 no_cache=0
9992 # Check whether --enable-listctrl was given.
9993 if test "${enable_listctrl+set}" = set; then
9994 enableval=$enable_listctrl;
9995 if test "$enableval" = yes; then
9996 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9997 else
9998 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9999 fi
10000
10001 else
10002
10003 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
10004 if test "x$LINE" != x ; then
10005 eval "DEFAULT_$LINE"
10006 else
10007 no_cache=1
10008 fi
10009
10010 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10011
10012 fi
10013
10014
10015 eval "$ac_cv_use_listctrl"
10016 if test "$no_cache" != 1; then
10017 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10018 fi
10019
10020 if test "$wxUSE_LISTCTRL" = yes; then
10021 { echo "$as_me:$LINENO: result: yes" >&5
10022 echo "${ECHO_T}yes" >&6; }
10023 else
10024 { echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6; }
10026 fi
10027
10028
10029 enablestring=
10030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10031 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10032 no_cache=0
10033 # Check whether --enable-notebook was given.
10034 if test "${enable_notebook+set}" = set; then
10035 enableval=$enable_notebook;
10036 if test "$enableval" = yes; then
10037 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10038 else
10039 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10040 fi
10041
10042 else
10043
10044 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10045 if test "x$LINE" != x ; then
10046 eval "DEFAULT_$LINE"
10047 else
10048 no_cache=1
10049 fi
10050
10051 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10052
10053 fi
10054
10055
10056 eval "$ac_cv_use_notebook"
10057 if test "$no_cache" != 1; then
10058 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10059 fi
10060
10061 if test "$wxUSE_NOTEBOOK" = yes; then
10062 { echo "$as_me:$LINENO: result: yes" >&5
10063 echo "${ECHO_T}yes" >&6; }
10064 else
10065 { echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6; }
10067 fi
10068
10069
10070 enablestring=
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10073 no_cache=0
10074 # Check whether --enable-odcombobox was given.
10075 if test "${enable_odcombobox+set}" = set; then
10076 enableval=$enable_odcombobox;
10077 if test "$enableval" = yes; then
10078 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10079 else
10080 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10081 fi
10082
10083 else
10084
10085 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10086 if test "x$LINE" != x ; then
10087 eval "DEFAULT_$LINE"
10088 else
10089 no_cache=1
10090 fi
10091
10092 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10093
10094 fi
10095
10096
10097 eval "$ac_cv_use_odcombobox"
10098 if test "$no_cache" != 1; then
10099 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10100 fi
10101
10102 if test "$wxUSE_ODCOMBOBOX" = yes; then
10103 { echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6; }
10105 else
10106 { echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6; }
10108 fi
10109
10110
10111 enablestring=
10112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10114 no_cache=0
10115 # Check whether --enable-radiobox was given.
10116 if test "${enable_radiobox+set}" = set; then
10117 enableval=$enable_radiobox;
10118 if test "$enableval" = yes; then
10119 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10120 else
10121 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10122 fi
10123
10124 else
10125
10126 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10127 if test "x$LINE" != x ; then
10128 eval "DEFAULT_$LINE"
10129 else
10130 no_cache=1
10131 fi
10132
10133 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10134
10135 fi
10136
10137
10138 eval "$ac_cv_use_radiobox"
10139 if test "$no_cache" != 1; then
10140 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10141 fi
10142
10143 if test "$wxUSE_RADIOBOX" = yes; then
10144 { echo "$as_me:$LINENO: result: yes" >&5
10145 echo "${ECHO_T}yes" >&6; }
10146 else
10147 { echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6; }
10149 fi
10150
10151
10152 enablestring=
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10155 no_cache=0
10156 # Check whether --enable-radiobtn was given.
10157 if test "${enable_radiobtn+set}" = set; then
10158 enableval=$enable_radiobtn;
10159 if test "$enableval" = yes; then
10160 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10161 else
10162 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10163 fi
10164
10165 else
10166
10167 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10168 if test "x$LINE" != x ; then
10169 eval "DEFAULT_$LINE"
10170 else
10171 no_cache=1
10172 fi
10173
10174 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10175
10176 fi
10177
10178
10179 eval "$ac_cv_use_radiobtn"
10180 if test "$no_cache" != 1; then
10181 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10182 fi
10183
10184 if test "$wxUSE_RADIOBTN" = yes; then
10185 { echo "$as_me:$LINENO: result: yes" >&5
10186 echo "${ECHO_T}yes" >&6; }
10187 else
10188 { echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6; }
10190 fi
10191
10192
10193 enablestring=
10194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10196 no_cache=0
10197 # Check whether --enable-sash was given.
10198 if test "${enable_sash+set}" = set; then
10199 enableval=$enable_sash;
10200 if test "$enableval" = yes; then
10201 ac_cv_use_sash='wxUSE_SASH=yes'
10202 else
10203 ac_cv_use_sash='wxUSE_SASH=no'
10204 fi
10205
10206 else
10207
10208 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10209 if test "x$LINE" != x ; then
10210 eval "DEFAULT_$LINE"
10211 else
10212 no_cache=1
10213 fi
10214
10215 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10216
10217 fi
10218
10219
10220 eval "$ac_cv_use_sash"
10221 if test "$no_cache" != 1; then
10222 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10223 fi
10224
10225 if test "$wxUSE_SASH" = yes; then
10226 { echo "$as_me:$LINENO: result: yes" >&5
10227 echo "${ECHO_T}yes" >&6; }
10228 else
10229 { echo "$as_me:$LINENO: result: no" >&5
10230 echo "${ECHO_T}no" >&6; }
10231 fi
10232
10233
10234 enablestring=
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10237 no_cache=0
10238 # Check whether --enable-scrollbar was given.
10239 if test "${enable_scrollbar+set}" = set; then
10240 enableval=$enable_scrollbar;
10241 if test "$enableval" = yes; then
10242 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10243 else
10244 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10245 fi
10246
10247 else
10248
10249 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10250 if test "x$LINE" != x ; then
10251 eval "DEFAULT_$LINE"
10252 else
10253 no_cache=1
10254 fi
10255
10256 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10257
10258 fi
10259
10260
10261 eval "$ac_cv_use_scrollbar"
10262 if test "$no_cache" != 1; then
10263 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10264 fi
10265
10266 if test "$wxUSE_SCROLLBAR" = yes; then
10267 { echo "$as_me:$LINENO: result: yes" >&5
10268 echo "${ECHO_T}yes" >&6; }
10269 else
10270 { echo "$as_me:$LINENO: result: no" >&5
10271 echo "${ECHO_T}no" >&6; }
10272 fi
10273
10274
10275 enablestring=
10276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10277 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10278 no_cache=0
10279 # Check whether --enable-searchctrl was given.
10280 if test "${enable_searchctrl+set}" = set; then
10281 enableval=$enable_searchctrl;
10282 if test "$enableval" = yes; then
10283 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10284 else
10285 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10286 fi
10287
10288 else
10289
10290 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10291 if test "x$LINE" != x ; then
10292 eval "DEFAULT_$LINE"
10293 else
10294 no_cache=1
10295 fi
10296
10297 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10298
10299 fi
10300
10301
10302 eval "$ac_cv_use_searchctrl"
10303 if test "$no_cache" != 1; then
10304 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10305 fi
10306
10307 if test "$wxUSE_SEARCHCTRL" = yes; then
10308 { echo "$as_me:$LINENO: result: yes" >&5
10309 echo "${ECHO_T}yes" >&6; }
10310 else
10311 { echo "$as_me:$LINENO: result: no" >&5
10312 echo "${ECHO_T}no" >&6; }
10313 fi
10314
10315
10316 enablestring=
10317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10319 no_cache=0
10320 # Check whether --enable-slider was given.
10321 if test "${enable_slider+set}" = set; then
10322 enableval=$enable_slider;
10323 if test "$enableval" = yes; then
10324 ac_cv_use_slider='wxUSE_SLIDER=yes'
10325 else
10326 ac_cv_use_slider='wxUSE_SLIDER=no'
10327 fi
10328
10329 else
10330
10331 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10332 if test "x$LINE" != x ; then
10333 eval "DEFAULT_$LINE"
10334 else
10335 no_cache=1
10336 fi
10337
10338 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10339
10340 fi
10341
10342
10343 eval "$ac_cv_use_slider"
10344 if test "$no_cache" != 1; then
10345 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10346 fi
10347
10348 if test "$wxUSE_SLIDER" = yes; then
10349 { echo "$as_me:$LINENO: result: yes" >&5
10350 echo "${ECHO_T}yes" >&6; }
10351 else
10352 { echo "$as_me:$LINENO: result: no" >&5
10353 echo "${ECHO_T}no" >&6; }
10354 fi
10355
10356
10357 enablestring=
10358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10359 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10360 no_cache=0
10361 # Check whether --enable-spinbtn was given.
10362 if test "${enable_spinbtn+set}" = set; then
10363 enableval=$enable_spinbtn;
10364 if test "$enableval" = yes; then
10365 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10366 else
10367 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10368 fi
10369
10370 else
10371
10372 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10373 if test "x$LINE" != x ; then
10374 eval "DEFAULT_$LINE"
10375 else
10376 no_cache=1
10377 fi
10378
10379 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10380
10381 fi
10382
10383
10384 eval "$ac_cv_use_spinbtn"
10385 if test "$no_cache" != 1; then
10386 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10387 fi
10388
10389 if test "$wxUSE_SPINBTN" = yes; then
10390 { echo "$as_me:$LINENO: result: yes" >&5
10391 echo "${ECHO_T}yes" >&6; }
10392 else
10393 { echo "$as_me:$LINENO: result: no" >&5
10394 echo "${ECHO_T}no" >&6; }
10395 fi
10396
10397
10398 enablestring=
10399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10400 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10401 no_cache=0
10402 # Check whether --enable-spinctrl was given.
10403 if test "${enable_spinctrl+set}" = set; then
10404 enableval=$enable_spinctrl;
10405 if test "$enableval" = yes; then
10406 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10407 else
10408 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10409 fi
10410
10411 else
10412
10413 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10414 if test "x$LINE" != x ; then
10415 eval "DEFAULT_$LINE"
10416 else
10417 no_cache=1
10418 fi
10419
10420 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10421
10422 fi
10423
10424
10425 eval "$ac_cv_use_spinctrl"
10426 if test "$no_cache" != 1; then
10427 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10428 fi
10429
10430 if test "$wxUSE_SPINCTRL" = yes; then
10431 { echo "$as_me:$LINENO: result: yes" >&5
10432 echo "${ECHO_T}yes" >&6; }
10433 else
10434 { echo "$as_me:$LINENO: result: no" >&5
10435 echo "${ECHO_T}no" >&6; }
10436 fi
10437
10438
10439 enablestring=
10440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10441 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10442 no_cache=0
10443 # Check whether --enable-splitter was given.
10444 if test "${enable_splitter+set}" = set; then
10445 enableval=$enable_splitter;
10446 if test "$enableval" = yes; then
10447 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10448 else
10449 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10450 fi
10451
10452 else
10453
10454 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10455 if test "x$LINE" != x ; then
10456 eval "DEFAULT_$LINE"
10457 else
10458 no_cache=1
10459 fi
10460
10461 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10462
10463 fi
10464
10465
10466 eval "$ac_cv_use_splitter"
10467 if test "$no_cache" != 1; then
10468 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10469 fi
10470
10471 if test "$wxUSE_SPLITTER" = yes; then
10472 { echo "$as_me:$LINENO: result: yes" >&5
10473 echo "${ECHO_T}yes" >&6; }
10474 else
10475 { echo "$as_me:$LINENO: result: no" >&5
10476 echo "${ECHO_T}no" >&6; }
10477 fi
10478
10479
10480 enablestring=
10481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10482 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10483 no_cache=0
10484 # Check whether --enable-statbmp was given.
10485 if test "${enable_statbmp+set}" = set; then
10486 enableval=$enable_statbmp;
10487 if test "$enableval" = yes; then
10488 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10489 else
10490 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10491 fi
10492
10493 else
10494
10495 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10496 if test "x$LINE" != x ; then
10497 eval "DEFAULT_$LINE"
10498 else
10499 no_cache=1
10500 fi
10501
10502 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10503
10504 fi
10505
10506
10507 eval "$ac_cv_use_statbmp"
10508 if test "$no_cache" != 1; then
10509 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10510 fi
10511
10512 if test "$wxUSE_STATBMP" = yes; then
10513 { echo "$as_me:$LINENO: result: yes" >&5
10514 echo "${ECHO_T}yes" >&6; }
10515 else
10516 { echo "$as_me:$LINENO: result: no" >&5
10517 echo "${ECHO_T}no" >&6; }
10518 fi
10519
10520
10521 enablestring=
10522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10523 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10524 no_cache=0
10525 # Check whether --enable-statbox was given.
10526 if test "${enable_statbox+set}" = set; then
10527 enableval=$enable_statbox;
10528 if test "$enableval" = yes; then
10529 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10530 else
10531 ac_cv_use_statbox='wxUSE_STATBOX=no'
10532 fi
10533
10534 else
10535
10536 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10537 if test "x$LINE" != x ; then
10538 eval "DEFAULT_$LINE"
10539 else
10540 no_cache=1
10541 fi
10542
10543 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10544
10545 fi
10546
10547
10548 eval "$ac_cv_use_statbox"
10549 if test "$no_cache" != 1; then
10550 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10551 fi
10552
10553 if test "$wxUSE_STATBOX" = yes; then
10554 { echo "$as_me:$LINENO: result: yes" >&5
10555 echo "${ECHO_T}yes" >&6; }
10556 else
10557 { echo "$as_me:$LINENO: result: no" >&5
10558 echo "${ECHO_T}no" >&6; }
10559 fi
10560
10561
10562 enablestring=
10563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10564 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10565 no_cache=0
10566 # Check whether --enable-statline was given.
10567 if test "${enable_statline+set}" = set; then
10568 enableval=$enable_statline;
10569 if test "$enableval" = yes; then
10570 ac_cv_use_statline='wxUSE_STATLINE=yes'
10571 else
10572 ac_cv_use_statline='wxUSE_STATLINE=no'
10573 fi
10574
10575 else
10576
10577 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10578 if test "x$LINE" != x ; then
10579 eval "DEFAULT_$LINE"
10580 else
10581 no_cache=1
10582 fi
10583
10584 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10585
10586 fi
10587
10588
10589 eval "$ac_cv_use_statline"
10590 if test "$no_cache" != 1; then
10591 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10592 fi
10593
10594 if test "$wxUSE_STATLINE" = yes; then
10595 { echo "$as_me:$LINENO: result: yes" >&5
10596 echo "${ECHO_T}yes" >&6; }
10597 else
10598 { echo "$as_me:$LINENO: result: no" >&5
10599 echo "${ECHO_T}no" >&6; }
10600 fi
10601
10602
10603 enablestring=
10604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10605 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10606 no_cache=0
10607 # Check whether --enable-stattext was given.
10608 if test "${enable_stattext+set}" = set; then
10609 enableval=$enable_stattext;
10610 if test "$enableval" = yes; then
10611 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10612 else
10613 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10614 fi
10615
10616 else
10617
10618 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10619 if test "x$LINE" != x ; then
10620 eval "DEFAULT_$LINE"
10621 else
10622 no_cache=1
10623 fi
10624
10625 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10626
10627 fi
10628
10629
10630 eval "$ac_cv_use_stattext"
10631 if test "$no_cache" != 1; then
10632 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10633 fi
10634
10635 if test "$wxUSE_STATTEXT" = yes; then
10636 { echo "$as_me:$LINENO: result: yes" >&5
10637 echo "${ECHO_T}yes" >&6; }
10638 else
10639 { echo "$as_me:$LINENO: result: no" >&5
10640 echo "${ECHO_T}no" >&6; }
10641 fi
10642
10643
10644 enablestring=
10645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10646 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10647 no_cache=0
10648 # Check whether --enable-statusbar was given.
10649 if test "${enable_statusbar+set}" = set; then
10650 enableval=$enable_statusbar;
10651 if test "$enableval" = yes; then
10652 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10653 else
10654 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10655 fi
10656
10657 else
10658
10659 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10660 if test "x$LINE" != x ; then
10661 eval "DEFAULT_$LINE"
10662 else
10663 no_cache=1
10664 fi
10665
10666 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10667
10668 fi
10669
10670
10671 eval "$ac_cv_use_statusbar"
10672 if test "$no_cache" != 1; then
10673 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10674 fi
10675
10676 if test "$wxUSE_STATUSBAR" = yes; then
10677 { echo "$as_me:$LINENO: result: yes" >&5
10678 echo "${ECHO_T}yes" >&6; }
10679 else
10680 { echo "$as_me:$LINENO: result: no" >&5
10681 echo "${ECHO_T}no" >&6; }
10682 fi
10683
10684
10685 enablestring=
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10688 no_cache=0
10689 # Check whether --enable-tabdialog was given.
10690 if test "${enable_tabdialog+set}" = set; then
10691 enableval=$enable_tabdialog;
10692 if test "$enableval" = yes; then
10693 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10694 else
10695 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10696 fi
10697
10698 else
10699
10700 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10701 if test "x$LINE" != x ; then
10702 eval "DEFAULT_$LINE"
10703 else
10704 no_cache=1
10705 fi
10706
10707 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10708
10709 fi
10710
10711
10712 eval "$ac_cv_use_tabdialog"
10713 if test "$no_cache" != 1; then
10714 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10715 fi
10716
10717 if test "$wxUSE_TAB_DIALOG" = yes; then
10718 { echo "$as_me:$LINENO: result: yes" >&5
10719 echo "${ECHO_T}yes" >&6; }
10720 else
10721 { echo "$as_me:$LINENO: result: no" >&5
10722 echo "${ECHO_T}no" >&6; }
10723 fi
10724
10725
10726 enablestring=
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10729 no_cache=0
10730 # Check whether --enable-textctrl was given.
10731 if test "${enable_textctrl+set}" = set; then
10732 enableval=$enable_textctrl;
10733 if test "$enableval" = yes; then
10734 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10735 else
10736 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10737 fi
10738
10739 else
10740
10741 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x ; then
10743 eval "DEFAULT_$LINE"
10744 else
10745 no_cache=1
10746 fi
10747
10748 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10749
10750 fi
10751
10752
10753 eval "$ac_cv_use_textctrl"
10754 if test "$no_cache" != 1; then
10755 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10756 fi
10757
10758 if test "$wxUSE_TEXTCTRL" = yes; then
10759 { echo "$as_me:$LINENO: result: yes" >&5
10760 echo "${ECHO_T}yes" >&6; }
10761 else
10762 { echo "$as_me:$LINENO: result: no" >&5
10763 echo "${ECHO_T}no" >&6; }
10764 fi
10765
10766
10767 enablestring=
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10770 no_cache=0
10771 # Check whether --enable-togglebtn was given.
10772 if test "${enable_togglebtn+set}" = set; then
10773 enableval=$enable_togglebtn;
10774 if test "$enableval" = yes; then
10775 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10776 else
10777 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10778 fi
10779
10780 else
10781
10782 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10783 if test "x$LINE" != x ; then
10784 eval "DEFAULT_$LINE"
10785 else
10786 no_cache=1
10787 fi
10788
10789 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10790
10791 fi
10792
10793
10794 eval "$ac_cv_use_togglebtn"
10795 if test "$no_cache" != 1; then
10796 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10797 fi
10798
10799 if test "$wxUSE_TOGGLEBTN" = yes; then
10800 { echo "$as_me:$LINENO: result: yes" >&5
10801 echo "${ECHO_T}yes" >&6; }
10802 else
10803 { echo "$as_me:$LINENO: result: no" >&5
10804 echo "${ECHO_T}no" >&6; }
10805 fi
10806
10807
10808 enablestring=
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10811 no_cache=0
10812 # Check whether --enable-toolbar was given.
10813 if test "${enable_toolbar+set}" = set; then
10814 enableval=$enable_toolbar;
10815 if test "$enableval" = yes; then
10816 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10817 else
10818 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10819 fi
10820
10821 else
10822
10823 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10824 if test "x$LINE" != x ; then
10825 eval "DEFAULT_$LINE"
10826 else
10827 no_cache=1
10828 fi
10829
10830 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10831
10832 fi
10833
10834
10835 eval "$ac_cv_use_toolbar"
10836 if test "$no_cache" != 1; then
10837 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10838 fi
10839
10840 if test "$wxUSE_TOOLBAR" = yes; then
10841 { echo "$as_me:$LINENO: result: yes" >&5
10842 echo "${ECHO_T}yes" >&6; }
10843 else
10844 { echo "$as_me:$LINENO: result: no" >&5
10845 echo "${ECHO_T}no" >&6; }
10846 fi
10847
10848
10849 enablestring=
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10852 no_cache=0
10853 # Check whether --enable-tbarnative was given.
10854 if test "${enable_tbarnative+set}" = set; then
10855 enableval=$enable_tbarnative;
10856 if test "$enableval" = yes; then
10857 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10858 else
10859 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10860 fi
10861
10862 else
10863
10864 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10867 else
10868 no_cache=1
10869 fi
10870
10871 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10872
10873 fi
10874
10875
10876 eval "$ac_cv_use_tbarnative"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10879 fi
10880
10881 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10882 { echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6; }
10884 else
10885 { echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6; }
10887 fi
10888
10889
10890 enablestring=
10891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10893 no_cache=0
10894 # Check whether --enable-treebook was given.
10895 if test "${enable_treebook+set}" = set; then
10896 enableval=$enable_treebook;
10897 if test "$enableval" = yes; then
10898 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10899 else
10900 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10901 fi
10902
10903 else
10904
10905 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x ; then
10907 eval "DEFAULT_$LINE"
10908 else
10909 no_cache=1
10910 fi
10911
10912 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10913
10914 fi
10915
10916
10917 eval "$ac_cv_use_treebook"
10918 if test "$no_cache" != 1; then
10919 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10920 fi
10921
10922 if test "$wxUSE_TREEBOOK" = yes; then
10923 { echo "$as_me:$LINENO: result: yes" >&5
10924 echo "${ECHO_T}yes" >&6; }
10925 else
10926 { echo "$as_me:$LINENO: result: no" >&5
10927 echo "${ECHO_T}no" >&6; }
10928 fi
10929
10930
10931 enablestring=
10932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10934 no_cache=0
10935 # Check whether --enable-toolbook was given.
10936 if test "${enable_toolbook+set}" = set; then
10937 enableval=$enable_toolbook;
10938 if test "$enableval" = yes; then
10939 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10940 else
10941 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10942 fi
10943
10944 else
10945
10946 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10947 if test "x$LINE" != x ; then
10948 eval "DEFAULT_$LINE"
10949 else
10950 no_cache=1
10951 fi
10952
10953 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10954
10955 fi
10956
10957
10958 eval "$ac_cv_use_toolbook"
10959 if test "$no_cache" != 1; then
10960 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10961 fi
10962
10963 if test "$wxUSE_TOOLBOOK" = yes; then
10964 { echo "$as_me:$LINENO: result: yes" >&5
10965 echo "${ECHO_T}yes" >&6; }
10966 else
10967 { echo "$as_me:$LINENO: result: no" >&5
10968 echo "${ECHO_T}no" >&6; }
10969 fi
10970
10971
10972 enablestring=
10973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10974 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10975 no_cache=0
10976 # Check whether --enable-treectrl was given.
10977 if test "${enable_treectrl+set}" = set; then
10978 enableval=$enable_treectrl;
10979 if test "$enableval" = yes; then
10980 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10981 else
10982 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10983 fi
10984
10985 else
10986
10987 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10988 if test "x$LINE" != x ; then
10989 eval "DEFAULT_$LINE"
10990 else
10991 no_cache=1
10992 fi
10993
10994 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10995
10996 fi
10997
10998
10999 eval "$ac_cv_use_treectrl"
11000 if test "$no_cache" != 1; then
11001 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11002 fi
11003
11004 if test "$wxUSE_TREECTRL" = yes; then
11005 { echo "$as_me:$LINENO: result: yes" >&5
11006 echo "${ECHO_T}yes" >&6; }
11007 else
11008 { echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6; }
11010 fi
11011
11012
11013 enablestring=
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11016 no_cache=0
11017 # Check whether --enable-tipwindow was given.
11018 if test "${enable_tipwindow+set}" = set; then
11019 enableval=$enable_tipwindow;
11020 if test "$enableval" = yes; then
11021 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11022 else
11023 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11024 fi
11025
11026 else
11027
11028 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11029 if test "x$LINE" != x ; then
11030 eval "DEFAULT_$LINE"
11031 else
11032 no_cache=1
11033 fi
11034
11035 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11036
11037 fi
11038
11039
11040 eval "$ac_cv_use_tipwindow"
11041 if test "$no_cache" != 1; then
11042 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11043 fi
11044
11045 if test "$wxUSE_TIPWINDOW" = yes; then
11046 { echo "$as_me:$LINENO: result: yes" >&5
11047 echo "${ECHO_T}yes" >&6; }
11048 else
11049 { echo "$as_me:$LINENO: result: no" >&5
11050 echo "${ECHO_T}no" >&6; }
11051 fi
11052
11053
11054 enablestring=
11055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11056 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11057 no_cache=0
11058 # Check whether --enable-popupwin was given.
11059 if test "${enable_popupwin+set}" = set; then
11060 enableval=$enable_popupwin;
11061 if test "$enableval" = yes; then
11062 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11063 else
11064 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11065 fi
11066
11067 else
11068
11069 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11070 if test "x$LINE" != x ; then
11071 eval "DEFAULT_$LINE"
11072 else
11073 no_cache=1
11074 fi
11075
11076 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11077
11078 fi
11079
11080
11081 eval "$ac_cv_use_popupwin"
11082 if test "$no_cache" != 1; then
11083 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11084 fi
11085
11086 if test "$wxUSE_POPUPWIN" = yes; then
11087 { echo "$as_me:$LINENO: result: yes" >&5
11088 echo "${ECHO_T}yes" >&6; }
11089 else
11090 { echo "$as_me:$LINENO: result: no" >&5
11091 echo "${ECHO_T}no" >&6; }
11092 fi
11093
11094
11095
11096
11097 enablestring=
11098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11099 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11100 no_cache=0
11101 # Check whether --enable-commondlg was given.
11102 if test "${enable_commondlg+set}" = set; then
11103 enableval=$enable_commondlg;
11104 if test "$enableval" = yes; then
11105 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11106 else
11107 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11108 fi
11109
11110 else
11111
11112 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11113 if test "x$LINE" != x ; then
11114 eval "DEFAULT_$LINE"
11115 else
11116 no_cache=1
11117 fi
11118
11119 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11120
11121 fi
11122
11123
11124 eval "$ac_cv_use_commondlg"
11125 if test "$no_cache" != 1; then
11126 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11127 fi
11128
11129 if test "$wxUSE_COMMONDLGS" = yes; then
11130 { echo "$as_me:$LINENO: result: yes" >&5
11131 echo "${ECHO_T}yes" >&6; }
11132 else
11133 { echo "$as_me:$LINENO: result: no" >&5
11134 echo "${ECHO_T}no" >&6; }
11135 fi
11136
11137
11138 enablestring=
11139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11140 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11141 no_cache=0
11142 # Check whether --enable-aboutdlg was given.
11143 if test "${enable_aboutdlg+set}" = set; then
11144 enableval=$enable_aboutdlg;
11145 if test "$enableval" = yes; then
11146 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11147 else
11148 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11149 fi
11150
11151 else
11152
11153 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11154 if test "x$LINE" != x ; then
11155 eval "DEFAULT_$LINE"
11156 else
11157 no_cache=1
11158 fi
11159
11160 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11161
11162 fi
11163
11164
11165 eval "$ac_cv_use_aboutdlg"
11166 if test "$no_cache" != 1; then
11167 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11168 fi
11169
11170 if test "$wxUSE_ABOUTDLG" = yes; then
11171 { echo "$as_me:$LINENO: result: yes" >&5
11172 echo "${ECHO_T}yes" >&6; }
11173 else
11174 { echo "$as_me:$LINENO: result: no" >&5
11175 echo "${ECHO_T}no" >&6; }
11176 fi
11177
11178
11179 enablestring=
11180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11181 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11182 no_cache=0
11183 # Check whether --enable-choicedlg was given.
11184 if test "${enable_choicedlg+set}" = set; then
11185 enableval=$enable_choicedlg;
11186 if test "$enableval" = yes; then
11187 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11188 else
11189 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11190 fi
11191
11192 else
11193
11194 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11195 if test "x$LINE" != x ; then
11196 eval "DEFAULT_$LINE"
11197 else
11198 no_cache=1
11199 fi
11200
11201 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11202
11203 fi
11204
11205
11206 eval "$ac_cv_use_choicedlg"
11207 if test "$no_cache" != 1; then
11208 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11209 fi
11210
11211 if test "$wxUSE_CHOICEDLG" = yes; then
11212 { echo "$as_me:$LINENO: result: yes" >&5
11213 echo "${ECHO_T}yes" >&6; }
11214 else
11215 { echo "$as_me:$LINENO: result: no" >&5
11216 echo "${ECHO_T}no" >&6; }
11217 fi
11218
11219
11220 enablestring=
11221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11222 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11223 no_cache=0
11224 # Check whether --enable-coldlg was given.
11225 if test "${enable_coldlg+set}" = set; then
11226 enableval=$enable_coldlg;
11227 if test "$enableval" = yes; then
11228 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11229 else
11230 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11231 fi
11232
11233 else
11234
11235 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11236 if test "x$LINE" != x ; then
11237 eval "DEFAULT_$LINE"
11238 else
11239 no_cache=1
11240 fi
11241
11242 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11243
11244 fi
11245
11246
11247 eval "$ac_cv_use_coldlg"
11248 if test "$no_cache" != 1; then
11249 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11250 fi
11251
11252 if test "$wxUSE_COLOURDLG" = yes; then
11253 { echo "$as_me:$LINENO: result: yes" >&5
11254 echo "${ECHO_T}yes" >&6; }
11255 else
11256 { echo "$as_me:$LINENO: result: no" >&5
11257 echo "${ECHO_T}no" >&6; }
11258 fi
11259
11260
11261 enablestring=
11262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11263 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11264 no_cache=0
11265 # Check whether --enable-filedlg was given.
11266 if test "${enable_filedlg+set}" = set; then
11267 enableval=$enable_filedlg;
11268 if test "$enableval" = yes; then
11269 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11270 else
11271 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11272 fi
11273
11274 else
11275
11276 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11277 if test "x$LINE" != x ; then
11278 eval "DEFAULT_$LINE"
11279 else
11280 no_cache=1
11281 fi
11282
11283 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11284
11285 fi
11286
11287
11288 eval "$ac_cv_use_filedlg"
11289 if test "$no_cache" != 1; then
11290 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11291 fi
11292
11293 if test "$wxUSE_FILEDLG" = yes; then
11294 { echo "$as_me:$LINENO: result: yes" >&5
11295 echo "${ECHO_T}yes" >&6; }
11296 else
11297 { echo "$as_me:$LINENO: result: no" >&5
11298 echo "${ECHO_T}no" >&6; }
11299 fi
11300
11301
11302 enablestring=
11303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11304 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11305 no_cache=0
11306 # Check whether --enable-finddlg was given.
11307 if test "${enable_finddlg+set}" = set; then
11308 enableval=$enable_finddlg;
11309 if test "$enableval" = yes; then
11310 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11311 else
11312 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11313 fi
11314
11315 else
11316
11317 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11318 if test "x$LINE" != x ; then
11319 eval "DEFAULT_$LINE"
11320 else
11321 no_cache=1
11322 fi
11323
11324 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11325
11326 fi
11327
11328
11329 eval "$ac_cv_use_finddlg"
11330 if test "$no_cache" != 1; then
11331 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11332 fi
11333
11334 if test "$wxUSE_FINDREPLDLG" = yes; then
11335 { echo "$as_me:$LINENO: result: yes" >&5
11336 echo "${ECHO_T}yes" >&6; }
11337 else
11338 { echo "$as_me:$LINENO: result: no" >&5
11339 echo "${ECHO_T}no" >&6; }
11340 fi
11341
11342
11343 enablestring=
11344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11345 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11346 no_cache=0
11347 # Check whether --enable-fontdlg was given.
11348 if test "${enable_fontdlg+set}" = set; then
11349 enableval=$enable_fontdlg;
11350 if test "$enableval" = yes; then
11351 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11352 else
11353 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11354 fi
11355
11356 else
11357
11358 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11359 if test "x$LINE" != x ; then
11360 eval "DEFAULT_$LINE"
11361 else
11362 no_cache=1
11363 fi
11364
11365 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11366
11367 fi
11368
11369
11370 eval "$ac_cv_use_fontdlg"
11371 if test "$no_cache" != 1; then
11372 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11373 fi
11374
11375 if test "$wxUSE_FONTDLG" = yes; then
11376 { echo "$as_me:$LINENO: result: yes" >&5
11377 echo "${ECHO_T}yes" >&6; }
11378 else
11379 { echo "$as_me:$LINENO: result: no" >&5
11380 echo "${ECHO_T}no" >&6; }
11381 fi
11382
11383
11384 enablestring=
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11387 no_cache=0
11388 # Check whether --enable-dirdlg was given.
11389 if test "${enable_dirdlg+set}" = set; then
11390 enableval=$enable_dirdlg;
11391 if test "$enableval" = yes; then
11392 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11393 else
11394 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11395 fi
11396
11397 else
11398
11399 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11400 if test "x$LINE" != x ; then
11401 eval "DEFAULT_$LINE"
11402 else
11403 no_cache=1
11404 fi
11405
11406 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11407
11408 fi
11409
11410
11411 eval "$ac_cv_use_dirdlg"
11412 if test "$no_cache" != 1; then
11413 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11414 fi
11415
11416 if test "$wxUSE_DIRDLG" = yes; then
11417 { echo "$as_me:$LINENO: result: yes" >&5
11418 echo "${ECHO_T}yes" >&6; }
11419 else
11420 { echo "$as_me:$LINENO: result: no" >&5
11421 echo "${ECHO_T}no" >&6; }
11422 fi
11423
11424
11425 enablestring=
11426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11427 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11428 no_cache=0
11429 # Check whether --enable-msgdlg was given.
11430 if test "${enable_msgdlg+set}" = set; then
11431 enableval=$enable_msgdlg;
11432 if test "$enableval" = yes; then
11433 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11434 else
11435 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11436 fi
11437
11438 else
11439
11440 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11441 if test "x$LINE" != x ; then
11442 eval "DEFAULT_$LINE"
11443 else
11444 no_cache=1
11445 fi
11446
11447 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11448
11449 fi
11450
11451
11452 eval "$ac_cv_use_msgdlg"
11453 if test "$no_cache" != 1; then
11454 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11455 fi
11456
11457 if test "$wxUSE_MSGDLG" = yes; then
11458 { echo "$as_me:$LINENO: result: yes" >&5
11459 echo "${ECHO_T}yes" >&6; }
11460 else
11461 { echo "$as_me:$LINENO: result: no" >&5
11462 echo "${ECHO_T}no" >&6; }
11463 fi
11464
11465
11466 enablestring=
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11469 no_cache=0
11470 # Check whether --enable-numberdlg was given.
11471 if test "${enable_numberdlg+set}" = set; then
11472 enableval=$enable_numberdlg;
11473 if test "$enableval" = yes; then
11474 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11475 else
11476 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11477 fi
11478
11479 else
11480
11481 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11482 if test "x$LINE" != x ; then
11483 eval "DEFAULT_$LINE"
11484 else
11485 no_cache=1
11486 fi
11487
11488 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11489
11490 fi
11491
11492
11493 eval "$ac_cv_use_numberdlg"
11494 if test "$no_cache" != 1; then
11495 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11496 fi
11497
11498 if test "$wxUSE_NUMBERDLG" = yes; then
11499 { echo "$as_me:$LINENO: result: yes" >&5
11500 echo "${ECHO_T}yes" >&6; }
11501 else
11502 { echo "$as_me:$LINENO: result: no" >&5
11503 echo "${ECHO_T}no" >&6; }
11504 fi
11505
11506
11507 enablestring=
11508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11509 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11510 no_cache=0
11511 # Check whether --enable-splash was given.
11512 if test "${enable_splash+set}" = set; then
11513 enableval=$enable_splash;
11514 if test "$enableval" = yes; then
11515 ac_cv_use_splash='wxUSE_SPLASH=yes'
11516 else
11517 ac_cv_use_splash='wxUSE_SPLASH=no'
11518 fi
11519
11520 else
11521
11522 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11523 if test "x$LINE" != x ; then
11524 eval "DEFAULT_$LINE"
11525 else
11526 no_cache=1
11527 fi
11528
11529 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11530
11531 fi
11532
11533
11534 eval "$ac_cv_use_splash"
11535 if test "$no_cache" != 1; then
11536 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11537 fi
11538
11539 if test "$wxUSE_SPLASH" = yes; then
11540 { echo "$as_me:$LINENO: result: yes" >&5
11541 echo "${ECHO_T}yes" >&6; }
11542 else
11543 { echo "$as_me:$LINENO: result: no" >&5
11544 echo "${ECHO_T}no" >&6; }
11545 fi
11546
11547
11548 enablestring=
11549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11550 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11551 no_cache=0
11552 # Check whether --enable-textdlg was given.
11553 if test "${enable_textdlg+set}" = set; then
11554 enableval=$enable_textdlg;
11555 if test "$enableval" = yes; then
11556 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11557 else
11558 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11559 fi
11560
11561 else
11562
11563 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11564 if test "x$LINE" != x ; then
11565 eval "DEFAULT_$LINE"
11566 else
11567 no_cache=1
11568 fi
11569
11570 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11571
11572 fi
11573
11574
11575 eval "$ac_cv_use_textdlg"
11576 if test "$no_cache" != 1; then
11577 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11578 fi
11579
11580 if test "$wxUSE_TEXTDLG" = yes; then
11581 { echo "$as_me:$LINENO: result: yes" >&5
11582 echo "${ECHO_T}yes" >&6; }
11583 else
11584 { echo "$as_me:$LINENO: result: no" >&5
11585 echo "${ECHO_T}no" >&6; }
11586 fi
11587
11588
11589 enablestring=
11590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11591 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11592 no_cache=0
11593 # Check whether --enable-tipdlg was given.
11594 if test "${enable_tipdlg+set}" = set; then
11595 enableval=$enable_tipdlg;
11596 if test "$enableval" = yes; then
11597 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11598 else
11599 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11600 fi
11601
11602 else
11603
11604 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11605 if test "x$LINE" != x ; then
11606 eval "DEFAULT_$LINE"
11607 else
11608 no_cache=1
11609 fi
11610
11611 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11612
11613 fi
11614
11615
11616 eval "$ac_cv_use_tipdlg"
11617 if test "$no_cache" != 1; then
11618 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11619 fi
11620
11621 if test "$wxUSE_STARTUP_TIPS" = yes; then
11622 { echo "$as_me:$LINENO: result: yes" >&5
11623 echo "${ECHO_T}yes" >&6; }
11624 else
11625 { echo "$as_me:$LINENO: result: no" >&5
11626 echo "${ECHO_T}no" >&6; }
11627 fi
11628
11629
11630 enablestring=
11631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11632 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11633 no_cache=0
11634 # Check whether --enable-progressdlg was given.
11635 if test "${enable_progressdlg+set}" = set; then
11636 enableval=$enable_progressdlg;
11637 if test "$enableval" = yes; then
11638 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11639 else
11640 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11641 fi
11642
11643 else
11644
11645 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11646 if test "x$LINE" != x ; then
11647 eval "DEFAULT_$LINE"
11648 else
11649 no_cache=1
11650 fi
11651
11652 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11653
11654 fi
11655
11656
11657 eval "$ac_cv_use_progressdlg"
11658 if test "$no_cache" != 1; then
11659 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11660 fi
11661
11662 if test "$wxUSE_PROGRESSDLG" = yes; then
11663 { echo "$as_me:$LINENO: result: yes" >&5
11664 echo "${ECHO_T}yes" >&6; }
11665 else
11666 { echo "$as_me:$LINENO: result: no" >&5
11667 echo "${ECHO_T}no" >&6; }
11668 fi
11669
11670
11671 enablestring=
11672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11673 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11674 no_cache=0
11675 # Check whether --enable-wizarddlg was given.
11676 if test "${enable_wizarddlg+set}" = set; then
11677 enableval=$enable_wizarddlg;
11678 if test "$enableval" = yes; then
11679 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11680 else
11681 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11682 fi
11683
11684 else
11685
11686 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11687 if test "x$LINE" != x ; then
11688 eval "DEFAULT_$LINE"
11689 else
11690 no_cache=1
11691 fi
11692
11693 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11694
11695 fi
11696
11697
11698 eval "$ac_cv_use_wizarddlg"
11699 if test "$no_cache" != 1; then
11700 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11701 fi
11702
11703 if test "$wxUSE_WIZARDDLG" = yes; then
11704 { echo "$as_me:$LINENO: result: yes" >&5
11705 echo "${ECHO_T}yes" >&6; }
11706 else
11707 { echo "$as_me:$LINENO: result: no" >&5
11708 echo "${ECHO_T}no" >&6; }
11709 fi
11710
11711
11712
11713
11714 enablestring=
11715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11716 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11717 no_cache=0
11718 # Check whether --enable-menus was given.
11719 if test "${enable_menus+set}" = set; then
11720 enableval=$enable_menus;
11721 if test "$enableval" = yes; then
11722 ac_cv_use_menus='wxUSE_MENUS=yes'
11723 else
11724 ac_cv_use_menus='wxUSE_MENUS=no'
11725 fi
11726
11727 else
11728
11729 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11730 if test "x$LINE" != x ; then
11731 eval "DEFAULT_$LINE"
11732 else
11733 no_cache=1
11734 fi
11735
11736 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11737
11738 fi
11739
11740
11741 eval "$ac_cv_use_menus"
11742 if test "$no_cache" != 1; then
11743 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11744 fi
11745
11746 if test "$wxUSE_MENUS" = yes; then
11747 { echo "$as_me:$LINENO: result: yes" >&5
11748 echo "${ECHO_T}yes" >&6; }
11749 else
11750 { echo "$as_me:$LINENO: result: no" >&5
11751 echo "${ECHO_T}no" >&6; }
11752 fi
11753
11754
11755 enablestring=
11756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11757 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11758 no_cache=0
11759 # Check whether --enable-miniframe was given.
11760 if test "${enable_miniframe+set}" = set; then
11761 enableval=$enable_miniframe;
11762 if test "$enableval" = yes; then
11763 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11764 else
11765 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11766 fi
11767
11768 else
11769
11770 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11771 if test "x$LINE" != x ; then
11772 eval "DEFAULT_$LINE"
11773 else
11774 no_cache=1
11775 fi
11776
11777 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11778
11779 fi
11780
11781
11782 eval "$ac_cv_use_miniframe"
11783 if test "$no_cache" != 1; then
11784 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11785 fi
11786
11787 if test "$wxUSE_MINIFRAME" = yes; then
11788 { echo "$as_me:$LINENO: result: yes" >&5
11789 echo "${ECHO_T}yes" >&6; }
11790 else
11791 { echo "$as_me:$LINENO: result: no" >&5
11792 echo "${ECHO_T}no" >&6; }
11793 fi
11794
11795
11796 enablestring=
11797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11798 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11799 no_cache=0
11800 # Check whether --enable-tooltips was given.
11801 if test "${enable_tooltips+set}" = set; then
11802 enableval=$enable_tooltips;
11803 if test "$enableval" = yes; then
11804 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11805 else
11806 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11807 fi
11808
11809 else
11810
11811 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11812 if test "x$LINE" != x ; then
11813 eval "DEFAULT_$LINE"
11814 else
11815 no_cache=1
11816 fi
11817
11818 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11819
11820 fi
11821
11822
11823 eval "$ac_cv_use_tooltips"
11824 if test "$no_cache" != 1; then
11825 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11826 fi
11827
11828 if test "$wxUSE_TOOLTIPS" = yes; then
11829 { echo "$as_me:$LINENO: result: yes" >&5
11830 echo "${ECHO_T}yes" >&6; }
11831 else
11832 { echo "$as_me:$LINENO: result: no" >&5
11833 echo "${ECHO_T}no" >&6; }
11834 fi
11835
11836
11837 enablestring=
11838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11839 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11840 no_cache=0
11841 # Check whether --enable-splines was given.
11842 if test "${enable_splines+set}" = set; then
11843 enableval=$enable_splines;
11844 if test "$enableval" = yes; then
11845 ac_cv_use_splines='wxUSE_SPLINES=yes'
11846 else
11847 ac_cv_use_splines='wxUSE_SPLINES=no'
11848 fi
11849
11850 else
11851
11852 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11853 if test "x$LINE" != x ; then
11854 eval "DEFAULT_$LINE"
11855 else
11856 no_cache=1
11857 fi
11858
11859 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11860
11861 fi
11862
11863
11864 eval "$ac_cv_use_splines"
11865 if test "$no_cache" != 1; then
11866 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11867 fi
11868
11869 if test "$wxUSE_SPLINES" = yes; then
11870 { echo "$as_me:$LINENO: result: yes" >&5
11871 echo "${ECHO_T}yes" >&6; }
11872 else
11873 { echo "$as_me:$LINENO: result: no" >&5
11874 echo "${ECHO_T}no" >&6; }
11875 fi
11876
11877
11878 enablestring=
11879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11880 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11881 no_cache=0
11882 # Check whether --enable-mousewheel was given.
11883 if test "${enable_mousewheel+set}" = set; then
11884 enableval=$enable_mousewheel;
11885 if test "$enableval" = yes; then
11886 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11887 else
11888 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11889 fi
11890
11891 else
11892
11893 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11894 if test "x$LINE" != x ; then
11895 eval "DEFAULT_$LINE"
11896 else
11897 no_cache=1
11898 fi
11899
11900 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11901
11902 fi
11903
11904
11905 eval "$ac_cv_use_mousewheel"
11906 if test "$no_cache" != 1; then
11907 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11908 fi
11909
11910 if test "$wxUSE_MOUSEWHEEL" = yes; then
11911 { echo "$as_me:$LINENO: result: yes" >&5
11912 echo "${ECHO_T}yes" >&6; }
11913 else
11914 { echo "$as_me:$LINENO: result: no" >&5
11915 echo "${ECHO_T}no" >&6; }
11916 fi
11917
11918
11919 enablestring=
11920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11921 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11922 no_cache=0
11923 # Check whether --enable-validators was given.
11924 if test "${enable_validators+set}" = set; then
11925 enableval=$enable_validators;
11926 if test "$enableval" = yes; then
11927 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11928 else
11929 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11930 fi
11931
11932 else
11933
11934 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11935 if test "x$LINE" != x ; then
11936 eval "DEFAULT_$LINE"
11937 else
11938 no_cache=1
11939 fi
11940
11941 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11942
11943 fi
11944
11945
11946 eval "$ac_cv_use_validators"
11947 if test "$no_cache" != 1; then
11948 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11949 fi
11950
11951 if test "$wxUSE_VALIDATORS" = yes; then
11952 { echo "$as_me:$LINENO: result: yes" >&5
11953 echo "${ECHO_T}yes" >&6; }
11954 else
11955 { echo "$as_me:$LINENO: result: no" >&5
11956 echo "${ECHO_T}no" >&6; }
11957 fi
11958
11959
11960 enablestring=
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11963 no_cache=0
11964 # Check whether --enable-busyinfo was given.
11965 if test "${enable_busyinfo+set}" = set; then
11966 enableval=$enable_busyinfo;
11967 if test "$enableval" = yes; then
11968 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11969 else
11970 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11971 fi
11972
11973 else
11974
11975 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11976 if test "x$LINE" != x ; then
11977 eval "DEFAULT_$LINE"
11978 else
11979 no_cache=1
11980 fi
11981
11982 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11983
11984 fi
11985
11986
11987 eval "$ac_cv_use_busyinfo"
11988 if test "$no_cache" != 1; then
11989 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11990 fi
11991
11992 if test "$wxUSE_BUSYINFO" = yes; then
11993 { echo "$as_me:$LINENO: result: yes" >&5
11994 echo "${ECHO_T}yes" >&6; }
11995 else
11996 { echo "$as_me:$LINENO: result: no" >&5
11997 echo "${ECHO_T}no" >&6; }
11998 fi
11999
12000
12001 enablestring=
12002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12003 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12004 no_cache=0
12005 # Check whether --enable-joystick was given.
12006 if test "${enable_joystick+set}" = set; then
12007 enableval=$enable_joystick;
12008 if test "$enableval" = yes; then
12009 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12010 else
12011 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12012 fi
12013
12014 else
12015
12016 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
12017 if test "x$LINE" != x ; then
12018 eval "DEFAULT_$LINE"
12019 else
12020 no_cache=1
12021 fi
12022
12023 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12024
12025 fi
12026
12027
12028 eval "$ac_cv_use_joystick"
12029 if test "$no_cache" != 1; then
12030 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12031 fi
12032
12033 if test "$wxUSE_JOYSTICK" = yes; then
12034 { echo "$as_me:$LINENO: result: yes" >&5
12035 echo "${ECHO_T}yes" >&6; }
12036 else
12037 { echo "$as_me:$LINENO: result: no" >&5
12038 echo "${ECHO_T}no" >&6; }
12039 fi
12040
12041
12042 enablestring=
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12045 no_cache=0
12046 # Check whether --enable-metafile was given.
12047 if test "${enable_metafile+set}" = set; then
12048 enableval=$enable_metafile;
12049 if test "$enableval" = yes; then
12050 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12051 else
12052 ac_cv_use_metafile='wxUSE_METAFILE=no'
12053 fi
12054
12055 else
12056
12057 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12058 if test "x$LINE" != x ; then
12059 eval "DEFAULT_$LINE"
12060 else
12061 no_cache=1
12062 fi
12063
12064 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12065
12066 fi
12067
12068
12069 eval "$ac_cv_use_metafile"
12070 if test "$no_cache" != 1; then
12071 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12072 fi
12073
12074 if test "$wxUSE_METAFILE" = yes; then
12075 { echo "$as_me:$LINENO: result: yes" >&5
12076 echo "${ECHO_T}yes" >&6; }
12077 else
12078 { echo "$as_me:$LINENO: result: no" >&5
12079 echo "${ECHO_T}no" >&6; }
12080 fi
12081
12082
12083 enablestring=
12084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12085 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12086 no_cache=0
12087 # Check whether --enable-dragimage was given.
12088 if test "${enable_dragimage+set}" = set; then
12089 enableval=$enable_dragimage;
12090 if test "$enableval" = yes; then
12091 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12092 else
12093 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12094 fi
12095
12096 else
12097
12098 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12099 if test "x$LINE" != x ; then
12100 eval "DEFAULT_$LINE"
12101 else
12102 no_cache=1
12103 fi
12104
12105 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12106
12107 fi
12108
12109
12110 eval "$ac_cv_use_dragimage"
12111 if test "$no_cache" != 1; then
12112 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12113 fi
12114
12115 if test "$wxUSE_DRAGIMAGE" = yes; then
12116 { echo "$as_me:$LINENO: result: yes" >&5
12117 echo "${ECHO_T}yes" >&6; }
12118 else
12119 { echo "$as_me:$LINENO: result: no" >&5
12120 echo "${ECHO_T}no" >&6; }
12121 fi
12122
12123
12124 enablestring=
12125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12126 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12127 no_cache=0
12128 # Check whether --enable-accessibility was given.
12129 if test "${enable_accessibility+set}" = set; then
12130 enableval=$enable_accessibility;
12131 if test "$enableval" = yes; then
12132 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12133 else
12134 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12135 fi
12136
12137 else
12138
12139 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12140 if test "x$LINE" != x ; then
12141 eval "DEFAULT_$LINE"
12142 else
12143 no_cache=1
12144 fi
12145
12146 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12147
12148 fi
12149
12150
12151 eval "$ac_cv_use_accessibility"
12152 if test "$no_cache" != 1; then
12153 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12154 fi
12155
12156 if test "$wxUSE_ACCESSIBILITY" = yes; then
12157 { echo "$as_me:$LINENO: result: yes" >&5
12158 echo "${ECHO_T}yes" >&6; }
12159 else
12160 { echo "$as_me:$LINENO: result: no" >&5
12161 echo "${ECHO_T}no" >&6; }
12162 fi
12163
12164
12165 if test "$wxUSE_MSW" = "1"; then
12166
12167 enablestring=
12168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12169 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12170 no_cache=0
12171 # Check whether --enable-dccache was given.
12172 if test "${enable_dccache+set}" = set; then
12173 enableval=$enable_dccache;
12174 if test "$enableval" = yes; then
12175 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12176 else
12177 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12178 fi
12179
12180 else
12181
12182 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12183 if test "x$LINE" != x ; then
12184 eval "DEFAULT_$LINE"
12185 else
12186 no_cache=1
12187 fi
12188
12189 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12190
12191 fi
12192
12193
12194 eval "$ac_cv_use_dccache"
12195 if test "$no_cache" != 1; then
12196 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12197 fi
12198
12199 if test "$wxUSE_DC_CACHEING" = yes; then
12200 { echo "$as_me:$LINENO: result: yes" >&5
12201 echo "${ECHO_T}yes" >&6; }
12202 else
12203 { echo "$as_me:$LINENO: result: no" >&5
12204 echo "${ECHO_T}no" >&6; }
12205 fi
12206
12207 fi
12208
12209
12210
12211 enablestring=
12212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12213 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12214 no_cache=0
12215 # Check whether --enable-palette was given.
12216 if test "${enable_palette+set}" = set; then
12217 enableval=$enable_palette;
12218 if test "$enableval" = yes; then
12219 ac_cv_use_palette='wxUSE_PALETTE=yes'
12220 else
12221 ac_cv_use_palette='wxUSE_PALETTE=no'
12222 fi
12223
12224 else
12225
12226 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12227 if test "x$LINE" != x ; then
12228 eval "DEFAULT_$LINE"
12229 else
12230 no_cache=1
12231 fi
12232
12233 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12234
12235 fi
12236
12237
12238 eval "$ac_cv_use_palette"
12239 if test "$no_cache" != 1; then
12240 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12241 fi
12242
12243 if test "$wxUSE_PALETTE" = yes; then
12244 { echo "$as_me:$LINENO: result: yes" >&5
12245 echo "${ECHO_T}yes" >&6; }
12246 else
12247 { echo "$as_me:$LINENO: result: no" >&5
12248 echo "${ECHO_T}no" >&6; }
12249 fi
12250
12251
12252 enablestring=
12253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12254 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12255 no_cache=0
12256 # Check whether --enable-image was given.
12257 if test "${enable_image+set}" = set; then
12258 enableval=$enable_image;
12259 if test "$enableval" = yes; then
12260 ac_cv_use_image='wxUSE_IMAGE=yes'
12261 else
12262 ac_cv_use_image='wxUSE_IMAGE=no'
12263 fi
12264
12265 else
12266
12267 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12268 if test "x$LINE" != x ; then
12269 eval "DEFAULT_$LINE"
12270 else
12271 no_cache=1
12272 fi
12273
12274 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12275
12276 fi
12277
12278
12279 eval "$ac_cv_use_image"
12280 if test "$no_cache" != 1; then
12281 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12282 fi
12283
12284 if test "$wxUSE_IMAGE" = yes; then
12285 { echo "$as_me:$LINENO: result: yes" >&5
12286 echo "${ECHO_T}yes" >&6; }
12287 else
12288 { echo "$as_me:$LINENO: result: no" >&5
12289 echo "${ECHO_T}no" >&6; }
12290 fi
12291
12292
12293 enablestring=
12294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12295 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12296 no_cache=0
12297 # Check whether --enable-gif was given.
12298 if test "${enable_gif+set}" = set; then
12299 enableval=$enable_gif;
12300 if test "$enableval" = yes; then
12301 ac_cv_use_gif='wxUSE_GIF=yes'
12302 else
12303 ac_cv_use_gif='wxUSE_GIF=no'
12304 fi
12305
12306 else
12307
12308 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12309 if test "x$LINE" != x ; then
12310 eval "DEFAULT_$LINE"
12311 else
12312 no_cache=1
12313 fi
12314
12315 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12316
12317 fi
12318
12319
12320 eval "$ac_cv_use_gif"
12321 if test "$no_cache" != 1; then
12322 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12323 fi
12324
12325 if test "$wxUSE_GIF" = yes; then
12326 { echo "$as_me:$LINENO: result: yes" >&5
12327 echo "${ECHO_T}yes" >&6; }
12328 else
12329 { echo "$as_me:$LINENO: result: no" >&5
12330 echo "${ECHO_T}no" >&6; }
12331 fi
12332
12333
12334 enablestring=
12335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12336 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12337 no_cache=0
12338 # Check whether --enable-pcx was given.
12339 if test "${enable_pcx+set}" = set; then
12340 enableval=$enable_pcx;
12341 if test "$enableval" = yes; then
12342 ac_cv_use_pcx='wxUSE_PCX=yes'
12343 else
12344 ac_cv_use_pcx='wxUSE_PCX=no'
12345 fi
12346
12347 else
12348
12349 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12350 if test "x$LINE" != x ; then
12351 eval "DEFAULT_$LINE"
12352 else
12353 no_cache=1
12354 fi
12355
12356 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12357
12358 fi
12359
12360
12361 eval "$ac_cv_use_pcx"
12362 if test "$no_cache" != 1; then
12363 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12364 fi
12365
12366 if test "$wxUSE_PCX" = yes; then
12367 { echo "$as_me:$LINENO: result: yes" >&5
12368 echo "${ECHO_T}yes" >&6; }
12369 else
12370 { echo "$as_me:$LINENO: result: no" >&5
12371 echo "${ECHO_T}no" >&6; }
12372 fi
12373
12374
12375 enablestring=
12376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12377 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12378 no_cache=0
12379 # Check whether --enable-tga was given.
12380 if test "${enable_tga+set}" = set; then
12381 enableval=$enable_tga;
12382 if test "$enableval" = yes; then
12383 ac_cv_use_tga='wxUSE_TGA=yes'
12384 else
12385 ac_cv_use_tga='wxUSE_TGA=no'
12386 fi
12387
12388 else
12389
12390 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12391 if test "x$LINE" != x ; then
12392 eval "DEFAULT_$LINE"
12393 else
12394 no_cache=1
12395 fi
12396
12397 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12398
12399 fi
12400
12401
12402 eval "$ac_cv_use_tga"
12403 if test "$no_cache" != 1; then
12404 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12405 fi
12406
12407 if test "$wxUSE_TGA" = yes; then
12408 { echo "$as_me:$LINENO: result: yes" >&5
12409 echo "${ECHO_T}yes" >&6; }
12410 else
12411 { echo "$as_me:$LINENO: result: no" >&5
12412 echo "${ECHO_T}no" >&6; }
12413 fi
12414
12415
12416 enablestring=
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12419 no_cache=0
12420 # Check whether --enable-iff was given.
12421 if test "${enable_iff+set}" = set; then
12422 enableval=$enable_iff;
12423 if test "$enableval" = yes; then
12424 ac_cv_use_iff='wxUSE_IFF=yes'
12425 else
12426 ac_cv_use_iff='wxUSE_IFF=no'
12427 fi
12428
12429 else
12430
12431 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12432 if test "x$LINE" != x ; then
12433 eval "DEFAULT_$LINE"
12434 else
12435 no_cache=1
12436 fi
12437
12438 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12439
12440 fi
12441
12442
12443 eval "$ac_cv_use_iff"
12444 if test "$no_cache" != 1; then
12445 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12446 fi
12447
12448 if test "$wxUSE_IFF" = yes; then
12449 { echo "$as_me:$LINENO: result: yes" >&5
12450 echo "${ECHO_T}yes" >&6; }
12451 else
12452 { echo "$as_me:$LINENO: result: no" >&5
12453 echo "${ECHO_T}no" >&6; }
12454 fi
12455
12456
12457 enablestring=
12458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12459 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12460 no_cache=0
12461 # Check whether --enable-pnm was given.
12462 if test "${enable_pnm+set}" = set; then
12463 enableval=$enable_pnm;
12464 if test "$enableval" = yes; then
12465 ac_cv_use_pnm='wxUSE_PNM=yes'
12466 else
12467 ac_cv_use_pnm='wxUSE_PNM=no'
12468 fi
12469
12470 else
12471
12472 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12473 if test "x$LINE" != x ; then
12474 eval "DEFAULT_$LINE"
12475 else
12476 no_cache=1
12477 fi
12478
12479 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12480
12481 fi
12482
12483
12484 eval "$ac_cv_use_pnm"
12485 if test "$no_cache" != 1; then
12486 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12487 fi
12488
12489 if test "$wxUSE_PNM" = yes; then
12490 { echo "$as_me:$LINENO: result: yes" >&5
12491 echo "${ECHO_T}yes" >&6; }
12492 else
12493 { echo "$as_me:$LINENO: result: no" >&5
12494 echo "${ECHO_T}no" >&6; }
12495 fi
12496
12497
12498 enablestring=
12499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12500 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12501 no_cache=0
12502 # Check whether --enable-xpm was given.
12503 if test "${enable_xpm+set}" = set; then
12504 enableval=$enable_xpm;
12505 if test "$enableval" = yes; then
12506 ac_cv_use_xpm='wxUSE_XPM=yes'
12507 else
12508 ac_cv_use_xpm='wxUSE_XPM=no'
12509 fi
12510
12511 else
12512
12513 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12514 if test "x$LINE" != x ; then
12515 eval "DEFAULT_$LINE"
12516 else
12517 no_cache=1
12518 fi
12519
12520 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12521
12522 fi
12523
12524
12525 eval "$ac_cv_use_xpm"
12526 if test "$no_cache" != 1; then
12527 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12528 fi
12529
12530 if test "$wxUSE_XPM" = yes; then
12531 { echo "$as_me:$LINENO: result: yes" >&5
12532 echo "${ECHO_T}yes" >&6; }
12533 else
12534 { echo "$as_me:$LINENO: result: no" >&5
12535 echo "${ECHO_T}no" >&6; }
12536 fi
12537
12538
12539 enablestring=
12540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12541 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12542 no_cache=0
12543 # Check whether --enable-ico_cur was given.
12544 if test "${enable_ico_cur+set}" = set; then
12545 enableval=$enable_ico_cur;
12546 if test "$enableval" = yes; then
12547 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12548 else
12549 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12550 fi
12551
12552 else
12553
12554 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12555 if test "x$LINE" != x ; then
12556 eval "DEFAULT_$LINE"
12557 else
12558 no_cache=1
12559 fi
12560
12561 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12562
12563 fi
12564
12565
12566 eval "$ac_cv_use_ico_cur"
12567 if test "$no_cache" != 1; then
12568 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12569 fi
12570
12571 if test "$wxUSE_ICO_CUR" = yes; then
12572 { echo "$as_me:$LINENO: result: yes" >&5
12573 echo "${ECHO_T}yes" >&6; }
12574 else
12575 { echo "$as_me:$LINENO: result: no" >&5
12576 echo "${ECHO_T}no" >&6; }
12577 fi
12578
12579
12580 fi
12581
12582
12583
12584 # Check whether --with-flavour was given.
12585 if test "${with_flavour+set}" = set; then
12586 withval=$with_flavour; WX_FLAVOUR="$withval"
12587 fi
12588
12589
12590
12591
12592 enablestring=
12593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12594 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12595 no_cache=0
12596 # Check whether --enable-official_build was given.
12597 if test "${enable_official_build+set}" = set; then
12598 enableval=$enable_official_build;
12599 if test "$enableval" = yes; then
12600 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12601 else
12602 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12603 fi
12604
12605 else
12606
12607 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12608 if test "x$LINE" != x ; then
12609 eval "DEFAULT_$LINE"
12610 else
12611 no_cache=1
12612 fi
12613
12614 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12615
12616 fi
12617
12618
12619 eval "$ac_cv_use_official_build"
12620 if test "$no_cache" != 1; then
12621 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12622 fi
12623
12624 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12625 { echo "$as_me:$LINENO: result: yes" >&5
12626 echo "${ECHO_T}yes" >&6; }
12627 else
12628 { echo "$as_me:$LINENO: result: no" >&5
12629 echo "${ECHO_T}no" >&6; }
12630 fi
12631
12632 # Check whether --enable-vendor was given.
12633 if test "${enable_vendor+set}" = set; then
12634 enableval=$enable_vendor; VENDOR="$enableval"
12635 fi
12636
12637 if test "x$VENDOR" = "x"; then
12638 VENDOR="custom"
12639 fi
12640
12641
12642
12643
12644 echo "saving argument cache $wx_arg_cache_file"
12645 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12646
12647
12648
12649 { echo "$as_me:$LINENO: checking for toolkit" >&5
12650 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12651
12652 # In Wine, we need to default to MSW, not GTK or MOTIF
12653 if test "$wxUSE_WINE" = "yes"; then
12654 DEFAULT_DEFAULT_wxUSE_GTK=0
12655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12656 DEFAULT_DEFAULT_wxUSE_MSW=1
12657 wxUSE_SHARED=no
12658 CC=${CC:-winegcc}
12659 CXX=${CXX:-wineg++}
12660 fi
12661
12662
12663 if test "$wxUSE_GUI" = "yes"; then
12664
12665 if test "$USE_BEOS" = 1; then
12666 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12667 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12668 { (exit 1); exit 1; }; }
12669 fi
12670
12671 if test "$TOOLKIT_GIVEN" = 1; then
12672 for toolkit in `echo $ALL_TOOLKITS`; do
12673 var=wxUSE_$toolkit
12674 eval "value=\$${var}"
12675 if test "x$value" = "xno"; then
12676 eval "$var=0"
12677 elif test "x$value" != "x"; then
12678 eval "$var=1"
12679 fi
12680
12681 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12682 eval "wx${toolkit}_VERSION=$value"
12683 fi
12684 done
12685 else
12686 for toolkit in `echo $ALL_TOOLKITS`; do
12687 if test "$has_toolkit_in_cache" != 1; then
12688 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12689 else
12690 var=DEFAULT_wxUSE_$toolkit
12691
12692 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12693 if test "x$version" != "x"; then
12694 eval "wx${toolkit}_VERSION=$version"
12695 fi
12696 fi
12697 eval "wxUSE_$toolkit=\$${var}"
12698 done
12699 fi
12700
12701 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12702 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12703 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12704
12705 case "${host}" in
12706 *-pc-os2_emx | *-pc-os2-emx )
12707 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12708 esac
12709
12710 case "$NUM_TOOLKITS" in
12711 1)
12712 ;;
12713 0)
12714 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12715 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12716 { (exit 1); exit 1; }; }
12717 ;;
12718 *)
12719 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12720 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12721 { (exit 1); exit 1; }; }
12722 esac
12723
12724 # to be removed when --disable-gtk2 isn't needed
12725 if test "x$wxUSE_GTK2" = "xyes"; then
12726 wxGTK_VERSION=2
12727 elif test "x$wxUSE_GTK2" = "xno"; then
12728 wxGTK_VERSION=1
12729 fi
12730
12731 for toolkit in `echo $ALL_TOOLKITS`; do
12732 var=wxUSE_$toolkit
12733 eval "value=\$${var}"
12734 if test "x$value" != x; then
12735 cache_var=CACHE_$toolkit
12736 eval "cache=\$${cache_var}"
12737 if test "$cache" = 1; then
12738 echo "$var=$value" >> ${wx_arg_cache_file}
12739 eval "version=\$wx${toolkit}_VERSION"
12740 if test "x$version" != "x"; then
12741 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12742 fi
12743 fi
12744 if test "$value" = 1; then
12745 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12746 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12747 echo "${ECHO_T}$toolkit_echo" >&6; }
12748 fi
12749 fi
12750 done
12751 else
12752 if test "x$host_alias" != "x"; then
12753 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12754 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12755 else
12756 { echo "$as_me:$LINENO: result: base only" >&5
12757 echo "${ECHO_T}base only" >&6; }
12758 fi
12759 fi
12760
12761
12762 cat >confcache <<\_ACEOF
12763 # This file is a shell script that caches the results of configure
12764 # tests run on this system so they can be shared between configure
12765 # scripts and configure runs, see configure's option --config-cache.
12766 # It is not useful on other systems. If it contains results you don't
12767 # want to keep, you may remove or edit it.
12768 #
12769 # config.status only pays attention to the cache file if you give it
12770 # the --recheck option to rerun configure.
12771 #
12772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12774 # following values.
12775
12776 _ACEOF
12777
12778 # The following way of writing the cache mishandles newlines in values,
12779 # but we know of no workaround that is simple, portable, and efficient.
12780 # So, we kill variables containing newlines.
12781 # Ultrix sh set writes to stderr and can't be redirected directly,
12782 # and sets the high bit in the cache file unless we assign to the vars.
12783 (
12784 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12785 eval ac_val=\$$ac_var
12786 case $ac_val in #(
12787 *${as_nl}*)
12788 case $ac_var in #(
12789 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12790 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12791 esac
12792 case $ac_var in #(
12793 _ | IFS | as_nl) ;; #(
12794 *) $as_unset $ac_var ;;
12795 esac ;;
12796 esac
12797 done
12798
12799 (set) 2>&1 |
12800 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12801 *${as_nl}ac_space=\ *)
12802 # `set' does not quote correctly, so add quotes (double-quote
12803 # substitution turns \\\\ into \\, and sed turns \\ into \).
12804 sed -n \
12805 "s/'/'\\\\''/g;
12806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12807 ;; #(
12808 *)
12809 # `set' quotes correctly as required by POSIX, so do not add quotes.
12810 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12811 ;;
12812 esac |
12813 sort
12814 ) |
12815 sed '
12816 /^ac_cv_env_/b end
12817 t clear
12818 :clear
12819 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12820 t end
12821 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12822 :end' >>confcache
12823 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12824 if test -w "$cache_file"; then
12825 test "x$cache_file" != "x/dev/null" &&
12826 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12827 echo "$as_me: updating cache $cache_file" >&6;}
12828 cat confcache >$cache_file
12829 else
12830 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12831 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12832 fi
12833 fi
12834 rm -f confcache
12835
12836 CFLAGS=${CFLAGS:=}
12837
12838
12839
12840 ac_ext=c
12841 ac_cpp='$CPP $CPPFLAGS'
12842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12845 if test -n "$ac_tool_prefix"; then
12846 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12847 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12850 if test "${ac_cv_prog_CC+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12852 else
12853 if test -n "$CC"; then
12854 ac_cv_prog_CC="$CC" # Let the user override the test.
12855 else
12856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12858 do
12859 IFS=$as_save_IFS
12860 test -z "$as_dir" && as_dir=.
12861 for ac_exec_ext in '' $ac_executable_extensions; do
12862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12863 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12865 break 2
12866 fi
12867 done
12868 done
12869 IFS=$as_save_IFS
12870
12871 fi
12872 fi
12873 CC=$ac_cv_prog_CC
12874 if test -n "$CC"; then
12875 { echo "$as_me:$LINENO: result: $CC" >&5
12876 echo "${ECHO_T}$CC" >&6; }
12877 else
12878 { echo "$as_me:$LINENO: result: no" >&5
12879 echo "${ECHO_T}no" >&6; }
12880 fi
12881
12882
12883 fi
12884 if test -z "$ac_cv_prog_CC"; then
12885 ac_ct_CC=$CC
12886 # Extract the first word of "gcc", so it can be a program name with args.
12887 set dummy gcc; ac_word=$2
12888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12890 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 else
12893 if test -n "$ac_ct_CC"; then
12894 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12895 else
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12898 do
12899 IFS=$as_save_IFS
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_ac_ct_CC="gcc"
12904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12905 break 2
12906 fi
12907 done
12908 done
12909 IFS=$as_save_IFS
12910
12911 fi
12912 fi
12913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12914 if test -n "$ac_ct_CC"; then
12915 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12916 echo "${ECHO_T}$ac_ct_CC" >&6; }
12917 else
12918 { echo "$as_me:$LINENO: result: no" >&5
12919 echo "${ECHO_T}no" >&6; }
12920 fi
12921
12922 if test "x$ac_ct_CC" = x; then
12923 CC=""
12924 else
12925 case $cross_compiling:$ac_tool_warned in
12926 yes:)
12927 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12928 whose name does not start with the host triplet. If you think this
12929 configuration is useful to you, please write to autoconf@gnu.org." >&5
12930 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12931 whose name does not start with the host triplet. If you think this
12932 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12933 ac_tool_warned=yes ;;
12934 esac
12935 CC=$ac_ct_CC
12936 fi
12937 else
12938 CC="$ac_cv_prog_CC"
12939 fi
12940
12941 if test -z "$CC"; then
12942 if test -n "$ac_tool_prefix"; then
12943 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12944 set dummy ${ac_tool_prefix}cc; ac_word=$2
12945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12947 if test "${ac_cv_prog_CC+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 if test -n "$CC"; then
12951 ac_cv_prog_CC="$CC" # Let the user override the test.
12952 else
12953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12954 for as_dir in $PATH
12955 do
12956 IFS=$as_save_IFS
12957 test -z "$as_dir" && as_dir=.
12958 for ac_exec_ext in '' $ac_executable_extensions; do
12959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12960 ac_cv_prog_CC="${ac_tool_prefix}cc"
12961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12962 break 2
12963 fi
12964 done
12965 done
12966 IFS=$as_save_IFS
12967
12968 fi
12969 fi
12970 CC=$ac_cv_prog_CC
12971 if test -n "$CC"; then
12972 { echo "$as_me:$LINENO: result: $CC" >&5
12973 echo "${ECHO_T}$CC" >&6; }
12974 else
12975 { echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6; }
12977 fi
12978
12979
12980 fi
12981 fi
12982 if test -z "$CC"; then
12983 # Extract the first word of "cc", so it can be a program name with args.
12984 set dummy cc; ac_word=$2
12985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12987 if test "${ac_cv_prog_CC+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 else
12990 if test -n "$CC"; then
12991 ac_cv_prog_CC="$CC" # Let the user override the test.
12992 else
12993 ac_prog_rejected=no
12994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12996 do
12997 IFS=$as_save_IFS
12998 test -z "$as_dir" && as_dir=.
12999 for ac_exec_ext in '' $ac_executable_extensions; do
13000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13001 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13002 ac_prog_rejected=yes
13003 continue
13004 fi
13005 ac_cv_prog_CC="cc"
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13007 break 2
13008 fi
13009 done
13010 done
13011 IFS=$as_save_IFS
13012
13013 if test $ac_prog_rejected = yes; then
13014 # We found a bogon in the path, so make sure we never use it.
13015 set dummy $ac_cv_prog_CC
13016 shift
13017 if test $# != 0; then
13018 # We chose a different compiler from the bogus one.
13019 # However, it has the same basename, so the bogon will be chosen
13020 # first if we set CC to just the basename; use the full file name.
13021 shift
13022 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13023 fi
13024 fi
13025 fi
13026 fi
13027 CC=$ac_cv_prog_CC
13028 if test -n "$CC"; then
13029 { echo "$as_me:$LINENO: result: $CC" >&5
13030 echo "${ECHO_T}$CC" >&6; }
13031 else
13032 { echo "$as_me:$LINENO: result: no" >&5
13033 echo "${ECHO_T}no" >&6; }
13034 fi
13035
13036
13037 fi
13038 if test -z "$CC"; then
13039 if test -n "$ac_tool_prefix"; then
13040 for ac_prog in cl.exe
13041 do
13042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13043 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13046 if test "${ac_cv_prog_CC+set}" = set; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 else
13049 if test -n "$CC"; then
13050 ac_cv_prog_CC="$CC" # Let the user override the test.
13051 else
13052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13053 for as_dir in $PATH
13054 do
13055 IFS=$as_save_IFS
13056 test -z "$as_dir" && as_dir=.
13057 for ac_exec_ext in '' $ac_executable_extensions; do
13058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13059 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13061 break 2
13062 fi
13063 done
13064 done
13065 IFS=$as_save_IFS
13066
13067 fi
13068 fi
13069 CC=$ac_cv_prog_CC
13070 if test -n "$CC"; then
13071 { echo "$as_me:$LINENO: result: $CC" >&5
13072 echo "${ECHO_T}$CC" >&6; }
13073 else
13074 { echo "$as_me:$LINENO: result: no" >&5
13075 echo "${ECHO_T}no" >&6; }
13076 fi
13077
13078
13079 test -n "$CC" && break
13080 done
13081 fi
13082 if test -z "$CC"; then
13083 ac_ct_CC=$CC
13084 for ac_prog in cl.exe
13085 do
13086 # Extract the first word of "$ac_prog", so it can be a program name with args.
13087 set dummy $ac_prog; ac_word=$2
13088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 else
13093 if test -n "$ac_ct_CC"; then
13094 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13095 else
13096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13097 for as_dir in $PATH
13098 do
13099 IFS=$as_save_IFS
13100 test -z "$as_dir" && as_dir=.
13101 for ac_exec_ext in '' $ac_executable_extensions; do
13102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13103 ac_cv_prog_ac_ct_CC="$ac_prog"
13104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13105 break 2
13106 fi
13107 done
13108 done
13109 IFS=$as_save_IFS
13110
13111 fi
13112 fi
13113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13114 if test -n "$ac_ct_CC"; then
13115 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13116 echo "${ECHO_T}$ac_ct_CC" >&6; }
13117 else
13118 { echo "$as_me:$LINENO: result: no" >&5
13119 echo "${ECHO_T}no" >&6; }
13120 fi
13121
13122
13123 test -n "$ac_ct_CC" && break
13124 done
13125
13126 if test "x$ac_ct_CC" = x; then
13127 CC=""
13128 else
13129 case $cross_compiling:$ac_tool_warned in
13130 yes:)
13131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13132 whose name does not start with the host triplet. If you think this
13133 configuration is useful to you, please write to autoconf@gnu.org." >&5
13134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13135 whose name does not start with the host triplet. If you think this
13136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13137 ac_tool_warned=yes ;;
13138 esac
13139 CC=$ac_ct_CC
13140 fi
13141 fi
13142
13143 fi
13144
13145
13146 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13147 See \`config.log' for more details." >&5
13148 echo "$as_me: error: no acceptable C compiler found in \$PATH
13149 See \`config.log' for more details." >&2;}
13150 { (exit 1); exit 1; }; }
13151
13152 # Provide some information about the compiler.
13153 echo "$as_me:$LINENO: checking for C compiler version" >&5
13154 ac_compiler=`set X $ac_compile; echo $2`
13155 { (ac_try="$ac_compiler --version >&5"
13156 case "(($ac_try" in
13157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13158 *) ac_try_echo=$ac_try;;
13159 esac
13160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13161 (eval "$ac_compiler --version >&5") 2>&5
13162 ac_status=$?
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }
13165 { (ac_try="$ac_compiler -v >&5"
13166 case "(($ac_try" in
13167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13168 *) ac_try_echo=$ac_try;;
13169 esac
13170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13171 (eval "$ac_compiler -v >&5") 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }
13175 { (ac_try="$ac_compiler -V >&5"
13176 case "(($ac_try" in
13177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178 *) ac_try_echo=$ac_try;;
13179 esac
13180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13181 (eval "$ac_compiler -V >&5") 2>&5
13182 ac_status=$?
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }
13185
13186 cat >conftest.$ac_ext <<_ACEOF
13187 /* confdefs.h. */
13188 _ACEOF
13189 cat confdefs.h >>conftest.$ac_ext
13190 cat >>conftest.$ac_ext <<_ACEOF
13191 /* end confdefs.h. */
13192
13193 int
13194 main ()
13195 {
13196
13197 ;
13198 return 0;
13199 }
13200 _ACEOF
13201 ac_clean_files_save=$ac_clean_files
13202 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13203 # Try to create an executable without -o first, disregard a.out.
13204 # It will help us diagnose broken compilers, and finding out an intuition
13205 # of exeext.
13206 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13207 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13208 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13209 #
13210 # List of possible output files, starting from the most likely.
13211 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13212 # only as a last resort. b.out is created by i960 compilers.
13213 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13214 #
13215 # The IRIX 6 linker writes into existing files which may not be
13216 # executable, retaining their permissions. Remove them first so a
13217 # subsequent execution test works.
13218 ac_rmfiles=
13219 for ac_file in $ac_files
13220 do
13221 case $ac_file in
13222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13223 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13224 esac
13225 done
13226 rm -f $ac_rmfiles
13227
13228 if { (ac_try="$ac_link_default"
13229 case "(($ac_try" in
13230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13231 *) ac_try_echo=$ac_try;;
13232 esac
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_link_default") 2>&5
13235 ac_status=$?
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; then
13238 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13239 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13240 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13241 # so that the user can short-circuit this test for compilers unknown to
13242 # Autoconf.
13243 for ac_file in $ac_files ''
13244 do
13245 test -f "$ac_file" || continue
13246 case $ac_file in
13247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13248 ;;
13249 [ab].out )
13250 # We found the default executable, but exeext='' is most
13251 # certainly right.
13252 break;;
13253 *.* )
13254 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13255 then :; else
13256 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13257 fi
13258 # We set ac_cv_exeext here because the later test for it is not
13259 # safe: cross compilers may not add the suffix if given an `-o'
13260 # argument, so we may need to know it at that point already.
13261 # Even if this section looks crufty: it has the advantage of
13262 # actually working.
13263 break;;
13264 * )
13265 break;;
13266 esac
13267 done
13268 test "$ac_cv_exeext" = no && ac_cv_exeext=
13269
13270 else
13271 ac_file=''
13272 fi
13273
13274 { echo "$as_me:$LINENO: result: $ac_file" >&5
13275 echo "${ECHO_T}$ac_file" >&6; }
13276 if test -z "$ac_file"; then
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.$ac_ext >&5
13279
13280 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13281 See \`config.log' for more details." >&5
13282 echo "$as_me: error: C compiler cannot create executables
13283 See \`config.log' for more details." >&2;}
13284 { (exit 77); exit 77; }; }
13285 fi
13286
13287 ac_exeext=$ac_cv_exeext
13288
13289 # Check that the compiler produces executables we can run. If not, either
13290 # the compiler is broken, or we cross compile.
13291 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13292 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13293 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13294 # If not cross compiling, check that we can run a simple program.
13295 if test "$cross_compiling" != yes; then
13296 if { ac_try='./$ac_file'
13297 { (case "(($ac_try" in
13298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13299 *) ac_try_echo=$ac_try;;
13300 esac
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_try") 2>&5
13303 ac_status=$?
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; }; then
13306 cross_compiling=no
13307 else
13308 if test "$cross_compiling" = maybe; then
13309 cross_compiling=yes
13310 else
13311 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13312 If you meant to cross compile, use \`--host'.
13313 See \`config.log' for more details." >&5
13314 echo "$as_me: error: cannot run C compiled programs.
13315 If you meant to cross compile, use \`--host'.
13316 See \`config.log' for more details." >&2;}
13317 { (exit 1); exit 1; }; }
13318 fi
13319 fi
13320 fi
13321 { echo "$as_me:$LINENO: result: yes" >&5
13322 echo "${ECHO_T}yes" >&6; }
13323
13324 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13325 ac_clean_files=$ac_clean_files_save
13326 # Check that the compiler produces executables we can run. If not, either
13327 # the compiler is broken, or we cross compile.
13328 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13329 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13330 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13331 echo "${ECHO_T}$cross_compiling" >&6; }
13332
13333 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13334 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13335 if { (ac_try="$ac_link"
13336 case "(($ac_try" in
13337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13338 *) ac_try_echo=$ac_try;;
13339 esac
13340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13341 (eval "$ac_link") 2>&5
13342 ac_status=$?
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; then
13345 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13346 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13347 # work properly (i.e., refer to `conftest.exe'), while it won't with
13348 # `rm'.
13349 for ac_file in conftest.exe conftest conftest.*; do
13350 test -f "$ac_file" || continue
13351 case $ac_file in
13352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13353 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13354 break;;
13355 * ) break;;
13356 esac
13357 done
13358 else
13359 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13360 See \`config.log' for more details." >&5
13361 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13362 See \`config.log' for more details." >&2;}
13363 { (exit 1); exit 1; }; }
13364 fi
13365
13366 rm -f conftest$ac_cv_exeext
13367 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13368 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13369
13370 rm -f conftest.$ac_ext
13371 EXEEXT=$ac_cv_exeext
13372 ac_exeext=$EXEEXT
13373 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13374 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13375 if test "${ac_cv_objext+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 else
13378 cat >conftest.$ac_ext <<_ACEOF
13379 /* confdefs.h. */
13380 _ACEOF
13381 cat confdefs.h >>conftest.$ac_ext
13382 cat >>conftest.$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13384
13385 int
13386 main ()
13387 {
13388
13389 ;
13390 return 0;
13391 }
13392 _ACEOF
13393 rm -f conftest.o conftest.obj
13394 if { (ac_try="$ac_compile"
13395 case "(($ac_try" in
13396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13397 *) ac_try_echo=$ac_try;;
13398 esac
13399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13400 (eval "$ac_compile") 2>&5
13401 ac_status=$?
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; then
13404 for ac_file in conftest.o conftest.obj conftest.*; do
13405 test -f "$ac_file" || continue;
13406 case $ac_file in
13407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13409 break;;
13410 esac
13411 done
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13417 See \`config.log' for more details." >&5
13418 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13419 See \`config.log' for more details." >&2;}
13420 { (exit 1); exit 1; }; }
13421 fi
13422
13423 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13424 fi
13425 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13426 echo "${ECHO_T}$ac_cv_objext" >&6; }
13427 OBJEXT=$ac_cv_objext
13428 ac_objext=$OBJEXT
13429 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13430 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13431 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13434 cat >conftest.$ac_ext <<_ACEOF
13435 /* confdefs.h. */
13436 _ACEOF
13437 cat confdefs.h >>conftest.$ac_ext
13438 cat >>conftest.$ac_ext <<_ACEOF
13439 /* end confdefs.h. */
13440
13441 int
13442 main ()
13443 {
13444 #ifndef __GNUC__
13445 choke me
13446 #endif
13447
13448 ;
13449 return 0;
13450 }
13451 _ACEOF
13452 rm -f conftest.$ac_objext
13453 if { (ac_try="$ac_compile"
13454 case "(($ac_try" in
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456 *) ac_try_echo=$ac_try;;
13457 esac
13458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13459 (eval "$ac_compile") 2>conftest.er1
13460 ac_status=$?
13461 grep -v '^ *+' conftest.er1 >conftest.err
13462 rm -f conftest.er1
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } && {
13466 test -z "$ac_c_werror_flag" ||
13467 test ! -s conftest.err
13468 } && test -s conftest.$ac_objext; then
13469 ac_compiler_gnu=yes
13470 else
13471 echo "$as_me: failed program was:" >&5
13472 sed 's/^/| /' conftest.$ac_ext >&5
13473
13474 ac_compiler_gnu=no
13475 fi
13476
13477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13478 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13479
13480 fi
13481 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13482 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13483 GCC=`test $ac_compiler_gnu = yes && echo yes`
13484 ac_test_CFLAGS=${CFLAGS+set}
13485 ac_save_CFLAGS=$CFLAGS
13486 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13487 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13488 if test "${ac_cv_prog_cc_g+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 else
13491 ac_save_c_werror_flag=$ac_c_werror_flag
13492 ac_c_werror_flag=yes
13493 ac_cv_prog_cc_g=no
13494 CFLAGS="-g"
13495 cat >conftest.$ac_ext <<_ACEOF
13496 /* confdefs.h. */
13497 _ACEOF
13498 cat confdefs.h >>conftest.$ac_ext
13499 cat >>conftest.$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13501
13502 int
13503 main ()
13504 {
13505
13506 ;
13507 return 0;
13508 }
13509 _ACEOF
13510 rm -f conftest.$ac_objext
13511 if { (ac_try="$ac_compile"
13512 case "(($ac_try" in
13513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13514 *) ac_try_echo=$ac_try;;
13515 esac
13516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13517 (eval "$ac_compile") 2>conftest.er1
13518 ac_status=$?
13519 grep -v '^ *+' conftest.er1 >conftest.err
13520 rm -f conftest.er1
13521 cat conftest.err >&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } && {
13524 test -z "$ac_c_werror_flag" ||
13525 test ! -s conftest.err
13526 } && test -s conftest.$ac_objext; then
13527 ac_cv_prog_cc_g=yes
13528 else
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.$ac_ext >&5
13531
13532 CFLAGS=""
13533 cat >conftest.$ac_ext <<_ACEOF
13534 /* confdefs.h. */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539
13540 int
13541 main ()
13542 {
13543
13544 ;
13545 return 0;
13546 }
13547 _ACEOF
13548 rm -f conftest.$ac_objext
13549 if { (ac_try="$ac_compile"
13550 case "(($ac_try" in
13551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13552 *) ac_try_echo=$ac_try;;
13553 esac
13554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13555 (eval "$ac_compile") 2>conftest.er1
13556 ac_status=$?
13557 grep -v '^ *+' conftest.er1 >conftest.err
13558 rm -f conftest.er1
13559 cat conftest.err >&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } && {
13562 test -z "$ac_c_werror_flag" ||
13563 test ! -s conftest.err
13564 } && test -s conftest.$ac_objext; then
13565 :
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13569
13570 ac_c_werror_flag=$ac_save_c_werror_flag
13571 CFLAGS="-g"
13572 cat >conftest.$ac_ext <<_ACEOF
13573 /* confdefs.h. */
13574 _ACEOF
13575 cat confdefs.h >>conftest.$ac_ext
13576 cat >>conftest.$ac_ext <<_ACEOF
13577 /* end confdefs.h. */
13578
13579 int
13580 main ()
13581 {
13582
13583 ;
13584 return 0;
13585 }
13586 _ACEOF
13587 rm -f conftest.$ac_objext
13588 if { (ac_try="$ac_compile"
13589 case "(($ac_try" in
13590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13591 *) ac_try_echo=$ac_try;;
13592 esac
13593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13594 (eval "$ac_compile") 2>conftest.er1
13595 ac_status=$?
13596 grep -v '^ *+' conftest.er1 >conftest.err
13597 rm -f conftest.er1
13598 cat conftest.err >&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } && {
13601 test -z "$ac_c_werror_flag" ||
13602 test ! -s conftest.err
13603 } && test -s conftest.$ac_objext; then
13604 ac_cv_prog_cc_g=yes
13605 else
13606 echo "$as_me: failed program was:" >&5
13607 sed 's/^/| /' conftest.$ac_ext >&5
13608
13609
13610 fi
13611
13612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13613 fi
13614
13615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13616 fi
13617
13618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13619 ac_c_werror_flag=$ac_save_c_werror_flag
13620 fi
13621 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13622 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13623 if test "$ac_test_CFLAGS" = set; then
13624 CFLAGS=$ac_save_CFLAGS
13625 elif test $ac_cv_prog_cc_g = yes; then
13626 if test "$GCC" = yes; then
13627 CFLAGS="-g -O2"
13628 else
13629 CFLAGS="-g"
13630 fi
13631 else
13632 if test "$GCC" = yes; then
13633 CFLAGS="-O2"
13634 else
13635 CFLAGS=
13636 fi
13637 fi
13638 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13639 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13640 if test "${ac_cv_prog_cc_c89+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 else
13643 ac_cv_prog_cc_c89=no
13644 ac_save_CC=$CC
13645 cat >conftest.$ac_ext <<_ACEOF
13646 /* confdefs.h. */
13647 _ACEOF
13648 cat confdefs.h >>conftest.$ac_ext
13649 cat >>conftest.$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13651 #include <stdarg.h>
13652 #include <stdio.h>
13653 #include <sys/types.h>
13654 #include <sys/stat.h>
13655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13656 struct buf { int x; };
13657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13658 static char *e (p, i)
13659 char **p;
13660 int i;
13661 {
13662 return p[i];
13663 }
13664 static char *f (char * (*g) (char **, int), char **p, ...)
13665 {
13666 char *s;
13667 va_list v;
13668 va_start (v,p);
13669 s = g (p, va_arg (v,int));
13670 va_end (v);
13671 return s;
13672 }
13673
13674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13675 function prototypes and stuff, but not '\xHH' hex character constants.
13676 These don't provoke an error unfortunately, instead are silently treated
13677 as 'x'. The following induces an error, until -std is added to get
13678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13679 array size at least. It's necessary to write '\x00'==0 to get something
13680 that's true only with -std. */
13681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13682
13683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13684 inside strings and character constants. */
13685 #define FOO(x) 'x'
13686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13687
13688 int test (int i, double x);
13689 struct s1 {int (*f) (int a);};
13690 struct s2 {int (*f) (double a);};
13691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13692 int argc;
13693 char **argv;
13694 int
13695 main ()
13696 {
13697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13698 ;
13699 return 0;
13700 }
13701 _ACEOF
13702 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13704 do
13705 CC="$ac_save_CC $ac_arg"
13706 rm -f conftest.$ac_objext
13707 if { (ac_try="$ac_compile"
13708 case "(($ac_try" in
13709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13710 *) ac_try_echo=$ac_try;;
13711 esac
13712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13713 (eval "$ac_compile") 2>conftest.er1
13714 ac_status=$?
13715 grep -v '^ *+' conftest.er1 >conftest.err
13716 rm -f conftest.er1
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } && {
13720 test -z "$ac_c_werror_flag" ||
13721 test ! -s conftest.err
13722 } && test -s conftest.$ac_objext; then
13723 ac_cv_prog_cc_c89=$ac_arg
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13727
13728
13729 fi
13730
13731 rm -f core conftest.err conftest.$ac_objext
13732 test "x$ac_cv_prog_cc_c89" != "xno" && break
13733 done
13734 rm -f conftest.$ac_ext
13735 CC=$ac_save_CC
13736
13737 fi
13738 # AC_CACHE_VAL
13739 case "x$ac_cv_prog_cc_c89" in
13740 x)
13741 { echo "$as_me:$LINENO: result: none needed" >&5
13742 echo "${ECHO_T}none needed" >&6; } ;;
13743 xno)
13744 { echo "$as_me:$LINENO: result: unsupported" >&5
13745 echo "${ECHO_T}unsupported" >&6; } ;;
13746 *)
13747 CC="$CC $ac_cv_prog_cc_c89"
13748 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13749 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13750 esac
13751
13752
13753 ac_ext=c
13754 ac_cpp='$CPP $CPPFLAGS'
13755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13758
13759
13760
13761 ac_ext=c
13762 ac_cpp='$CPP $CPPFLAGS'
13763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13766
13767 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13768 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13769 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13771 else
13772 cat >conftest.$ac_ext <<_ACEOF
13773 /* confdefs.h. */
13774 _ACEOF
13775 cat confdefs.h >>conftest.$ac_ext
13776 cat >>conftest.$ac_ext <<_ACEOF
13777 /* end confdefs.h. */
13778
13779 int
13780 main ()
13781 {
13782
13783 #ifndef __INTEL_COMPILER
13784 choke me
13785 #endif
13786
13787 ;
13788 return 0;
13789 }
13790 _ACEOF
13791 rm -f conftest.$ac_objext
13792 if { (ac_try="$ac_compile"
13793 case "(($ac_try" in
13794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13795 *) ac_try_echo=$ac_try;;
13796 esac
13797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13798 (eval "$ac_compile") 2>conftest.er1
13799 ac_status=$?
13800 grep -v '^ *+' conftest.er1 >conftest.err
13801 rm -f conftest.er1
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } && {
13805 test -z "$ac_c_werror_flag" ||
13806 test ! -s conftest.err
13807 } && test -s conftest.$ac_objext; then
13808 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13809 else
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13812
13813 bakefile_cv_c_compiler___INTEL_COMPILER=no
13814
13815 fi
13816
13817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13818
13819
13820 fi
13821 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13822 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13823 ac_ext=c
13824 ac_cpp='$CPP $CPPFLAGS'
13825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13828
13829 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13830 :; INTELCC=yes
13831 else
13832 :;
13833 fi
13834
13835
13836 if test "x$GCC" != "xyes"; then
13837 if test "xCC" = "xC"; then
13838 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13839 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13840 if test "${bakefile_cv_c_exto+set}" = set; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 else
13843 cat >conftest.$ac_ext <<_ACEOF
13844 /* confdefs.h. */
13845 _ACEOF
13846 cat confdefs.h >>conftest.$ac_ext
13847 cat >>conftest.$ac_ext <<_ACEOF
13848 /* end confdefs.h. */
13849
13850 int
13851 main ()
13852 {
13853
13854 ;
13855 return 0;
13856 }
13857 _ACEOF
13858 rm -f conftest.$ac_objext conftest.$ac_ext.o
13859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13860 (eval $ac_compile) 2>&5
13861 ac_status=$?
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; then
13864 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13865 case $ac_file in
13866 conftest.$ac_ext.o)
13867 bakefile_cv_c_exto="-ext o"
13868 ;;
13869 *)
13870 ;;
13871 esac
13872 done
13873 else
13874 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13875 See \`config.log' for more details." >&5
13876 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13877 See \`config.log' for more details." >&2;}
13878 { (exit 1); exit 1; }; }
13879
13880 fi
13881
13882 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13883
13884 fi
13885 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13886 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13887 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13888 if test "c" = "c"; then
13889 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13890 fi
13891 if test "c" = "cxx"; then
13892 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13893 fi
13894 fi
13895
13896 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13897 unset ac_cv_prog_cc_g
13898 ac_test_CFLAGS=${CFLAGS+set}
13899 ac_save_CFLAGS=$CFLAGS
13900 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13901 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13902 if test "${ac_cv_prog_cc_g+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 ac_save_c_werror_flag=$ac_c_werror_flag
13906 ac_c_werror_flag=yes
13907 ac_cv_prog_cc_g=no
13908 CFLAGS="-g"
13909 cat >conftest.$ac_ext <<_ACEOF
13910 /* confdefs.h. */
13911 _ACEOF
13912 cat confdefs.h >>conftest.$ac_ext
13913 cat >>conftest.$ac_ext <<_ACEOF
13914 /* end confdefs.h. */
13915
13916 int
13917 main ()
13918 {
13919
13920 ;
13921 return 0;
13922 }
13923 _ACEOF
13924 rm -f conftest.$ac_objext
13925 if { (ac_try="$ac_compile"
13926 case "(($ac_try" in
13927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13928 *) ac_try_echo=$ac_try;;
13929 esac
13930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13931 (eval "$ac_compile") 2>conftest.er1
13932 ac_status=$?
13933 grep -v '^ *+' conftest.er1 >conftest.err
13934 rm -f conftest.er1
13935 cat conftest.err >&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } && {
13938 test -z "$ac_c_werror_flag" ||
13939 test ! -s conftest.err
13940 } && test -s conftest.$ac_objext; then
13941 ac_cv_prog_cc_g=yes
13942 else
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13945
13946 CFLAGS=""
13947 cat >conftest.$ac_ext <<_ACEOF
13948 /* confdefs.h. */
13949 _ACEOF
13950 cat confdefs.h >>conftest.$ac_ext
13951 cat >>conftest.$ac_ext <<_ACEOF
13952 /* end confdefs.h. */
13953
13954 int
13955 main ()
13956 {
13957
13958 ;
13959 return 0;
13960 }
13961 _ACEOF
13962 rm -f conftest.$ac_objext
13963 if { (ac_try="$ac_compile"
13964 case "(($ac_try" in
13965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13966 *) ac_try_echo=$ac_try;;
13967 esac
13968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13969 (eval "$ac_compile") 2>conftest.er1
13970 ac_status=$?
13971 grep -v '^ *+' conftest.er1 >conftest.err
13972 rm -f conftest.er1
13973 cat conftest.err >&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } && {
13976 test -z "$ac_c_werror_flag" ||
13977 test ! -s conftest.err
13978 } && test -s conftest.$ac_objext; then
13979 :
13980 else
13981 echo "$as_me: failed program was:" >&5
13982 sed 's/^/| /' conftest.$ac_ext >&5
13983
13984 ac_c_werror_flag=$ac_save_c_werror_flag
13985 CFLAGS="-g"
13986 cat >conftest.$ac_ext <<_ACEOF
13987 /* confdefs.h. */
13988 _ACEOF
13989 cat confdefs.h >>conftest.$ac_ext
13990 cat >>conftest.$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13992
13993 int
13994 main ()
13995 {
13996
13997 ;
13998 return 0;
13999 }
14000 _ACEOF
14001 rm -f conftest.$ac_objext
14002 if { (ac_try="$ac_compile"
14003 case "(($ac_try" in
14004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14005 *) ac_try_echo=$ac_try;;
14006 esac
14007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14008 (eval "$ac_compile") 2>conftest.er1
14009 ac_status=$?
14010 grep -v '^ *+' conftest.er1 >conftest.err
14011 rm -f conftest.er1
14012 cat conftest.err >&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } && {
14015 test -z "$ac_c_werror_flag" ||
14016 test ! -s conftest.err
14017 } && test -s conftest.$ac_objext; then
14018 ac_cv_prog_cc_g=yes
14019 else
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14022
14023
14024 fi
14025
14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14027 fi
14028
14029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14030 fi
14031
14032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14033 ac_c_werror_flag=$ac_save_c_werror_flag
14034 fi
14035 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14036 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14037 if test "$ac_test_CFLAGS" = set; then
14038 CFLAGS=$ac_save_CFLAGS
14039 elif test $ac_cv_prog_cc_g = yes; then
14040 if test "$GCC" = yes; then
14041 CFLAGS="-g -O2"
14042 else
14043 CFLAGS="-g"
14044 fi
14045 else
14046 if test "$GCC" = yes; then
14047 CFLAGS="-O2"
14048 else
14049 CFLAGS=
14050 fi
14051 fi
14052 fi
14053 fi
14054
14055 case `uname -s` in
14056 AIX*)
14057 ac_ext=c
14058 ac_cpp='$CPP $CPPFLAGS'
14059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14062
14063 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14064 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14065 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 else
14068 cat >conftest.$ac_ext <<_ACEOF
14069 /* confdefs.h. */
14070 _ACEOF
14071 cat confdefs.h >>conftest.$ac_ext
14072 cat >>conftest.$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14074
14075 int
14076 main ()
14077 {
14078 #ifndef __xlC__
14079 choke me
14080 #endif
14081
14082 ;
14083 return 0;
14084 }
14085 _ACEOF
14086 rm -f conftest.$ac_objext
14087 if { (ac_try="$ac_compile"
14088 case "(($ac_try" in
14089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14090 *) ac_try_echo=$ac_try;;
14091 esac
14092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14093 (eval "$ac_compile") 2>conftest.er1
14094 ac_status=$?
14095 grep -v '^ *+' conftest.er1 >conftest.err
14096 rm -f conftest.er1
14097 cat conftest.err >&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } && {
14100 test -z "$ac_c_werror_flag" ||
14101 test ! -s conftest.err
14102 } && test -s conftest.$ac_objext; then
14103 bakefile_compiler_xlc=yes
14104 else
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.$ac_ext >&5
14107
14108 bakefile_compiler_xlc=no
14109 fi
14110
14111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14112 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14113
14114 fi
14115 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14116 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14117
14118 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14119 ac_ext=c
14120 ac_cpp='$CPP $CPPFLAGS'
14121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14124
14125
14126 ;;
14127
14128 Darwin)
14129 ac_ext=c
14130 ac_cpp='$CPP $CPPFLAGS'
14131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14134
14135 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14136 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14137 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 else
14140 cat >conftest.$ac_ext <<_ACEOF
14141 /* confdefs.h. */
14142 _ACEOF
14143 cat confdefs.h >>conftest.$ac_ext
14144 cat >>conftest.$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14146
14147 int
14148 main ()
14149 {
14150 #ifndef __MWERKS__
14151 choke me
14152 #endif
14153
14154 ;
14155 return 0;
14156 }
14157 _ACEOF
14158 rm -f conftest.$ac_objext
14159 if { (ac_try="$ac_compile"
14160 case "(($ac_try" in
14161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14162 *) ac_try_echo=$ac_try;;
14163 esac
14164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165 (eval "$ac_compile") 2>conftest.er1
14166 ac_status=$?
14167 grep -v '^ *+' conftest.er1 >conftest.err
14168 rm -f conftest.er1
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } && {
14172 test -z "$ac_c_werror_flag" ||
14173 test ! -s conftest.err
14174 } && test -s conftest.$ac_objext; then
14175 bakefile_compiler_mwerks=yes
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14179
14180 bakefile_compiler_mwerks=no
14181 fi
14182
14183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14184 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14185
14186 fi
14187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14188 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14189
14190 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14191 ac_ext=c
14192 ac_cpp='$CPP $CPPFLAGS'
14193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14196
14197
14198 ac_ext=c
14199 ac_cpp='$CPP $CPPFLAGS'
14200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14203
14204 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14205 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14206 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 else
14209 cat >conftest.$ac_ext <<_ACEOF
14210 /* confdefs.h. */
14211 _ACEOF
14212 cat confdefs.h >>conftest.$ac_ext
14213 cat >>conftest.$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14215
14216 int
14217 main ()
14218 {
14219 #ifndef __xlC__
14220 choke me
14221 #endif
14222
14223 ;
14224 return 0;
14225 }
14226 _ACEOF
14227 rm -f conftest.$ac_objext
14228 if { (ac_try="$ac_compile"
14229 case "(($ac_try" in
14230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14231 *) ac_try_echo=$ac_try;;
14232 esac
14233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14234 (eval "$ac_compile") 2>conftest.er1
14235 ac_status=$?
14236 grep -v '^ *+' conftest.er1 >conftest.err
14237 rm -f conftest.er1
14238 cat conftest.err >&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); } && {
14241 test -z "$ac_c_werror_flag" ||
14242 test ! -s conftest.err
14243 } && test -s conftest.$ac_objext; then
14244 bakefile_compiler_xlc=yes
14245 else
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14248
14249 bakefile_compiler_xlc=no
14250 fi
14251
14252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14253 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14254
14255 fi
14256 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14257 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14258
14259 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14260 ac_ext=c
14261 ac_cpp='$CPP $CPPFLAGS'
14262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14265
14266
14267 ;;
14268
14269 IRIX*)
14270
14271
14272 ac_ext=c
14273 ac_cpp='$CPP $CPPFLAGS'
14274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14277
14278 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14279 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14280 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14281 echo $ECHO_N "(cached) $ECHO_C" >&6
14282 else
14283 cat >conftest.$ac_ext <<_ACEOF
14284 /* confdefs.h. */
14285 _ACEOF
14286 cat confdefs.h >>conftest.$ac_ext
14287 cat >>conftest.$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14289
14290 int
14291 main ()
14292 {
14293
14294 #ifndef _SGI_COMPILER_VERSION
14295 choke me
14296 #endif
14297
14298 ;
14299 return 0;
14300 }
14301 _ACEOF
14302 rm -f conftest.$ac_objext
14303 if { (ac_try="$ac_compile"
14304 case "(($ac_try" in
14305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14306 *) ac_try_echo=$ac_try;;
14307 esac
14308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14309 (eval "$ac_compile") 2>conftest.er1
14310 ac_status=$?
14311 grep -v '^ *+' conftest.er1 >conftest.err
14312 rm -f conftest.er1
14313 cat conftest.err >&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } && {
14316 test -z "$ac_c_werror_flag" ||
14317 test ! -s conftest.err
14318 } && test -s conftest.$ac_objext; then
14319 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14320 else
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14323
14324 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14325
14326 fi
14327
14328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14329
14330
14331 fi
14332 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14333 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14334 ac_ext=c
14335 ac_cpp='$CPP $CPPFLAGS'
14336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14339
14340 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14341 :; SGICC=yes
14342 else
14343 :;
14344 fi
14345
14346
14347 ;;
14348
14349 HP-UX*)
14350
14351
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357
14358 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 else
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369
14370 int
14371 main ()
14372 {
14373
14374 #ifndef __HP_cc
14375 choke me
14376 #endif
14377
14378 ;
14379 return 0;
14380 }
14381 _ACEOF
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14390 ac_status=$?
14391 grep -v '^ *+' conftest.er1 >conftest.err
14392 rm -f conftest.er1
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler___HP_cc=yes
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 bakefile_cv_c_compiler___HP_cc=no
14405
14406 fi
14407
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409
14410
14411 fi
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14414 ac_ext=c
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419
14420 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14421 :; HPCC=yes
14422 else
14423 :;
14424 fi
14425
14426
14427 ;;
14428
14429 OSF1)
14430
14431
14432 ac_ext=c
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14437
14438 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 else
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449
14450 int
14451 main ()
14452 {
14453
14454 #ifndef __DECC
14455 choke me
14456 #endif
14457
14458 ;
14459 return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___DECC=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 bakefile_cv_c_compiler___DECC=no
14485
14486 fi
14487
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489
14490
14491 fi
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499
14500 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14501 :; COMPAQCC=yes
14502 else
14503 :;
14504 fi
14505
14506
14507 ;;
14508
14509 SunOS)
14510
14511
14512 ac_ext=c
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14517
14518 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 else
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14529
14530 int
14531 main ()
14532 {
14533
14534 #ifndef __SUNPRO_C
14535 choke me
14536 #endif
14537
14538 ;
14539 return 0;
14540 }
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___SUNPRO_C=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14563
14564 bakefile_cv_c_compiler___SUNPRO_C=no
14565
14566 fi
14567
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569
14570
14571 fi
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14574 ac_ext=c
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14579
14580 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14581 :; SUNCC=yes
14582 else
14583 :;
14584 fi
14585
14586
14587 ;;
14588 esac
14589 fi
14590
14591
14592
14593 ac_ext=c
14594 ac_cpp='$CPP $CPPFLAGS'
14595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14598 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14599 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14600 # On Suns, sometimes $CPP names a directory.
14601 if test -n "$CPP" && test -d "$CPP"; then
14602 CPP=
14603 fi
14604 if test -z "$CPP"; then
14605 if test "${ac_cv_prog_CPP+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 else
14608 # Double quotes because CPP needs to be expanded
14609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14610 do
14611 ac_preproc_ok=false
14612 for ac_c_preproc_warn_flag in '' yes
14613 do
14614 # Use a header file that comes with gcc, so configuring glibc
14615 # with a fresh cross-compiler works.
14616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14617 # <limits.h> exists even on freestanding compilers.
14618 # On the NeXT, cc -E runs the code through the compiler's parser,
14619 # not just through cpp. "Syntax error" is here to catch this case.
14620 cat >conftest.$ac_ext <<_ACEOF
14621 /* confdefs.h. */
14622 _ACEOF
14623 cat confdefs.h >>conftest.$ac_ext
14624 cat >>conftest.$ac_ext <<_ACEOF
14625 /* end confdefs.h. */
14626 #ifdef __STDC__
14627 # include <limits.h>
14628 #else
14629 # include <assert.h>
14630 #endif
14631 Syntax error
14632 _ACEOF
14633 if { (ac_try="$ac_cpp conftest.$ac_ext"
14634 case "(($ac_try" in
14635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14637 esac
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14640 ac_status=$?
14641 grep -v '^ *+' conftest.er1 >conftest.err
14642 rm -f conftest.er1
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } >/dev/null && {
14646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14648 }; then
14649 :
14650 else
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14653
14654 # Broken: fails on valid input.
14655 continue
14656 fi
14657
14658 rm -f conftest.err conftest.$ac_ext
14659
14660 # OK, works on sane cases. Now check whether nonexistent headers
14661 # can be detected and how.
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668 #include <ac_nonexistent.h>
14669 _ACEOF
14670 if { (ac_try="$ac_cpp conftest.$ac_ext"
14671 case "(($ac_try" in
14672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14673 *) ac_try_echo=$ac_try;;
14674 esac
14675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14677 ac_status=$?
14678 grep -v '^ *+' conftest.er1 >conftest.err
14679 rm -f conftest.er1
14680 cat conftest.err >&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); } >/dev/null && {
14683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14684 test ! -s conftest.err
14685 }; then
14686 # Broken: success on invalid input.
14687 continue
14688 else
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.$ac_ext >&5
14691
14692 # Passes both tests.
14693 ac_preproc_ok=:
14694 break
14695 fi
14696
14697 rm -f conftest.err conftest.$ac_ext
14698
14699 done
14700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14701 rm -f conftest.err conftest.$ac_ext
14702 if $ac_preproc_ok; then
14703 break
14704 fi
14705
14706 done
14707 ac_cv_prog_CPP=$CPP
14708
14709 fi
14710 CPP=$ac_cv_prog_CPP
14711 else
14712 ac_cv_prog_CPP=$CPP
14713 fi
14714 { echo "$as_me:$LINENO: result: $CPP" >&5
14715 echo "${ECHO_T}$CPP" >&6; }
14716 ac_preproc_ok=false
14717 for ac_c_preproc_warn_flag in '' yes
14718 do
14719 # Use a header file that comes with gcc, so configuring glibc
14720 # with a fresh cross-compiler works.
14721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14722 # <limits.h> exists even on freestanding compilers.
14723 # On the NeXT, cc -E runs the code through the compiler's parser,
14724 # not just through cpp. "Syntax error" is here to catch this case.
14725 cat >conftest.$ac_ext <<_ACEOF
14726 /* confdefs.h. */
14727 _ACEOF
14728 cat confdefs.h >>conftest.$ac_ext
14729 cat >>conftest.$ac_ext <<_ACEOF
14730 /* end confdefs.h. */
14731 #ifdef __STDC__
14732 # include <limits.h>
14733 #else
14734 # include <assert.h>
14735 #endif
14736 Syntax error
14737 _ACEOF
14738 if { (ac_try="$ac_cpp conftest.$ac_ext"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14745 ac_status=$?
14746 grep -v '^ *+' conftest.er1 >conftest.err
14747 rm -f conftest.er1
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } >/dev/null && {
14751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14753 }; then
14754 :
14755 else
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14758
14759 # Broken: fails on valid input.
14760 continue
14761 fi
14762
14763 rm -f conftest.err conftest.$ac_ext
14764
14765 # OK, works on sane cases. Now check whether nonexistent headers
14766 # can be detected and how.
14767 cat >conftest.$ac_ext <<_ACEOF
14768 /* confdefs.h. */
14769 _ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 #include <ac_nonexistent.h>
14774 _ACEOF
14775 if { (ac_try="$ac_cpp conftest.$ac_ext"
14776 case "(($ac_try" in
14777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778 *) ac_try_echo=$ac_try;;
14779 esac
14780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14782 ac_status=$?
14783 grep -v '^ *+' conftest.er1 >conftest.err
14784 rm -f conftest.er1
14785 cat conftest.err >&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); } >/dev/null && {
14788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14789 test ! -s conftest.err
14790 }; then
14791 # Broken: success on invalid input.
14792 continue
14793 else
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14796
14797 # Passes both tests.
14798 ac_preproc_ok=:
14799 break
14800 fi
14801
14802 rm -f conftest.err conftest.$ac_ext
14803
14804 done
14805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14806 rm -f conftest.err conftest.$ac_ext
14807 if $ac_preproc_ok; then
14808 :
14809 else
14810 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14811 See \`config.log' for more details." >&5
14812 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14813 See \`config.log' for more details." >&2;}
14814 { (exit 1); exit 1; }; }
14815 fi
14816
14817 ac_ext=c
14818 ac_cpp='$CPP $CPPFLAGS'
14819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14822
14823
14824 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14825 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14826 if test "${ac_cv_path_GREP+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 else
14829 # Extract the first word of "grep ggrep" to use in msg output
14830 if test -z "$GREP"; then
14831 set dummy grep ggrep; ac_prog_name=$2
14832 if test "${ac_cv_path_GREP+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14834 else
14835 ac_path_GREP_found=false
14836 # Loop through the user's path and test for each of PROGNAME-LIST
14837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14838 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14839 do
14840 IFS=$as_save_IFS
14841 test -z "$as_dir" && as_dir=.
14842 for ac_prog in grep ggrep; do
14843 for ac_exec_ext in '' $ac_executable_extensions; do
14844 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14845 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14846 # Check for GNU ac_path_GREP and select it if it is found.
14847 # Check for GNU $ac_path_GREP
14848 case `"$ac_path_GREP" --version 2>&1` in
14849 *GNU*)
14850 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14851 *)
14852 ac_count=0
14853 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14854 while :
14855 do
14856 cat "conftest.in" "conftest.in" >"conftest.tmp"
14857 mv "conftest.tmp" "conftest.in"
14858 cp "conftest.in" "conftest.nl"
14859 echo 'GREP' >> "conftest.nl"
14860 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14861 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14862 ac_count=`expr $ac_count + 1`
14863 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14864 # Best one so far, save it but keep looking for a better one
14865 ac_cv_path_GREP="$ac_path_GREP"
14866 ac_path_GREP_max=$ac_count
14867 fi
14868 # 10*(2^10) chars as input seems more than enough
14869 test $ac_count -gt 10 && break
14870 done
14871 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14872 esac
14873
14874
14875 $ac_path_GREP_found && break 3
14876 done
14877 done
14878
14879 done
14880 IFS=$as_save_IFS
14881
14882
14883 fi
14884
14885 GREP="$ac_cv_path_GREP"
14886 if test -z "$GREP"; then
14887 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14888 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14889 { (exit 1); exit 1; }; }
14890 fi
14891
14892 else
14893 ac_cv_path_GREP=$GREP
14894 fi
14895
14896
14897 fi
14898 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14899 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14900 GREP="$ac_cv_path_GREP"
14901
14902
14903 { echo "$as_me:$LINENO: checking for egrep" >&5
14904 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14905 if test "${ac_cv_path_EGREP+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14909 then ac_cv_path_EGREP="$GREP -E"
14910 else
14911 # Extract the first word of "egrep" to use in msg output
14912 if test -z "$EGREP"; then
14913 set dummy egrep; ac_prog_name=$2
14914 if test "${ac_cv_path_EGREP+set}" = set; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6
14916 else
14917 ac_path_EGREP_found=false
14918 # Loop through the user's path and test for each of PROGNAME-LIST
14919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14920 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14921 do
14922 IFS=$as_save_IFS
14923 test -z "$as_dir" && as_dir=.
14924 for ac_prog in egrep; do
14925 for ac_exec_ext in '' $ac_executable_extensions; do
14926 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14927 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14928 # Check for GNU ac_path_EGREP and select it if it is found.
14929 # Check for GNU $ac_path_EGREP
14930 case `"$ac_path_EGREP" --version 2>&1` in
14931 *GNU*)
14932 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14933 *)
14934 ac_count=0
14935 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14936 while :
14937 do
14938 cat "conftest.in" "conftest.in" >"conftest.tmp"
14939 mv "conftest.tmp" "conftest.in"
14940 cp "conftest.in" "conftest.nl"
14941 echo 'EGREP' >> "conftest.nl"
14942 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14943 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14944 ac_count=`expr $ac_count + 1`
14945 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14946 # Best one so far, save it but keep looking for a better one
14947 ac_cv_path_EGREP="$ac_path_EGREP"
14948 ac_path_EGREP_max=$ac_count
14949 fi
14950 # 10*(2^10) chars as input seems more than enough
14951 test $ac_count -gt 10 && break
14952 done
14953 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14954 esac
14955
14956
14957 $ac_path_EGREP_found && break 3
14958 done
14959 done
14960
14961 done
14962 IFS=$as_save_IFS
14963
14964
14965 fi
14966
14967 EGREP="$ac_cv_path_EGREP"
14968 if test -z "$EGREP"; then
14969 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14970 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14971 { (exit 1); exit 1; }; }
14972 fi
14973
14974 else
14975 ac_cv_path_EGREP=$EGREP
14976 fi
14977
14978
14979 fi
14980 fi
14981 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14982 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14983 EGREP="$ac_cv_path_EGREP"
14984
14985
14986 if test $ac_cv_c_compiler_gnu = yes; then
14987 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14988 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14989 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14991 else
14992 ac_pattern="Autoconf.*'x'"
14993 cat >conftest.$ac_ext <<_ACEOF
14994 /* confdefs.h. */
14995 _ACEOF
14996 cat confdefs.h >>conftest.$ac_ext
14997 cat >>conftest.$ac_ext <<_ACEOF
14998 /* end confdefs.h. */
14999 #include <sgtty.h>
15000 Autoconf TIOCGETP
15001 _ACEOF
15002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15003 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15004 ac_cv_prog_gcc_traditional=yes
15005 else
15006 ac_cv_prog_gcc_traditional=no
15007 fi
15008 rm -f conftest*
15009
15010
15011 if test $ac_cv_prog_gcc_traditional = no; then
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 #include <termio.h>
15019 Autoconf TCGETA
15020 _ACEOF
15021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15022 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15023 ac_cv_prog_gcc_traditional=yes
15024 fi
15025 rm -f conftest*
15026
15027 fi
15028 fi
15029 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15030 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15031 if test $ac_cv_prog_gcc_traditional = yes; then
15032 CC="$CC -traditional"
15033 fi
15034 fi
15035
15036
15037 CXXFLAGS=${CXXFLAGS:=}
15038
15039
15040
15041 ac_ext=cpp
15042 ac_cpp='$CXXCPP $CPPFLAGS'
15043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15046 if test -z "$CXX"; then
15047 if test -n "$CCC"; then
15048 CXX=$CCC
15049 else
15050 if test -n "$ac_tool_prefix"; then
15051 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15052 do
15053 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15054 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15057 if test "${ac_cv_prog_CXX+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 else
15060 if test -n "$CXX"; then
15061 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15062 else
15063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15064 for as_dir in $PATH
15065 do
15066 IFS=$as_save_IFS
15067 test -z "$as_dir" && as_dir=.
15068 for ac_exec_ext in '' $ac_executable_extensions; do
15069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15070 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15072 break 2
15073 fi
15074 done
15075 done
15076 IFS=$as_save_IFS
15077
15078 fi
15079 fi
15080 CXX=$ac_cv_prog_CXX
15081 if test -n "$CXX"; then
15082 { echo "$as_me:$LINENO: result: $CXX" >&5
15083 echo "${ECHO_T}$CXX" >&6; }
15084 else
15085 { echo "$as_me:$LINENO: result: no" >&5
15086 echo "${ECHO_T}no" >&6; }
15087 fi
15088
15089
15090 test -n "$CXX" && break
15091 done
15092 fi
15093 if test -z "$CXX"; then
15094 ac_ct_CXX=$CXX
15095 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15096 do
15097 # Extract the first word of "$ac_prog", so it can be a program name with args.
15098 set dummy $ac_prog; ac_word=$2
15099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15101 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 else
15104 if test -n "$ac_ct_CXX"; then
15105 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15106 else
15107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15108 for as_dir in $PATH
15109 do
15110 IFS=$as_save_IFS
15111 test -z "$as_dir" && as_dir=.
15112 for ac_exec_ext in '' $ac_executable_extensions; do
15113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15114 ac_cv_prog_ac_ct_CXX="$ac_prog"
15115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15116 break 2
15117 fi
15118 done
15119 done
15120 IFS=$as_save_IFS
15121
15122 fi
15123 fi
15124 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15125 if test -n "$ac_ct_CXX"; then
15126 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15127 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15128 else
15129 { echo "$as_me:$LINENO: result: no" >&5
15130 echo "${ECHO_T}no" >&6; }
15131 fi
15132
15133
15134 test -n "$ac_ct_CXX" && break
15135 done
15136
15137 if test "x$ac_ct_CXX" = x; then
15138 CXX="g++"
15139 else
15140 case $cross_compiling:$ac_tool_warned in
15141 yes:)
15142 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15143 whose name does not start with the host triplet. If you think this
15144 configuration is useful to you, please write to autoconf@gnu.org." >&5
15145 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15146 whose name does not start with the host triplet. If you think this
15147 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15148 ac_tool_warned=yes ;;
15149 esac
15150 CXX=$ac_ct_CXX
15151 fi
15152 fi
15153
15154 fi
15155 fi
15156 # Provide some information about the compiler.
15157 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15158 ac_compiler=`set X $ac_compile; echo $2`
15159 { (ac_try="$ac_compiler --version >&5"
15160 case "(($ac_try" in
15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15162 *) ac_try_echo=$ac_try;;
15163 esac
15164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15165 (eval "$ac_compiler --version >&5") 2>&5
15166 ac_status=$?
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }
15169 { (ac_try="$ac_compiler -v >&5"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15173 esac
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compiler -v >&5") 2>&5
15176 ac_status=$?
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }
15179 { (ac_try="$ac_compiler -V >&5"
15180 case "(($ac_try" in
15181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15182 *) ac_try_echo=$ac_try;;
15183 esac
15184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15185 (eval "$ac_compiler -V >&5") 2>&5
15186 ac_status=$?
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }
15189
15190 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15191 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15192 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 else
15195 cat >conftest.$ac_ext <<_ACEOF
15196 /* confdefs.h. */
15197 _ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201
15202 int
15203 main ()
15204 {
15205 #ifndef __GNUC__
15206 choke me
15207 #endif
15208
15209 ;
15210 return 0;
15211 }
15212 _ACEOF
15213 rm -f conftest.$ac_objext
15214 if { (ac_try="$ac_compile"
15215 case "(($ac_try" in
15216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15217 *) ac_try_echo=$ac_try;;
15218 esac
15219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15220 (eval "$ac_compile") 2>conftest.er1
15221 ac_status=$?
15222 grep -v '^ *+' conftest.er1 >conftest.err
15223 rm -f conftest.er1
15224 cat conftest.err >&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } && {
15227 test -z "$ac_cxx_werror_flag" ||
15228 test ! -s conftest.err
15229 } && test -s conftest.$ac_objext; then
15230 ac_compiler_gnu=yes
15231 else
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15234
15235 ac_compiler_gnu=no
15236 fi
15237
15238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15239 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15240
15241 fi
15242 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15243 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15244 GXX=`test $ac_compiler_gnu = yes && echo yes`
15245 ac_test_CXXFLAGS=${CXXFLAGS+set}
15246 ac_save_CXXFLAGS=$CXXFLAGS
15247 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15248 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15249 if test "${ac_cv_prog_cxx_g+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 else
15252 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15253 ac_cxx_werror_flag=yes
15254 ac_cv_prog_cxx_g=no
15255 CXXFLAGS="-g"
15256 cat >conftest.$ac_ext <<_ACEOF
15257 /* confdefs.h. */
15258 _ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262
15263 int
15264 main ()
15265 {
15266
15267 ;
15268 return 0;
15269 }
15270 _ACEOF
15271 rm -f conftest.$ac_objext
15272 if { (ac_try="$ac_compile"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15276 esac
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_compile") 2>conftest.er1
15279 ac_status=$?
15280 grep -v '^ *+' conftest.er1 >conftest.err
15281 rm -f conftest.er1
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_cxx_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest.$ac_objext; then
15288 ac_cv_prog_cxx_g=yes
15289 else
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15292
15293 CXXFLAGS=""
15294 cat >conftest.$ac_ext <<_ACEOF
15295 /* confdefs.h. */
15296 _ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15300
15301 int
15302 main ()
15303 {
15304
15305 ;
15306 return 0;
15307 }
15308 _ACEOF
15309 rm -f conftest.$ac_objext
15310 if { (ac_try="$ac_compile"
15311 case "(($ac_try" in
15312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15313 *) ac_try_echo=$ac_try;;
15314 esac
15315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15316 (eval "$ac_compile") 2>conftest.er1
15317 ac_status=$?
15318 grep -v '^ *+' conftest.er1 >conftest.err
15319 rm -f conftest.er1
15320 cat conftest.err >&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); } && {
15323 test -z "$ac_cxx_werror_flag" ||
15324 test ! -s conftest.err
15325 } && test -s conftest.$ac_objext; then
15326 :
15327 else
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.$ac_ext >&5
15330
15331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15332 CXXFLAGS="-g"
15333 cat >conftest.$ac_ext <<_ACEOF
15334 /* confdefs.h. */
15335 _ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339
15340 int
15341 main ()
15342 {
15343
15344 ;
15345 return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15353 esac
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15356 ac_status=$?
15357 grep -v '^ *+' conftest.er1 >conftest.err
15358 rm -f conftest.er1
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_cxx_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 ac_cv_prog_cxx_g=yes
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15369
15370
15371 fi
15372
15373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15374 fi
15375
15376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15377 fi
15378
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15381 fi
15382 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15383 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15384 if test "$ac_test_CXXFLAGS" = set; then
15385 CXXFLAGS=$ac_save_CXXFLAGS
15386 elif test $ac_cv_prog_cxx_g = yes; then
15387 if test "$GXX" = yes; then
15388 CXXFLAGS="-g -O2"
15389 else
15390 CXXFLAGS="-g"
15391 fi
15392 else
15393 if test "$GXX" = yes; then
15394 CXXFLAGS="-O2"
15395 else
15396 CXXFLAGS=
15397 fi
15398 fi
15399 ac_ext=c
15400 ac_cpp='$CPP $CPPFLAGS'
15401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15404
15405
15406
15407 ac_ext=cpp
15408 ac_cpp='$CXXCPP $CPPFLAGS'
15409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15412
15413 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15414 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15415 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 else
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424
15425 int
15426 main ()
15427 {
15428
15429 #ifndef __INTEL_COMPILER
15430 choke me
15431 #endif
15432
15433 ;
15434 return 0;
15435 }
15436 _ACEOF
15437 rm -f conftest.$ac_objext
15438 if { (ac_try="$ac_compile"
15439 case "(($ac_try" in
15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15442 esac
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_compile") 2>conftest.er1
15445 ac_status=$?
15446 grep -v '^ *+' conftest.er1 >conftest.err
15447 rm -f conftest.er1
15448 cat conftest.err >&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } && {
15451 test -z "$ac_cxx_werror_flag" ||
15452 test ! -s conftest.err
15453 } && test -s conftest.$ac_objext; then
15454 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15455 else
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.$ac_ext >&5
15458
15459 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15460
15461 fi
15462
15463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15464
15465
15466 fi
15467 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15468 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15469 ac_ext=c
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15474
15475 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15476 :; INTELCXX=yes
15477 else
15478 :;
15479 fi
15480
15481
15482 if test "x$GCXX" != "xyes"; then
15483 if test "xCXX" = "xC"; then
15484 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15485 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_exto+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 cat >conftest.$ac_ext <<_ACEOF
15490 /* confdefs.h. */
15491 _ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495
15496 int
15497 main ()
15498 {
15499
15500 ;
15501 return 0;
15502 }
15503 _ACEOF
15504 rm -f conftest.$ac_objext conftest.$ac_ext.o
15505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15506 (eval $ac_compile) 2>&5
15507 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; then
15510 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15511 case $ac_file in
15512 conftest.$ac_ext.o)
15513 bakefile_cv_c_exto="-ext o"
15514 ;;
15515 *)
15516 ;;
15517 esac
15518 done
15519 else
15520 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15521 See \`config.log' for more details." >&5
15522 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15523 See \`config.log' for more details." >&2;}
15524 { (exit 1); exit 1; }; }
15525
15526 fi
15527
15528 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15529
15530 fi
15531 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15532 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15533 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15534 if test "c" = "c"; then
15535 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15536 fi
15537 if test "c" = "cxx"; then
15538 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15539 fi
15540 fi
15541
15542 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15543 unset ac_cv_prog_cc_g
15544 ac_test_CFLAGS=${CFLAGS+set}
15545 ac_save_CFLAGS=$CFLAGS
15546 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15547 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15548 if test "${ac_cv_prog_cc_g+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 else
15551 ac_save_c_werror_flag=$ac_c_werror_flag
15552 ac_c_werror_flag=yes
15553 ac_cv_prog_cc_g=no
15554 CFLAGS="-g"
15555 cat >conftest.$ac_ext <<_ACEOF
15556 /* confdefs.h. */
15557 _ACEOF
15558 cat confdefs.h >>conftest.$ac_ext
15559 cat >>conftest.$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15561
15562 int
15563 main ()
15564 {
15565
15566 ;
15567 return 0;
15568 }
15569 _ACEOF
15570 rm -f conftest.$ac_objext
15571 if { (ac_try="$ac_compile"
15572 case "(($ac_try" in
15573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15574 *) ac_try_echo=$ac_try;;
15575 esac
15576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15577 (eval "$ac_compile") 2>conftest.er1
15578 ac_status=$?
15579 grep -v '^ *+' conftest.er1 >conftest.err
15580 rm -f conftest.er1
15581 cat conftest.err >&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } && {
15584 test -z "$ac_c_werror_flag" ||
15585 test ! -s conftest.err
15586 } && test -s conftest.$ac_objext; then
15587 ac_cv_prog_cc_g=yes
15588 else
15589 echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.$ac_ext >&5
15591
15592 CFLAGS=""
15593 cat >conftest.$ac_ext <<_ACEOF
15594 /* confdefs.h. */
15595 _ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15599
15600 int
15601 main ()
15602 {
15603
15604 ;
15605 return 0;
15606 }
15607 _ACEOF
15608 rm -f conftest.$ac_objext
15609 if { (ac_try="$ac_compile"
15610 case "(($ac_try" in
15611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15612 *) ac_try_echo=$ac_try;;
15613 esac
15614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15615 (eval "$ac_compile") 2>conftest.er1
15616 ac_status=$?
15617 grep -v '^ *+' conftest.er1 >conftest.err
15618 rm -f conftest.er1
15619 cat conftest.err >&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } && {
15622 test -z "$ac_c_werror_flag" ||
15623 test ! -s conftest.err
15624 } && test -s conftest.$ac_objext; then
15625 :
15626 else
15627 echo "$as_me: failed program was:" >&5
15628 sed 's/^/| /' conftest.$ac_ext >&5
15629
15630 ac_c_werror_flag=$ac_save_c_werror_flag
15631 CFLAGS="-g"
15632 cat >conftest.$ac_ext <<_ACEOF
15633 /* confdefs.h. */
15634 _ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638
15639 int
15640 main ()
15641 {
15642
15643 ;
15644 return 0;
15645 }
15646 _ACEOF
15647 rm -f conftest.$ac_objext
15648 if { (ac_try="$ac_compile"
15649 case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15652 esac
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_compile") 2>conftest.er1
15655 ac_status=$?
15656 grep -v '^ *+' conftest.er1 >conftest.err
15657 rm -f conftest.er1
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest.$ac_objext; then
15664 ac_cv_prog_cc_g=yes
15665 else
15666 echo "$as_me: failed program was:" >&5
15667 sed 's/^/| /' conftest.$ac_ext >&5
15668
15669
15670 fi
15671
15672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673 fi
15674
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15676 fi
15677
15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679 ac_c_werror_flag=$ac_save_c_werror_flag
15680 fi
15681 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15682 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15683 if test "$ac_test_CFLAGS" = set; then
15684 CFLAGS=$ac_save_CFLAGS
15685 elif test $ac_cv_prog_cc_g = yes; then
15686 if test "$GCC" = yes; then
15687 CFLAGS="-g -O2"
15688 else
15689 CFLAGS="-g"
15690 fi
15691 else
15692 if test "$GCC" = yes; then
15693 CFLAGS="-O2"
15694 else
15695 CFLAGS=
15696 fi
15697 fi
15698 fi
15699 fi
15700
15701 case `uname -s` in
15702 AIX*)
15703 ac_ext=cpp
15704 ac_cpp='$CXXCPP $CPPFLAGS'
15705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15708
15709 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15710 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15711 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15713 else
15714 cat >conftest.$ac_ext <<_ACEOF
15715 /* confdefs.h. */
15716 _ACEOF
15717 cat confdefs.h >>conftest.$ac_ext
15718 cat >>conftest.$ac_ext <<_ACEOF
15719 /* end confdefs.h. */
15720
15721 int
15722 main ()
15723 {
15724 #ifndef __xlC__
15725 choke me
15726 #endif
15727
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest.$ac_objext
15733 if { (ac_try="$ac_compile"
15734 case "(($ac_try" in
15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736 *) ac_try_echo=$ac_try;;
15737 esac
15738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15739 (eval "$ac_compile") 2>conftest.er1
15740 ac_status=$?
15741 grep -v '^ *+' conftest.er1 >conftest.err
15742 rm -f conftest.er1
15743 cat conftest.err >&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } && {
15746 test -z "$ac_cxx_werror_flag" ||
15747 test ! -s conftest.err
15748 } && test -s conftest.$ac_objext; then
15749 bakefile_compiler_xlc=yes
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15753
15754 bakefile_compiler_xlc=no
15755 fi
15756
15757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15759
15760 fi
15761 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15762 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15763
15764 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15765 ac_ext=c
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15770
15771
15772 ;;
15773
15774 Darwin)
15775 ac_ext=cpp
15776 ac_cpp='$CXXCPP $CPPFLAGS'
15777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15780
15781 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15782 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15783 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15785 else
15786 cat >conftest.$ac_ext <<_ACEOF
15787 /* confdefs.h. */
15788 _ACEOF
15789 cat confdefs.h >>conftest.$ac_ext
15790 cat >>conftest.$ac_ext <<_ACEOF
15791 /* end confdefs.h. */
15792
15793 int
15794 main ()
15795 {
15796 #ifndef __MWERKS__
15797 choke me
15798 #endif
15799
15800 ;
15801 return 0;
15802 }
15803 _ACEOF
15804 rm -f conftest.$ac_objext
15805 if { (ac_try="$ac_compile"
15806 case "(($ac_try" in
15807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808 *) ac_try_echo=$ac_try;;
15809 esac
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_compile") 2>conftest.er1
15812 ac_status=$?
15813 grep -v '^ *+' conftest.er1 >conftest.err
15814 rm -f conftest.er1
15815 cat conftest.err >&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } && {
15818 test -z "$ac_cxx_werror_flag" ||
15819 test ! -s conftest.err
15820 } && test -s conftest.$ac_objext; then
15821 bakefile_compiler_mwerks=yes
15822 else
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.$ac_ext >&5
15825
15826 bakefile_compiler_mwerks=no
15827 fi
15828
15829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15830 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15831
15832 fi
15833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15834 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15835
15836 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15837 ac_ext=c
15838 ac_cpp='$CPP $CPPFLAGS'
15839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15842
15843
15844 ac_ext=cpp
15845 ac_cpp='$CXXCPP $CPPFLAGS'
15846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15849
15850 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15851 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15852 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15854 else
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 #ifndef __xlC__
15866 choke me
15867 #endif
15868
15869 ;
15870 return 0;
15871 }
15872 _ACEOF
15873 rm -f conftest.$ac_objext
15874 if { (ac_try="$ac_compile"
15875 case "(($ac_try" in
15876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15877 *) ac_try_echo=$ac_try;;
15878 esac
15879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15880 (eval "$ac_compile") 2>conftest.er1
15881 ac_status=$?
15882 grep -v '^ *+' conftest.er1 >conftest.err
15883 rm -f conftest.er1
15884 cat conftest.err >&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } && {
15887 test -z "$ac_cxx_werror_flag" ||
15888 test ! -s conftest.err
15889 } && test -s conftest.$ac_objext; then
15890 bakefile_compiler_xlc=yes
15891 else
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15894
15895 bakefile_compiler_xlc=no
15896 fi
15897
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15899 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15900
15901 fi
15902 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15903 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15904
15905 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15906 ac_ext=c
15907 ac_cpp='$CPP $CPPFLAGS'
15908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15911
15912
15913 ;;
15914
15915 IRIX*)
15916
15917
15918 ac_ext=cpp
15919 ac_cpp='$CXXCPP $CPPFLAGS'
15920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15923
15924 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15925 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15926 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935
15936 int
15937 main ()
15938 {
15939
15940 #ifndef _SGI_COMPILER_VERSION
15941 choke me
15942 #endif
15943
15944 ;
15945 return 0;
15946 }
15947 _ACEOF
15948 rm -f conftest.$ac_objext
15949 if { (ac_try="$ac_compile"
15950 case "(($ac_try" in
15951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15953 esac
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_compile") 2>conftest.er1
15956 ac_status=$?
15957 grep -v '^ *+' conftest.er1 >conftest.err
15958 rm -f conftest.er1
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } && {
15962 test -z "$ac_cxx_werror_flag" ||
15963 test ! -s conftest.err
15964 } && test -s conftest.$ac_objext; then
15965 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15966 else
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.$ac_ext >&5
15969
15970 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15971
15972 fi
15973
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15975
15976
15977 fi
15978 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15979 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15980 ac_ext=c
15981 ac_cpp='$CPP $CPPFLAGS'
15982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15985
15986 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15987 :; SGICXX=yes
15988 else
15989 :;
15990 fi
15991
15992
15993 ;;
15994
15995 HP-UX*)
15996
15997
15998 ac_ext=cpp
15999 ac_cpp='$CXXCPP $CPPFLAGS'
16000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16003
16004 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 cat >conftest.$ac_ext <<_ACEOF
16010 /* confdefs.h. */
16011 _ACEOF
16012 cat confdefs.h >>conftest.$ac_ext
16013 cat >>conftest.$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015
16016 int
16017 main ()
16018 {
16019
16020 #ifndef __HP_aCC
16021 choke me
16022 #endif
16023
16024 ;
16025 return 0;
16026 }
16027 _ACEOF
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_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler___HP_aCC=yes
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050 bakefile_cv_cxx_compiler___HP_aCC=no
16051
16052 fi
16053
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16055
16056
16057 fi
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16067 :; HPCXX=yes
16068 else
16069 :;
16070 fi
16071
16072
16073 ;;
16074
16075 OSF1)
16076
16077
16078 ac_ext=cpp
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16083
16084 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 else
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095
16096 int
16097 main ()
16098 {
16099
16100 #ifndef __DECCXX
16101 choke me
16102 #endif
16103
16104 ;
16105 return 0;
16106 }
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16113 esac
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.$ac_objext; then
16125 bakefile_cv_cxx_compiler___DECCXX=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 bakefile_cv_cxx_compiler___DECCXX=no
16131
16132 fi
16133
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135
16136
16137 fi
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16140 ac_ext=c
16141 ac_cpp='$CPP $CPPFLAGS'
16142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16145
16146 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16147 :; COMPAQCXX=yes
16148 else
16149 :;
16150 fi
16151
16152
16153 ;;
16154
16155 SunOS)
16156
16157
16158 ac_ext=cpp
16159 ac_cpp='$CXXCPP $CPPFLAGS'
16160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16163
16164 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 else
16169 cat >conftest.$ac_ext <<_ACEOF
16170 /* confdefs.h. */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175
16176 int
16177 main ()
16178 {
16179
16180 #ifndef __SUNPRO_CC
16181 choke me
16182 #endif
16183
16184 ;
16185 return 0;
16186 }
16187 _ACEOF
16188 rm -f conftest.$ac_objext
16189 if { (ac_try="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16193 esac
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16211
16212 fi
16213
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16215
16216
16217 fi
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16220 ac_ext=c
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16225
16226 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16227 :; SUNCXX=yes
16228 else
16229 :;
16230 fi
16231
16232
16233 ;;
16234 esac
16235 fi
16236
16237
16238
16239 if test -n "$ac_tool_prefix"; then
16240 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16241 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16244 if test "${ac_cv_prog_RANLIB+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 else
16247 if test -n "$RANLIB"; then
16248 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16249 else
16250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16251 for as_dir in $PATH
16252 do
16253 IFS=$as_save_IFS
16254 test -z "$as_dir" && as_dir=.
16255 for ac_exec_ext in '' $ac_executable_extensions; do
16256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16257 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16259 break 2
16260 fi
16261 done
16262 done
16263 IFS=$as_save_IFS
16264
16265 fi
16266 fi
16267 RANLIB=$ac_cv_prog_RANLIB
16268 if test -n "$RANLIB"; then
16269 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16270 echo "${ECHO_T}$RANLIB" >&6; }
16271 else
16272 { echo "$as_me:$LINENO: result: no" >&5
16273 echo "${ECHO_T}no" >&6; }
16274 fi
16275
16276
16277 fi
16278 if test -z "$ac_cv_prog_RANLIB"; then
16279 ac_ct_RANLIB=$RANLIB
16280 # Extract the first word of "ranlib", so it can be a program name with args.
16281 set dummy ranlib; ac_word=$2
16282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16284 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287 if test -n "$ac_ct_RANLIB"; then
16288 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16289 else
16290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16291 for as_dir in $PATH
16292 do
16293 IFS=$as_save_IFS
16294 test -z "$as_dir" && as_dir=.
16295 for ac_exec_ext in '' $ac_executable_extensions; do
16296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16297 ac_cv_prog_ac_ct_RANLIB="ranlib"
16298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16299 break 2
16300 fi
16301 done
16302 done
16303 IFS=$as_save_IFS
16304
16305 fi
16306 fi
16307 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16308 if test -n "$ac_ct_RANLIB"; then
16309 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16310 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16311 else
16312 { echo "$as_me:$LINENO: result: no" >&5
16313 echo "${ECHO_T}no" >&6; }
16314 fi
16315
16316 if test "x$ac_ct_RANLIB" = x; then
16317 RANLIB=":"
16318 else
16319 case $cross_compiling:$ac_tool_warned in
16320 yes:)
16321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16322 whose name does not start with the host triplet. If you think this
16323 configuration is useful to you, please write to autoconf@gnu.org." >&5
16324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16325 whose name does not start with the host triplet. If you think this
16326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16327 ac_tool_warned=yes ;;
16328 esac
16329 RANLIB=$ac_ct_RANLIB
16330 fi
16331 else
16332 RANLIB="$ac_cv_prog_RANLIB"
16333 fi
16334
16335
16336 if test "x$SUNCXX" != xyes; then
16337 if test -n "$ac_tool_prefix"; then
16338 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16339 set dummy ${ac_tool_prefix}ar; ac_word=$2
16340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16342 if test "${ac_cv_prog_AR+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 else
16345 if test -n "$AR"; then
16346 ac_cv_prog_AR="$AR" # Let the user override the test.
16347 else
16348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16349 for as_dir in $PATH
16350 do
16351 IFS=$as_save_IFS
16352 test -z "$as_dir" && as_dir=.
16353 for ac_exec_ext in '' $ac_executable_extensions; do
16354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16355 ac_cv_prog_AR="${ac_tool_prefix}ar"
16356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16357 break 2
16358 fi
16359 done
16360 done
16361 IFS=$as_save_IFS
16362
16363 fi
16364 fi
16365 AR=$ac_cv_prog_AR
16366 if test -n "$AR"; then
16367 { echo "$as_me:$LINENO: result: $AR" >&5
16368 echo "${ECHO_T}$AR" >&6; }
16369 else
16370 { echo "$as_me:$LINENO: result: no" >&5
16371 echo "${ECHO_T}no" >&6; }
16372 fi
16373
16374
16375 fi
16376 if test -z "$ac_cv_prog_AR"; then
16377 ac_ct_AR=$AR
16378 # Extract the first word of "ar", so it can be a program name with args.
16379 set dummy ar; ac_word=$2
16380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16382 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385 if test -n "$ac_ct_AR"; then
16386 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16387 else
16388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16389 for as_dir in $PATH
16390 do
16391 IFS=$as_save_IFS
16392 test -z "$as_dir" && as_dir=.
16393 for ac_exec_ext in '' $ac_executable_extensions; do
16394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16395 ac_cv_prog_ac_ct_AR="ar"
16396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16397 break 2
16398 fi
16399 done
16400 done
16401 IFS=$as_save_IFS
16402
16403 fi
16404 fi
16405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16406 if test -n "$ac_ct_AR"; then
16407 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16408 echo "${ECHO_T}$ac_ct_AR" >&6; }
16409 else
16410 { echo "$as_me:$LINENO: result: no" >&5
16411 echo "${ECHO_T}no" >&6; }
16412 fi
16413
16414 if test "x$ac_ct_AR" = x; then
16415 AR=""
16416 else
16417 case $cross_compiling:$ac_tool_warned in
16418 yes:)
16419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16420 whose name does not start with the host triplet. If you think this
16421 configuration is useful to you, please write to autoconf@gnu.org." >&5
16422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16423 whose name does not start with the host triplet. If you think this
16424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16425 ac_tool_warned=yes ;;
16426 esac
16427 AR=$ac_ct_AR
16428 fi
16429 else
16430 AR="$ac_cv_prog_AR"
16431 fi
16432
16433 if test "x$AR" = "x" ; then
16434 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16435 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16436 { (exit 1); exit 1; }; }
16437 fi
16438 fi
16439
16440 # Find a good install program. We prefer a C program (faster),
16441 # so one script is as good as another. But avoid the broken or
16442 # incompatible versions:
16443 # SysV /etc/install, /usr/sbin/install
16444 # SunOS /usr/etc/install
16445 # IRIX /sbin/install
16446 # AIX /bin/install
16447 # AmigaOS /C/install, which installs bootblocks on floppy discs
16448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16451 # OS/2's system install, which has a completely different semantic
16452 # ./install, which can be erroneously created by make from ./install.sh.
16453 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16454 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16455 if test -z "$INSTALL"; then
16456 if test "${ac_cv_path_install+set}" = set; then
16457 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 else
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16461 do
16462 IFS=$as_save_IFS
16463 test -z "$as_dir" && as_dir=.
16464 # Account for people who put trailing slashes in PATH elements.
16465 case $as_dir/ in
16466 ./ | .// | /cC/* | \
16467 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16468 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16469 /usr/ucb/* ) ;;
16470 *)
16471 # OSF1 and SCO ODT 3.0 have their own names for install.
16472 # Don't use installbsd from OSF since it installs stuff as root
16473 # by default.
16474 for ac_prog in ginstall scoinst install; do
16475 for ac_exec_ext in '' $ac_executable_extensions; do
16476 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16477 if test $ac_prog = install &&
16478 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16479 # AIX install. It has an incompatible calling convention.
16480 :
16481 elif test $ac_prog = install &&
16482 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16483 # program-specific install script used by HP pwplus--don't use.
16484 :
16485 else
16486 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16487 break 3
16488 fi
16489 fi
16490 done
16491 done
16492 ;;
16493 esac
16494 done
16495 IFS=$as_save_IFS
16496
16497
16498 fi
16499 if test "${ac_cv_path_install+set}" = set; then
16500 INSTALL=$ac_cv_path_install
16501 else
16502 # As a last resort, use the slow shell script. Don't cache a
16503 # value for INSTALL within a source directory, because that will
16504 # break other packages using the cache if that directory is
16505 # removed, or if the value is a relative name.
16506 INSTALL=$ac_install_sh
16507 fi
16508 fi
16509 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16510 echo "${ECHO_T}$INSTALL" >&6; }
16511
16512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16513 # It thinks the first close brace ends the variable substitution.
16514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16515
16516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16517
16518 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16519
16520
16521 case ${INSTALL} in
16522 /* ) # Absolute
16523 ;;
16524 ?:* ) # Drive letter, considered as absolute.
16525 ;;
16526 *)
16527 INSTALL=`pwd`/${INSTALL} ;;
16528 esac
16529
16530
16531 case "${host}" in
16532
16533 *-*-darwin* )
16534 INSTALL_PROGRAM="cp -fp"
16535 INSTALL_DATA="cp -fp"
16536 ;;
16537 *)
16538 ;;
16539 esac
16540
16541 if test -n "$ac_tool_prefix"; then
16542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16543 set dummy ${ac_tool_prefix}strip; ac_word=$2
16544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16546 if test "${ac_cv_prog_STRIP+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 else
16549 if test -n "$STRIP"; then
16550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16551 else
16552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16554 do
16555 IFS=$as_save_IFS
16556 test -z "$as_dir" && as_dir=.
16557 for ac_exec_ext in '' $ac_executable_extensions; do
16558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16561 break 2
16562 fi
16563 done
16564 done
16565 IFS=$as_save_IFS
16566
16567 fi
16568 fi
16569 STRIP=$ac_cv_prog_STRIP
16570 if test -n "$STRIP"; then
16571 { echo "$as_me:$LINENO: result: $STRIP" >&5
16572 echo "${ECHO_T}$STRIP" >&6; }
16573 else
16574 { echo "$as_me:$LINENO: result: no" >&5
16575 echo "${ECHO_T}no" >&6; }
16576 fi
16577
16578
16579 fi
16580 if test -z "$ac_cv_prog_STRIP"; then
16581 ac_ct_STRIP=$STRIP
16582 # Extract the first word of "strip", so it can be a program name with args.
16583 set dummy strip; ac_word=$2
16584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 else
16589 if test -n "$ac_ct_STRIP"; then
16590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16591 else
16592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16593 for as_dir in $PATH
16594 do
16595 IFS=$as_save_IFS
16596 test -z "$as_dir" && as_dir=.
16597 for ac_exec_ext in '' $ac_executable_extensions; do
16598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16599 ac_cv_prog_ac_ct_STRIP="strip"
16600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16601 break 2
16602 fi
16603 done
16604 done
16605 IFS=$as_save_IFS
16606
16607 fi
16608 fi
16609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16610 if test -n "$ac_ct_STRIP"; then
16611 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16612 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16613 else
16614 { echo "$as_me:$LINENO: result: no" >&5
16615 echo "${ECHO_T}no" >&6; }
16616 fi
16617
16618 if test "x$ac_ct_STRIP" = x; then
16619 STRIP="true"
16620 else
16621 case $cross_compiling:$ac_tool_warned in
16622 yes:)
16623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16624 whose name does not start with the host triplet. If you think this
16625 configuration is useful to you, please write to autoconf@gnu.org." >&5
16626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16627 whose name does not start with the host triplet. If you think this
16628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16629 ac_tool_warned=yes ;;
16630 esac
16631 STRIP=$ac_ct_STRIP
16632 fi
16633 else
16634 STRIP="$ac_cv_prog_STRIP"
16635 fi
16636
16637
16638 if test "$wxUSE_WINE" = "yes"; then
16639 if test -n "$ac_tool_prefix"; then
16640 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16641 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16644 if test "${ac_cv_prog_WINDRES+set}" = set; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 else
16647 if test -n "$WINDRES"; then
16648 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16649 else
16650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16651 for as_dir in $PATH
16652 do
16653 IFS=$as_save_IFS
16654 test -z "$as_dir" && as_dir=.
16655 for ac_exec_ext in '' $ac_executable_extensions; do
16656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16657 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16659 break 2
16660 fi
16661 done
16662 done
16663 IFS=$as_save_IFS
16664
16665 fi
16666 fi
16667 WINDRES=$ac_cv_prog_WINDRES
16668 if test -n "$WINDRES"; then
16669 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16670 echo "${ECHO_T}$WINDRES" >&6; }
16671 else
16672 { echo "$as_me:$LINENO: result: no" >&5
16673 echo "${ECHO_T}no" >&6; }
16674 fi
16675
16676
16677 fi
16678 if test -z "$ac_cv_prog_WINDRES"; then
16679 ac_ct_WINDRES=$WINDRES
16680 # Extract the first word of "wrc", so it can be a program name with args.
16681 set dummy wrc; ac_word=$2
16682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16684 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687 if test -n "$ac_ct_WINDRES"; then
16688 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16689 else
16690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16692 do
16693 IFS=$as_save_IFS
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16697 ac_cv_prog_ac_ct_WINDRES="wrc"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16699 break 2
16700 fi
16701 done
16702 done
16703 IFS=$as_save_IFS
16704
16705 fi
16706 fi
16707 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16708 if test -n "$ac_ct_WINDRES"; then
16709 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16710 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16711 else
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16714 fi
16715
16716 if test "x$ac_ct_WINDRES" = x; then
16717 WINDRES=""
16718 else
16719 case $cross_compiling:$ac_tool_warned in
16720 yes:)
16721 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16722 whose name does not start with the host triplet. If you think this
16723 configuration is useful to you, please write to autoconf@gnu.org." >&5
16724 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16725 whose name does not start with the host triplet. If you think this
16726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16727 ac_tool_warned=yes ;;
16728 esac
16729 WINDRES=$ac_ct_WINDRES
16730 fi
16731 else
16732 WINDRES="$ac_cv_prog_WINDRES"
16733 fi
16734
16735 RESCOMP="$WINDRES"
16736 else
16737 case "${host}" in
16738 *-*-cygwin* | *-*-mingw32* )
16739 if test -n "$ac_tool_prefix"; then
16740 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16741 set dummy ${ac_tool_prefix}windres; ac_word=$2
16742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16744 if test "${ac_cv_prog_WINDRES+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 else
16747 if test -n "$WINDRES"; then
16748 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16749 else
16750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16751 for as_dir in $PATH
16752 do
16753 IFS=$as_save_IFS
16754 test -z "$as_dir" && as_dir=.
16755 for ac_exec_ext in '' $ac_executable_extensions; do
16756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16757 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16759 break 2
16760 fi
16761 done
16762 done
16763 IFS=$as_save_IFS
16764
16765 fi
16766 fi
16767 WINDRES=$ac_cv_prog_WINDRES
16768 if test -n "$WINDRES"; then
16769 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16770 echo "${ECHO_T}$WINDRES" >&6; }
16771 else
16772 { echo "$as_me:$LINENO: result: no" >&5
16773 echo "${ECHO_T}no" >&6; }
16774 fi
16775
16776
16777 fi
16778 if test -z "$ac_cv_prog_WINDRES"; then
16779 ac_ct_WINDRES=$WINDRES
16780 # Extract the first word of "windres", so it can be a program name with args.
16781 set dummy windres; ac_word=$2
16782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16784 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 if test -n "$ac_ct_WINDRES"; then
16788 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16789 else
16790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16791 for as_dir in $PATH
16792 do
16793 IFS=$as_save_IFS
16794 test -z "$as_dir" && as_dir=.
16795 for ac_exec_ext in '' $ac_executable_extensions; do
16796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16797 ac_cv_prog_ac_ct_WINDRES="windres"
16798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16799 break 2
16800 fi
16801 done
16802 done
16803 IFS=$as_save_IFS
16804
16805 fi
16806 fi
16807 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16808 if test -n "$ac_ct_WINDRES"; then
16809 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16810 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16811 else
16812 { echo "$as_me:$LINENO: result: no" >&5
16813 echo "${ECHO_T}no" >&6; }
16814 fi
16815
16816 if test "x$ac_ct_WINDRES" = x; then
16817 WINDRES=""
16818 else
16819 case $cross_compiling:$ac_tool_warned in
16820 yes:)
16821 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16822 whose name does not start with the host triplet. If you think this
16823 configuration is useful to you, please write to autoconf@gnu.org." >&5
16824 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16825 whose name does not start with the host triplet. If you think this
16826 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16827 ac_tool_warned=yes ;;
16828 esac
16829 WINDRES=$ac_ct_WINDRES
16830 fi
16831 else
16832 WINDRES="$ac_cv_prog_WINDRES"
16833 fi
16834
16835 RESCOMP="$WINDRES"
16836 if test -n "$ac_tool_prefix"; then
16837 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16838 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16841 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16842 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 else
16844 if test -n "$DLLTOOL"; then
16845 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16846 else
16847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16848 for as_dir in $PATH
16849 do
16850 IFS=$as_save_IFS
16851 test -z "$as_dir" && as_dir=.
16852 for ac_exec_ext in '' $ac_executable_extensions; do
16853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16854 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16856 break 2
16857 fi
16858 done
16859 done
16860 IFS=$as_save_IFS
16861
16862 fi
16863 fi
16864 DLLTOOL=$ac_cv_prog_DLLTOOL
16865 if test -n "$DLLTOOL"; then
16866 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16867 echo "${ECHO_T}$DLLTOOL" >&6; }
16868 else
16869 { echo "$as_me:$LINENO: result: no" >&5
16870 echo "${ECHO_T}no" >&6; }
16871 fi
16872
16873
16874 fi
16875 if test -z "$ac_cv_prog_DLLTOOL"; then
16876 ac_ct_DLLTOOL=$DLLTOOL
16877 # Extract the first word of "dlltool", so it can be a program name with args.
16878 set dummy dlltool; ac_word=$2
16879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16881 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 else
16884 if test -n "$ac_ct_DLLTOOL"; then
16885 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16886 else
16887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16888 for as_dir in $PATH
16889 do
16890 IFS=$as_save_IFS
16891 test -z "$as_dir" && as_dir=.
16892 for ac_exec_ext in '' $ac_executable_extensions; do
16893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16894 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16896 break 2
16897 fi
16898 done
16899 done
16900 IFS=$as_save_IFS
16901
16902 fi
16903 fi
16904 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16905 if test -n "$ac_ct_DLLTOOL"; then
16906 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16907 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16908 else
16909 { echo "$as_me:$LINENO: result: no" >&5
16910 echo "${ECHO_T}no" >&6; }
16911 fi
16912
16913 if test "x$ac_ct_DLLTOOL" = x; then
16914 DLLTOOL=""
16915 else
16916 case $cross_compiling:$ac_tool_warned in
16917 yes:)
16918 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16919 whose name does not start with the host triplet. If you think this
16920 configuration is useful to you, please write to autoconf@gnu.org." >&5
16921 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16922 whose name does not start with the host triplet. If you think this
16923 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16924 ac_tool_warned=yes ;;
16925 esac
16926 DLLTOOL=$ac_ct_DLLTOOL
16927 fi
16928 else
16929 DLLTOOL="$ac_cv_prog_DLLTOOL"
16930 fi
16931
16932 ;;
16933 esac
16934 fi
16935
16936 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16937 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16938 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 else
16941
16942 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16943 $EGREP -s GNU > /dev/null); then
16944 wx_cv_prog_makeisgnu="yes"
16945 else
16946 wx_cv_prog_makeisgnu="no"
16947 fi
16948
16949 fi
16950 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16951 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16952
16953 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16954 IF_GNU_MAKE=""
16955 else
16956 IF_GNU_MAKE="#"
16957 fi
16958
16959
16960
16961 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16962 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16963 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16964 if test "${wx_cv_prog_makevpath+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967
16968 cat - << EOF > confMake
16969 check : file
16970 cp \$? \$@
16971 cp \$? final_file
16972 EOF
16973
16974 if test ! -d sub ; then
16975 mkdir sub
16976 fi
16977 echo dummy > sub/file
16978 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16979 RESULT=$?
16980 rm -f sub/file check final_file confMake
16981 rmdir sub
16982 if test "$RESULT" = 0; then
16983 wx_cv_prog_makevpath="yes"
16984 else
16985 wx_cv_prog_makevpath="no"
16986 fi
16987
16988 fi
16989 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16990 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16991
16992 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16993 { { echo "$as_me:$LINENO: error:
16994 You need a make-utility that is able to use the variable
16995 VPATH correctly.
16996 If your version of make does not support VPATH correctly,
16997 please install GNU-make (possibly as gmake), and start
16998 configure with the following command:
16999 export MAKE=gmake; ./configure for sh-type shells
17000 setenv MAKE gmake; ./configure for csh-type shells
17001 Also please do remember to use gmake in this case every time
17002 you are trying to compile.
17003 " >&5
17004 echo "$as_me: error:
17005 You need a make-utility that is able to use the variable
17006 VPATH correctly.
17007 If your version of make does not support VPATH correctly,
17008 please install GNU-make (possibly as gmake), and start
17009 configure with the following command:
17010 export MAKE=gmake; ./configure for sh-type shells
17011 setenv MAKE gmake; ./configure for csh-type shells
17012 Also please do remember to use gmake in this case every time
17013 you are trying to compile.
17014 " >&2;}
17015 { (exit 1); exit 1; }; }
17016 fi fi
17017 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17018 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17019 LN_S=$as_ln_s
17020 if test "$LN_S" = "ln -s"; then
17021 { echo "$as_me:$LINENO: result: yes" >&5
17022 echo "${ECHO_T}yes" >&6; }
17023 else
17024 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17025 echo "${ECHO_T}no, using $LN_S" >&6; }
17026 fi
17027
17028
17029
17030
17031 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17032 CXXFLAGS="-qunique $CXXFLAGS"
17033 fi
17034
17035 case "${host}" in
17036 powerpc-*-darwin* )
17037 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17038 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17039 cat >conftest.$ac_ext <<_ACEOF
17040 /* confdefs.h. */
17041 _ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045
17046 int
17047 main ()
17048 {
17049 #ifndef __POWERPC__
17050 choke me for lack of PowerPC
17051 #endif
17052
17053 ;
17054 return 0;
17055 }
17056 _ACEOF
17057 rm -f conftest.$ac_objext
17058 if { (ac_try="$ac_compile"
17059 case "(($ac_try" in
17060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17062 esac
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_compile") 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest.$ac_objext; then
17074 { echo "$as_me:$LINENO: result: yes" >&5
17075 echo "${ECHO_T}yes" >&6; }
17076 else
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 { echo "$as_me:$LINENO: result: no" >&5
17081 echo "${ECHO_T}no" >&6; }
17082 cat >>confdefs.h <<\_ACEOF
17083 #define __POWERPC__ 1
17084 _ACEOF
17085
17086
17087 fi
17088
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 ;;
17091 esac
17092
17093 case "${host}" in
17094 *-*-darwin* )
17095 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17096 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17097 cat >conftest.$ac_ext <<_ACEOF
17098 /* confdefs.h. */
17099 _ACEOF
17100 cat confdefs.h >>conftest.$ac_ext
17101 cat >>conftest.$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17103 #include <CoreFoundation/CFBase.h>
17104
17105 int
17106 main ()
17107 {
17108
17109 ;
17110 return 0;
17111 }
17112 _ACEOF
17113 rm -f conftest.$ac_objext
17114 if { (ac_try="$ac_compile"
17115 case "(($ac_try" in
17116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17117 *) ac_try_echo=$ac_try;;
17118 esac
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_compile") 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } && {
17127 test -z "$ac_c_werror_flag" ||
17128 test ! -s conftest.err
17129 } && test -s conftest.$ac_objext; then
17130 { echo "$as_me:$LINENO: result: yes" >&5
17131 echo "${ECHO_T}yes" >&6; }
17132 else
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.$ac_ext >&5
17135
17136 { echo "$as_me:$LINENO: result: no" >&5
17137 echo "${ECHO_T}no" >&6; }
17138 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17139 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17140 cat >conftest.$ac_ext <<_ACEOF
17141 /* confdefs.h. */
17142 _ACEOF
17143 cat confdefs.h >>conftest.$ac_ext
17144 cat >>conftest.$ac_ext <<_ACEOF
17145 /* end confdefs.h. */
17146 #define __CF_USE_FRAMEWORK_INCLUDES__
17147 #include <CoreFoundation/CFBase.h>
17148
17149 int
17150 main ()
17151 {
17152
17153 ;
17154 return 0;
17155 }
17156 _ACEOF
17157 rm -f conftest.$ac_objext
17158 if { (ac_try="$ac_compile"
17159 case "(($ac_try" in
17160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17161 *) ac_try_echo=$ac_try;;
17162 esac
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_compile") 2>conftest.er1
17165 ac_status=$?
17166 grep -v '^ *+' conftest.er1 >conftest.err
17167 rm -f conftest.er1
17168 cat conftest.err >&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } && {
17171 test -z "$ac_c_werror_flag" ||
17172 test ! -s conftest.err
17173 } && test -s conftest.$ac_objext; then
17174 { echo "$as_me:$LINENO: result: yes" >&5
17175 echo "${ECHO_T}yes" >&6; }
17176 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17177 else
17178 echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.$ac_ext >&5
17180
17181 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17182 See \`config.log' for more details." >&5
17183 echo "$as_me: error: no. CoreFoundation not available.
17184 See \`config.log' for more details." >&2;}
17185 { (exit 1); exit 1; }; }
17186
17187 fi
17188
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190
17191
17192 fi
17193
17194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17195 ;;
17196 esac
17197
17198 wants_win32=0
17199 doesnt_want_win32=0
17200 case "${host}" in
17201 *-*-cygwin*)
17202 if test "$wxUSE_MSW" = 1 ; then
17203 wants_win32=1
17204 else
17205 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17206 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17207 if test "${wx_cv_nocygwin+set}" = set; then
17208 echo $ECHO_N "(cached) $ECHO_C" >&6
17209 else
17210
17211 cat >conftest.$ac_ext <<_ACEOF
17212 /* confdefs.h. */
17213 _ACEOF
17214 cat confdefs.h >>conftest.$ac_ext
17215 cat >>conftest.$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17217
17218 int
17219 main ()
17220 {
17221
17222 #ifdef __MINGW32__
17223 choke me
17224 #endif
17225
17226 ;
17227 return 0;
17228 }
17229 _ACEOF
17230 rm -f conftest.$ac_objext
17231 if { (ac_try="$ac_compile"
17232 case "(($ac_try" in
17233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17235 esac
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_compile") 2>conftest.er1
17238 ac_status=$?
17239 grep -v '^ *+' conftest.er1 >conftest.err
17240 rm -f conftest.er1
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } && {
17244 test -z "$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17246 } && test -s conftest.$ac_objext; then
17247 wx_cv_nocygwin=no
17248 else
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17251
17252 wx_cv_nocygwin=yes
17253
17254 fi
17255
17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17257
17258
17259 fi
17260 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17261 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17262
17263 if test "$wx_cv_nocygwin" = "yes"; then
17264 wants_win32=1
17265 else
17266 doesnt_want_win32=1
17267 fi
17268 fi
17269 if test "$wants_win32" = 1 ; then
17270 BAKEFILE_FORCE_PLATFORM=win32
17271 fi
17272 ;;
17273 *-*-mingw*)
17274 wants_win32=1
17275 ;;
17276 esac
17277
17278 if test "$wxUSE_WINE" = "yes"; then
17279 wants_win32=1
17280 LDFLAGS_GUI="-mwindows"
17281 fi
17282
17283 if test "$wants_win32" = 1 ; then
17284 USE_UNIX=0
17285 USE_WIN32=1
17286 cat >>confdefs.h <<\_ACEOF
17287 #define __WIN32__ 1
17288 _ACEOF
17289
17290 cat >>confdefs.h <<\_ACEOF
17291 #define __WIN95__ 1
17292 _ACEOF
17293
17294 cat >>confdefs.h <<\_ACEOF
17295 #define __WINDOWS__ 1
17296 _ACEOF
17297
17298 cat >>confdefs.h <<\_ACEOF
17299 #define __GNUWIN32__ 1
17300 _ACEOF
17301
17302 cat >>confdefs.h <<\_ACEOF
17303 #define STRICT 1
17304 _ACEOF
17305
17306 fi
17307 if test "$doesnt_want_win32" = 1 ; then
17308 USE_UNIX=1
17309 USE_WIN32=0
17310 fi
17311
17312 if test "$USE_UNIX" = 1 ; then
17313 wxUSE_UNIX=yes
17314 cat >>confdefs.h <<\_ACEOF
17315 #define __UNIX__ 1
17316 _ACEOF
17317
17318 fi
17319
17320 case "${host}" in
17321 *-pc-os2_emx | *-pc-os2-emx )
17322 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17323 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17324 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17325 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 else
17328 ac_check_lib_save_LIBS=$LIBS
17329 LIBS="-lcExt $LIBS"
17330 cat >conftest.$ac_ext <<_ACEOF
17331 /* confdefs.h. */
17332 _ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336
17337 /* Override any GCC internal prototype to avoid an error.
17338 Use char because int might match the return type of a GCC
17339 builtin and then its argument prototype would still apply. */
17340 #ifdef __cplusplus
17341 extern "C"
17342 #endif
17343 char drand48 ();
17344 int
17345 main ()
17346 {
17347 return drand48 ();
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 rm -f conftest.$ac_objext conftest$ac_exeext
17353 if { (ac_try="$ac_link"
17354 case "(($ac_try" in
17355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17356 *) ac_try_echo=$ac_try;;
17357 esac
17358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17359 (eval "$ac_link") 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } && {
17366 test -z "$ac_c_werror_flag" ||
17367 test ! -s conftest.err
17368 } && test -s conftest$ac_exeext &&
17369 $as_test_x conftest$ac_exeext; then
17370 ac_cv_lib_cExt_drand48=yes
17371 else
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17374
17375 ac_cv_lib_cExt_drand48=no
17376 fi
17377
17378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17379 conftest$ac_exeext conftest.$ac_ext
17380 LIBS=$ac_check_lib_save_LIBS
17381 fi
17382 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17383 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17384 if test $ac_cv_lib_cExt_drand48 = yes; then
17385 LIBS="$LIBS -lcExt"
17386 fi
17387
17388 else
17389 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17390 fi
17391 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17392 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17393 if test "${wx_cv_gccversion+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17395 else
17396
17397 if test "$cross_compiling" = yes; then
17398 wx_cv_gccversion="EMX2"
17399
17400 else
17401 cat >conftest.$ac_ext <<_ACEOF
17402 /* confdefs.h. */
17403 _ACEOF
17404 cat confdefs.h >>conftest.$ac_ext
17405 cat >>conftest.$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17407
17408 #include <stdio.h>
17409
17410 int main()
17411 {
17412 FILE *f=fopen("conftestval", "w");
17413 if (!f) exit(1);
17414 fprintf(f,
17415 #if (__GNUC__ < 3)
17416 "EMX2"
17417 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17418 "EMX3"
17419 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17420 "Innotek5"
17421 #else
17422 "Innotek6"
17423 #endif
17424 );
17425 exit(0);
17426 }
17427
17428 _ACEOF
17429 rm -f conftest$ac_exeext
17430 if { (ac_try="$ac_link"
17431 case "(($ac_try" in
17432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17434 esac
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_link") 2>&5
17437 ac_status=$?
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17440 { (case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17443 esac
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_try") 2>&5
17446 ac_status=$?
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; }; then
17449 wx_cv_gccversion=`cat conftestval`
17450 else
17451 echo "$as_me: program exited with status $ac_status" >&5
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17454
17455 ( exit $ac_status )
17456 wx_cv_gccversion="EMX2"
17457 fi
17458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17459 fi
17460
17461
17462
17463 fi
17464 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17465 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17466 if test "$wx_cv_gccversion" = "EMX2"; then
17467 LIBS="$LIBS -lstdcpp"
17468 LDFLAGS="$LDFLAGS -Zsysv-signals"
17469 else
17470 if test "$wx_cv_gccversion" = "EMX3"; then
17471 LIBS="$LIBS -lstdcxx -lgcc"
17472 LDFLAGS="$LDFLAGS -Zsysv-signals"
17473 else
17474 LIBS="$LIBS -lstdc++"
17475 fi
17476 fi
17477 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17478 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17479 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17480 wxUSE_OMF=yes
17481 enable_omf=yes
17482 fi
17483 ;;
17484 *)
17485
17486 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17487 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17488 if test "${ac_cv_string_strcasecmp+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17490 else
17491
17492 cat >conftest.$ac_ext <<_ACEOF
17493 /* confdefs.h. */
17494 _ACEOF
17495 cat confdefs.h >>conftest.$ac_ext
17496 cat >>conftest.$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17498
17499 #include <string.h>
17500
17501 int
17502 main ()
17503 {
17504
17505 strcasecmp("foo", "bar");
17506
17507 ;
17508 return 0;
17509 }
17510 _ACEOF
17511 rm -f conftest.$ac_objext conftest$ac_exeext
17512 if { (ac_try="$ac_link"
17513 case "(($ac_try" in
17514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515 *) ac_try_echo=$ac_try;;
17516 esac
17517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17518 (eval "$ac_link") 2>conftest.er1
17519 ac_status=$?
17520 grep -v '^ *+' conftest.er1 >conftest.err
17521 rm -f conftest.er1
17522 cat conftest.err >&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } && {
17525 test -z "$ac_c_werror_flag" ||
17526 test ! -s conftest.err
17527 } && test -s conftest$ac_exeext &&
17528 $as_test_x conftest$ac_exeext; then
17529 ac_cv_string_strcasecmp=yes
17530 else
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.$ac_ext >&5
17533
17534 ac_cv_string_strcasecmp=no
17535
17536 fi
17537
17538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17539 conftest$ac_exeext conftest.$ac_ext
17540
17541 fi
17542 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17543 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17544
17545 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17546 cat >>confdefs.h <<\_ACEOF
17547 #define HAVE_STRCASECMP_IN_STRING_H 1
17548 _ACEOF
17549
17550 else
17551 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17552 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17553 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 else
17556
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563
17564 #include <strings.h>
17565
17566 int
17567 main ()
17568 {
17569
17570 strcasecmp("foo", "bar");
17571
17572 ;
17573 return 0;
17574 }
17575 _ACEOF
17576 rm -f conftest.$ac_objext conftest$ac_exeext
17577 if { (ac_try="$ac_link"
17578 case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17581 esac
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_link") 2>conftest.er1
17584 ac_status=$?
17585 grep -v '^ *+' conftest.er1 >conftest.err
17586 rm -f conftest.er1
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_c_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest$ac_exeext &&
17593 $as_test_x conftest$ac_exeext; then
17594 ac_cv_strings_strcasecmp=yes
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17598
17599 ac_cv_strings_strcasecmp=no
17600
17601 fi
17602
17603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17604 conftest$ac_exeext conftest.$ac_ext
17605
17606 fi
17607 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17608 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17609
17610 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17611 cat >>confdefs.h <<\_ACEOF
17612 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17613 _ACEOF
17614
17615 else
17616 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17617 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17618 { (exit 1); exit 1; }; }
17619 fi
17620 fi
17621
17622 ;;
17623 esac
17624
17625
17626 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17628 if test "${ac_cv_header_stdc+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 else
17631 cat >conftest.$ac_ext <<_ACEOF
17632 /* confdefs.h. */
17633 _ACEOF
17634 cat confdefs.h >>conftest.$ac_ext
17635 cat >>conftest.$ac_ext <<_ACEOF
17636 /* end confdefs.h. */
17637 #include <stdlib.h>
17638 #include <stdarg.h>
17639 #include <string.h>
17640 #include <float.h>
17641
17642 int
17643 main ()
17644 {
17645
17646 ;
17647 return 0;
17648 }
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (ac_try="$ac_compile"
17652 case "(($ac_try" in
17653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17654 *) ac_try_echo=$ac_try;;
17655 esac
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_compile") 2>conftest.er1
17658 ac_status=$?
17659 grep -v '^ *+' conftest.er1 >conftest.err
17660 rm -f conftest.er1
17661 cat conftest.err >&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } && {
17664 test -z "$ac_c_werror_flag" ||
17665 test ! -s conftest.err
17666 } && test -s conftest.$ac_objext; then
17667 ac_cv_header_stdc=yes
17668 else
17669 echo "$as_me: failed program was:" >&5
17670 sed 's/^/| /' conftest.$ac_ext >&5
17671
17672 ac_cv_header_stdc=no
17673 fi
17674
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676
17677 if test $ac_cv_header_stdc = yes; then
17678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 #include <string.h>
17686
17687 _ACEOF
17688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17689 $EGREP "memchr" >/dev/null 2>&1; then
17690 :
17691 else
17692 ac_cv_header_stdc=no
17693 fi
17694 rm -f conftest*
17695
17696 fi
17697
17698 if test $ac_cv_header_stdc = yes; then
17699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17700 cat >conftest.$ac_ext <<_ACEOF
17701 /* confdefs.h. */
17702 _ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 #include <stdlib.h>
17707
17708 _ACEOF
17709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17710 $EGREP "free" >/dev/null 2>&1; then
17711 :
17712 else
17713 ac_cv_header_stdc=no
17714 fi
17715 rm -f conftest*
17716
17717 fi
17718
17719 if test $ac_cv_header_stdc = yes; then
17720 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17721 if test "$cross_compiling" = yes; then
17722 :
17723 else
17724 cat >conftest.$ac_ext <<_ACEOF
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 #include <ctype.h>
17731 #include <stdlib.h>
17732 #if ((' ' & 0x0FF) == 0x020)
17733 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17734 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17735 #else
17736 # define ISLOWER(c) \
17737 (('a' <= (c) && (c) <= 'i') \
17738 || ('j' <= (c) && (c) <= 'r') \
17739 || ('s' <= (c) && (c) <= 'z'))
17740 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17741 #endif
17742
17743 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17744 int
17745 main ()
17746 {
17747 int i;
17748 for (i = 0; i < 256; i++)
17749 if (XOR (islower (i), ISLOWER (i))
17750 || toupper (i) != TOUPPER (i))
17751 return 2;
17752 return 0;
17753 }
17754 _ACEOF
17755 rm -f conftest$ac_exeext
17756 if { (ac_try="$ac_link"
17757 case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17760 esac
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_link") 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17766 { (case "(($ac_try" in
17767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17768 *) ac_try_echo=$ac_try;;
17769 esac
17770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17771 (eval "$ac_try") 2>&5
17772 ac_status=$?
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17775 :
17776 else
17777 echo "$as_me: program exited with status $ac_status" >&5
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.$ac_ext >&5
17780
17781 ( exit $ac_status )
17782 ac_cv_header_stdc=no
17783 fi
17784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17785 fi
17786
17787
17788 fi
17789 fi
17790 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17791 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17792 if test $ac_cv_header_stdc = yes; then
17793
17794 cat >>confdefs.h <<\_ACEOF
17795 #define STDC_HEADERS 1
17796 _ACEOF
17797
17798 fi
17799
17800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17811 inttypes.h stdint.h unistd.h
17812 do
17813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17826
17827 #include <$ac_header>
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (ac_try="$ac_compile"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17833 *) ac_try_echo=$ac_try;;
17834 esac
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_compile") 2>conftest.er1
17837 ac_status=$?
17838 grep -v '^ *+' conftest.er1 >conftest.err
17839 rm -f conftest.er1
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } && {
17843 test -z "$ac_c_werror_flag" ||
17844 test ! -s conftest.err
17845 } && test -s conftest.$ac_objext; then
17846 eval "$as_ac_Header=yes"
17847 else
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.$ac_ext >&5
17850
17851 eval "$as_ac_Header=no"
17852 fi
17853
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17855 fi
17856 ac_res=`eval echo '${'$as_ac_Header'}'`
17857 { echo "$as_me:$LINENO: result: $ac_res" >&5
17858 echo "${ECHO_T}$ac_res" >&6; }
17859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17860 cat >>confdefs.h <<_ACEOF
17861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17862 _ACEOF
17863
17864 fi
17865
17866 done
17867
17868
17869
17870
17871
17872
17873
17874
17875 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17876 do
17877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 else
17883 cat >conftest.$ac_ext <<_ACEOF
17884 /* confdefs.h. */
17885 _ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17890
17891 #include <$ac_header>
17892 _ACEOF
17893 rm -f conftest.$ac_objext
17894 if { (ac_try="$ac_compile"
17895 case "(($ac_try" in
17896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17897 *) ac_try_echo=$ac_try;;
17898 esac
17899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17900 (eval "$ac_compile") 2>conftest.er1
17901 ac_status=$?
17902 grep -v '^ *+' conftest.er1 >conftest.err
17903 rm -f conftest.er1
17904 cat conftest.err >&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } && {
17907 test -z "$ac_c_werror_flag" ||
17908 test ! -s conftest.err
17909 } && test -s conftest.$ac_objext; then
17910 eval "$as_ac_Header=yes"
17911 else
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17914
17915 eval "$as_ac_Header=no"
17916 fi
17917
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919 fi
17920 ac_res=`eval echo '${'$as_ac_Header'}'`
17921 { echo "$as_me:$LINENO: result: $ac_res" >&5
17922 echo "${ECHO_T}$ac_res" >&6; }
17923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17924 cat >>confdefs.h <<_ACEOF
17925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17926 _ACEOF
17927
17928 fi
17929
17930 done
17931
17932
17933 if test "$ac_cv_header_wchar_h" != "yes"; then
17934 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17935 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17936 if test "${ac_cv_header_wcstr_h+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 $ac_includes_default
17946
17947 #include <wcstr.h>
17948 _ACEOF
17949 rm -f conftest.$ac_objext
17950 if { (ac_try="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17954 esac
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17957 ac_status=$?
17958 grep -v '^ *+' conftest.er1 >conftest.err
17959 rm -f conftest.er1
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_c_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 ac_cv_header_wcstr_h=yes
17967 else
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17970
17971 ac_cv_header_wcstr_h=no
17972 fi
17973
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 fi
17976 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17977 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17978
17979
17980 fi
17981
17982 case "${host}" in
17983 *-pc-os2_emx | *-pc-os2-emx )
17984 if test $ac_cv_header_langinfo_h = "yes" \
17985 -a \( "$wx_cv_gccversion" = "EMX2" \
17986 -o "$wx_cv_gccversion" = "EMX3" \
17987 -o "$wx_cv_gccversion" = "Innotek5" \); then
17988 LIBS="$LIBS -lintl"
17989 fi
17990 ;;
17991 esac
17992
17993 if test "$USE_UNIX" = 1 ; then
17994 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17995 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17996 if test "${ac_cv_header_sys_select_h+set}" = set; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999 cat >conftest.$ac_ext <<_ACEOF
18000 /* confdefs.h. */
18001 _ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18006
18007 #include <sys/select.h>
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18014 esac
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.$ac_objext; then
18026 ac_cv_header_sys_select_h=yes
18027 else
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18030
18031 ac_cv_header_sys_select_h=no
18032 fi
18033
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18035 fi
18036 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18037 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18038
18039
18040 fi
18041
18042
18043 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18044 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18045 if test "${ac_cv_c_const+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 else
18048 cat >conftest.$ac_ext <<_ACEOF
18049 /* confdefs.h. */
18050 _ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054
18055 int
18056 main ()
18057 {
18058 /* FIXME: Include the comments suggested by Paul. */
18059 #ifndef __cplusplus
18060 /* Ultrix mips cc rejects this. */
18061 typedef int charset[2];
18062 const charset cs;
18063 /* SunOS 4.1.1 cc rejects this. */
18064 char const *const *pcpcc;
18065 char **ppc;
18066 /* NEC SVR4.0.2 mips cc rejects this. */
18067 struct point {int x, y;};
18068 static struct point const zero = {0,0};
18069 /* AIX XL C 1.02.0.0 rejects this.
18070 It does not let you subtract one const X* pointer from another in
18071 an arm of an if-expression whose if-part is not a constant
18072 expression */
18073 const char *g = "string";
18074 pcpcc = &g + (g ? g-g : 0);
18075 /* HPUX 7.0 cc rejects these. */
18076 ++pcpcc;
18077 ppc = (char**) pcpcc;
18078 pcpcc = (char const *const *) ppc;
18079 { /* SCO 3.2v4 cc rejects this. */
18080 char *t;
18081 char const *s = 0 ? (char *) 0 : (char const *) 0;
18082
18083 *t++ = 0;
18084 if (s) return 0;
18085 }
18086 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18087 int x[] = {25, 17};
18088 const int *foo = &x[0];
18089 ++foo;
18090 }
18091 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18092 typedef const int *iptr;
18093 iptr p = 0;
18094 ++p;
18095 }
18096 { /* AIX XL C 1.02.0.0 rejects this saying
18097 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18098 struct s { int j; const int *ap[3]; };
18099 struct s *b; b->j = 5;
18100 }
18101 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18102 const int foo = 10;
18103 if (!foo) return 0;
18104 }
18105 return !cs[0] && !zero.x;
18106 #endif
18107
18108 ;
18109 return 0;
18110 }
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_c_const=yes
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134 ac_cv_c_const=no
18135 fi
18136
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138 fi
18139 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18140 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18141 if test $ac_cv_c_const = no; then
18142
18143 cat >>confdefs.h <<\_ACEOF
18144 #define const
18145 _ACEOF
18146
18147 fi
18148
18149 { echo "$as_me:$LINENO: checking for inline" >&5
18150 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18151 if test "${ac_cv_c_inline+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18153 else
18154 ac_cv_c_inline=no
18155 for ac_kw in inline __inline__ __inline; do
18156 cat >conftest.$ac_ext <<_ACEOF
18157 /* confdefs.h. */
18158 _ACEOF
18159 cat confdefs.h >>conftest.$ac_ext
18160 cat >>conftest.$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 #ifndef __cplusplus
18163 typedef int foo_t;
18164 static $ac_kw foo_t static_foo () {return 0; }
18165 $ac_kw foo_t foo () {return 0; }
18166 #endif
18167
18168 _ACEOF
18169 rm -f conftest.$ac_objext
18170 if { (ac_try="$ac_compile"
18171 case "(($ac_try" in
18172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18173 *) ac_try_echo=$ac_try;;
18174 esac
18175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18176 (eval "$ac_compile") 2>conftest.er1
18177 ac_status=$?
18178 grep -v '^ *+' conftest.er1 >conftest.err
18179 rm -f conftest.er1
18180 cat conftest.err >&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } && {
18183 test -z "$ac_c_werror_flag" ||
18184 test ! -s conftest.err
18185 } && test -s conftest.$ac_objext; then
18186 ac_cv_c_inline=$ac_kw
18187 else
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.$ac_ext >&5
18190
18191
18192 fi
18193
18194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18195 test "$ac_cv_c_inline" != no && break
18196 done
18197
18198 fi
18199 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18200 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18201
18202
18203 case $ac_cv_c_inline in
18204 inline | yes) ;;
18205 *)
18206 case $ac_cv_c_inline in
18207 no) ac_val=;;
18208 *) ac_val=$ac_cv_c_inline;;
18209 esac
18210 cat >>confdefs.h <<_ACEOF
18211 #ifndef __cplusplus
18212 #define inline $ac_val
18213 #endif
18214 _ACEOF
18215 ;;
18216 esac
18217
18218
18219 { echo "$as_me:$LINENO: checking for short" >&5
18220 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18221 if test "${ac_cv_type_short+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18223 else
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 $ac_includes_default
18231 typedef short ac__type_new_;
18232 int
18233 main ()
18234 {
18235 if ((ac__type_new_ *) 0)
18236 return 0;
18237 if (sizeof (ac__type_new_))
18238 return 0;
18239 ;
18240 return 0;
18241 }
18242 _ACEOF
18243 rm -f conftest.$ac_objext
18244 if { (ac_try="$ac_compile"
18245 case "(($ac_try" in
18246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18247 *) ac_try_echo=$ac_try;;
18248 esac
18249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18250 (eval "$ac_compile") 2>conftest.er1
18251 ac_status=$?
18252 grep -v '^ *+' conftest.er1 >conftest.err
18253 rm -f conftest.er1
18254 cat conftest.err >&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); } && {
18257 test -z "$ac_c_werror_flag" ||
18258 test ! -s conftest.err
18259 } && test -s conftest.$ac_objext; then
18260 ac_cv_type_short=yes
18261 else
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18264
18265 ac_cv_type_short=no
18266 fi
18267
18268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18269 fi
18270 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18271 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18272
18273 # The cast to long int works around a bug in the HP C Compiler
18274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18276 # This bug is HP SR number 8606223364.
18277 { echo "$as_me:$LINENO: checking size of short" >&5
18278 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18279 if test "${ac_cv_sizeof_short+set}" = set; then
18280 echo $ECHO_N "(cached) $ECHO_C" >&6
18281 else
18282 if test "$cross_compiling" = yes; then
18283 # Depending upon the size, compute the lo and hi bounds.
18284 cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h. */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18291 typedef short ac__type_sizeof_;
18292 int
18293 main ()
18294 {
18295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18296 test_array [0] = 0
18297
18298 ;
18299 return 0;
18300 }
18301 _ACEOF
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18307 esac
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18310 ac_status=$?
18311 grep -v '^ *+' conftest.er1 >conftest.err
18312 rm -f conftest.er1
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_c_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18319 ac_lo=0 ac_mid=0
18320 while :; do
18321 cat >conftest.$ac_ext <<_ACEOF
18322 /* confdefs.h. */
18323 _ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 $ac_includes_default
18328 typedef short ac__type_sizeof_;
18329 int
18330 main ()
18331 {
18332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18333 test_array [0] = 0
18334
18335 ;
18336 return 0;
18337 }
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (ac_try="$ac_compile"
18341 case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18344 esac
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_compile") 2>conftest.er1
18347 ac_status=$?
18348 grep -v '^ *+' conftest.er1 >conftest.err
18349 rm -f conftest.er1
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest.$ac_objext; then
18356 ac_hi=$ac_mid; break
18357 else
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18360
18361 ac_lo=`expr $ac_mid + 1`
18362 if test $ac_lo -le $ac_mid; then
18363 ac_lo= ac_hi=
18364 break
18365 fi
18366 ac_mid=`expr 2 '*' $ac_mid + 1`
18367 fi
18368
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 done
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 cat >conftest.$ac_ext <<_ACEOF
18376 /* confdefs.h. */
18377 _ACEOF
18378 cat confdefs.h >>conftest.$ac_ext
18379 cat >>conftest.$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18381 $ac_includes_default
18382 typedef short ac__type_sizeof_;
18383 int
18384 main ()
18385 {
18386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18387 test_array [0] = 0
18388
18389 ;
18390 return 0;
18391 }
18392 _ACEOF
18393 rm -f conftest.$ac_objext
18394 if { (ac_try="$ac_compile"
18395 case "(($ac_try" in
18396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18397 *) ac_try_echo=$ac_try;;
18398 esac
18399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18400 (eval "$ac_compile") 2>conftest.er1
18401 ac_status=$?
18402 grep -v '^ *+' conftest.er1 >conftest.err
18403 rm -f conftest.er1
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } && {
18407 test -z "$ac_c_werror_flag" ||
18408 test ! -s conftest.err
18409 } && test -s conftest.$ac_objext; then
18410 ac_hi=-1 ac_mid=-1
18411 while :; do
18412 cat >conftest.$ac_ext <<_ACEOF
18413 /* confdefs.h. */
18414 _ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418 $ac_includes_default
18419 typedef short ac__type_sizeof_;
18420 int
18421 main ()
18422 {
18423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18424 test_array [0] = 0
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18435 esac
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18438 ac_status=$?
18439 grep -v '^ *+' conftest.er1 >conftest.err
18440 rm -f conftest.er1
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 ac_lo=$ac_mid; break
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18451
18452 ac_hi=`expr '(' $ac_mid ')' - 1`
18453 if test $ac_mid -le $ac_hi; then
18454 ac_lo= ac_hi=
18455 break
18456 fi
18457 ac_mid=`expr 2 '*' $ac_mid`
18458 fi
18459
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461 done
18462 else
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18465
18466 ac_lo= ac_hi=
18467 fi
18468
18469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 fi
18471
18472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 # Binary search between lo and hi bounds.
18474 while test "x$ac_lo" != "x$ac_hi"; do
18475 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18476 cat >conftest.$ac_ext <<_ACEOF
18477 /* confdefs.h. */
18478 _ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 $ac_includes_default
18483 typedef short ac__type_sizeof_;
18484 int
18485 main ()
18486 {
18487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18488 test_array [0] = 0
18489
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18499 esac
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18502 ac_status=$?
18503 grep -v '^ *+' conftest.er1 >conftest.err
18504 rm -f conftest.er1
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_c_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.$ac_objext; then
18511 ac_hi=$ac_mid
18512 else
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18515
18516 ac_lo=`expr '(' $ac_mid ')' + 1`
18517 fi
18518
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520 done
18521 case $ac_lo in
18522 ?*) ac_cv_sizeof_short=$ac_lo;;
18523 '') if test "$ac_cv_type_short" = yes; then
18524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18525 See \`config.log' for more details." >&5
18526 echo "$as_me: error: cannot compute sizeof (short)
18527 See \`config.log' for more details." >&2;}
18528 { (exit 77); exit 77; }; }
18529 else
18530 ac_cv_sizeof_short=0
18531 fi ;;
18532 esac
18533 else
18534 cat >conftest.$ac_ext <<_ACEOF
18535 /* confdefs.h. */
18536 _ACEOF
18537 cat confdefs.h >>conftest.$ac_ext
18538 cat >>conftest.$ac_ext <<_ACEOF
18539 /* end confdefs.h. */
18540 $ac_includes_default
18541 typedef short ac__type_sizeof_;
18542 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18543 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18544 #include <stdio.h>
18545 #include <stdlib.h>
18546 int
18547 main ()
18548 {
18549
18550 FILE *f = fopen ("conftest.val", "w");
18551 if (! f)
18552 return 1;
18553 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18554 {
18555 long int i = longval ();
18556 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18557 return 1;
18558 fprintf (f, "%ld\n", i);
18559 }
18560 else
18561 {
18562 unsigned long int i = ulongval ();
18563 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18564 return 1;
18565 fprintf (f, "%lu\n", i);
18566 }
18567 return ferror (f) || fclose (f) != 0;
18568
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 rm -f conftest$ac_exeext
18574 if { (ac_try="$ac_link"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18578 esac
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_link") 2>&5
18581 ac_status=$?
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18584 { (case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18587 esac
18588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18589 (eval "$ac_try") 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_sizeof_short=`cat conftest.val`
18594 else
18595 echo "$as_me: program exited with status $ac_status" >&5
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.$ac_ext >&5
18598
18599 ( exit $ac_status )
18600 if test "$ac_cv_type_short" = yes; then
18601 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18602 See \`config.log' for more details." >&5
18603 echo "$as_me: error: cannot compute sizeof (short)
18604 See \`config.log' for more details." >&2;}
18605 { (exit 77); exit 77; }; }
18606 else
18607 ac_cv_sizeof_short=0
18608 fi
18609 fi
18610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18611 fi
18612 rm -f conftest.val
18613 fi
18614 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18615 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18616
18617
18618
18619 cat >>confdefs.h <<_ACEOF
18620 #define SIZEOF_SHORT $ac_cv_sizeof_short
18621 _ACEOF
18622
18623
18624 { echo "$as_me:$LINENO: checking for void *" >&5
18625 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18626 if test "${ac_cv_type_void_p+set}" = set; then
18627 echo $ECHO_N "(cached) $ECHO_C" >&6
18628 else
18629 cat >conftest.$ac_ext <<_ACEOF
18630 /* confdefs.h. */
18631 _ACEOF
18632 cat confdefs.h >>conftest.$ac_ext
18633 cat >>conftest.$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 $ac_includes_default
18636 typedef void * ac__type_new_;
18637 int
18638 main ()
18639 {
18640 if ((ac__type_new_ *) 0)
18641 return 0;
18642 if (sizeof (ac__type_new_))
18643 return 0;
18644 ;
18645 return 0;
18646 }
18647 _ACEOF
18648 rm -f conftest.$ac_objext
18649 if { (ac_try="$ac_compile"
18650 case "(($ac_try" in
18651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18652 *) ac_try_echo=$ac_try;;
18653 esac
18654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18655 (eval "$ac_compile") 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } && {
18662 test -z "$ac_c_werror_flag" ||
18663 test ! -s conftest.err
18664 } && test -s conftest.$ac_objext; then
18665 ac_cv_type_void_p=yes
18666 else
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18669
18670 ac_cv_type_void_p=no
18671 fi
18672
18673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18674 fi
18675 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18676 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18677
18678 # The cast to long int works around a bug in the HP C Compiler
18679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18681 # This bug is HP SR number 8606223364.
18682 { echo "$as_me:$LINENO: checking size of void *" >&5
18683 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18684 if test "${ac_cv_sizeof_void_p+set}" = set; then
18685 echo $ECHO_N "(cached) $ECHO_C" >&6
18686 else
18687 if test "$cross_compiling" = yes; then
18688 # Depending upon the size, compute the lo and hi bounds.
18689 cat >conftest.$ac_ext <<_ACEOF
18690 /* confdefs.h. */
18691 _ACEOF
18692 cat confdefs.h >>conftest.$ac_ext
18693 cat >>conftest.$ac_ext <<_ACEOF
18694 /* end confdefs.h. */
18695 $ac_includes_default
18696 typedef void * ac__type_sizeof_;
18697 int
18698 main ()
18699 {
18700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18701 test_array [0] = 0
18702
18703 ;
18704 return 0;
18705 }
18706 _ACEOF
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18712 esac
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18715 ac_status=$?
18716 grep -v '^ *+' conftest.er1 >conftest.err
18717 rm -f conftest.er1
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18724 ac_lo=0 ac_mid=0
18725 while :; do
18726 cat >conftest.$ac_ext <<_ACEOF
18727 /* confdefs.h. */
18728 _ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 $ac_includes_default
18733 typedef void * ac__type_sizeof_;
18734 int
18735 main ()
18736 {
18737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18738 test_array [0] = 0
18739
18740 ;
18741 return 0;
18742 }
18743 _ACEOF
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18749 esac
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.$ac_objext; then
18761 ac_hi=$ac_mid; break
18762 else
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18765
18766 ac_lo=`expr $ac_mid + 1`
18767 if test $ac_lo -le $ac_mid; then
18768 ac_lo= ac_hi=
18769 break
18770 fi
18771 ac_mid=`expr 2 '*' $ac_mid + 1`
18772 fi
18773
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18775 done
18776 else
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18779
18780 cat >conftest.$ac_ext <<_ACEOF
18781 /* confdefs.h. */
18782 _ACEOF
18783 cat confdefs.h >>conftest.$ac_ext
18784 cat >>conftest.$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 $ac_includes_default
18787 typedef void * ac__type_sizeof_;
18788 int
18789 main ()
18790 {
18791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18792 test_array [0] = 0
18793
18794 ;
18795 return 0;
18796 }
18797 _ACEOF
18798 rm -f conftest.$ac_objext
18799 if { (ac_try="$ac_compile"
18800 case "(($ac_try" in
18801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18802 *) ac_try_echo=$ac_try;;
18803 esac
18804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18805 (eval "$ac_compile") 2>conftest.er1
18806 ac_status=$?
18807 grep -v '^ *+' conftest.er1 >conftest.err
18808 rm -f conftest.er1
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } && {
18812 test -z "$ac_c_werror_flag" ||
18813 test ! -s conftest.err
18814 } && test -s conftest.$ac_objext; then
18815 ac_hi=-1 ac_mid=-1
18816 while :; do
18817 cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h. */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 $ac_includes_default
18824 typedef void * ac__type_sizeof_;
18825 int
18826 main ()
18827 {
18828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18829 test_array [0] = 0
18830
18831 ;
18832 return 0;
18833 }
18834 _ACEOF
18835 rm -f conftest.$ac_objext
18836 if { (ac_try="$ac_compile"
18837 case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18840 esac
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_compile") 2>conftest.er1
18843 ac_status=$?
18844 grep -v '^ *+' conftest.er1 >conftest.err
18845 rm -f conftest.er1
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } && {
18849 test -z "$ac_c_werror_flag" ||
18850 test ! -s conftest.err
18851 } && test -s conftest.$ac_objext; then
18852 ac_lo=$ac_mid; break
18853 else
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.$ac_ext >&5
18856
18857 ac_hi=`expr '(' $ac_mid ')' - 1`
18858 if test $ac_mid -le $ac_hi; then
18859 ac_lo= ac_hi=
18860 break
18861 fi
18862 ac_mid=`expr 2 '*' $ac_mid`
18863 fi
18864
18865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18866 done
18867 else
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18870
18871 ac_lo= ac_hi=
18872 fi
18873
18874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18875 fi
18876
18877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18878 # Binary search between lo and hi bounds.
18879 while test "x$ac_lo" != "x$ac_hi"; do
18880 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18881 cat >conftest.$ac_ext <<_ACEOF
18882 /* confdefs.h. */
18883 _ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 $ac_includes_default
18888 typedef void * ac__type_sizeof_;
18889 int
18890 main ()
18891 {
18892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18893 test_array [0] = 0
18894
18895 ;
18896 return 0;
18897 }
18898 _ACEOF
18899 rm -f conftest.$ac_objext
18900 if { (ac_try="$ac_compile"
18901 case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18904 esac
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_compile") 2>conftest.er1
18907 ac_status=$?
18908 grep -v '^ *+' conftest.er1 >conftest.err
18909 rm -f conftest.er1
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } && {
18913 test -z "$ac_c_werror_flag" ||
18914 test ! -s conftest.err
18915 } && test -s conftest.$ac_objext; then
18916 ac_hi=$ac_mid
18917 else
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18920
18921 ac_lo=`expr '(' $ac_mid ')' + 1`
18922 fi
18923
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925 done
18926 case $ac_lo in
18927 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18928 '') if test "$ac_cv_type_void_p" = yes; then
18929 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18930 See \`config.log' for more details." >&5
18931 echo "$as_me: error: cannot compute sizeof (void *)
18932 See \`config.log' for more details." >&2;}
18933 { (exit 77); exit 77; }; }
18934 else
18935 ac_cv_sizeof_void_p=0
18936 fi ;;
18937 esac
18938 else
18939 cat >conftest.$ac_ext <<_ACEOF
18940 /* confdefs.h. */
18941 _ACEOF
18942 cat confdefs.h >>conftest.$ac_ext
18943 cat >>conftest.$ac_ext <<_ACEOF
18944 /* end confdefs.h. */
18945 $ac_includes_default
18946 typedef void * ac__type_sizeof_;
18947 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18948 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18949 #include <stdio.h>
18950 #include <stdlib.h>
18951 int
18952 main ()
18953 {
18954
18955 FILE *f = fopen ("conftest.val", "w");
18956 if (! f)
18957 return 1;
18958 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18959 {
18960 long int i = longval ();
18961 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18962 return 1;
18963 fprintf (f, "%ld\n", i);
18964 }
18965 else
18966 {
18967 unsigned long int i = ulongval ();
18968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18969 return 1;
18970 fprintf (f, "%lu\n", i);
18971 }
18972 return ferror (f) || fclose (f) != 0;
18973
18974 ;
18975 return 0;
18976 }
18977 _ACEOF
18978 rm -f conftest$ac_exeext
18979 if { (ac_try="$ac_link"
18980 case "(($ac_try" in
18981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18982 *) ac_try_echo=$ac_try;;
18983 esac
18984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_link") 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18989 { (case "(($ac_try" in
18990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18991 *) ac_try_echo=$ac_try;;
18992 esac
18993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18994 (eval "$ac_try") 2>&5
18995 ac_status=$?
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; }; then
18998 ac_cv_sizeof_void_p=`cat conftest.val`
18999 else
19000 echo "$as_me: program exited with status $ac_status" >&5
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19003
19004 ( exit $ac_status )
19005 if test "$ac_cv_type_void_p" = yes; then
19006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19007 See \`config.log' for more details." >&5
19008 echo "$as_me: error: cannot compute sizeof (void *)
19009 See \`config.log' for more details." >&2;}
19010 { (exit 77); exit 77; }; }
19011 else
19012 ac_cv_sizeof_void_p=0
19013 fi
19014 fi
19015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19016 fi
19017 rm -f conftest.val
19018 fi
19019 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19020 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19021
19022
19023
19024 cat >>confdefs.h <<_ACEOF
19025 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19026 _ACEOF
19027
19028
19029 { echo "$as_me:$LINENO: checking for int" >&5
19030 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19031 if test "${ac_cv_type_int+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else
19034 cat >conftest.$ac_ext <<_ACEOF
19035 /* confdefs.h. */
19036 _ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 $ac_includes_default
19041 typedef int ac__type_new_;
19042 int
19043 main ()
19044 {
19045 if ((ac__type_new_ *) 0)
19046 return 0;
19047 if (sizeof (ac__type_new_))
19048 return 0;
19049 ;
19050 return 0;
19051 }
19052 _ACEOF
19053 rm -f conftest.$ac_objext
19054 if { (ac_try="$ac_compile"
19055 case "(($ac_try" in
19056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19057 *) ac_try_echo=$ac_try;;
19058 esac
19059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19060 (eval "$ac_compile") 2>conftest.er1
19061 ac_status=$?
19062 grep -v '^ *+' conftest.er1 >conftest.err
19063 rm -f conftest.er1
19064 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } && {
19067 test -z "$ac_c_werror_flag" ||
19068 test ! -s conftest.err
19069 } && test -s conftest.$ac_objext; then
19070 ac_cv_type_int=yes
19071 else
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19074
19075 ac_cv_type_int=no
19076 fi
19077
19078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19079 fi
19080 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19081 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19082
19083 # The cast to long int works around a bug in the HP C Compiler
19084 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19085 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19086 # This bug is HP SR number 8606223364.
19087 { echo "$as_me:$LINENO: checking size of int" >&5
19088 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19089 if test "${ac_cv_sizeof_int+set}" = set; then
19090 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 else
19092 if test "$cross_compiling" = yes; then
19093 # Depending upon the size, compute the lo and hi bounds.
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19101 typedef int ac__type_sizeof_;
19102 int
19103 main ()
19104 {
19105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19106 test_array [0] = 0
19107
19108 ;
19109 return 0;
19110 }
19111 _ACEOF
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 ac_lo=0 ac_mid=0
19130 while :; do
19131 cat >conftest.$ac_ext <<_ACEOF
19132 /* confdefs.h. */
19133 _ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 $ac_includes_default
19138 typedef int ac__type_sizeof_;
19139 int
19140 main ()
19141 {
19142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19143 test_array [0] = 0
19144
19145 ;
19146 return 0;
19147 }
19148 _ACEOF
19149 rm -f conftest.$ac_objext
19150 if { (ac_try="$ac_compile"
19151 case "(($ac_try" in
19152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19154 esac
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_compile") 2>conftest.er1
19157 ac_status=$?
19158 grep -v '^ *+' conftest.er1 >conftest.err
19159 rm -f conftest.er1
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } && {
19163 test -z "$ac_c_werror_flag" ||
19164 test ! -s conftest.err
19165 } && test -s conftest.$ac_objext; then
19166 ac_hi=$ac_mid; break
19167 else
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19170
19171 ac_lo=`expr $ac_mid + 1`
19172 if test $ac_lo -le $ac_mid; then
19173 ac_lo= ac_hi=
19174 break
19175 fi
19176 ac_mid=`expr 2 '*' $ac_mid + 1`
19177 fi
19178
19179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19180 done
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19184
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 $ac_includes_default
19192 typedef int ac__type_sizeof_;
19193 int
19194 main ()
19195 {
19196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19197 test_array [0] = 0
19198
19199 ;
19200 return 0;
19201 }
19202 _ACEOF
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19211 ac_status=$?
19212 grep -v '^ *+' conftest.er1 >conftest.err
19213 rm -f conftest.er1
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 ac_hi=-1 ac_mid=-1
19221 while :; do
19222 cat >conftest.$ac_ext <<_ACEOF
19223 /* confdefs.h. */
19224 _ACEOF
19225 cat confdefs.h >>conftest.$ac_ext
19226 cat >>conftest.$ac_ext <<_ACEOF
19227 /* end confdefs.h. */
19228 $ac_includes_default
19229 typedef int ac__type_sizeof_;
19230 int
19231 main ()
19232 {
19233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19234 test_array [0] = 0
19235
19236 ;
19237 return 0;
19238 }
19239 _ACEOF
19240 rm -f conftest.$ac_objext
19241 if { (ac_try="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19245 esac
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 ac_lo=$ac_mid; break
19258 else
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19261
19262 ac_hi=`expr '(' $ac_mid ')' - 1`
19263 if test $ac_mid -le $ac_hi; then
19264 ac_lo= ac_hi=
19265 break
19266 fi
19267 ac_mid=`expr 2 '*' $ac_mid`
19268 fi
19269
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271 done
19272 else
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19275
19276 ac_lo= ac_hi=
19277 fi
19278
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19280 fi
19281
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 # Binary search between lo and hi bounds.
19284 while test "x$ac_lo" != "x$ac_hi"; do
19285 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19286 cat >conftest.$ac_ext <<_ACEOF
19287 /* confdefs.h. */
19288 _ACEOF
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 $ac_includes_default
19293 typedef int ac__type_sizeof_;
19294 int
19295 main ()
19296 {
19297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19298 test_array [0] = 0
19299
19300 ;
19301 return 0;
19302 }
19303 _ACEOF
19304 rm -f conftest.$ac_objext
19305 if { (ac_try="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19309 esac
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19312 ac_status=$?
19313 grep -v '^ *+' conftest.er1 >conftest.err
19314 rm -f conftest.er1
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } && {
19318 test -z "$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19320 } && test -s conftest.$ac_objext; then
19321 ac_hi=$ac_mid
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19325
19326 ac_lo=`expr '(' $ac_mid ')' + 1`
19327 fi
19328
19329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19330 done
19331 case $ac_lo in
19332 ?*) ac_cv_sizeof_int=$ac_lo;;
19333 '') if test "$ac_cv_type_int" = yes; then
19334 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19335 See \`config.log' for more details." >&5
19336 echo "$as_me: error: cannot compute sizeof (int)
19337 See \`config.log' for more details." >&2;}
19338 { (exit 77); exit 77; }; }
19339 else
19340 ac_cv_sizeof_int=0
19341 fi ;;
19342 esac
19343 else
19344 cat >conftest.$ac_ext <<_ACEOF
19345 /* confdefs.h. */
19346 _ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 $ac_includes_default
19351 typedef int ac__type_sizeof_;
19352 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19353 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19354 #include <stdio.h>
19355 #include <stdlib.h>
19356 int
19357 main ()
19358 {
19359
19360 FILE *f = fopen ("conftest.val", "w");
19361 if (! f)
19362 return 1;
19363 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19364 {
19365 long int i = longval ();
19366 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19367 return 1;
19368 fprintf (f, "%ld\n", i);
19369 }
19370 else
19371 {
19372 unsigned long int i = ulongval ();
19373 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19374 return 1;
19375 fprintf (f, "%lu\n", i);
19376 }
19377 return ferror (f) || fclose (f) != 0;
19378
19379 ;
19380 return 0;
19381 }
19382 _ACEOF
19383 rm -f conftest$ac_exeext
19384 if { (ac_try="$ac_link"
19385 case "(($ac_try" in
19386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19387 *) ac_try_echo=$ac_try;;
19388 esac
19389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19390 (eval "$ac_link") 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19394 { (case "(($ac_try" in
19395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19396 *) ac_try_echo=$ac_try;;
19397 esac
19398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19399 (eval "$ac_try") 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 ac_cv_sizeof_int=`cat conftest.val`
19404 else
19405 echo "$as_me: program exited with status $ac_status" >&5
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19408
19409 ( exit $ac_status )
19410 if test "$ac_cv_type_int" = yes; then
19411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19412 See \`config.log' for more details." >&5
19413 echo "$as_me: error: cannot compute sizeof (int)
19414 See \`config.log' for more details." >&2;}
19415 { (exit 77); exit 77; }; }
19416 else
19417 ac_cv_sizeof_int=0
19418 fi
19419 fi
19420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19421 fi
19422 rm -f conftest.val
19423 fi
19424 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19425 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19426
19427
19428
19429 cat >>confdefs.h <<_ACEOF
19430 #define SIZEOF_INT $ac_cv_sizeof_int
19431 _ACEOF
19432
19433
19434 { echo "$as_me:$LINENO: checking for long" >&5
19435 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19436 if test "${ac_cv_type_long+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 else
19439 cat >conftest.$ac_ext <<_ACEOF
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19446 typedef long ac__type_new_;
19447 int
19448 main ()
19449 {
19450 if ((ac__type_new_ *) 0)
19451 return 0;
19452 if (sizeof (ac__type_new_))
19453 return 0;
19454 ;
19455 return 0;
19456 }
19457 _ACEOF
19458 rm -f conftest.$ac_objext
19459 if { (ac_try="$ac_compile"
19460 case "(($ac_try" in
19461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19462 *) ac_try_echo=$ac_try;;
19463 esac
19464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19465 (eval "$ac_compile") 2>conftest.er1
19466 ac_status=$?
19467 grep -v '^ *+' conftest.er1 >conftest.err
19468 rm -f conftest.er1
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } && {
19472 test -z "$ac_c_werror_flag" ||
19473 test ! -s conftest.err
19474 } && test -s conftest.$ac_objext; then
19475 ac_cv_type_long=yes
19476 else
19477 echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.$ac_ext >&5
19479
19480 ac_cv_type_long=no
19481 fi
19482
19483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 fi
19485 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19486 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19487
19488 # The cast to long int works around a bug in the HP C Compiler
19489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19491 # This bug is HP SR number 8606223364.
19492 { echo "$as_me:$LINENO: checking size of long" >&5
19493 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19494 if test "${ac_cv_sizeof_long+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 else
19497 if test "$cross_compiling" = yes; then
19498 # Depending upon the size, compute the lo and hi bounds.
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 $ac_includes_default
19506 typedef long ac__type_sizeof_;
19507 int
19508 main ()
19509 {
19510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19511 test_array [0] = 0
19512
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19522 esac
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19525 ac_status=$?
19526 grep -v '^ *+' conftest.er1 >conftest.err
19527 rm -f conftest.er1
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_lo=0 ac_mid=0
19535 while :; do
19536 cat >conftest.$ac_ext <<_ACEOF
19537 /* confdefs.h. */
19538 _ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19543 typedef long ac__type_sizeof_;
19544 int
19545 main ()
19546 {
19547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19548 test_array [0] = 0
19549
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19559 esac
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19562 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.$ac_objext; then
19571 ac_hi=$ac_mid; break
19572 else
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19575
19576 ac_lo=`expr $ac_mid + 1`
19577 if test $ac_lo -le $ac_mid; then
19578 ac_lo= ac_hi=
19579 break
19580 fi
19581 ac_mid=`expr 2 '*' $ac_mid + 1`
19582 fi
19583
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 done
19586 else
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19589
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 typedef long ac__type_sizeof_;
19598 int
19599 main ()
19600 {
19601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19602 test_array [0] = 0
19603
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 rm -f conftest.$ac_objext
19609 if { (ac_try="$ac_compile"
19610 case "(($ac_try" in
19611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19612 *) ac_try_echo=$ac_try;;
19613 esac
19614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19615 (eval "$ac_compile") 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } && {
19622 test -z "$ac_c_werror_flag" ||
19623 test ! -s conftest.err
19624 } && test -s conftest.$ac_objext; then
19625 ac_hi=-1 ac_mid=-1
19626 while :; do
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 $ac_includes_default
19634 typedef long ac__type_sizeof_;
19635 int
19636 main ()
19637 {
19638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19639 test_array [0] = 0
19640
19641 ;
19642 return 0;
19643 }
19644 _ACEOF
19645 rm -f conftest.$ac_objext
19646 if { (ac_try="$ac_compile"
19647 case "(($ac_try" in
19648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19649 *) ac_try_echo=$ac_try;;
19650 esac
19651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19652 (eval "$ac_compile") 2>conftest.er1
19653 ac_status=$?
19654 grep -v '^ *+' conftest.er1 >conftest.err
19655 rm -f conftest.er1
19656 cat conftest.err >&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } && {
19659 test -z "$ac_c_werror_flag" ||
19660 test ! -s conftest.err
19661 } && test -s conftest.$ac_objext; then
19662 ac_lo=$ac_mid; break
19663 else
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19666
19667 ac_hi=`expr '(' $ac_mid ')' - 1`
19668 if test $ac_mid -le $ac_hi; then
19669 ac_lo= ac_hi=
19670 break
19671 fi
19672 ac_mid=`expr 2 '*' $ac_mid`
19673 fi
19674
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 done
19677 else
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19680
19681 ac_lo= ac_hi=
19682 fi
19683
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19685 fi
19686
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19688 # Binary search between lo and hi bounds.
19689 while test "x$ac_lo" != "x$ac_hi"; do
19690 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19691 cat >conftest.$ac_ext <<_ACEOF
19692 /* confdefs.h. */
19693 _ACEOF
19694 cat confdefs.h >>conftest.$ac_ext
19695 cat >>conftest.$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 $ac_includes_default
19698 typedef long ac__type_sizeof_;
19699 int
19700 main ()
19701 {
19702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19703 test_array [0] = 0
19704
19705 ;
19706 return 0;
19707 }
19708 _ACEOF
19709 rm -f conftest.$ac_objext
19710 if { (ac_try="$ac_compile"
19711 case "(($ac_try" in
19712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19714 esac
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_compile") 2>conftest.er1
19717 ac_status=$?
19718 grep -v '^ *+' conftest.er1 >conftest.err
19719 rm -f conftest.er1
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } && {
19723 test -z "$ac_c_werror_flag" ||
19724 test ! -s conftest.err
19725 } && test -s conftest.$ac_objext; then
19726 ac_hi=$ac_mid
19727 else
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19730
19731 ac_lo=`expr '(' $ac_mid ')' + 1`
19732 fi
19733
19734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19735 done
19736 case $ac_lo in
19737 ?*) ac_cv_sizeof_long=$ac_lo;;
19738 '') if test "$ac_cv_type_long" = yes; then
19739 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19740 See \`config.log' for more details." >&5
19741 echo "$as_me: error: cannot compute sizeof (long)
19742 See \`config.log' for more details." >&2;}
19743 { (exit 77); exit 77; }; }
19744 else
19745 ac_cv_sizeof_long=0
19746 fi ;;
19747 esac
19748 else
19749 cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h. */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19756 typedef long ac__type_sizeof_;
19757 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19758 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19759 #include <stdio.h>
19760 #include <stdlib.h>
19761 int
19762 main ()
19763 {
19764
19765 FILE *f = fopen ("conftest.val", "w");
19766 if (! f)
19767 return 1;
19768 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19769 {
19770 long int i = longval ();
19771 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19772 return 1;
19773 fprintf (f, "%ld\n", i);
19774 }
19775 else
19776 {
19777 unsigned long int i = ulongval ();
19778 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19779 return 1;
19780 fprintf (f, "%lu\n", i);
19781 }
19782 return ferror (f) || fclose (f) != 0;
19783
19784 ;
19785 return 0;
19786 }
19787 _ACEOF
19788 rm -f conftest$ac_exeext
19789 if { (ac_try="$ac_link"
19790 case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19793 esac
19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_link") 2>&5
19796 ac_status=$?
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19799 { (case "(($ac_try" in
19800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19801 *) ac_try_echo=$ac_try;;
19802 esac
19803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804 (eval "$ac_try") 2>&5
19805 ac_status=$?
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; }; then
19808 ac_cv_sizeof_long=`cat conftest.val`
19809 else
19810 echo "$as_me: program exited with status $ac_status" >&5
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19813
19814 ( exit $ac_status )
19815 if test "$ac_cv_type_long" = yes; then
19816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19817 See \`config.log' for more details." >&5
19818 echo "$as_me: error: cannot compute sizeof (long)
19819 See \`config.log' for more details." >&2;}
19820 { (exit 77); exit 77; }; }
19821 else
19822 ac_cv_sizeof_long=0
19823 fi
19824 fi
19825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19826 fi
19827 rm -f conftest.val
19828 fi
19829 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19830 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19831
19832
19833
19834 cat >>confdefs.h <<_ACEOF
19835 #define SIZEOF_LONG $ac_cv_sizeof_long
19836 _ACEOF
19837
19838
19839 { echo "$as_me:$LINENO: checking for size_t" >&5
19840 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19841 if test "${ac_cv_type_size_t+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 else
19844 cat >conftest.$ac_ext <<_ACEOF
19845 /* confdefs.h. */
19846 _ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 $ac_includes_default
19851 typedef size_t ac__type_new_;
19852 int
19853 main ()
19854 {
19855 if ((ac__type_new_ *) 0)
19856 return 0;
19857 if (sizeof (ac__type_new_))
19858 return 0;
19859 ;
19860 return 0;
19861 }
19862 _ACEOF
19863 rm -f conftest.$ac_objext
19864 if { (ac_try="$ac_compile"
19865 case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19868 esac
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_compile") 2>conftest.er1
19871 ac_status=$?
19872 grep -v '^ *+' conftest.er1 >conftest.err
19873 rm -f conftest.er1
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_c_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest.$ac_objext; then
19880 ac_cv_type_size_t=yes
19881 else
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19884
19885 ac_cv_type_size_t=no
19886 fi
19887
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889 fi
19890 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19891 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19892
19893 # The cast to long int works around a bug in the HP C Compiler
19894 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19895 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19896 # This bug is HP SR number 8606223364.
19897 { echo "$as_me:$LINENO: checking size of size_t" >&5
19898 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19899 if test "${ac_cv_sizeof_size_t+set}" = set; then
19900 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 else
19902 if test "$cross_compiling" = yes; then
19903 # Depending upon the size, compute the lo and hi bounds.
19904 cat >conftest.$ac_ext <<_ACEOF
19905 /* confdefs.h. */
19906 _ACEOF
19907 cat confdefs.h >>conftest.$ac_ext
19908 cat >>conftest.$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19911 typedef size_t ac__type_sizeof_;
19912 int
19913 main ()
19914 {
19915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19916 test_array [0] = 0
19917
19918 ;
19919 return 0;
19920 }
19921 _ACEOF
19922 rm -f conftest.$ac_objext
19923 if { (ac_try="$ac_compile"
19924 case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19927 esac
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_compile") 2>conftest.er1
19930 ac_status=$?
19931 grep -v '^ *+' conftest.er1 >conftest.err
19932 rm -f conftest.er1
19933 cat conftest.err >&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } && {
19936 test -z "$ac_c_werror_flag" ||
19937 test ! -s conftest.err
19938 } && test -s conftest.$ac_objext; then
19939 ac_lo=0 ac_mid=0
19940 while :; do
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19948 typedef size_t ac__type_sizeof_;
19949 int
19950 main ()
19951 {
19952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19953 test_array [0] = 0
19954
19955 ;
19956 return 0;
19957 }
19958 _ACEOF
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19964 esac
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19967 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_hi=$ac_mid; break
19977 else
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19980
19981 ac_lo=`expr $ac_mid + 1`
19982 if test $ac_lo -le $ac_mid; then
19983 ac_lo= ac_hi=
19984 break
19985 fi
19986 ac_mid=`expr 2 '*' $ac_mid + 1`
19987 fi
19988
19989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19990 done
19991 else
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19994
19995 cat >conftest.$ac_ext <<_ACEOF
19996 /* confdefs.h. */
19997 _ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 $ac_includes_default
20002 typedef size_t ac__type_sizeof_;
20003 int
20004 main ()
20005 {
20006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20007 test_array [0] = 0
20008
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (ac_try="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20018 esac
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } && {
20027 test -z "$ac_c_werror_flag" ||
20028 test ! -s conftest.err
20029 } && test -s conftest.$ac_objext; then
20030 ac_hi=-1 ac_mid=-1
20031 while :; do
20032 cat >conftest.$ac_ext <<_ACEOF
20033 /* confdefs.h. */
20034 _ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 $ac_includes_default
20039 typedef size_t ac__type_sizeof_;
20040 int
20041 main ()
20042 {
20043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20044 test_array [0] = 0
20045
20046 ;
20047 return 0;
20048 }
20049 _ACEOF
20050 rm -f conftest.$ac_objext
20051 if { (ac_try="$ac_compile"
20052 case "(($ac_try" in
20053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20054 *) ac_try_echo=$ac_try;;
20055 esac
20056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20057 (eval "$ac_compile") 2>conftest.er1
20058 ac_status=$?
20059 grep -v '^ *+' conftest.er1 >conftest.err
20060 rm -f conftest.er1
20061 cat conftest.err >&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } && {
20064 test -z "$ac_c_werror_flag" ||
20065 test ! -s conftest.err
20066 } && test -s conftest.$ac_objext; then
20067 ac_lo=$ac_mid; break
20068 else
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20071
20072 ac_hi=`expr '(' $ac_mid ')' - 1`
20073 if test $ac_mid -le $ac_hi; then
20074 ac_lo= ac_hi=
20075 break
20076 fi
20077 ac_mid=`expr 2 '*' $ac_mid`
20078 fi
20079
20080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20081 done
20082 else
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20085
20086 ac_lo= ac_hi=
20087 fi
20088
20089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20090 fi
20091
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 # Binary search between lo and hi bounds.
20094 while test "x$ac_lo" != "x$ac_hi"; do
20095 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20096 cat >conftest.$ac_ext <<_ACEOF
20097 /* confdefs.h. */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 typedef size_t ac__type_sizeof_;
20104 int
20105 main ()
20106 {
20107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20108 test_array [0] = 0
20109
20110 ;
20111 return 0;
20112 }
20113 _ACEOF
20114 rm -f conftest.$ac_objext
20115 if { (ac_try="$ac_compile"
20116 case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20119 esac
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_compile") 2>conftest.er1
20122 ac_status=$?
20123 grep -v '^ *+' conftest.er1 >conftest.err
20124 rm -f conftest.er1
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } && {
20128 test -z "$ac_c_werror_flag" ||
20129 test ! -s conftest.err
20130 } && test -s conftest.$ac_objext; then
20131 ac_hi=$ac_mid
20132 else
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20135
20136 ac_lo=`expr '(' $ac_mid ')' + 1`
20137 fi
20138
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 done
20141 case $ac_lo in
20142 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20143 '') if test "$ac_cv_type_size_t" = yes; then
20144 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20145 See \`config.log' for more details." >&5
20146 echo "$as_me: error: cannot compute sizeof (size_t)
20147 See \`config.log' for more details." >&2;}
20148 { (exit 77); exit 77; }; }
20149 else
20150 ac_cv_sizeof_size_t=0
20151 fi ;;
20152 esac
20153 else
20154 cat >conftest.$ac_ext <<_ACEOF
20155 /* confdefs.h. */
20156 _ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 $ac_includes_default
20161 typedef size_t ac__type_sizeof_;
20162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20164 #include <stdio.h>
20165 #include <stdlib.h>
20166 int
20167 main ()
20168 {
20169
20170 FILE *f = fopen ("conftest.val", "w");
20171 if (! f)
20172 return 1;
20173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20174 {
20175 long int i = longval ();
20176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20177 return 1;
20178 fprintf (f, "%ld\n", i);
20179 }
20180 else
20181 {
20182 unsigned long int i = ulongval ();
20183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20184 return 1;
20185 fprintf (f, "%lu\n", i);
20186 }
20187 return ferror (f) || fclose (f) != 0;
20188
20189 ;
20190 return 0;
20191 }
20192 _ACEOF
20193 rm -f conftest$ac_exeext
20194 if { (ac_try="$ac_link"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_link") 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20204 { (case "(($ac_try" in
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20207 esac
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_try") 2>&5
20210 ac_status=$?
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_sizeof_size_t=`cat conftest.val`
20214 else
20215 echo "$as_me: program exited with status $ac_status" >&5
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ( exit $ac_status )
20220 if test "$ac_cv_type_size_t" = yes; then
20221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20222 See \`config.log' for more details." >&5
20223 echo "$as_me: error: cannot compute sizeof (size_t)
20224 See \`config.log' for more details." >&2;}
20225 { (exit 77); exit 77; }; }
20226 else
20227 ac_cv_sizeof_size_t=0
20228 fi
20229 fi
20230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20231 fi
20232 rm -f conftest.val
20233 fi
20234 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20235 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20236
20237
20238
20239 cat >>confdefs.h <<_ACEOF
20240 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20241 _ACEOF
20242
20243
20244
20245 case "${host}" in
20246 arm-*-linux* )
20247 { echo "$as_me:$LINENO: checking for long long" >&5
20248 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20249 if test "${ac_cv_type_long_long+set}" = set; then
20250 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 else
20252 cat >conftest.$ac_ext <<_ACEOF
20253 /* confdefs.h. */
20254 _ACEOF
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258 $ac_includes_default
20259 typedef long long ac__type_new_;
20260 int
20261 main ()
20262 {
20263 if ((ac__type_new_ *) 0)
20264 return 0;
20265 if (sizeof (ac__type_new_))
20266 return 0;
20267 ;
20268 return 0;
20269 }
20270 _ACEOF
20271 rm -f conftest.$ac_objext
20272 if { (ac_try="$ac_compile"
20273 case "(($ac_try" in
20274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20275 *) ac_try_echo=$ac_try;;
20276 esac
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278 (eval "$ac_compile") 2>conftest.er1
20279 ac_status=$?
20280 grep -v '^ *+' conftest.er1 >conftest.err
20281 rm -f conftest.er1
20282 cat conftest.err >&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } && {
20285 test -z "$ac_c_werror_flag" ||
20286 test ! -s conftest.err
20287 } && test -s conftest.$ac_objext; then
20288 ac_cv_type_long_long=yes
20289 else
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.$ac_ext >&5
20292
20293 ac_cv_type_long_long=no
20294 fi
20295
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20297 fi
20298 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20299 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20300
20301 # The cast to long int works around a bug in the HP C Compiler
20302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20304 # This bug is HP SR number 8606223364.
20305 { echo "$as_me:$LINENO: checking size of long long" >&5
20306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20307 if test "${ac_cv_sizeof_long_long+set}" = set; then
20308 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 else
20310 if test "$cross_compiling" = yes; then
20311 # Depending upon the size, compute the lo and hi bounds.
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20319 typedef long long ac__type_sizeof_;
20320 int
20321 main ()
20322 {
20323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20324 test_array [0] = 0
20325
20326 ;
20327 return 0;
20328 }
20329 _ACEOF
20330 rm -f conftest.$ac_objext
20331 if { (ac_try="$ac_compile"
20332 case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20335 esac
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_compile") 2>conftest.er1
20338 ac_status=$?
20339 grep -v '^ *+' conftest.er1 >conftest.err
20340 rm -f conftest.er1
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } && {
20344 test -z "$ac_c_werror_flag" ||
20345 test ! -s conftest.err
20346 } && test -s conftest.$ac_objext; then
20347 ac_lo=0 ac_mid=0
20348 while :; do
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h. */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef long long ac__type_sizeof_;
20357 int
20358 main ()
20359 {
20360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20361 test_array [0] = 0
20362
20363 ;
20364 return 0;
20365 }
20366 _ACEOF
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_hi=$ac_mid; break
20385 else
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20388
20389 ac_lo=`expr $ac_mid + 1`
20390 if test $ac_lo -le $ac_mid; then
20391 ac_lo= ac_hi=
20392 break
20393 fi
20394 ac_mid=`expr 2 '*' $ac_mid + 1`
20395 fi
20396
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 done
20399 else
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20402
20403 cat >conftest.$ac_ext <<_ACEOF
20404 /* confdefs.h. */
20405 _ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 $ac_includes_default
20410 typedef long long ac__type_sizeof_;
20411 int
20412 main ()
20413 {
20414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20415 test_array [0] = 0
20416
20417 ;
20418 return 0;
20419 }
20420 _ACEOF
20421 rm -f conftest.$ac_objext
20422 if { (ac_try="$ac_compile"
20423 case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20426 esac
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_compile") 2>conftest.er1
20429 ac_status=$?
20430 grep -v '^ *+' conftest.er1 >conftest.err
20431 rm -f conftest.er1
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } && {
20435 test -z "$ac_c_werror_flag" ||
20436 test ! -s conftest.err
20437 } && test -s conftest.$ac_objext; then
20438 ac_hi=-1 ac_mid=-1
20439 while :; do
20440 cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h. */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20447 typedef long long ac__type_sizeof_;
20448 int
20449 main ()
20450 {
20451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20452 test_array [0] = 0
20453
20454 ;
20455 return 0;
20456 }
20457 _ACEOF
20458 rm -f conftest.$ac_objext
20459 if { (ac_try="$ac_compile"
20460 case "(($ac_try" in
20461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20462 *) ac_try_echo=$ac_try;;
20463 esac
20464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20465 (eval "$ac_compile") 2>conftest.er1
20466 ac_status=$?
20467 grep -v '^ *+' conftest.er1 >conftest.err
20468 rm -f conftest.er1
20469 cat conftest.err >&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } && {
20472 test -z "$ac_c_werror_flag" ||
20473 test ! -s conftest.err
20474 } && test -s conftest.$ac_objext; then
20475 ac_lo=$ac_mid; break
20476 else
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.$ac_ext >&5
20479
20480 ac_hi=`expr '(' $ac_mid ')' - 1`
20481 if test $ac_mid -le $ac_hi; then
20482 ac_lo= ac_hi=
20483 break
20484 fi
20485 ac_mid=`expr 2 '*' $ac_mid`
20486 fi
20487
20488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20489 done
20490 else
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20493
20494 ac_lo= ac_hi=
20495 fi
20496
20497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20498 fi
20499
20500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20501 # Binary search between lo and hi bounds.
20502 while test "x$ac_lo" != "x$ac_hi"; do
20503 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20504 cat >conftest.$ac_ext <<_ACEOF
20505 /* confdefs.h. */
20506 _ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 $ac_includes_default
20511 typedef long long ac__type_sizeof_;
20512 int
20513 main ()
20514 {
20515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20516 test_array [0] = 0
20517
20518 ;
20519 return 0;
20520 }
20521 _ACEOF
20522 rm -f conftest.$ac_objext
20523 if { (ac_try="$ac_compile"
20524 case "(($ac_try" in
20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20526 *) ac_try_echo=$ac_try;;
20527 esac
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20529 (eval "$ac_compile") 2>conftest.er1
20530 ac_status=$?
20531 grep -v '^ *+' conftest.er1 >conftest.err
20532 rm -f conftest.er1
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } && {
20536 test -z "$ac_c_werror_flag" ||
20537 test ! -s conftest.err
20538 } && test -s conftest.$ac_objext; then
20539 ac_hi=$ac_mid
20540 else
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.$ac_ext >&5
20543
20544 ac_lo=`expr '(' $ac_mid ')' + 1`
20545 fi
20546
20547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20548 done
20549 case $ac_lo in
20550 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20551 '') if test "$ac_cv_type_long_long" = yes; then
20552 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20553 See \`config.log' for more details." >&5
20554 echo "$as_me: error: cannot compute sizeof (long long)
20555 See \`config.log' for more details." >&2;}
20556 { (exit 77); exit 77; }; }
20557 else
20558 ac_cv_sizeof_long_long=0
20559 fi ;;
20560 esac
20561 else
20562 cat >conftest.$ac_ext <<_ACEOF
20563 /* confdefs.h. */
20564 _ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20569 typedef long long ac__type_sizeof_;
20570 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20571 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20572 #include <stdio.h>
20573 #include <stdlib.h>
20574 int
20575 main ()
20576 {
20577
20578 FILE *f = fopen ("conftest.val", "w");
20579 if (! f)
20580 return 1;
20581 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20582 {
20583 long int i = longval ();
20584 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20585 return 1;
20586 fprintf (f, "%ld\n", i);
20587 }
20588 else
20589 {
20590 unsigned long int i = ulongval ();
20591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20592 return 1;
20593 fprintf (f, "%lu\n", i);
20594 }
20595 return ferror (f) || fclose (f) != 0;
20596
20597 ;
20598 return 0;
20599 }
20600 _ACEOF
20601 rm -f conftest$ac_exeext
20602 if { (ac_try="$ac_link"
20603 case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20606 esac
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_link") 2>&5
20609 ac_status=$?
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20612 { (case "(($ac_try" in
20613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20614 *) ac_try_echo=$ac_try;;
20615 esac
20616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20617 (eval "$ac_try") 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_cv_sizeof_long_long=`cat conftest.val`
20622 else
20623 echo "$as_me: program exited with status $ac_status" >&5
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 ( exit $ac_status )
20628 if test "$ac_cv_type_long_long" = yes; then
20629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20630 See \`config.log' for more details." >&5
20631 echo "$as_me: error: cannot compute sizeof (long long)
20632 See \`config.log' for more details." >&2;}
20633 { (exit 77); exit 77; }; }
20634 else
20635 ac_cv_sizeof_long_long=0
20636 fi
20637 fi
20638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20639 fi
20640 rm -f conftest.val
20641 fi
20642 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20643 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20644
20645
20646
20647 cat >>confdefs.h <<_ACEOF
20648 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20649 _ACEOF
20650
20651
20652 ;;
20653 *-hp-hpux* )
20654 { echo "$as_me:$LINENO: checking for long long" >&5
20655 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20656 if test "${ac_cv_type_long_long+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20658 else
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef long long ac__type_new_;
20667 int
20668 main ()
20669 {
20670 if ((ac__type_new_ *) 0)
20671 return 0;
20672 if (sizeof (ac__type_new_))
20673 return 0;
20674 ;
20675 return 0;
20676 }
20677 _ACEOF
20678 rm -f conftest.$ac_objext
20679 if { (ac_try="$ac_compile"
20680 case "(($ac_try" in
20681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;;
20683 esac
20684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20685 (eval "$ac_compile") 2>conftest.er1
20686 ac_status=$?
20687 grep -v '^ *+' conftest.er1 >conftest.err
20688 rm -f conftest.er1
20689 cat conftest.err >&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && {
20692 test -z "$ac_c_werror_flag" ||
20693 test ! -s conftest.err
20694 } && test -s conftest.$ac_objext; then
20695 ac_cv_type_long_long=yes
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 ac_cv_type_long_long=no
20701 fi
20702
20703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20704 fi
20705 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20706 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20707
20708 # The cast to long int works around a bug in the HP C Compiler
20709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20711 # This bug is HP SR number 8606223364.
20712 { echo "$as_me:$LINENO: checking size of long long" >&5
20713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20714 if test "${ac_cv_sizeof_long_long+set}" = set; then
20715 echo $ECHO_N "(cached) $ECHO_C" >&6
20716 else
20717 if test "$cross_compiling" = yes; then
20718 # Depending upon the size, compute the lo and hi bounds.
20719 cat >conftest.$ac_ext <<_ACEOF
20720 /* confdefs.h. */
20721 _ACEOF
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 $ac_includes_default
20726 typedef long long ac__type_sizeof_;
20727 int
20728 main ()
20729 {
20730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20731 test_array [0] = 0
20732
20733 ;
20734 return 0;
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_lo=0 ac_mid=0
20755 while :; do
20756 cat >conftest.$ac_ext <<_ACEOF
20757 /* confdefs.h. */
20758 _ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 typedef long long ac__type_sizeof_;
20764 int
20765 main ()
20766 {
20767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20768 test_array [0] = 0
20769
20770 ;
20771 return 0;
20772 }
20773 _ACEOF
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20779 esac
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20782 ac_status=$?
20783 grep -v '^ *+' conftest.er1 >conftest.err
20784 rm -f conftest.er1
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.$ac_objext; then
20791 ac_hi=$ac_mid; break
20792 else
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.$ac_ext >&5
20795
20796 ac_lo=`expr $ac_mid + 1`
20797 if test $ac_lo -le $ac_mid; then
20798 ac_lo= ac_hi=
20799 break
20800 fi
20801 ac_mid=`expr 2 '*' $ac_mid + 1`
20802 fi
20803
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805 done
20806 else
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20809
20810 cat >conftest.$ac_ext <<_ACEOF
20811 /* confdefs.h. */
20812 _ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20816 $ac_includes_default
20817 typedef long long ac__type_sizeof_;
20818 int
20819 main ()
20820 {
20821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20822 test_array [0] = 0
20823
20824 ;
20825 return 0;
20826 }
20827 _ACEOF
20828 rm -f conftest.$ac_objext
20829 if { (ac_try="$ac_compile"
20830 case "(($ac_try" in
20831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20832 *) ac_try_echo=$ac_try;;
20833 esac
20834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20835 (eval "$ac_compile") 2>conftest.er1
20836 ac_status=$?
20837 grep -v '^ *+' conftest.er1 >conftest.err
20838 rm -f conftest.er1
20839 cat conftest.err >&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } && {
20842 test -z "$ac_c_werror_flag" ||
20843 test ! -s conftest.err
20844 } && test -s conftest.$ac_objext; then
20845 ac_hi=-1 ac_mid=-1
20846 while :; do
20847 cat >conftest.$ac_ext <<_ACEOF
20848 /* confdefs.h. */
20849 _ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h. */
20853 $ac_includes_default
20854 typedef long long ac__type_sizeof_;
20855 int
20856 main ()
20857 {
20858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20859 test_array [0] = 0
20860
20861 ;
20862 return 0;
20863 }
20864 _ACEOF
20865 rm -f conftest.$ac_objext
20866 if { (ac_try="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20870 esac
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20873 ac_status=$?
20874 grep -v '^ *+' conftest.er1 >conftest.err
20875 rm -f conftest.er1
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest.$ac_objext; then
20882 ac_lo=$ac_mid; break
20883 else
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20886
20887 ac_hi=`expr '(' $ac_mid ')' - 1`
20888 if test $ac_mid -le $ac_hi; then
20889 ac_lo= ac_hi=
20890 break
20891 fi
20892 ac_mid=`expr 2 '*' $ac_mid`
20893 fi
20894
20895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20896 done
20897 else
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.$ac_ext >&5
20900
20901 ac_lo= ac_hi=
20902 fi
20903
20904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20905 fi
20906
20907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908 # Binary search between lo and hi bounds.
20909 while test "x$ac_lo" != "x$ac_hi"; do
20910 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20911 cat >conftest.$ac_ext <<_ACEOF
20912 /* confdefs.h. */
20913 _ACEOF
20914 cat confdefs.h >>conftest.$ac_ext
20915 cat >>conftest.$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 $ac_includes_default
20918 typedef long long ac__type_sizeof_;
20919 int
20920 main ()
20921 {
20922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20923 test_array [0] = 0
20924
20925 ;
20926 return 0;
20927 }
20928 _ACEOF
20929 rm -f conftest.$ac_objext
20930 if { (ac_try="$ac_compile"
20931 case "(($ac_try" in
20932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20933 *) ac_try_echo=$ac_try;;
20934 esac
20935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_compile") 2>conftest.er1
20937 ac_status=$?
20938 grep -v '^ *+' conftest.er1 >conftest.err
20939 rm -f conftest.er1
20940 cat conftest.err >&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } && {
20943 test -z "$ac_c_werror_flag" ||
20944 test ! -s conftest.err
20945 } && test -s conftest.$ac_objext; then
20946 ac_hi=$ac_mid
20947 else
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.$ac_ext >&5
20950
20951 ac_lo=`expr '(' $ac_mid ')' + 1`
20952 fi
20953
20954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20955 done
20956 case $ac_lo in
20957 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20958 '') if test "$ac_cv_type_long_long" = yes; then
20959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20960 See \`config.log' for more details." >&5
20961 echo "$as_me: error: cannot compute sizeof (long long)
20962 See \`config.log' for more details." >&2;}
20963 { (exit 77); exit 77; }; }
20964 else
20965 ac_cv_sizeof_long_long=0
20966 fi ;;
20967 esac
20968 else
20969 cat >conftest.$ac_ext <<_ACEOF
20970 /* confdefs.h. */
20971 _ACEOF
20972 cat confdefs.h >>conftest.$ac_ext
20973 cat >>conftest.$ac_ext <<_ACEOF
20974 /* end confdefs.h. */
20975 $ac_includes_default
20976 typedef long long ac__type_sizeof_;
20977 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20978 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20979 #include <stdio.h>
20980 #include <stdlib.h>
20981 int
20982 main ()
20983 {
20984
20985 FILE *f = fopen ("conftest.val", "w");
20986 if (! f)
20987 return 1;
20988 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20989 {
20990 long int i = longval ();
20991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20992 return 1;
20993 fprintf (f, "%ld\n", i);
20994 }
20995 else
20996 {
20997 unsigned long int i = ulongval ();
20998 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20999 return 1;
21000 fprintf (f, "%lu\n", i);
21001 }
21002 return ferror (f) || fclose (f) != 0;
21003
21004 ;
21005 return 0;
21006 }
21007 _ACEOF
21008 rm -f conftest$ac_exeext
21009 if { (ac_try="$ac_link"
21010 case "(($ac_try" in
21011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21013 esac
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_link") 2>&5
21016 ac_status=$?
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21019 { (case "(($ac_try" in
21020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21021 *) ac_try_echo=$ac_try;;
21022 esac
21023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21024 (eval "$ac_try") 2>&5
21025 ac_status=$?
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21028 ac_cv_sizeof_long_long=`cat conftest.val`
21029 else
21030 echo "$as_me: program exited with status $ac_status" >&5
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21033
21034 ( exit $ac_status )
21035 if test "$ac_cv_type_long_long" = yes; then
21036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21037 See \`config.log' for more details." >&5
21038 echo "$as_me: error: cannot compute sizeof (long long)
21039 See \`config.log' for more details." >&2;}
21040 { (exit 77); exit 77; }; }
21041 else
21042 ac_cv_sizeof_long_long=0
21043 fi
21044 fi
21045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21046 fi
21047 rm -f conftest.val
21048 fi
21049 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21050 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21051
21052
21053
21054 cat >>confdefs.h <<_ACEOF
21055 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21056 _ACEOF
21057
21058
21059 if test "$ac_cv_sizeof_long_long" != "0"; then
21060 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21061 fi
21062 ;;
21063 * )
21064 { echo "$as_me:$LINENO: checking for long long" >&5
21065 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21066 if test "${ac_cv_type_long_long+set}" = set; then
21067 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 else
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 $ac_includes_default
21076 typedef long long ac__type_new_;
21077 int
21078 main ()
21079 {
21080 if ((ac__type_new_ *) 0)
21081 return 0;
21082 if (sizeof (ac__type_new_))
21083 return 0;
21084 ;
21085 return 0;
21086 }
21087 _ACEOF
21088 rm -f conftest.$ac_objext
21089 if { (ac_try="$ac_compile"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21093 esac
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_compile") 2>conftest.er1
21096 ac_status=$?
21097 grep -v '^ *+' conftest.er1 >conftest.err
21098 rm -f conftest.er1
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } && {
21102 test -z "$ac_c_werror_flag" ||
21103 test ! -s conftest.err
21104 } && test -s conftest.$ac_objext; then
21105 ac_cv_type_long_long=yes
21106 else
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21109
21110 ac_cv_type_long_long=no
21111 fi
21112
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 fi
21115 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21116 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21117
21118 # The cast to long int works around a bug in the HP C Compiler
21119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21121 # This bug is HP SR number 8606223364.
21122 { echo "$as_me:$LINENO: checking size of long long" >&5
21123 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21124 if test "${ac_cv_sizeof_long_long+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21126 else
21127 if test "$cross_compiling" = yes; then
21128 # Depending upon the size, compute the lo and hi bounds.
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 typedef long long ac__type_sizeof_;
21137 int
21138 main ()
21139 {
21140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21141 test_array [0] = 0
21142
21143 ;
21144 return 0;
21145 }
21146 _ACEOF
21147 rm -f conftest.$ac_objext
21148 if { (ac_try="$ac_compile"
21149 case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21152 esac
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_compile") 2>conftest.er1
21155 ac_status=$?
21156 grep -v '^ *+' conftest.er1 >conftest.err
21157 rm -f conftest.er1
21158 cat conftest.err >&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && {
21161 test -z "$ac_c_werror_flag" ||
21162 test ! -s conftest.err
21163 } && test -s conftest.$ac_objext; then
21164 ac_lo=0 ac_mid=0
21165 while :; do
21166 cat >conftest.$ac_ext <<_ACEOF
21167 /* confdefs.h. */
21168 _ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21173 typedef long long ac__type_sizeof_;
21174 int
21175 main ()
21176 {
21177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21178 test_array [0] = 0
21179
21180 ;
21181 return 0;
21182 }
21183 _ACEOF
21184 rm -f conftest.$ac_objext
21185 if { (ac_try="$ac_compile"
21186 case "(($ac_try" in
21187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21188 *) ac_try_echo=$ac_try;;
21189 esac
21190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21191 (eval "$ac_compile") 2>conftest.er1
21192 ac_status=$?
21193 grep -v '^ *+' conftest.er1 >conftest.err
21194 rm -f conftest.er1
21195 cat conftest.err >&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } && {
21198 test -z "$ac_c_werror_flag" ||
21199 test ! -s conftest.err
21200 } && test -s conftest.$ac_objext; then
21201 ac_hi=$ac_mid; break
21202 else
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21205
21206 ac_lo=`expr $ac_mid + 1`
21207 if test $ac_lo -le $ac_mid; then
21208 ac_lo= ac_hi=
21209 break
21210 fi
21211 ac_mid=`expr 2 '*' $ac_mid + 1`
21212 fi
21213
21214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21215 done
21216 else
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21219
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 $ac_includes_default
21227 typedef long long ac__type_sizeof_;
21228 int
21229 main ()
21230 {
21231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21232 test_array [0] = 0
21233
21234 ;
21235 return 0;
21236 }
21237 _ACEOF
21238 rm -f conftest.$ac_objext
21239 if { (ac_try="$ac_compile"
21240 case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21243 esac
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_compile") 2>conftest.er1
21246 ac_status=$?
21247 grep -v '^ *+' conftest.er1 >conftest.err
21248 rm -f conftest.er1
21249 cat conftest.err >&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest.$ac_objext; then
21255 ac_hi=-1 ac_mid=-1
21256 while :; do
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 long long ac__type_sizeof_;
21265 int
21266 main ()
21267 {
21268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
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=$ac_mid; break
21293 else
21294 echo "$as_me: failed program was:" >&5
21295 sed 's/^/| /' conftest.$ac_ext >&5
21296
21297 ac_hi=`expr '(' $ac_mid ')' - 1`
21298 if test $ac_mid -le $ac_hi; then
21299 ac_lo= ac_hi=
21300 break
21301 fi
21302 ac_mid=`expr 2 '*' $ac_mid`
21303 fi
21304
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 done
21307 else
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21310
21311 ac_lo= ac_hi=
21312 fi
21313
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315 fi
21316
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318 # Binary search between lo and hi bounds.
21319 while test "x$ac_lo" != "x$ac_hi"; do
21320 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21321 cat >conftest.$ac_ext <<_ACEOF
21322 /* confdefs.h. */
21323 _ACEOF
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 $ac_includes_default
21328 typedef long long ac__type_sizeof_;
21329 int
21330 main ()
21331 {
21332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21333 test_array [0] = 0
21334
21335 ;
21336 return 0;
21337 }
21338 _ACEOF
21339 rm -f conftest.$ac_objext
21340 if { (ac_try="$ac_compile"
21341 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21344 esac
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_compile") 2>conftest.er1
21347 ac_status=$?
21348 grep -v '^ *+' conftest.er1 >conftest.err
21349 rm -f conftest.er1
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest.$ac_objext; then
21356 ac_hi=$ac_mid
21357 else
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21360
21361 ac_lo=`expr '(' $ac_mid ')' + 1`
21362 fi
21363
21364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21365 done
21366 case $ac_lo in
21367 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21368 '') if test "$ac_cv_type_long_long" = yes; then
21369 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21370 See \`config.log' for more details." >&5
21371 echo "$as_me: error: cannot compute sizeof (long long)
21372 See \`config.log' for more details." >&2;}
21373 { (exit 77); exit 77; }; }
21374 else
21375 ac_cv_sizeof_long_long=0
21376 fi ;;
21377 esac
21378 else
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef long long ac__type_sizeof_;
21387 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21388 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21389 #include <stdio.h>
21390 #include <stdlib.h>
21391 int
21392 main ()
21393 {
21394
21395 FILE *f = fopen ("conftest.val", "w");
21396 if (! f)
21397 return 1;
21398 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21399 {
21400 long int i = longval ();
21401 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21402 return 1;
21403 fprintf (f, "%ld\n", i);
21404 }
21405 else
21406 {
21407 unsigned long int i = ulongval ();
21408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21409 return 1;
21410 fprintf (f, "%lu\n", i);
21411 }
21412 return ferror (f) || fclose (f) != 0;
21413
21414 ;
21415 return 0;
21416 }
21417 _ACEOF
21418 rm -f conftest$ac_exeext
21419 if { (ac_try="$ac_link"
21420 case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21423 esac
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_link") 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21429 { (case "(($ac_try" in
21430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431 *) ac_try_echo=$ac_try;;
21432 esac
21433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434 (eval "$ac_try") 2>&5
21435 ac_status=$?
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); }; }; then
21438 ac_cv_sizeof_long_long=`cat conftest.val`
21439 else
21440 echo "$as_me: program exited with status $ac_status" >&5
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21443
21444 ( exit $ac_status )
21445 if test "$ac_cv_type_long_long" = yes; then
21446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21447 See \`config.log' for more details." >&5
21448 echo "$as_me: error: cannot compute sizeof (long long)
21449 See \`config.log' for more details." >&2;}
21450 { (exit 77); exit 77; }; }
21451 else
21452 ac_cv_sizeof_long_long=0
21453 fi
21454 fi
21455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21456 fi
21457 rm -f conftest.val
21458 fi
21459 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21460 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21461
21462
21463
21464 cat >>confdefs.h <<_ACEOF
21465 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21466 _ACEOF
21467
21468
21469 esac
21470
21471 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21472 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21473 if test "${ac_cv_type_wchar_t+set}" = set; then
21474 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 else
21476 cat >conftest.$ac_ext <<_ACEOF
21477 /* confdefs.h. */
21478 _ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482
21483 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21484 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21485 # error "fake wchar_t"
21486 #endif
21487 #ifdef HAVE_WCHAR_H
21488 # ifdef __CYGWIN__
21489 # include <stddef.h>
21490 # endif
21491 # include <wchar.h>
21492 #endif
21493 #ifdef HAVE_STDLIB_H
21494 # include <stdlib.h>
21495 #endif
21496 #include <stdio.h>
21497
21498
21499
21500 typedef wchar_t ac__type_new_;
21501 int
21502 main ()
21503 {
21504 if ((ac__type_new_ *) 0)
21505 return 0;
21506 if (sizeof (ac__type_new_))
21507 return 0;
21508 ;
21509 return 0;
21510 }
21511 _ACEOF
21512 rm -f conftest.$ac_objext
21513 if { (ac_try="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21517 esac
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21520 ac_status=$?
21521 grep -v '^ *+' conftest.er1 >conftest.err
21522 rm -f conftest.er1
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } && {
21526 test -z "$ac_c_werror_flag" ||
21527 test ! -s conftest.err
21528 } && test -s conftest.$ac_objext; then
21529 ac_cv_type_wchar_t=yes
21530 else
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21533
21534 ac_cv_type_wchar_t=no
21535 fi
21536
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21538 fi
21539 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21540 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21541
21542 # The cast to long int works around a bug in the HP C Compiler
21543 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21544 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21545 # This bug is HP SR number 8606223364.
21546 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21547 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21548 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21549 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 else
21551 if test "$cross_compiling" = yes; then
21552 # Depending upon the size, compute the lo and hi bounds.
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559
21560 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21561 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21562 # error "fake wchar_t"
21563 #endif
21564 #ifdef HAVE_WCHAR_H
21565 # ifdef __CYGWIN__
21566 # include <stddef.h>
21567 # endif
21568 # include <wchar.h>
21569 #endif
21570 #ifdef HAVE_STDLIB_H
21571 # include <stdlib.h>
21572 #endif
21573 #include <stdio.h>
21574
21575
21576
21577 typedef wchar_t ac__type_sizeof_;
21578 int
21579 main ()
21580 {
21581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21582 test_array [0] = 0
21583
21584 ;
21585 return 0;
21586 }
21587 _ACEOF
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21593 esac
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21596 ac_status=$?
21597 grep -v '^ *+' conftest.er1 >conftest.err
21598 rm -f conftest.er1
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21605 ac_lo=0 ac_mid=0
21606 while :; do
21607 cat >conftest.$ac_ext <<_ACEOF
21608 /* confdefs.h. */
21609 _ACEOF
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21613
21614 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21615 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21616 # error "fake wchar_t"
21617 #endif
21618 #ifdef HAVE_WCHAR_H
21619 # ifdef __CYGWIN__
21620 # include <stddef.h>
21621 # endif
21622 # include <wchar.h>
21623 #endif
21624 #ifdef HAVE_STDLIB_H
21625 # include <stdlib.h>
21626 #endif
21627 #include <stdio.h>
21628
21629
21630
21631 typedef wchar_t ac__type_sizeof_;
21632 int
21633 main ()
21634 {
21635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21636 test_array [0] = 0
21637
21638 ;
21639 return 0;
21640 }
21641 _ACEOF
21642 rm -f conftest.$ac_objext
21643 if { (ac_try="$ac_compile"
21644 case "(($ac_try" in
21645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21646 *) ac_try_echo=$ac_try;;
21647 esac
21648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21649 (eval "$ac_compile") 2>conftest.er1
21650 ac_status=$?
21651 grep -v '^ *+' conftest.er1 >conftest.err
21652 rm -f conftest.er1
21653 cat conftest.err >&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } && {
21656 test -z "$ac_c_werror_flag" ||
21657 test ! -s conftest.err
21658 } && test -s conftest.$ac_objext; then
21659 ac_hi=$ac_mid; break
21660 else
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.$ac_ext >&5
21663
21664 ac_lo=`expr $ac_mid + 1`
21665 if test $ac_lo -le $ac_mid; then
21666 ac_lo= ac_hi=
21667 break
21668 fi
21669 ac_mid=`expr 2 '*' $ac_mid + 1`
21670 fi
21671
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 done
21674 else
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.$ac_ext >&5
21677
21678 cat >conftest.$ac_ext <<_ACEOF
21679 /* confdefs.h. */
21680 _ACEOF
21681 cat confdefs.h >>conftest.$ac_ext
21682 cat >>conftest.$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21684
21685 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21686 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21687 # error "fake wchar_t"
21688 #endif
21689 #ifdef HAVE_WCHAR_H
21690 # ifdef __CYGWIN__
21691 # include <stddef.h>
21692 # endif
21693 # include <wchar.h>
21694 #endif
21695 #ifdef HAVE_STDLIB_H
21696 # include <stdlib.h>
21697 #endif
21698 #include <stdio.h>
21699
21700
21701
21702 typedef wchar_t ac__type_sizeof_;
21703 int
21704 main ()
21705 {
21706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21707 test_array [0] = 0
21708
21709 ;
21710 return 0;
21711 }
21712 _ACEOF
21713 rm -f conftest.$ac_objext
21714 if { (ac_try="$ac_compile"
21715 case "(($ac_try" in
21716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21717 *) ac_try_echo=$ac_try;;
21718 esac
21719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21720 (eval "$ac_compile") 2>conftest.er1
21721 ac_status=$?
21722 grep -v '^ *+' conftest.er1 >conftest.err
21723 rm -f conftest.er1
21724 cat conftest.err >&5
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); } && {
21727 test -z "$ac_c_werror_flag" ||
21728 test ! -s conftest.err
21729 } && test -s conftest.$ac_objext; then
21730 ac_hi=-1 ac_mid=-1
21731 while :; do
21732 cat >conftest.$ac_ext <<_ACEOF
21733 /* confdefs.h. */
21734 _ACEOF
21735 cat confdefs.h >>conftest.$ac_ext
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21738
21739 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21740 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21741 # error "fake wchar_t"
21742 #endif
21743 #ifdef HAVE_WCHAR_H
21744 # ifdef __CYGWIN__
21745 # include <stddef.h>
21746 # endif
21747 # include <wchar.h>
21748 #endif
21749 #ifdef HAVE_STDLIB_H
21750 # include <stdlib.h>
21751 #endif
21752 #include <stdio.h>
21753
21754
21755
21756 typedef wchar_t ac__type_sizeof_;
21757 int
21758 main ()
21759 {
21760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21761 test_array [0] = 0
21762
21763 ;
21764 return 0;
21765 }
21766 _ACEOF
21767 rm -f conftest.$ac_objext
21768 if { (ac_try="$ac_compile"
21769 case "(($ac_try" in
21770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21771 *) ac_try_echo=$ac_try;;
21772 esac
21773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21774 (eval "$ac_compile") 2>conftest.er1
21775 ac_status=$?
21776 grep -v '^ *+' conftest.er1 >conftest.err
21777 rm -f conftest.er1
21778 cat conftest.err >&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } && {
21781 test -z "$ac_c_werror_flag" ||
21782 test ! -s conftest.err
21783 } && test -s conftest.$ac_objext; then
21784 ac_lo=$ac_mid; break
21785 else
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.$ac_ext >&5
21788
21789 ac_hi=`expr '(' $ac_mid ')' - 1`
21790 if test $ac_mid -le $ac_hi; then
21791 ac_lo= ac_hi=
21792 break
21793 fi
21794 ac_mid=`expr 2 '*' $ac_mid`
21795 fi
21796
21797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21798 done
21799 else
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21802
21803 ac_lo= ac_hi=
21804 fi
21805
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 fi
21808
21809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21810 # Binary search between lo and hi bounds.
21811 while test "x$ac_lo" != "x$ac_hi"; do
21812 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21813 cat >conftest.$ac_ext <<_ACEOF
21814 /* confdefs.h. */
21815 _ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819
21820 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21821 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21822 # error "fake wchar_t"
21823 #endif
21824 #ifdef HAVE_WCHAR_H
21825 # ifdef __CYGWIN__
21826 # include <stddef.h>
21827 # endif
21828 # include <wchar.h>
21829 #endif
21830 #ifdef HAVE_STDLIB_H
21831 # include <stdlib.h>
21832 #endif
21833 #include <stdio.h>
21834
21835
21836
21837 typedef wchar_t ac__type_sizeof_;
21838 int
21839 main ()
21840 {
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21842 test_array [0] = 0
21843
21844 ;
21845 return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21853 esac
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21856 ac_status=$?
21857 grep -v '^ *+' conftest.er1 >conftest.err
21858 rm -f conftest.er1
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_hi=$ac_mid
21866 else
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 ac_lo=`expr '(' $ac_mid ')' + 1`
21871 fi
21872
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 done
21875 case $ac_lo in
21876 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21877 '') if test "$ac_cv_type_wchar_t" = yes; then
21878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21879 See \`config.log' for more details." >&5
21880 echo "$as_me: error: cannot compute sizeof (wchar_t)
21881 See \`config.log' for more details." >&2;}
21882 { (exit 77); exit 77; }; }
21883 else
21884 ac_cv_sizeof_wchar_t=0
21885 fi ;;
21886 esac
21887 else
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894
21895 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21896 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21897 # error "fake wchar_t"
21898 #endif
21899 #ifdef HAVE_WCHAR_H
21900 # ifdef __CYGWIN__
21901 # include <stddef.h>
21902 # endif
21903 # include <wchar.h>
21904 #endif
21905 #ifdef HAVE_STDLIB_H
21906 # include <stdlib.h>
21907 #endif
21908 #include <stdio.h>
21909
21910
21911
21912 typedef wchar_t ac__type_sizeof_;
21913 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21914 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21915 #include <stdio.h>
21916 #include <stdlib.h>
21917 int
21918 main ()
21919 {
21920
21921 FILE *f = fopen ("conftest.val", "w");
21922 if (! f)
21923 return 1;
21924 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21925 {
21926 long int i = longval ();
21927 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21928 return 1;
21929 fprintf (f, "%ld\n", i);
21930 }
21931 else
21932 {
21933 unsigned long int i = ulongval ();
21934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21935 return 1;
21936 fprintf (f, "%lu\n", i);
21937 }
21938 return ferror (f) || fclose (f) != 0;
21939
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 rm -f conftest$ac_exeext
21945 if { (ac_try="$ac_link"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21949 esac
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_link") 2>&5
21952 ac_status=$?
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21955 { (case "(($ac_try" in
21956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21957 *) ac_try_echo=$ac_try;;
21958 esac
21959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21960 (eval "$ac_try") 2>&5
21961 ac_status=$?
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; }; then
21964 ac_cv_sizeof_wchar_t=`cat conftest.val`
21965 else
21966 echo "$as_me: program exited with status $ac_status" >&5
21967 echo "$as_me: failed program was:" >&5
21968 sed 's/^/| /' conftest.$ac_ext >&5
21969
21970 ( exit $ac_status )
21971 if test "$ac_cv_type_wchar_t" = yes; then
21972 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21973 See \`config.log' for more details." >&5
21974 echo "$as_me: error: cannot compute sizeof (wchar_t)
21975 See \`config.log' for more details." >&2;}
21976 { (exit 77); exit 77; }; }
21977 else
21978 ac_cv_sizeof_wchar_t=0
21979 fi
21980 fi
21981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21982 fi
21983 rm -f conftest.val
21984 fi
21985 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21986 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21987
21988
21989
21990 cat >>confdefs.h <<_ACEOF
21991 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21992 _ACEOF
21993
21994
21995 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21996 wxUSE_WCHAR_T=yes
21997 else
21998 wxUSE_WCHAR_T=no
21999 fi
22000
22001 { echo "$as_me:$LINENO: checking for va_copy" >&5
22002 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22003 if test "${wx_cv_func_va_copy+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22005 else
22006
22007 cat >conftest.$ac_ext <<_ACEOF
22008
22009 #include <stdarg.h>
22010 void foo(char *f, ...)
22011 {
22012 va_list ap1, ap2;
22013 va_start(ap1, f);
22014 va_copy(ap2, ap1);
22015 va_end(ap2);
22016 va_end(ap1);
22017 }
22018 int main()
22019 {
22020 foo("hi", 17);
22021 return 0;
22022 }
22023 _ACEOF
22024 rm -f conftest.$ac_objext conftest$ac_exeext
22025 if { (ac_try="$ac_link"
22026 case "(($ac_try" in
22027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22029 esac
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_link") 2>conftest.er1
22032 ac_status=$?
22033 grep -v '^ *+' conftest.er1 >conftest.err
22034 rm -f conftest.er1
22035 cat conftest.err >&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } && {
22038 test -z "$ac_c_werror_flag" ||
22039 test ! -s conftest.err
22040 } && test -s conftest$ac_exeext &&
22041 $as_test_x conftest$ac_exeext; then
22042 wx_cv_func_va_copy=yes
22043 else
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.$ac_ext >&5
22046
22047 wx_cv_func_va_copy=no
22048
22049 fi
22050
22051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22052 conftest$ac_exeext conftest.$ac_ext
22053
22054
22055 fi
22056 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22057 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22058
22059 if test $wx_cv_func_va_copy = "yes"; then
22060 cat >>confdefs.h <<\_ACEOF
22061 #define HAVE_VA_COPY 1
22062 _ACEOF
22063
22064 else
22065 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22066 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22067 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22068 echo $ECHO_N "(cached) $ECHO_C" >&6
22069 else
22070
22071 if test "$cross_compiling" = yes; then
22072 wx_cv_type_va_list_lvalue=yes
22073
22074 else
22075 cat >conftest.$ac_ext <<_ACEOF
22076
22077 #include <stdarg.h>
22078 int foo(char *f, ...)
22079 {
22080 va_list ap1, ap2;
22081 va_start(ap1, f);
22082 ap2 = ap1;
22083 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22084 return 1;
22085 va_end(ap2);
22086 va_end(ap1);
22087 return 0;
22088 }
22089 int main()
22090 {
22091 return foo("hi", 17);
22092 }
22093 _ACEOF
22094 rm -f conftest$ac_exeext
22095 if { (ac_try="$ac_link"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22099 esac
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_link") 2>&5
22102 ac_status=$?
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22105 { (case "(($ac_try" in
22106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22107 *) ac_try_echo=$ac_try;;
22108 esac
22109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22110 (eval "$ac_try") 2>&5
22111 ac_status=$?
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; }; then
22114 wx_cv_type_va_list_lvalue=yes
22115 else
22116 echo "$as_me: program exited with status $ac_status" >&5
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.$ac_ext >&5
22119
22120 ( exit $ac_status )
22121 wx_cv_type_va_list_lvalue=no
22122 fi
22123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22124 fi
22125
22126
22127
22128
22129 fi
22130 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22131 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22132
22133 if test $wx_cv_type_va_list_lvalue != "yes"; then
22134 cat >>confdefs.h <<\_ACEOF
22135 #define VA_LIST_IS_ARRAY 1
22136 _ACEOF
22137
22138 fi
22139 fi
22140
22141 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22142
22143 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22144 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22145 if test "${wx_cv_have_variadic_macros+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22148
22149 ac_ext=cpp
22150 ac_cpp='$CXXCPP $CPPFLAGS'
22151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22154
22155 cat >conftest.$ac_ext <<_ACEOF
22156 /* confdefs.h. */
22157 _ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22161
22162 #include <stdio.h>
22163 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22164
22165 int
22166 main ()
22167 {
22168
22169 test("%s %d %p", "test", 1, 0);
22170
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_cxx_werror_flag" ||
22191 test ! -s conftest.err
22192 } && test -s conftest.$ac_objext; then
22193 wx_cv_have_variadic_macros=yes
22194 else
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22197
22198 wx_cv_have_variadic_macros=no
22199
22200 fi
22201
22202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22203 ac_ext=c
22204 ac_cpp='$CPP $CPPFLAGS'
22205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22208
22209
22210
22211 fi
22212 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22213 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22214
22215 if test $wx_cv_have_variadic_macros = "yes"; then
22216 cat >>confdefs.h <<\_ACEOF
22217 #define HAVE_VARIADIC_MACROS 1
22218 _ACEOF
22219
22220 fi
22221
22222 fi
22223 # Check whether --enable-largefile was given.
22224 if test "${enable_largefile+set}" = set; then
22225 enableval=$enable_largefile;
22226 fi
22227
22228 if test "$enable_largefile" != no; then
22229 wx_largefile=no
22230
22231 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22232 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22233 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22235 else
22236
22237 cat >conftest.$ac_ext <<_ACEOF
22238 /* confdefs.h. */
22239 _ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 #define _FILE_OFFSET_BITS 64
22244 #include <sys/types.h>
22245 int
22246 main ()
22247 {
22248 typedef struct {
22249 unsigned int field: sizeof(off_t) == 8;
22250 } wxlf;
22251
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 ac_cv_sys_file_offset_bits=64
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 ac_cv_sys_file_offset_bits=no
22279 fi
22280
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282
22283
22284 fi
22285 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22286 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22287
22288 if test "$ac_cv_sys_file_offset_bits" != no; then
22289 wx_largefile=yes
22290 cat >>confdefs.h <<_ACEOF
22291 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22292 _ACEOF
22293
22294 fi
22295
22296 if test "x$wx_largefile" != "xyes"; then
22297
22298 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22299 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22300 if test "${ac_cv_sys_large_files+set}" = set; then
22301 echo $ECHO_N "(cached) $ECHO_C" >&6
22302 else
22303
22304 cat >conftest.$ac_ext <<_ACEOF
22305 /* confdefs.h. */
22306 _ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #define _LARGE_FILES 1
22311 #include <sys/types.h>
22312 int
22313 main ()
22314 {
22315 typedef struct {
22316 unsigned int field: sizeof(off_t) == 8;
22317 } wxlf;
22318
22319 ;
22320 return 0;
22321 }
22322 _ACEOF
22323 rm -f conftest.$ac_objext
22324 if { (ac_try="$ac_compile"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22328 esac
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_compile") 2>conftest.er1
22331 ac_status=$?
22332 grep -v '^ *+' conftest.er1 >conftest.err
22333 rm -f conftest.er1
22334 cat conftest.err >&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); } && {
22337 test -z "$ac_c_werror_flag" ||
22338 test ! -s conftest.err
22339 } && test -s conftest.$ac_objext; then
22340 ac_cv_sys_large_files=1
22341 else
22342 echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22344
22345 ac_cv_sys_large_files=no
22346 fi
22347
22348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22349
22350
22351 fi
22352 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22353 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22354
22355 if test "$ac_cv_sys_large_files" != no; then
22356 wx_largefile=yes
22357 cat >>confdefs.h <<_ACEOF
22358 #define _LARGE_FILES $ac_cv_sys_large_files
22359 _ACEOF
22360
22361 fi
22362
22363 fi
22364
22365 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22366 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22367 if test "x$wx_largefile" = "xyes"; then
22368 cat >>confdefs.h <<\_ACEOF
22369 #define HAVE_LARGEFILE_SUPPORT 1
22370 _ACEOF
22371
22372 fi
22373 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22374 echo "${ECHO_T}$wx_largefile" >&6; }
22375 fi
22376
22377
22378 if test "x$wx_largefile" = "xyes"; then
22379 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22380 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22381
22382 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22383 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22384 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22385 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22387 else
22388
22389 ac_ext=cpp
22390 ac_cpp='$CXXCPP $CPPFLAGS'
22391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22394
22395 cat >conftest.$ac_ext <<_ACEOF
22396 /* confdefs.h. */
22397 _ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401
22402 int
22403 main ()
22404 {
22405
22406 #ifndef __STDC_EXT__
22407 choke me
22408 #endif
22409
22410 ;
22411 return 0;
22412 }
22413 _ACEOF
22414 rm -f conftest.$ac_objext
22415 if { (ac_try="$ac_compile"
22416 case "(($ac_try" in
22417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22418 *) ac_try_echo=$ac_try;;
22419 esac
22420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22421 (eval "$ac_compile") 2>conftest.er1
22422 ac_status=$?
22423 grep -v '^ *+' conftest.er1 >conftest.err
22424 rm -f conftest.er1
22425 cat conftest.err >&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); } && {
22428 test -z "$ac_cxx_werror_flag" ||
22429 test ! -s conftest.err
22430 } && test -s conftest.$ac_objext; then
22431 wx_cv_STDC_EXT_required=no
22432 else
22433 echo "$as_me: failed program was:" >&5
22434 sed 's/^/| /' conftest.$ac_ext >&5
22435
22436 wx_cv_STDC_EXT_required=yes
22437
22438 fi
22439
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 ac_ext=c
22442 ac_cpp='$CPP $CPPFLAGS'
22443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22446
22447
22448
22449 fi
22450 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22451 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22452 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22453 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22454 fi
22455 fi
22456 else
22457 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22458 fi
22459 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22460 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22461 if test "${ac_cv_sys_largefile_source+set}" = set; then
22462 echo $ECHO_N "(cached) $ECHO_C" >&6
22463 else
22464 while :; do
22465 cat >conftest.$ac_ext <<_ACEOF
22466 /* confdefs.h. */
22467 _ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h. */
22471 #include <stdio.h>
22472 int
22473 main ()
22474 {
22475 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22476 ;
22477 return 0;
22478 }
22479 _ACEOF
22480 rm -f conftest.$ac_objext conftest$ac_exeext
22481 if { (ac_try="$ac_link"
22482 case "(($ac_try" in
22483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;;
22485 esac
22486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22487 (eval "$ac_link") 2>conftest.er1
22488 ac_status=$?
22489 grep -v '^ *+' conftest.er1 >conftest.err
22490 rm -f conftest.er1
22491 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } && {
22494 test -z "$ac_c_werror_flag" ||
22495 test ! -s conftest.err
22496 } && test -s conftest$ac_exeext &&
22497 $as_test_x conftest$ac_exeext; then
22498 ac_cv_sys_largefile_source=no; break
22499 else
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22502
22503
22504 fi
22505
22506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22507 conftest$ac_exeext conftest.$ac_ext
22508 cat >conftest.$ac_ext <<_ACEOF
22509 /* confdefs.h. */
22510 _ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 #define _LARGEFILE_SOURCE 1
22515 #include <stdio.h>
22516 int
22517 main ()
22518 {
22519 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22520 ;
22521 return 0;
22522 }
22523 _ACEOF
22524 rm -f conftest.$ac_objext conftest$ac_exeext
22525 if { (ac_try="$ac_link"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22529 esac
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_link") 2>conftest.er1
22532 ac_status=$?
22533 grep -v '^ *+' conftest.er1 >conftest.err
22534 rm -f conftest.er1
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_c_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest$ac_exeext &&
22541 $as_test_x conftest$ac_exeext; then
22542 ac_cv_sys_largefile_source=1; break
22543 else
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22546
22547
22548 fi
22549
22550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22551 conftest$ac_exeext conftest.$ac_ext
22552 ac_cv_sys_largefile_source=unknown
22553 break
22554 done
22555 fi
22556 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22557 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22558 case $ac_cv_sys_largefile_source in #(
22559 no | unknown) ;;
22560 *)
22561 cat >>confdefs.h <<_ACEOF
22562 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22563 _ACEOF
22564 ;;
22565 esac
22566 rm -f conftest*
22567
22568 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22569 # in glibc 2.1.3, but that breaks too many other things.
22570 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22571 if test $ac_cv_sys_largefile_source != unknown; then
22572
22573 cat >>confdefs.h <<\_ACEOF
22574 #define HAVE_FSEEKO 1
22575 _ACEOF
22576
22577 fi
22578
22579 if test "$ac_cv_sys_largefile_source" != no; then
22580 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22581 fi
22582 fi
22583
22584 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22585 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22586 if test "${ac_cv_c_bigendian+set}" = set; then
22587 echo $ECHO_N "(cached) $ECHO_C" >&6
22588 else
22589 ac_cv_c_bigendian=unknown
22590 # See if sys/param.h defines the BYTE_ORDER macro.
22591 cat >conftest.$ac_ext <<_ACEOF
22592 /* confdefs.h. */
22593 _ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 #include <sys/types.h>
22598 #include <sys/param.h>
22599 int
22600 main ()
22601 {
22602
22603 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22604 bogus endian macros
22605 #endif
22606 ;
22607 return 0;
22608 }
22609 _ACEOF
22610 rm -f conftest.$ac_objext
22611 if { (ac_try="$ac_compile"
22612 case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22615 esac
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_compile") 2>conftest.er1
22618 ac_status=$?
22619 grep -v '^ *+' conftest.er1 >conftest.err
22620 rm -f conftest.er1
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && {
22624 test -z "$ac_c_werror_flag" ||
22625 test ! -s conftest.err
22626 } && test -s conftest.$ac_objext; then
22627 # It does; now see whether it defined to BIG_ENDIAN or not.
22628 cat >conftest.$ac_ext <<_ACEOF
22629 /* confdefs.h. */
22630 _ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 #include <sys/types.h>
22635 #include <sys/param.h>
22636 int
22637 main ()
22638 {
22639
22640 #if BYTE_ORDER != BIG_ENDIAN
22641 not big endian
22642 #endif
22643 ;
22644 return 0;
22645 }
22646 _ACEOF
22647 rm -f conftest.$ac_objext
22648 if { (ac_try="$ac_compile"
22649 case "(($ac_try" in
22650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22651 *) ac_try_echo=$ac_try;;
22652 esac
22653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22654 (eval "$ac_compile") 2>conftest.er1
22655 ac_status=$?
22656 grep -v '^ *+' conftest.er1 >conftest.err
22657 rm -f conftest.er1
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } && {
22661 test -z "$ac_c_werror_flag" ||
22662 test ! -s conftest.err
22663 } && test -s conftest.$ac_objext; then
22664 ac_cv_c_bigendian=yes
22665 else
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 ac_cv_c_bigendian=no
22670 fi
22671
22672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22673 else
22674 echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.$ac_ext >&5
22676
22677
22678 fi
22679
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 if test $ac_cv_c_bigendian = unknown; then
22682 if test "$cross_compiling" = yes; then
22683 ac_cv_c_bigendian=unknown
22684 else
22685 cat >conftest.$ac_ext <<_ACEOF
22686 /* confdefs.h. */
22687 _ACEOF
22688 cat confdefs.h >>conftest.$ac_ext
22689 cat >>conftest.$ac_ext <<_ACEOF
22690 /* end confdefs.h. */
22691 main () {
22692 /* Are we little or big endian? From Harbison&Steele. */
22693 union
22694 {
22695 long l;
22696 char c[sizeof (long)];
22697 } u;
22698 u.l = 1;
22699 exit (u.c[sizeof (long) - 1] == 1);
22700 }
22701 _ACEOF
22702 rm -f conftest$ac_exeext
22703 if { (ac_try="$ac_link"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_link") 2>&5
22710 ac_status=$?
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22713 { (case "(($ac_try" in
22714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22715 *) ac_try_echo=$ac_try;;
22716 esac
22717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22718 (eval "$ac_try") 2>&5
22719 ac_status=$?
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); }; }; then
22722 ac_cv_c_bigendian=no
22723 else
22724 echo "$as_me: program exited with status $ac_status" >&5
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22727
22728 ( exit $ac_status )
22729 ac_cv_c_bigendian=yes
22730 fi
22731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22732 fi
22733
22734
22735 fi
22736 fi
22737 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22738 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22739 if test $ac_cv_c_bigendian = unknown; then
22740 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
22741 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
22742 fi
22743 if test $ac_cv_c_bigendian = yes; then
22744 cat >>confdefs.h <<\_ACEOF
22745 #define WORDS_BIGENDIAN 1
22746 _ACEOF
22747
22748 fi
22749
22750
22751
22752
22753 ac_ext=cpp
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22758
22759
22760 { echo "$as_me:$LINENO: checking for iostream" >&5
22761 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22762 if test "${ac_cv_header_iostream+set}" = set; then
22763 echo $ECHO_N "(cached) $ECHO_C" >&6
22764 else
22765 cat >conftest.$ac_ext <<_ACEOF
22766 /* confdefs.h. */
22767 _ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771
22772
22773 #include <iostream>
22774 _ACEOF
22775 rm -f conftest.$ac_objext
22776 if { (ac_try="$ac_compile"
22777 case "(($ac_try" in
22778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22779 *) ac_try_echo=$ac_try;;
22780 esac
22781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22782 (eval "$ac_compile") 2>conftest.er1
22783 ac_status=$?
22784 grep -v '^ *+' conftest.er1 >conftest.err
22785 rm -f conftest.er1
22786 cat conftest.err >&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && {
22789 test -z "$ac_cxx_werror_flag" ||
22790 test ! -s conftest.err
22791 } && test -s conftest.$ac_objext; then
22792 ac_cv_header_iostream=yes
22793 else
22794 echo "$as_me: failed program was:" >&5
22795 sed 's/^/| /' conftest.$ac_ext >&5
22796
22797 ac_cv_header_iostream=no
22798 fi
22799
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22801 fi
22802 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22803 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22804
22805
22806
22807 if test "$ac_cv_header_iostream" = "yes" ; then
22808 :
22809 else
22810 cat >>confdefs.h <<\_ACEOF
22811 #define wxUSE_IOSTREAMH 1
22812 _ACEOF
22813
22814 fi
22815
22816 ac_ext=c
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821
22822
22823
22824
22825 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22826 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22827 if test "${wx_cv_cpp_bool+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22829 else
22830
22831
22832 ac_ext=cpp
22833 ac_cpp='$CXXCPP $CPPFLAGS'
22834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22837
22838
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h. */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845
22846
22847 int
22848 main ()
22849 {
22850
22851 bool b = true;
22852
22853 return 0;
22854
22855 ;
22856 return 0;
22857 }
22858 _ACEOF
22859 rm -f conftest.$ac_objext
22860 if { (ac_try="$ac_compile"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22864 esac
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_compile") 2>conftest.er1
22867 ac_status=$?
22868 grep -v '^ *+' conftest.er1 >conftest.err
22869 rm -f conftest.er1
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } && {
22873 test -z "$ac_cxx_werror_flag" ||
22874 test ! -s conftest.err
22875 } && test -s conftest.$ac_objext; then
22876
22877 wx_cv_cpp_bool=yes
22878
22879 else
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22882
22883
22884 wx_cv_cpp_bool=no
22885
22886
22887 fi
22888
22889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22890
22891 ac_ext=c
22892 ac_cpp='$CPP $CPPFLAGS'
22893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22896
22897
22898 fi
22899 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22900 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22901
22902 if test "$wx_cv_cpp_bool" = "yes"; then
22903 cat >>confdefs.h <<\_ACEOF
22904 #define HAVE_BOOL 1
22905 _ACEOF
22906
22907 fi
22908
22909
22910
22911 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22912 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22913 if test "${wx_cv_explicit+set}" = set; then
22914 echo $ECHO_N "(cached) $ECHO_C" >&6
22915 else
22916
22917
22918 ac_ext=cpp
22919 ac_cpp='$CXXCPP $CPPFLAGS'
22920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923
22924
22925 cat >conftest.$ac_ext <<_ACEOF
22926 /* confdefs.h. */
22927 _ACEOF
22928 cat confdefs.h >>conftest.$ac_ext
22929 cat >>conftest.$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22931
22932 class Foo { public: explicit Foo(int) {} };
22933
22934 int
22935 main ()
22936 {
22937
22938 return 0;
22939
22940 ;
22941 return 0;
22942 }
22943 _ACEOF
22944 rm -f conftest.$ac_objext
22945 if { (ac_try="$ac_compile"
22946 case "(($ac_try" in
22947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22948 *) ac_try_echo=$ac_try;;
22949 esac
22950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22951 (eval "$ac_compile") 2>conftest.er1
22952 ac_status=$?
22953 grep -v '^ *+' conftest.er1 >conftest.err
22954 rm -f conftest.er1
22955 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } && {
22958 test -z "$ac_cxx_werror_flag" ||
22959 test ! -s conftest.err
22960 } && test -s conftest.$ac_objext; then
22961
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h. */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968
22969 class Foo { public: explicit Foo(int) {} };
22970 static void TakeFoo(const Foo& foo) { }
22971
22972 int
22973 main ()
22974 {
22975
22976 TakeFoo(17);
22977 return 0;
22978
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 rm -f conftest.$ac_objext
22984 if { (ac_try="$ac_compile"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22988 esac
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_compile") 2>conftest.er1
22991 ac_status=$?
22992 grep -v '^ *+' conftest.er1 >conftest.err
22993 rm -f conftest.er1
22994 cat conftest.err >&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && {
22997 test -z "$ac_cxx_werror_flag" ||
22998 test ! -s conftest.err
22999 } && test -s conftest.$ac_objext; then
23000 wx_cv_explicit=no
23001 else
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23004
23005 wx_cv_explicit=yes
23006
23007 fi
23008
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010
23011 else
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23014
23015 wx_cv_explicit=no
23016
23017 fi
23018
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020
23021 ac_ext=c
23022 ac_cpp='$CPP $CPPFLAGS'
23023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23026
23027
23028 fi
23029 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23030 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23031
23032 if test "$wx_cv_explicit" = "yes"; then
23033 cat >>confdefs.h <<\_ACEOF
23034 #define HAVE_EXPLICIT 1
23035 _ACEOF
23036
23037 fi
23038
23039
23040 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23041 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23042 if test "${ac_cv_cxx_const_cast+set}" = set; then
23043 echo $ECHO_N "(cached) $ECHO_C" >&6
23044 else
23045
23046 ac_ext=cpp
23047 ac_cpp='$CXXCPP $CPPFLAGS'
23048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23051
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058
23059 int
23060 main ()
23061 {
23062 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23063 ;
23064 return 0;
23065 }
23066 _ACEOF
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23075 ac_status=$?
23076 grep -v '^ *+' conftest.er1 >conftest.err
23077 rm -f conftest.er1
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_cxx_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 ac_cv_cxx_const_cast=yes
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23088
23089 ac_cv_cxx_const_cast=no
23090 fi
23091
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093 ac_ext=c
23094 ac_cpp='$CPP $CPPFLAGS'
23095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23098
23099
23100 fi
23101 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23102 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23103 if test "$ac_cv_cxx_const_cast" = yes; then
23104
23105 cat >>confdefs.h <<\_ACEOF
23106 #define HAVE_CONST_CAST
23107 _ACEOF
23108
23109 fi
23110
23111 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23112 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23113 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23115 else
23116
23117 ac_ext=cpp
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23122
23123 cat >conftest.$ac_ext <<_ACEOF
23124 /* confdefs.h. */
23125 _ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 #include <typeinfo>
23130 class Base { public : Base () {} virtual void f () = 0;};
23131 class Derived : public Base { public : Derived () {} virtual void f () {} };
23132 class Unrelated { public : Unrelated () {} };
23133 int g (Unrelated&) { return 0; }
23134 int
23135 main ()
23136 {
23137
23138 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23139 ;
23140 return 0;
23141 }
23142 _ACEOF
23143 rm -f conftest.$ac_objext
23144 if { (ac_try="$ac_compile"
23145 case "(($ac_try" in
23146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23148 esac
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_compile") 2>conftest.er1
23151 ac_status=$?
23152 grep -v '^ *+' conftest.er1 >conftest.err
23153 rm -f conftest.er1
23154 cat conftest.err >&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } && {
23157 test -z "$ac_cxx_werror_flag" ||
23158 test ! -s conftest.err
23159 } && test -s conftest.$ac_objext; then
23160 ac_cv_cxx_reinterpret_cast=yes
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_cv_cxx_reinterpret_cast=no
23166 fi
23167
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169 ac_ext=c
23170 ac_cpp='$CPP $CPPFLAGS'
23171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23174
23175
23176 fi
23177 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23178 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23179 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23180
23181 cat >>confdefs.h <<\_ACEOF
23182 #define HAVE_REINTERPRET_CAST
23183 _ACEOF
23184
23185 fi
23186
23187 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23188 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23189 if test "${ac_cv_cxx_static_cast+set}" = set; then
23190 echo $ECHO_N "(cached) $ECHO_C" >&6
23191 else
23192
23193 ac_ext=cpp
23194 ac_cpp='$CXXCPP $CPPFLAGS'
23195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23198
23199 cat >conftest.$ac_ext <<_ACEOF
23200 /* confdefs.h. */
23201 _ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205 #include <typeinfo>
23206 class Base { public : Base () {} virtual void f () = 0; };
23207 class Derived : public Base { public : Derived () {} virtual void f () {} };
23208 int g (Derived&) { return 0; }
23209 int
23210 main ()
23211 {
23212
23213 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23223 esac
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_cxx_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.$ac_objext; then
23235 ac_cv_cxx_static_cast=yes
23236 else
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.$ac_ext >&5
23239
23240 ac_cv_cxx_static_cast=no
23241 fi
23242
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23244 ac_ext=c
23245 ac_cpp='$CPP $CPPFLAGS'
23246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23249
23250
23251 fi
23252 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23253 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23254 if test "$ac_cv_cxx_static_cast" = yes; then
23255
23256 cat >>confdefs.h <<\_ACEOF
23257 #define HAVE_STATIC_CAST
23258 _ACEOF
23259
23260 fi
23261
23262
23263 if test "x$SUNCXX" = xyes; then
23264 CXXFLAGS="-features=tmplife $CXXFLAGS"
23265 fi
23266
23267 if test "x$SUNCC" = xyes; then
23268 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23269 fi
23270
23271 if test "x$SGICC" = "xyes"; then
23272 CFLAGS="-woff 3970 $CFLAGS"
23273 fi
23274 if test "x$SGICXX" = "xyes"; then
23275 CXXFLAGS="-woff 3970 $CXXFLAGS"
23276 fi
23277
23278 if test "x$HPCC" = "xyes"; then
23279 CFLAGS="+W 2011,2450 $CFLAGS"
23280 fi
23281 if test "x$HPCXX" = "xyes"; then
23282 CXXFLAGS="+W 2340 $CXXFLAGS"
23283 fi
23284
23285 if test "x$COMPAQCXX" = "xyes"; then
23286 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23287 fi
23288
23289 ac_ext=cpp
23290 ac_cpp='$CXXCPP $CPPFLAGS'
23291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23294
23295
23296 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23297 if test "$wxUSE_UNICODE" = "yes"; then
23298 std_string="std::wstring"
23299 char_type="wchar_t"
23300 else
23301 std_string="std::string"
23302 char_type="char"
23303 fi
23304
23305 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23306 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23307 if test "${wx_cv_class_stdstring+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23309 else
23310
23311 cat >conftest.$ac_ext <<_ACEOF
23312 /* confdefs.h. */
23313 _ACEOF
23314 cat confdefs.h >>conftest.$ac_ext
23315 cat >>conftest.$ac_ext <<_ACEOF
23316 /* end confdefs.h. */
23317 #include <string>
23318 int
23319 main ()
23320 {
23321 $std_string foo;
23322 ;
23323 return 0;
23324 }
23325 _ACEOF
23326 rm -f conftest.$ac_objext
23327 if { (ac_try="$ac_compile"
23328 case "(($ac_try" in
23329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23330 *) ac_try_echo=$ac_try;;
23331 esac
23332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23333 (eval "$ac_compile") 2>conftest.er1
23334 ac_status=$?
23335 grep -v '^ *+' conftest.er1 >conftest.err
23336 rm -f conftest.er1
23337 cat conftest.err >&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); } && {
23340 test -z "$ac_cxx_werror_flag" ||
23341 test ! -s conftest.err
23342 } && test -s conftest.$ac_objext; then
23343 wx_cv_class_stdstring=yes
23344 else
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23347
23348 wx_cv_class_stdstring=no
23349
23350 fi
23351
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353
23354
23355 fi
23356 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23357 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23358
23359 if test "$wx_cv_class_stdstring" = yes; then
23360 if test "$wxUSE_UNICODE" = "yes"; then
23361 cat >>confdefs.h <<\_ACEOF
23362 #define HAVE_STD_WSTRING 1
23363 _ACEOF
23364
23365 fi
23366 else
23367 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23368 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23369 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 else
23372
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h. */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379
23380 #ifdef HAVE_WCHAR_H
23381 # ifdef __CYGWIN__
23382 # include <stddef.h>
23383 # endif
23384 # include <wchar.h>
23385 #endif
23386 #ifdef HAVE_STDLIB_H
23387 # include <stdlib.h>
23388 #endif
23389 #include <stdio.h>
23390 #include <string>
23391
23392 int
23393 main ()
23394 {
23395 std::basic_string<$char_type> foo;
23396 const $char_type* dummy = foo.c_str();
23397 ;
23398 return 0;
23399 }
23400 _ACEOF
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406 esac
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_cxx_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 wx_cv_class_stdbasicstring=yes
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 wx_cv_class_stdbasicstring=no
23424
23425 fi
23426
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428
23429
23430 fi
23431 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23432 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23433
23434 if test "$wx_cv_class_stdbasicstring" != yes; then
23435 if test "$wxUSE_STL" = "yes"; then
23436 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23437 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23438 { (exit 1); exit 1; }; }
23439 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23440 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23441 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23442 { (exit 1); exit 1; }; }
23443 else
23444 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23445 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23446 wxUSE_STD_STRING=no
23447 fi
23448 fi
23449 fi
23450 fi
23451
23452 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23453 { echo "$as_me:$LINENO: checking for std::istream" >&5
23454 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23455 if test "${ac_cv_type_std__istream+set}" = set; then
23456 echo $ECHO_N "(cached) $ECHO_C" >&6
23457 else
23458 cat >conftest.$ac_ext <<_ACEOF
23459 /* confdefs.h. */
23460 _ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 #include <iostream>
23465
23466 typedef std::istream ac__type_new_;
23467 int
23468 main ()
23469 {
23470 if ((ac__type_new_ *) 0)
23471 return 0;
23472 if (sizeof (ac__type_new_))
23473 return 0;
23474 ;
23475 return 0;
23476 }
23477 _ACEOF
23478 rm -f conftest.$ac_objext
23479 if { (ac_try="$ac_compile"
23480 case "(($ac_try" in
23481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23483 esac
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_compile") 2>conftest.er1
23486 ac_status=$?
23487 grep -v '^ *+' conftest.er1 >conftest.err
23488 rm -f conftest.er1
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && {
23492 test -z "$ac_cxx_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest.$ac_objext; then
23495 ac_cv_type_std__istream=yes
23496 else
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23499
23500 ac_cv_type_std__istream=no
23501 fi
23502
23503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23504 fi
23505 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23506 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23507 if test $ac_cv_type_std__istream = yes; then
23508
23509 cat >>confdefs.h <<_ACEOF
23510 #define HAVE_STD__ISTREAM 1
23511 _ACEOF
23512
23513
23514 else
23515 wxUSE_STD_IOSTREAM=no
23516 fi
23517 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23518 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23519 if test "${ac_cv_type_std__ostream+set}" = set; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23521 else
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 #include <iostream>
23529
23530 typedef std::ostream ac__type_new_;
23531 int
23532 main ()
23533 {
23534 if ((ac__type_new_ *) 0)
23535 return 0;
23536 if (sizeof (ac__type_new_))
23537 return 0;
23538 ;
23539 return 0;
23540 }
23541 _ACEOF
23542 rm -f conftest.$ac_objext
23543 if { (ac_try="$ac_compile"
23544 case "(($ac_try" in
23545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23546 *) ac_try_echo=$ac_try;;
23547 esac
23548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23549 (eval "$ac_compile") 2>conftest.er1
23550 ac_status=$?
23551 grep -v '^ *+' conftest.er1 >conftest.err
23552 rm -f conftest.er1
23553 cat conftest.err >&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } && {
23556 test -z "$ac_cxx_werror_flag" ||
23557 test ! -s conftest.err
23558 } && test -s conftest.$ac_objext; then
23559 ac_cv_type_std__ostream=yes
23560 else
23561 echo "$as_me: failed program was:" >&5
23562 sed 's/^/| /' conftest.$ac_ext >&5
23563
23564 ac_cv_type_std__ostream=no
23565 fi
23566
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568 fi
23569 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23570 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23571 if test $ac_cv_type_std__ostream = yes; then
23572
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE_STD__OSTREAM 1
23575 _ACEOF
23576
23577
23578 else
23579 wxUSE_STD_IOSTREAM=no
23580 fi
23581
23582
23583 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23584 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23585 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23586 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23587 { (exit 1); exit 1; }; }
23588 else
23589 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23590 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23591 fi
23592 fi
23593 fi
23594
23595 if test "$wxUSE_STL" = "yes"; then
23596 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23597 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23598 if test "${wx_cv_lib_stl+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 else
23601 cat >conftest.$ac_ext <<_ACEOF
23602 /* confdefs.h. */
23603 _ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607 #include <string>
23608 #include <functional>
23609 #include <algorithm>
23610 #include <vector>
23611 #include <list>
23612 int
23613 main ()
23614 {
23615 std::vector<int> moo;
23616 std::list<int> foo;
23617 std::vector<int>::iterator it =
23618 std::find_if(moo.begin(), moo.end(),
23619 std::bind2nd(std::less<int>(), 3));
23620 ;
23621 return 0;
23622 }
23623 _ACEOF
23624 rm -f conftest.$ac_objext
23625 if { (ac_try="$ac_compile"
23626 case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23628 *) ac_try_echo=$ac_try;;
23629 esac
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_compile") 2>conftest.er1
23632 ac_status=$?
23633 grep -v '^ *+' conftest.er1 >conftest.err
23634 rm -f conftest.er1
23635 cat conftest.err >&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } && {
23638 test -z "$ac_cxx_werror_flag" ||
23639 test ! -s conftest.err
23640 } && test -s conftest.$ac_objext; then
23641 wx_cv_lib_stl=yes
23642 else
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23645
23646 wx_cv_lib_stl=no
23647
23648 fi
23649
23650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23651
23652 fi
23653 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23654 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23655
23656 if test "$wx_cv_lib_stl" != yes; then
23657 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23658 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23659 { (exit 1); exit 1; }; }
23660 fi
23661
23662 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23663 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23664 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23665 echo $ECHO_N "(cached) $ECHO_C" >&6
23666 else
23667 cat >conftest.$ac_ext <<_ACEOF
23668 /* confdefs.h. */
23669 _ACEOF
23670 cat confdefs.h >>conftest.$ac_ext
23671 cat >>conftest.$ac_ext <<_ACEOF
23672 /* end confdefs.h. */
23673 #include <string>
23674 int
23675 main ()
23676 {
23677 std::string foo, bar;
23678 foo.compare(bar);
23679 foo.compare(1, 1, bar);
23680 foo.compare(1, 1, bar, 1, 1);
23681 foo.compare("");
23682 foo.compare(1, 1, "");
23683 foo.compare(1, 1, "", 2);
23684 ;
23685 return 0;
23686 }
23687 _ACEOF
23688 rm -f conftest.$ac_objext
23689 if { (ac_try="$ac_compile"
23690 case "(($ac_try" in
23691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23692 *) ac_try_echo=$ac_try;;
23693 esac
23694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23695 (eval "$ac_compile") 2>conftest.er1
23696 ac_status=$?
23697 grep -v '^ *+' conftest.er1 >conftest.err
23698 rm -f conftest.er1
23699 cat conftest.err >&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } && {
23702 test -z "$ac_cxx_werror_flag" ||
23703 test ! -s conftest.err
23704 } && test -s conftest.$ac_objext; then
23705 wx_cv_func_stdstring_compare=yes
23706 else
23707 echo "$as_me: failed program was:" >&5
23708 sed 's/^/| /' conftest.$ac_ext >&5
23709
23710 wx_cv_func_stdstring_compare=no
23711
23712 fi
23713
23714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23715
23716 fi
23717 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23718 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23719
23720 if test "$wx_cv_func_stdstring_compare" = yes; then
23721 cat >>confdefs.h <<\_ACEOF
23722 #define HAVE_STD_STRING_COMPARE 1
23723 _ACEOF
23724
23725 fi
23726
23727 { echo "$as_me:$LINENO: checking for hash_map" >&5
23728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23729 if test "${ac_cv_header_hash_map+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 else
23732 cat >conftest.$ac_ext <<_ACEOF
23733 /* confdefs.h. */
23734 _ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738
23739
23740
23741 #include <hash_map>
23742 _ACEOF
23743 rm -f conftest.$ac_objext
23744 if { (ac_try="$ac_compile"
23745 case "(($ac_try" in
23746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23747 *) ac_try_echo=$ac_try;;
23748 esac
23749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23750 (eval "$ac_compile") 2>conftest.er1
23751 ac_status=$?
23752 grep -v '^ *+' conftest.er1 >conftest.err
23753 rm -f conftest.er1
23754 cat conftest.err >&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); } && {
23757 test -z "$ac_cxx_werror_flag" ||
23758 test ! -s conftest.err
23759 } && test -s conftest.$ac_objext; then
23760 ac_cv_header_hash_map=yes
23761 else
23762 echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.$ac_ext >&5
23764
23765 ac_cv_header_hash_map=no
23766 fi
23767
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23769 fi
23770 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23771 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23772 if test $ac_cv_header_hash_map = yes; then
23773 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23774 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23775 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23776 echo $ECHO_N "(cached) $ECHO_C" >&6
23777 else
23778 cat >conftest.$ac_ext <<_ACEOF
23779 /* confdefs.h. */
23780 _ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784 #include <hash_map>
23785 #include <hash_set>
23786 int
23787 main ()
23788 {
23789 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23790 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23791 ;
23792 return 0;
23793 }
23794 _ACEOF
23795 rm -f conftest.$ac_objext
23796 if { (ac_try="$ac_compile"
23797 case "(($ac_try" in
23798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23799 *) ac_try_echo=$ac_try;;
23800 esac
23801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23802 (eval "$ac_compile") 2>conftest.er1
23803 ac_status=$?
23804 grep -v '^ *+' conftest.er1 >conftest.err
23805 rm -f conftest.er1
23806 cat conftest.err >&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } && {
23809 test -z "$ac_cxx_werror_flag" ||
23810 test ! -s conftest.err
23811 } && test -s conftest.$ac_objext; then
23812 wx_cv_class_stdhashmapset=yes
23813 else
23814 echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.$ac_ext >&5
23816
23817 wx_cv_class_stdhashmapset=no
23818 fi
23819
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821
23822
23823 fi
23824 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23825 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23826 fi
23827
23828
23829
23830 if test "$wx_cv_class_stdhashmapset" = yes; then
23831 cat >>confdefs.h <<\_ACEOF
23832 #define HAVE_HASH_MAP 1
23833 _ACEOF
23834
23835 cat >>confdefs.h <<\_ACEOF
23836 #define HAVE_STD_HASH_MAP 1
23837 _ACEOF
23838
23839 fi
23840
23841 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23842 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23843 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 else
23846 cat >conftest.$ac_ext <<_ACEOF
23847 /* confdefs.h. */
23848 _ACEOF
23849 cat confdefs.h >>conftest.$ac_ext
23850 cat >>conftest.$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852
23853
23854
23855 #include <ext/hash_map>
23856 _ACEOF
23857 rm -f conftest.$ac_objext
23858 if { (ac_try="$ac_compile"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23862 esac
23863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_compile") 2>conftest.er1
23865 ac_status=$?
23866 grep -v '^ *+' conftest.er1 >conftest.err
23867 rm -f conftest.er1
23868 cat conftest.err >&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } && {
23871 test -z "$ac_cxx_werror_flag" ||
23872 test ! -s conftest.err
23873 } && test -s conftest.$ac_objext; then
23874 ac_cv_header_ext_hash_map=yes
23875 else
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23878
23879 ac_cv_header_ext_hash_map=no
23880 fi
23881
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23883 fi
23884 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23885 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23886 if test $ac_cv_header_ext_hash_map = yes; then
23887 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23888 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23889 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23890 echo $ECHO_N "(cached) $ECHO_C" >&6
23891 else
23892 cat >conftest.$ac_ext <<_ACEOF
23893 /* confdefs.h. */
23894 _ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 #include <ext/hash_map>
23899 #include <ext/hash_set>
23900 int
23901 main ()
23902 {
23903 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23904 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23905 ;
23906 return 0;
23907 }
23908 _ACEOF
23909 rm -f conftest.$ac_objext
23910 if { (ac_try="$ac_compile"
23911 case "(($ac_try" in
23912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23913 *) ac_try_echo=$ac_try;;
23914 esac
23915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23916 (eval "$ac_compile") 2>conftest.er1
23917 ac_status=$?
23918 grep -v '^ *+' conftest.er1 >conftest.err
23919 rm -f conftest.er1
23920 cat conftest.err >&5
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); } && {
23923 test -z "$ac_cxx_werror_flag" ||
23924 test ! -s conftest.err
23925 } && test -s conftest.$ac_objext; then
23926 wx_cv_class_gnuhashmapset=yes
23927 else
23928 echo "$as_me: failed program was:" >&5
23929 sed 's/^/| /' conftest.$ac_ext >&5
23930
23931 wx_cv_class_gnuhashmapset=no
23932 fi
23933
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935
23936
23937 fi
23938 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23939 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23940 fi
23941
23942
23943
23944 if test "$wx_cv_class_gnuhashmapset" = yes; then
23945 cat >>confdefs.h <<\_ACEOF
23946 #define HAVE_EXT_HASH_MAP 1
23947 _ACEOF
23948
23949 cat >>confdefs.h <<\_ACEOF
23950 #define HAVE_GNU_CXX_HASH_MAP 1
23951 _ACEOF
23952
23953 fi
23954 fi
23955
23956 ac_ext=c
23957 ac_cpp='$CPP $CPPFLAGS'
23958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23961
23962
23963
23964 SEARCH_INCLUDE="\
23965 /usr/local/include \
23966 \
23967 /usr/Motif-2.1/include \
23968 /usr/Motif-1.2/include \
23969 /usr/include/Motif1.2 \
23970 \
23971 /usr/dt/include \
23972 /usr/openwin/include \
23973 \
23974 /usr/include/Xm \
23975 \
23976 /usr/X11R6/include \
23977 /usr/X11R6.4/include \
23978 /usr/X11R5/include \
23979 /usr/X11R4/include \
23980 \
23981 /usr/include/X11R6 \
23982 /usr/include/X11R5 \
23983 /usr/include/X11R4 \
23984 \
23985 /usr/local/X11R6/include \
23986 /usr/local/X11R5/include \
23987 /usr/local/X11R4/include \
23988 \
23989 /usr/local/include/X11R6 \
23990 /usr/local/include/X11R5 \
23991 /usr/local/include/X11R4 \
23992 \
23993 /usr/X11/include \
23994 /usr/include/X11 \
23995 /usr/local/X11/include \
23996 /usr/local/include/X11 \
23997 \
23998 /usr/XFree86/include/X11 \
23999 /usr/pkg/include \
24000 \
24001 /usr/openwin/share/include"
24002
24003 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24004 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24005
24006 case "${host}" in
24007 *-*-irix6* )
24008 if test "${wx_cv_std_libpath+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 else
24011
24012 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24013 for e in a so sl dylib dll.a; do
24014 libc="$d/libc.$e"
24015 if test -f $libc; then
24016 save_LIBS="$LIBS"
24017 LIBS="$libc"
24018 cat >conftest.$ac_ext <<_ACEOF
24019 int main() { return 0; }
24020 _ACEOF
24021 rm -f conftest.$ac_objext conftest$ac_exeext
24022 if { (ac_try="$ac_link"
24023 case "(($ac_try" in
24024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24026 esac
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_link") 2>conftest.er1
24029 ac_status=$?
24030 grep -v '^ *+' conftest.er1 >conftest.err
24031 rm -f conftest.er1
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_c_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest$ac_exeext &&
24038 $as_test_x conftest$ac_exeext; then
24039 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24040 else
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24043
24044
24045 fi
24046
24047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24048 conftest$ac_exeext conftest.$ac_ext
24049 LIBS="$save_LIBS"
24050 if test "x$wx_cv_std_libpath" != "x"; then
24051 break 2
24052 fi
24053 fi
24054 done
24055 done
24056 if test "x$wx_cv_std_libpath" = "x"; then
24057 wx_cv_std_libpath="lib"
24058 fi
24059
24060
24061 fi
24062
24063 ;;
24064
24065 *-*-solaris2* )
24066 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24067 wx_cv_std_libpath="lib/64"
24068 else
24069 wx_cv_std_libpath="lib"
24070 fi
24071 ;;
24072
24073 *-*-linux* )
24074 if test "$ac_cv_sizeof_void_p" = 8 -a \
24075 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24076 wx_cv_std_libpath="lib64"
24077 else
24078 wx_cv_std_libpath="lib"
24079 fi
24080 ;;
24081
24082 *)
24083 wx_cv_std_libpath="lib";
24084 ;;
24085 esac
24086
24087 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24088 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24089
24090 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24091
24092 if test "$build" != "$host" -a "$GCC" = yes; then
24093 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24094 cross_root=`dirname $cross_root`
24095 cross_root=`dirname $cross_root`
24096
24097 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24098 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24099 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24100
24101 if test -z "$PKG_CONFIG_PATH"; then
24102 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24103 export PKG_CONFIG_PATH
24104 fi
24105
24106 if test -z "$x_includes" -o "$x_includes" = NONE; then
24107
24108 ac_find_includes=
24109 for ac_dir in $SEARCH_INCLUDE /usr/include;
24110 do
24111 if test -f "$ac_dir/X11/Intrinsic.h"; then
24112 ac_find_includes=$ac_dir
24113 break
24114 fi
24115 done
24116
24117 x_includes=$ac_find_includes
24118 fi
24119 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24120
24121 ac_find_libraries=
24122 for ac_dir in $SEARCH_LIB;
24123 do
24124 for ac_extension in a so sl dylib dll.a; do
24125 if test -f "$ac_dir/libXt.$ac_extension"; then
24126 ac_find_libraries=$ac_dir
24127 break 2
24128 fi
24129 done
24130 done
24131
24132 x_libraries=$ac_find_libraries
24133 fi
24134 fi
24135 fi
24136
24137
24138 cat >confcache <<\_ACEOF
24139 # This file is a shell script that caches the results of configure
24140 # tests run on this system so they can be shared between configure
24141 # scripts and configure runs, see configure's option --config-cache.
24142 # It is not useful on other systems. If it contains results you don't
24143 # want to keep, you may remove or edit it.
24144 #
24145 # config.status only pays attention to the cache file if you give it
24146 # the --recheck option to rerun configure.
24147 #
24148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24150 # following values.
24151
24152 _ACEOF
24153
24154 # The following way of writing the cache mishandles newlines in values,
24155 # but we know of no workaround that is simple, portable, and efficient.
24156 # So, we kill variables containing newlines.
24157 # Ultrix sh set writes to stderr and can't be redirected directly,
24158 # and sets the high bit in the cache file unless we assign to the vars.
24159 (
24160 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24161 eval ac_val=\$$ac_var
24162 case $ac_val in #(
24163 *${as_nl}*)
24164 case $ac_var in #(
24165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24167 esac
24168 case $ac_var in #(
24169 _ | IFS | as_nl) ;; #(
24170 *) $as_unset $ac_var ;;
24171 esac ;;
24172 esac
24173 done
24174
24175 (set) 2>&1 |
24176 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24177 *${as_nl}ac_space=\ *)
24178 # `set' does not quote correctly, so add quotes (double-quote
24179 # substitution turns \\\\ into \\, and sed turns \\ into \).
24180 sed -n \
24181 "s/'/'\\\\''/g;
24182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24183 ;; #(
24184 *)
24185 # `set' quotes correctly as required by POSIX, so do not add quotes.
24186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24187 ;;
24188 esac |
24189 sort
24190 ) |
24191 sed '
24192 /^ac_cv_env_/b end
24193 t clear
24194 :clear
24195 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24196 t end
24197 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24198 :end' >>confcache
24199 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24200 if test -w "$cache_file"; then
24201 test "x$cache_file" != "x/dev/null" &&
24202 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24203 echo "$as_me: updating cache $cache_file" >&6;}
24204 cat confcache >$cache_file
24205 else
24206 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24207 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24208 fi
24209 fi
24210 rm -f confcache
24211
24212 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24213 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24214 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24215 if test "${wx_cv_lib_glibc21+set}" = set; then
24216 echo $ECHO_N "(cached) $ECHO_C" >&6
24217 else
24218
24219 cat >conftest.$ac_ext <<_ACEOF
24220 /* confdefs.h. */
24221 _ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 #include <features.h>
24226 int
24227 main ()
24228 {
24229
24230 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24231 not glibc 2.1
24232 #endif
24233
24234 ;
24235 return 0;
24236 }
24237 _ACEOF
24238 rm -f conftest.$ac_objext
24239 if { (ac_try="$ac_compile"
24240 case "(($ac_try" in
24241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24242 *) ac_try_echo=$ac_try;;
24243 esac
24244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24245 (eval "$ac_compile") 2>conftest.er1
24246 ac_status=$?
24247 grep -v '^ *+' conftest.er1 >conftest.err
24248 rm -f conftest.er1
24249 cat conftest.err >&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } && {
24252 test -z "$ac_c_werror_flag" ||
24253 test ! -s conftest.err
24254 } && test -s conftest.$ac_objext; then
24255
24256 wx_cv_lib_glibc21=yes
24257
24258 else
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.$ac_ext >&5
24261
24262
24263 wx_cv_lib_glibc21=no
24264
24265
24266 fi
24267
24268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24269
24270 fi
24271 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24272 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24273 if test "$wx_cv_lib_glibc21" = "yes"; then
24274 cat >>confdefs.h <<\_ACEOF
24275 #define wxHAVE_GLIBC2 1
24276 _ACEOF
24277
24278 fi
24279 fi
24280
24281 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24282 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24283 cat >>confdefs.h <<\_ACEOF
24284 #define _GNU_SOURCE 1
24285 _ACEOF
24286
24287 fi
24288 fi
24289
24290 have_cos=0
24291 have_floor=0
24292
24293 for ac_func in cos
24294 do
24295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24299 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 else
24301 cat >conftest.$ac_ext <<_ACEOF
24302 /* confdefs.h. */
24303 _ACEOF
24304 cat confdefs.h >>conftest.$ac_ext
24305 cat >>conftest.$ac_ext <<_ACEOF
24306 /* end confdefs.h. */
24307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24309 #define $ac_func innocuous_$ac_func
24310
24311 /* System header to define __stub macros and hopefully few prototypes,
24312 which can conflict with char $ac_func (); below.
24313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24314 <limits.h> exists even on freestanding compilers. */
24315
24316 #ifdef __STDC__
24317 # include <limits.h>
24318 #else
24319 # include <assert.h>
24320 #endif
24321
24322 #undef $ac_func
24323
24324 /* Override any GCC internal prototype to avoid an error.
24325 Use char because int might match the return type of a GCC
24326 builtin and then its argument prototype would still apply. */
24327 #ifdef __cplusplus
24328 extern "C"
24329 #endif
24330 char $ac_func ();
24331 /* The GNU C library defines this for functions which it implements
24332 to always fail with ENOSYS. Some functions are actually named
24333 something starting with __ and the normal name is an alias. */
24334 #if defined __stub_$ac_func || defined __stub___$ac_func
24335 choke me
24336 #endif
24337
24338 int
24339 main ()
24340 {
24341 return $ac_func ();
24342 ;
24343 return 0;
24344 }
24345 _ACEOF
24346 rm -f conftest.$ac_objext conftest$ac_exeext
24347 if { (ac_try="$ac_link"
24348 case "(($ac_try" in
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24350 *) ac_try_echo=$ac_try;;
24351 esac
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24353 (eval "$ac_link") 2>conftest.er1
24354 ac_status=$?
24355 grep -v '^ *+' conftest.er1 >conftest.err
24356 rm -f conftest.er1
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } && {
24360 test -z "$ac_c_werror_flag" ||
24361 test ! -s conftest.err
24362 } && test -s conftest$ac_exeext &&
24363 $as_test_x conftest$ac_exeext; then
24364 eval "$as_ac_var=yes"
24365 else
24366 echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.$ac_ext >&5
24368
24369 eval "$as_ac_var=no"
24370 fi
24371
24372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24373 conftest$ac_exeext conftest.$ac_ext
24374 fi
24375 ac_res=`eval echo '${'$as_ac_var'}'`
24376 { echo "$as_me:$LINENO: result: $ac_res" >&5
24377 echo "${ECHO_T}$ac_res" >&6; }
24378 if test `eval echo '${'$as_ac_var'}'` = yes; then
24379 cat >>confdefs.h <<_ACEOF
24380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24381 _ACEOF
24382 have_cos=1
24383 fi
24384 done
24385
24386
24387 for ac_func in floor
24388 do
24389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24394 else
24395 cat >conftest.$ac_ext <<_ACEOF
24396 /* confdefs.h. */
24397 _ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24403 #define $ac_func innocuous_$ac_func
24404
24405 /* System header to define __stub macros and hopefully few prototypes,
24406 which can conflict with char $ac_func (); below.
24407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24408 <limits.h> exists even on freestanding compilers. */
24409
24410 #ifdef __STDC__
24411 # include <limits.h>
24412 #else
24413 # include <assert.h>
24414 #endif
24415
24416 #undef $ac_func
24417
24418 /* Override any GCC internal prototype to avoid an error.
24419 Use char because int might match the return type of a GCC
24420 builtin and then its argument prototype would still apply. */
24421 #ifdef __cplusplus
24422 extern "C"
24423 #endif
24424 char $ac_func ();
24425 /* The GNU C library defines this for functions which it implements
24426 to always fail with ENOSYS. Some functions are actually named
24427 something starting with __ and the normal name is an alias. */
24428 #if defined __stub_$ac_func || defined __stub___$ac_func
24429 choke me
24430 #endif
24431
24432 int
24433 main ()
24434 {
24435 return $ac_func ();
24436 ;
24437 return 0;
24438 }
24439 _ACEOF
24440 rm -f conftest.$ac_objext conftest$ac_exeext
24441 if { (ac_try="$ac_link"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24445 esac
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_link") 2>conftest.er1
24448 ac_status=$?
24449 grep -v '^ *+' conftest.er1 >conftest.err
24450 rm -f conftest.er1
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_c_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest$ac_exeext &&
24457 $as_test_x conftest$ac_exeext; then
24458 eval "$as_ac_var=yes"
24459 else
24460 echo "$as_me: failed program was:" >&5
24461 sed 's/^/| /' conftest.$ac_ext >&5
24462
24463 eval "$as_ac_var=no"
24464 fi
24465
24466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24467 conftest$ac_exeext conftest.$ac_ext
24468 fi
24469 ac_res=`eval echo '${'$as_ac_var'}'`
24470 { echo "$as_me:$LINENO: result: $ac_res" >&5
24471 echo "${ECHO_T}$ac_res" >&6; }
24472 if test `eval echo '${'$as_ac_var'}'` = yes; then
24473 cat >>confdefs.h <<_ACEOF
24474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24475 _ACEOF
24476 have_floor=1
24477 fi
24478 done
24479
24480 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24481 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24482 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24483 { echo "$as_me:$LINENO: result: yes" >&5
24484 echo "${ECHO_T}yes" >&6; }
24485 else
24486 { echo "$as_me:$LINENO: result: no" >&5
24487 echo "${ECHO_T}no" >&6; }
24488 LIBS="$LIBS -lm"
24489 # use different functions to avoid configure caching
24490 have_sin=0
24491 have_ceil=0
24492
24493 for ac_func in sin
24494 do
24495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24496 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24498 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24499 echo $ECHO_N "(cached) $ECHO_C" >&6
24500 else
24501 cat >conftest.$ac_ext <<_ACEOF
24502 /* confdefs.h. */
24503 _ACEOF
24504 cat confdefs.h >>conftest.$ac_ext
24505 cat >>conftest.$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24509 #define $ac_func innocuous_$ac_func
24510
24511 /* System header to define __stub macros and hopefully few prototypes,
24512 which can conflict with char $ac_func (); below.
24513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24514 <limits.h> exists even on freestanding compilers. */
24515
24516 #ifdef __STDC__
24517 # include <limits.h>
24518 #else
24519 # include <assert.h>
24520 #endif
24521
24522 #undef $ac_func
24523
24524 /* Override any GCC internal prototype to avoid an error.
24525 Use char because int might match the return type of a GCC
24526 builtin and then its argument prototype would still apply. */
24527 #ifdef __cplusplus
24528 extern "C"
24529 #endif
24530 char $ac_func ();
24531 /* The GNU C library defines this for functions which it implements
24532 to always fail with ENOSYS. Some functions are actually named
24533 something starting with __ and the normal name is an alias. */
24534 #if defined __stub_$ac_func || defined __stub___$ac_func
24535 choke me
24536 #endif
24537
24538 int
24539 main ()
24540 {
24541 return $ac_func ();
24542 ;
24543 return 0;
24544 }
24545 _ACEOF
24546 rm -f conftest.$ac_objext conftest$ac_exeext
24547 if { (ac_try="$ac_link"
24548 case "(($ac_try" in
24549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550 *) ac_try_echo=$ac_try;;
24551 esac
24552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553 (eval "$ac_link") 2>conftest.er1
24554 ac_status=$?
24555 grep -v '^ *+' conftest.er1 >conftest.err
24556 rm -f conftest.er1
24557 cat conftest.err >&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } && {
24560 test -z "$ac_c_werror_flag" ||
24561 test ! -s conftest.err
24562 } && test -s conftest$ac_exeext &&
24563 $as_test_x conftest$ac_exeext; then
24564 eval "$as_ac_var=yes"
24565 else
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.$ac_ext >&5
24568
24569 eval "$as_ac_var=no"
24570 fi
24571
24572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24573 conftest$ac_exeext conftest.$ac_ext
24574 fi
24575 ac_res=`eval echo '${'$as_ac_var'}'`
24576 { echo "$as_me:$LINENO: result: $ac_res" >&5
24577 echo "${ECHO_T}$ac_res" >&6; }
24578 if test `eval echo '${'$as_ac_var'}'` = yes; then
24579 cat >>confdefs.h <<_ACEOF
24580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24581 _ACEOF
24582 have_sin=1
24583 fi
24584 done
24585
24586
24587 for ac_func in ceil
24588 do
24589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24590 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24592 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 else
24595 cat >conftest.$ac_ext <<_ACEOF
24596 /* confdefs.h. */
24597 _ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24603 #define $ac_func innocuous_$ac_func
24604
24605 /* System header to define __stub macros and hopefully few prototypes,
24606 which can conflict with char $ac_func (); below.
24607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24608 <limits.h> exists even on freestanding compilers. */
24609
24610 #ifdef __STDC__
24611 # include <limits.h>
24612 #else
24613 # include <assert.h>
24614 #endif
24615
24616 #undef $ac_func
24617
24618 /* Override any GCC internal prototype to avoid an error.
24619 Use char because int might match the return type of a GCC
24620 builtin and then its argument prototype would still apply. */
24621 #ifdef __cplusplus
24622 extern "C"
24623 #endif
24624 char $ac_func ();
24625 /* The GNU C library defines this for functions which it implements
24626 to always fail with ENOSYS. Some functions are actually named
24627 something starting with __ and the normal name is an alias. */
24628 #if defined __stub_$ac_func || defined __stub___$ac_func
24629 choke me
24630 #endif
24631
24632 int
24633 main ()
24634 {
24635 return $ac_func ();
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 rm -f conftest.$ac_objext conftest$ac_exeext
24641 if { (ac_try="$ac_link"
24642 case "(($ac_try" in
24643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24644 *) ac_try_echo=$ac_try;;
24645 esac
24646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24647 (eval "$ac_link") 2>conftest.er1
24648 ac_status=$?
24649 grep -v '^ *+' conftest.er1 >conftest.err
24650 rm -f conftest.er1
24651 cat conftest.err >&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } && {
24654 test -z "$ac_c_werror_flag" ||
24655 test ! -s conftest.err
24656 } && test -s conftest$ac_exeext &&
24657 $as_test_x conftest$ac_exeext; then
24658 eval "$as_ac_var=yes"
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24662
24663 eval "$as_ac_var=no"
24664 fi
24665
24666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24667 conftest$ac_exeext conftest.$ac_ext
24668 fi
24669 ac_res=`eval echo '${'$as_ac_var'}'`
24670 { echo "$as_me:$LINENO: result: $ac_res" >&5
24671 echo "${ECHO_T}$ac_res" >&6; }
24672 if test `eval echo '${'$as_ac_var'}'` = yes; then
24673 cat >>confdefs.h <<_ACEOF
24674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24675 _ACEOF
24676 have_ceil=1
24677 fi
24678 done
24679
24680 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24681 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24682 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24683 { echo "$as_me:$LINENO: result: yes" >&5
24684 echo "${ECHO_T}yes" >&6; }
24685 else
24686 { echo "$as_me:$LINENO: result: no" >&5
24687 echo "${ECHO_T}no" >&6; }
24688 # not sure we should warn the user, crash, etc.
24689 fi
24690 fi
24691
24692 ac_ext=cpp
24693 ac_cpp='$CXXCPP $CPPFLAGS'
24694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24697
24698 if test "wxUSE_UNICODE" = "yes"; then
24699
24700 for wx_func in wcstoull
24701 do
24702 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24703 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24704 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24705 echo $ECHO_N "(cached) $ECHO_C" >&6
24706 else
24707
24708 cat >conftest.$ac_ext <<_ACEOF
24709
24710 /* confdefs.h. */
24711 _ACEOF
24712 cat confdefs.h >>conftest.$ac_ext
24713 cat >>conftest.$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24715
24716
24717 $ac_includes_default
24718
24719 int
24720 main ()
24721 {
24722
24723 #ifndef $wx_func
24724 &$wx_func;
24725 #endif
24726
24727
24728 ;
24729 return 0;
24730 }
24731
24732 _ACEOF
24733 rm -f conftest.$ac_objext conftest$ac_exeext
24734 if { (ac_try="$ac_link"
24735 case "(($ac_try" in
24736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24738 esac
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_link") 2>conftest.er1
24741 ac_status=$?
24742 grep -v '^ *+' conftest.er1 >conftest.err
24743 rm -f conftest.er1
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_cxx_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest$ac_exeext &&
24750 $as_test_x conftest$ac_exeext; then
24751 eval wx_cv_func_$wx_func=yes
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24755
24756 eval wx_cv_func_$wx_func=no
24757 fi
24758
24759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24760 conftest$ac_exeext conftest.$ac_ext
24761
24762 fi
24763 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24764 { echo "$as_me:$LINENO: result: $ac_res" >&5
24765 echo "${ECHO_T}$ac_res" >&6; }
24766
24767 if eval test \$wx_cv_func_$wx_func = yes
24768 then
24769 cat >>confdefs.h <<_ACEOF
24770 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24771 _ACEOF
24772
24773
24774 else
24775 :
24776
24777 fi
24778 done
24779
24780 else
24781
24782 for wx_func in strtoull
24783 do
24784 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24785 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24786 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24787 echo $ECHO_N "(cached) $ECHO_C" >&6
24788 else
24789
24790 cat >conftest.$ac_ext <<_ACEOF
24791
24792 /* confdefs.h. */
24793 _ACEOF
24794 cat confdefs.h >>conftest.$ac_ext
24795 cat >>conftest.$ac_ext <<_ACEOF
24796 /* end confdefs.h. */
24797
24798
24799 $ac_includes_default
24800
24801 int
24802 main ()
24803 {
24804
24805 #ifndef $wx_func
24806 &$wx_func;
24807 #endif
24808
24809
24810 ;
24811 return 0;
24812 }
24813
24814 _ACEOF
24815 rm -f conftest.$ac_objext conftest$ac_exeext
24816 if { (ac_try="$ac_link"
24817 case "(($ac_try" in
24818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24819 *) ac_try_echo=$ac_try;;
24820 esac
24821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24822 (eval "$ac_link") 2>conftest.er1
24823 ac_status=$?
24824 grep -v '^ *+' conftest.er1 >conftest.err
24825 rm -f conftest.er1
24826 cat conftest.err >&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } && {
24829 test -z "$ac_cxx_werror_flag" ||
24830 test ! -s conftest.err
24831 } && test -s conftest$ac_exeext &&
24832 $as_test_x conftest$ac_exeext; then
24833 eval wx_cv_func_$wx_func=yes
24834 else
24835 echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24837
24838 eval wx_cv_func_$wx_func=no
24839 fi
24840
24841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24842 conftest$ac_exeext conftest.$ac_ext
24843
24844 fi
24845 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24846 { echo "$as_me:$LINENO: result: $ac_res" >&5
24847 echo "${ECHO_T}$ac_res" >&6; }
24848
24849 if eval test \$wx_cv_func_$wx_func = yes
24850 then
24851 cat >>confdefs.h <<_ACEOF
24852 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24853 _ACEOF
24854
24855
24856 else
24857 :
24858
24859 fi
24860 done
24861
24862 fi
24863 ac_ext=c
24864 ac_cpp='$CPP $CPPFLAGS'
24865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24868
24869
24870
24871
24872 if test "$wxUSE_REGEX" != "no"; then
24873 cat >>confdefs.h <<\_ACEOF
24874 #define wxUSE_REGEX 1
24875 _ACEOF
24876
24877
24878 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24879 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24880 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24881 wxUSE_REGEX=builtin
24882 fi
24883
24884 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24885 { echo "$as_me:$LINENO: checking for regex.h" >&5
24886 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24887 if test "${ac_cv_header_regex_h+set}" = set; then
24888 echo $ECHO_N "(cached) $ECHO_C" >&6
24889 else
24890 cat >conftest.$ac_ext <<_ACEOF
24891 /* confdefs.h. */
24892 _ACEOF
24893 cat confdefs.h >>conftest.$ac_ext
24894 cat >>conftest.$ac_ext <<_ACEOF
24895 /* end confdefs.h. */
24896
24897
24898 #include <regex.h>
24899 _ACEOF
24900 rm -f conftest.$ac_objext
24901 if { (ac_try="$ac_compile"
24902 case "(($ac_try" in
24903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24904 *) ac_try_echo=$ac_try;;
24905 esac
24906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24907 (eval "$ac_compile") 2>conftest.er1
24908 ac_status=$?
24909 grep -v '^ *+' conftest.er1 >conftest.err
24910 rm -f conftest.er1
24911 cat conftest.err >&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } && {
24914 test -z "$ac_c_werror_flag" ||
24915 test ! -s conftest.err
24916 } && test -s conftest.$ac_objext; then
24917 ac_cv_header_regex_h=yes
24918 else
24919 echo "$as_me: failed program was:" >&5
24920 sed 's/^/| /' conftest.$ac_ext >&5
24921
24922 ac_cv_header_regex_h=no
24923 fi
24924
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 fi
24927 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24928 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24929 if test $ac_cv_header_regex_h = yes; then
24930
24931
24932 for ac_func in regcomp re_search
24933 do
24934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24939 else
24940 cat >conftest.$ac_ext <<_ACEOF
24941 /* confdefs.h. */
24942 _ACEOF
24943 cat confdefs.h >>conftest.$ac_ext
24944 cat >>conftest.$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24948 #define $ac_func innocuous_$ac_func
24949
24950 /* System header to define __stub macros and hopefully few prototypes,
24951 which can conflict with char $ac_func (); below.
24952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24953 <limits.h> exists even on freestanding compilers. */
24954
24955 #ifdef __STDC__
24956 # include <limits.h>
24957 #else
24958 # include <assert.h>
24959 #endif
24960
24961 #undef $ac_func
24962
24963 /* Override any GCC internal prototype to avoid an error.
24964 Use char because int might match the return type of a GCC
24965 builtin and then its argument prototype would still apply. */
24966 #ifdef __cplusplus
24967 extern "C"
24968 #endif
24969 char $ac_func ();
24970 /* The GNU C library defines this for functions which it implements
24971 to always fail with ENOSYS. Some functions are actually named
24972 something starting with __ and the normal name is an alias. */
24973 #if defined __stub_$ac_func || defined __stub___$ac_func
24974 choke me
24975 #endif
24976
24977 int
24978 main ()
24979 {
24980 return $ac_func ();
24981 ;
24982 return 0;
24983 }
24984 _ACEOF
24985 rm -f conftest.$ac_objext conftest$ac_exeext
24986 if { (ac_try="$ac_link"
24987 case "(($ac_try" in
24988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24989 *) ac_try_echo=$ac_try;;
24990 esac
24991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24992 (eval "$ac_link") 2>conftest.er1
24993 ac_status=$?
24994 grep -v '^ *+' conftest.er1 >conftest.err
24995 rm -f conftest.er1
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && {
24999 test -z "$ac_c_werror_flag" ||
25000 test ! -s conftest.err
25001 } && test -s conftest$ac_exeext &&
25002 $as_test_x conftest$ac_exeext; then
25003 eval "$as_ac_var=yes"
25004 else
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 eval "$as_ac_var=no"
25009 fi
25010
25011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25012 conftest$ac_exeext conftest.$ac_ext
25013 fi
25014 ac_res=`eval echo '${'$as_ac_var'}'`
25015 { echo "$as_me:$LINENO: result: $ac_res" >&5
25016 echo "${ECHO_T}$ac_res" >&6; }
25017 if test `eval echo '${'$as_ac_var'}'` = yes; then
25018 cat >>confdefs.h <<_ACEOF
25019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25020 _ACEOF
25021
25022 fi
25023 done
25024
25025 fi
25026
25027
25028
25029 if test "x$ac_cv_func_regcomp" != "xyes"; then
25030 if test "$wxUSE_REGEX" = "sys" ; then
25031 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25032 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25033 { (exit 1); exit 1; }; }
25034 else
25035 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25036 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25037 wxUSE_REGEX=builtin
25038 fi
25039 else
25040 wxUSE_REGEX=sys
25041 cat >>confdefs.h <<\_ACEOF
25042 #define WX_NO_REGEX_ADVANCED 1
25043 _ACEOF
25044
25045 fi
25046 fi
25047 fi
25048
25049
25050 ZLIB_LINK=
25051 if test "$wxUSE_ZLIB" != "no" ; then
25052 cat >>confdefs.h <<\_ACEOF
25053 #define wxUSE_ZLIB 1
25054 _ACEOF
25055
25056
25057 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25058 if test "$USE_DARWIN" = 1; then
25059 system_zlib_h_ok="yes"
25060 else
25061 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25062 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25063 if test "${ac_cv_header_zlib_h+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 else
25066 if test "$cross_compiling" = yes; then
25067 unset ac_cv_header_zlib_h
25068
25069 else
25070 cat >conftest.$ac_ext <<_ACEOF
25071 /* confdefs.h. */
25072 _ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076
25077 #include <zlib.h>
25078 #include <stdio.h>
25079
25080 int main()
25081 {
25082 FILE *f=fopen("conftestval", "w");
25083 if (!f) exit(1);
25084 fprintf(f, "%s",
25085 ZLIB_VERSION[0] == '1' &&
25086 (ZLIB_VERSION[2] > '1' ||
25087 (ZLIB_VERSION[2] == '1' &&
25088 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25089 exit(0);
25090 }
25091
25092 _ACEOF
25093 rm -f conftest$ac_exeext
25094 if { (ac_try="$ac_link"
25095 case "(($ac_try" in
25096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25097 *) ac_try_echo=$ac_try;;
25098 esac
25099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25100 (eval "$ac_link") 2>&5
25101 ac_status=$?
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25104 { (case "(($ac_try" in
25105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25106 *) ac_try_echo=$ac_try;;
25107 esac
25108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25109 (eval "$ac_try") 2>&5
25110 ac_status=$?
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; }; then
25113 ac_cv_header_zlib_h=`cat conftestval`
25114 else
25115 echo "$as_me: program exited with status $ac_status" >&5
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.$ac_ext >&5
25118
25119 ( exit $ac_status )
25120 ac_cv_header_zlib_h=no
25121 fi
25122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25123 fi
25124
25125
25126
25127 fi
25128 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25129 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25130 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25131 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25132 if test "${ac_cv_header_zlib_h+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 else
25135 cat >conftest.$ac_ext <<_ACEOF
25136 /* confdefs.h. */
25137 _ACEOF
25138 cat confdefs.h >>conftest.$ac_ext
25139 cat >>conftest.$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25141
25142
25143 #include <zlib.h>
25144 _ACEOF
25145 rm -f conftest.$ac_objext
25146 if { (ac_try="$ac_compile"
25147 case "(($ac_try" in
25148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25149 *) ac_try_echo=$ac_try;;
25150 esac
25151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25152 (eval "$ac_compile") 2>conftest.er1
25153 ac_status=$?
25154 grep -v '^ *+' conftest.er1 >conftest.err
25155 rm -f conftest.er1
25156 cat conftest.err >&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); } && {
25159 test -z "$ac_c_werror_flag" ||
25160 test ! -s conftest.err
25161 } && test -s conftest.$ac_objext; then
25162 ac_cv_header_zlib_h=yes
25163 else
25164 echo "$as_me: failed program was:" >&5
25165 sed 's/^/| /' conftest.$ac_ext >&5
25166
25167 ac_cv_header_zlib_h=no
25168 fi
25169
25170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25171 fi
25172 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25173 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25174
25175
25176
25177 system_zlib_h_ok=$ac_cv_header_zlib_h
25178 fi
25179
25180 if test "$system_zlib_h_ok" = "yes"; then
25181 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25182 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25183 if test "${ac_cv_lib_z_deflate+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 else
25186 ac_check_lib_save_LIBS=$LIBS
25187 LIBS="-lz $LIBS"
25188 cat >conftest.$ac_ext <<_ACEOF
25189 /* confdefs.h. */
25190 _ACEOF
25191 cat confdefs.h >>conftest.$ac_ext
25192 cat >>conftest.$ac_ext <<_ACEOF
25193 /* end confdefs.h. */
25194
25195 /* Override any GCC internal prototype to avoid an error.
25196 Use char because int might match the return type of a GCC
25197 builtin and then its argument prototype would still apply. */
25198 #ifdef __cplusplus
25199 extern "C"
25200 #endif
25201 char deflate ();
25202 int
25203 main ()
25204 {
25205 return deflate ();
25206 ;
25207 return 0;
25208 }
25209 _ACEOF
25210 rm -f conftest.$ac_objext conftest$ac_exeext
25211 if { (ac_try="$ac_link"
25212 case "(($ac_try" in
25213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25214 *) ac_try_echo=$ac_try;;
25215 esac
25216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25217 (eval "$ac_link") 2>conftest.er1
25218 ac_status=$?
25219 grep -v '^ *+' conftest.er1 >conftest.err
25220 rm -f conftest.er1
25221 cat conftest.err >&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); } && {
25224 test -z "$ac_c_werror_flag" ||
25225 test ! -s conftest.err
25226 } && test -s conftest$ac_exeext &&
25227 $as_test_x conftest$ac_exeext; then
25228 ac_cv_lib_z_deflate=yes
25229 else
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25232
25233 ac_cv_lib_z_deflate=no
25234 fi
25235
25236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25237 conftest$ac_exeext conftest.$ac_ext
25238 LIBS=$ac_check_lib_save_LIBS
25239 fi
25240 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25241 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25242 if test $ac_cv_lib_z_deflate = yes; then
25243 ZLIB_LINK=" -lz"
25244 fi
25245
25246 fi
25247
25248 if test "x$ZLIB_LINK" = "x" ; then
25249 if test "$wxUSE_ZLIB" = "sys" ; then
25250 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25251 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25252 { (exit 1); exit 1; }; }
25253 else
25254 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25255 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25256 wxUSE_ZLIB=builtin
25257 fi
25258 else
25259 wxUSE_ZLIB=sys
25260 fi
25261 fi
25262 fi
25263
25264
25265 PNG_LINK=
25266 if test "$wxUSE_LIBPNG" != "no" ; then
25267 cat >>confdefs.h <<\_ACEOF
25268 #define wxUSE_LIBPNG 1
25269 _ACEOF
25270
25271
25272 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25273 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25274 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25275 wxUSE_LIBPNG=sys
25276 fi
25277
25278 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25279 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25280 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25281 wxUSE_LIBPNG=builtin
25282 fi
25283
25284 if test "$wxUSE_MGL" != 1 ; then
25285 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25286 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25287 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25288 if test "${ac_cv_header_png_h+set}" = set; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25290 else
25291 if test "$cross_compiling" = yes; then
25292 unset ac_cv_header_png_h
25293
25294 else
25295 cat >conftest.$ac_ext <<_ACEOF
25296 /* confdefs.h. */
25297 _ACEOF
25298 cat confdefs.h >>conftest.$ac_ext
25299 cat >>conftest.$ac_ext <<_ACEOF
25300 /* end confdefs.h. */
25301
25302 #include <png.h>
25303 #include <stdio.h>
25304
25305 int main()
25306 {
25307 FILE *f=fopen("conftestval", "w");
25308 if (!f) exit(1);
25309 fprintf(f, "%s",
25310 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25311 exit(0);
25312 }
25313
25314 _ACEOF
25315 rm -f conftest$ac_exeext
25316 if { (ac_try="$ac_link"
25317 case "(($ac_try" in
25318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25319 *) ac_try_echo=$ac_try;;
25320 esac
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25322 (eval "$ac_link") 2>&5
25323 ac_status=$?
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
25332 ac_status=$?
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); }; }; then
25335 ac_cv_header_png_h=`cat conftestval`
25336 else
25337 echo "$as_me: program exited with status $ac_status" >&5
25338 echo "$as_me: failed program was:" >&5
25339 sed 's/^/| /' conftest.$ac_ext >&5
25340
25341 ( exit $ac_status )
25342 ac_cv_header_png_h=no
25343 fi
25344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25345 fi
25346
25347
25348
25349 fi
25350 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25351 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25352 { echo "$as_me:$LINENO: checking for png.h" >&5
25353 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25354 if test "${ac_cv_header_png_h+set}" = set; then
25355 echo $ECHO_N "(cached) $ECHO_C" >&6
25356 else
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h. */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25363
25364
25365 #include <png.h>
25366 _ACEOF
25367 rm -f conftest.$ac_objext
25368 if { (ac_try="$ac_compile"
25369 case "(($ac_try" in
25370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25371 *) ac_try_echo=$ac_try;;
25372 esac
25373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25374 (eval "$ac_compile") 2>conftest.er1
25375 ac_status=$?
25376 grep -v '^ *+' conftest.er1 >conftest.err
25377 rm -f conftest.er1
25378 cat conftest.err >&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); } && {
25381 test -z "$ac_c_werror_flag" ||
25382 test ! -s conftest.err
25383 } && test -s conftest.$ac_objext; then
25384 ac_cv_header_png_h=yes
25385 else
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.$ac_ext >&5
25388
25389 ac_cv_header_png_h=no
25390 fi
25391
25392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25393 fi
25394 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25395 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25396
25397
25398
25399 if test "$ac_cv_header_png_h" = "yes"; then
25400 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25401 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25402 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25403 echo $ECHO_N "(cached) $ECHO_C" >&6
25404 else
25405 ac_check_lib_save_LIBS=$LIBS
25406 LIBS="-lpng -lz -lm $LIBS"
25407 cat >conftest.$ac_ext <<_ACEOF
25408 /* confdefs.h. */
25409 _ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25413
25414 /* Override any GCC internal prototype to avoid an error.
25415 Use char because int might match the return type of a GCC
25416 builtin and then its argument prototype would still apply. */
25417 #ifdef __cplusplus
25418 extern "C"
25419 #endif
25420 char png_check_sig ();
25421 int
25422 main ()
25423 {
25424 return png_check_sig ();
25425 ;
25426 return 0;
25427 }
25428 _ACEOF
25429 rm -f conftest.$ac_objext conftest$ac_exeext
25430 if { (ac_try="$ac_link"
25431 case "(($ac_try" in
25432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25433 *) ac_try_echo=$ac_try;;
25434 esac
25435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25436 (eval "$ac_link") 2>conftest.er1
25437 ac_status=$?
25438 grep -v '^ *+' conftest.er1 >conftest.err
25439 rm -f conftest.er1
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } && {
25443 test -z "$ac_c_werror_flag" ||
25444 test ! -s conftest.err
25445 } && test -s conftest$ac_exeext &&
25446 $as_test_x conftest$ac_exeext; then
25447 ac_cv_lib_png_png_check_sig=yes
25448 else
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.$ac_ext >&5
25451
25452 ac_cv_lib_png_png_check_sig=no
25453 fi
25454
25455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25456 conftest$ac_exeext conftest.$ac_ext
25457 LIBS=$ac_check_lib_save_LIBS
25458 fi
25459 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25460 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25461 if test $ac_cv_lib_png_png_check_sig = yes; then
25462 PNG_LINK=" -lpng -lz"
25463 fi
25464
25465 fi
25466
25467 if test "x$PNG_LINK" = "x" ; then
25468 if test "$wxUSE_LIBPNG" = "sys" ; then
25469 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25470 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25471 { (exit 1); exit 1; }; }
25472 else
25473 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25474 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25475 wxUSE_LIBPNG=builtin
25476 fi
25477 else
25478 wxUSE_LIBPNG=sys
25479 fi
25480 fi
25481 fi
25482
25483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25484 fi
25485
25486
25487 JPEG_LINK=
25488 if test "$wxUSE_LIBJPEG" != "no" ; then
25489 cat >>confdefs.h <<\_ACEOF
25490 #define wxUSE_LIBJPEG 1
25491 _ACEOF
25492
25493
25494 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25495 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25496 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25497 wxUSE_LIBJPEG=sys
25498 fi
25499
25500 if test "$wxUSE_MGL" != 1 ; then
25501 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25502 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25503 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25504 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 else
25507 cat >conftest.$ac_ext <<_ACEOF
25508 /* confdefs.h. */
25509 _ACEOF
25510 cat confdefs.h >>conftest.$ac_ext
25511 cat >>conftest.$ac_ext <<_ACEOF
25512 /* end confdefs.h. */
25513
25514 #undef HAVE_STDLIB_H
25515 #include <stdio.h>
25516 #include <jpeglib.h>
25517
25518 int
25519 main ()
25520 {
25521
25522
25523 ;
25524 return 0;
25525 }
25526 _ACEOF
25527 rm -f conftest.$ac_objext
25528 if { (ac_try="$ac_compile"
25529 case "(($ac_try" in
25530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25531 *) ac_try_echo=$ac_try;;
25532 esac
25533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25534 (eval "$ac_compile") 2>conftest.er1
25535 ac_status=$?
25536 grep -v '^ *+' conftest.er1 >conftest.err
25537 rm -f conftest.er1
25538 cat conftest.err >&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); } && {
25541 test -z "$ac_c_werror_flag" ||
25542 test ! -s conftest.err
25543 } && test -s conftest.$ac_objext; then
25544 ac_cv_header_jpeglib_h=yes
25545 else
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.$ac_ext >&5
25548
25549 ac_cv_header_jpeglib_h=no
25550
25551 fi
25552
25553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25554
25555 fi
25556
25557 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25558 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25559
25560 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25561 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25562 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25563 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25564 echo $ECHO_N "(cached) $ECHO_C" >&6
25565 else
25566 ac_check_lib_save_LIBS=$LIBS
25567 LIBS="-ljpeg $LIBS"
25568 cat >conftest.$ac_ext <<_ACEOF
25569 /* confdefs.h. */
25570 _ACEOF
25571 cat confdefs.h >>conftest.$ac_ext
25572 cat >>conftest.$ac_ext <<_ACEOF
25573 /* end confdefs.h. */
25574
25575 /* Override any GCC internal prototype to avoid an error.
25576 Use char because int might match the return type of a GCC
25577 builtin and then its argument prototype would still apply. */
25578 #ifdef __cplusplus
25579 extern "C"
25580 #endif
25581 char jpeg_read_header ();
25582 int
25583 main ()
25584 {
25585 return jpeg_read_header ();
25586 ;
25587 return 0;
25588 }
25589 _ACEOF
25590 rm -f conftest.$ac_objext conftest$ac_exeext
25591 if { (ac_try="$ac_link"
25592 case "(($ac_try" in
25593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25594 *) ac_try_echo=$ac_try;;
25595 esac
25596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25597 (eval "$ac_link") 2>conftest.er1
25598 ac_status=$?
25599 grep -v '^ *+' conftest.er1 >conftest.err
25600 rm -f conftest.er1
25601 cat conftest.err >&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } && {
25604 test -z "$ac_c_werror_flag" ||
25605 test ! -s conftest.err
25606 } && test -s conftest$ac_exeext &&
25607 $as_test_x conftest$ac_exeext; then
25608 ac_cv_lib_jpeg_jpeg_read_header=yes
25609 else
25610 echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.$ac_ext >&5
25612
25613 ac_cv_lib_jpeg_jpeg_read_header=no
25614 fi
25615
25616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25617 conftest$ac_exeext conftest.$ac_ext
25618 LIBS=$ac_check_lib_save_LIBS
25619 fi
25620 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25621 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25622 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25623 JPEG_LINK=" -ljpeg"
25624 fi
25625
25626 fi
25627
25628 if test "x$JPEG_LINK" = "x" ; then
25629 if test "$wxUSE_LIBJPEG" = "sys" ; then
25630 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25631 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25632 { (exit 1); exit 1; }; }
25633 else
25634 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25635 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25636 wxUSE_LIBJPEG=builtin
25637 fi
25638 else
25639 wxUSE_LIBJPEG=sys
25640
25641 if test "$wxUSE_MSW" = 1; then
25642 { echo "$as_me:$LINENO: checking for boolean" >&5
25643 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25644 if test "${ac_cv_type_boolean+set}" = set; then
25645 echo $ECHO_N "(cached) $ECHO_C" >&6
25646 else
25647 cat >conftest.$ac_ext <<_ACEOF
25648 /* confdefs.h. */
25649 _ACEOF
25650 cat confdefs.h >>conftest.$ac_ext
25651 cat >>conftest.$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25653 #include <windows.h>
25654
25655 typedef boolean ac__type_new_;
25656 int
25657 main ()
25658 {
25659 if ((ac__type_new_ *) 0)
25660 return 0;
25661 if (sizeof (ac__type_new_))
25662 return 0;
25663 ;
25664 return 0;
25665 }
25666 _ACEOF
25667 rm -f conftest.$ac_objext
25668 if { (ac_try="$ac_compile"
25669 case "(($ac_try" in
25670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25671 *) ac_try_echo=$ac_try;;
25672 esac
25673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25674 (eval "$ac_compile") 2>conftest.er1
25675 ac_status=$?
25676 grep -v '^ *+' conftest.er1 >conftest.err
25677 rm -f conftest.er1
25678 cat conftest.err >&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); } && {
25681 test -z "$ac_c_werror_flag" ||
25682 test ! -s conftest.err
25683 } && test -s conftest.$ac_objext; then
25684 ac_cv_type_boolean=yes
25685 else
25686 echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.$ac_ext >&5
25688
25689 ac_cv_type_boolean=no
25690 fi
25691
25692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25693 fi
25694 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25695 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25696 if test $ac_cv_type_boolean = yes; then
25697
25698 cat >>confdefs.h <<_ACEOF
25699 #define HAVE_BOOLEAN 1
25700 _ACEOF
25701
25702
25703 { echo "$as_me:$LINENO: checking for boolean" >&5
25704 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25705 if test "${ac_cv_type_boolean+set}" = set; then
25706 echo $ECHO_N "(cached) $ECHO_C" >&6
25707 else
25708 cat >conftest.$ac_ext <<_ACEOF
25709 /* confdefs.h. */
25710 _ACEOF
25711 cat confdefs.h >>conftest.$ac_ext
25712 cat >>conftest.$ac_ext <<_ACEOF
25713 /* end confdefs.h. */
25714
25715 #undef HAVE_BOOLEAN
25716 #include <stdio.h>
25717 #include <jpeglib.h>
25718
25719
25720 typedef boolean ac__type_new_;
25721 int
25722 main ()
25723 {
25724 if ((ac__type_new_ *) 0)
25725 return 0;
25726 if (sizeof (ac__type_new_))
25727 return 0;
25728 ;
25729 return 0;
25730 }
25731 _ACEOF
25732 rm -f conftest.$ac_objext
25733 if { (ac_try="$ac_compile"
25734 case "(($ac_try" in
25735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25736 *) ac_try_echo=$ac_try;;
25737 esac
25738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25739 (eval "$ac_compile") 2>conftest.er1
25740 ac_status=$?
25741 grep -v '^ *+' conftest.er1 >conftest.err
25742 rm -f conftest.er1
25743 cat conftest.err >&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } && {
25746 test -z "$ac_c_werror_flag" ||
25747 test ! -s conftest.err
25748 } && test -s conftest.$ac_objext; then
25749 ac_cv_type_boolean=yes
25750 else
25751 echo "$as_me: failed program was:" >&5
25752 sed 's/^/| /' conftest.$ac_ext >&5
25753
25754 ac_cv_type_boolean=no
25755 fi
25756
25757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25758 fi
25759 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25760 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25761
25762 # The cast to long int works around a bug in the HP C Compiler
25763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25765 # This bug is HP SR number 8606223364.
25766 { echo "$as_me:$LINENO: checking size of boolean" >&5
25767 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25768 if test "${ac_cv_sizeof_boolean+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 else
25771 if test "$cross_compiling" = yes; then
25772 # Depending upon the size, compute the lo and hi bounds.
25773 cat >conftest.$ac_ext <<_ACEOF
25774 /* confdefs.h. */
25775 _ACEOF
25776 cat confdefs.h >>conftest.$ac_ext
25777 cat >>conftest.$ac_ext <<_ACEOF
25778 /* end confdefs.h. */
25779
25780 #undef HAVE_BOOLEAN
25781 #include <stdio.h>
25782 #include <jpeglib.h>
25783
25784
25785 typedef boolean ac__type_sizeof_;
25786 int
25787 main ()
25788 {
25789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25790 test_array [0] = 0
25791
25792 ;
25793 return 0;
25794 }
25795 _ACEOF
25796 rm -f conftest.$ac_objext
25797 if { (ac_try="$ac_compile"
25798 case "(($ac_try" in
25799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25800 *) ac_try_echo=$ac_try;;
25801 esac
25802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25803 (eval "$ac_compile") 2>conftest.er1
25804 ac_status=$?
25805 grep -v '^ *+' conftest.er1 >conftest.err
25806 rm -f conftest.er1
25807 cat conftest.err >&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } && {
25810 test -z "$ac_c_werror_flag" ||
25811 test ! -s conftest.err
25812 } && test -s conftest.$ac_objext; then
25813 ac_lo=0 ac_mid=0
25814 while :; do
25815 cat >conftest.$ac_ext <<_ACEOF
25816 /* confdefs.h. */
25817 _ACEOF
25818 cat confdefs.h >>conftest.$ac_ext
25819 cat >>conftest.$ac_ext <<_ACEOF
25820 /* end confdefs.h. */
25821
25822 #undef HAVE_BOOLEAN
25823 #include <stdio.h>
25824 #include <jpeglib.h>
25825
25826
25827 typedef boolean ac__type_sizeof_;
25828 int
25829 main ()
25830 {
25831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25832 test_array [0] = 0
25833
25834 ;
25835 return 0;
25836 }
25837 _ACEOF
25838 rm -f conftest.$ac_objext
25839 if { (ac_try="$ac_compile"
25840 case "(($ac_try" in
25841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25842 *) ac_try_echo=$ac_try;;
25843 esac
25844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845 (eval "$ac_compile") 2>conftest.er1
25846 ac_status=$?
25847 grep -v '^ *+' conftest.er1 >conftest.err
25848 rm -f conftest.er1
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } && {
25852 test -z "$ac_c_werror_flag" ||
25853 test ! -s conftest.err
25854 } && test -s conftest.$ac_objext; then
25855 ac_hi=$ac_mid; break
25856 else
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25859
25860 ac_lo=`expr $ac_mid + 1`
25861 if test $ac_lo -le $ac_mid; then
25862 ac_lo= ac_hi=
25863 break
25864 fi
25865 ac_mid=`expr 2 '*' $ac_mid + 1`
25866 fi
25867
25868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25869 done
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 cat >conftest.$ac_ext <<_ACEOF
25875 /* confdefs.h. */
25876 _ACEOF
25877 cat confdefs.h >>conftest.$ac_ext
25878 cat >>conftest.$ac_ext <<_ACEOF
25879 /* end confdefs.h. */
25880
25881 #undef HAVE_BOOLEAN
25882 #include <stdio.h>
25883 #include <jpeglib.h>
25884
25885
25886 typedef boolean ac__type_sizeof_;
25887 int
25888 main ()
25889 {
25890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25891 test_array [0] = 0
25892
25893 ;
25894 return 0;
25895 }
25896 _ACEOF
25897 rm -f conftest.$ac_objext
25898 if { (ac_try="$ac_compile"
25899 case "(($ac_try" in
25900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25901 *) ac_try_echo=$ac_try;;
25902 esac
25903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25904 (eval "$ac_compile") 2>conftest.er1
25905 ac_status=$?
25906 grep -v '^ *+' conftest.er1 >conftest.err
25907 rm -f conftest.er1
25908 cat conftest.err >&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); } && {
25911 test -z "$ac_c_werror_flag" ||
25912 test ! -s conftest.err
25913 } && test -s conftest.$ac_objext; then
25914 ac_hi=-1 ac_mid=-1
25915 while :; do
25916 cat >conftest.$ac_ext <<_ACEOF
25917 /* confdefs.h. */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922
25923 #undef HAVE_BOOLEAN
25924 #include <stdio.h>
25925 #include <jpeglib.h>
25926
25927
25928 typedef boolean ac__type_sizeof_;
25929 int
25930 main ()
25931 {
25932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25933 test_array [0] = 0
25934
25935 ;
25936 return 0;
25937 }
25938 _ACEOF
25939 rm -f conftest.$ac_objext
25940 if { (ac_try="$ac_compile"
25941 case "(($ac_try" in
25942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25943 *) ac_try_echo=$ac_try;;
25944 esac
25945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25946 (eval "$ac_compile") 2>conftest.er1
25947 ac_status=$?
25948 grep -v '^ *+' conftest.er1 >conftest.err
25949 rm -f conftest.er1
25950 cat conftest.err >&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); } && {
25953 test -z "$ac_c_werror_flag" ||
25954 test ! -s conftest.err
25955 } && test -s conftest.$ac_objext; then
25956 ac_lo=$ac_mid; break
25957 else
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25960
25961 ac_hi=`expr '(' $ac_mid ')' - 1`
25962 if test $ac_mid -le $ac_hi; then
25963 ac_lo= ac_hi=
25964 break
25965 fi
25966 ac_mid=`expr 2 '*' $ac_mid`
25967 fi
25968
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970 done
25971 else
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25974
25975 ac_lo= ac_hi=
25976 fi
25977
25978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25979 fi
25980
25981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25982 # Binary search between lo and hi bounds.
25983 while test "x$ac_lo" != "x$ac_hi"; do
25984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25985 cat >conftest.$ac_ext <<_ACEOF
25986 /* confdefs.h. */
25987 _ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991
25992 #undef HAVE_BOOLEAN
25993 #include <stdio.h>
25994 #include <jpeglib.h>
25995
25996
25997 typedef boolean ac__type_sizeof_;
25998 int
25999 main ()
26000 {
26001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26002 test_array [0] = 0
26003
26004 ;
26005 return 0;
26006 }
26007 _ACEOF
26008 rm -f conftest.$ac_objext
26009 if { (ac_try="$ac_compile"
26010 case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26013 esac
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_compile") 2>conftest.er1
26016 ac_status=$?
26017 grep -v '^ *+' conftest.er1 >conftest.err
26018 rm -f conftest.er1
26019 cat conftest.err >&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } && {
26022 test -z "$ac_c_werror_flag" ||
26023 test ! -s conftest.err
26024 } && test -s conftest.$ac_objext; then
26025 ac_hi=$ac_mid
26026 else
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26029
26030 ac_lo=`expr '(' $ac_mid ')' + 1`
26031 fi
26032
26033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26034 done
26035 case $ac_lo in
26036 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26037 '') if test "$ac_cv_type_boolean" = yes; then
26038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26039 See \`config.log' for more details." >&5
26040 echo "$as_me: error: cannot compute sizeof (boolean)
26041 See \`config.log' for more details." >&2;}
26042 { (exit 77); exit 77; }; }
26043 else
26044 ac_cv_sizeof_boolean=0
26045 fi ;;
26046 esac
26047 else
26048 cat >conftest.$ac_ext <<_ACEOF
26049 /* confdefs.h. */
26050 _ACEOF
26051 cat confdefs.h >>conftest.$ac_ext
26052 cat >>conftest.$ac_ext <<_ACEOF
26053 /* end confdefs.h. */
26054
26055 #undef HAVE_BOOLEAN
26056 #include <stdio.h>
26057 #include <jpeglib.h>
26058
26059
26060 typedef boolean ac__type_sizeof_;
26061 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26062 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26063 #include <stdio.h>
26064 #include <stdlib.h>
26065 int
26066 main ()
26067 {
26068
26069 FILE *f = fopen ("conftest.val", "w");
26070 if (! f)
26071 return 1;
26072 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26073 {
26074 long int i = longval ();
26075 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26076 return 1;
26077 fprintf (f, "%ld\n", i);
26078 }
26079 else
26080 {
26081 unsigned long int i = ulongval ();
26082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26083 return 1;
26084 fprintf (f, "%lu\n", i);
26085 }
26086 return ferror (f) || fclose (f) != 0;
26087
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 rm -f conftest$ac_exeext
26093 if { (ac_try="$ac_link"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26097 esac
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_link") 2>&5
26100 ac_status=$?
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26103 { (case "(($ac_try" in
26104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26105 *) ac_try_echo=$ac_try;;
26106 esac
26107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26108 (eval "$ac_try") 2>&5
26109 ac_status=$?
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; }; then
26112 ac_cv_sizeof_boolean=`cat conftest.val`
26113 else
26114 echo "$as_me: program exited with status $ac_status" >&5
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26117
26118 ( exit $ac_status )
26119 if test "$ac_cv_type_boolean" = yes; then
26120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26121 See \`config.log' for more details." >&5
26122 echo "$as_me: error: cannot compute sizeof (boolean)
26123 See \`config.log' for more details." >&2;}
26124 { (exit 77); exit 77; }; }
26125 else
26126 ac_cv_sizeof_boolean=0
26127 fi
26128 fi
26129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26130 fi
26131 rm -f conftest.val
26132 fi
26133 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26134 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26135
26136
26137
26138 cat >>confdefs.h <<_ACEOF
26139 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26140 _ACEOF
26141
26142
26143 cat >>confdefs.h <<_ACEOF
26144 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26145 _ACEOF
26146
26147
26148 fi
26149
26150 fi
26151 fi
26152 fi
26153 fi
26154 fi
26155
26156
26157 TIFF_LINK=
26158 TIFF_PREREQ_LINKS=-lm
26159 if test "$wxUSE_LIBTIFF" != "no" ; then
26160 cat >>confdefs.h <<\_ACEOF
26161 #define wxUSE_LIBTIFF 1
26162 _ACEOF
26163
26164
26165 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26166 if test "$wxUSE_LIBJPEG" = "sys"; then
26167 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26168 fi
26169 if test "$wxUSE_ZLIB" = "sys"; then
26170 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26171 fi
26172 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26173 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26174 if test "${ac_cv_header_tiffio_h+set}" = set; then
26175 echo $ECHO_N "(cached) $ECHO_C" >&6
26176 else
26177 cat >conftest.$ac_ext <<_ACEOF
26178 /* confdefs.h. */
26179 _ACEOF
26180 cat confdefs.h >>conftest.$ac_ext
26181 cat >>conftest.$ac_ext <<_ACEOF
26182 /* end confdefs.h. */
26183
26184
26185
26186 #include <tiffio.h>
26187 _ACEOF
26188 rm -f conftest.$ac_objext
26189 if { (ac_try="$ac_compile"
26190 case "(($ac_try" in
26191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26192 *) ac_try_echo=$ac_try;;
26193 esac
26194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26195 (eval "$ac_compile") 2>conftest.er1
26196 ac_status=$?
26197 grep -v '^ *+' conftest.er1 >conftest.err
26198 rm -f conftest.er1
26199 cat conftest.err >&5
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); } && {
26202 test -z "$ac_c_werror_flag" ||
26203 test ! -s conftest.err
26204 } && test -s conftest.$ac_objext; then
26205 ac_cv_header_tiffio_h=yes
26206 else
26207 echo "$as_me: failed program was:" >&5
26208 sed 's/^/| /' conftest.$ac_ext >&5
26209
26210 ac_cv_header_tiffio_h=no
26211 fi
26212
26213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26214 fi
26215 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26216 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26217 if test $ac_cv_header_tiffio_h = yes; then
26218
26219 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26220 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26221 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26222 echo $ECHO_N "(cached) $ECHO_C" >&6
26223 else
26224 ac_check_lib_save_LIBS=$LIBS
26225 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26226 cat >conftest.$ac_ext <<_ACEOF
26227 /* confdefs.h. */
26228 _ACEOF
26229 cat confdefs.h >>conftest.$ac_ext
26230 cat >>conftest.$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26232
26233 /* Override any GCC internal prototype to avoid an error.
26234 Use char because int might match the return type of a GCC
26235 builtin and then its argument prototype would still apply. */
26236 #ifdef __cplusplus
26237 extern "C"
26238 #endif
26239 char TIFFError ();
26240 int
26241 main ()
26242 {
26243 return TIFFError ();
26244 ;
26245 return 0;
26246 }
26247 _ACEOF
26248 rm -f conftest.$ac_objext conftest$ac_exeext
26249 if { (ac_try="$ac_link"
26250 case "(($ac_try" in
26251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26252 *) ac_try_echo=$ac_try;;
26253 esac
26254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26255 (eval "$ac_link") 2>conftest.er1
26256 ac_status=$?
26257 grep -v '^ *+' conftest.er1 >conftest.err
26258 rm -f conftest.er1
26259 cat conftest.err >&5
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); } && {
26262 test -z "$ac_c_werror_flag" ||
26263 test ! -s conftest.err
26264 } && test -s conftest$ac_exeext &&
26265 $as_test_x conftest$ac_exeext; then
26266 ac_cv_lib_tiff_TIFFError=yes
26267 else
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.$ac_ext >&5
26270
26271 ac_cv_lib_tiff_TIFFError=no
26272 fi
26273
26274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26275 conftest$ac_exeext conftest.$ac_ext
26276 LIBS=$ac_check_lib_save_LIBS
26277 fi
26278 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26279 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26280 if test $ac_cv_lib_tiff_TIFFError = yes; then
26281 TIFF_LINK=" -ltiff"
26282 fi
26283
26284
26285 fi
26286
26287
26288
26289 if test "x$TIFF_LINK" = "x" ; then
26290 if test "$wxUSE_LIBTIFF" = "sys" ; then
26291 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26292 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26293 { (exit 1); exit 1; }; }
26294 else
26295 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26296 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26297 wxUSE_LIBTIFF=builtin
26298 fi
26299 else
26300 wxUSE_LIBTIFF=sys
26301 fi
26302 fi
26303 fi
26304
26305
26306 if test "$wxUSE_WCHAR_T" != "yes"; then
26307 if test "$wxUSE_EXPAT" != "no"; then
26308 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26309 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26310 wxUSE_EXPAT=no
26311 fi
26312 if test "$wxUSE_XML" != "no"; then
26313 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26314 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26315 wxUSE_XML=no
26316 fi
26317 fi
26318
26319 if test "$wxUSE_EXPAT" != "no"; then
26320 wxUSE_XML=yes
26321 cat >>confdefs.h <<\_ACEOF
26322 #define wxUSE_EXPAT 1
26323 _ACEOF
26324
26325 cat >>confdefs.h <<\_ACEOF
26326 #define wxUSE_XML 1
26327 _ACEOF
26328
26329
26330 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26331 { echo "$as_me:$LINENO: checking for expat.h" >&5
26332 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26333 if test "${ac_cv_header_expat_h+set}" = set; then
26334 echo $ECHO_N "(cached) $ECHO_C" >&6
26335 else
26336 cat >conftest.$ac_ext <<_ACEOF
26337 /* confdefs.h. */
26338 _ACEOF
26339 cat confdefs.h >>conftest.$ac_ext
26340 cat >>conftest.$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26342
26343
26344 #include <expat.h>
26345 _ACEOF
26346 rm -f conftest.$ac_objext
26347 if { (ac_try="$ac_compile"
26348 case "(($ac_try" in
26349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26350 *) ac_try_echo=$ac_try;;
26351 esac
26352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26353 (eval "$ac_compile") 2>conftest.er1
26354 ac_status=$?
26355 grep -v '^ *+' conftest.er1 >conftest.err
26356 rm -f conftest.er1
26357 cat conftest.err >&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); } && {
26360 test -z "$ac_c_werror_flag" ||
26361 test ! -s conftest.err
26362 } && test -s conftest.$ac_objext; then
26363 ac_cv_header_expat_h=yes
26364 else
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.$ac_ext >&5
26367
26368 ac_cv_header_expat_h=no
26369 fi
26370
26371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26372 fi
26373 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26374 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26375 if test $ac_cv_header_expat_h = yes; then
26376 found_expat_h=1
26377 fi
26378
26379
26380 if test "x$found_expat_h" = "x1"; then
26381 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26382 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26383 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6
26385 else
26386
26387 ac_ext=cpp
26388 ac_cpp='$CXXCPP $CPPFLAGS'
26389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26392
26393 cat >conftest.$ac_ext <<_ACEOF
26394 /* confdefs.h. */
26395 _ACEOF
26396 cat confdefs.h >>conftest.$ac_ext
26397 cat >>conftest.$ac_ext <<_ACEOF
26398 /* end confdefs.h. */
26399 #include <expat.h>
26400 int
26401 main ()
26402 {
26403
26404 ;
26405 return 0;
26406 }
26407 _ACEOF
26408 rm -f conftest.$ac_objext
26409 if { (ac_try="$ac_compile"
26410 case "(($ac_try" in
26411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26412 *) ac_try_echo=$ac_try;;
26413 esac
26414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26415 (eval "$ac_compile") 2>conftest.er1
26416 ac_status=$?
26417 grep -v '^ *+' conftest.er1 >conftest.err
26418 rm -f conftest.er1
26419 cat conftest.err >&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); } && {
26422 test -z "$ac_cxx_werror_flag" ||
26423 test ! -s conftest.err
26424 } && test -s conftest.$ac_objext; then
26425 wx_cv_expat_is_not_broken=yes
26426 else
26427 echo "$as_me: failed program was:" >&5
26428 sed 's/^/| /' conftest.$ac_ext >&5
26429
26430 wx_cv_expat_is_not_broken=no
26431
26432 fi
26433
26434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26435 ac_ext=c
26436 ac_cpp='$CPP $CPPFLAGS'
26437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26440
26441
26442
26443 fi
26444 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26445 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26446 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26447 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26448 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26449 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 else
26452 ac_check_lib_save_LIBS=$LIBS
26453 LIBS="-lexpat $LIBS"
26454 cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460
26461 /* Override any GCC internal prototype to avoid an error.
26462 Use char because int might match the return type of a GCC
26463 builtin and then its argument prototype would still apply. */
26464 #ifdef __cplusplus
26465 extern "C"
26466 #endif
26467 char XML_ParserCreate ();
26468 int
26469 main ()
26470 {
26471 return XML_ParserCreate ();
26472 ;
26473 return 0;
26474 }
26475 _ACEOF
26476 rm -f conftest.$ac_objext conftest$ac_exeext
26477 if { (ac_try="$ac_link"
26478 case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26481 esac
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_link") 2>conftest.er1
26484 ac_status=$?
26485 grep -v '^ *+' conftest.er1 >conftest.err
26486 rm -f conftest.er1
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } && {
26490 test -z "$ac_c_werror_flag" ||
26491 test ! -s conftest.err
26492 } && test -s conftest$ac_exeext &&
26493 $as_test_x conftest$ac_exeext; then
26494 ac_cv_lib_expat_XML_ParserCreate=yes
26495 else
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.$ac_ext >&5
26498
26499 ac_cv_lib_expat_XML_ParserCreate=no
26500 fi
26501
26502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26503 conftest$ac_exeext conftest.$ac_ext
26504 LIBS=$ac_check_lib_save_LIBS
26505 fi
26506 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26507 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26508 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26509 EXPAT_LINK=" -lexpat"
26510 fi
26511
26512 fi
26513 fi
26514 if test "x$EXPAT_LINK" = "x" ; then
26515 if test "$wxUSE_EXPAT" = "sys" ; then
26516 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26517 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26518 { (exit 1); exit 1; }; }
26519 else
26520 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26521 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26522 wxUSE_EXPAT=builtin
26523 fi
26524 else
26525 wxUSE_EXPAT=sys
26526 fi
26527 fi
26528 if test "$wxUSE_EXPAT" = "builtin" ; then
26529 subdirs="$subdirs src/expat"
26530
26531 fi
26532 fi
26533
26534
26535
26536 if test "$wxUSE_LIBMSPACK" != "no"; then
26537 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26538 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26539 if test "${ac_cv_header_mspack_h+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542 cat >conftest.$ac_ext <<_ACEOF
26543 /* confdefs.h. */
26544 _ACEOF
26545 cat confdefs.h >>conftest.$ac_ext
26546 cat >>conftest.$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26548
26549
26550 #include <mspack.h>
26551 _ACEOF
26552 rm -f conftest.$ac_objext
26553 if { (ac_try="$ac_compile"
26554 case "(($ac_try" in
26555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26556 *) ac_try_echo=$ac_try;;
26557 esac
26558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26559 (eval "$ac_compile") 2>conftest.er1
26560 ac_status=$?
26561 grep -v '^ *+' conftest.er1 >conftest.err
26562 rm -f conftest.er1
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } && {
26566 test -z "$ac_c_werror_flag" ||
26567 test ! -s conftest.err
26568 } && test -s conftest.$ac_objext; then
26569 ac_cv_header_mspack_h=yes
26570 else
26571 echo "$as_me: failed program was:" >&5
26572 sed 's/^/| /' conftest.$ac_ext >&5
26573
26574 ac_cv_header_mspack_h=no
26575 fi
26576
26577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26578 fi
26579 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26580 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26581 if test $ac_cv_header_mspack_h = yes; then
26582 found_mspack_h=1
26583 fi
26584
26585
26586 if test "x$found_mspack_h" = "x1"; then
26587 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26588 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26589 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 else
26592 ac_check_lib_save_LIBS=$LIBS
26593 LIBS="-lmspack $LIBS"
26594 cat >conftest.$ac_ext <<_ACEOF
26595 /* confdefs.h. */
26596 _ACEOF
26597 cat confdefs.h >>conftest.$ac_ext
26598 cat >>conftest.$ac_ext <<_ACEOF
26599 /* end confdefs.h. */
26600
26601 /* Override any GCC internal prototype to avoid an error.
26602 Use char because int might match the return type of a GCC
26603 builtin and then its argument prototype would still apply. */
26604 #ifdef __cplusplus
26605 extern "C"
26606 #endif
26607 char mspack_create_chm_decompressor ();
26608 int
26609 main ()
26610 {
26611 return mspack_create_chm_decompressor ();
26612 ;
26613 return 0;
26614 }
26615 _ACEOF
26616 rm -f conftest.$ac_objext conftest$ac_exeext
26617 if { (ac_try="$ac_link"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26621 esac
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_link") 2>conftest.er1
26624 ac_status=$?
26625 grep -v '^ *+' conftest.er1 >conftest.err
26626 rm -f conftest.er1
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_c_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest$ac_exeext &&
26633 $as_test_x conftest$ac_exeext; then
26634 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26635 else
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26638
26639 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26640 fi
26641
26642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26643 conftest$ac_exeext conftest.$ac_ext
26644 LIBS=$ac_check_lib_save_LIBS
26645 fi
26646 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26647 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26648 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26649 MSPACK_LINK=" -lmspack"
26650 fi
26651
26652 fi
26653 if test "x$MSPACK_LINK" = "x" ; then
26654 wxUSE_LIBMSPACK=no
26655 fi
26656 fi
26657
26658 if test "$wxUSE_LIBMSPACK" != "no"; then
26659 cat >>confdefs.h <<\_ACEOF
26660 #define wxUSE_LIBMSPACK 1
26661 _ACEOF
26662
26663 fi
26664
26665
26666
26667 AFMINSTALL=
26668 WIN32INSTALL=
26669
26670 TOOLKIT=
26671 TOOLKIT_INCLUDE=
26672 WIDGET_SET=
26673
26674 if test "$USE_WIN32" = 1 ; then
26675 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26676 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26677 if test "${ac_cv_header_w32api_h+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 else
26680 cat >conftest.$ac_ext <<_ACEOF
26681 /* confdefs.h. */
26682 _ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686
26687
26688 #include <w32api.h>
26689 _ACEOF
26690 rm -f conftest.$ac_objext
26691 if { (ac_try="$ac_compile"
26692 case "(($ac_try" in
26693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26694 *) ac_try_echo=$ac_try;;
26695 esac
26696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26697 (eval "$ac_compile") 2>conftest.er1
26698 ac_status=$?
26699 grep -v '^ *+' conftest.er1 >conftest.err
26700 rm -f conftest.er1
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } && {
26704 test -z "$ac_c_werror_flag" ||
26705 test ! -s conftest.err
26706 } && test -s conftest.$ac_objext; then
26707 ac_cv_header_w32api_h=yes
26708 else
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.$ac_ext >&5
26711
26712 ac_cv_header_w32api_h=no
26713 fi
26714
26715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26716 fi
26717 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26718 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26719
26720
26721 { echo "$as_me:$LINENO: checking for windows.h" >&5
26722 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26723 if test "${ac_cv_header_windows_h+set}" = set; then
26724 echo $ECHO_N "(cached) $ECHO_C" >&6
26725 else
26726 cat >conftest.$ac_ext <<_ACEOF
26727 /* confdefs.h. */
26728 _ACEOF
26729 cat confdefs.h >>conftest.$ac_ext
26730 cat >>conftest.$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26732
26733
26734 #include <windows.h>
26735 _ACEOF
26736 rm -f conftest.$ac_objext
26737 if { (ac_try="$ac_compile"
26738 case "(($ac_try" in
26739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26740 *) ac_try_echo=$ac_try;;
26741 esac
26742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26743 (eval "$ac_compile") 2>conftest.er1
26744 ac_status=$?
26745 grep -v '^ *+' conftest.er1 >conftest.err
26746 rm -f conftest.er1
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } && {
26750 test -z "$ac_c_werror_flag" ||
26751 test ! -s conftest.err
26752 } && test -s conftest.$ac_objext; then
26753 ac_cv_header_windows_h=yes
26754 else
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26757
26758 ac_cv_header_windows_h=no
26759 fi
26760
26761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26762 fi
26763 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26764 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26765 if test $ac_cv_header_windows_h = yes; then
26766 :
26767 else
26768
26769 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26770 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26771 { (exit 1); exit 1; }; }
26772
26773 fi
26774
26775
26776
26777 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26778
26779 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26780 LIBS="$LIBS -loleacc"
26781 fi
26782
26783 case "${host}" in
26784 *-*-cygwin* )
26785 LIBS="$LIBS -lkernel32 -luser32"
26786 esac
26787
26788 if test "$wxUSE_ODBC" = "sys" ; then
26789 wxUSE_ODBC = "yes"
26790 fi
26791 if test "$wxUSE_ODBC" = "yes" ; then
26792 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26793 cat >>confdefs.h <<\_ACEOF
26794 #define wxUSE_ODBC 1
26795 _ACEOF
26796
26797 fi
26798
26799 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26800 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26801
26802 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26803
26804 WIN32INSTALL=win32install
26805
26806 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26807 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26808 if test "${ac_cv_header_pbt_h+set}" = set; then
26809 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 else
26811 cat >conftest.$ac_ext <<_ACEOF
26812 /* confdefs.h. */
26813 _ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817
26818
26819 #include <pbt.h>
26820 _ACEOF
26821 rm -f conftest.$ac_objext
26822 if { (ac_try="$ac_compile"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26825 *) ac_try_echo=$ac_try;;
26826 esac
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_compile") 2>conftest.er1
26829 ac_status=$?
26830 grep -v '^ *+' conftest.er1 >conftest.err
26831 rm -f conftest.er1
26832 cat conftest.err >&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && {
26835 test -z "$ac_c_werror_flag" ||
26836 test ! -s conftest.err
26837 } && test -s conftest.$ac_objext; then
26838 ac_cv_header_pbt_h=yes
26839 else
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26842
26843 ac_cv_header_pbt_h=no
26844 fi
26845
26846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26847 fi
26848 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26849 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26850 if test $ac_cv_header_pbt_h = yes; then
26851 :
26852 else
26853 cat >>confdefs.h <<\_ACEOF
26854 #define NEED_PBT_H 1
26855 _ACEOF
26856
26857 fi
26858
26859
26860 fi
26861
26862 if test "$wxUSE_GUI" = "yes"; then
26863 USE_GUI=1
26864
26865 GUI_TK_LIBRARY=
26866
26867 WXGTK12=
26868 WXGTK127=
26869 WXGTK20=
26870 WXGPE=
26871
26872 if test "$wxUSE_COCOA" = 1 ; then
26873 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26874 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26875 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26876 wxUSE_PRINTING_ARCHITECTURE=no
26877 fi
26878 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26879 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26880 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26881 wxUSE_DRAG_AND_DROP=no
26882 fi
26883 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26884 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26885 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26886 wxUSE_DRAGIMAGE=no
26887 fi
26888 fi
26889
26890 if test "$wxUSE_MSW" = 1 ; then
26891 TOOLKIT=MSW
26892 GUIDIST=MSW_DIST
26893
26894 case "${host}" in
26895 *-*-mingw32* )
26896 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26897 esac
26898 fi
26899
26900 if test "$wxUSE_GTK" = 1; then
26901 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26902 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26903
26904 gtk_version_cached=1
26905 if test "${wx_cv_lib_gtk+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 else
26908
26909 gtk_version_cached=0
26910 { echo "$as_me:$LINENO: result: " >&5
26911 echo "${ECHO_T}" >&6; }
26912
26913 GTK_MODULES=
26914 if test "$wxUSE_THREADS" = "yes"; then
26915 GTK_MODULES=gthread
26916 fi
26917
26918 wx_cv_lib_gtk=
26919 if test "x$wxGTK_VERSION" != "x1"
26920 then
26921 case "${host}" in
26922 *-*-solaris2* )
26923 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26924 enable_gtktest=no
26925 fi
26926 esac
26927
26928 # Check whether --enable-gtktest was given.
26929 if test "${enable_gtktest+set}" = set; then
26930 enableval=$enable_gtktest;
26931 else
26932 enable_gtktest=yes
26933 fi
26934
26935
26936 pkg_config_args=gtk+-2.0
26937 for module in . $GTK_MODULES
26938 do
26939 case "$module" in
26940 gthread)
26941 pkg_config_args="$pkg_config_args gthread-2.0"
26942 ;;
26943 esac
26944 done
26945
26946 no_gtk=""
26947
26948 # Extract the first word of "pkg-config", so it can be a program name with args.
26949 set dummy pkg-config; ac_word=$2
26950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26952 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26953 echo $ECHO_N "(cached) $ECHO_C" >&6
26954 else
26955 case $PKG_CONFIG in
26956 [\\/]* | ?:[\\/]*)
26957 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26958 ;;
26959 *)
26960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26961 for as_dir in $PATH
26962 do
26963 IFS=$as_save_IFS
26964 test -z "$as_dir" && as_dir=.
26965 for ac_exec_ext in '' $ac_executable_extensions; do
26966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26967 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26969 break 2
26970 fi
26971 done
26972 done
26973 IFS=$as_save_IFS
26974
26975 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26976 ;;
26977 esac
26978 fi
26979 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26980 if test -n "$PKG_CONFIG"; then
26981 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26982 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26983 else
26984 { echo "$as_me:$LINENO: result: no" >&5
26985 echo "${ECHO_T}no" >&6; }
26986 fi
26987
26988
26989
26990 if test x$PKG_CONFIG != xno ; then
26991 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26992 :
26993 else
26994 echo "*** pkg-config too old; version 0.7 or better required."
26995 no_gtk=yes
26996 PKG_CONFIG=no
26997 fi
26998 else
26999 no_gtk=yes
27000 fi
27001
27002 min_gtk_version=2.0.0
27003 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27004 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27005
27006 if test x$PKG_CONFIG != xno ; then
27007 ## don't try to run the test against uninstalled libtool libs
27008 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27009 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27010 enable_gtktest=no
27011 fi
27012
27013 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27014 :
27015 else
27016 no_gtk=yes
27017 fi
27018 fi
27019
27020 if test x"$no_gtk" = x ; then
27021 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27022 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27023 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27025 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27027 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27029 if test "x$enable_gtktest" = "xyes" ; then
27030 ac_save_CFLAGS="$CFLAGS"
27031 ac_save_LIBS="$LIBS"
27032 CFLAGS="$CFLAGS $GTK_CFLAGS"
27033 LIBS="$GTK_LIBS $LIBS"
27034 rm -f conf.gtktest
27035 if test "$cross_compiling" = yes; then
27036 echo $ac_n "cross compiling; assumed OK... $ac_c"
27037 else
27038 cat >conftest.$ac_ext <<_ACEOF
27039 /* confdefs.h. */
27040 _ACEOF
27041 cat confdefs.h >>conftest.$ac_ext
27042 cat >>conftest.$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27044
27045 #include <gtk/gtk.h>
27046 #include <stdio.h>
27047 #include <stdlib.h>
27048
27049 int
27050 main ()
27051 {
27052 int major, minor, micro;
27053 char *tmp_version;
27054
27055 system ("touch conf.gtktest");
27056
27057 /* HP/UX 9 (%@#!) writes to sscanf strings */
27058 tmp_version = g_strdup("$min_gtk_version");
27059 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27060 printf("%s, bad version string\n", "$min_gtk_version");
27061 exit(1);
27062 }
27063
27064 if ((gtk_major_version != $gtk_config_major_version) ||
27065 (gtk_minor_version != $gtk_config_minor_version) ||
27066 (gtk_micro_version != $gtk_config_micro_version))
27067 {
27068 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27069 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27070 gtk_major_version, gtk_minor_version, gtk_micro_version);
27071 printf ("*** was found! If pkg-config was correct, then it is best\n");
27072 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27073 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27074 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27075 printf("*** required on your system.\n");
27076 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27077 printf("*** to point to the correct configuration files\n");
27078 }
27079 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27080 (gtk_minor_version != GTK_MINOR_VERSION) ||
27081 (gtk_micro_version != GTK_MICRO_VERSION))
27082 {
27083 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27084 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27085 printf("*** library (version %d.%d.%d)\n",
27086 gtk_major_version, gtk_minor_version, gtk_micro_version);
27087 }
27088 else
27089 {
27090 if ((gtk_major_version > major) ||
27091 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27092 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27093 {
27094 return 0;
27095 }
27096 else
27097 {
27098 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27099 gtk_major_version, gtk_minor_version, gtk_micro_version);
27100 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27101 major, minor, micro);
27102 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27103 printf("***\n");
27104 printf("*** If you have already installed a sufficiently new version, this error\n");
27105 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27106 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27107 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27108 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27109 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27110 printf("*** so that the correct libraries are found at run-time))\n");
27111 }
27112 }
27113 return 1;
27114 }
27115
27116 _ACEOF
27117 rm -f conftest$ac_exeext
27118 if { (ac_try="$ac_link"
27119 case "(($ac_try" in
27120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27121 *) ac_try_echo=$ac_try;;
27122 esac
27123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27124 (eval "$ac_link") 2>&5
27125 ac_status=$?
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27128 { (case "(($ac_try" in
27129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27130 *) ac_try_echo=$ac_try;;
27131 esac
27132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27133 (eval "$ac_try") 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 :
27138 else
27139 echo "$as_me: program exited with status $ac_status" >&5
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27142
27143 ( exit $ac_status )
27144 no_gtk=yes
27145 fi
27146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27147 fi
27148
27149
27150 CFLAGS="$ac_save_CFLAGS"
27151 LIBS="$ac_save_LIBS"
27152 fi
27153 fi
27154 if test "x$no_gtk" = x ; then
27155 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27156 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27157 wx_cv_lib_gtk=2.0
27158 else
27159 { echo "$as_me:$LINENO: result: no" >&5
27160 echo "${ECHO_T}no" >&6; }
27161 if test "$PKG_CONFIG" = "no" ; then
27162 echo "*** A new enough version of pkg-config was not found."
27163 echo "*** See http://pkgconfig.sourceforge.net"
27164 else
27165 if test -f conf.gtktest ; then
27166 :
27167 else
27168 echo "*** Could not run GTK+ test program, checking why..."
27169 ac_save_CFLAGS="$CFLAGS"
27170 ac_save_LIBS="$LIBS"
27171 CFLAGS="$CFLAGS $GTK_CFLAGS"
27172 LIBS="$LIBS $GTK_LIBS"
27173 cat >conftest.$ac_ext <<_ACEOF
27174 /* confdefs.h. */
27175 _ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27179
27180 #include <gtk/gtk.h>
27181 #include <stdio.h>
27182
27183 int
27184 main ()
27185 {
27186 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27187 ;
27188 return 0;
27189 }
27190 _ACEOF
27191 rm -f conftest.$ac_objext conftest$ac_exeext
27192 if { (ac_try="$ac_link"
27193 case "(($ac_try" in
27194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27195 *) ac_try_echo=$ac_try;;
27196 esac
27197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27198 (eval "$ac_link") 2>conftest.er1
27199 ac_status=$?
27200 grep -v '^ *+' conftest.er1 >conftest.err
27201 rm -f conftest.er1
27202 cat conftest.err >&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } && {
27205 test -z "$ac_c_werror_flag" ||
27206 test ! -s conftest.err
27207 } && test -s conftest$ac_exeext &&
27208 $as_test_x conftest$ac_exeext; then
27209 echo "*** The test program compiled, but did not run. This usually means"
27210 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27211 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27212 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27213 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27214 echo "*** is required on your system"
27215 echo "***"
27216 echo "*** If you have an old version installed, it is best to remove it, although"
27217 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27218 else
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27221
27222 echo "*** The test program failed to compile or link. See the file config.log for the"
27223 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27224 fi
27225
27226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27227 conftest$ac_exeext conftest.$ac_ext
27228 CFLAGS="$ac_save_CFLAGS"
27229 LIBS="$ac_save_LIBS"
27230 fi
27231 fi
27232 GTK_CFLAGS=""
27233 GTK_LIBS=""
27234 :
27235 fi
27236
27237
27238 rm -f conf.gtktest
27239
27240
27241 case "${host}" in
27242 *-*-solaris2* )
27243 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27244 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27245 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27246 fi
27247 if test "$wxUSE_SHARED" != "yes"; then
27248 GTK_LIBS="$GTK_LIBS -lX11"
27249 fi
27250 esac
27251 fi
27252
27253 if test -z "$wx_cv_lib_gtk"; then
27254 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27255
27256 # Check whether --with-gtk-prefix was given.
27257 if test "${with_gtk_prefix+set}" = set; then
27258 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27259 else
27260 gtk_config_prefix=""
27261 fi
27262
27263
27264 # Check whether --with-gtk-exec-prefix was given.
27265 if test "${with_gtk_exec_prefix+set}" = set; then
27266 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27267 else
27268 gtk_config_exec_prefix=""
27269 fi
27270
27271 # Check whether --enable-gtktest was given.
27272 if test "${enable_gtktest+set}" = set; then
27273 enableval=$enable_gtktest;
27274 else
27275 enable_gtktest=yes
27276 fi
27277
27278
27279 for module in . $GTK_MODULES
27280 do
27281 case "$module" in
27282 gthread)
27283 gtk_config_args="$gtk_config_args gthread"
27284 ;;
27285 esac
27286 done
27287
27288 if test x$gtk_config_exec_prefix != x ; then
27289 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27290 if test x${GTK_CONFIG+set} != xset ; then
27291 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27292 fi
27293 fi
27294 if test x$gtk_config_prefix != x ; then
27295 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27296 if test x${GTK_CONFIG+set} != xset ; then
27297 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27298 fi
27299 fi
27300
27301 # Extract the first word of "gtk-config", so it can be a program name with args.
27302 set dummy gtk-config; ac_word=$2
27303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27305 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27306 echo $ECHO_N "(cached) $ECHO_C" >&6
27307 else
27308 case $GTK_CONFIG in
27309 [\\/]* | ?:[\\/]*)
27310 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27311 ;;
27312 *)
27313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27314 for as_dir in $PATH
27315 do
27316 IFS=$as_save_IFS
27317 test -z "$as_dir" && as_dir=.
27318 for ac_exec_ext in '' $ac_executable_extensions; do
27319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27320 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27322 break 2
27323 fi
27324 done
27325 done
27326 IFS=$as_save_IFS
27327
27328 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27329 ;;
27330 esac
27331 fi
27332 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27333 if test -n "$GTK_CONFIG"; then
27334 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27335 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27336 else
27337 { echo "$as_me:$LINENO: result: no" >&5
27338 echo "${ECHO_T}no" >&6; }
27339 fi
27340
27341
27342 min_gtk_version=1.2.7
27343 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27344 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27345 no_gtk=""
27346 if test "$GTK_CONFIG" = "no" ; then
27347 no_gtk=yes
27348 else
27349 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27350 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27351 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27353 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27355 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27357 if test "x$enable_gtktest" = "xyes" ; then
27358 ac_save_CFLAGS="$CFLAGS"
27359 ac_save_LIBS="$LIBS"
27360 CFLAGS="$CFLAGS $GTK_CFLAGS"
27361 LIBS="$GTK_LIBS $LIBS"
27362 rm -f conf.gtktest
27363 if test "$cross_compiling" = yes; then
27364 echo $ac_n "cross compiling; assumed OK... $ac_c"
27365 else
27366 cat >conftest.$ac_ext <<_ACEOF
27367 /* confdefs.h. */
27368 _ACEOF
27369 cat confdefs.h >>conftest.$ac_ext
27370 cat >>conftest.$ac_ext <<_ACEOF
27371 /* end confdefs.h. */
27372
27373 #include <gtk/gtk.h>
27374 #include <stdio.h>
27375 #include <stdlib.h>
27376
27377 int
27378 main ()
27379 {
27380 int major, minor, micro;
27381 char *tmp_version;
27382
27383 system ("touch conf.gtktest");
27384
27385 /* HP/UX 9 (%@#!) writes to sscanf strings */
27386 tmp_version = g_strdup("$min_gtk_version");
27387 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27388 printf("%s, bad version string\n", "$min_gtk_version");
27389 exit(1);
27390 }
27391
27392 if ((gtk_major_version != $gtk_config_major_version) ||
27393 (gtk_minor_version != $gtk_config_minor_version) ||
27394 (gtk_micro_version != $gtk_config_micro_version))
27395 {
27396 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27397 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27398 gtk_major_version, gtk_minor_version, gtk_micro_version);
27399 printf ("*** was found! If gtk-config was correct, then it is best\n");
27400 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27401 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27402 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27403 printf("*** required on your system.\n");
27404 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27405 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27406 printf("*** before re-running configure\n");
27407 }
27408 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27409 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27410 (gtk_minor_version != GTK_MINOR_VERSION) ||
27411 (gtk_micro_version != GTK_MICRO_VERSION))
27412 {
27413 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27414 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27415 printf("*** library (version %d.%d.%d)\n",
27416 gtk_major_version, gtk_minor_version, gtk_micro_version);
27417 }
27418 #endif /* defined (GTK_MAJOR_VERSION) ... */
27419 else
27420 {
27421 if ((gtk_major_version > major) ||
27422 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27423 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27424 {
27425 return 0;
27426 }
27427 else
27428 {
27429 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27430 gtk_major_version, gtk_minor_version, gtk_micro_version);
27431 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27432 major, minor, micro);
27433 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27434 printf("***\n");
27435 printf("*** If you have already installed a sufficiently new version, this error\n");
27436 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27437 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27438 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27439 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27440 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27441 printf("*** so that the correct libraries are found at run-time))\n");
27442 }
27443 }
27444 return 1;
27445 }
27446
27447 _ACEOF
27448 rm -f conftest$ac_exeext
27449 if { (ac_try="$ac_link"
27450 case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27452 *) ac_try_echo=$ac_try;;
27453 esac
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_link") 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27459 { (case "(($ac_try" in
27460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27461 *) ac_try_echo=$ac_try;;
27462 esac
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_try") 2>&5
27465 ac_status=$?
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 :
27469 else
27470 echo "$as_me: program exited with status $ac_status" >&5
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 ( exit $ac_status )
27475 no_gtk=yes
27476 fi
27477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27478 fi
27479
27480
27481 CFLAGS="$ac_save_CFLAGS"
27482 LIBS="$ac_save_LIBS"
27483 fi
27484 fi
27485 if test "x$no_gtk" = x ; then
27486 { echo "$as_me:$LINENO: result: yes" >&5
27487 echo "${ECHO_T}yes" >&6; }
27488 wx_cv_lib_gtk=1.2.7
27489 else
27490 { echo "$as_me:$LINENO: result: no" >&5
27491 echo "${ECHO_T}no" >&6; }
27492 if test "$GTK_CONFIG" = "no" ; then
27493 echo "*** The gtk-config script installed by GTK could not be found"
27494 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27495 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27496 echo "*** full path to gtk-config."
27497 else
27498 if test -f conf.gtktest ; then
27499 :
27500 else
27501 echo "*** Could not run GTK test program, checking why..."
27502 CFLAGS="$CFLAGS $GTK_CFLAGS"
27503 LIBS="$LIBS $GTK_LIBS"
27504 cat >conftest.$ac_ext <<_ACEOF
27505 /* confdefs.h. */
27506 _ACEOF
27507 cat confdefs.h >>conftest.$ac_ext
27508 cat >>conftest.$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27510
27511 #include <gtk/gtk.h>
27512 #include <stdio.h>
27513
27514 int
27515 main ()
27516 {
27517 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27518 ;
27519 return 0;
27520 }
27521 _ACEOF
27522 rm -f conftest.$ac_objext conftest$ac_exeext
27523 if { (ac_try="$ac_link"
27524 case "(($ac_try" in
27525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27526 *) ac_try_echo=$ac_try;;
27527 esac
27528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27529 (eval "$ac_link") 2>conftest.er1
27530 ac_status=$?
27531 grep -v '^ *+' conftest.er1 >conftest.err
27532 rm -f conftest.er1
27533 cat conftest.err >&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); } && {
27536 test -z "$ac_c_werror_flag" ||
27537 test ! -s conftest.err
27538 } && test -s conftest$ac_exeext &&
27539 $as_test_x conftest$ac_exeext; then
27540 echo "*** The test program compiled, but did not run. This usually means"
27541 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27542 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27543 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27544 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27545 echo "*** is required on your system"
27546 echo "***"
27547 echo "*** If you have an old version installed, it is best to remove it, although"
27548 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27549 echo "***"
27550 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27551 echo "*** came with the system with the command"
27552 echo "***"
27553 echo "*** rpm --erase --nodeps gtk gtk-devel"
27554 else
27555 echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.$ac_ext >&5
27557
27558 echo "*** The test program failed to compile or link. See the file config.log for the"
27559 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27560 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27561 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27562 fi
27563
27564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27565 conftest$ac_exeext conftest.$ac_ext
27566 CFLAGS="$ac_save_CFLAGS"
27567 LIBS="$ac_save_LIBS"
27568 fi
27569 fi
27570 GTK_CFLAGS=""
27571 GTK_LIBS=""
27572 :
27573 fi
27574
27575
27576 rm -f conf.gtktest
27577
27578
27579 if test -z "$wx_cv_lib_gtk"; then
27580
27581 # Check whether --with-gtk-prefix was given.
27582 if test "${with_gtk_prefix+set}" = set; then
27583 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27584 else
27585 gtk_config_prefix=""
27586 fi
27587
27588
27589 # Check whether --with-gtk-exec-prefix was given.
27590 if test "${with_gtk_exec_prefix+set}" = set; then
27591 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27592 else
27593 gtk_config_exec_prefix=""
27594 fi
27595
27596 # Check whether --enable-gtktest was given.
27597 if test "${enable_gtktest+set}" = set; then
27598 enableval=$enable_gtktest;
27599 else
27600 enable_gtktest=yes
27601 fi
27602
27603
27604 for module in . $GTK_MODULES
27605 do
27606 case "$module" in
27607 gthread)
27608 gtk_config_args="$gtk_config_args gthread"
27609 ;;
27610 esac
27611 done
27612
27613 if test x$gtk_config_exec_prefix != x ; then
27614 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27615 if test x${GTK_CONFIG+set} != xset ; then
27616 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27617 fi
27618 fi
27619 if test x$gtk_config_prefix != x ; then
27620 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27621 if test x${GTK_CONFIG+set} != xset ; then
27622 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27623 fi
27624 fi
27625
27626 # Extract the first word of "gtk-config", so it can be a program name with args.
27627 set dummy gtk-config; ac_word=$2
27628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27630 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27631 echo $ECHO_N "(cached) $ECHO_C" >&6
27632 else
27633 case $GTK_CONFIG in
27634 [\\/]* | ?:[\\/]*)
27635 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27636 ;;
27637 *)
27638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27639 for as_dir in $PATH
27640 do
27641 IFS=$as_save_IFS
27642 test -z "$as_dir" && as_dir=.
27643 for ac_exec_ext in '' $ac_executable_extensions; do
27644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27645 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27647 break 2
27648 fi
27649 done
27650 done
27651 IFS=$as_save_IFS
27652
27653 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27654 ;;
27655 esac
27656 fi
27657 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27658 if test -n "$GTK_CONFIG"; then
27659 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27660 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27661 else
27662 { echo "$as_me:$LINENO: result: no" >&5
27663 echo "${ECHO_T}no" >&6; }
27664 fi
27665
27666
27667 min_gtk_version=1.2.3
27668 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27669 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27670 no_gtk=""
27671 if test "$GTK_CONFIG" = "no" ; then
27672 no_gtk=yes
27673 else
27674 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27675 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27676 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27678 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27680 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27682 if test "x$enable_gtktest" = "xyes" ; then
27683 ac_save_CFLAGS="$CFLAGS"
27684 ac_save_LIBS="$LIBS"
27685 CFLAGS="$CFLAGS $GTK_CFLAGS"
27686 LIBS="$GTK_LIBS $LIBS"
27687 rm -f conf.gtktest
27688 if test "$cross_compiling" = yes; then
27689 echo $ac_n "cross compiling; assumed OK... $ac_c"
27690 else
27691 cat >conftest.$ac_ext <<_ACEOF
27692 /* confdefs.h. */
27693 _ACEOF
27694 cat confdefs.h >>conftest.$ac_ext
27695 cat >>conftest.$ac_ext <<_ACEOF
27696 /* end confdefs.h. */
27697
27698 #include <gtk/gtk.h>
27699 #include <stdio.h>
27700 #include <stdlib.h>
27701
27702 int
27703 main ()
27704 {
27705 int major, minor, micro;
27706 char *tmp_version;
27707
27708 system ("touch conf.gtktest");
27709
27710 /* HP/UX 9 (%@#!) writes to sscanf strings */
27711 tmp_version = g_strdup("$min_gtk_version");
27712 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27713 printf("%s, bad version string\n", "$min_gtk_version");
27714 exit(1);
27715 }
27716
27717 if ((gtk_major_version != $gtk_config_major_version) ||
27718 (gtk_minor_version != $gtk_config_minor_version) ||
27719 (gtk_micro_version != $gtk_config_micro_version))
27720 {
27721 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27722 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27723 gtk_major_version, gtk_minor_version, gtk_micro_version);
27724 printf ("*** was found! If gtk-config was correct, then it is best\n");
27725 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27726 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27727 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27728 printf("*** required on your system.\n");
27729 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27730 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27731 printf("*** before re-running configure\n");
27732 }
27733 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27734 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27735 (gtk_minor_version != GTK_MINOR_VERSION) ||
27736 (gtk_micro_version != GTK_MICRO_VERSION))
27737 {
27738 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27739 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27740 printf("*** library (version %d.%d.%d)\n",
27741 gtk_major_version, gtk_minor_version, gtk_micro_version);
27742 }
27743 #endif /* defined (GTK_MAJOR_VERSION) ... */
27744 else
27745 {
27746 if ((gtk_major_version > major) ||
27747 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27748 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27749 {
27750 return 0;
27751 }
27752 else
27753 {
27754 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27755 gtk_major_version, gtk_minor_version, gtk_micro_version);
27756 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27757 major, minor, micro);
27758 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27759 printf("***\n");
27760 printf("*** If you have already installed a sufficiently new version, this error\n");
27761 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27762 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27763 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27764 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27765 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27766 printf("*** so that the correct libraries are found at run-time))\n");
27767 }
27768 }
27769 return 1;
27770 }
27771
27772 _ACEOF
27773 rm -f conftest$ac_exeext
27774 if { (ac_try="$ac_link"
27775 case "(($ac_try" in
27776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27777 *) ac_try_echo=$ac_try;;
27778 esac
27779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27780 (eval "$ac_link") 2>&5
27781 ac_status=$?
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27784 { (case "(($ac_try" in
27785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27786 *) ac_try_echo=$ac_try;;
27787 esac
27788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27789 (eval "$ac_try") 2>&5
27790 ac_status=$?
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); }; }; then
27793 :
27794 else
27795 echo "$as_me: program exited with status $ac_status" >&5
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.$ac_ext >&5
27798
27799 ( exit $ac_status )
27800 no_gtk=yes
27801 fi
27802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27803 fi
27804
27805
27806 CFLAGS="$ac_save_CFLAGS"
27807 LIBS="$ac_save_LIBS"
27808 fi
27809 fi
27810 if test "x$no_gtk" = x ; then
27811 { echo "$as_me:$LINENO: result: yes" >&5
27812 echo "${ECHO_T}yes" >&6; }
27813 wx_cv_lib_gtk=1.2.3
27814 else
27815 { echo "$as_me:$LINENO: result: no" >&5
27816 echo "${ECHO_T}no" >&6; }
27817 if test "$GTK_CONFIG" = "no" ; then
27818 echo "*** The gtk-config script installed by GTK could not be found"
27819 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27820 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27821 echo "*** full path to gtk-config."
27822 else
27823 if test -f conf.gtktest ; then
27824 :
27825 else
27826 echo "*** Could not run GTK test program, checking why..."
27827 CFLAGS="$CFLAGS $GTK_CFLAGS"
27828 LIBS="$LIBS $GTK_LIBS"
27829 cat >conftest.$ac_ext <<_ACEOF
27830 /* confdefs.h. */
27831 _ACEOF
27832 cat confdefs.h >>conftest.$ac_ext
27833 cat >>conftest.$ac_ext <<_ACEOF
27834 /* end confdefs.h. */
27835
27836 #include <gtk/gtk.h>
27837 #include <stdio.h>
27838
27839 int
27840 main ()
27841 {
27842 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27843 ;
27844 return 0;
27845 }
27846 _ACEOF
27847 rm -f conftest.$ac_objext conftest$ac_exeext
27848 if { (ac_try="$ac_link"
27849 case "(($ac_try" in
27850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27851 *) ac_try_echo=$ac_try;;
27852 esac
27853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27854 (eval "$ac_link") 2>conftest.er1
27855 ac_status=$?
27856 grep -v '^ *+' conftest.er1 >conftest.err
27857 rm -f conftest.er1
27858 cat conftest.err >&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); } && {
27861 test -z "$ac_c_werror_flag" ||
27862 test ! -s conftest.err
27863 } && test -s conftest$ac_exeext &&
27864 $as_test_x conftest$ac_exeext; then
27865 echo "*** The test program compiled, but did not run. This usually means"
27866 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27867 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27870 echo "*** is required on your system"
27871 echo "***"
27872 echo "*** If you have an old version installed, it is best to remove it, although"
27873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27874 echo "***"
27875 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27876 echo "*** came with the system with the command"
27877 echo "***"
27878 echo "*** rpm --erase --nodeps gtk gtk-devel"
27879 else
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27882
27883 echo "*** The test program failed to compile or link. See the file config.log for the"
27884 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27885 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27886 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27887 fi
27888
27889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27890 conftest$ac_exeext conftest.$ac_ext
27891 CFLAGS="$ac_save_CFLAGS"
27892 LIBS="$ac_save_LIBS"
27893 fi
27894 fi
27895 GTK_CFLAGS=""
27896 GTK_LIBS=""
27897 :
27898 fi
27899
27900
27901 rm -f conf.gtktest
27902
27903 fi
27904 fi
27905 fi
27906
27907 if test -z "$wx_cv_lib_gtk"; then
27908 wx_cv_lib_gtk=none
27909 else
27910 wx_cv_cflags_gtk=$GTK_CFLAGS
27911 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27912 fi
27913
27914
27915 fi
27916
27917
27918 if test "$gtk_version_cached" = 1; then
27919 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27920 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27921 fi
27922
27923 case "$wx_cv_lib_gtk" in
27924 2.0) WXGTK20=1
27925 TOOLKIT_VERSION=2
27926 ;;
27927 1.2.7) WXGTK127=1
27928 WXGTK12=1
27929 ;;
27930 1.2.3) WXGTK12=1
27931 ;;
27932 *) { { echo "$as_me:$LINENO: error:
27933 The development files for GTK+ were not found. For GTK+ 2, please
27934 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27935 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27936 and that the version is 1.2.3 or above. Also check that the
27937 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27938 --libs' are in the LD_LIBRARY_PATH or equivalent.
27939 " >&5
27940 echo "$as_me: error:
27941 The development files for GTK+ were not found. For GTK+ 2, please
27942 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27943 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27944 and that the version is 1.2.3 or above. Also check that the
27945 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27946 --libs' are in the LD_LIBRARY_PATH or equivalent.
27947 " >&2;}
27948 { (exit 1); exit 1; }; }
27949 ;;
27950 esac
27951
27952 if test "$WXGTK20" = 1; then
27953 save_CFLAGS="$CFLAGS"
27954 save_LIBS="$LIBS"
27955 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27956 LIBS="$LIBS $wx_cv_libs_gtk"
27957
27958 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27959 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27960 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27961 echo $ECHO_N "(cached) $ECHO_C" >&6
27962 else
27963 cat >conftest.$ac_ext <<_ACEOF
27964 /* confdefs.h. */
27965 _ACEOF
27966 cat confdefs.h >>conftest.$ac_ext
27967 cat >>conftest.$ac_ext <<_ACEOF
27968 /* end confdefs.h. */
27969 #include <gtk/gtk.h>
27970
27971 int
27972 main ()
27973 {
27974 #ifndef gtk_icon_size_lookup
27975 (void) gtk_icon_size_lookup;
27976 #endif
27977
27978 ;
27979 return 0;
27980 }
27981 _ACEOF
27982 rm -f conftest.$ac_objext
27983 if { (ac_try="$ac_compile"
27984 case "(($ac_try" in
27985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27986 *) ac_try_echo=$ac_try;;
27987 esac
27988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27989 (eval "$ac_compile") 2>conftest.er1
27990 ac_status=$?
27991 grep -v '^ *+' conftest.er1 >conftest.err
27992 rm -f conftest.er1
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } && {
27996 test -z "$ac_c_werror_flag" ||
27997 test ! -s conftest.err
27998 } && test -s conftest.$ac_objext; then
27999 ac_cv_have_decl_gtk_icon_size_lookup=yes
28000 else
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28003
28004 ac_cv_have_decl_gtk_icon_size_lookup=no
28005 fi
28006
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28008 fi
28009 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28010 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28011 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28012
28013 cat >>confdefs.h <<_ACEOF
28014 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28015 _ACEOF
28016
28017
28018 else
28019 cat >>confdefs.h <<_ACEOF
28020 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28021 _ACEOF
28022
28023 cat >>confdefs.h <<\_ACEOF
28024 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28025 _ACEOF
28026
28027 fi
28028
28029
28030
28031
28032 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28033 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28034 cat >conftest.$ac_ext <<_ACEOF
28035 /* confdefs.h. */
28036 _ACEOF
28037 cat confdefs.h >>conftest.$ac_ext
28038 cat >>conftest.$ac_ext <<_ACEOF
28039 /* end confdefs.h. */
28040
28041 #include <gtk/gtk.h>
28042
28043 int
28044 main ()
28045 {
28046
28047 #if !GTK_CHECK_VERSION(2,10,0)
28048 Not GTK+ 2.10
28049 #endif
28050
28051 ;
28052 return 0;
28053 }
28054 _ACEOF
28055 rm -f conftest.$ac_objext
28056 if { (ac_try="$ac_compile"
28057 case "(($ac_try" in
28058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28059 *) ac_try_echo=$ac_try;;
28060 esac
28061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28062 (eval "$ac_compile") 2>conftest.er1
28063 ac_status=$?
28064 grep -v '^ *+' conftest.er1 >conftest.err
28065 rm -f conftest.er1
28066 cat conftest.err >&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } && {
28069 test -z "$ac_c_werror_flag" ||
28070 test ! -s conftest.err
28071 } && test -s conftest.$ac_objext; then
28072
28073 cat >>confdefs.h <<\_ACEOF
28074 #define __WXGTK210__ 1
28075 _ACEOF
28076
28077 cat >>confdefs.h <<\_ACEOF
28078 #define __WXGTK26__ 1
28079 _ACEOF
28080
28081 cat >>confdefs.h <<\_ACEOF
28082 #define __WXGTK24__ 1
28083 _ACEOF
28084
28085 { echo "$as_me:$LINENO: result: yes" >&5
28086 echo "${ECHO_T}yes" >&6; }
28087 ac_wxgtk210=1
28088
28089 else
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28092
28093
28094 { echo "$as_me:$LINENO: result: no" >&5
28095 echo "${ECHO_T}no" >&6; }
28096 ac_wxgtk210=0
28097
28098 fi
28099
28100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28101
28102 if test "$ac_wxgtk210" = 0; then
28103 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28104 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28105 cat >conftest.$ac_ext <<_ACEOF
28106 /* confdefs.h. */
28107 _ACEOF
28108 cat confdefs.h >>conftest.$ac_ext
28109 cat >>conftest.$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28111
28112 #include <gtk/gtk.h>
28113
28114 int
28115 main ()
28116 {
28117
28118 #if !GTK_CHECK_VERSION(2,6,0)
28119 Not GTK+ 2.6
28120 #endif
28121
28122 ;
28123 return 0;
28124 }
28125 _ACEOF
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130 *) ac_try_echo=$ac_try;;
28131 esac
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_compile") 2>conftest.er1
28134 ac_status=$?
28135 grep -v '^ *+' conftest.er1 >conftest.err
28136 rm -f conftest.er1
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } && {
28140 test -z "$ac_c_werror_flag" ||
28141 test ! -s conftest.err
28142 } && test -s conftest.$ac_objext; then
28143
28144 cat >>confdefs.h <<\_ACEOF
28145 #define __WXGTK26__ 1
28146 _ACEOF
28147
28148 cat >>confdefs.h <<\_ACEOF
28149 #define __WXGTK24__ 1
28150 _ACEOF
28151
28152 { echo "$as_me:$LINENO: result: yes" >&5
28153 echo "${ECHO_T}yes" >&6; }
28154 ac_wxgtk26=1
28155
28156 else
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.$ac_ext >&5
28159
28160
28161 { echo "$as_me:$LINENO: result: no" >&5
28162 echo "${ECHO_T}no" >&6; }
28163 ac_wxgtk26=0
28164
28165 fi
28166
28167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28168 fi
28169
28170 if test "$ac_wxgtk26" = 0; then
28171 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28172 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28173 cat >conftest.$ac_ext <<_ACEOF
28174 /* confdefs.h. */
28175 _ACEOF
28176 cat confdefs.h >>conftest.$ac_ext
28177 cat >>conftest.$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28179
28180 #include <gtk/gtk.h>
28181
28182 int
28183 main ()
28184 {
28185
28186 #if !GTK_CHECK_VERSION(2,4,0)
28187 Not GTK+ 2.4
28188 #endif
28189
28190 ;
28191 return 0;
28192 }
28193 _ACEOF
28194 rm -f conftest.$ac_objext
28195 if { (ac_try="$ac_compile"
28196 case "(($ac_try" in
28197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28198 *) ac_try_echo=$ac_try;;
28199 esac
28200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28201 (eval "$ac_compile") 2>conftest.er1
28202 ac_status=$?
28203 grep -v '^ *+' conftest.er1 >conftest.err
28204 rm -f conftest.er1
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } && {
28208 test -z "$ac_c_werror_flag" ||
28209 test ! -s conftest.err
28210 } && test -s conftest.$ac_objext; then
28211
28212 cat >>confdefs.h <<\_ACEOF
28213 #define __WXGTK24__ 1
28214 _ACEOF
28215
28216 { echo "$as_me:$LINENO: result: yes" >&5
28217 echo "${ECHO_T}yes" >&6; }
28218
28219 else
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28222
28223
28224 { echo "$as_me:$LINENO: result: no" >&5
28225 echo "${ECHO_T}no" >&6; }
28226
28227 fi
28228
28229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28230 fi
28231
28232 CFLAGS="$save_CFLAGS"
28233 LIBS="$save_LIBS"
28234 else
28235 if test "$wxUSE_UNICODE" = "yes"; then
28236 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28237 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28238 wxUSE_UNICODE=no
28239 fi
28240
28241 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28242 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28243 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28244 echo $ECHO_N "(cached) $ECHO_C" >&6
28245 else
28246 ac_check_lib_save_LIBS=$LIBS
28247 LIBS="-lgdk $LIBS"
28248 cat >conftest.$ac_ext <<_ACEOF
28249 /* confdefs.h. */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254
28255 /* Override any GCC internal prototype to avoid an error.
28256 Use char because int might match the return type of a GCC
28257 builtin and then its argument prototype would still apply. */
28258 #ifdef __cplusplus
28259 extern "C"
28260 #endif
28261 char gdk_im_open ();
28262 int
28263 main ()
28264 {
28265 return gdk_im_open ();
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (ac_try="$ac_link"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28275 esac
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_link") 2>conftest.er1
28278 ac_status=$?
28279 grep -v '^ *+' conftest.er1 >conftest.err
28280 rm -f conftest.er1
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest$ac_exeext &&
28287 $as_test_x conftest$ac_exeext; then
28288 ac_cv_lib_gdk_gdk_im_open=yes
28289 else
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.$ac_ext >&5
28292
28293 ac_cv_lib_gdk_gdk_im_open=no
28294 fi
28295
28296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28297 conftest$ac_exeext conftest.$ac_ext
28298 LIBS=$ac_check_lib_save_LIBS
28299 fi
28300 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28301 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28302 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28303 cat >>confdefs.h <<\_ACEOF
28304 #define HAVE_XIM 1
28305 _ACEOF
28306
28307 fi
28308
28309
28310 if test "$USE_DARWIN" != 1; then
28311
28312 for ac_func in poll
28313 do
28314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28315 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28317 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28319 else
28320 cat >conftest.$ac_ext <<_ACEOF
28321 /* confdefs.h. */
28322 _ACEOF
28323 cat confdefs.h >>conftest.$ac_ext
28324 cat >>conftest.$ac_ext <<_ACEOF
28325 /* end confdefs.h. */
28326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28328 #define $ac_func innocuous_$ac_func
28329
28330 /* System header to define __stub macros and hopefully few prototypes,
28331 which can conflict with char $ac_func (); below.
28332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28333 <limits.h> exists even on freestanding compilers. */
28334
28335 #ifdef __STDC__
28336 # include <limits.h>
28337 #else
28338 # include <assert.h>
28339 #endif
28340
28341 #undef $ac_func
28342
28343 /* Override any GCC internal prototype to avoid an error.
28344 Use char because int might match the return type of a GCC
28345 builtin and then its argument prototype would still apply. */
28346 #ifdef __cplusplus
28347 extern "C"
28348 #endif
28349 char $ac_func ();
28350 /* The GNU C library defines this for functions which it implements
28351 to always fail with ENOSYS. Some functions are actually named
28352 something starting with __ and the normal name is an alias. */
28353 #if defined __stub_$ac_func || defined __stub___$ac_func
28354 choke me
28355 #endif
28356
28357 int
28358 main ()
28359 {
28360 return $ac_func ();
28361 ;
28362 return 0;
28363 }
28364 _ACEOF
28365 rm -f conftest.$ac_objext conftest$ac_exeext
28366 if { (ac_try="$ac_link"
28367 case "(($ac_try" in
28368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28369 *) ac_try_echo=$ac_try;;
28370 esac
28371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28372 (eval "$ac_link") 2>conftest.er1
28373 ac_status=$?
28374 grep -v '^ *+' conftest.er1 >conftest.err
28375 rm -f conftest.er1
28376 cat conftest.err >&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); } && {
28379 test -z "$ac_c_werror_flag" ||
28380 test ! -s conftest.err
28381 } && test -s conftest$ac_exeext &&
28382 $as_test_x conftest$ac_exeext; then
28383 eval "$as_ac_var=yes"
28384 else
28385 echo "$as_me: failed program was:" >&5
28386 sed 's/^/| /' conftest.$ac_ext >&5
28387
28388 eval "$as_ac_var=no"
28389 fi
28390
28391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28392 conftest$ac_exeext conftest.$ac_ext
28393 fi
28394 ac_res=`eval echo '${'$as_ac_var'}'`
28395 { echo "$as_me:$LINENO: result: $ac_res" >&5
28396 echo "${ECHO_T}$ac_res" >&6; }
28397 if test `eval echo '${'$as_ac_var'}'` = yes; then
28398 cat >>confdefs.h <<_ACEOF
28399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28400 _ACEOF
28401
28402 fi
28403 done
28404
28405 fi
28406 fi
28407
28408 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28409 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28410
28411 AFMINSTALL=afminstall
28412 TOOLKIT=GTK
28413 GUIDIST=GTK_DIST
28414
28415 if test "$wxUSE_GPE" = "yes"; then
28416 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28417 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28418
28419 ac_find_libraries=
28420 for ac_dir in $SEARCH_LIB;
28421 do
28422 for ac_extension in a so sl dylib dll.a; do
28423 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28424 ac_find_libraries=$ac_dir
28425 break 2
28426 fi
28427 done
28428 done
28429
28430 if test "$ac_find_libraries" != "" ; then
28431
28432 if test "$ac_find_libraries" = "default location"; then
28433 ac_path_to_link=""
28434 else
28435 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28436 result=$?
28437 if test $result = 0; then
28438 ac_path_to_link=""
28439 else
28440 ac_path_to_link=" -L$ac_find_libraries"
28441 fi
28442 fi
28443
28444 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28445 WXGPE=1
28446 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28447 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28448 else
28449 { echo "$as_me:$LINENO: result: not found" >&5
28450 echo "${ECHO_T}not found" >&6; }
28451 fi
28452
28453 fi
28454 fi
28455
28456 if test "$wxUSE_MGL" = 1; then
28457 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28458 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28459 if test "x$MGL_ROOT" = x ; then
28460 { echo "$as_me:$LINENO: result: not found" >&5
28461 echo "${ECHO_T}not found" >&6; }
28462 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28463 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28464 { (exit 1); exit 1; }; }
28465 else
28466 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28467 echo "${ECHO_T}$MGL_ROOT" >&6; }
28468 fi
28469
28470 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28471 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28472 case "${host}" in
28473 *-*-linux* )
28474 if test "x$wxUSE_SHARED" = xyes ; then
28475 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28476 else
28477 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28478 fi
28479 ;;
28480 *-pc-msdosdjgpp )
28481 mgl_os_candidates="dos32/dj2"
28482 ;;
28483 *)
28484 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28485 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28486 { (exit 1); exit 1; }; }
28487 esac
28488
28489 mgl_lib_type=""
28490 mgl_os=""
28491
28492 for mgl_os_i in $mgl_os_candidates ; do
28493 if test "x$mgl_os" = x ; then
28494 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28495 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28496 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28497 mgl_lib_type=debug
28498 mgl_os=$mgl_os_i
28499 fi
28500 fi
28501 if test "x$mgl_lib_type" = x ; then
28502 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28503 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28504 mgl_lib_type=release
28505 mgl_os=$mgl_os_i
28506 fi
28507 fi
28508 fi
28509 done
28510
28511 if test "x$mgl_os" = x ; then
28512 { echo "$as_me:$LINENO: result: not found" >&5
28513 echo "${ECHO_T}not found" >&6; }
28514 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28515 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28516 { (exit 1); exit 1; }; }
28517 fi
28518 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28519 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28520
28521 wxUSE_UNIVERSAL="yes"
28522
28523 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28524 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28525
28526 AFMINSTALL=afminstall
28527 TOOLKIT=MGL
28528 GUIDIST=MGL_DIST
28529 fi
28530
28531 if test "$wxUSE_DFB" = 1; then
28532
28533
28534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28535 if test -n "$ac_tool_prefix"; then
28536 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28540 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28542 else
28543 case $PKG_CONFIG in
28544 [\\/]* | ?:[\\/]*)
28545 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28546 ;;
28547 *)
28548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28549 for as_dir in $PATH
28550 do
28551 IFS=$as_save_IFS
28552 test -z "$as_dir" && as_dir=.
28553 for ac_exec_ext in '' $ac_executable_extensions; do
28554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28555 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28557 break 2
28558 fi
28559 done
28560 done
28561 IFS=$as_save_IFS
28562
28563 ;;
28564 esac
28565 fi
28566 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28567 if test -n "$PKG_CONFIG"; then
28568 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28569 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28570 else
28571 { echo "$as_me:$LINENO: result: no" >&5
28572 echo "${ECHO_T}no" >&6; }
28573 fi
28574
28575
28576 fi
28577 if test -z "$ac_cv_path_PKG_CONFIG"; then
28578 ac_pt_PKG_CONFIG=$PKG_CONFIG
28579 # Extract the first word of "pkg-config", so it can be a program name with args.
28580 set dummy pkg-config; ac_word=$2
28581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28583 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 else
28586 case $ac_pt_PKG_CONFIG in
28587 [\\/]* | ?:[\\/]*)
28588 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28589 ;;
28590 *)
28591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28592 for as_dir in $PATH
28593 do
28594 IFS=$as_save_IFS
28595 test -z "$as_dir" && as_dir=.
28596 for ac_exec_ext in '' $ac_executable_extensions; do
28597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28598 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28600 break 2
28601 fi
28602 done
28603 done
28604 IFS=$as_save_IFS
28605
28606 ;;
28607 esac
28608 fi
28609 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28610 if test -n "$ac_pt_PKG_CONFIG"; then
28611 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28612 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28613 else
28614 { echo "$as_me:$LINENO: result: no" >&5
28615 echo "${ECHO_T}no" >&6; }
28616 fi
28617
28618 if test "x$ac_pt_PKG_CONFIG" = x; then
28619 PKG_CONFIG=""
28620 else
28621 case $cross_compiling:$ac_tool_warned in
28622 yes:)
28623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28624 whose name does not start with the host triplet. If you think this
28625 configuration is useful to you, please write to autoconf@gnu.org." >&5
28626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28627 whose name does not start with the host triplet. If you think this
28628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28629 ac_tool_warned=yes ;;
28630 esac
28631 PKG_CONFIG=$ac_pt_PKG_CONFIG
28632 fi
28633 else
28634 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28635 fi
28636
28637 fi
28638 if test -n "$PKG_CONFIG"; then
28639 _pkg_min_version=0.9.0
28640 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28641 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28642 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28643 { echo "$as_me:$LINENO: result: yes" >&5
28644 echo "${ECHO_T}yes" >&6; }
28645 else
28646 { echo "$as_me:$LINENO: result: no" >&5
28647 echo "${ECHO_T}no" >&6; }
28648 PKG_CONFIG=""
28649 fi
28650
28651 fi
28652
28653
28654 pkg_failed=no
28655 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28656 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28657
28658 if test -n "$PKG_CONFIG"; then
28659 if test -n "$DIRECTFB_CFLAGS"; then
28660 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28661 else
28662 if test -n "$PKG_CONFIG" && \
28663 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28664 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28665 ac_status=$?
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; then
28668 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28669 else
28670 pkg_failed=yes
28671 fi
28672 fi
28673 else
28674 pkg_failed=untried
28675 fi
28676 if test -n "$PKG_CONFIG"; then
28677 if test -n "$DIRECTFB_LIBS"; then
28678 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28679 else
28680 if test -n "$PKG_CONFIG" && \
28681 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28682 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; then
28686 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28687 else
28688 pkg_failed=yes
28689 fi
28690 fi
28691 else
28692 pkg_failed=untried
28693 fi
28694
28695
28696
28697 if test $pkg_failed = yes; then
28698
28699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28700 _pkg_short_errors_supported=yes
28701 else
28702 _pkg_short_errors_supported=no
28703 fi
28704 if test $_pkg_short_errors_supported = yes; then
28705 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28706 else
28707 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28708 fi
28709 # Put the nasty error message in config.log where it belongs
28710 echo "$DIRECTFB_PKG_ERRORS" >&5
28711
28712
28713 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28714 echo "$as_me: error: DirectFB not found." >&2;}
28715 { (exit 1); exit 1; }; }
28716
28717
28718 elif test $pkg_failed = untried; then
28719
28720 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28721 echo "$as_me: error: DirectFB not found." >&2;}
28722 { (exit 1); exit 1; }; }
28723
28724
28725 else
28726 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28727 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28728 { echo "$as_me:$LINENO: result: yes" >&5
28729 echo "${ECHO_T}yes" >&6; }
28730
28731 wxUSE_UNIVERSAL="yes"
28732 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28733 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28734 TOOLKIT=DFB
28735 GUIDIST=DFB_DIST
28736
28737 fi
28738 fi
28739
28740 if test "$wxUSE_MICROWIN" = 1; then
28741 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28742 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28743 if test "x$MICROWINDOWS" = x ; then
28744 { echo "$as_me:$LINENO: result: not found" >&5
28745 echo "${ECHO_T}not found" >&6; }
28746 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28747 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28748 { (exit 1); exit 1; }; }
28749 else
28750 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28751 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28752 fi
28753
28754 if test -f $MICROWINDOWS/lib/libmwin.a; then
28755 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28756 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28757 else
28758 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28759 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28760 { (exit 1); exit 1; }; }
28761 fi
28762
28763 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28764 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28765
28766 wxUSE_UNIVERSAL="yes"
28767
28768 AFMINSTALL=afminstall
28769 TOOLKIT=MICROWIN
28770 GUIDIST=MICROWIN_DIST
28771
28772 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28773 fi
28774
28775 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28776 { echo "$as_me:$LINENO: checking for X" >&5
28777 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28778
28779
28780 # Check whether --with-x was given.
28781 if test "${with_x+set}" = set; then
28782 withval=$with_x;
28783 fi
28784
28785 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28786 if test "x$with_x" = xno; then
28787 # The user explicitly disabled X.
28788 have_x=disabled
28789 else
28790 case $x_includes,$x_libraries in #(
28791 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28792 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28793 { (exit 1); exit 1; }; };; #(
28794 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28795 echo $ECHO_N "(cached) $ECHO_C" >&6
28796 else
28797 # One or both of the vars are not set, and there is no cached value.
28798 ac_x_includes=no ac_x_libraries=no
28799 rm -f -r conftest.dir
28800 if mkdir conftest.dir; then
28801 cd conftest.dir
28802 cat >Imakefile <<'_ACEOF'
28803 incroot:
28804 @echo incroot='${INCROOT}'
28805 usrlibdir:
28806 @echo usrlibdir='${USRLIBDIR}'
28807 libdir:
28808 @echo libdir='${LIBDIR}'
28809 _ACEOF
28810 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28811 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28812 for ac_var in incroot usrlibdir libdir; do
28813 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28814 done
28815 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28816 for ac_extension in a so sl; do
28817 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28818 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28819 ac_im_usrlibdir=$ac_im_libdir; break
28820 fi
28821 done
28822 # Screen out bogus values from the imake configuration. They are
28823 # bogus both because they are the default anyway, and because
28824 # using them would break gcc on systems where it needs fixed includes.
28825 case $ac_im_incroot in
28826 /usr/include) ac_x_includes= ;;
28827 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28828 esac
28829 case $ac_im_usrlibdir in
28830 /usr/lib | /lib) ;;
28831 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28832 esac
28833 fi
28834 cd ..
28835 rm -f -r conftest.dir
28836 fi
28837
28838 # Standard set of common directories for X headers.
28839 # Check X11 before X11Rn because it is often a symlink to the current release.
28840 ac_x_header_dirs='
28841 /usr/X11/include
28842 /usr/X11R6/include
28843 /usr/X11R5/include
28844 /usr/X11R4/include
28845
28846 /usr/include/X11
28847 /usr/include/X11R6
28848 /usr/include/X11R5
28849 /usr/include/X11R4
28850
28851 /usr/local/X11/include
28852 /usr/local/X11R6/include
28853 /usr/local/X11R5/include
28854 /usr/local/X11R4/include
28855
28856 /usr/local/include/X11
28857 /usr/local/include/X11R6
28858 /usr/local/include/X11R5
28859 /usr/local/include/X11R4
28860
28861 /usr/X386/include
28862 /usr/x386/include
28863 /usr/XFree86/include/X11
28864
28865 /usr/include
28866 /usr/local/include
28867 /usr/unsupported/include
28868 /usr/athena/include
28869 /usr/local/x11r5/include
28870 /usr/lpp/Xamples/include
28871
28872 /usr/openwin/include
28873 /usr/openwin/share/include'
28874
28875 if test "$ac_x_includes" = no; then
28876 # Guess where to find include files, by looking for Xlib.h.
28877 # First, try using that file with no special directory specified.
28878 cat >conftest.$ac_ext <<_ACEOF
28879 /* confdefs.h. */
28880 _ACEOF
28881 cat confdefs.h >>conftest.$ac_ext
28882 cat >>conftest.$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28884 #include <X11/Xlib.h>
28885 _ACEOF
28886 if { (ac_try="$ac_cpp conftest.$ac_ext"
28887 case "(($ac_try" in
28888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28889 *) ac_try_echo=$ac_try;;
28890 esac
28891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28893 ac_status=$?
28894 grep -v '^ *+' conftest.er1 >conftest.err
28895 rm -f conftest.er1
28896 cat conftest.err >&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } >/dev/null && {
28899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28900 test ! -s conftest.err
28901 }; then
28902 # We can compile using X headers with no special include directory.
28903 ac_x_includes=
28904 else
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.$ac_ext >&5
28907
28908 for ac_dir in $ac_x_header_dirs; do
28909 if test -r "$ac_dir/X11/Xlib.h"; then
28910 ac_x_includes=$ac_dir
28911 break
28912 fi
28913 done
28914 fi
28915
28916 rm -f conftest.err conftest.$ac_ext
28917 fi # $ac_x_includes = no
28918
28919 if test "$ac_x_libraries" = no; then
28920 # Check for the libraries.
28921 # See if we find them without any special options.
28922 # Don't add to $LIBS permanently.
28923 ac_save_LIBS=$LIBS
28924 LIBS="-lX11 $LIBS"
28925 cat >conftest.$ac_ext <<_ACEOF
28926 /* confdefs.h. */
28927 _ACEOF
28928 cat confdefs.h >>conftest.$ac_ext
28929 cat >>conftest.$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931 #include <X11/Xlib.h>
28932 int
28933 main ()
28934 {
28935 XrmInitialize ()
28936 ;
28937 return 0;
28938 }
28939 _ACEOF
28940 rm -f conftest.$ac_objext conftest$ac_exeext
28941 if { (ac_try="$ac_link"
28942 case "(($ac_try" in
28943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28944 *) ac_try_echo=$ac_try;;
28945 esac
28946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28947 (eval "$ac_link") 2>conftest.er1
28948 ac_status=$?
28949 grep -v '^ *+' conftest.er1 >conftest.err
28950 rm -f conftest.er1
28951 cat conftest.err >&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); } && {
28954 test -z "$ac_c_werror_flag" ||
28955 test ! -s conftest.err
28956 } && test -s conftest$ac_exeext &&
28957 $as_test_x conftest$ac_exeext; then
28958 LIBS=$ac_save_LIBS
28959 # We can link X programs with no special library path.
28960 ac_x_libraries=
28961 else
28962 echo "$as_me: failed program was:" >&5
28963 sed 's/^/| /' conftest.$ac_ext >&5
28964
28965 LIBS=$ac_save_LIBS
28966 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28967 do
28968 # Don't even attempt the hair of trying to link an X program!
28969 for ac_extension in a so sl; do
28970 if test -r "$ac_dir/libX11.$ac_extension"; then
28971 ac_x_libraries=$ac_dir
28972 break 2
28973 fi
28974 done
28975 done
28976 fi
28977
28978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28979 conftest$ac_exeext conftest.$ac_ext
28980 fi # $ac_x_libraries = no
28981
28982 case $ac_x_includes,$ac_x_libraries in #(
28983 no,* | *,no | *\'*)
28984 # Didn't find X, or a directory has "'" in its name.
28985 ac_cv_have_x="have_x=no";; #(
28986 *)
28987 # Record where we found X for the cache.
28988 ac_cv_have_x="have_x=yes\
28989 ac_x_includes='$ac_x_includes'\
28990 ac_x_libraries='$ac_x_libraries'"
28991 esac
28992 fi
28993 ;; #(
28994 *) have_x=yes;;
28995 esac
28996 eval "$ac_cv_have_x"
28997 fi # $with_x != no
28998
28999 if test "$have_x" != yes; then
29000 { echo "$as_me:$LINENO: result: $have_x" >&5
29001 echo "${ECHO_T}$have_x" >&6; }
29002 no_x=yes
29003 else
29004 # If each of the values was on the command line, it overrides each guess.
29005 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29006 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29007 # Update the cache value to reflect the command line values.
29008 ac_cv_have_x="have_x=yes\
29009 ac_x_includes='$x_includes'\
29010 ac_x_libraries='$x_libraries'"
29011 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29012 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29013 fi
29014
29015 if test "$no_x" = yes; then
29016 # Not all programs may use this symbol, but it does not hurt to define it.
29017
29018 cat >>confdefs.h <<\_ACEOF
29019 #define X_DISPLAY_MISSING 1
29020 _ACEOF
29021
29022 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29023 else
29024 if test -n "$x_includes"; then
29025 X_CFLAGS="$X_CFLAGS -I$x_includes"
29026 fi
29027
29028 # It would also be nice to do this for all -L options, not just this one.
29029 if test -n "$x_libraries"; then
29030 X_LIBS="$X_LIBS -L$x_libraries"
29031 # For Solaris; some versions of Sun CC require a space after -R and
29032 # others require no space. Words are not sufficient . . . .
29033 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29034 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29035 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29036 ac_xsave_c_werror_flag=$ac_c_werror_flag
29037 ac_c_werror_flag=yes
29038 cat >conftest.$ac_ext <<_ACEOF
29039 /* confdefs.h. */
29040 _ACEOF
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29044
29045 int
29046 main ()
29047 {
29048
29049 ;
29050 return 0;
29051 }
29052 _ACEOF
29053 rm -f conftest.$ac_objext conftest$ac_exeext
29054 if { (ac_try="$ac_link"
29055 case "(($ac_try" in
29056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29057 *) ac_try_echo=$ac_try;;
29058 esac
29059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29060 (eval "$ac_link") 2>conftest.er1
29061 ac_status=$?
29062 grep -v '^ *+' conftest.er1 >conftest.err
29063 rm -f conftest.er1
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } && {
29067 test -z "$ac_c_werror_flag" ||
29068 test ! -s conftest.err
29069 } && test -s conftest$ac_exeext &&
29070 $as_test_x conftest$ac_exeext; then
29071 { echo "$as_me:$LINENO: result: no" >&5
29072 echo "${ECHO_T}no" >&6; }
29073 X_LIBS="$X_LIBS -R$x_libraries"
29074 else
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.$ac_ext >&5
29077
29078 LIBS="$ac_xsave_LIBS -R $x_libraries"
29079 cat >conftest.$ac_ext <<_ACEOF
29080 /* confdefs.h. */
29081 _ACEOF
29082 cat confdefs.h >>conftest.$ac_ext
29083 cat >>conftest.$ac_ext <<_ACEOF
29084 /* end confdefs.h. */
29085
29086 int
29087 main ()
29088 {
29089
29090 ;
29091 return 0;
29092 }
29093 _ACEOF
29094 rm -f conftest.$ac_objext conftest$ac_exeext
29095 if { (ac_try="$ac_link"
29096 case "(($ac_try" in
29097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29098 *) ac_try_echo=$ac_try;;
29099 esac
29100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29101 (eval "$ac_link") 2>conftest.er1
29102 ac_status=$?
29103 grep -v '^ *+' conftest.er1 >conftest.err
29104 rm -f conftest.er1
29105 cat conftest.err >&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); } && {
29108 test -z "$ac_c_werror_flag" ||
29109 test ! -s conftest.err
29110 } && test -s conftest$ac_exeext &&
29111 $as_test_x conftest$ac_exeext; then
29112 { echo "$as_me:$LINENO: result: yes" >&5
29113 echo "${ECHO_T}yes" >&6; }
29114 X_LIBS="$X_LIBS -R $x_libraries"
29115 else
29116 echo "$as_me: failed program was:" >&5
29117 sed 's/^/| /' conftest.$ac_ext >&5
29118
29119 { echo "$as_me:$LINENO: result: neither works" >&5
29120 echo "${ECHO_T}neither works" >&6; }
29121 fi
29122
29123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29124 conftest$ac_exeext conftest.$ac_ext
29125 fi
29126
29127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29128 conftest$ac_exeext conftest.$ac_ext
29129 ac_c_werror_flag=$ac_xsave_c_werror_flag
29130 LIBS=$ac_xsave_LIBS
29131 fi
29132
29133 # Check for system-dependent libraries X programs must link with.
29134 # Do this before checking for the system-independent R6 libraries
29135 # (-lICE), since we may need -lsocket or whatever for X linking.
29136
29137 if test "$ISC" = yes; then
29138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29139 else
29140 # Martyn Johnson says this is needed for Ultrix, if the X
29141 # libraries were built with DECnet support. And Karl Berry says
29142 # the Alpha needs dnet_stub (dnet does not exist).
29143 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29144 cat >conftest.$ac_ext <<_ACEOF
29145 /* confdefs.h. */
29146 _ACEOF
29147 cat confdefs.h >>conftest.$ac_ext
29148 cat >>conftest.$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29150
29151 /* Override any GCC internal prototype to avoid an error.
29152 Use char because int might match the return type of a GCC
29153 builtin and then its argument prototype would still apply. */
29154 #ifdef __cplusplus
29155 extern "C"
29156 #endif
29157 char XOpenDisplay ();
29158 int
29159 main ()
29160 {
29161 return XOpenDisplay ();
29162 ;
29163 return 0;
29164 }
29165 _ACEOF
29166 rm -f conftest.$ac_objext conftest$ac_exeext
29167 if { (ac_try="$ac_link"
29168 case "(($ac_try" in
29169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29170 *) ac_try_echo=$ac_try;;
29171 esac
29172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29173 (eval "$ac_link") 2>conftest.er1
29174 ac_status=$?
29175 grep -v '^ *+' conftest.er1 >conftest.err
29176 rm -f conftest.er1
29177 cat conftest.err >&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); } && {
29180 test -z "$ac_c_werror_flag" ||
29181 test ! -s conftest.err
29182 } && test -s conftest$ac_exeext &&
29183 $as_test_x conftest$ac_exeext; then
29184 :
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29188
29189 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29190 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29191 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29192 echo $ECHO_N "(cached) $ECHO_C" >&6
29193 else
29194 ac_check_lib_save_LIBS=$LIBS
29195 LIBS="-ldnet $LIBS"
29196 cat >conftest.$ac_ext <<_ACEOF
29197 /* confdefs.h. */
29198 _ACEOF
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29202
29203 /* Override any GCC internal prototype to avoid an error.
29204 Use char because int might match the return type of a GCC
29205 builtin and then its argument prototype would still apply. */
29206 #ifdef __cplusplus
29207 extern "C"
29208 #endif
29209 char dnet_ntoa ();
29210 int
29211 main ()
29212 {
29213 return dnet_ntoa ();
29214 ;
29215 return 0;
29216 }
29217 _ACEOF
29218 rm -f conftest.$ac_objext conftest$ac_exeext
29219 if { (ac_try="$ac_link"
29220 case "(($ac_try" in
29221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29222 *) ac_try_echo=$ac_try;;
29223 esac
29224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29225 (eval "$ac_link") 2>conftest.er1
29226 ac_status=$?
29227 grep -v '^ *+' conftest.er1 >conftest.err
29228 rm -f conftest.er1
29229 cat conftest.err >&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); } && {
29232 test -z "$ac_c_werror_flag" ||
29233 test ! -s conftest.err
29234 } && test -s conftest$ac_exeext &&
29235 $as_test_x conftest$ac_exeext; then
29236 ac_cv_lib_dnet_dnet_ntoa=yes
29237 else
29238 echo "$as_me: failed program was:" >&5
29239 sed 's/^/| /' conftest.$ac_ext >&5
29240
29241 ac_cv_lib_dnet_dnet_ntoa=no
29242 fi
29243
29244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29245 conftest$ac_exeext conftest.$ac_ext
29246 LIBS=$ac_check_lib_save_LIBS
29247 fi
29248 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29249 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29250 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29251 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29252 fi
29253
29254 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29255 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29256 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29257 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 else
29260 ac_check_lib_save_LIBS=$LIBS
29261 LIBS="-ldnet_stub $LIBS"
29262 cat >conftest.$ac_ext <<_ACEOF
29263 /* confdefs.h. */
29264 _ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268
29269 /* Override any GCC internal prototype to avoid an error.
29270 Use char because int might match the return type of a GCC
29271 builtin and then its argument prototype would still apply. */
29272 #ifdef __cplusplus
29273 extern "C"
29274 #endif
29275 char dnet_ntoa ();
29276 int
29277 main ()
29278 {
29279 return dnet_ntoa ();
29280 ;
29281 return 0;
29282 }
29283 _ACEOF
29284 rm -f conftest.$ac_objext conftest$ac_exeext
29285 if { (ac_try="$ac_link"
29286 case "(($ac_try" in
29287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29288 *) ac_try_echo=$ac_try;;
29289 esac
29290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29291 (eval "$ac_link") 2>conftest.er1
29292 ac_status=$?
29293 grep -v '^ *+' conftest.er1 >conftest.err
29294 rm -f conftest.er1
29295 cat conftest.err >&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } && {
29298 test -z "$ac_c_werror_flag" ||
29299 test ! -s conftest.err
29300 } && test -s conftest$ac_exeext &&
29301 $as_test_x conftest$ac_exeext; then
29302 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29303 else
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29306
29307 ac_cv_lib_dnet_stub_dnet_ntoa=no
29308 fi
29309
29310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29311 conftest$ac_exeext conftest.$ac_ext
29312 LIBS=$ac_check_lib_save_LIBS
29313 fi
29314 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29315 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29316 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29317 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29318 fi
29319
29320 fi
29321 fi
29322
29323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29324 conftest$ac_exeext conftest.$ac_ext
29325 LIBS="$ac_xsave_LIBS"
29326
29327 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29328 # to get the SysV transport functions.
29329 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29330 # needs -lnsl.
29331 # The nsl library prevents programs from opening the X display
29332 # on Irix 5.2, according to T.E. Dickey.
29333 # The functions gethostbyname, getservbyname, and inet_addr are
29334 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29335 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29336 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29337 if test "${ac_cv_func_gethostbyname+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 else
29340 cat >conftest.$ac_ext <<_ACEOF
29341 /* confdefs.h. */
29342 _ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29346 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29348 #define gethostbyname innocuous_gethostbyname
29349
29350 /* System header to define __stub macros and hopefully few prototypes,
29351 which can conflict with char gethostbyname (); below.
29352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29353 <limits.h> exists even on freestanding compilers. */
29354
29355 #ifdef __STDC__
29356 # include <limits.h>
29357 #else
29358 # include <assert.h>
29359 #endif
29360
29361 #undef gethostbyname
29362
29363 /* Override any GCC internal prototype to avoid an error.
29364 Use char because int might match the return type of a GCC
29365 builtin and then its argument prototype would still apply. */
29366 #ifdef __cplusplus
29367 extern "C"
29368 #endif
29369 char gethostbyname ();
29370 /* The GNU C library defines this for functions which it implements
29371 to always fail with ENOSYS. Some functions are actually named
29372 something starting with __ and the normal name is an alias. */
29373 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29374 choke me
29375 #endif
29376
29377 int
29378 main ()
29379 {
29380 return gethostbyname ();
29381 ;
29382 return 0;
29383 }
29384 _ACEOF
29385 rm -f conftest.$ac_objext conftest$ac_exeext
29386 if { (ac_try="$ac_link"
29387 case "(($ac_try" in
29388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29389 *) ac_try_echo=$ac_try;;
29390 esac
29391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29392 (eval "$ac_link") 2>conftest.er1
29393 ac_status=$?
29394 grep -v '^ *+' conftest.er1 >conftest.err
29395 rm -f conftest.er1
29396 cat conftest.err >&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } && {
29399 test -z "$ac_c_werror_flag" ||
29400 test ! -s conftest.err
29401 } && test -s conftest$ac_exeext &&
29402 $as_test_x conftest$ac_exeext; then
29403 ac_cv_func_gethostbyname=yes
29404 else
29405 echo "$as_me: failed program was:" >&5
29406 sed 's/^/| /' conftest.$ac_ext >&5
29407
29408 ac_cv_func_gethostbyname=no
29409 fi
29410
29411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29412 conftest$ac_exeext conftest.$ac_ext
29413 fi
29414 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29415 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29416
29417 if test $ac_cv_func_gethostbyname = no; then
29418 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29419 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29420 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29421 echo $ECHO_N "(cached) $ECHO_C" >&6
29422 else
29423 ac_check_lib_save_LIBS=$LIBS
29424 LIBS="-lnsl $LIBS"
29425 cat >conftest.$ac_ext <<_ACEOF
29426 /* confdefs.h. */
29427 _ACEOF
29428 cat confdefs.h >>conftest.$ac_ext
29429 cat >>conftest.$ac_ext <<_ACEOF
29430 /* end confdefs.h. */
29431
29432 /* Override any GCC internal prototype to avoid an error.
29433 Use char because int might match the return type of a GCC
29434 builtin and then its argument prototype would still apply. */
29435 #ifdef __cplusplus
29436 extern "C"
29437 #endif
29438 char gethostbyname ();
29439 int
29440 main ()
29441 {
29442 return gethostbyname ();
29443 ;
29444 return 0;
29445 }
29446 _ACEOF
29447 rm -f conftest.$ac_objext conftest$ac_exeext
29448 if { (ac_try="$ac_link"
29449 case "(($ac_try" in
29450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29451 *) ac_try_echo=$ac_try;;
29452 esac
29453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29454 (eval "$ac_link") 2>conftest.er1
29455 ac_status=$?
29456 grep -v '^ *+' conftest.er1 >conftest.err
29457 rm -f conftest.er1
29458 cat conftest.err >&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } && {
29461 test -z "$ac_c_werror_flag" ||
29462 test ! -s conftest.err
29463 } && test -s conftest$ac_exeext &&
29464 $as_test_x conftest$ac_exeext; then
29465 ac_cv_lib_nsl_gethostbyname=yes
29466 else
29467 echo "$as_me: failed program was:" >&5
29468 sed 's/^/| /' conftest.$ac_ext >&5
29469
29470 ac_cv_lib_nsl_gethostbyname=no
29471 fi
29472
29473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29474 conftest$ac_exeext conftest.$ac_ext
29475 LIBS=$ac_check_lib_save_LIBS
29476 fi
29477 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29478 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29479 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29481 fi
29482
29483 if test $ac_cv_lib_nsl_gethostbyname = no; then
29484 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29485 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29486 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29489 ac_check_lib_save_LIBS=$LIBS
29490 LIBS="-lbsd $LIBS"
29491 cat >conftest.$ac_ext <<_ACEOF
29492 /* confdefs.h. */
29493 _ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29497
29498 /* Override any GCC internal prototype to avoid an error.
29499 Use char because int might match the return type of a GCC
29500 builtin and then its argument prototype would still apply. */
29501 #ifdef __cplusplus
29502 extern "C"
29503 #endif
29504 char gethostbyname ();
29505 int
29506 main ()
29507 {
29508 return gethostbyname ();
29509 ;
29510 return 0;
29511 }
29512 _ACEOF
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (ac_try="$ac_link"
29515 case "(($ac_try" in
29516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517 *) ac_try_echo=$ac_try;;
29518 esac
29519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520 (eval "$ac_link") 2>conftest.er1
29521 ac_status=$?
29522 grep -v '^ *+' conftest.er1 >conftest.err
29523 rm -f conftest.er1
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } && {
29527 test -z "$ac_c_werror_flag" ||
29528 test ! -s conftest.err
29529 } && test -s conftest$ac_exeext &&
29530 $as_test_x conftest$ac_exeext; then
29531 ac_cv_lib_bsd_gethostbyname=yes
29532 else
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29535
29536 ac_cv_lib_bsd_gethostbyname=no
29537 fi
29538
29539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29540 conftest$ac_exeext conftest.$ac_ext
29541 LIBS=$ac_check_lib_save_LIBS
29542 fi
29543 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29544 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29545 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29546 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29547 fi
29548
29549 fi
29550 fi
29551
29552 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29553 # socket/setsockopt and other routines are undefined under SCO ODT
29554 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29555 # on later versions), says Simon Leinen: it contains gethostby*
29556 # variants that don't use the name server (or something). -lsocket
29557 # must be given before -lnsl if both are needed. We assume that
29558 # if connect needs -lnsl, so does gethostbyname.
29559 { echo "$as_me:$LINENO: checking for connect" >&5
29560 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29561 if test "${ac_cv_func_connect+set}" = set; then
29562 echo $ECHO_N "(cached) $ECHO_C" >&6
29563 else
29564 cat >conftest.$ac_ext <<_ACEOF
29565 /* confdefs.h. */
29566 _ACEOF
29567 cat confdefs.h >>conftest.$ac_ext
29568 cat >>conftest.$ac_ext <<_ACEOF
29569 /* end confdefs.h. */
29570 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29572 #define connect innocuous_connect
29573
29574 /* System header to define __stub macros and hopefully few prototypes,
29575 which can conflict with char connect (); below.
29576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29577 <limits.h> exists even on freestanding compilers. */
29578
29579 #ifdef __STDC__
29580 # include <limits.h>
29581 #else
29582 # include <assert.h>
29583 #endif
29584
29585 #undef connect
29586
29587 /* Override any GCC internal prototype to avoid an error.
29588 Use char because int might match the return type of a GCC
29589 builtin and then its argument prototype would still apply. */
29590 #ifdef __cplusplus
29591 extern "C"
29592 #endif
29593 char connect ();
29594 /* The GNU C library defines this for functions which it implements
29595 to always fail with ENOSYS. Some functions are actually named
29596 something starting with __ and the normal name is an alias. */
29597 #if defined __stub_connect || defined __stub___connect
29598 choke me
29599 #endif
29600
29601 int
29602 main ()
29603 {
29604 return connect ();
29605 ;
29606 return 0;
29607 }
29608 _ACEOF
29609 rm -f conftest.$ac_objext conftest$ac_exeext
29610 if { (ac_try="$ac_link"
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_link") 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_exeext &&
29626 $as_test_x conftest$ac_exeext; then
29627 ac_cv_func_connect=yes
29628 else
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29631
29632 ac_cv_func_connect=no
29633 fi
29634
29635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29636 conftest$ac_exeext conftest.$ac_ext
29637 fi
29638 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29639 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29640
29641 if test $ac_cv_func_connect = no; then
29642 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29643 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29644 if test "${ac_cv_lib_socket_connect+set}" = set; then
29645 echo $ECHO_N "(cached) $ECHO_C" >&6
29646 else
29647 ac_check_lib_save_LIBS=$LIBS
29648 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29649 cat >conftest.$ac_ext <<_ACEOF
29650 /* confdefs.h. */
29651 _ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29655
29656 /* Override any GCC internal prototype to avoid an error.
29657 Use char because int might match the return type of a GCC
29658 builtin and then its argument prototype would still apply. */
29659 #ifdef __cplusplus
29660 extern "C"
29661 #endif
29662 char connect ();
29663 int
29664 main ()
29665 {
29666 return connect ();
29667 ;
29668 return 0;
29669 }
29670 _ACEOF
29671 rm -f conftest.$ac_objext conftest$ac_exeext
29672 if { (ac_try="$ac_link"
29673 case "(($ac_try" in
29674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29675 *) ac_try_echo=$ac_try;;
29676 esac
29677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29678 (eval "$ac_link") 2>conftest.er1
29679 ac_status=$?
29680 grep -v '^ *+' conftest.er1 >conftest.err
29681 rm -f conftest.er1
29682 cat conftest.err >&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } && {
29685 test -z "$ac_c_werror_flag" ||
29686 test ! -s conftest.err
29687 } && test -s conftest$ac_exeext &&
29688 $as_test_x conftest$ac_exeext; then
29689 ac_cv_lib_socket_connect=yes
29690 else
29691 echo "$as_me: failed program was:" >&5
29692 sed 's/^/| /' conftest.$ac_ext >&5
29693
29694 ac_cv_lib_socket_connect=no
29695 fi
29696
29697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29698 conftest$ac_exeext conftest.$ac_ext
29699 LIBS=$ac_check_lib_save_LIBS
29700 fi
29701 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29702 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29703 if test $ac_cv_lib_socket_connect = yes; then
29704 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29705 fi
29706
29707 fi
29708
29709 # Guillermo Gomez says -lposix is necessary on A/UX.
29710 { echo "$as_me:$LINENO: checking for remove" >&5
29711 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29712 if test "${ac_cv_func_remove+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 else
29715 cat >conftest.$ac_ext <<_ACEOF
29716 /* confdefs.h. */
29717 _ACEOF
29718 cat confdefs.h >>conftest.$ac_ext
29719 cat >>conftest.$ac_ext <<_ACEOF
29720 /* end confdefs.h. */
29721 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29723 #define remove innocuous_remove
29724
29725 /* System header to define __stub macros and hopefully few prototypes,
29726 which can conflict with char remove (); below.
29727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29728 <limits.h> exists even on freestanding compilers. */
29729
29730 #ifdef __STDC__
29731 # include <limits.h>
29732 #else
29733 # include <assert.h>
29734 #endif
29735
29736 #undef remove
29737
29738 /* Override any GCC internal prototype to avoid an error.
29739 Use char because int might match the return type of a GCC
29740 builtin and then its argument prototype would still apply. */
29741 #ifdef __cplusplus
29742 extern "C"
29743 #endif
29744 char remove ();
29745 /* The GNU C library defines this for functions which it implements
29746 to always fail with ENOSYS. Some functions are actually named
29747 something starting with __ and the normal name is an alias. */
29748 #if defined __stub_remove || defined __stub___remove
29749 choke me
29750 #endif
29751
29752 int
29753 main ()
29754 {
29755 return remove ();
29756 ;
29757 return 0;
29758 }
29759 _ACEOF
29760 rm -f conftest.$ac_objext conftest$ac_exeext
29761 if { (ac_try="$ac_link"
29762 case "(($ac_try" in
29763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29764 *) ac_try_echo=$ac_try;;
29765 esac
29766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29767 (eval "$ac_link") 2>conftest.er1
29768 ac_status=$?
29769 grep -v '^ *+' conftest.er1 >conftest.err
29770 rm -f conftest.er1
29771 cat conftest.err >&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } && {
29774 test -z "$ac_c_werror_flag" ||
29775 test ! -s conftest.err
29776 } && test -s conftest$ac_exeext &&
29777 $as_test_x conftest$ac_exeext; then
29778 ac_cv_func_remove=yes
29779 else
29780 echo "$as_me: failed program was:" >&5
29781 sed 's/^/| /' conftest.$ac_ext >&5
29782
29783 ac_cv_func_remove=no
29784 fi
29785
29786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29787 conftest$ac_exeext conftest.$ac_ext
29788 fi
29789 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29790 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29791
29792 if test $ac_cv_func_remove = no; then
29793 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29794 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29795 if test "${ac_cv_lib_posix_remove+set}" = set; then
29796 echo $ECHO_N "(cached) $ECHO_C" >&6
29797 else
29798 ac_check_lib_save_LIBS=$LIBS
29799 LIBS="-lposix $LIBS"
29800 cat >conftest.$ac_ext <<_ACEOF
29801 /* confdefs.h. */
29802 _ACEOF
29803 cat confdefs.h >>conftest.$ac_ext
29804 cat >>conftest.$ac_ext <<_ACEOF
29805 /* end confdefs.h. */
29806
29807 /* Override any GCC internal prototype to avoid an error.
29808 Use char because int might match the return type of a GCC
29809 builtin and then its argument prototype would still apply. */
29810 #ifdef __cplusplus
29811 extern "C"
29812 #endif
29813 char remove ();
29814 int
29815 main ()
29816 {
29817 return remove ();
29818 ;
29819 return 0;
29820 }
29821 _ACEOF
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (ac_try="$ac_link"
29824 case "(($ac_try" in
29825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29826 *) ac_try_echo=$ac_try;;
29827 esac
29828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29829 (eval "$ac_link") 2>conftest.er1
29830 ac_status=$?
29831 grep -v '^ *+' conftest.er1 >conftest.err
29832 rm -f conftest.er1
29833 cat conftest.err >&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } && {
29836 test -z "$ac_c_werror_flag" ||
29837 test ! -s conftest.err
29838 } && test -s conftest$ac_exeext &&
29839 $as_test_x conftest$ac_exeext; then
29840 ac_cv_lib_posix_remove=yes
29841 else
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29844
29845 ac_cv_lib_posix_remove=no
29846 fi
29847
29848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29849 conftest$ac_exeext conftest.$ac_ext
29850 LIBS=$ac_check_lib_save_LIBS
29851 fi
29852 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29853 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29854 if test $ac_cv_lib_posix_remove = yes; then
29855 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29856 fi
29857
29858 fi
29859
29860 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29861 { echo "$as_me:$LINENO: checking for shmat" >&5
29862 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29863 if test "${ac_cv_func_shmat+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 else
29866 cat >conftest.$ac_ext <<_ACEOF
29867 /* confdefs.h. */
29868 _ACEOF
29869 cat confdefs.h >>conftest.$ac_ext
29870 cat >>conftest.$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29872 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29874 #define shmat innocuous_shmat
29875
29876 /* System header to define __stub macros and hopefully few prototypes,
29877 which can conflict with char shmat (); below.
29878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29879 <limits.h> exists even on freestanding compilers. */
29880
29881 #ifdef __STDC__
29882 # include <limits.h>
29883 #else
29884 # include <assert.h>
29885 #endif
29886
29887 #undef shmat
29888
29889 /* Override any GCC internal prototype to avoid an error.
29890 Use char because int might match the return type of a GCC
29891 builtin and then its argument prototype would still apply. */
29892 #ifdef __cplusplus
29893 extern "C"
29894 #endif
29895 char shmat ();
29896 /* The GNU C library defines this for functions which it implements
29897 to always fail with ENOSYS. Some functions are actually named
29898 something starting with __ and the normal name is an alias. */
29899 #if defined __stub_shmat || defined __stub___shmat
29900 choke me
29901 #endif
29902
29903 int
29904 main ()
29905 {
29906 return shmat ();
29907 ;
29908 return 0;
29909 }
29910 _ACEOF
29911 rm -f conftest.$ac_objext conftest$ac_exeext
29912 if { (ac_try="$ac_link"
29913 case "(($ac_try" in
29914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29915 *) ac_try_echo=$ac_try;;
29916 esac
29917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29918 (eval "$ac_link") 2>conftest.er1
29919 ac_status=$?
29920 grep -v '^ *+' conftest.er1 >conftest.err
29921 rm -f conftest.er1
29922 cat conftest.err >&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); } && {
29925 test -z "$ac_c_werror_flag" ||
29926 test ! -s conftest.err
29927 } && test -s conftest$ac_exeext &&
29928 $as_test_x conftest$ac_exeext; then
29929 ac_cv_func_shmat=yes
29930 else
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.$ac_ext >&5
29933
29934 ac_cv_func_shmat=no
29935 fi
29936
29937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29938 conftest$ac_exeext conftest.$ac_ext
29939 fi
29940 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29941 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29942
29943 if test $ac_cv_func_shmat = no; then
29944 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29945 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29946 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29947 echo $ECHO_N "(cached) $ECHO_C" >&6
29948 else
29949 ac_check_lib_save_LIBS=$LIBS
29950 LIBS="-lipc $LIBS"
29951 cat >conftest.$ac_ext <<_ACEOF
29952 /* confdefs.h. */
29953 _ACEOF
29954 cat confdefs.h >>conftest.$ac_ext
29955 cat >>conftest.$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29957
29958 /* Override any GCC internal prototype to avoid an error.
29959 Use char because int might match the return type of a GCC
29960 builtin and then its argument prototype would still apply. */
29961 #ifdef __cplusplus
29962 extern "C"
29963 #endif
29964 char shmat ();
29965 int
29966 main ()
29967 {
29968 return shmat ();
29969 ;
29970 return 0;
29971 }
29972 _ACEOF
29973 rm -f conftest.$ac_objext conftest$ac_exeext
29974 if { (ac_try="$ac_link"
29975 case "(($ac_try" in
29976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29977 *) ac_try_echo=$ac_try;;
29978 esac
29979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29980 (eval "$ac_link") 2>conftest.er1
29981 ac_status=$?
29982 grep -v '^ *+' conftest.er1 >conftest.err
29983 rm -f conftest.er1
29984 cat conftest.err >&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); } && {
29987 test -z "$ac_c_werror_flag" ||
29988 test ! -s conftest.err
29989 } && test -s conftest$ac_exeext &&
29990 $as_test_x conftest$ac_exeext; then
29991 ac_cv_lib_ipc_shmat=yes
29992 else
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.$ac_ext >&5
29995
29996 ac_cv_lib_ipc_shmat=no
29997 fi
29998
29999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30000 conftest$ac_exeext conftest.$ac_ext
30001 LIBS=$ac_check_lib_save_LIBS
30002 fi
30003 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30004 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30005 if test $ac_cv_lib_ipc_shmat = yes; then
30006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30007 fi
30008
30009 fi
30010 fi
30011
30012 # Check for libraries that X11R6 Xt/Xaw programs need.
30013 ac_save_LDFLAGS=$LDFLAGS
30014 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30015 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30016 # check for ICE first), but we must link in the order -lSM -lICE or
30017 # we get undefined symbols. So assume we have SM if we have ICE.
30018 # These have to be linked with before -lX11, unlike the other
30019 # libraries we check for below, so use a different variable.
30020 # John Interrante, Karl Berry
30021 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30022 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30023 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30024 echo $ECHO_N "(cached) $ECHO_C" >&6
30025 else
30026 ac_check_lib_save_LIBS=$LIBS
30027 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30028 cat >conftest.$ac_ext <<_ACEOF
30029 /* confdefs.h. */
30030 _ACEOF
30031 cat confdefs.h >>conftest.$ac_ext
30032 cat >>conftest.$ac_ext <<_ACEOF
30033 /* end confdefs.h. */
30034
30035 /* Override any GCC internal prototype to avoid an error.
30036 Use char because int might match the return type of a GCC
30037 builtin and then its argument prototype would still apply. */
30038 #ifdef __cplusplus
30039 extern "C"
30040 #endif
30041 char IceConnectionNumber ();
30042 int
30043 main ()
30044 {
30045 return IceConnectionNumber ();
30046 ;
30047 return 0;
30048 }
30049 _ACEOF
30050 rm -f conftest.$ac_objext conftest$ac_exeext
30051 if { (ac_try="$ac_link"
30052 case "(($ac_try" in
30053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30054 *) ac_try_echo=$ac_try;;
30055 esac
30056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30057 (eval "$ac_link") 2>conftest.er1
30058 ac_status=$?
30059 grep -v '^ *+' conftest.er1 >conftest.err
30060 rm -f conftest.er1
30061 cat conftest.err >&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); } && {
30064 test -z "$ac_c_werror_flag" ||
30065 test ! -s conftest.err
30066 } && test -s conftest$ac_exeext &&
30067 $as_test_x conftest$ac_exeext; then
30068 ac_cv_lib_ICE_IceConnectionNumber=yes
30069 else
30070 echo "$as_me: failed program was:" >&5
30071 sed 's/^/| /' conftest.$ac_ext >&5
30072
30073 ac_cv_lib_ICE_IceConnectionNumber=no
30074 fi
30075
30076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30077 conftest$ac_exeext conftest.$ac_ext
30078 LIBS=$ac_check_lib_save_LIBS
30079 fi
30080 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30081 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30082 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30083 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30084 fi
30085
30086 LDFLAGS=$ac_save_LDFLAGS
30087
30088 fi
30089
30090
30091 if test "$no_x" = "yes"; then
30092 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30093 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30094 { (exit 1); exit 1; }; }
30095 fi
30096
30097 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30098 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30099 AFMINSTALL=afminstall
30100 COMPILED_X_PROGRAM=0
30101
30102 fi
30103
30104 if test "$wxUSE_X11" = 1; then
30105 if test "$wxUSE_NANOX" = "yes"; then
30106 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30107 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30108 if test "x$MICROWIN" = x ; then
30109 { echo "$as_me:$LINENO: result: not found" >&5
30110 echo "${ECHO_T}not found" >&6; }
30111 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30112 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30113 { (exit 1); exit 1; }; }
30114 else
30115 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30116 echo "${ECHO_T}$MICROWIN" >&6; }
30117 cat >>confdefs.h <<\_ACEOF
30118 #define wxUSE_NANOX 1
30119 _ACEOF
30120
30121 fi
30122 fi
30123
30124 if test "$wxUSE_UNICODE" = "yes"; then
30125
30126
30127 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30128 if test -n "$ac_tool_prefix"; then
30129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30130 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30134 echo $ECHO_N "(cached) $ECHO_C" >&6
30135 else
30136 case $PKG_CONFIG in
30137 [\\/]* | ?:[\\/]*)
30138 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30139 ;;
30140 *)
30141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30142 for as_dir in $PATH
30143 do
30144 IFS=$as_save_IFS
30145 test -z "$as_dir" && as_dir=.
30146 for ac_exec_ext in '' $ac_executable_extensions; do
30147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30148 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30150 break 2
30151 fi
30152 done
30153 done
30154 IFS=$as_save_IFS
30155
30156 ;;
30157 esac
30158 fi
30159 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30160 if test -n "$PKG_CONFIG"; then
30161 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30162 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30163 else
30164 { echo "$as_me:$LINENO: result: no" >&5
30165 echo "${ECHO_T}no" >&6; }
30166 fi
30167
30168
30169 fi
30170 if test -z "$ac_cv_path_PKG_CONFIG"; then
30171 ac_pt_PKG_CONFIG=$PKG_CONFIG
30172 # Extract the first word of "pkg-config", so it can be a program name with args.
30173 set dummy pkg-config; ac_word=$2
30174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30176 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30177 echo $ECHO_N "(cached) $ECHO_C" >&6
30178 else
30179 case $ac_pt_PKG_CONFIG in
30180 [\\/]* | ?:[\\/]*)
30181 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30182 ;;
30183 *)
30184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30185 for as_dir in $PATH
30186 do
30187 IFS=$as_save_IFS
30188 test -z "$as_dir" && as_dir=.
30189 for ac_exec_ext in '' $ac_executable_extensions; do
30190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30191 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30193 break 2
30194 fi
30195 done
30196 done
30197 IFS=$as_save_IFS
30198
30199 ;;
30200 esac
30201 fi
30202 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30203 if test -n "$ac_pt_PKG_CONFIG"; then
30204 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30205 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30206 else
30207 { echo "$as_me:$LINENO: result: no" >&5
30208 echo "${ECHO_T}no" >&6; }
30209 fi
30210
30211 if test "x$ac_pt_PKG_CONFIG" = x; then
30212 PKG_CONFIG=""
30213 else
30214 case $cross_compiling:$ac_tool_warned in
30215 yes:)
30216 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30217 whose name does not start with the host triplet. If you think this
30218 configuration is useful to you, please write to autoconf@gnu.org." >&5
30219 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30220 whose name does not start with the host triplet. If you think this
30221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30222 ac_tool_warned=yes ;;
30223 esac
30224 PKG_CONFIG=$ac_pt_PKG_CONFIG
30225 fi
30226 else
30227 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30228 fi
30229
30230 fi
30231 if test -n "$PKG_CONFIG"; then
30232 _pkg_min_version=0.9.0
30233 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30234 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30235 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30236 { echo "$as_me:$LINENO: result: yes" >&5
30237 echo "${ECHO_T}yes" >&6; }
30238 else
30239 { echo "$as_me:$LINENO: result: no" >&5
30240 echo "${ECHO_T}no" >&6; }
30241 PKG_CONFIG=""
30242 fi
30243
30244 fi
30245
30246
30247 pkg_failed=no
30248 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30249 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30250
30251 if test -n "$PKG_CONFIG"; then
30252 if test -n "$PANGOX_CFLAGS"; then
30253 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30254 else
30255 if test -n "$PKG_CONFIG" && \
30256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30257 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30258 ac_status=$?
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); }; then
30261 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30262 else
30263 pkg_failed=yes
30264 fi
30265 fi
30266 else
30267 pkg_failed=untried
30268 fi
30269 if test -n "$PKG_CONFIG"; then
30270 if test -n "$PANGOX_LIBS"; then
30271 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30272 else
30273 if test -n "$PKG_CONFIG" && \
30274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30275 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30276 ac_status=$?
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; then
30279 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30280 else
30281 pkg_failed=yes
30282 fi
30283 fi
30284 else
30285 pkg_failed=untried
30286 fi
30287
30288
30289
30290 if test $pkg_failed = yes; then
30291
30292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30293 _pkg_short_errors_supported=yes
30294 else
30295 _pkg_short_errors_supported=no
30296 fi
30297 if test $_pkg_short_errors_supported = yes; then
30298 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30299 else
30300 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30301 fi
30302 # Put the nasty error message in config.log where it belongs
30303 echo "$PANGOX_PKG_ERRORS" >&5
30304
30305
30306 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30307 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30308 { (exit 1); exit 1; }; }
30309
30310
30311 elif test $pkg_failed = untried; then
30312
30313 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30314 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30315 { (exit 1); exit 1; }; }
30316
30317
30318 else
30319 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30320 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30321 { echo "$as_me:$LINENO: result: yes" >&5
30322 echo "${ECHO_T}yes" >&6; }
30323
30324 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30325 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30326 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30327
30328 fi
30329
30330 pkg_failed=no
30331 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30332 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30333
30334 if test -n "$PKG_CONFIG"; then
30335 if test -n "$PANGOFT2_CFLAGS"; then
30336 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30337 else
30338 if test -n "$PKG_CONFIG" && \
30339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30340 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30341 ac_status=$?
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); }; then
30344 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30345 else
30346 pkg_failed=yes
30347 fi
30348 fi
30349 else
30350 pkg_failed=untried
30351 fi
30352 if test -n "$PKG_CONFIG"; then
30353 if test -n "$PANGOFT2_LIBS"; then
30354 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30355 else
30356 if test -n "$PKG_CONFIG" && \
30357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30358 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30359 ac_status=$?
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; then
30362 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30363 else
30364 pkg_failed=yes
30365 fi
30366 fi
30367 else
30368 pkg_failed=untried
30369 fi
30370
30371
30372
30373 if test $pkg_failed = yes; then
30374
30375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30376 _pkg_short_errors_supported=yes
30377 else
30378 _pkg_short_errors_supported=no
30379 fi
30380 if test $_pkg_short_errors_supported = yes; then
30381 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30382 else
30383 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30384 fi
30385 # Put the nasty error message in config.log where it belongs
30386 echo "$PANGOFT2_PKG_ERRORS" >&5
30387
30388
30389 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30390 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30391 wxUSE_PRINTING_ARCHITECTURE="no"
30392
30393
30394 elif test $pkg_failed = untried; then
30395
30396 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30397 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30398 wxUSE_PRINTING_ARCHITECTURE="no"
30399
30400
30401 else
30402 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30403 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30404 { echo "$as_me:$LINENO: result: yes" >&5
30405 echo "${ECHO_T}yes" >&6; }
30406
30407 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30408 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30409 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30410
30411 fi
30412
30413 pkg_failed=no
30414 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30415 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30416
30417 if test -n "$PKG_CONFIG"; then
30418 if test -n "$PANGOXFT_CFLAGS"; then
30419 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30420 else
30421 if test -n "$PKG_CONFIG" && \
30422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30423 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30424 ac_status=$?
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; then
30427 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30428 else
30429 pkg_failed=yes
30430 fi
30431 fi
30432 else
30433 pkg_failed=untried
30434 fi
30435 if test -n "$PKG_CONFIG"; then
30436 if test -n "$PANGOXFT_LIBS"; then
30437 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30438 else
30439 if test -n "$PKG_CONFIG" && \
30440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30441 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30442 ac_status=$?
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); }; then
30445 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30446 else
30447 pkg_failed=yes
30448 fi
30449 fi
30450 else
30451 pkg_failed=untried
30452 fi
30453
30454
30455
30456 if test $pkg_failed = yes; then
30457
30458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30459 _pkg_short_errors_supported=yes
30460 else
30461 _pkg_short_errors_supported=no
30462 fi
30463 if test $_pkg_short_errors_supported = yes; then
30464 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30465 else
30466 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30467 fi
30468 # Put the nasty error message in config.log where it belongs
30469 echo "$PANGOXFT_PKG_ERRORS" >&5
30470
30471
30472 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30473 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30474
30475
30476 elif test $pkg_failed = untried; then
30477
30478 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30479 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30480
30481
30482 else
30483 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30484 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30485 { echo "$as_me:$LINENO: result: yes" >&5
30486 echo "${ECHO_T}yes" >&6; }
30487
30488 cat >>confdefs.h <<\_ACEOF
30489 #define HAVE_PANGO_XFT 1
30490 _ACEOF
30491
30492 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30493 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30494 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30495
30496 fi
30497 save_LIBS="$LIBS"
30498 LIBS="$LIBS $PANGOX_LIBS"
30499
30500 for ac_func in pango_font_family_is_monospace
30501 do
30502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30507 else
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h. */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30516 #define $ac_func innocuous_$ac_func
30517
30518 /* System header to define __stub macros and hopefully few prototypes,
30519 which can conflict with char $ac_func (); below.
30520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30521 <limits.h> exists even on freestanding compilers. */
30522
30523 #ifdef __STDC__
30524 # include <limits.h>
30525 #else
30526 # include <assert.h>
30527 #endif
30528
30529 #undef $ac_func
30530
30531 /* Override any GCC internal prototype to avoid an error.
30532 Use char because int might match the return type of a GCC
30533 builtin and then its argument prototype would still apply. */
30534 #ifdef __cplusplus
30535 extern "C"
30536 #endif
30537 char $ac_func ();
30538 /* The GNU C library defines this for functions which it implements
30539 to always fail with ENOSYS. Some functions are actually named
30540 something starting with __ and the normal name is an alias. */
30541 #if defined __stub_$ac_func || defined __stub___$ac_func
30542 choke me
30543 #endif
30544
30545 int
30546 main ()
30547 {
30548 return $ac_func ();
30549 ;
30550 return 0;
30551 }
30552 _ACEOF
30553 rm -f conftest.$ac_objext conftest$ac_exeext
30554 if { (ac_try="$ac_link"
30555 case "(($ac_try" in
30556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30557 *) ac_try_echo=$ac_try;;
30558 esac
30559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30560 (eval "$ac_link") 2>conftest.er1
30561 ac_status=$?
30562 grep -v '^ *+' conftest.er1 >conftest.err
30563 rm -f conftest.er1
30564 cat conftest.err >&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && {
30567 test -z "$ac_c_werror_flag" ||
30568 test ! -s conftest.err
30569 } && test -s conftest$ac_exeext &&
30570 $as_test_x conftest$ac_exeext; then
30571 eval "$as_ac_var=yes"
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 eval "$as_ac_var=no"
30577 fi
30578
30579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30580 conftest$ac_exeext conftest.$ac_ext
30581 fi
30582 ac_res=`eval echo '${'$as_ac_var'}'`
30583 { echo "$as_me:$LINENO: result: $ac_res" >&5
30584 echo "${ECHO_T}$ac_res" >&6; }
30585 if test `eval echo '${'$as_ac_var'}'` = yes; then
30586 cat >>confdefs.h <<_ACEOF
30587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30588 _ACEOF
30589
30590 fi
30591 done
30592
30593 LIBS="$save_LIBS"
30594 fi
30595
30596 wxUSE_UNIVERSAL="yes"
30597
30598 if test "$wxUSE_NANOX" = "yes"; then
30599 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30600 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"
30601 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30602 else
30603 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30604 fi
30605
30606 TOOLKIT=X11
30607 GUIDIST=X11_DIST
30608 fi
30609
30610 if test "$wxUSE_MOTIF" = 1; then
30611 if test "$wxUSE_UNICODE" = "yes"; then
30612 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30613 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30614 { (exit 1); exit 1; }; }
30615 fi
30616
30617 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30618 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30619
30620 ac_find_includes=
30621 for ac_dir in $SEARCH_INCLUDE /usr/include;
30622 do
30623 if test -f "$ac_dir/Xm/Xm.h"; then
30624 ac_find_includes=$ac_dir
30625 break
30626 fi
30627 done
30628
30629 if test "$ac_find_includes" != "" ; then
30630 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30631 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30632
30633 if test "x$ac_find_includes" = "x/usr/include"; then
30634 ac_path_to_include=""
30635 else
30636 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30637 result=$?
30638 if test $result = 0; then
30639 ac_path_to_include=""
30640 else
30641 ac_path_to_include=" -I$ac_find_includes"
30642 fi
30643 fi
30644
30645 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30646 else
30647 save_CFLAGS=$CFLAGS
30648 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30649
30650 cat >conftest.$ac_ext <<_ACEOF
30651 /* confdefs.h. */
30652 _ACEOF
30653 cat confdefs.h >>conftest.$ac_ext
30654 cat >>conftest.$ac_ext <<_ACEOF
30655 /* end confdefs.h. */
30656
30657 #include <Xm/Xm.h>
30658
30659 int
30660 main ()
30661 {
30662
30663 int version;
30664 version = xmUseVersion;
30665
30666 ;
30667 return 0;
30668 }
30669 _ACEOF
30670 rm -f conftest.$ac_objext
30671 if { (ac_try="$ac_compile"
30672 case "(($ac_try" in
30673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30674 *) ac_try_echo=$ac_try;;
30675 esac
30676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30677 (eval "$ac_compile") 2>conftest.er1
30678 ac_status=$?
30679 grep -v '^ *+' conftest.er1 >conftest.err
30680 rm -f conftest.er1
30681 cat conftest.err >&5
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); } && {
30684 test -z "$ac_c_werror_flag" ||
30685 test ! -s conftest.err
30686 } && test -s conftest.$ac_objext; then
30687
30688 { echo "$as_me:$LINENO: result: found in default search path" >&5
30689 echo "${ECHO_T}found in default search path" >&6; }
30690 COMPILED_X_PROGRAM=1
30691
30692 else
30693 echo "$as_me: failed program was:" >&5
30694 sed 's/^/| /' conftest.$ac_ext >&5
30695
30696
30697 { echo "$as_me:$LINENO: result: no" >&5
30698 echo "${ECHO_T}no" >&6; }
30699 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30700 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30701 { (exit 1); exit 1; }; }
30702
30703
30704 fi
30705
30706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30707
30708 CFLAGS=$save_CFLAGS
30709 fi
30710
30711
30712 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30713 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30714
30715 ac_find_libraries=
30716 for ac_dir in $SEARCH_LIB;
30717 do
30718 for ac_extension in a so sl dylib dll.a; do
30719 if test -f "$ac_dir/libXm.$ac_extension"; then
30720 ac_find_libraries=$ac_dir
30721 break 2
30722 fi
30723 done
30724 done
30725
30726
30727 if test "x$ac_find_libraries" != "x" ; then
30728 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30729 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30730
30731
30732 if test "$ac_find_libraries" = "default location"; then
30733 ac_path_to_link=""
30734 else
30735 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30736 result=$?
30737 if test $result = 0; then
30738 ac_path_to_link=""
30739 else
30740 ac_path_to_link=" -L$ac_find_libraries"
30741 fi
30742 fi
30743
30744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30745 else
30746 save_CFLAGS=$CFLAGS
30747 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30748 save_LIBS="$LIBS"
30749 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30750
30751 cat >conftest.$ac_ext <<_ACEOF
30752 /* confdefs.h. */
30753 _ACEOF
30754 cat confdefs.h >>conftest.$ac_ext
30755 cat >>conftest.$ac_ext <<_ACEOF
30756 /* end confdefs.h. */
30757
30758 #include <Xm/Xm.h>
30759
30760 int
30761 main ()
30762 {
30763
30764 int version;
30765 version = xmUseVersion;
30766
30767 ;
30768 return 0;
30769 }
30770 _ACEOF
30771 rm -f conftest.$ac_objext conftest$ac_exeext
30772 if { (ac_try="$ac_link"
30773 case "(($ac_try" in
30774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30775 *) ac_try_echo=$ac_try;;
30776 esac
30777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30778 (eval "$ac_link") 2>conftest.er1
30779 ac_status=$?
30780 grep -v '^ *+' conftest.er1 >conftest.err
30781 rm -f conftest.er1
30782 cat conftest.err >&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } && {
30785 test -z "$ac_c_werror_flag" ||
30786 test ! -s conftest.err
30787 } && test -s conftest$ac_exeext &&
30788 $as_test_x conftest$ac_exeext; then
30789
30790 { echo "$as_me:$LINENO: result: found in default search path" >&5
30791 echo "${ECHO_T}found in default search path" >&6; }
30792 COMPILED_X_PROGRAM=1
30793
30794 else
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.$ac_ext >&5
30797
30798
30799 { echo "$as_me:$LINENO: result: no" >&5
30800 echo "${ECHO_T}no" >&6; }
30801 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30802 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30803 { (exit 1); exit 1; }; }
30804
30805
30806 fi
30807
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810
30811 CFLAGS=$save_CFLAGS
30812 LIBS="$save_LIBS"
30813 fi
30814
30815 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30816 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30817 libp_link=""
30818 libsm_ice_link=""
30819 libs_found=0
30820 for libp in "" " -lXp"; do
30821 if test "$libs_found" = "0"; then
30822 for libsm_ice in "" " -lSM -lICE"; do
30823 if test "$libs_found" = "0"; then
30824 save_LIBS="$LIBS"
30825 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30826 save_CFLAGS=$CFLAGS
30827 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30828
30829 cat >conftest.$ac_ext <<_ACEOF
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835
30836 #include <Xm/Xm.h>
30837 #include <Xm/List.h>
30838
30839 int
30840 main ()
30841 {
30842
30843 XmString string = NULL;
30844 Widget w = NULL;
30845 int position = 0;
30846 XmListAddItem(w, string, position);
30847
30848 ;
30849 return 0;
30850 }
30851 _ACEOF
30852 rm -f conftest.$ac_objext conftest$ac_exeext
30853 if { (ac_try="$ac_link"
30854 case "(($ac_try" in
30855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30856 *) ac_try_echo=$ac_try;;
30857 esac
30858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30859 (eval "$ac_link") 2>conftest.er1
30860 ac_status=$?
30861 grep -v '^ *+' conftest.er1 >conftest.err
30862 rm -f conftest.er1
30863 cat conftest.err >&5
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); } && {
30866 test -z "$ac_c_werror_flag" ||
30867 test ! -s conftest.err
30868 } && test -s conftest$ac_exeext &&
30869 $as_test_x conftest$ac_exeext; then
30870
30871 libp_link="$libp"
30872 libsm_ice_link="$libsm_ice"
30873 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30874 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30875 libs_found=1
30876
30877 else
30878 echo "$as_me: failed program was:" >&5
30879 sed 's/^/| /' conftest.$ac_ext >&5
30880
30881
30882
30883 fi
30884
30885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30886 conftest$ac_exeext conftest.$ac_ext
30887
30888 LIBS="$save_LIBS"
30889 CFLAGS=$save_CFLAGS
30890 fi
30891 done
30892 fi
30893 done
30894
30895 if test "$libs_found" = "0"; then
30896 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30897 echo "${ECHO_T}can't find the right libraries" >&6; }
30898 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30899 echo "$as_me: error: can't link a simple motif program" >&2;}
30900 { (exit 1); exit 1; }; }
30901 fi
30902
30903 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30904 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30905 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30906 echo $ECHO_N "(cached) $ECHO_C" >&6
30907 else
30908 ac_check_lib_save_LIBS=$LIBS
30909 LIBS="-lSgm $LIBS"
30910 cat >conftest.$ac_ext <<_ACEOF
30911 /* confdefs.h. */
30912 _ACEOF
30913 cat confdefs.h >>conftest.$ac_ext
30914 cat >>conftest.$ac_ext <<_ACEOF
30915 /* end confdefs.h. */
30916
30917 /* Override any GCC internal prototype to avoid an error.
30918 Use char because int might match the return type of a GCC
30919 builtin and then its argument prototype would still apply. */
30920 #ifdef __cplusplus
30921 extern "C"
30922 #endif
30923 char SgCreateList ();
30924 int
30925 main ()
30926 {
30927 return SgCreateList ();
30928 ;
30929 return 0;
30930 }
30931 _ACEOF
30932 rm -f conftest.$ac_objext conftest$ac_exeext
30933 if { (ac_try="$ac_link"
30934 case "(($ac_try" in
30935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30936 *) ac_try_echo=$ac_try;;
30937 esac
30938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30939 (eval "$ac_link") 2>conftest.er1
30940 ac_status=$?
30941 grep -v '^ *+' conftest.er1 >conftest.err
30942 rm -f conftest.er1
30943 cat conftest.err >&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); } && {
30946 test -z "$ac_c_werror_flag" ||
30947 test ! -s conftest.err
30948 } && test -s conftest$ac_exeext &&
30949 $as_test_x conftest$ac_exeext; then
30950 ac_cv_lib_Sgm_SgCreateList=yes
30951 else
30952 echo "$as_me: failed program was:" >&5
30953 sed 's/^/| /' conftest.$ac_ext >&5
30954
30955 ac_cv_lib_Sgm_SgCreateList=no
30956 fi
30957
30958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30959 conftest$ac_exeext conftest.$ac_ext
30960 LIBS=$ac_check_lib_save_LIBS
30961 fi
30962 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30963 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30964 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30965 libsgm_link=" -lSgm"
30966 fi
30967
30968
30969 save_CFLAGS=$CFLAGS
30970 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30971
30972 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30973 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30974 if test "${wx_cv_lib_motif2+set}" = set; then
30975 echo $ECHO_N "(cached) $ECHO_C" >&6
30976 else
30977 cat >conftest.$ac_ext <<_ACEOF
30978 /* confdefs.h. */
30979 _ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30983
30984 #include <Xm/Xm.h>
30985
30986 int
30987 main ()
30988 {
30989
30990 #if XmVersion < 2000
30991 Not Motif 2
30992 #endif
30993
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext
30999 if { (ac_try="$ac_compile"
31000 case "(($ac_try" in
31001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31003 esac
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_compile") 2>conftest.er1
31006 ac_status=$?
31007 grep -v '^ *+' conftest.er1 >conftest.err
31008 rm -f conftest.er1
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest.$ac_objext; then
31015 wx_cv_lib_motif2="yes"
31016 else
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.$ac_ext >&5
31019
31020 wx_cv_lib_motif2="no"
31021 fi
31022
31023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31024 fi
31025 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31026 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31027 if test "$wx_cv_lib_motif2" = "yes"; then
31028 cat >>confdefs.h <<\_ACEOF
31029 #define __WXMOTIF20__ 1
31030 _ACEOF
31031
31032 else
31033 cat >>confdefs.h <<\_ACEOF
31034 #define __WXMOTIF20__ 0
31035 _ACEOF
31036
31037 fi
31038
31039 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31040 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31041 if test "${wx_cv_lib_lesstif+set}" = set; then
31042 echo $ECHO_N "(cached) $ECHO_C" >&6
31043 else
31044 cat >conftest.$ac_ext <<_ACEOF
31045 /* confdefs.h. */
31046 _ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31050
31051 #include <Xm/Xm.h>
31052
31053 int
31054 main ()
31055 {
31056
31057 #if !defined(LesstifVersion) || LesstifVersion <= 0
31058 Not Lesstif
31059 #endif
31060
31061 ;
31062 return 0;
31063 }
31064 _ACEOF
31065 rm -f conftest.$ac_objext
31066 if { (ac_try="$ac_compile"
31067 case "(($ac_try" in
31068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31069 *) ac_try_echo=$ac_try;;
31070 esac
31071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31072 (eval "$ac_compile") 2>conftest.er1
31073 ac_status=$?
31074 grep -v '^ *+' conftest.er1 >conftest.err
31075 rm -f conftest.er1
31076 cat conftest.err >&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); } && {
31079 test -z "$ac_c_werror_flag" ||
31080 test ! -s conftest.err
31081 } && test -s conftest.$ac_objext; then
31082 wx_cv_lib_lesstif="yes"
31083 else
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.$ac_ext >&5
31086
31087 wx_cv_lib_lesstif="no"
31088 fi
31089
31090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31091
31092 fi
31093 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31094 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31095 if test "$wx_cv_lib_lesstif" = "yes"; then
31096 cat >>confdefs.h <<\_ACEOF
31097 #define __WXLESSTIF__ 1
31098 _ACEOF
31099
31100 else
31101 cat >>confdefs.h <<\_ACEOF
31102 #define __WXLESSTIF__ 0
31103 _ACEOF
31104
31105 fi
31106
31107 CFLAGS=$save_CFLAGS
31108
31109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31110 TOOLKIT=MOTIF
31111 GUIDIST=MOTIF_DIST
31112 fi
31113
31114 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31115 if test "$wxUSE_LIBXPM" = "sys"; then
31116 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31117 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31118
31119 ac_find_libraries=
31120 for ac_dir in $SEARCH_LIB;
31121 do
31122 for ac_extension in a so sl dylib dll.a; do
31123 if test -f "$ac_dir/libXpm.$ac_extension"; then
31124 ac_find_libraries=$ac_dir
31125 break 2
31126 fi
31127 done
31128 done
31129
31130 if test "$ac_find_libraries" != "" ; then
31131
31132 if test "$ac_find_libraries" = "default location"; then
31133 ac_path_to_link=""
31134 else
31135 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31136 result=$?
31137 if test $result = 0; then
31138 ac_path_to_link=""
31139 else
31140 ac_path_to_link=" -L$ac_find_libraries"
31141 fi
31142 fi
31143
31144 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31145 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31146 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31147
31148 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31149 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31150 if test "${wx_cv_x11_xpm_h+set}" = set; then
31151 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 else
31153
31154 save_CFLAGS=$CFLAGS
31155 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31156
31157 cat >conftest.$ac_ext <<_ACEOF
31158 /* confdefs.h. */
31159 _ACEOF
31160 cat confdefs.h >>conftest.$ac_ext
31161 cat >>conftest.$ac_ext <<_ACEOF
31162 /* end confdefs.h. */
31163
31164 #include <X11/xpm.h>
31165
31166 int
31167 main ()
31168 {
31169
31170 int version;
31171 version = XpmLibraryVersion();
31172
31173 ;
31174 return 0;
31175 }
31176 _ACEOF
31177 rm -f conftest.$ac_objext
31178 if { (ac_try="$ac_compile"
31179 case "(($ac_try" in
31180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31181 *) ac_try_echo=$ac_try;;
31182 esac
31183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31184 (eval "$ac_compile") 2>conftest.er1
31185 ac_status=$?
31186 grep -v '^ *+' conftest.er1 >conftest.err
31187 rm -f conftest.er1
31188 cat conftest.err >&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); } && {
31191 test -z "$ac_c_werror_flag" ||
31192 test ! -s conftest.err
31193 } && test -s conftest.$ac_objext; then
31194 wx_cv_x11_xpm_h=yes
31195 else
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31198
31199 wx_cv_x11_xpm_h=no
31200
31201 fi
31202
31203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31204
31205 CFLAGS=$save_CFLAGS
31206
31207
31208 fi
31209 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31210 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31211
31212 if test $wx_cv_x11_xpm_h = "yes"; then
31213 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31214 cat >>confdefs.h <<\_ACEOF
31215 #define wxHAVE_LIB_XPM 1
31216 _ACEOF
31217
31218 else
31219 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31220 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31221 fi
31222 fi
31223
31224 fi
31225
31226 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31227 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31228 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31229 echo $ECHO_N "(cached) $ECHO_C" >&6
31230 else
31231 ac_check_lib_save_LIBS=$LIBS
31232 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31233 cat >conftest.$ac_ext <<_ACEOF
31234 /* confdefs.h. */
31235 _ACEOF
31236 cat confdefs.h >>conftest.$ac_ext
31237 cat >>conftest.$ac_ext <<_ACEOF
31238 /* end confdefs.h. */
31239
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31243 #ifdef __cplusplus
31244 extern "C"
31245 #endif
31246 char XShapeQueryExtension ();
31247 int
31248 main ()
31249 {
31250 return XShapeQueryExtension ();
31251 ;
31252 return 0;
31253 }
31254 _ACEOF
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (ac_try="$ac_link"
31257 case "(($ac_try" in
31258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31259 *) ac_try_echo=$ac_try;;
31260 esac
31261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31262 (eval "$ac_link") 2>conftest.er1
31263 ac_status=$?
31264 grep -v '^ *+' conftest.er1 >conftest.err
31265 rm -f conftest.er1
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } && {
31269 test -z "$ac_c_werror_flag" ||
31270 test ! -s conftest.err
31271 } && test -s conftest$ac_exeext &&
31272 $as_test_x conftest$ac_exeext; then
31273 ac_cv_lib_Xext_XShapeQueryExtension=yes
31274 else
31275 echo "$as_me: failed program was:" >&5
31276 sed 's/^/| /' conftest.$ac_ext >&5
31277
31278 ac_cv_lib_Xext_XShapeQueryExtension=no
31279 fi
31280
31281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31282 conftest$ac_exeext conftest.$ac_ext
31283 LIBS=$ac_check_lib_save_LIBS
31284 fi
31285 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31286 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31287 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31288
31289 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31290 wxHAVE_XEXT_LIB=1
31291
31292 fi
31293
31294
31295 if test "$wxHAVE_XEXT_LIB" = 1; then
31296 save_CFLAGS="$CFLAGS"
31297 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31298
31299 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31300 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31301 cat >conftest.$ac_ext <<_ACEOF
31302 /* confdefs.h. */
31303 _ACEOF
31304 cat confdefs.h >>conftest.$ac_ext
31305 cat >>conftest.$ac_ext <<_ACEOF
31306 /* end confdefs.h. */
31307
31308 #include <X11/Xlib.h>
31309 #include <X11/extensions/shape.h>
31310
31311 int
31312 main ()
31313 {
31314
31315 int dummy1, dummy2;
31316 XShapeQueryExtension((Display*)NULL,
31317 (int*)NULL, (int*)NULL);
31318
31319 ;
31320 return 0;
31321 }
31322 _ACEOF
31323 rm -f conftest.$ac_objext
31324 if { (ac_try="$ac_compile"
31325 case "(($ac_try" in
31326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31328 esac
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_compile") 2>conftest.er1
31331 ac_status=$?
31332 grep -v '^ *+' conftest.er1 >conftest.err
31333 rm -f conftest.er1
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } && {
31337 test -z "$ac_c_werror_flag" ||
31338 test ! -s conftest.err
31339 } && test -s conftest.$ac_objext; then
31340
31341 cat >>confdefs.h <<\_ACEOF
31342 #define HAVE_XSHAPE 1
31343 _ACEOF
31344
31345 { echo "$as_me:$LINENO: result: found" >&5
31346 echo "${ECHO_T}found" >&6; }
31347
31348 else
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31351
31352
31353 { echo "$as_me:$LINENO: result: not found" >&5
31354 echo "${ECHO_T}not found" >&6; }
31355
31356 fi
31357
31358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31359 CFLAGS="$save_CFLAGS"
31360
31361 fi
31362 fi
31363
31364 if test "$wxUSE_MAC" = 1; then
31365 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31366 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31367 if test "$GCC" = yes; then
31368 { echo "$as_me:$LINENO: result: gcc" >&5
31369 echo "${ECHO_T}gcc" >&6; }
31370 CPPFLAGS_PASCAL="-fpascal-strings"
31371 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31372 { echo "$as_me:$LINENO: result: xlc" >&5
31373 echo "${ECHO_T}xlc" >&6; }
31374 CPPFLAGS_PASCAL="-qmacpstr"
31375 else
31376 { echo "$as_me:$LINENO: result: none" >&5
31377 echo "${ECHO_T}none" >&6; }
31378 fi
31379
31380 if test "x$wxUSE_UNIX" = "xyes"; then
31381 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31382 else
31383 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31384 fi
31385
31386 TOOLKIT=MAC
31387 GUIDIST=MACX_DIST
31388 WXBASEPORT="_carbon"
31389 fi
31390
31391 if test "$wxUSE_COCOA" = 1; then
31392 TOOLKIT=COCOA
31393 GUIDIST=COCOA_DIST
31394 fi
31395
31396 if test "$wxUSE_PM" = 1; then
31397 TOOLKIT=PM
31398 GUIDIST=PM_DIST
31399 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31400 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31401 if test "${wx_cv_spbcdata+set}" = set; then
31402 echo $ECHO_N "(cached) $ECHO_C" >&6
31403 else
31404
31405 cat >conftest.$ac_ext <<_ACEOF
31406 /* confdefs.h. */
31407 _ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31411
31412 #define INCL_PM
31413 #include <os2.h>
31414
31415 int
31416 main ()
31417 {
31418
31419 SPBCDATA test;
31420
31421 ;
31422 return 0;
31423 }
31424 _ACEOF
31425 rm -f conftest.$ac_objext
31426 if { (ac_try="$ac_compile"
31427 case "(($ac_try" in
31428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31429 *) ac_try_echo=$ac_try;;
31430 esac
31431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31432 (eval "$ac_compile") 2>conftest.er1
31433 ac_status=$?
31434 grep -v '^ *+' conftest.er1 >conftest.err
31435 rm -f conftest.er1
31436 cat conftest.err >&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); } && {
31439 test -z "$ac_c_werror_flag" ||
31440 test ! -s conftest.err
31441 } && test -s conftest.$ac_objext; then
31442 wx_cv_spbcdata=yes
31443 else
31444 echo "$as_me: failed program was:" >&5
31445 sed 's/^/| /' conftest.$ac_ext >&5
31446
31447 wx_cv_spbcdata=no
31448
31449 fi
31450
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31452
31453
31454 fi
31455 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31456 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31457
31458 if test $wx_cv_spbcdata = "yes"; then
31459 cat >>confdefs.h <<\_ACEOF
31460 #define HAVE_SPBCDATA 1
31461 _ACEOF
31462
31463 fi
31464 fi
31465
31466 if test "$TOOLKIT" = "PM" ; then
31467 TOOLKIT_DIR="os2"
31468 else
31469 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31470 fi
31471
31472 if test "$wxUSE_UNIVERSAL" = "yes"; then
31473 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31474 WIDGET_SET=univ
31475 fi
31476
31477 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31478 DISTDIR="wx\$(TOOLKIT)"
31479 else
31480 USE_GUI=0
31481
31482 TOOLKIT_DIR="base"
31483
31484 if test "$USE_WIN32" = 1 ; then
31485 TOOLKIT="MSW"
31486 fi
31487
31488 GUIDIST="BASE_DIST"
31489 DISTDIR="wxBase"
31490 fi
31491
31492
31493 if test "$wxUSE_GUI" = "yes"; then
31494 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31495 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31496 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31497 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31498 echo $ECHO_N "(cached) $ECHO_C" >&6
31499 else
31500 cat >conftest.$ac_ext <<_ACEOF
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506
31507
31508 #include <X11/Xlib.h>
31509 _ACEOF
31510 rm -f conftest.$ac_objext
31511 if { (ac_try="$ac_compile"
31512 case "(($ac_try" in
31513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31514 *) ac_try_echo=$ac_try;;
31515 esac
31516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31517 (eval "$ac_compile") 2>conftest.er1
31518 ac_status=$?
31519 grep -v '^ *+' conftest.er1 >conftest.err
31520 rm -f conftest.er1
31521 cat conftest.err >&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); } && {
31524 test -z "$ac_c_werror_flag" ||
31525 test ! -s conftest.err
31526 } && test -s conftest.$ac_objext; then
31527 ac_cv_header_X11_Xlib_h=yes
31528 else
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.$ac_ext >&5
31531
31532 ac_cv_header_X11_Xlib_h=no
31533 fi
31534
31535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31536 fi
31537 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31538 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31539
31540
31541 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31542 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31543 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31544 echo $ECHO_N "(cached) $ECHO_C" >&6
31545 else
31546 cat >conftest.$ac_ext <<_ACEOF
31547 /* confdefs.h. */
31548 _ACEOF
31549 cat confdefs.h >>conftest.$ac_ext
31550 cat >>conftest.$ac_ext <<_ACEOF
31551 /* end confdefs.h. */
31552
31553 #if HAVE_X11_XLIB_H
31554 #include <X11/Xlib.h>
31555 #endif
31556
31557
31558 #include <X11/XKBlib.h>
31559 _ACEOF
31560 rm -f conftest.$ac_objext
31561 if { (ac_try="$ac_compile"
31562 case "(($ac_try" in
31563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31564 *) ac_try_echo=$ac_try;;
31565 esac
31566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31567 (eval "$ac_compile") 2>conftest.er1
31568 ac_status=$?
31569 grep -v '^ *+' conftest.er1 >conftest.err
31570 rm -f conftest.er1
31571 cat conftest.err >&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } && {
31574 test -z "$ac_c_werror_flag" ||
31575 test ! -s conftest.err
31576 } && test -s conftest.$ac_objext; then
31577 ac_cv_header_X11_XKBlib_h=yes
31578 else
31579 echo "$as_me: failed program was:" >&5
31580 sed 's/^/| /' conftest.$ac_ext >&5
31581
31582 ac_cv_header_X11_XKBlib_h=no
31583 fi
31584
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586 fi
31587 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31588 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31589
31590
31591 fi
31592 fi
31593
31594
31595
31596 IODBC_C_SRC=""
31597
31598
31599 if test "$TOOLKIT" != "MSW" ; then
31600
31601 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31602
31603 { echo "$as_me:$LINENO: checking for sql.h" >&5
31604 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31605 if test "${ac_cv_header_sql_h+set}" = set; then
31606 echo $ECHO_N "(cached) $ECHO_C" >&6
31607 else
31608 cat >conftest.$ac_ext <<_ACEOF
31609 /* confdefs.h. */
31610 _ACEOF
31611 cat confdefs.h >>conftest.$ac_ext
31612 cat >>conftest.$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31614
31615
31616 #include <sql.h>
31617 _ACEOF
31618 rm -f conftest.$ac_objext
31619 if { (ac_try="$ac_compile"
31620 case "(($ac_try" in
31621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31622 *) ac_try_echo=$ac_try;;
31623 esac
31624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31625 (eval "$ac_compile") 2>conftest.er1
31626 ac_status=$?
31627 grep -v '^ *+' conftest.er1 >conftest.err
31628 rm -f conftest.er1
31629 cat conftest.err >&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } && {
31632 test -z "$ac_c_werror_flag" ||
31633 test ! -s conftest.err
31634 } && test -s conftest.$ac_objext; then
31635 ac_cv_header_sql_h=yes
31636 else
31637 echo "$as_me: failed program was:" >&5
31638 sed 's/^/| /' conftest.$ac_ext >&5
31639
31640 ac_cv_header_sql_h=no
31641 fi
31642
31643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31644 fi
31645 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31646 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31647 if test $ac_cv_header_sql_h = yes; then
31648 found_sql_h=1
31649 fi
31650
31651
31652 if test "x$found_sql_h" = "x1" ; then
31653 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31654 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31655 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 else
31658 ac_check_lib_save_LIBS=$LIBS
31659 LIBS="-liodbc $LIBS"
31660 cat >conftest.$ac_ext <<_ACEOF
31661 /* confdefs.h. */
31662 _ACEOF
31663 cat confdefs.h >>conftest.$ac_ext
31664 cat >>conftest.$ac_ext <<_ACEOF
31665 /* end confdefs.h. */
31666
31667 /* Override any GCC internal prototype to avoid an error.
31668 Use char because int might match the return type of a GCC
31669 builtin and then its argument prototype would still apply. */
31670 #ifdef __cplusplus
31671 extern "C"
31672 #endif
31673 char SQLAllocEnv ();
31674 int
31675 main ()
31676 {
31677 return SQLAllocEnv ();
31678 ;
31679 return 0;
31680 }
31681 _ACEOF
31682 rm -f conftest.$ac_objext conftest$ac_exeext
31683 if { (ac_try="$ac_link"
31684 case "(($ac_try" in
31685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31686 *) ac_try_echo=$ac_try;;
31687 esac
31688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31689 (eval "$ac_link") 2>conftest.er1
31690 ac_status=$?
31691 grep -v '^ *+' conftest.er1 >conftest.err
31692 rm -f conftest.er1
31693 cat conftest.err >&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); } && {
31696 test -z "$ac_c_werror_flag" ||
31697 test ! -s conftest.err
31698 } && test -s conftest$ac_exeext &&
31699 $as_test_x conftest$ac_exeext; then
31700 ac_cv_lib_iodbc_SQLAllocEnv=yes
31701 else
31702 echo "$as_me: failed program was:" >&5
31703 sed 's/^/| /' conftest.$ac_ext >&5
31704
31705 ac_cv_lib_iodbc_SQLAllocEnv=no
31706 fi
31707
31708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31709 conftest$ac_exeext conftest.$ac_ext
31710 LIBS=$ac_check_lib_save_LIBS
31711 fi
31712 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31713 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31714 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31715 ODBC_LINK=" -liodbc"
31716 else
31717
31718 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31719 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31720 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31722 else
31723 ac_check_lib_save_LIBS=$LIBS
31724 LIBS="-lunixodbc $LIBS"
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
31732 /* Override any GCC internal prototype to avoid an error.
31733 Use char because int might match the return type of a GCC
31734 builtin and then its argument prototype would still apply. */
31735 #ifdef __cplusplus
31736 extern "C"
31737 #endif
31738 char SQLAllocEnv ();
31739 int
31740 main ()
31741 {
31742 return SQLAllocEnv ();
31743 ;
31744 return 0;
31745 }
31746 _ACEOF
31747 rm -f conftest.$ac_objext conftest$ac_exeext
31748 if { (ac_try="$ac_link"
31749 case "(($ac_try" in
31750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31751 *) ac_try_echo=$ac_try;;
31752 esac
31753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31754 (eval "$ac_link") 2>conftest.er1
31755 ac_status=$?
31756 grep -v '^ *+' conftest.er1 >conftest.err
31757 rm -f conftest.er1
31758 cat conftest.err >&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); } && {
31761 test -z "$ac_c_werror_flag" ||
31762 test ! -s conftest.err
31763 } && test -s conftest$ac_exeext &&
31764 $as_test_x conftest$ac_exeext; then
31765 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31766 else
31767 echo "$as_me: failed program was:" >&5
31768 sed 's/^/| /' conftest.$ac_ext >&5
31769
31770 ac_cv_lib_unixodbc_SQLAllocEnv=no
31771 fi
31772
31773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31774 conftest$ac_exeext conftest.$ac_ext
31775 LIBS=$ac_check_lib_save_LIBS
31776 fi
31777 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31778 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31779 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31780 ODBC_LINK=" -lunixodbc"
31781 else
31782
31783 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31784 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31785 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31786 echo $ECHO_N "(cached) $ECHO_C" >&6
31787 else
31788 ac_check_lib_save_LIBS=$LIBS
31789 LIBS="-lodbc $LIBS"
31790 cat >conftest.$ac_ext <<_ACEOF
31791 /* confdefs.h. */
31792 _ACEOF
31793 cat confdefs.h >>conftest.$ac_ext
31794 cat >>conftest.$ac_ext <<_ACEOF
31795 /* end confdefs.h. */
31796
31797 /* Override any GCC internal prototype to avoid an error.
31798 Use char because int might match the return type of a GCC
31799 builtin and then its argument prototype would still apply. */
31800 #ifdef __cplusplus
31801 extern "C"
31802 #endif
31803 char SQLAllocEnv ();
31804 int
31805 main ()
31806 {
31807 return SQLAllocEnv ();
31808 ;
31809 return 0;
31810 }
31811 _ACEOF
31812 rm -f conftest.$ac_objext conftest$ac_exeext
31813 if { (ac_try="$ac_link"
31814 case "(($ac_try" in
31815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31816 *) ac_try_echo=$ac_try;;
31817 esac
31818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31819 (eval "$ac_link") 2>conftest.er1
31820 ac_status=$?
31821 grep -v '^ *+' conftest.er1 >conftest.err
31822 rm -f conftest.er1
31823 cat conftest.err >&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } && {
31826 test -z "$ac_c_werror_flag" ||
31827 test ! -s conftest.err
31828 } && test -s conftest$ac_exeext &&
31829 $as_test_x conftest$ac_exeext; then
31830 ac_cv_lib_odbc_SQLAllocEnv=yes
31831 else
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.$ac_ext >&5
31834
31835 ac_cv_lib_odbc_SQLAllocEnv=no
31836 fi
31837
31838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31839 conftest$ac_exeext conftest.$ac_ext
31840 LIBS=$ac_check_lib_save_LIBS
31841 fi
31842 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31843 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31844 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31845 ODBC_LINK=" -lodbc"
31846 fi
31847
31848
31849 fi
31850
31851
31852 fi
31853
31854 fi
31855 if test "x$ODBC_LINK" = "x" ; then
31856 if test "$wxUSE_ODBC" = "sys" ; then
31857 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31858 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31859 { (exit 1); exit 1; }; }
31860 else
31861 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31862 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31863 wxUSE_ODBC=builtin
31864 fi
31865 else
31866 wxUSE_ODBC=sys
31867 fi
31868 fi
31869
31870 if test "$wxUSE_ODBC" = "builtin" ; then
31871 cat >>confdefs.h <<\_ACEOF
31872 #define wxUSE_BUILTIN_IODBC 1
31873 _ACEOF
31874
31875 fi
31876 fi
31877
31878 if test "$wxUSE_ODBC" != "no" ; then
31879 cat >>confdefs.h <<\_ACEOF
31880 #define wxUSE_ODBC 1
31881 _ACEOF
31882
31883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31884
31885 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31886 fi
31887
31888
31889 if test "$wxUSE_DISPLAY" = "yes"; then
31890 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31891 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31892 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31893
31894 ac_find_libraries=
31895 for ac_dir in $SEARCH_LIB;
31896 do
31897 for ac_extension in a so sl dylib dll.a; do
31898 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31899 ac_find_libraries=$ac_dir
31900 break 2
31901 fi
31902 done
31903 done
31904
31905 if test "$ac_find_libraries" != "" ; then
31906
31907 if test "$ac_find_libraries" = "default location"; then
31908 ac_path_to_link=""
31909 else
31910 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31911 result=$?
31912 if test $result = 0; then
31913 ac_path_to_link=""
31914 else
31915 ac_path_to_link=" -L$ac_find_libraries"
31916 fi
31917 fi
31918
31919 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31920 LDFLAGS="$LDFLAGS $ac_path_to_link"
31921 fi
31922 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31923 { echo "$as_me:$LINENO: result: yes" >&5
31924 echo "${ECHO_T}yes" >&6; }
31925
31926 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31927 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31928
31929 ac_find_libraries=
31930 for ac_dir in $SEARCH_LIB;
31931 do
31932 for ac_extension in a so sl dylib dll.a; do
31933 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31934 ac_find_libraries=$ac_dir
31935 break 2
31936 fi
31937 done
31938 done
31939
31940 if test "$ac_find_libraries" != "" ; then
31941 { echo "$as_me:$LINENO: result: yes" >&5
31942 echo "${ECHO_T}yes" >&6; }
31943 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31944 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31945 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31946 echo $ECHO_N "(cached) $ECHO_C" >&6
31947 else
31948 cat >conftest.$ac_ext <<_ACEOF
31949 /* confdefs.h. */
31950 _ACEOF
31951 cat confdefs.h >>conftest.$ac_ext
31952 cat >>conftest.$ac_ext <<_ACEOF
31953 /* end confdefs.h. */
31954
31955 #if HAVE_X11_XLIB_H
31956 #include <X11/Xlib.h>
31957 #endif
31958
31959
31960 #include <X11/extensions/xf86vmode.h>
31961 _ACEOF
31962 rm -f conftest.$ac_objext
31963 if { (ac_try="$ac_compile"
31964 case "(($ac_try" in
31965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31966 *) ac_try_echo=$ac_try;;
31967 esac
31968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31969 (eval "$ac_compile") 2>conftest.er1
31970 ac_status=$?
31971 grep -v '^ *+' conftest.er1 >conftest.err
31972 rm -f conftest.er1
31973 cat conftest.err >&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } && {
31976 test -z "$ac_c_werror_flag" ||
31977 test ! -s conftest.err
31978 } && test -s conftest.$ac_objext; then
31979 ac_cv_header_X11_extensions_xf86vmode_h=yes
31980 else
31981 echo "$as_me: failed program was:" >&5
31982 sed 's/^/| /' conftest.$ac_ext >&5
31983
31984 ac_cv_header_X11_extensions_xf86vmode_h=no
31985 fi
31986
31987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31988 fi
31989 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31990 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31991 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31992
31993 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31994
31995 fi
31996
31997
31998 else
31999 { echo "$as_me:$LINENO: result: no" >&5
32000 echo "${ECHO_T}no" >&6; }
32001 fi
32002
32003 else
32004 { echo "$as_me:$LINENO: result: no" >&5
32005 echo "${ECHO_T}no" >&6; }
32006 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32007 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32008 wxUSE_DISPLAY="no"
32009 fi
32010 elif test "$wxUSE_MSW" = 1; then
32011 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32012 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32013 if test "${ac_cv_header_ddraw_h+set}" = set; then
32014 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 else
32016 cat >conftest.$ac_ext <<_ACEOF
32017 /* confdefs.h. */
32018 _ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32022 #include <windows.h>
32023
32024 #include <ddraw.h>
32025 _ACEOF
32026 rm -f conftest.$ac_objext
32027 if { (ac_try="$ac_compile"
32028 case "(($ac_try" in
32029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32030 *) ac_try_echo=$ac_try;;
32031 esac
32032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32033 (eval "$ac_compile") 2>conftest.er1
32034 ac_status=$?
32035 grep -v '^ *+' conftest.er1 >conftest.err
32036 rm -f conftest.er1
32037 cat conftest.err >&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } && {
32040 test -z "$ac_c_werror_flag" ||
32041 test ! -s conftest.err
32042 } && test -s conftest.$ac_objext; then
32043 ac_cv_header_ddraw_h=yes
32044 else
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32047
32048 ac_cv_header_ddraw_h=no
32049 fi
32050
32051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32052 fi
32053 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32054 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32055
32056
32057 fi
32058 fi
32059
32060 if test "$wxUSE_DETECT_SM" = "yes"; then
32061 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32062 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32063 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32064
32065 ac_find_libraries=
32066 for ac_dir in $SEARCH_LIB;
32067 do
32068 for ac_extension in a so sl dylib dll.a; do
32069 if test -f "$ac_dir/libSM.$ac_extension"; then
32070 ac_find_libraries=$ac_dir
32071 break 2
32072 fi
32073 done
32074 done
32075
32076 if test "$ac_find_libraries" != "" ; then
32077
32078 if test "$ac_find_libraries" = "default location"; then
32079 ac_path_to_link=""
32080 else
32081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32082 result=$?
32083 if test $result = 0; then
32084 ac_path_to_link=""
32085 else
32086 ac_path_to_link=" -L$ac_find_libraries"
32087 fi
32088 fi
32089
32090 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32091 LDFLAGS="$LDFLAGS $ac_path_to_link"
32092 fi
32093 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32094 { echo "$as_me:$LINENO: result: yes" >&5
32095 echo "${ECHO_T}yes" >&6; }
32096 else
32097 { echo "$as_me:$LINENO: result: no" >&5
32098 echo "${ECHO_T}no" >&6; }
32099 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32100 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32101 wxUSE_DETECT_SM="no"
32102 fi
32103 else
32104 wxUSE_DETECT_SM="no"
32105 fi
32106 fi
32107
32108
32109
32110 USE_OPENGL=0
32111 if test "$wxUSE_OPENGL" = "yes"; then
32112 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32113 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32114 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32115 wxUSE_OPENGL="no"
32116 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32117 OPENGL_LIBS="-framework OpenGL -framework AGL"
32118 elif test "$wxUSE_MSW" = 1; then
32119 OPENGL_LIBS="-lopengl32 -lglu32"
32120 else
32121 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32122 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32123
32124 ac_find_includes=
32125 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32126 do
32127 if test -f "$ac_dir/GL/gl.h"; then
32128 ac_find_includes=$ac_dir
32129 break
32130 fi
32131 done
32132
32133 if test "$ac_find_includes" != "" ; then
32134 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32135 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32136
32137 if test "x$ac_find_includes" = "x/usr/include"; then
32138 ac_path_to_include=""
32139 else
32140 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32141 result=$?
32142 if test $result = 0; then
32143 ac_path_to_include=""
32144 else
32145 ac_path_to_include=" -I$ac_find_includes"
32146 fi
32147 fi
32148
32149 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32150 else
32151 { echo "$as_me:$LINENO: result: not found" >&5
32152 echo "${ECHO_T}not found" >&6; }
32153 fi
32154
32155 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32156 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32157 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32158 echo $ECHO_N "(cached) $ECHO_C" >&6
32159 else
32160 cat >conftest.$ac_ext <<_ACEOF
32161 /* confdefs.h. */
32162 _ACEOF
32163 cat confdefs.h >>conftest.$ac_ext
32164 cat >>conftest.$ac_ext <<_ACEOF
32165 /* end confdefs.h. */
32166
32167
32168 #include <GL/gl.h>
32169 _ACEOF
32170 rm -f conftest.$ac_objext
32171 if { (ac_try="$ac_compile"
32172 case "(($ac_try" in
32173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32174 *) ac_try_echo=$ac_try;;
32175 esac
32176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32177 (eval "$ac_compile") 2>conftest.er1
32178 ac_status=$?
32179 grep -v '^ *+' conftest.er1 >conftest.err
32180 rm -f conftest.er1
32181 cat conftest.err >&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } && {
32184 test -z "$ac_c_werror_flag" ||
32185 test ! -s conftest.err
32186 } && test -s conftest.$ac_objext; then
32187 ac_cv_header_GL_gl_h=yes
32188 else
32189 echo "$as_me: failed program was:" >&5
32190 sed 's/^/| /' conftest.$ac_ext >&5
32191
32192 ac_cv_header_GL_gl_h=no
32193 fi
32194
32195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32196 fi
32197 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32198 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32199 if test $ac_cv_header_GL_gl_h = yes; then
32200
32201 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32202 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32203 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32204 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 fi
32207 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32208 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32209 else
32210 # Is the header compilable?
32211 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32212 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32213 cat >conftest.$ac_ext <<_ACEOF
32214 /* confdefs.h. */
32215 _ACEOF
32216 cat confdefs.h >>conftest.$ac_ext
32217 cat >>conftest.$ac_ext <<_ACEOF
32218 /* end confdefs.h. */
32219 $ac_includes_default
32220 #include <GL/glu.h>
32221 _ACEOF
32222 rm -f conftest.$ac_objext
32223 if { (ac_try="$ac_compile"
32224 case "(($ac_try" in
32225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32226 *) ac_try_echo=$ac_try;;
32227 esac
32228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32229 (eval "$ac_compile") 2>conftest.er1
32230 ac_status=$?
32231 grep -v '^ *+' conftest.er1 >conftest.err
32232 rm -f conftest.er1
32233 cat conftest.err >&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); } && {
32236 test -z "$ac_c_werror_flag" ||
32237 test ! -s conftest.err
32238 } && test -s conftest.$ac_objext; then
32239 ac_header_compiler=yes
32240 else
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.$ac_ext >&5
32243
32244 ac_header_compiler=no
32245 fi
32246
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32249 echo "${ECHO_T}$ac_header_compiler" >&6; }
32250
32251 # Is the header present?
32252 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32253 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260 #include <GL/glu.h>
32261 _ACEOF
32262 if { (ac_try="$ac_cpp conftest.$ac_ext"
32263 case "(($ac_try" in
32264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32265 *) ac_try_echo=$ac_try;;
32266 esac
32267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32269 ac_status=$?
32270 grep -v '^ *+' conftest.er1 >conftest.err
32271 rm -f conftest.er1
32272 cat conftest.err >&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } >/dev/null && {
32275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32276 test ! -s conftest.err
32277 }; then
32278 ac_header_preproc=yes
32279 else
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.$ac_ext >&5
32282
32283 ac_header_preproc=no
32284 fi
32285
32286 rm -f conftest.err conftest.$ac_ext
32287 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32288 echo "${ECHO_T}$ac_header_preproc" >&6; }
32289
32290 # So? What about this header?
32291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32292 yes:no: )
32293 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32294 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32295 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32296 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32297 ac_header_preproc=yes
32298 ;;
32299 no:yes:* )
32300 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32301 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32302 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32303 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32304 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32305 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32306 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32307 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32308 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32309 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32310 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32311 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32312 ( cat <<\_ASBOX
32313 ## ----------------------------------------- ##
32314 ## Report this to wx-dev@lists.wxwidgets.org ##
32315 ## ----------------------------------------- ##
32316 _ASBOX
32317 ) | sed "s/^/$as_me: WARNING: /" >&2
32318 ;;
32319 esac
32320 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32321 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32322 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32323 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 else
32325 ac_cv_header_GL_glu_h=$ac_header_preproc
32326 fi
32327 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32328 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32329
32330 fi
32331 if test $ac_cv_header_GL_glu_h = yes; then
32332
32333 found_gl=0
32334
32335 { echo "$as_me:$LINENO: checking for -lGL" >&5
32336 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32337
32338 ac_find_libraries=
32339 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32340 do
32341 for ac_extension in a so sl dylib dll.a; do
32342 if test -f "$ac_dir/libGL.$ac_extension"; then
32343 ac_find_libraries=$ac_dir
32344 break 2
32345 fi
32346 done
32347 done
32348
32349 if test "$ac_find_libraries" != "" ; then
32350 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32351 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32352
32353
32354 if test "$ac_find_libraries" = "default location"; then
32355 ac_path_to_link=""
32356 else
32357 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32358 result=$?
32359 if test $result = 0; then
32360 ac_path_to_link=""
32361 else
32362 ac_path_to_link=" -L$ac_find_libraries"
32363 fi
32364 fi
32365
32366 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32367 LDFLAGS_GL="$ac_path_to_link"
32368 fi
32369
32370 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32371 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32372
32373 ac_find_libraries=
32374 for ac_dir in $SEARCH_LIB;
32375 do
32376 for ac_extension in a so sl dylib dll.a; do
32377 if test -f "$ac_dir/libGLU.$ac_extension"; then
32378 ac_find_libraries=$ac_dir
32379 break 2
32380 fi
32381 done
32382 done
32383
32384 if test "$ac_find_libraries" != "" ; then
32385
32386 if test "$ac_find_libraries" = "default location"; then
32387 ac_path_to_link=""
32388 else
32389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32390 result=$?
32391 if test $result = 0; then
32392 ac_path_to_link=""
32393 else
32394 ac_path_to_link=" -L$ac_find_libraries"
32395 fi
32396 fi
32397
32398 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32399 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32400 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32401 fi
32402
32403 found_gl=1
32404 OPENGL_LIBS="-lGL -lGLU"
32405 { echo "$as_me:$LINENO: result: yes" >&5
32406 echo "${ECHO_T}yes" >&6; }
32407 else
32408 { echo "$as_me:$LINENO: result: no" >&5
32409 echo "${ECHO_T}no" >&6; }
32410 fi
32411 else
32412 { echo "$as_me:$LINENO: result: no" >&5
32413 echo "${ECHO_T}no" >&6; }
32414 fi
32415
32416 if test "$found_gl" != 1; then
32417 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32418 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32419
32420 ac_find_libraries=
32421 for ac_dir in $SEARCH_LIB;
32422 do
32423 for ac_extension in a so sl dylib dll.a; do
32424 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32425 ac_find_libraries=$ac_dir
32426 break 2
32427 fi
32428 done
32429 done
32430
32431 if test "$ac_find_libraries" != "" ; then
32432
32433 if test "$ac_find_libraries" = "default location"; then
32434 ac_path_to_link=""
32435 else
32436 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32437 result=$?
32438 if test $result = 0; then
32439 ac_path_to_link=""
32440 else
32441 ac_path_to_link=" -L$ac_find_libraries"
32442 fi
32443 fi
32444
32445 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32446 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32447 { echo "$as_me:$LINENO: result: yes" >&5
32448 echo "${ECHO_T}yes" >&6; }
32449 else
32450 { echo "$as_me:$LINENO: result: no" >&5
32451 echo "${ECHO_T}no" >&6; }
32452 fi
32453 fi
32454
32455 fi
32456
32457
32458
32459 fi
32460
32461
32462
32463 if test "x$OPENGL_LIBS" = "x"; then
32464 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32465 echo "$as_me: error: OpenGL libraries not available" >&2;}
32466 { (exit 1); exit 1; }; }
32467 fi
32468 fi
32469
32470 if test "$wxUSE_OPENGL" = "yes"; then
32471 USE_OPENGL=1
32472 cat >>confdefs.h <<\_ACEOF
32473 #define wxUSE_OPENGL 1
32474 _ACEOF
32475
32476 cat >>confdefs.h <<\_ACEOF
32477 #define wxUSE_GLCANVAS 1
32478 _ACEOF
32479
32480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32481 fi
32482 fi
32483
32484
32485 if test -n "$TOOLKIT" ; then
32486 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32487 fi
32488
32489
32490
32491 if test "$wxUSE_SHARED" = "yes"; then
32492 case "${host}" in
32493 *-pc-msdosdjgpp )
32494 wxUSE_SHARED=no
32495 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32496 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32497 ;;
32498 esac
32499 fi
32500
32501 if test "$wxUSE_SHARED" = "yes"; then
32502
32503
32504 case "${host}" in
32505 *-*-cygwin* | *-*-mingw* )
32506 wx_cv_version_script=no
32507 ;;
32508
32509 *)
32510 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32511 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32512 if test "${wx_cv_version_script+set}" = set; then
32513 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 else
32515
32516 echo "VER_1 { *; };" >conftest.sym
32517 echo "int main() { return 0; }" >conftest.cpp
32518
32519 if { ac_try='
32520 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32521 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 (eval $ac_try) 2>&5
32524 ac_status=$?
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); }; } ; then
32527 if test -s conftest.stderr ; then
32528 wx_cv_version_script=no
32529 else
32530 wx_cv_version_script=yes
32531 fi
32532 else
32533 wx_cv_version_script=no
32534 fi
32535
32536 if test $wx_cv_version_script = yes
32537 then
32538 echo "struct B { virtual ~B() { } }; \
32539 struct D : public B { }; \
32540 void F() { D d; }" > conftest.cpp
32541
32542 if { ac_try='
32543 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32544 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32547 ac_status=$?
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; } &&
32550 { ac_try='
32551 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32552 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32554 (eval $ac_try) 2>&5
32555 ac_status=$?
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); }; }
32558 then
32559 if { ac_try='
32560 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32561 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; }
32567 then
32568 wx_cv_version_script=yes
32569 else
32570 wx_cv_version_script=no
32571 fi
32572 fi
32573 fi
32574
32575 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32576 rm -f conftest1.output conftest2.output conftest3.output
32577
32578 fi
32579 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32580 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32581
32582 if test $wx_cv_version_script = yes ; then
32583 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32584 fi
32585 ;;
32586 esac
32587
32588
32589 case "${host}" in
32590 *-*-linux* | *-*-gnu* )
32591 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32592 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32593 ;;
32594
32595 *-*-solaris2* )
32596 if test "$GCC" = yes ; then
32597 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32598
32599 saveLdflags="$LDFLAGS"
32600 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32601 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32602 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32603 cat >conftest.$ac_ext <<_ACEOF
32604 /* confdefs.h. */
32605 _ACEOF
32606 cat confdefs.h >>conftest.$ac_ext
32607 cat >>conftest.$ac_ext <<_ACEOF
32608 /* end confdefs.h. */
32609
32610 int
32611 main ()
32612 {
32613
32614 ;
32615 return 0;
32616 }
32617 _ACEOF
32618 rm -f conftest.$ac_objext conftest$ac_exeext
32619 if { (ac_try="$ac_link"
32620 case "(($ac_try" in
32621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32622 *) ac_try_echo=$ac_try;;
32623 esac
32624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32625 (eval "$ac_link") 2>conftest.er1
32626 ac_status=$?
32627 grep -v '^ *+' conftest.er1 >conftest.err
32628 rm -f conftest.er1
32629 cat conftest.err >&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); } && {
32632 test -z "$ac_c_werror_flag" ||
32633 test ! -s conftest.err
32634 } && test -s conftest$ac_exeext &&
32635 $as_test_x conftest$ac_exeext; then
32636
32637 { echo "$as_me:$LINENO: result: yes" >&5
32638 echo "${ECHO_T}yes" >&6; }
32639 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32640 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32641
32642 else
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.$ac_ext >&5
32645
32646
32647 { echo "$as_me:$LINENO: result: no" >&5
32648 echo "${ECHO_T}no" >&6; }
32649 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32650 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32651 LDFLAGS="$saveLdflags -Wl,-R,/"
32652 cat >conftest.$ac_ext <<_ACEOF
32653 /* confdefs.h. */
32654 _ACEOF
32655 cat confdefs.h >>conftest.$ac_ext
32656 cat >>conftest.$ac_ext <<_ACEOF
32657 /* end confdefs.h. */
32658
32659 int
32660 main ()
32661 {
32662
32663 ;
32664 return 0;
32665 }
32666 _ACEOF
32667 rm -f conftest.$ac_objext conftest$ac_exeext
32668 if { (ac_try="$ac_link"
32669 case "(($ac_try" in
32670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32671 *) ac_try_echo=$ac_try;;
32672 esac
32673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32674 (eval "$ac_link") 2>conftest.er1
32675 ac_status=$?
32676 grep -v '^ *+' conftest.er1 >conftest.err
32677 rm -f conftest.er1
32678 cat conftest.err >&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } && {
32681 test -z "$ac_c_werror_flag" ||
32682 test ! -s conftest.err
32683 } && test -s conftest$ac_exeext &&
32684 $as_test_x conftest$ac_exeext; then
32685
32686 { echo "$as_me:$LINENO: result: yes" >&5
32687 echo "${ECHO_T}yes" >&6; }
32688 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32689 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32690
32691 else
32692 echo "$as_me: failed program was:" >&5
32693 sed 's/^/| /' conftest.$ac_ext >&5
32694
32695
32696 { echo "$as_me:$LINENO: result: no" >&5
32697 echo "${ECHO_T}no" >&6; }
32698
32699 fi
32700
32701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32702 conftest$ac_exeext conftest.$ac_ext
32703
32704 fi
32705
32706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32707 conftest$ac_exeext conftest.$ac_ext
32708 LDFLAGS="$saveLdflags"
32709 else
32710 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32711 WXCONFIG_RPATH="-R\$libdir"
32712 fi
32713 ;;
32714
32715 *-*-darwin* )
32716 install_name_tool=`which install_name_tool`
32717 if test "$install_name_tool" -a -x "$install_name_tool"; then
32718 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32719 cat <<EOF >change-install-names
32720 #!/bin/sh
32721 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32722 inst_cmd="install_name_tool "
32723 for i in \${libnames} ; do
32724 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32725 done
32726 \${inst_cmd} \${3}
32727 EOF
32728 chmod +x change-install-names
32729 fi
32730 ;;
32731
32732 *-*-cygwin* | *-*-mingw32* )
32733 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32734 ;;
32735
32736 *-*-hpux* )
32737 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32738 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32739 ;;
32740
32741 esac
32742
32743 if test $wxUSE_RPATH = "no"; then
32744 SAMPLES_RPATH_FLAG=''
32745 SAMPLES_RPATH_POSTLINK=''
32746 WXCONFIG_RPATH=''
32747 fi
32748
32749 SHARED=1
32750
32751 else
32752
32753 config_linkage_component="-static"
32754 SHARED=0
32755
32756 fi
32757
32758
32759 UNICODE=0
32760 lib_unicode_suffix=
32761 WX_CHARTYPE="ansi"
32762 if test "$wxUSE_UNICODE" = "yes"; then
32763 lib_unicode_suffix=u
32764 WX_CHARTYPE="unicode"
32765 UNICODE=1
32766 fi
32767
32768 lib_debug_suffix=
32769 WX_DEBUGTYPE="release"
32770 DEBUG_FLAG=0
32771 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32772 lib_debug_suffix=d
32773 WX_DEBUGTYPE="debug"
32774 DEBUG_FLAG=1
32775 fi
32776
32777 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32778 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32779
32780 DEBUG_INFO=0
32781 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32782 DEBUG_INFO=1
32783 fi
32784
32785 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32786
32787 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32788
32789 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32790
32791 if test "$cross_compiling" = "yes"; then
32792 HOST_SUFFIX="-$host_alias"
32793 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32794 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32795 fi
32796
32797 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32798 if test "${TOOLKIT_DIR}" = "os2"; then
32799 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32800 else
32801 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32802 fi
32803
32804
32805
32806 if test "$wxUSE_COCOA" = 1; then
32807
32808 ac_ext=c
32809 ac_cpp='$CPP $CPPFLAGS'
32810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32813
32814 ac_ext=m
32815
32816 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32817 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32818 cat >conftest.$ac_ext <<_ACEOF
32819 /* confdefs.h. */
32820 _ACEOF
32821 cat confdefs.h >>conftest.$ac_ext
32822 cat >>conftest.$ac_ext <<_ACEOF
32823 /* end confdefs.h. */
32824 #include <AppKit/NSEvent.h>
32825 #include <CoreFoundation/CoreFoundation.h>
32826
32827 int
32828 main ()
32829 {
32830
32831 ;
32832 return 0;
32833 }
32834 _ACEOF
32835 rm -f conftest.$ac_objext
32836 if { (ac_try="$ac_compile"
32837 case "(($ac_try" in
32838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32839 *) ac_try_echo=$ac_try;;
32840 esac
32841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32842 (eval "$ac_compile") 2>conftest.er1
32843 ac_status=$?
32844 grep -v '^ *+' conftest.er1 >conftest.err
32845 rm -f conftest.er1
32846 cat conftest.err >&5
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); } && {
32849 test -z "$ac_c_werror_flag" ||
32850 test ! -s conftest.err
32851 } && test -s conftest.$ac_objext; then
32852 { echo "$as_me:$LINENO: result: no" >&5
32853 echo "${ECHO_T}no" >&6; }
32854 else
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32857
32858 { echo "$as_me:$LINENO: result: yes" >&5
32859 echo "${ECHO_T}yes" >&6; }
32860 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32861 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32862 cat >conftest.$ac_ext <<_ACEOF
32863 /* confdefs.h. */
32864 _ACEOF
32865 cat confdefs.h >>conftest.$ac_ext
32866 cat >>conftest.$ac_ext <<_ACEOF
32867 /* end confdefs.h. */
32868 #define __Point__ 1
32869 #include <AppKit/NSEvent.h>
32870 #include <CoreFoundation/CoreFoundation.h>
32871
32872 int
32873 main ()
32874 {
32875
32876 ;
32877 return 0;
32878 }
32879 _ACEOF
32880 rm -f conftest.$ac_objext
32881 if { (ac_try="$ac_compile"
32882 case "(($ac_try" in
32883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32884 *) ac_try_echo=$ac_try;;
32885 esac
32886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32887 (eval "$ac_compile") 2>conftest.er1
32888 ac_status=$?
32889 grep -v '^ *+' conftest.er1 >conftest.err
32890 rm -f conftest.er1
32891 cat conftest.err >&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); } && {
32894 test -z "$ac_c_werror_flag" ||
32895 test ! -s conftest.err
32896 } && test -s conftest.$ac_objext; then
32897 { echo "$as_me:$LINENO: result: yes" >&5
32898 echo "${ECHO_T}yes" >&6; }
32899 cat >>confdefs.h <<\_ACEOF
32900 #define __Point__ 1
32901 _ACEOF
32902
32903
32904 else
32905 echo "$as_me: failed program was:" >&5
32906 sed 's/^/| /' conftest.$ac_ext >&5
32907
32908 { { echo "$as_me:$LINENO: error: no
32909 See \`config.log' for more details." >&5
32910 echo "$as_me: error: no
32911 See \`config.log' for more details." >&2;}
32912 { (exit 1); exit 1; }; }
32913
32914 fi
32915
32916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917
32918 fi
32919
32920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32921 ac_ext=c
32922 ac_cpp='$CPP $CPPFLAGS'
32923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32926
32927 fi
32928
32929 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32930 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32931 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32932
32933 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32934
32935 # Extract the first word of "Rez", so it can be a program name with args.
32936 set dummy Rez; ac_word=$2
32937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32939 if test "${ac_cv_prog_REZ+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32941 else
32942 if test -n "$REZ"; then
32943 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32944 else
32945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32946 for as_dir in $PATH
32947 do
32948 IFS=$as_save_IFS
32949 test -z "$as_dir" && as_dir=.
32950 for ac_exec_ext in '' $ac_executable_extensions; do
32951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32952 ac_cv_prog_REZ="Rez"
32953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32954 break 2
32955 fi
32956 done
32957 done
32958 IFS=$as_save_IFS
32959
32960 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32961 fi
32962 fi
32963 REZ=$ac_cv_prog_REZ
32964 if test -n "$REZ"; then
32965 { echo "$as_me:$LINENO: result: $REZ" >&5
32966 echo "${ECHO_T}$REZ" >&6; }
32967 else
32968 { echo "$as_me:$LINENO: result: no" >&5
32969 echo "${ECHO_T}no" >&6; }
32970 fi
32971
32972
32973 # Extract the first word of "DeRez", so it can be a program name with args.
32974 set dummy DeRez; ac_word=$2
32975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32977 if test "${ac_cv_prog_DEREZ+set}" = set; then
32978 echo $ECHO_N "(cached) $ECHO_C" >&6
32979 else
32980 if test -n "$DEREZ"; then
32981 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32982 else
32983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32984 for as_dir in $PATH
32985 do
32986 IFS=$as_save_IFS
32987 test -z "$as_dir" && as_dir=.
32988 for ac_exec_ext in '' $ac_executable_extensions; do
32989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32990 ac_cv_prog_DEREZ="DeRez"
32991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32992 break 2
32993 fi
32994 done
32995 done
32996 IFS=$as_save_IFS
32997
32998 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32999 fi
33000 fi
33001 DEREZ=$ac_cv_prog_DEREZ
33002 if test -n "$DEREZ"; then
33003 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33004 echo "${ECHO_T}$DEREZ" >&6; }
33005 else
33006 { echo "$as_me:$LINENO: result: no" >&5
33007 echo "${ECHO_T}no" >&6; }
33008 fi
33009
33010
33011 # Extract the first word of "SetFile", so it can be a program name with args.
33012 set dummy SetFile; ac_word=$2
33013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33015 if test "${ac_cv_prog_SETFILE+set}" = set; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33017 else
33018 if test -n "$SETFILE"; then
33019 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33020 else
33021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33022 for as_dir in $PATH
33023 do
33024 IFS=$as_save_IFS
33025 test -z "$as_dir" && as_dir=.
33026 for ac_exec_ext in '' $ac_executable_extensions; do
33027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33028 ac_cv_prog_SETFILE="SetFile"
33029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33030 break 2
33031 fi
33032 done
33033 done
33034 IFS=$as_save_IFS
33035
33036 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33037 fi
33038 fi
33039 SETFILE=$ac_cv_prog_SETFILE
33040 if test -n "$SETFILE"; then
33041 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33042 echo "${ECHO_T}$SETFILE" >&6; }
33043 else
33044 { echo "$as_me:$LINENO: result: no" >&5
33045 echo "${ECHO_T}no" >&6; }
33046 fi
33047
33048
33049
33050 MACSETFILE="\$(SETFILE)"
33051
33052 if test "$wxUSE_MAC" = 1; then
33053 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33054 RESCOMP="$REZ"
33055 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33056 else
33057 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33058 RESCOMP="echo -n \| $REZ"
33059 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33060 fi
33061
33062 else
33063 MACSETFILE="@true"
33064
33065 if test "$wxUSE_PM" = 1; then
33066 RESCOMP="emxbind"
33067 WXCONFIG_RESFLAGS="-ep"
33068
33069 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33070 else
33071 POSTLINK_COMMAND="@true"
33072 fi
33073
33074 fi
33075
33076
33077
33078 { echo "$as_me:$LINENO: checking for mode_t" >&5
33079 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33080 if test "${ac_cv_type_mode_t+set}" = set; then
33081 echo $ECHO_N "(cached) $ECHO_C" >&6
33082 else
33083 cat >conftest.$ac_ext <<_ACEOF
33084 /* confdefs.h. */
33085 _ACEOF
33086 cat confdefs.h >>conftest.$ac_ext
33087 cat >>conftest.$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089 $ac_includes_default
33090 typedef mode_t ac__type_new_;
33091 int
33092 main ()
33093 {
33094 if ((ac__type_new_ *) 0)
33095 return 0;
33096 if (sizeof (ac__type_new_))
33097 return 0;
33098 ;
33099 return 0;
33100 }
33101 _ACEOF
33102 rm -f conftest.$ac_objext
33103 if { (ac_try="$ac_compile"
33104 case "(($ac_try" in
33105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33106 *) ac_try_echo=$ac_try;;
33107 esac
33108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33109 (eval "$ac_compile") 2>conftest.er1
33110 ac_status=$?
33111 grep -v '^ *+' conftest.er1 >conftest.err
33112 rm -f conftest.er1
33113 cat conftest.err >&5
33114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115 (exit $ac_status); } && {
33116 test -z "$ac_c_werror_flag" ||
33117 test ! -s conftest.err
33118 } && test -s conftest.$ac_objext; then
33119 ac_cv_type_mode_t=yes
33120 else
33121 echo "$as_me: failed program was:" >&5
33122 sed 's/^/| /' conftest.$ac_ext >&5
33123
33124 ac_cv_type_mode_t=no
33125 fi
33126
33127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33128 fi
33129 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33130 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33131 if test $ac_cv_type_mode_t = yes; then
33132 :
33133 else
33134
33135 cat >>confdefs.h <<_ACEOF
33136 #define mode_t int
33137 _ACEOF
33138
33139 fi
33140
33141 { echo "$as_me:$LINENO: checking for off_t" >&5
33142 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33143 if test "${ac_cv_type_off_t+set}" = set; then
33144 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 else
33146 cat >conftest.$ac_ext <<_ACEOF
33147 /* confdefs.h. */
33148 _ACEOF
33149 cat confdefs.h >>conftest.$ac_ext
33150 cat >>conftest.$ac_ext <<_ACEOF
33151 /* end confdefs.h. */
33152 $ac_includes_default
33153 typedef off_t ac__type_new_;
33154 int
33155 main ()
33156 {
33157 if ((ac__type_new_ *) 0)
33158 return 0;
33159 if (sizeof (ac__type_new_))
33160 return 0;
33161 ;
33162 return 0;
33163 }
33164 _ACEOF
33165 rm -f conftest.$ac_objext
33166 if { (ac_try="$ac_compile"
33167 case "(($ac_try" in
33168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33169 *) ac_try_echo=$ac_try;;
33170 esac
33171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33172 (eval "$ac_compile") 2>conftest.er1
33173 ac_status=$?
33174 grep -v '^ *+' conftest.er1 >conftest.err
33175 rm -f conftest.er1
33176 cat conftest.err >&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); } && {
33179 test -z "$ac_c_werror_flag" ||
33180 test ! -s conftest.err
33181 } && test -s conftest.$ac_objext; then
33182 ac_cv_type_off_t=yes
33183 else
33184 echo "$as_me: failed program was:" >&5
33185 sed 's/^/| /' conftest.$ac_ext >&5
33186
33187 ac_cv_type_off_t=no
33188 fi
33189
33190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33191 fi
33192 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33193 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33194 if test $ac_cv_type_off_t = yes; then
33195 :
33196 else
33197
33198 cat >>confdefs.h <<_ACEOF
33199 #define off_t long int
33200 _ACEOF
33201
33202 fi
33203
33204 { echo "$as_me:$LINENO: checking for pid_t" >&5
33205 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33206 if test "${ac_cv_type_pid_t+set}" = set; then
33207 echo $ECHO_N "(cached) $ECHO_C" >&6
33208 else
33209 cat >conftest.$ac_ext <<_ACEOF
33210 /* confdefs.h. */
33211 _ACEOF
33212 cat confdefs.h >>conftest.$ac_ext
33213 cat >>conftest.$ac_ext <<_ACEOF
33214 /* end confdefs.h. */
33215 $ac_includes_default
33216 typedef pid_t ac__type_new_;
33217 int
33218 main ()
33219 {
33220 if ((ac__type_new_ *) 0)
33221 return 0;
33222 if (sizeof (ac__type_new_))
33223 return 0;
33224 ;
33225 return 0;
33226 }
33227 _ACEOF
33228 rm -f conftest.$ac_objext
33229 if { (ac_try="$ac_compile"
33230 case "(($ac_try" in
33231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33232 *) ac_try_echo=$ac_try;;
33233 esac
33234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33235 (eval "$ac_compile") 2>conftest.er1
33236 ac_status=$?
33237 grep -v '^ *+' conftest.er1 >conftest.err
33238 rm -f conftest.er1
33239 cat conftest.err >&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } && {
33242 test -z "$ac_c_werror_flag" ||
33243 test ! -s conftest.err
33244 } && test -s conftest.$ac_objext; then
33245 ac_cv_type_pid_t=yes
33246 else
33247 echo "$as_me: failed program was:" >&5
33248 sed 's/^/| /' conftest.$ac_ext >&5
33249
33250 ac_cv_type_pid_t=no
33251 fi
33252
33253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33254 fi
33255 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33256 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33257 if test $ac_cv_type_pid_t = yes; then
33258 :
33259 else
33260
33261 cat >>confdefs.h <<_ACEOF
33262 #define pid_t int
33263 _ACEOF
33264
33265 fi
33266
33267 { echo "$as_me:$LINENO: checking for size_t" >&5
33268 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33269 if test "${ac_cv_type_size_t+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 else
33272 cat >conftest.$ac_ext <<_ACEOF
33273 /* confdefs.h. */
33274 _ACEOF
33275 cat confdefs.h >>conftest.$ac_ext
33276 cat >>conftest.$ac_ext <<_ACEOF
33277 /* end confdefs.h. */
33278 $ac_includes_default
33279 typedef size_t ac__type_new_;
33280 int
33281 main ()
33282 {
33283 if ((ac__type_new_ *) 0)
33284 return 0;
33285 if (sizeof (ac__type_new_))
33286 return 0;
33287 ;
33288 return 0;
33289 }
33290 _ACEOF
33291 rm -f conftest.$ac_objext
33292 if { (ac_try="$ac_compile"
33293 case "(($ac_try" in
33294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33295 *) ac_try_echo=$ac_try;;
33296 esac
33297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33298 (eval "$ac_compile") 2>conftest.er1
33299 ac_status=$?
33300 grep -v '^ *+' conftest.er1 >conftest.err
33301 rm -f conftest.er1
33302 cat conftest.err >&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); } && {
33305 test -z "$ac_c_werror_flag" ||
33306 test ! -s conftest.err
33307 } && test -s conftest.$ac_objext; then
33308 ac_cv_type_size_t=yes
33309 else
33310 echo "$as_me: failed program was:" >&5
33311 sed 's/^/| /' conftest.$ac_ext >&5
33312
33313 ac_cv_type_size_t=no
33314 fi
33315
33316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33317 fi
33318 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33319 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33320 if test $ac_cv_type_size_t = yes; then
33321 :
33322 else
33323
33324 cat >>confdefs.h <<_ACEOF
33325 #define size_t unsigned int
33326 _ACEOF
33327
33328 fi
33329
33330 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33331 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33332 if test "${ac_cv_type_uid_t+set}" = set; then
33333 echo $ECHO_N "(cached) $ECHO_C" >&6
33334 else
33335 cat >conftest.$ac_ext <<_ACEOF
33336 /* confdefs.h. */
33337 _ACEOF
33338 cat confdefs.h >>conftest.$ac_ext
33339 cat >>conftest.$ac_ext <<_ACEOF
33340 /* end confdefs.h. */
33341 #include <sys/types.h>
33342
33343 _ACEOF
33344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33345 $EGREP "uid_t" >/dev/null 2>&1; then
33346 ac_cv_type_uid_t=yes
33347 else
33348 ac_cv_type_uid_t=no
33349 fi
33350 rm -f conftest*
33351
33352 fi
33353 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33354 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33355 if test $ac_cv_type_uid_t = no; then
33356
33357 cat >>confdefs.h <<\_ACEOF
33358 #define uid_t int
33359 _ACEOF
33360
33361
33362 cat >>confdefs.h <<\_ACEOF
33363 #define gid_t int
33364 _ACEOF
33365
33366 fi
33367
33368
33369 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33370 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33371 if test "${ac_cv_type_ssize_t+set}" = set; then
33372 echo $ECHO_N "(cached) $ECHO_C" >&6
33373 else
33374 cat >conftest.$ac_ext <<_ACEOF
33375 /* confdefs.h. */
33376 _ACEOF
33377 cat confdefs.h >>conftest.$ac_ext
33378 cat >>conftest.$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33381 typedef ssize_t ac__type_new_;
33382 int
33383 main ()
33384 {
33385 if ((ac__type_new_ *) 0)
33386 return 0;
33387 if (sizeof (ac__type_new_))
33388 return 0;
33389 ;
33390 return 0;
33391 }
33392 _ACEOF
33393 rm -f conftest.$ac_objext
33394 if { (ac_try="$ac_compile"
33395 case "(($ac_try" in
33396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33397 *) ac_try_echo=$ac_try;;
33398 esac
33399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33400 (eval "$ac_compile") 2>conftest.er1
33401 ac_status=$?
33402 grep -v '^ *+' conftest.er1 >conftest.err
33403 rm -f conftest.er1
33404 cat conftest.err >&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } && {
33407 test -z "$ac_c_werror_flag" ||
33408 test ! -s conftest.err
33409 } && test -s conftest.$ac_objext; then
33410 ac_cv_type_ssize_t=yes
33411 else
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33414
33415 ac_cv_type_ssize_t=no
33416 fi
33417
33418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33419 fi
33420 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33421 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33422 if test $ac_cv_type_ssize_t = yes; then
33423
33424 cat >>confdefs.h <<_ACEOF
33425 #define HAVE_SSIZE_T 1
33426 _ACEOF
33427
33428
33429 fi
33430
33431
33432 ac_ext=cpp
33433 ac_cpp='$CXXCPP $CPPFLAGS'
33434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33437 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33438 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33439 if test "${wx_cv_size_t_is_uint+set}" = set; then
33440 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 else
33442
33443 cat >conftest.$ac_ext <<_ACEOF
33444 /* confdefs.h. */
33445 _ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449 #include <stddef.h>
33450 int
33451 main ()
33452 {
33453
33454 return 0; }
33455
33456 struct Foo { void foo(size_t); void foo(unsigned int); };
33457
33458 int bar() {
33459
33460 ;
33461 return 0;
33462 }
33463 _ACEOF
33464 rm -f conftest.$ac_objext
33465 if { (ac_try="$ac_compile"
33466 case "(($ac_try" in
33467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33468 *) ac_try_echo=$ac_try;;
33469 esac
33470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33471 (eval "$ac_compile") 2>conftest.er1
33472 ac_status=$?
33473 grep -v '^ *+' conftest.er1 >conftest.err
33474 rm -f conftest.er1
33475 cat conftest.err >&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); } && {
33478 test -z "$ac_cxx_werror_flag" ||
33479 test ! -s conftest.err
33480 } && test -s conftest.$ac_objext; then
33481 wx_cv_size_t_is_uint=no
33482 else
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.$ac_ext >&5
33485
33486 wx_cv_size_t_is_uint=yes
33487
33488 fi
33489
33490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33491
33492
33493 fi
33494 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33495 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33496
33497 if test "$wx_cv_size_t_is_uint" = "yes"; then
33498 cat >>confdefs.h <<\_ACEOF
33499 #define wxSIZE_T_IS_UINT 1
33500 _ACEOF
33501
33502 else
33503 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33504 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33505 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 else
33508 cat >conftest.$ac_ext <<_ACEOF
33509 /* confdefs.h. */
33510 _ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 #include <stddef.h>
33515 int
33516 main ()
33517 {
33518
33519 return 0; }
33520
33521 struct Foo { void foo(size_t); void foo(unsigned long); };
33522
33523 int bar() {
33524
33525 ;
33526 return 0;
33527 }
33528 _ACEOF
33529 rm -f conftest.$ac_objext
33530 if { (ac_try="$ac_compile"
33531 case "(($ac_try" in
33532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33533 *) ac_try_echo=$ac_try;;
33534 esac
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_compile") 2>conftest.er1
33537 ac_status=$?
33538 grep -v '^ *+' conftest.er1 >conftest.err
33539 rm -f conftest.er1
33540 cat conftest.err >&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } && {
33543 test -z "$ac_cxx_werror_flag" ||
33544 test ! -s conftest.err
33545 } && test -s conftest.$ac_objext; then
33546 wx_cv_size_t_is_ulong=no
33547 else
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33550
33551 wx_cv_size_t_is_ulong=yes
33552
33553 fi
33554
33555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33556
33557 fi
33558 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33559 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33560
33561 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33562 cat >>confdefs.h <<\_ACEOF
33563 #define wxSIZE_T_IS_ULONG 1
33564 _ACEOF
33565
33566 fi
33567 fi
33568
33569 ac_ext=c
33570 ac_cpp='$CPP $CPPFLAGS'
33571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33574
33575
33576 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33577 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33578 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33580 else
33581
33582 cat >conftest.$ac_ext <<_ACEOF
33583 /* confdefs.h. */
33584 _ACEOF
33585 cat confdefs.h >>conftest.$ac_ext
33586 cat >>conftest.$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33588 #include <pwd.h>
33589 int
33590 main ()
33591 {
33592
33593 char *p;
33594 struct passwd *pw;
33595 p = pw->pw_gecos;
33596
33597 ;
33598 return 0;
33599 }
33600 _ACEOF
33601 rm -f conftest.$ac_objext
33602 if { (ac_try="$ac_compile"
33603 case "(($ac_try" in
33604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33605 *) ac_try_echo=$ac_try;;
33606 esac
33607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33608 (eval "$ac_compile") 2>conftest.er1
33609 ac_status=$?
33610 grep -v '^ *+' conftest.er1 >conftest.err
33611 rm -f conftest.er1
33612 cat conftest.err >&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } && {
33615 test -z "$ac_c_werror_flag" ||
33616 test ! -s conftest.err
33617 } && test -s conftest.$ac_objext; then
33618
33619 wx_cv_struct_pw_gecos=yes
33620
33621 else
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33624
33625
33626 wx_cv_struct_pw_gecos=no
33627
33628
33629 fi
33630
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33632
33633
33634 fi
33635 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33636 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33637
33638 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33639 cat >>confdefs.h <<\_ACEOF
33640 #define HAVE_PW_GECOS 1
33641 _ACEOF
33642
33643 fi
33644
33645
33646 if test "$wxUSE_WCHAR_T" = "yes"; then
33647 cat >>confdefs.h <<\_ACEOF
33648 #define wxUSE_WCHAR_T 1
33649 _ACEOF
33650
33651
33652 WCSLEN_FOUND=0
33653 WCHAR_LINK=
33654
33655 for ac_func in wcslen
33656 do
33657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33658 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33662 else
33663 cat >conftest.$ac_ext <<_ACEOF
33664 /* confdefs.h. */
33665 _ACEOF
33666 cat confdefs.h >>conftest.$ac_ext
33667 cat >>conftest.$ac_ext <<_ACEOF
33668 /* end confdefs.h. */
33669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33671 #define $ac_func innocuous_$ac_func
33672
33673 /* System header to define __stub macros and hopefully few prototypes,
33674 which can conflict with char $ac_func (); below.
33675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33676 <limits.h> exists even on freestanding compilers. */
33677
33678 #ifdef __STDC__
33679 # include <limits.h>
33680 #else
33681 # include <assert.h>
33682 #endif
33683
33684 #undef $ac_func
33685
33686 /* Override any GCC internal prototype to avoid an error.
33687 Use char because int might match the return type of a GCC
33688 builtin and then its argument prototype would still apply. */
33689 #ifdef __cplusplus
33690 extern "C"
33691 #endif
33692 char $ac_func ();
33693 /* The GNU C library defines this for functions which it implements
33694 to always fail with ENOSYS. Some functions are actually named
33695 something starting with __ and the normal name is an alias. */
33696 #if defined __stub_$ac_func || defined __stub___$ac_func
33697 choke me
33698 #endif
33699
33700 int
33701 main ()
33702 {
33703 return $ac_func ();
33704 ;
33705 return 0;
33706 }
33707 _ACEOF
33708 rm -f conftest.$ac_objext conftest$ac_exeext
33709 if { (ac_try="$ac_link"
33710 case "(($ac_try" in
33711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33712 *) ac_try_echo=$ac_try;;
33713 esac
33714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33715 (eval "$ac_link") 2>conftest.er1
33716 ac_status=$?
33717 grep -v '^ *+' conftest.er1 >conftest.err
33718 rm -f conftest.er1
33719 cat conftest.err >&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); } && {
33722 test -z "$ac_c_werror_flag" ||
33723 test ! -s conftest.err
33724 } && test -s conftest$ac_exeext &&
33725 $as_test_x conftest$ac_exeext; then
33726 eval "$as_ac_var=yes"
33727 else
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33730
33731 eval "$as_ac_var=no"
33732 fi
33733
33734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33735 conftest$ac_exeext conftest.$ac_ext
33736 fi
33737 ac_res=`eval echo '${'$as_ac_var'}'`
33738 { echo "$as_me:$LINENO: result: $ac_res" >&5
33739 echo "${ECHO_T}$ac_res" >&6; }
33740 if test `eval echo '${'$as_ac_var'}'` = yes; then
33741 cat >>confdefs.h <<_ACEOF
33742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33743 _ACEOF
33744 WCSLEN_FOUND=1
33745 fi
33746 done
33747
33748
33749 if test "$WCSLEN_FOUND" = 0; then
33750 if test "$TOOLKIT" = "MSW"; then
33751 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33752 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33753 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 else
33756 ac_check_lib_save_LIBS=$LIBS
33757 LIBS="-lmsvcrt $LIBS"
33758 cat >conftest.$ac_ext <<_ACEOF
33759 /* confdefs.h. */
33760 _ACEOF
33761 cat confdefs.h >>conftest.$ac_ext
33762 cat >>conftest.$ac_ext <<_ACEOF
33763 /* end confdefs.h. */
33764
33765 /* Override any GCC internal prototype to avoid an error.
33766 Use char because int might match the return type of a GCC
33767 builtin and then its argument prototype would still apply. */
33768 #ifdef __cplusplus
33769 extern "C"
33770 #endif
33771 char wcslen ();
33772 int
33773 main ()
33774 {
33775 return wcslen ();
33776 ;
33777 return 0;
33778 }
33779 _ACEOF
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (ac_try="$ac_link"
33782 case "(($ac_try" in
33783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33784 *) ac_try_echo=$ac_try;;
33785 esac
33786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33787 (eval "$ac_link") 2>conftest.er1
33788 ac_status=$?
33789 grep -v '^ *+' conftest.er1 >conftest.err
33790 rm -f conftest.er1
33791 cat conftest.err >&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } && {
33794 test -z "$ac_c_werror_flag" ||
33795 test ! -s conftest.err
33796 } && test -s conftest$ac_exeext &&
33797 $as_test_x conftest$ac_exeext; then
33798 ac_cv_lib_msvcrt_wcslen=yes
33799 else
33800 echo "$as_me: failed program was:" >&5
33801 sed 's/^/| /' conftest.$ac_ext >&5
33802
33803 ac_cv_lib_msvcrt_wcslen=no
33804 fi
33805
33806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33807 conftest$ac_exeext conftest.$ac_ext
33808 LIBS=$ac_check_lib_save_LIBS
33809 fi
33810 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33811 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33812 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33813 WCHAR_OK=1
33814 fi
33815
33816 else
33817 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33818 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33819 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33820 echo $ECHO_N "(cached) $ECHO_C" >&6
33821 else
33822 ac_check_lib_save_LIBS=$LIBS
33823 LIBS="-lw $LIBS"
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h. */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830
33831 /* Override any GCC internal prototype to avoid an error.
33832 Use char because int might match the return type of a GCC
33833 builtin and then its argument prototype would still apply. */
33834 #ifdef __cplusplus
33835 extern "C"
33836 #endif
33837 char wcslen ();
33838 int
33839 main ()
33840 {
33841 return wcslen ();
33842 ;
33843 return 0;
33844 }
33845 _ACEOF
33846 rm -f conftest.$ac_objext conftest$ac_exeext
33847 if { (ac_try="$ac_link"
33848 case "(($ac_try" in
33849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33850 *) ac_try_echo=$ac_try;;
33851 esac
33852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33853 (eval "$ac_link") 2>conftest.er1
33854 ac_status=$?
33855 grep -v '^ *+' conftest.er1 >conftest.err
33856 rm -f conftest.er1
33857 cat conftest.err >&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } && {
33860 test -z "$ac_c_werror_flag" ||
33861 test ! -s conftest.err
33862 } && test -s conftest$ac_exeext &&
33863 $as_test_x conftest$ac_exeext; then
33864 ac_cv_lib_w_wcslen=yes
33865 else
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33868
33869 ac_cv_lib_w_wcslen=no
33870 fi
33871
33872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33873 conftest$ac_exeext conftest.$ac_ext
33874 LIBS=$ac_check_lib_save_LIBS
33875 fi
33876 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33877 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33878 if test $ac_cv_lib_w_wcslen = yes; then
33879
33880 WCHAR_LINK=" -lw"
33881 WCSLEN_FOUND=1
33882
33883 fi
33884
33885 fi
33886 fi
33887
33888 if test "$WCSLEN_FOUND" = 1; then
33889 cat >>confdefs.h <<\_ACEOF
33890 #define HAVE_WCSLEN 1
33891 _ACEOF
33892
33893 fi
33894
33895 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33896 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33897 fi
33898
33899 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33900 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33901 if test "${ac_cv_type_mbstate_t+set}" = set; then
33902 echo $ECHO_N "(cached) $ECHO_C" >&6
33903 else
33904 cat >conftest.$ac_ext <<_ACEOF
33905 /* confdefs.h. */
33906 _ACEOF
33907 cat confdefs.h >>conftest.$ac_ext
33908 cat >>conftest.$ac_ext <<_ACEOF
33909 /* end confdefs.h. */
33910 #include <wchar.h>
33911
33912 typedef mbstate_t ac__type_new_;
33913 int
33914 main ()
33915 {
33916 if ((ac__type_new_ *) 0)
33917 return 0;
33918 if (sizeof (ac__type_new_))
33919 return 0;
33920 ;
33921 return 0;
33922 }
33923 _ACEOF
33924 rm -f conftest.$ac_objext
33925 if { (ac_try="$ac_compile"
33926 case "(($ac_try" in
33927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33928 *) ac_try_echo=$ac_try;;
33929 esac
33930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33931 (eval "$ac_compile") 2>conftest.er1
33932 ac_status=$?
33933 grep -v '^ *+' conftest.er1 >conftest.err
33934 rm -f conftest.er1
33935 cat conftest.err >&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } && {
33938 test -z "$ac_c_werror_flag" ||
33939 test ! -s conftest.err
33940 } && test -s conftest.$ac_objext; then
33941 ac_cv_type_mbstate_t=yes
33942 else
33943 echo "$as_me: failed program was:" >&5
33944 sed 's/^/| /' conftest.$ac_ext >&5
33945
33946 ac_cv_type_mbstate_t=no
33947 fi
33948
33949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33950 fi
33951 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33952 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33953 if test $ac_cv_type_mbstate_t = yes; then
33954
33955 cat >>confdefs.h <<_ACEOF
33956 #define HAVE_MBSTATE_T 1
33957 _ACEOF
33958
33959
33960 for ac_func in wcsrtombs
33961 do
33962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33966 echo $ECHO_N "(cached) $ECHO_C" >&6
33967 else
33968 cat >conftest.$ac_ext <<_ACEOF
33969 /* confdefs.h. */
33970 _ACEOF
33971 cat confdefs.h >>conftest.$ac_ext
33972 cat >>conftest.$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33976 #define $ac_func innocuous_$ac_func
33977
33978 /* System header to define __stub macros and hopefully few prototypes,
33979 which can conflict with char $ac_func (); below.
33980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981 <limits.h> exists even on freestanding compilers. */
33982
33983 #ifdef __STDC__
33984 # include <limits.h>
33985 #else
33986 # include <assert.h>
33987 #endif
33988
33989 #undef $ac_func
33990
33991 /* Override any GCC internal prototype to avoid an error.
33992 Use char because int might match the return type of a GCC
33993 builtin and then its argument prototype would still apply. */
33994 #ifdef __cplusplus
33995 extern "C"
33996 #endif
33997 char $ac_func ();
33998 /* The GNU C library defines this for functions which it implements
33999 to always fail with ENOSYS. Some functions are actually named
34000 something starting with __ and the normal name is an alias. */
34001 #if defined __stub_$ac_func || defined __stub___$ac_func
34002 choke me
34003 #endif
34004
34005 int
34006 main ()
34007 {
34008 return $ac_func ();
34009 ;
34010 return 0;
34011 }
34012 _ACEOF
34013 rm -f conftest.$ac_objext conftest$ac_exeext
34014 if { (ac_try="$ac_link"
34015 case "(($ac_try" in
34016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34017 *) ac_try_echo=$ac_try;;
34018 esac
34019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34020 (eval "$ac_link") 2>conftest.er1
34021 ac_status=$?
34022 grep -v '^ *+' conftest.er1 >conftest.err
34023 rm -f conftest.er1
34024 cat conftest.err >&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); } && {
34027 test -z "$ac_c_werror_flag" ||
34028 test ! -s conftest.err
34029 } && test -s conftest$ac_exeext &&
34030 $as_test_x conftest$ac_exeext; then
34031 eval "$as_ac_var=yes"
34032 else
34033 echo "$as_me: failed program was:" >&5
34034 sed 's/^/| /' conftest.$ac_ext >&5
34035
34036 eval "$as_ac_var=no"
34037 fi
34038
34039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34040 conftest$ac_exeext conftest.$ac_ext
34041 fi
34042 ac_res=`eval echo '${'$as_ac_var'}'`
34043 { echo "$as_me:$LINENO: result: $ac_res" >&5
34044 echo "${ECHO_T}$ac_res" >&6; }
34045 if test `eval echo '${'$as_ac_var'}'` = yes; then
34046 cat >>confdefs.h <<_ACEOF
34047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34048 _ACEOF
34049
34050 fi
34051 done
34052
34053 fi
34054
34055 else
34056 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34057 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34058 fi
34059
34060
34061
34062 for ac_func in snprintf vsnprintf
34063 do
34064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 else
34070 cat >conftest.$ac_ext <<_ACEOF
34071 /* confdefs.h. */
34072 _ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h. */
34076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34078 #define $ac_func innocuous_$ac_func
34079
34080 /* System header to define __stub macros and hopefully few prototypes,
34081 which can conflict with char $ac_func (); below.
34082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34083 <limits.h> exists even on freestanding compilers. */
34084
34085 #ifdef __STDC__
34086 # include <limits.h>
34087 #else
34088 # include <assert.h>
34089 #endif
34090
34091 #undef $ac_func
34092
34093 /* Override any GCC internal prototype to avoid an error.
34094 Use char because int might match the return type of a GCC
34095 builtin and then its argument prototype would still apply. */
34096 #ifdef __cplusplus
34097 extern "C"
34098 #endif
34099 char $ac_func ();
34100 /* The GNU C library defines this for functions which it implements
34101 to always fail with ENOSYS. Some functions are actually named
34102 something starting with __ and the normal name is an alias. */
34103 #if defined __stub_$ac_func || defined __stub___$ac_func
34104 choke me
34105 #endif
34106
34107 int
34108 main ()
34109 {
34110 return $ac_func ();
34111 ;
34112 return 0;
34113 }
34114 _ACEOF
34115 rm -f conftest.$ac_objext conftest$ac_exeext
34116 if { (ac_try="$ac_link"
34117 case "(($ac_try" in
34118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34119 *) ac_try_echo=$ac_try;;
34120 esac
34121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34122 (eval "$ac_link") 2>conftest.er1
34123 ac_status=$?
34124 grep -v '^ *+' conftest.er1 >conftest.err
34125 rm -f conftest.er1
34126 cat conftest.err >&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); } && {
34129 test -z "$ac_c_werror_flag" ||
34130 test ! -s conftest.err
34131 } && test -s conftest$ac_exeext &&
34132 $as_test_x conftest$ac_exeext; then
34133 eval "$as_ac_var=yes"
34134 else
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.$ac_ext >&5
34137
34138 eval "$as_ac_var=no"
34139 fi
34140
34141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34142 conftest$ac_exeext conftest.$ac_ext
34143 fi
34144 ac_res=`eval echo '${'$as_ac_var'}'`
34145 { echo "$as_me:$LINENO: result: $ac_res" >&5
34146 echo "${ECHO_T}$ac_res" >&6; }
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h <<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34150 _ACEOF
34151
34152 fi
34153 done
34154
34155
34156 if test "$ac_cv_func_vsnprintf" = "yes"; then
34157 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34158 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34159 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34160 echo $ECHO_N "(cached) $ECHO_C" >&6
34161 else
34162
34163 cat >conftest.$ac_ext <<_ACEOF
34164 /* confdefs.h. */
34165 _ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34169
34170 #include <stdio.h>
34171 #include <stdarg.h>
34172 #ifdef __MSL__
34173 #if __MSL__ >= 0x6000
34174 namespace std {}
34175 using namespace std;
34176 #endif
34177 #endif
34178
34179 int
34180 main ()
34181 {
34182
34183 char *buf;
34184 va_list ap;
34185 vsnprintf(buf, 10u, "%s", ap);
34186
34187 ;
34188 return 0;
34189 }
34190 _ACEOF
34191 rm -f conftest.$ac_objext
34192 if { (ac_try="$ac_compile"
34193 case "(($ac_try" in
34194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34195 *) ac_try_echo=$ac_try;;
34196 esac
34197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34198 (eval "$ac_compile") 2>conftest.er1
34199 ac_status=$?
34200 grep -v '^ *+' conftest.er1 >conftest.err
34201 rm -f conftest.er1
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } && {
34205 test -z "$ac_c_werror_flag" ||
34206 test ! -s conftest.err
34207 } && test -s conftest.$ac_objext; then
34208 wx_cv_func_vsnprintf_decl=yes
34209 else
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.$ac_ext >&5
34212
34213 wx_cv_func_vsnprintf_decl=no
34214
34215 fi
34216
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34218
34219
34220 fi
34221 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34222 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34223
34224 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34225 cat >>confdefs.h <<\_ACEOF
34226 #define HAVE_VSNPRINTF_DECL 1
34227 _ACEOF
34228
34229
34230 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34231 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34232 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34233 echo $ECHO_N "(cached) $ECHO_C" >&6
34234 else
34235
34236 cat >conftest.$ac_ext <<_ACEOF
34237 /* confdefs.h. */
34238 _ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242
34243 #include <stdio.h>
34244 #include <stdarg.h>
34245 #ifdef __MSL__
34246 #if __MSL__ >= 0x6000
34247 namespace std {}
34248 using namespace std;
34249 #endif
34250 #endif
34251
34252 int
34253 main ()
34254 {
34255
34256 char *buf;
34257 va_list ap;
34258 const char *fmt = "%s";
34259 vsnprintf(buf, 10u, fmt, ap);
34260
34261 ;
34262 return 0;
34263 }
34264 _ACEOF
34265 rm -f conftest.$ac_objext
34266 if { (ac_try="$ac_compile"
34267 case "(($ac_try" in
34268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34269 *) ac_try_echo=$ac_try;;
34270 esac
34271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34272 (eval "$ac_compile") 2>conftest.er1
34273 ac_status=$?
34274 grep -v '^ *+' conftest.er1 >conftest.err
34275 rm -f conftest.er1
34276 cat conftest.err >&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); } && {
34279 test -z "$ac_c_werror_flag" ||
34280 test ! -s conftest.err
34281 } && test -s conftest.$ac_objext; then
34282 wx_cv_func_broken_vsnprintf_decl=no
34283 else
34284 echo "$as_me: failed program was:" >&5
34285 sed 's/^/| /' conftest.$ac_ext >&5
34286
34287 wx_cv_func_broken_vsnprintf_decl=yes
34288
34289 fi
34290
34291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34292
34293
34294 fi
34295 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34296 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34297
34298 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34299 cat >>confdefs.h <<\_ACEOF
34300 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34301 _ACEOF
34302
34303 fi
34304 fi
34305 fi
34306
34307 if test "$ac_cv_func_snprintf" = "yes"; then
34308 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34309 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34310 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34311 echo $ECHO_N "(cached) $ECHO_C" >&6
34312 else
34313
34314 cat >conftest.$ac_ext <<_ACEOF
34315 /* confdefs.h. */
34316 _ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34320
34321 #include <stdio.h>
34322 #include <stdarg.h>
34323 #ifdef __MSL__
34324 #if __MSL__ >= 0x6000
34325 namespace std {}
34326 using namespace std;
34327 #endif
34328 #endif
34329
34330 int
34331 main ()
34332 {
34333
34334 char *buf;
34335 snprintf(buf, 10u, "%s", "wx");
34336
34337 ;
34338 return 0;
34339 }
34340 _ACEOF
34341 rm -f conftest.$ac_objext
34342 if { (ac_try="$ac_compile"
34343 case "(($ac_try" in
34344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34345 *) ac_try_echo=$ac_try;;
34346 esac
34347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34348 (eval "$ac_compile") 2>conftest.er1
34349 ac_status=$?
34350 grep -v '^ *+' conftest.er1 >conftest.err
34351 rm -f conftest.er1
34352 cat conftest.err >&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); } && {
34355 test -z "$ac_c_werror_flag" ||
34356 test ! -s conftest.err
34357 } && test -s conftest.$ac_objext; then
34358 wx_cv_func_snprintf_decl=yes
34359 else
34360 echo "$as_me: failed program was:" >&5
34361 sed 's/^/| /' conftest.$ac_ext >&5
34362
34363 wx_cv_func_snprintf_decl=no
34364
34365 fi
34366
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34368
34369
34370 fi
34371 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34372 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34373
34374 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34375 cat >>confdefs.h <<\_ACEOF
34376 #define HAVE_SNPRINTF_DECL 1
34377 _ACEOF
34378
34379
34380 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34381 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34382 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34385
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392
34393 #include <stdio.h>
34394 #include <stdarg.h>
34395 #ifdef __MSL__
34396 #if __MSL__ >= 0x6000
34397 namespace std {}
34398 using namespace std;
34399 #endif
34400 #endif
34401
34402 int
34403 main ()
34404 {
34405
34406 char *buf;
34407 const char *fmt = "%s";
34408 snprintf(buf, 10u, fmt, "wx");
34409
34410 ;
34411 return 0;
34412 }
34413 _ACEOF
34414 rm -f conftest.$ac_objext
34415 if { (ac_try="$ac_compile"
34416 case "(($ac_try" in
34417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34418 *) ac_try_echo=$ac_try;;
34419 esac
34420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34421 (eval "$ac_compile") 2>conftest.er1
34422 ac_status=$?
34423 grep -v '^ *+' conftest.er1 >conftest.err
34424 rm -f conftest.er1
34425 cat conftest.err >&5
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); } && {
34428 test -z "$ac_c_werror_flag" ||
34429 test ! -s conftest.err
34430 } && test -s conftest.$ac_objext; then
34431 wx_cv_func_broken_snprintf_decl=no
34432 else
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.$ac_ext >&5
34435
34436 wx_cv_func_broken_snprintf_decl=yes
34437
34438 fi
34439
34440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34441
34442
34443 fi
34444 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34445 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34446
34447 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34448 cat >>confdefs.h <<\_ACEOF
34449 #define HAVE_BROKEN_SNPRINTF_DECL 1
34450 _ACEOF
34451
34452 fi
34453 fi
34454
34455 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34456
34457 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34458 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34459 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34460 echo $ECHO_N "(cached) $ECHO_C" >&6
34461 else
34462
34463 if test "$cross_compiling" = yes; then
34464
34465 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34466 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34467 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34468 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34469 wx_cv_func_snprintf_pos_params=no
34470
34471
34472 else
34473 cat >conftest.$ac_ext <<_ACEOF
34474 /* confdefs.h. */
34475 _ACEOF
34476 cat confdefs.h >>conftest.$ac_ext
34477 cat >>conftest.$ac_ext <<_ACEOF
34478 /* end confdefs.h. */
34479
34480 #include <stdio.h>
34481
34482 int main (void)
34483 {
34484 char buffer[128];
34485 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34486 if (strcmp ("2 3 1", buffer) == 0)
34487 exit (0);
34488 exit (1);
34489 }
34490
34491 _ACEOF
34492 rm -f conftest$ac_exeext
34493 if { (ac_try="$ac_link"
34494 case "(($ac_try" in
34495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34496 *) ac_try_echo=$ac_try;;
34497 esac
34498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34499 (eval "$ac_link") 2>&5
34500 ac_status=$?
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34503 { (case "(($ac_try" in
34504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34505 *) ac_try_echo=$ac_try;;
34506 esac
34507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34508 (eval "$ac_try") 2>&5
34509 ac_status=$?
34510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34511 (exit $ac_status); }; }; then
34512 wx_cv_func_snprintf_pos_params=no
34513 else
34514 echo "$as_me: program exited with status $ac_status" >&5
34515 echo "$as_me: failed program was:" >&5
34516 sed 's/^/| /' conftest.$ac_ext >&5
34517
34518 ( exit $ac_status )
34519 wx_cv_func_snprintf_pos_params=yes
34520 fi
34521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34522 fi
34523
34524
34525
34526
34527 fi
34528 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34529 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34530
34531 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34532 cat >>confdefs.h <<\_ACEOF
34533 #define HAVE_UNIX98_PRINTF 1
34534 _ACEOF
34535
34536 fi
34537 fi
34538 fi
34539
34540 if test "$wxUSE_UNICODE" = yes; then
34541
34542
34543 for ac_func in swprintf
34544 do
34545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34546 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34548 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551 cat >conftest.$ac_ext <<_ACEOF
34552 /* confdefs.h. */
34553 _ACEOF
34554 cat confdefs.h >>conftest.$ac_ext
34555 cat >>conftest.$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34559 #define $ac_func innocuous_$ac_func
34560
34561 /* System header to define __stub macros and hopefully few prototypes,
34562 which can conflict with char $ac_func (); below.
34563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34564 <limits.h> exists even on freestanding compilers. */
34565
34566 #ifdef __STDC__
34567 # include <limits.h>
34568 #else
34569 # include <assert.h>
34570 #endif
34571
34572 #undef $ac_func
34573
34574 /* Override any GCC internal prototype to avoid an error.
34575 Use char because int might match the return type of a GCC
34576 builtin and then its argument prototype would still apply. */
34577 #ifdef __cplusplus
34578 extern "C"
34579 #endif
34580 char $ac_func ();
34581 /* The GNU C library defines this for functions which it implements
34582 to always fail with ENOSYS. Some functions are actually named
34583 something starting with __ and the normal name is an alias. */
34584 #if defined __stub_$ac_func || defined __stub___$ac_func
34585 choke me
34586 #endif
34587
34588 int
34589 main ()
34590 {
34591 return $ac_func ();
34592 ;
34593 return 0;
34594 }
34595 _ACEOF
34596 rm -f conftest.$ac_objext conftest$ac_exeext
34597 if { (ac_try="$ac_link"
34598 case "(($ac_try" in
34599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34600 *) ac_try_echo=$ac_try;;
34601 esac
34602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34603 (eval "$ac_link") 2>conftest.er1
34604 ac_status=$?
34605 grep -v '^ *+' conftest.er1 >conftest.err
34606 rm -f conftest.er1
34607 cat conftest.err >&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); } && {
34610 test -z "$ac_c_werror_flag" ||
34611 test ! -s conftest.err
34612 } && test -s conftest$ac_exeext &&
34613 $as_test_x conftest$ac_exeext; then
34614 eval "$as_ac_var=yes"
34615 else
34616 echo "$as_me: failed program was:" >&5
34617 sed 's/^/| /' conftest.$ac_ext >&5
34618
34619 eval "$as_ac_var=no"
34620 fi
34621
34622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34623 conftest$ac_exeext conftest.$ac_ext
34624 fi
34625 ac_res=`eval echo '${'$as_ac_var'}'`
34626 { echo "$as_me:$LINENO: result: $ac_res" >&5
34627 echo "${ECHO_T}$ac_res" >&6; }
34628 if test `eval echo '${'$as_ac_var'}'` = yes; then
34629 cat >>confdefs.h <<_ACEOF
34630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34631 _ACEOF
34632
34633 fi
34634 done
34635
34636
34637 if test "$ac_cv_func_swprintf" = "yes"; then
34638 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34639 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34640 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34642 else
34643
34644 cat >conftest.$ac_ext <<_ACEOF
34645 /* confdefs.h. */
34646 _ACEOF
34647 cat confdefs.h >>conftest.$ac_ext
34648 cat >>conftest.$ac_ext <<_ACEOF
34649 /* end confdefs.h. */
34650
34651 #include <stdio.h>
34652 #include <stdarg.h>
34653 #include <wchar.h>
34654
34655 int
34656 main ()
34657 {
34658
34659 wchar_t *buf;
34660 const wchar_t *fmt = L"test";
34661 swprintf(buf, 10u, fmt);
34662
34663 ;
34664 return 0;
34665 }
34666 _ACEOF
34667 rm -f conftest.$ac_objext
34668 if { (ac_try="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34671 *) ac_try_echo=$ac_try;;
34672 esac
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34675 ac_status=$?
34676 grep -v '^ *+' conftest.er1 >conftest.err
34677 rm -f conftest.er1
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_c_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.$ac_objext; then
34684 wx_cv_func_broken_swprintf_decl=no
34685 else
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34688
34689 wx_cv_func_broken_swprintf_decl=yes
34690
34691 fi
34692
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34694
34695
34696 fi
34697 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34698 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34699
34700 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34701 cat >>confdefs.h <<\_ACEOF
34702 #define HAVE_BROKEN_SWPRINTF_DECL 1
34703 _ACEOF
34704
34705 fi
34706 fi
34707
34708 wchar_headers="#include <stdio.h>
34709 #include <wchar.h>"
34710 case "${host}" in
34711 *-*-solaris2* )
34712 { echo "$as_me:$LINENO: checking for widec.h" >&5
34713 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34714 if test "${ac_cv_header_widec_h+set}" = set; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34716 else
34717 cat >conftest.$ac_ext <<_ACEOF
34718 /* confdefs.h. */
34719 _ACEOF
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h. */
34723 $ac_includes_default
34724
34725 #include <widec.h>
34726 _ACEOF
34727 rm -f conftest.$ac_objext
34728 if { (ac_try="$ac_compile"
34729 case "(($ac_try" in
34730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34731 *) ac_try_echo=$ac_try;;
34732 esac
34733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34734 (eval "$ac_compile") 2>conftest.er1
34735 ac_status=$?
34736 grep -v '^ *+' conftest.er1 >conftest.err
34737 rm -f conftest.er1
34738 cat conftest.err >&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } && {
34741 test -z "$ac_c_werror_flag" ||
34742 test ! -s conftest.err
34743 } && test -s conftest.$ac_objext; then
34744 ac_cv_header_widec_h=yes
34745 else
34746 echo "$as_me: failed program was:" >&5
34747 sed 's/^/| /' conftest.$ac_ext >&5
34748
34749 ac_cv_header_widec_h=no
34750 fi
34751
34752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34753 fi
34754 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34755 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34756
34757
34758 if test "$ac_cv_header_widec_h" = "yes"; then
34759 wchar_headers="$wchar_headers
34760 #include <widec.h>"
34761 fi
34762 esac
34763
34764
34765 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34766 do
34767 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34768 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34769 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34770 echo $ECHO_N "(cached) $ECHO_C" >&6
34771 else
34772
34773 cat >conftest.$ac_ext <<_ACEOF
34774
34775 /* confdefs.h. */
34776 _ACEOF
34777 cat confdefs.h >>conftest.$ac_ext
34778 cat >>conftest.$ac_ext <<_ACEOF
34779 /* end confdefs.h. */
34780
34781 $wchar_headers
34782 $ac_includes_default
34783
34784 int
34785 main ()
34786 {
34787
34788 #ifndef $wx_func
34789 &$wx_func;
34790 #endif
34791
34792
34793 ;
34794 return 0;
34795 }
34796
34797 _ACEOF
34798 rm -f conftest.$ac_objext conftest$ac_exeext
34799 if { (ac_try="$ac_link"
34800 case "(($ac_try" in
34801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34802 *) ac_try_echo=$ac_try;;
34803 esac
34804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34805 (eval "$ac_link") 2>conftest.er1
34806 ac_status=$?
34807 grep -v '^ *+' conftest.er1 >conftest.err
34808 rm -f conftest.er1
34809 cat conftest.err >&5
34810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811 (exit $ac_status); } && {
34812 test -z "$ac_c_werror_flag" ||
34813 test ! -s conftest.err
34814 } && test -s conftest$ac_exeext &&
34815 $as_test_x conftest$ac_exeext; then
34816 eval wx_cv_func_$wx_func=yes
34817 else
34818 echo "$as_me: failed program was:" >&5
34819 sed 's/^/| /' conftest.$ac_ext >&5
34820
34821 eval wx_cv_func_$wx_func=no
34822 fi
34823
34824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34825 conftest$ac_exeext conftest.$ac_ext
34826
34827 fi
34828 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34829 { echo "$as_me:$LINENO: result: $ac_res" >&5
34830 echo "${ECHO_T}$ac_res" >&6; }
34831
34832 if eval test \$wx_cv_func_$wx_func = yes
34833 then
34834 cat >>confdefs.h <<_ACEOF
34835 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34836 _ACEOF
34837
34838
34839 else
34840 :
34841
34842 fi
34843 done
34844
34845
34846 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34847 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34848 cat >conftest.$ac_ext <<_ACEOF
34849 /* confdefs.h. */
34850 _ACEOF
34851 cat confdefs.h >>conftest.$ac_ext
34852 cat >>conftest.$ac_ext <<_ACEOF
34853 /* end confdefs.h. */
34854 #include <wchar.h>
34855 int
34856 main ()
34857 {
34858 &_vsnwprintf;
34859 ;
34860 return 0;
34861 }
34862 _ACEOF
34863 rm -f conftest.$ac_objext
34864 if { (ac_try="$ac_compile"
34865 case "(($ac_try" in
34866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34867 *) ac_try_echo=$ac_try;;
34868 esac
34869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34870 (eval "$ac_compile") 2>conftest.er1
34871 ac_status=$?
34872 grep -v '^ *+' conftest.er1 >conftest.err
34873 rm -f conftest.er1
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } && {
34877 test -z "$ac_c_werror_flag" ||
34878 test ! -s conftest.err
34879 } && test -s conftest.$ac_objext; then
34880 { echo "$as_me:$LINENO: result: yes" >&5
34881 echo "${ECHO_T}yes" >&6; }
34882 cat >>confdefs.h <<\_ACEOF
34883 #define HAVE__VSNWPRINTF 1
34884 _ACEOF
34885
34886 else
34887 echo "$as_me: failed program was:" >&5
34888 sed 's/^/| /' conftest.$ac_ext >&5
34889
34890 { echo "$as_me:$LINENO: result: no" >&5
34891 echo "${ECHO_T}no" >&6; }
34892 fi
34893
34894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34895 fi
34896
34897 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34898
34899 for wx_func in fnmatch
34900 do
34901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34903 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34905 else
34906
34907 cat >conftest.$ac_ext <<_ACEOF
34908
34909 /* confdefs.h. */
34910 _ACEOF
34911 cat confdefs.h >>conftest.$ac_ext
34912 cat >>conftest.$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34914
34915 #include <fnmatch.h>
34916 $ac_includes_default
34917
34918 int
34919 main ()
34920 {
34921
34922 #ifndef $wx_func
34923 &$wx_func;
34924 #endif
34925
34926
34927 ;
34928 return 0;
34929 }
34930
34931 _ACEOF
34932 rm -f conftest.$ac_objext conftest$ac_exeext
34933 if { (ac_try="$ac_link"
34934 case "(($ac_try" in
34935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34936 *) ac_try_echo=$ac_try;;
34937 esac
34938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34939 (eval "$ac_link") 2>conftest.er1
34940 ac_status=$?
34941 grep -v '^ *+' conftest.er1 >conftest.err
34942 rm -f conftest.er1
34943 cat conftest.err >&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } && {
34946 test -z "$ac_c_werror_flag" ||
34947 test ! -s conftest.err
34948 } && test -s conftest$ac_exeext &&
34949 $as_test_x conftest$ac_exeext; then
34950 eval wx_cv_func_$wx_func=yes
34951 else
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34954
34955 eval wx_cv_func_$wx_func=no
34956 fi
34957
34958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34959 conftest$ac_exeext conftest.$ac_ext
34960
34961 fi
34962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34963 { echo "$as_me:$LINENO: result: $ac_res" >&5
34964 echo "${ECHO_T}$ac_res" >&6; }
34965
34966 if eval test \$wx_cv_func_$wx_func = yes
34967 then
34968 cat >>confdefs.h <<_ACEOF
34969 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34970 _ACEOF
34971
34972
34973 else
34974 :
34975
34976 fi
34977 done
34978
34979 fi
34980
34981 if test "$wxUSE_FILE" = "yes"; then
34982
34983 for wx_func in fsync
34984 do
34985 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34986 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34987 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34988 echo $ECHO_N "(cached) $ECHO_C" >&6
34989 else
34990
34991 cat >conftest.$ac_ext <<_ACEOF
34992
34993 /* confdefs.h. */
34994 _ACEOF
34995 cat confdefs.h >>conftest.$ac_ext
34996 cat >>conftest.$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
34998
34999
35000 $ac_includes_default
35001
35002 int
35003 main ()
35004 {
35005
35006 #ifndef $wx_func
35007 &$wx_func;
35008 #endif
35009
35010
35011 ;
35012 return 0;
35013 }
35014
35015 _ACEOF
35016 rm -f conftest.$ac_objext conftest$ac_exeext
35017 if { (ac_try="$ac_link"
35018 case "(($ac_try" in
35019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35020 *) ac_try_echo=$ac_try;;
35021 esac
35022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35023 (eval "$ac_link") 2>conftest.er1
35024 ac_status=$?
35025 grep -v '^ *+' conftest.er1 >conftest.err
35026 rm -f conftest.er1
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } && {
35030 test -z "$ac_c_werror_flag" ||
35031 test ! -s conftest.err
35032 } && test -s conftest$ac_exeext &&
35033 $as_test_x conftest$ac_exeext; then
35034 eval wx_cv_func_$wx_func=yes
35035 else
35036 echo "$as_me: failed program was:" >&5
35037 sed 's/^/| /' conftest.$ac_ext >&5
35038
35039 eval wx_cv_func_$wx_func=no
35040 fi
35041
35042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35043 conftest$ac_exeext conftest.$ac_ext
35044
35045 fi
35046 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35047 { echo "$as_me:$LINENO: result: $ac_res" >&5
35048 echo "${ECHO_T}$ac_res" >&6; }
35049
35050 if eval test \$wx_cv_func_$wx_func = yes
35051 then
35052 cat >>confdefs.h <<_ACEOF
35053 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35054 _ACEOF
35055
35056
35057 else
35058 :
35059
35060 fi
35061 done
35062
35063 fi
35064
35065
35066 for wx_func in round
35067 do
35068 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35069 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35070 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35071 echo $ECHO_N "(cached) $ECHO_C" >&6
35072 else
35073
35074 cat >conftest.$ac_ext <<_ACEOF
35075
35076 /* confdefs.h. */
35077 _ACEOF
35078 cat confdefs.h >>conftest.$ac_ext
35079 cat >>conftest.$ac_ext <<_ACEOF
35080 /* end confdefs.h. */
35081
35082 #include <math.h>
35083 $ac_includes_default
35084
35085 int
35086 main ()
35087 {
35088
35089 #ifndef $wx_func
35090 &$wx_func;
35091 #endif
35092
35093
35094 ;
35095 return 0;
35096 }
35097
35098 _ACEOF
35099 rm -f conftest.$ac_objext conftest$ac_exeext
35100 if { (ac_try="$ac_link"
35101 case "(($ac_try" in
35102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35103 *) ac_try_echo=$ac_try;;
35104 esac
35105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35106 (eval "$ac_link") 2>conftest.er1
35107 ac_status=$?
35108 grep -v '^ *+' conftest.er1 >conftest.err
35109 rm -f conftest.er1
35110 cat conftest.err >&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } && {
35113 test -z "$ac_c_werror_flag" ||
35114 test ! -s conftest.err
35115 } && test -s conftest$ac_exeext &&
35116 $as_test_x conftest$ac_exeext; then
35117 eval wx_cv_func_$wx_func=yes
35118 else
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.$ac_ext >&5
35121
35122 eval wx_cv_func_$wx_func=no
35123 fi
35124
35125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35126 conftest$ac_exeext conftest.$ac_ext
35127
35128 fi
35129 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35130 { echo "$as_me:$LINENO: result: $ac_res" >&5
35131 echo "${ECHO_T}$ac_res" >&6; }
35132
35133 if eval test \$wx_cv_func_$wx_func = yes
35134 then
35135 cat >>confdefs.h <<_ACEOF
35136 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35137 _ACEOF
35138
35139
35140 else
35141 :
35142
35143 fi
35144 done
35145
35146
35147 if test "$TOOLKIT" != "MSW"; then
35148
35149
35150
35151
35152
35153 # Check whether --with-libiconv-prefix was given.
35154 if test "${with_libiconv_prefix+set}" = set; then
35155 withval=$with_libiconv_prefix;
35156 for dir in `echo "$withval" | tr : ' '`; do
35157 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35158 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35159 done
35160
35161 fi
35162
35163
35164 { echo "$as_me:$LINENO: checking for iconv" >&5
35165 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35166 if test "${am_cv_func_iconv+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169
35170 am_cv_func_iconv="no, consider installing GNU libiconv"
35171 am_cv_lib_iconv=no
35172 cat >conftest.$ac_ext <<_ACEOF
35173 /* confdefs.h. */
35174 _ACEOF
35175 cat confdefs.h >>conftest.$ac_ext
35176 cat >>conftest.$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 #include <stdlib.h>
35179 #include <iconv.h>
35180 int
35181 main ()
35182 {
35183 iconv_t cd = iconv_open("","");
35184 iconv(cd,NULL,NULL,NULL,NULL);
35185 iconv_close(cd);
35186 ;
35187 return 0;
35188 }
35189 _ACEOF
35190 rm -f conftest.$ac_objext conftest$ac_exeext
35191 if { (ac_try="$ac_link"
35192 case "(($ac_try" in
35193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35194 *) ac_try_echo=$ac_try;;
35195 esac
35196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35197 (eval "$ac_link") 2>conftest.er1
35198 ac_status=$?
35199 grep -v '^ *+' conftest.er1 >conftest.err
35200 rm -f conftest.er1
35201 cat conftest.err >&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); } && {
35204 test -z "$ac_c_werror_flag" ||
35205 test ! -s conftest.err
35206 } && test -s conftest$ac_exeext &&
35207 $as_test_x conftest$ac_exeext; then
35208 am_cv_func_iconv=yes
35209 else
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.$ac_ext >&5
35212
35213
35214 fi
35215
35216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35217 conftest$ac_exeext conftest.$ac_ext
35218 if test "$am_cv_func_iconv" != yes; then
35219 am_save_LIBS="$LIBS"
35220 LIBS="$LIBS -liconv"
35221 cat >conftest.$ac_ext <<_ACEOF
35222 /* confdefs.h. */
35223 _ACEOF
35224 cat confdefs.h >>conftest.$ac_ext
35225 cat >>conftest.$ac_ext <<_ACEOF
35226 /* end confdefs.h. */
35227 #include <stdlib.h>
35228 #include <iconv.h>
35229 int
35230 main ()
35231 {
35232 iconv_t cd = iconv_open("","");
35233 iconv(cd,NULL,NULL,NULL,NULL);
35234 iconv_close(cd);
35235 ;
35236 return 0;
35237 }
35238 _ACEOF
35239 rm -f conftest.$ac_objext conftest$ac_exeext
35240 if { (ac_try="$ac_link"
35241 case "(($ac_try" in
35242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35243 *) ac_try_echo=$ac_try;;
35244 esac
35245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35246 (eval "$ac_link") 2>conftest.er1
35247 ac_status=$?
35248 grep -v '^ *+' conftest.er1 >conftest.err
35249 rm -f conftest.er1
35250 cat conftest.err >&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); } && {
35253 test -z "$ac_c_werror_flag" ||
35254 test ! -s conftest.err
35255 } && test -s conftest$ac_exeext &&
35256 $as_test_x conftest$ac_exeext; then
35257 am_cv_lib_iconv=yes
35258 am_cv_func_iconv=yes
35259 else
35260 echo "$as_me: failed program was:" >&5
35261 sed 's/^/| /' conftest.$ac_ext >&5
35262
35263
35264 fi
35265
35266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35267 conftest$ac_exeext conftest.$ac_ext
35268 LIBS="$am_save_LIBS"
35269 fi
35270
35271 fi
35272 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35273 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35274 if test "$am_cv_func_iconv" = yes; then
35275
35276 cat >>confdefs.h <<\_ACEOF
35277 #define HAVE_ICONV 1
35278 _ACEOF
35279
35280 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35281 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35282 if test "${wx_cv_func_iconv_const+set}" = set; then
35283 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 else
35285 cat >conftest.$ac_ext <<_ACEOF
35286 /* confdefs.h. */
35287 _ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35291
35292 #include <stdlib.h>
35293 #include <iconv.h>
35294 extern
35295 #ifdef __cplusplus
35296 "C"
35297 #endif
35298 #if defined(__STDC__) || defined(__cplusplus)
35299 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35300 #else
35301 size_t iconv();
35302 #endif
35303
35304 int
35305 main ()
35306 {
35307
35308 ;
35309 return 0;
35310 }
35311 _ACEOF
35312 rm -f conftest.$ac_objext
35313 if { (ac_try="$ac_compile"
35314 case "(($ac_try" in
35315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35316 *) ac_try_echo=$ac_try;;
35317 esac
35318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35319 (eval "$ac_compile") 2>conftest.er1
35320 ac_status=$?
35321 grep -v '^ *+' conftest.er1 >conftest.err
35322 rm -f conftest.er1
35323 cat conftest.err >&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); } && {
35326 test -z "$ac_c_werror_flag" ||
35327 test ! -s conftest.err
35328 } && test -s conftest.$ac_objext; then
35329 wx_cv_func_iconv_const="no"
35330 else
35331 echo "$as_me: failed program was:" >&5
35332 sed 's/^/| /' conftest.$ac_ext >&5
35333
35334 wx_cv_func_iconv_const="yes"
35335
35336 fi
35337
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35339
35340 fi
35341 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35342 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35343
35344 iconv_const=
35345 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35346 iconv_const="const"
35347 fi
35348
35349
35350 cat >>confdefs.h <<_ACEOF
35351 #define ICONV_CONST $iconv_const
35352 _ACEOF
35353
35354 fi
35355 LIBICONV=
35356 if test "$am_cv_lib_iconv" = yes; then
35357 LIBICONV="-liconv"
35358 fi
35359
35360
35361 LIBS="$LIBICONV $LIBS"
35362
35363 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35364
35365 for ac_func in sigaction
35366 do
35367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35368 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35370 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35371 echo $ECHO_N "(cached) $ECHO_C" >&6
35372 else
35373 cat >conftest.$ac_ext <<_ACEOF
35374 /* confdefs.h. */
35375 _ACEOF
35376 cat confdefs.h >>conftest.$ac_ext
35377 cat >>conftest.$ac_ext <<_ACEOF
35378 /* end confdefs.h. */
35379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35381 #define $ac_func innocuous_$ac_func
35382
35383 /* System header to define __stub macros and hopefully few prototypes,
35384 which can conflict with char $ac_func (); below.
35385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35386 <limits.h> exists even on freestanding compilers. */
35387
35388 #ifdef __STDC__
35389 # include <limits.h>
35390 #else
35391 # include <assert.h>
35392 #endif
35393
35394 #undef $ac_func
35395
35396 /* Override any GCC internal prototype to avoid an error.
35397 Use char because int might match the return type of a GCC
35398 builtin and then its argument prototype would still apply. */
35399 #ifdef __cplusplus
35400 extern "C"
35401 #endif
35402 char $ac_func ();
35403 /* The GNU C library defines this for functions which it implements
35404 to always fail with ENOSYS. Some functions are actually named
35405 something starting with __ and the normal name is an alias. */
35406 #if defined __stub_$ac_func || defined __stub___$ac_func
35407 choke me
35408 #endif
35409
35410 int
35411 main ()
35412 {
35413 return $ac_func ();
35414 ;
35415 return 0;
35416 }
35417 _ACEOF
35418 rm -f conftest.$ac_objext conftest$ac_exeext
35419 if { (ac_try="$ac_link"
35420 case "(($ac_try" in
35421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35422 *) ac_try_echo=$ac_try;;
35423 esac
35424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35425 (eval "$ac_link") 2>conftest.er1
35426 ac_status=$?
35427 grep -v '^ *+' conftest.er1 >conftest.err
35428 rm -f conftest.er1
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } && {
35432 test -z "$ac_c_werror_flag" ||
35433 test ! -s conftest.err
35434 } && test -s conftest$ac_exeext &&
35435 $as_test_x conftest$ac_exeext; then
35436 eval "$as_ac_var=yes"
35437 else
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35440
35441 eval "$as_ac_var=no"
35442 fi
35443
35444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35445 conftest$ac_exeext conftest.$ac_ext
35446 fi
35447 ac_res=`eval echo '${'$as_ac_var'}'`
35448 { echo "$as_me:$LINENO: result: $ac_res" >&5
35449 echo "${ECHO_T}$ac_res" >&6; }
35450 if test `eval echo '${'$as_ac_var'}'` = yes; then
35451 cat >>confdefs.h <<_ACEOF
35452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35453 _ACEOF
35454
35455 fi
35456 done
35457
35458
35459 if test "$ac_cv_func_sigaction" = "no"; then
35460 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35461 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35462 wxUSE_ON_FATAL_EXCEPTION=no
35463 fi
35464
35465 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35466 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35467 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35468 if test "${wx_cv_type_sa_handler+set}" = set; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 else
35471
35472 ac_ext=cpp
35473 ac_cpp='$CXXCPP $CPPFLAGS'
35474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35477
35478 cat >conftest.$ac_ext <<_ACEOF
35479 /* confdefs.h. */
35480 _ACEOF
35481 cat confdefs.h >>conftest.$ac_ext
35482 cat >>conftest.$ac_ext <<_ACEOF
35483 /* end confdefs.h. */
35484 #include <signal.h>
35485 int
35486 main ()
35487 {
35488
35489 extern void testSigHandler(int);
35490
35491 struct sigaction sa;
35492 sa.sa_handler = testSigHandler;
35493
35494 ;
35495 return 0;
35496 }
35497 _ACEOF
35498 rm -f conftest.$ac_objext
35499 if { (ac_try="$ac_compile"
35500 case "(($ac_try" in
35501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35502 *) ac_try_echo=$ac_try;;
35503 esac
35504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35505 (eval "$ac_compile") 2>conftest.er1
35506 ac_status=$?
35507 grep -v '^ *+' conftest.er1 >conftest.err
35508 rm -f conftest.er1
35509 cat conftest.err >&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); } && {
35512 test -z "$ac_cxx_werror_flag" ||
35513 test ! -s conftest.err
35514 } && test -s conftest.$ac_objext; then
35515
35516 wx_cv_type_sa_handler=int
35517
35518 else
35519 echo "$as_me: failed program was:" >&5
35520 sed 's/^/| /' conftest.$ac_ext >&5
35521
35522
35523 wx_cv_type_sa_handler=void
35524
35525 fi
35526
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35528 ac_ext=c
35529 ac_cpp='$CPP $CPPFLAGS'
35530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35533
35534
35535 fi
35536 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35537 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35538
35539 cat >>confdefs.h <<_ACEOF
35540 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35541 _ACEOF
35542
35543 fi
35544 fi
35545
35546 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35547 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35548 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35549 if test "${wx_cv_func_backtrace+set}" = set; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 else
35552
35553 ac_ext=cpp
35554 ac_cpp='$CXXCPP $CPPFLAGS'
35555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35558
35559 cat >conftest.$ac_ext <<_ACEOF
35560 /* confdefs.h. */
35561 _ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35565 #include <execinfo.h>
35566 int
35567 main ()
35568 {
35569
35570 void *trace[1];
35571 char **messages;
35572
35573 backtrace(trace, 1);
35574 messages = backtrace_symbols(trace, 1);
35575
35576 ;
35577 return 0;
35578 }
35579 _ACEOF
35580 rm -f conftest.$ac_objext
35581 if { (ac_try="$ac_compile"
35582 case "(($ac_try" in
35583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35584 *) ac_try_echo=$ac_try;;
35585 esac
35586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35587 (eval "$ac_compile") 2>conftest.er1
35588 ac_status=$?
35589 grep -v '^ *+' conftest.er1 >conftest.err
35590 rm -f conftest.er1
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } && {
35594 test -z "$ac_cxx_werror_flag" ||
35595 test ! -s conftest.err
35596 } && test -s conftest.$ac_objext; then
35597 wx_cv_func_backtrace=yes
35598 else
35599 echo "$as_me: failed program was:" >&5
35600 sed 's/^/| /' conftest.$ac_ext >&5
35601
35602 wx_cv_func_backtrace=no
35603
35604 fi
35605
35606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35607 ac_ext=c
35608 ac_cpp='$CPP $CPPFLAGS'
35609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35612
35613
35614
35615 fi
35616 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35617 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35618
35619
35620 if test "$wx_cv_func_backtrace" = "no"; then
35621 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35622 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35623 wxUSE_STACKWALKER=no
35624 else
35625 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35626 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35627 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35629 else
35630
35631 ac_ext=cpp
35632 ac_cpp='$CXXCPP $CPPFLAGS'
35633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35636
35637 cat >conftest.$ac_ext <<_ACEOF
35638 /* confdefs.h. */
35639 _ACEOF
35640 cat confdefs.h >>conftest.$ac_ext
35641 cat >>conftest.$ac_ext <<_ACEOF
35642 /* end confdefs.h. */
35643 #include <cxxabi.h>
35644 int
35645 main ()
35646 {
35647
35648 int rc;
35649 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35650
35651 ;
35652 return 0;
35653 }
35654 _ACEOF
35655 rm -f conftest.$ac_objext conftest$ac_exeext
35656 if { (ac_try="$ac_link"
35657 case "(($ac_try" in
35658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35659 *) ac_try_echo=$ac_try;;
35660 esac
35661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35662 (eval "$ac_link") 2>conftest.er1
35663 ac_status=$?
35664 grep -v '^ *+' conftest.er1 >conftest.err
35665 rm -f conftest.er1
35666 cat conftest.err >&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); } && {
35669 test -z "$ac_cxx_werror_flag" ||
35670 test ! -s conftest.err
35671 } && test -s conftest$ac_exeext &&
35672 $as_test_x conftest$ac_exeext; then
35673 wx_cv_func_cxa_demangle=yes
35674 else
35675 echo "$as_me: failed program was:" >&5
35676 sed 's/^/| /' conftest.$ac_ext >&5
35677
35678 wx_cv_func_cxa_demangle=no
35679
35680 fi
35681
35682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35683 conftest$ac_exeext conftest.$ac_ext
35684 ac_ext=c
35685 ac_cpp='$CPP $CPPFLAGS'
35686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35689
35690
35691
35692 fi
35693 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35694 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35695
35696 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35697 cat >>confdefs.h <<\_ACEOF
35698 #define HAVE_CXA_DEMANGLE 1
35699 _ACEOF
35700
35701 fi
35702 fi
35703 fi
35704
35705 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35706 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35707 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35708 wxUSE_STACKWALKER=no
35709 fi
35710
35711
35712
35713
35714 for ac_func in mkstemp mktemp
35715 do
35716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35719 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 else
35722 cat >conftest.$ac_ext <<_ACEOF
35723 /* confdefs.h. */
35724 _ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35730 #define $ac_func innocuous_$ac_func
35731
35732 /* System header to define __stub macros and hopefully few prototypes,
35733 which can conflict with char $ac_func (); below.
35734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35735 <limits.h> exists even on freestanding compilers. */
35736
35737 #ifdef __STDC__
35738 # include <limits.h>
35739 #else
35740 # include <assert.h>
35741 #endif
35742
35743 #undef $ac_func
35744
35745 /* Override any GCC internal prototype to avoid an error.
35746 Use char because int might match the return type of a GCC
35747 builtin and then its argument prototype would still apply. */
35748 #ifdef __cplusplus
35749 extern "C"
35750 #endif
35751 char $ac_func ();
35752 /* The GNU C library defines this for functions which it implements
35753 to always fail with ENOSYS. Some functions are actually named
35754 something starting with __ and the normal name is an alias. */
35755 #if defined __stub_$ac_func || defined __stub___$ac_func
35756 choke me
35757 #endif
35758
35759 int
35760 main ()
35761 {
35762 return $ac_func ();
35763 ;
35764 return 0;
35765 }
35766 _ACEOF
35767 rm -f conftest.$ac_objext conftest$ac_exeext
35768 if { (ac_try="$ac_link"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771 *) ac_try_echo=$ac_try;;
35772 esac
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_link") 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest$ac_exeext &&
35784 $as_test_x conftest$ac_exeext; then
35785 eval "$as_ac_var=yes"
35786 else
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35789
35790 eval "$as_ac_var=no"
35791 fi
35792
35793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35794 conftest$ac_exeext conftest.$ac_ext
35795 fi
35796 ac_res=`eval echo '${'$as_ac_var'}'`
35797 { echo "$as_me:$LINENO: result: $ac_res" >&5
35798 echo "${ECHO_T}$ac_res" >&6; }
35799 if test `eval echo '${'$as_ac_var'}'` = yes; then
35800 cat >>confdefs.h <<_ACEOF
35801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35802 _ACEOF
35803 break
35804 fi
35805 done
35806
35807
35808 { echo "$as_me:$LINENO: checking for statfs" >&5
35809 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35810 if test "${wx_cv_func_statfs+set}" = set; then
35811 echo $ECHO_N "(cached) $ECHO_C" >&6
35812 else
35813 cat >conftest.$ac_ext <<_ACEOF
35814 /* confdefs.h. */
35815 _ACEOF
35816 cat confdefs.h >>conftest.$ac_ext
35817 cat >>conftest.$ac_ext <<_ACEOF
35818 /* end confdefs.h. */
35819
35820 #if defined(__BSD__)
35821 #include <sys/param.h>
35822 #include <sys/mount.h>
35823 #else
35824 #include <sys/vfs.h>
35825 #endif
35826
35827 int
35828 main ()
35829 {
35830
35831 long l;
35832 struct statfs fs;
35833 statfs("/", &fs);
35834 l = fs.f_bsize;
35835 l += fs.f_blocks;
35836 l += fs.f_bavail;
35837
35838 ;
35839 return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext
35843 if { (ac_try="$ac_compile"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35847 esac
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_compile") 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest.$ac_objext; then
35859 wx_cv_func_statfs=yes
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35863
35864 wx_cv_func_statfs=no
35865
35866 fi
35867
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869
35870 fi
35871 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35872 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35873
35874 if test "$wx_cv_func_statfs" = "yes"; then
35875 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35876 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35877 if test "${wx_cv_func_statfs_decl+set}" = set; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35879 else
35880 ac_ext=cpp
35881 ac_cpp='$CXXCPP $CPPFLAGS'
35882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35885
35886 cat >conftest.$ac_ext <<_ACEOF
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892
35893 #if defined(__BSD__)
35894 #include <sys/param.h>
35895 #include <sys/mount.h>
35896 #else
35897 #include <sys/vfs.h>
35898 #endif
35899
35900 int
35901 main ()
35902 {
35903
35904 struct statfs fs;
35905 statfs("", &fs);
35906
35907 ;
35908 return 0;
35909 }
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_cxx_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest.$ac_objext; then
35928 wx_cv_func_statfs_decl=yes
35929 else
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.$ac_ext >&5
35932
35933 wx_cv_func_statfs_decl=no
35934
35935 fi
35936
35937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35938 ac_ext=c
35939 ac_cpp='$CPP $CPPFLAGS'
35940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35943
35944
35945 fi
35946 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35947 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35948
35949 if test "$wx_cv_func_statfs_decl" = "yes"; then
35950 cat >>confdefs.h <<\_ACEOF
35951 #define HAVE_STATFS_DECL 1
35952 _ACEOF
35953
35954 fi
35955
35956 wx_cv_type_statvfs_t="struct statfs"
35957 cat >>confdefs.h <<\_ACEOF
35958 #define HAVE_STATFS 1
35959 _ACEOF
35960
35961 else
35962 { echo "$as_me:$LINENO: checking for statvfs" >&5
35963 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35964 if test "${wx_cv_func_statvfs+set}" = set; then
35965 echo $ECHO_N "(cached) $ECHO_C" >&6
35966 else
35967 cat >conftest.$ac_ext <<_ACEOF
35968 /* confdefs.h. */
35969 _ACEOF
35970 cat confdefs.h >>conftest.$ac_ext
35971 cat >>conftest.$ac_ext <<_ACEOF
35972 /* end confdefs.h. */
35973
35974 #include <stddef.h>
35975 #include <sys/statvfs.h>
35976
35977 int
35978 main ()
35979 {
35980
35981 statvfs("/", NULL);
35982
35983 ;
35984 return 0;
35985 }
35986 _ACEOF
35987 rm -f conftest.$ac_objext
35988 if { (ac_try="$ac_compile"
35989 case "(($ac_try" in
35990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35991 *) ac_try_echo=$ac_try;;
35992 esac
35993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35994 (eval "$ac_compile") 2>conftest.er1
35995 ac_status=$?
35996 grep -v '^ *+' conftest.er1 >conftest.err
35997 rm -f conftest.er1
35998 cat conftest.err >&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); } && {
36001 test -z "$ac_c_werror_flag" ||
36002 test ! -s conftest.err
36003 } && test -s conftest.$ac_objext; then
36004 wx_cv_func_statvfs=yes
36005 else
36006 echo "$as_me: failed program was:" >&5
36007 sed 's/^/| /' conftest.$ac_ext >&5
36008
36009 wx_cv_func_statvfs=no
36010
36011 fi
36012
36013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36014
36015 fi
36016 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36017 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36018
36019 if test "$wx_cv_func_statvfs" = "yes"; then
36020 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36021 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36022 if test "${wx_cv_type_statvfs_t+set}" = set; then
36023 echo $ECHO_N "(cached) $ECHO_C" >&6
36024 else
36025 ac_ext=cpp
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030
36031 cat >conftest.$ac_ext <<_ACEOF
36032 /* confdefs.h. */
36033 _ACEOF
36034 cat confdefs.h >>conftest.$ac_ext
36035 cat >>conftest.$ac_ext <<_ACEOF
36036 /* end confdefs.h. */
36037
36038 #include <sys/statvfs.h>
36039
36040 int
36041 main ()
36042 {
36043
36044 long l;
36045 statvfs_t fs;
36046 statvfs("/", &fs);
36047 l = fs.f_bsize;
36048 l += fs.f_blocks;
36049 l += fs.f_bavail;
36050
36051 ;
36052 return 0;
36053 }
36054 _ACEOF
36055 rm -f conftest.$ac_objext
36056 if { (ac_try="$ac_compile"
36057 case "(($ac_try" in
36058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36059 *) ac_try_echo=$ac_try;;
36060 esac
36061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36062 (eval "$ac_compile") 2>conftest.er1
36063 ac_status=$?
36064 grep -v '^ *+' conftest.er1 >conftest.err
36065 rm -f conftest.er1
36066 cat conftest.err >&5
36067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36068 (exit $ac_status); } && {
36069 test -z "$ac_cxx_werror_flag" ||
36070 test ! -s conftest.err
36071 } && test -s conftest.$ac_objext; then
36072 wx_cv_type_statvfs_t=statvfs_t
36073 else
36074 echo "$as_me: failed program was:" >&5
36075 sed 's/^/| /' conftest.$ac_ext >&5
36076
36077
36078 cat >conftest.$ac_ext <<_ACEOF
36079 /* confdefs.h. */
36080 _ACEOF
36081 cat confdefs.h >>conftest.$ac_ext
36082 cat >>conftest.$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084
36085 #include <sys/statvfs.h>
36086
36087 int
36088 main ()
36089 {
36090
36091 long l;
36092 struct statvfs fs;
36093 statvfs("/", &fs);
36094 l = fs.f_bsize;
36095 l += fs.f_blocks;
36096 l += fs.f_bavail;
36097
36098 ;
36099 return 0;
36100 }
36101 _ACEOF
36102 rm -f conftest.$ac_objext
36103 if { (ac_try="$ac_compile"
36104 case "(($ac_try" in
36105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36106 *) ac_try_echo=$ac_try;;
36107 esac
36108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36109 (eval "$ac_compile") 2>conftest.er1
36110 ac_status=$?
36111 grep -v '^ *+' conftest.er1 >conftest.err
36112 rm -f conftest.er1
36113 cat conftest.err >&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); } && {
36116 test -z "$ac_cxx_werror_flag" ||
36117 test ! -s conftest.err
36118 } && test -s conftest.$ac_objext; then
36119 wx_cv_type_statvfs_t="struct statvfs"
36120 else
36121 echo "$as_me: failed program was:" >&5
36122 sed 's/^/| /' conftest.$ac_ext >&5
36123
36124 wx_cv_type_statvfs_t="unknown"
36125
36126 fi
36127
36128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36129
36130
36131 fi
36132
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36134 ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36139
36140
36141 fi
36142 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36143 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36144
36145 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36146 cat >>confdefs.h <<\_ACEOF
36147 #define HAVE_STATVFS 1
36148 _ACEOF
36149
36150 fi
36151 else
36152 wx_cv_type_statvfs_t="unknown"
36153 fi
36154 fi
36155
36156 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36157 cat >>confdefs.h <<_ACEOF
36158 #define WX_STATFS_T $wx_cv_type_statvfs_t
36159 _ACEOF
36160
36161 else
36162 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36163 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36164 fi
36165
36166 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36167
36168
36169 for ac_func in fcntl flock
36170 do
36171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36175 echo $ECHO_N "(cached) $ECHO_C" >&6
36176 else
36177 cat >conftest.$ac_ext <<_ACEOF
36178 /* confdefs.h. */
36179 _ACEOF
36180 cat confdefs.h >>conftest.$ac_ext
36181 cat >>conftest.$ac_ext <<_ACEOF
36182 /* end confdefs.h. */
36183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36185 #define $ac_func innocuous_$ac_func
36186
36187 /* System header to define __stub macros and hopefully few prototypes,
36188 which can conflict with char $ac_func (); below.
36189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36190 <limits.h> exists even on freestanding compilers. */
36191
36192 #ifdef __STDC__
36193 # include <limits.h>
36194 #else
36195 # include <assert.h>
36196 #endif
36197
36198 #undef $ac_func
36199
36200 /* Override any GCC internal prototype to avoid an error.
36201 Use char because int might match the return type of a GCC
36202 builtin and then its argument prototype would still apply. */
36203 #ifdef __cplusplus
36204 extern "C"
36205 #endif
36206 char $ac_func ();
36207 /* The GNU C library defines this for functions which it implements
36208 to always fail with ENOSYS. Some functions are actually named
36209 something starting with __ and the normal name is an alias. */
36210 #if defined __stub_$ac_func || defined __stub___$ac_func
36211 choke me
36212 #endif
36213
36214 int
36215 main ()
36216 {
36217 return $ac_func ();
36218 ;
36219 return 0;
36220 }
36221 _ACEOF
36222 rm -f conftest.$ac_objext conftest$ac_exeext
36223 if { (ac_try="$ac_link"
36224 case "(($ac_try" in
36225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36226 *) ac_try_echo=$ac_try;;
36227 esac
36228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36229 (eval "$ac_link") 2>conftest.er1
36230 ac_status=$?
36231 grep -v '^ *+' conftest.er1 >conftest.err
36232 rm -f conftest.er1
36233 cat conftest.err >&5
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); } && {
36236 test -z "$ac_c_werror_flag" ||
36237 test ! -s conftest.err
36238 } && test -s conftest$ac_exeext &&
36239 $as_test_x conftest$ac_exeext; then
36240 eval "$as_ac_var=yes"
36241 else
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36244
36245 eval "$as_ac_var=no"
36246 fi
36247
36248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36249 conftest$ac_exeext conftest.$ac_ext
36250 fi
36251 ac_res=`eval echo '${'$as_ac_var'}'`
36252 { echo "$as_me:$LINENO: result: $ac_res" >&5
36253 echo "${ECHO_T}$ac_res" >&6; }
36254 if test `eval echo '${'$as_ac_var'}'` = yes; then
36255 cat >>confdefs.h <<_ACEOF
36256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36257 _ACEOF
36258 break
36259 fi
36260 done
36261
36262
36263 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36264 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36265 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36266 wxUSE_SNGLINST_CHECKER=no
36267 fi
36268 fi
36269
36270
36271 for ac_func in timegm
36272 do
36273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36276 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36278 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36287 #define $ac_func innocuous_$ac_func
36288
36289 /* System header to define __stub macros and hopefully few prototypes,
36290 which can conflict with char $ac_func (); below.
36291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36292 <limits.h> exists even on freestanding compilers. */
36293
36294 #ifdef __STDC__
36295 # include <limits.h>
36296 #else
36297 # include <assert.h>
36298 #endif
36299
36300 #undef $ac_func
36301
36302 /* Override any GCC internal prototype to avoid an error.
36303 Use char because int might match the return type of a GCC
36304 builtin and then its argument prototype would still apply. */
36305 #ifdef __cplusplus
36306 extern "C"
36307 #endif
36308 char $ac_func ();
36309 /* The GNU C library defines this for functions which it implements
36310 to always fail with ENOSYS. Some functions are actually named
36311 something starting with __ and the normal name is an alias. */
36312 #if defined __stub_$ac_func || defined __stub___$ac_func
36313 choke me
36314 #endif
36315
36316 int
36317 main ()
36318 {
36319 return $ac_func ();
36320 ;
36321 return 0;
36322 }
36323 _ACEOF
36324 rm -f conftest.$ac_objext conftest$ac_exeext
36325 if { (ac_try="$ac_link"
36326 case "(($ac_try" in
36327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36328 *) ac_try_echo=$ac_try;;
36329 esac
36330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36331 (eval "$ac_link") 2>conftest.er1
36332 ac_status=$?
36333 grep -v '^ *+' conftest.er1 >conftest.err
36334 rm -f conftest.er1
36335 cat conftest.err >&5
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); } && {
36338 test -z "$ac_c_werror_flag" ||
36339 test ! -s conftest.err
36340 } && test -s conftest$ac_exeext &&
36341 $as_test_x conftest$ac_exeext; then
36342 eval "$as_ac_var=yes"
36343 else
36344 echo "$as_me: failed program was:" >&5
36345 sed 's/^/| /' conftest.$ac_ext >&5
36346
36347 eval "$as_ac_var=no"
36348 fi
36349
36350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36351 conftest$ac_exeext conftest.$ac_ext
36352 fi
36353 ac_res=`eval echo '${'$as_ac_var'}'`
36354 { echo "$as_me:$LINENO: result: $ac_res" >&5
36355 echo "${ECHO_T}$ac_res" >&6; }
36356 if test `eval echo '${'$as_ac_var'}'` = yes; then
36357 cat >>confdefs.h <<_ACEOF
36358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36359 _ACEOF
36360
36361 fi
36362 done
36363
36364
36365
36366
36367 for ac_func in putenv setenv
36368 do
36369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36374 else
36375 cat >conftest.$ac_ext <<_ACEOF
36376 /* confdefs.h. */
36377 _ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36383 #define $ac_func innocuous_$ac_func
36384
36385 /* System header to define __stub macros and hopefully few prototypes,
36386 which can conflict with char $ac_func (); below.
36387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36388 <limits.h> exists even on freestanding compilers. */
36389
36390 #ifdef __STDC__
36391 # include <limits.h>
36392 #else
36393 # include <assert.h>
36394 #endif
36395
36396 #undef $ac_func
36397
36398 /* Override any GCC internal prototype to avoid an error.
36399 Use char because int might match the return type of a GCC
36400 builtin and then its argument prototype would still apply. */
36401 #ifdef __cplusplus
36402 extern "C"
36403 #endif
36404 char $ac_func ();
36405 /* The GNU C library defines this for functions which it implements
36406 to always fail with ENOSYS. Some functions are actually named
36407 something starting with __ and the normal name is an alias. */
36408 #if defined __stub_$ac_func || defined __stub___$ac_func
36409 choke me
36410 #endif
36411
36412 int
36413 main ()
36414 {
36415 return $ac_func ();
36416 ;
36417 return 0;
36418 }
36419 _ACEOF
36420 rm -f conftest.$ac_objext conftest$ac_exeext
36421 if { (ac_try="$ac_link"
36422 case "(($ac_try" in
36423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36424 *) ac_try_echo=$ac_try;;
36425 esac
36426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36427 (eval "$ac_link") 2>conftest.er1
36428 ac_status=$?
36429 grep -v '^ *+' conftest.er1 >conftest.err
36430 rm -f conftest.er1
36431 cat conftest.err >&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); } && {
36434 test -z "$ac_c_werror_flag" ||
36435 test ! -s conftest.err
36436 } && test -s conftest$ac_exeext &&
36437 $as_test_x conftest$ac_exeext; then
36438 eval "$as_ac_var=yes"
36439 else
36440 echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36442
36443 eval "$as_ac_var=no"
36444 fi
36445
36446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36447 conftest$ac_exeext conftest.$ac_ext
36448 fi
36449 ac_res=`eval echo '${'$as_ac_var'}'`
36450 { echo "$as_me:$LINENO: result: $ac_res" >&5
36451 echo "${ECHO_T}$ac_res" >&6; }
36452 if test `eval echo '${'$as_ac_var'}'` = yes; then
36453 cat >>confdefs.h <<_ACEOF
36454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36455 _ACEOF
36456 break
36457 fi
36458 done
36459
36460
36461 HAVE_SOME_SLEEP_FUNC=0
36462 if test "$USE_BEOS" = 1; then
36463 cat >>confdefs.h <<\_ACEOF
36464 #define HAVE_SLEEP 1
36465 _ACEOF
36466
36467 HAVE_SOME_SLEEP_FUNC=1
36468 fi
36469
36470 if test "$USE_DARWIN" = 1; then
36471 cat >>confdefs.h <<\_ACEOF
36472 #define HAVE_USLEEP 1
36473 _ACEOF
36474
36475 HAVE_SOME_SLEEP_FUNC=1
36476 fi
36477
36478 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36479 POSIX4_LINK=
36480
36481 for ac_func in nanosleep
36482 do
36483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 else
36489 cat >conftest.$ac_ext <<_ACEOF
36490 /* confdefs.h. */
36491 _ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36497 #define $ac_func innocuous_$ac_func
36498
36499 /* System header to define __stub macros and hopefully few prototypes,
36500 which can conflict with char $ac_func (); below.
36501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36502 <limits.h> exists even on freestanding compilers. */
36503
36504 #ifdef __STDC__
36505 # include <limits.h>
36506 #else
36507 # include <assert.h>
36508 #endif
36509
36510 #undef $ac_func
36511
36512 /* Override any GCC internal prototype to avoid an error.
36513 Use char because int might match the return type of a GCC
36514 builtin and then its argument prototype would still apply. */
36515 #ifdef __cplusplus
36516 extern "C"
36517 #endif
36518 char $ac_func ();
36519 /* The GNU C library defines this for functions which it implements
36520 to always fail with ENOSYS. Some functions are actually named
36521 something starting with __ and the normal name is an alias. */
36522 #if defined __stub_$ac_func || defined __stub___$ac_func
36523 choke me
36524 #endif
36525
36526 int
36527 main ()
36528 {
36529 return $ac_func ();
36530 ;
36531 return 0;
36532 }
36533 _ACEOF
36534 rm -f conftest.$ac_objext conftest$ac_exeext
36535 if { (ac_try="$ac_link"
36536 case "(($ac_try" in
36537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36538 *) ac_try_echo=$ac_try;;
36539 esac
36540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36541 (eval "$ac_link") 2>conftest.er1
36542 ac_status=$?
36543 grep -v '^ *+' conftest.er1 >conftest.err
36544 rm -f conftest.er1
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } && {
36548 test -z "$ac_c_werror_flag" ||
36549 test ! -s conftest.err
36550 } && test -s conftest$ac_exeext &&
36551 $as_test_x conftest$ac_exeext; then
36552 eval "$as_ac_var=yes"
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36556
36557 eval "$as_ac_var=no"
36558 fi
36559
36560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36561 conftest$ac_exeext conftest.$ac_ext
36562 fi
36563 ac_res=`eval echo '${'$as_ac_var'}'`
36564 { echo "$as_me:$LINENO: result: $ac_res" >&5
36565 echo "${ECHO_T}$ac_res" >&6; }
36566 if test `eval echo '${'$as_ac_var'}'` = yes; then
36567 cat >>confdefs.h <<_ACEOF
36568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36569 _ACEOF
36570 cat >>confdefs.h <<\_ACEOF
36571 #define HAVE_NANOSLEEP 1
36572 _ACEOF
36573
36574 else
36575
36576 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36577 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36578 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36579 echo $ECHO_N "(cached) $ECHO_C" >&6
36580 else
36581 ac_check_lib_save_LIBS=$LIBS
36582 LIBS="-lposix4 $LIBS"
36583 cat >conftest.$ac_ext <<_ACEOF
36584 /* confdefs.h. */
36585 _ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589
36590 /* Override any GCC internal prototype to avoid an error.
36591 Use char because int might match the return type of a GCC
36592 builtin and then its argument prototype would still apply. */
36593 #ifdef __cplusplus
36594 extern "C"
36595 #endif
36596 char nanosleep ();
36597 int
36598 main ()
36599 {
36600 return nanosleep ();
36601 ;
36602 return 0;
36603 }
36604 _ACEOF
36605 rm -f conftest.$ac_objext conftest$ac_exeext
36606 if { (ac_try="$ac_link"
36607 case "(($ac_try" in
36608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36609 *) ac_try_echo=$ac_try;;
36610 esac
36611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36612 (eval "$ac_link") 2>conftest.er1
36613 ac_status=$?
36614 grep -v '^ *+' conftest.er1 >conftest.err
36615 rm -f conftest.er1
36616 cat conftest.err >&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); } && {
36619 test -z "$ac_c_werror_flag" ||
36620 test ! -s conftest.err
36621 } && test -s conftest$ac_exeext &&
36622 $as_test_x conftest$ac_exeext; then
36623 ac_cv_lib_posix4_nanosleep=yes
36624 else
36625 echo "$as_me: failed program was:" >&5
36626 sed 's/^/| /' conftest.$ac_ext >&5
36627
36628 ac_cv_lib_posix4_nanosleep=no
36629 fi
36630
36631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36632 conftest$ac_exeext conftest.$ac_ext
36633 LIBS=$ac_check_lib_save_LIBS
36634 fi
36635 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36636 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36637 if test $ac_cv_lib_posix4_nanosleep = yes; then
36638
36639 cat >>confdefs.h <<\_ACEOF
36640 #define HAVE_NANOSLEEP 1
36641 _ACEOF
36642
36643 POSIX4_LINK=" -lposix4"
36644
36645 else
36646
36647
36648 for wx_func in usleep
36649 do
36650 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36651 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36652 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36653 echo $ECHO_N "(cached) $ECHO_C" >&6
36654 else
36655
36656 cat >conftest.$ac_ext <<_ACEOF
36657
36658 /* confdefs.h. */
36659 _ACEOF
36660 cat confdefs.h >>conftest.$ac_ext
36661 cat >>conftest.$ac_ext <<_ACEOF
36662 /* end confdefs.h. */
36663
36664
36665 $ac_includes_default
36666
36667 int
36668 main ()
36669 {
36670
36671 #ifndef $wx_func
36672 &$wx_func;
36673 #endif
36674
36675
36676 ;
36677 return 0;
36678 }
36679
36680 _ACEOF
36681 rm -f conftest.$ac_objext conftest$ac_exeext
36682 if { (ac_try="$ac_link"
36683 case "(($ac_try" in
36684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36685 *) ac_try_echo=$ac_try;;
36686 esac
36687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36688 (eval "$ac_link") 2>conftest.er1
36689 ac_status=$?
36690 grep -v '^ *+' conftest.er1 >conftest.err
36691 rm -f conftest.er1
36692 cat conftest.err >&5
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); } && {
36695 test -z "$ac_c_werror_flag" ||
36696 test ! -s conftest.err
36697 } && test -s conftest$ac_exeext &&
36698 $as_test_x conftest$ac_exeext; then
36699 eval wx_cv_func_$wx_func=yes
36700 else
36701 echo "$as_me: failed program was:" >&5
36702 sed 's/^/| /' conftest.$ac_ext >&5
36703
36704 eval wx_cv_func_$wx_func=no
36705 fi
36706
36707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36708 conftest$ac_exeext conftest.$ac_ext
36709
36710 fi
36711 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36712 { echo "$as_me:$LINENO: result: $ac_res" >&5
36713 echo "${ECHO_T}$ac_res" >&6; }
36714
36715 if eval test \$wx_cv_func_$wx_func = yes
36716 then
36717 cat >>confdefs.h <<_ACEOF
36718 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36719 _ACEOF
36720
36721
36722 else
36723 :
36724 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36725 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36726
36727 fi
36728 done
36729
36730
36731
36732 fi
36733
36734
36735
36736 fi
36737 done
36738
36739 fi
36740
36741
36742 for wx_func in uname
36743 do
36744 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36745 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36746 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36747 echo $ECHO_N "(cached) $ECHO_C" >&6
36748 else
36749
36750 cat >conftest.$ac_ext <<_ACEOF
36751
36752 /* confdefs.h. */
36753 _ACEOF
36754 cat confdefs.h >>conftest.$ac_ext
36755 cat >>conftest.$ac_ext <<_ACEOF
36756 /* end confdefs.h. */
36757
36758 #include <sys/utsname.h>
36759 $ac_includes_default
36760
36761 int
36762 main ()
36763 {
36764
36765 #ifndef $wx_func
36766 &$wx_func;
36767 #endif
36768
36769
36770 ;
36771 return 0;
36772 }
36773
36774 _ACEOF
36775 rm -f conftest.$ac_objext conftest$ac_exeext
36776 if { (ac_try="$ac_link"
36777 case "(($ac_try" in
36778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36779 *) ac_try_echo=$ac_try;;
36780 esac
36781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36782 (eval "$ac_link") 2>conftest.er1
36783 ac_status=$?
36784 grep -v '^ *+' conftest.er1 >conftest.err
36785 rm -f conftest.er1
36786 cat conftest.err >&5
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); } && {
36789 test -z "$ac_c_werror_flag" ||
36790 test ! -s conftest.err
36791 } && test -s conftest$ac_exeext &&
36792 $as_test_x conftest$ac_exeext; then
36793 eval wx_cv_func_$wx_func=yes
36794 else
36795 echo "$as_me: failed program was:" >&5
36796 sed 's/^/| /' conftest.$ac_ext >&5
36797
36798 eval wx_cv_func_$wx_func=no
36799 fi
36800
36801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36802 conftest$ac_exeext conftest.$ac_ext
36803
36804 fi
36805 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36806 { echo "$as_me:$LINENO: result: $ac_res" >&5
36807 echo "${ECHO_T}$ac_res" >&6; }
36808
36809 if eval test \$wx_cv_func_$wx_func = yes
36810 then
36811 cat >>confdefs.h <<_ACEOF
36812 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36813 _ACEOF
36814
36815
36816 else
36817 :
36818
36819 fi
36820 done
36821
36822 if test "$wx_cv_func_uname" != yes; then
36823
36824 for wx_func in gethostname
36825 do
36826 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36827 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36828 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36830 else
36831
36832 cat >conftest.$ac_ext <<_ACEOF
36833
36834 /* confdefs.h. */
36835 _ACEOF
36836 cat confdefs.h >>conftest.$ac_ext
36837 cat >>conftest.$ac_ext <<_ACEOF
36838 /* end confdefs.h. */
36839
36840
36841 $ac_includes_default
36842
36843 int
36844 main ()
36845 {
36846
36847 #ifndef $wx_func
36848 &$wx_func;
36849 #endif
36850
36851
36852 ;
36853 return 0;
36854 }
36855
36856 _ACEOF
36857 rm -f conftest.$ac_objext conftest$ac_exeext
36858 if { (ac_try="$ac_link"
36859 case "(($ac_try" in
36860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36861 *) ac_try_echo=$ac_try;;
36862 esac
36863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36864 (eval "$ac_link") 2>conftest.er1
36865 ac_status=$?
36866 grep -v '^ *+' conftest.er1 >conftest.err
36867 rm -f conftest.er1
36868 cat conftest.err >&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } && {
36871 test -z "$ac_c_werror_flag" ||
36872 test ! -s conftest.err
36873 } && test -s conftest$ac_exeext &&
36874 $as_test_x conftest$ac_exeext; then
36875 eval wx_cv_func_$wx_func=yes
36876 else
36877 echo "$as_me: failed program was:" >&5
36878 sed 's/^/| /' conftest.$ac_ext >&5
36879
36880 eval wx_cv_func_$wx_func=no
36881 fi
36882
36883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36884 conftest$ac_exeext conftest.$ac_ext
36885
36886 fi
36887 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36888 { echo "$as_me:$LINENO: result: $ac_res" >&5
36889 echo "${ECHO_T}$ac_res" >&6; }
36890
36891 if eval test \$wx_cv_func_$wx_func = yes
36892 then
36893 cat >>confdefs.h <<_ACEOF
36894 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36895 _ACEOF
36896
36897
36898 else
36899 :
36900
36901 fi
36902 done
36903
36904 fi
36905
36906
36907 for wx_func in strtok_r
36908 do
36909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36911 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914
36915 cat >conftest.$ac_ext <<_ACEOF
36916
36917 /* confdefs.h. */
36918 _ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36922
36923 #define _REENTRANT
36924 $ac_includes_default
36925
36926 int
36927 main ()
36928 {
36929
36930 #ifndef $wx_func
36931 &$wx_func;
36932 #endif
36933
36934
36935 ;
36936 return 0;
36937 }
36938
36939 _ACEOF
36940 rm -f conftest.$ac_objext conftest$ac_exeext
36941 if { (ac_try="$ac_link"
36942 case "(($ac_try" in
36943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36944 *) ac_try_echo=$ac_try;;
36945 esac
36946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36947 (eval "$ac_link") 2>conftest.er1
36948 ac_status=$?
36949 grep -v '^ *+' conftest.er1 >conftest.err
36950 rm -f conftest.er1
36951 cat conftest.err >&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); } && {
36954 test -z "$ac_c_werror_flag" ||
36955 test ! -s conftest.err
36956 } && test -s conftest$ac_exeext &&
36957 $as_test_x conftest$ac_exeext; then
36958 eval wx_cv_func_$wx_func=yes
36959 else
36960 echo "$as_me: failed program was:" >&5
36961 sed 's/^/| /' conftest.$ac_ext >&5
36962
36963 eval wx_cv_func_$wx_func=no
36964 fi
36965
36966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36967 conftest$ac_exeext conftest.$ac_ext
36968
36969 fi
36970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36971 { echo "$as_me:$LINENO: result: $ac_res" >&5
36972 echo "${ECHO_T}$ac_res" >&6; }
36973
36974 if eval test \$wx_cv_func_$wx_func = yes
36975 then
36976 cat >>confdefs.h <<_ACEOF
36977 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36978 _ACEOF
36979
36980
36981 else
36982 :
36983
36984 fi
36985 done
36986
36987
36988 INET_LINK=
36989
36990 for ac_func in inet_addr
36991 do
36992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36995 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36996 echo $ECHO_N "(cached) $ECHO_C" >&6
36997 else
36998 cat >conftest.$ac_ext <<_ACEOF
36999 /* confdefs.h. */
37000 _ACEOF
37001 cat confdefs.h >>conftest.$ac_ext
37002 cat >>conftest.$ac_ext <<_ACEOF
37003 /* end confdefs.h. */
37004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37006 #define $ac_func innocuous_$ac_func
37007
37008 /* System header to define __stub macros and hopefully few prototypes,
37009 which can conflict with char $ac_func (); below.
37010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37011 <limits.h> exists even on freestanding compilers. */
37012
37013 #ifdef __STDC__
37014 # include <limits.h>
37015 #else
37016 # include <assert.h>
37017 #endif
37018
37019 #undef $ac_func
37020
37021 /* Override any GCC internal prototype to avoid an error.
37022 Use char because int might match the return type of a GCC
37023 builtin and then its argument prototype would still apply. */
37024 #ifdef __cplusplus
37025 extern "C"
37026 #endif
37027 char $ac_func ();
37028 /* The GNU C library defines this for functions which it implements
37029 to always fail with ENOSYS. Some functions are actually named
37030 something starting with __ and the normal name is an alias. */
37031 #if defined __stub_$ac_func || defined __stub___$ac_func
37032 choke me
37033 #endif
37034
37035 int
37036 main ()
37037 {
37038 return $ac_func ();
37039 ;
37040 return 0;
37041 }
37042 _ACEOF
37043 rm -f conftest.$ac_objext conftest$ac_exeext
37044 if { (ac_try="$ac_link"
37045 case "(($ac_try" in
37046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37047 *) ac_try_echo=$ac_try;;
37048 esac
37049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37050 (eval "$ac_link") 2>conftest.er1
37051 ac_status=$?
37052 grep -v '^ *+' conftest.er1 >conftest.err
37053 rm -f conftest.er1
37054 cat conftest.err >&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); } && {
37057 test -z "$ac_c_werror_flag" ||
37058 test ! -s conftest.err
37059 } && test -s conftest$ac_exeext &&
37060 $as_test_x conftest$ac_exeext; then
37061 eval "$as_ac_var=yes"
37062 else
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.$ac_ext >&5
37065
37066 eval "$as_ac_var=no"
37067 fi
37068
37069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37070 conftest$ac_exeext conftest.$ac_ext
37071 fi
37072 ac_res=`eval echo '${'$as_ac_var'}'`
37073 { echo "$as_me:$LINENO: result: $ac_res" >&5
37074 echo "${ECHO_T}$ac_res" >&6; }
37075 if test `eval echo '${'$as_ac_var'}'` = yes; then
37076 cat >>confdefs.h <<_ACEOF
37077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37078 _ACEOF
37079 cat >>confdefs.h <<\_ACEOF
37080 #define HAVE_INET_ADDR 1
37081 _ACEOF
37082
37083 else
37084
37085 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37086 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37087 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37088 echo $ECHO_N "(cached) $ECHO_C" >&6
37089 else
37090 ac_check_lib_save_LIBS=$LIBS
37091 LIBS="-lnsl $LIBS"
37092 cat >conftest.$ac_ext <<_ACEOF
37093 /* confdefs.h. */
37094 _ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098
37099 /* Override any GCC internal prototype to avoid an error.
37100 Use char because int might match the return type of a GCC
37101 builtin and then its argument prototype would still apply. */
37102 #ifdef __cplusplus
37103 extern "C"
37104 #endif
37105 char inet_addr ();
37106 int
37107 main ()
37108 {
37109 return inet_addr ();
37110 ;
37111 return 0;
37112 }
37113 _ACEOF
37114 rm -f conftest.$ac_objext conftest$ac_exeext
37115 if { (ac_try="$ac_link"
37116 case "(($ac_try" in
37117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37118 *) ac_try_echo=$ac_try;;
37119 esac
37120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37121 (eval "$ac_link") 2>conftest.er1
37122 ac_status=$?
37123 grep -v '^ *+' conftest.er1 >conftest.err
37124 rm -f conftest.er1
37125 cat conftest.err >&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); } && {
37128 test -z "$ac_c_werror_flag" ||
37129 test ! -s conftest.err
37130 } && test -s conftest$ac_exeext &&
37131 $as_test_x conftest$ac_exeext; then
37132 ac_cv_lib_nsl_inet_addr=yes
37133 else
37134 echo "$as_me: failed program was:" >&5
37135 sed 's/^/| /' conftest.$ac_ext >&5
37136
37137 ac_cv_lib_nsl_inet_addr=no
37138 fi
37139
37140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37141 conftest$ac_exeext conftest.$ac_ext
37142 LIBS=$ac_check_lib_save_LIBS
37143 fi
37144 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37145 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37146 if test $ac_cv_lib_nsl_inet_addr = yes; then
37147 INET_LINK="nsl"
37148 else
37149
37150 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37151 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37152 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37153 echo $ECHO_N "(cached) $ECHO_C" >&6
37154 else
37155 ac_check_lib_save_LIBS=$LIBS
37156 LIBS="-lresolv $LIBS"
37157 cat >conftest.$ac_ext <<_ACEOF
37158 /* confdefs.h. */
37159 _ACEOF
37160 cat confdefs.h >>conftest.$ac_ext
37161 cat >>conftest.$ac_ext <<_ACEOF
37162 /* end confdefs.h. */
37163
37164 /* Override any GCC internal prototype to avoid an error.
37165 Use char because int might match the return type of a GCC
37166 builtin and then its argument prototype would still apply. */
37167 #ifdef __cplusplus
37168 extern "C"
37169 #endif
37170 char inet_addr ();
37171 int
37172 main ()
37173 {
37174 return inet_addr ();
37175 ;
37176 return 0;
37177 }
37178 _ACEOF
37179 rm -f conftest.$ac_objext conftest$ac_exeext
37180 if { (ac_try="$ac_link"
37181 case "(($ac_try" in
37182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37183 *) ac_try_echo=$ac_try;;
37184 esac
37185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37186 (eval "$ac_link") 2>conftest.er1
37187 ac_status=$?
37188 grep -v '^ *+' conftest.er1 >conftest.err
37189 rm -f conftest.er1
37190 cat conftest.err >&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); } && {
37193 test -z "$ac_c_werror_flag" ||
37194 test ! -s conftest.err
37195 } && test -s conftest$ac_exeext &&
37196 $as_test_x conftest$ac_exeext; then
37197 ac_cv_lib_resolv_inet_addr=yes
37198 else
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37201
37202 ac_cv_lib_resolv_inet_addr=no
37203 fi
37204
37205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37206 conftest$ac_exeext conftest.$ac_ext
37207 LIBS=$ac_check_lib_save_LIBS
37208 fi
37209 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37210 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37211 if test $ac_cv_lib_resolv_inet_addr = yes; then
37212 INET_LINK="resolv"
37213 else
37214
37215 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37216 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37217 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37220 ac_check_lib_save_LIBS=$LIBS
37221 LIBS="-lsocket $LIBS"
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228
37229 /* Override any GCC internal prototype to avoid an error.
37230 Use char because int might match the return type of a GCC
37231 builtin and then its argument prototype would still apply. */
37232 #ifdef __cplusplus
37233 extern "C"
37234 #endif
37235 char inet_addr ();
37236 int
37237 main ()
37238 {
37239 return inet_addr ();
37240 ;
37241 return 0;
37242 }
37243 _ACEOF
37244 rm -f conftest.$ac_objext conftest$ac_exeext
37245 if { (ac_try="$ac_link"
37246 case "(($ac_try" in
37247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37248 *) ac_try_echo=$ac_try;;
37249 esac
37250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37251 (eval "$ac_link") 2>conftest.er1
37252 ac_status=$?
37253 grep -v '^ *+' conftest.er1 >conftest.err
37254 rm -f conftest.er1
37255 cat conftest.err >&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); } && {
37258 test -z "$ac_c_werror_flag" ||
37259 test ! -s conftest.err
37260 } && test -s conftest$ac_exeext &&
37261 $as_test_x conftest$ac_exeext; then
37262 ac_cv_lib_socket_inet_addr=yes
37263 else
37264 echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.$ac_ext >&5
37266
37267 ac_cv_lib_socket_inet_addr=no
37268 fi
37269
37270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37271 conftest$ac_exeext conftest.$ac_ext
37272 LIBS=$ac_check_lib_save_LIBS
37273 fi
37274 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37275 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37276 if test $ac_cv_lib_socket_inet_addr = yes; then
37277 INET_LINK="socket"
37278
37279 fi
37280
37281
37282
37283 fi
37284
37285
37286
37287 fi
37288
37289
37290
37291 fi
37292 done
37293
37294
37295
37296 for ac_func in inet_aton
37297 do
37298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37302 echo $ECHO_N "(cached) $ECHO_C" >&6
37303 else
37304 cat >conftest.$ac_ext <<_ACEOF
37305 /* confdefs.h. */
37306 _ACEOF
37307 cat confdefs.h >>conftest.$ac_ext
37308 cat >>conftest.$ac_ext <<_ACEOF
37309 /* end confdefs.h. */
37310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37312 #define $ac_func innocuous_$ac_func
37313
37314 /* System header to define __stub macros and hopefully few prototypes,
37315 which can conflict with char $ac_func (); below.
37316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37317 <limits.h> exists even on freestanding compilers. */
37318
37319 #ifdef __STDC__
37320 # include <limits.h>
37321 #else
37322 # include <assert.h>
37323 #endif
37324
37325 #undef $ac_func
37326
37327 /* Override any GCC internal prototype to avoid an error.
37328 Use char because int might match the return type of a GCC
37329 builtin and then its argument prototype would still apply. */
37330 #ifdef __cplusplus
37331 extern "C"
37332 #endif
37333 char $ac_func ();
37334 /* The GNU C library defines this for functions which it implements
37335 to always fail with ENOSYS. Some functions are actually named
37336 something starting with __ and the normal name is an alias. */
37337 #if defined __stub_$ac_func || defined __stub___$ac_func
37338 choke me
37339 #endif
37340
37341 int
37342 main ()
37343 {
37344 return $ac_func ();
37345 ;
37346 return 0;
37347 }
37348 _ACEOF
37349 rm -f conftest.$ac_objext conftest$ac_exeext
37350 if { (ac_try="$ac_link"
37351 case "(($ac_try" in
37352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37353 *) ac_try_echo=$ac_try;;
37354 esac
37355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37356 (eval "$ac_link") 2>conftest.er1
37357 ac_status=$?
37358 grep -v '^ *+' conftest.er1 >conftest.err
37359 rm -f conftest.er1
37360 cat conftest.err >&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); } && {
37363 test -z "$ac_c_werror_flag" ||
37364 test ! -s conftest.err
37365 } && test -s conftest$ac_exeext &&
37366 $as_test_x conftest$ac_exeext; then
37367 eval "$as_ac_var=yes"
37368 else
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.$ac_ext >&5
37371
37372 eval "$as_ac_var=no"
37373 fi
37374
37375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37376 conftest$ac_exeext conftest.$ac_ext
37377 fi
37378 ac_res=`eval echo '${'$as_ac_var'}'`
37379 { echo "$as_me:$LINENO: result: $ac_res" >&5
37380 echo "${ECHO_T}$ac_res" >&6; }
37381 if test `eval echo '${'$as_ac_var'}'` = yes; then
37382 cat >>confdefs.h <<_ACEOF
37383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37384 _ACEOF
37385 cat >>confdefs.h <<\_ACEOF
37386 #define HAVE_INET_ATON 1
37387 _ACEOF
37388
37389 else
37390
37391 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37392 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37393 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37394 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37396 else
37397 ac_check_lib_save_LIBS=$LIBS
37398 LIBS="-l$INET_LINK $LIBS"
37399 cat >conftest.$ac_ext <<_ACEOF
37400 /* confdefs.h. */
37401 _ACEOF
37402 cat confdefs.h >>conftest.$ac_ext
37403 cat >>conftest.$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37405
37406 /* Override any GCC internal prototype to avoid an error.
37407 Use char because int might match the return type of a GCC
37408 builtin and then its argument prototype would still apply. */
37409 #ifdef __cplusplus
37410 extern "C"
37411 #endif
37412 char inet_aton ();
37413 int
37414 main ()
37415 {
37416 return inet_aton ();
37417 ;
37418 return 0;
37419 }
37420 _ACEOF
37421 rm -f conftest.$ac_objext conftest$ac_exeext
37422 if { (ac_try="$ac_link"
37423 case "(($ac_try" in
37424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37425 *) ac_try_echo=$ac_try;;
37426 esac
37427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37428 (eval "$ac_link") 2>conftest.er1
37429 ac_status=$?
37430 grep -v '^ *+' conftest.er1 >conftest.err
37431 rm -f conftest.er1
37432 cat conftest.err >&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); } && {
37435 test -z "$ac_c_werror_flag" ||
37436 test ! -s conftest.err
37437 } && test -s conftest$ac_exeext &&
37438 $as_test_x conftest$ac_exeext; then
37439 eval "$as_ac_Lib=yes"
37440 else
37441 echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37443
37444 eval "$as_ac_Lib=no"
37445 fi
37446
37447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37448 conftest$ac_exeext conftest.$ac_ext
37449 LIBS=$ac_check_lib_save_LIBS
37450 fi
37451 ac_res=`eval echo '${'$as_ac_Lib'}'`
37452 { echo "$as_me:$LINENO: result: $ac_res" >&5
37453 echo "${ECHO_T}$ac_res" >&6; }
37454 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37455 cat >>confdefs.h <<\_ACEOF
37456 #define HAVE_INET_ATON 1
37457 _ACEOF
37458
37459 fi
37460
37461
37462 fi
37463 done
37464
37465
37466 if test "x$INET_LINK" != "x"; then
37467 cat >>confdefs.h <<\_ACEOF
37468 #define HAVE_INET_ADDR 1
37469 _ACEOF
37470
37471 INET_LINK=" -l$INET_LINK"
37472 fi
37473
37474
37475 for wx_func in fdopen
37476 do
37477 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37478 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37479 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37480 echo $ECHO_N "(cached) $ECHO_C" >&6
37481 else
37482
37483 cat >conftest.$ac_ext <<_ACEOF
37484
37485 /* confdefs.h. */
37486 _ACEOF
37487 cat confdefs.h >>conftest.$ac_ext
37488 cat >>conftest.$ac_ext <<_ACEOF
37489 /* end confdefs.h. */
37490
37491
37492 $ac_includes_default
37493
37494 int
37495 main ()
37496 {
37497
37498 #ifndef $wx_func
37499 &$wx_func;
37500 #endif
37501
37502
37503 ;
37504 return 0;
37505 }
37506
37507 _ACEOF
37508 rm -f conftest.$ac_objext conftest$ac_exeext
37509 if { (ac_try="$ac_link"
37510 case "(($ac_try" in
37511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37512 *) ac_try_echo=$ac_try;;
37513 esac
37514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37515 (eval "$ac_link") 2>conftest.er1
37516 ac_status=$?
37517 grep -v '^ *+' conftest.er1 >conftest.err
37518 rm -f conftest.er1
37519 cat conftest.err >&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } && {
37522 test -z "$ac_c_werror_flag" ||
37523 test ! -s conftest.err
37524 } && test -s conftest$ac_exeext &&
37525 $as_test_x conftest$ac_exeext; then
37526 eval wx_cv_func_$wx_func=yes
37527 else
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.$ac_ext >&5
37530
37531 eval wx_cv_func_$wx_func=no
37532 fi
37533
37534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37535 conftest$ac_exeext conftest.$ac_ext
37536
37537 fi
37538 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37539 { echo "$as_me:$LINENO: result: $ac_res" >&5
37540 echo "${ECHO_T}$ac_res" >&6; }
37541
37542 if eval test \$wx_cv_func_$wx_func = yes
37543 then
37544 cat >>confdefs.h <<_ACEOF
37545 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37546 _ACEOF
37547
37548
37549 else
37550 :
37551
37552 fi
37553 done
37554
37555
37556 fi
37557
37558
37559
37560 cat >confcache <<\_ACEOF
37561 # This file is a shell script that caches the results of configure
37562 # tests run on this system so they can be shared between configure
37563 # scripts and configure runs, see configure's option --config-cache.
37564 # It is not useful on other systems. If it contains results you don't
37565 # want to keep, you may remove or edit it.
37566 #
37567 # config.status only pays attention to the cache file if you give it
37568 # the --recheck option to rerun configure.
37569 #
37570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37572 # following values.
37573
37574 _ACEOF
37575
37576 # The following way of writing the cache mishandles newlines in values,
37577 # but we know of no workaround that is simple, portable, and efficient.
37578 # So, we kill variables containing newlines.
37579 # Ultrix sh set writes to stderr and can't be redirected directly,
37580 # and sets the high bit in the cache file unless we assign to the vars.
37581 (
37582 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37583 eval ac_val=\$$ac_var
37584 case $ac_val in #(
37585 *${as_nl}*)
37586 case $ac_var in #(
37587 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37588 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37589 esac
37590 case $ac_var in #(
37591 _ | IFS | as_nl) ;; #(
37592 *) $as_unset $ac_var ;;
37593 esac ;;
37594 esac
37595 done
37596
37597 (set) 2>&1 |
37598 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37599 *${as_nl}ac_space=\ *)
37600 # `set' does not quote correctly, so add quotes (double-quote
37601 # substitution turns \\\\ into \\, and sed turns \\ into \).
37602 sed -n \
37603 "s/'/'\\\\''/g;
37604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37605 ;; #(
37606 *)
37607 # `set' quotes correctly as required by POSIX, so do not add quotes.
37608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37609 ;;
37610 esac |
37611 sort
37612 ) |
37613 sed '
37614 /^ac_cv_env_/b end
37615 t clear
37616 :clear
37617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37618 t end
37619 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37620 :end' >>confcache
37621 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37622 if test -w "$cache_file"; then
37623 test "x$cache_file" != "x/dev/null" &&
37624 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37625 echo "$as_me: updating cache $cache_file" >&6;}
37626 cat confcache >$cache_file
37627 else
37628 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37629 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37630 fi
37631 fi
37632 rm -f confcache
37633
37634
37635 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37636
37637
37638 THREADS_LINK=
37639 THREADS_CFLAGS=
37640
37641 if test "$wxUSE_THREADS" = "yes" ; then
37642 if test "$USE_BEOS" = 1; then
37643 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37644 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37645 wxUSE_THREADS="no"
37646 fi
37647 fi
37648
37649 if test "$wxUSE_THREADS" = "yes" ; then
37650
37651
37652 THREAD_OPTS="-pthread"
37653 case "${host}" in
37654 *-*-solaris2* | *-*-sunos4* )
37655 if test "x$GCC" = "xyes"; then
37656 THREAD_OPTS="-pthreads $THREAD_OPTS"
37657 else
37658 THREAD_OPTS="-mt $THREAD_OPTS"
37659 fi
37660 ;;
37661 *-*-freebsd*)
37662 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37663 ;;
37664 *-*-darwin* | *-*-cygwin* )
37665 THREAD_OPTS=""
37666 ;;
37667 *-*-aix*)
37668 THREAD_OPTS="pthreads"
37669 ;;
37670 *-hp-hpux* )
37671 if test "x$GCC" = "xyes"; then
37672 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37673 THREAD_OPTS=""
37674 else
37675 THREAD_OPTS="-mt"
37676 fi
37677 ;;
37678
37679 *-*-irix* )
37680 if test "x$GCC" = "xyes"; then
37681 THREAD_OPTS=""
37682 fi
37683 ;;
37684
37685 *-*-*UnixWare*)
37686 if test "x$GCC" != "xyes"; then
37687 THREAD_OPTS="-Ethread"
37688 fi
37689 ;;
37690 esac
37691
37692 THREAD_OPTS="$THREAD_OPTS pthread none"
37693
37694 THREADS_OK=no
37695 for flag in $THREAD_OPTS; do
37696 case $flag in
37697 none)
37698 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37699 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37700 ;;
37701
37702 -*)
37703 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37704 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37705 THREADS_CFLAGS="$flag"
37706 ;;
37707
37708 *)
37709 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37710 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37711 THREADS_LINK="-l$flag"
37712 ;;
37713 esac
37714
37715 save_LIBS="$LIBS"
37716 save_CFLAGS="$CFLAGS"
37717 LIBS="$THREADS_LINK $LIBS"
37718 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37719
37720 cat >conftest.$ac_ext <<_ACEOF
37721 /* confdefs.h. */
37722 _ACEOF
37723 cat confdefs.h >>conftest.$ac_ext
37724 cat >>conftest.$ac_ext <<_ACEOF
37725 /* end confdefs.h. */
37726 #include <pthread.h>
37727 int
37728 main ()
37729 {
37730 pthread_create(0,0,0,0);
37731 ;
37732 return 0;
37733 }
37734 _ACEOF
37735 rm -f conftest.$ac_objext conftest$ac_exeext
37736 if { (ac_try="$ac_link"
37737 case "(($ac_try" in
37738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37739 *) ac_try_echo=$ac_try;;
37740 esac
37741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37742 (eval "$ac_link") 2>conftest.er1
37743 ac_status=$?
37744 grep -v '^ *+' conftest.er1 >conftest.err
37745 rm -f conftest.er1
37746 cat conftest.err >&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); } && {
37749 test -z "$ac_c_werror_flag" ||
37750 test ! -s conftest.err
37751 } && test -s conftest$ac_exeext &&
37752 $as_test_x conftest$ac_exeext; then
37753 THREADS_OK=yes
37754 else
37755 echo "$as_me: failed program was:" >&5
37756 sed 's/^/| /' conftest.$ac_ext >&5
37757
37758
37759 fi
37760
37761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37762 conftest$ac_exeext conftest.$ac_ext
37763
37764 LIBS="$save_LIBS"
37765 CFLAGS="$save_CFLAGS"
37766
37767 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37768 echo "${ECHO_T}$THREADS_OK" >&6; }
37769 if test "x$THREADS_OK" = "xyes"; then
37770 break;
37771 fi
37772
37773 THREADS_LINK=""
37774 THREADS_CFLAGS=""
37775 done
37776
37777 if test "x$THREADS_OK" != "xyes"; then
37778 wxUSE_THREADS=no
37779 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37780 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37781 else
37782 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37783 LIBS="$THREADS_LINK $LIBS"
37784
37785 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37786 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37787 flag=no
37788 case "${host}" in
37789 *-aix*)
37790 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37791 flag="-D_THREAD_SAFE"
37792 ;;
37793 *-freebsd*)
37794 flag="-D_THREAD_SAFE"
37795 ;;
37796 *-hp-hpux* )
37797 flag="-D_REENTRANT"
37798 if test "x$GCC" != "xyes"; then
37799 flag="$flag -D_RWSTD_MULTI_THREAD"
37800 fi
37801 ;;
37802 *solaris* | alpha*-osf*)
37803 flag="-D_REENTRANT"
37804 ;;
37805 esac
37806 { echo "$as_me:$LINENO: result: ${flag}" >&5
37807 echo "${ECHO_T}${flag}" >&6; }
37808 if test "x$flag" != xno; then
37809 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37810 fi
37811
37812 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37813 fi
37814 fi
37815
37816 if test "$wxUSE_THREADS" = "yes" ; then
37817
37818 for ac_func in thr_setconcurrency
37819 do
37820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37824 echo $ECHO_N "(cached) $ECHO_C" >&6
37825 else
37826 cat >conftest.$ac_ext <<_ACEOF
37827 /* confdefs.h. */
37828 _ACEOF
37829 cat confdefs.h >>conftest.$ac_ext
37830 cat >>conftest.$ac_ext <<_ACEOF
37831 /* end confdefs.h. */
37832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37834 #define $ac_func innocuous_$ac_func
37835
37836 /* System header to define __stub macros and hopefully few prototypes,
37837 which can conflict with char $ac_func (); below.
37838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37839 <limits.h> exists even on freestanding compilers. */
37840
37841 #ifdef __STDC__
37842 # include <limits.h>
37843 #else
37844 # include <assert.h>
37845 #endif
37846
37847 #undef $ac_func
37848
37849 /* Override any GCC internal prototype to avoid an error.
37850 Use char because int might match the return type of a GCC
37851 builtin and then its argument prototype would still apply. */
37852 #ifdef __cplusplus
37853 extern "C"
37854 #endif
37855 char $ac_func ();
37856 /* The GNU C library defines this for functions which it implements
37857 to always fail with ENOSYS. Some functions are actually named
37858 something starting with __ and the normal name is an alias. */
37859 #if defined __stub_$ac_func || defined __stub___$ac_func
37860 choke me
37861 #endif
37862
37863 int
37864 main ()
37865 {
37866 return $ac_func ();
37867 ;
37868 return 0;
37869 }
37870 _ACEOF
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (ac_try="$ac_link"
37873 case "(($ac_try" in
37874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37875 *) ac_try_echo=$ac_try;;
37876 esac
37877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37878 (eval "$ac_link") 2>conftest.er1
37879 ac_status=$?
37880 grep -v '^ *+' conftest.er1 >conftest.err
37881 rm -f conftest.er1
37882 cat conftest.err >&5
37883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884 (exit $ac_status); } && {
37885 test -z "$ac_c_werror_flag" ||
37886 test ! -s conftest.err
37887 } && test -s conftest$ac_exeext &&
37888 $as_test_x conftest$ac_exeext; then
37889 eval "$as_ac_var=yes"
37890 else
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.$ac_ext >&5
37893
37894 eval "$as_ac_var=no"
37895 fi
37896
37897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37898 conftest$ac_exeext conftest.$ac_ext
37899 fi
37900 ac_res=`eval echo '${'$as_ac_var'}'`
37901 { echo "$as_me:$LINENO: result: $ac_res" >&5
37902 echo "${ECHO_T}$ac_res" >&6; }
37903 if test `eval echo '${'$as_ac_var'}'` = yes; then
37904 cat >>confdefs.h <<_ACEOF
37905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37906 _ACEOF
37907
37908 fi
37909 done
37910
37911
37912 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37913 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37914 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37915 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 else
37917
37918 cat >conftest.$ac_ext <<_ACEOF
37919 /* confdefs.h. */
37920 _ACEOF
37921 cat confdefs.h >>conftest.$ac_ext
37922 cat >>conftest.$ac_ext <<_ACEOF
37923 /* end confdefs.h. */
37924 #include <pthread.h>
37925 void ThreadCleanupFunc(void *p);
37926
37927 int
37928 main ()
37929 {
37930
37931 void *p;
37932 pthread_cleanup_push(ThreadCleanupFunc, p);
37933 pthread_cleanup_pop(0);
37934
37935 ;
37936 return 0;
37937 }
37938 _ACEOF
37939 rm -f conftest.$ac_objext
37940 if { (ac_try="$ac_compile"
37941 case "(($ac_try" in
37942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37943 *) ac_try_echo=$ac_try;;
37944 esac
37945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37946 (eval "$ac_compile") 2>conftest.er1
37947 ac_status=$?
37948 grep -v '^ *+' conftest.er1 >conftest.err
37949 rm -f conftest.er1
37950 cat conftest.err >&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); } && {
37953 test -z "$ac_c_werror_flag" ||
37954 test ! -s conftest.err
37955 } && test -s conftest.$ac_objext; then
37956
37957 wx_cv_func_pthread_cleanup=yes
37958
37959 else
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963
37964 wx_cv_func_pthread_cleanup=no
37965
37966
37967 fi
37968
37969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37970
37971 fi
37972 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37973 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37974 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37975 cat >>confdefs.h <<\_ACEOF
37976 #define wxHAVE_PTHREAD_CLEANUP 1
37977 _ACEOF
37978
37979 fi
37980
37981 { echo "$as_me:$LINENO: checking for sched.h" >&5
37982 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37983 if test "${ac_cv_header_sched_h+set}" = set; then
37984 echo $ECHO_N "(cached) $ECHO_C" >&6
37985 else
37986 cat >conftest.$ac_ext <<_ACEOF
37987 /* confdefs.h. */
37988 _ACEOF
37989 cat confdefs.h >>conftest.$ac_ext
37990 cat >>conftest.$ac_ext <<_ACEOF
37991 /* end confdefs.h. */
37992 $ac_includes_default
37993
37994 #include <sched.h>
37995 _ACEOF
37996 rm -f conftest.$ac_objext
37997 if { (ac_try="$ac_compile"
37998 case "(($ac_try" in
37999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38000 *) ac_try_echo=$ac_try;;
38001 esac
38002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38003 (eval "$ac_compile") 2>conftest.er1
38004 ac_status=$?
38005 grep -v '^ *+' conftest.er1 >conftest.err
38006 rm -f conftest.er1
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } && {
38010 test -z "$ac_c_werror_flag" ||
38011 test ! -s conftest.err
38012 } && test -s conftest.$ac_objext; then
38013 ac_cv_header_sched_h=yes
38014 else
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.$ac_ext >&5
38017
38018 ac_cv_header_sched_h=no
38019 fi
38020
38021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38022 fi
38023 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38024 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38025
38026
38027 if test "$ac_cv_header_sched_h" = "yes"; then
38028 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38029 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38030 if test "${ac_cv_func_sched_yield+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 else
38033 cat >conftest.$ac_ext <<_ACEOF
38034 /* confdefs.h. */
38035 _ACEOF
38036 cat confdefs.h >>conftest.$ac_ext
38037 cat >>conftest.$ac_ext <<_ACEOF
38038 /* end confdefs.h. */
38039 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38041 #define sched_yield innocuous_sched_yield
38042
38043 /* System header to define __stub macros and hopefully few prototypes,
38044 which can conflict with char sched_yield (); below.
38045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38046 <limits.h> exists even on freestanding compilers. */
38047
38048 #ifdef __STDC__
38049 # include <limits.h>
38050 #else
38051 # include <assert.h>
38052 #endif
38053
38054 #undef sched_yield
38055
38056 /* Override any GCC internal prototype to avoid an error.
38057 Use char because int might match the return type of a GCC
38058 builtin and then its argument prototype would still apply. */
38059 #ifdef __cplusplus
38060 extern "C"
38061 #endif
38062 char sched_yield ();
38063 /* The GNU C library defines this for functions which it implements
38064 to always fail with ENOSYS. Some functions are actually named
38065 something starting with __ and the normal name is an alias. */
38066 #if defined __stub_sched_yield || defined __stub___sched_yield
38067 choke me
38068 #endif
38069
38070 int
38071 main ()
38072 {
38073 return sched_yield ();
38074 ;
38075 return 0;
38076 }
38077 _ACEOF
38078 rm -f conftest.$ac_objext conftest$ac_exeext
38079 if { (ac_try="$ac_link"
38080 case "(($ac_try" in
38081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38082 *) ac_try_echo=$ac_try;;
38083 esac
38084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38085 (eval "$ac_link") 2>conftest.er1
38086 ac_status=$?
38087 grep -v '^ *+' conftest.er1 >conftest.err
38088 rm -f conftest.er1
38089 cat conftest.err >&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } && {
38092 test -z "$ac_c_werror_flag" ||
38093 test ! -s conftest.err
38094 } && test -s conftest$ac_exeext &&
38095 $as_test_x conftest$ac_exeext; then
38096 ac_cv_func_sched_yield=yes
38097 else
38098 echo "$as_me: failed program was:" >&5
38099 sed 's/^/| /' conftest.$ac_ext >&5
38100
38101 ac_cv_func_sched_yield=no
38102 fi
38103
38104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38105 conftest$ac_exeext conftest.$ac_ext
38106 fi
38107 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38108 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38109 if test $ac_cv_func_sched_yield = yes; then
38110 cat >>confdefs.h <<\_ACEOF
38111 #define HAVE_SCHED_YIELD 1
38112 _ACEOF
38113
38114 else
38115
38116 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38117 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38118 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38119 echo $ECHO_N "(cached) $ECHO_C" >&6
38120 else
38121 ac_check_lib_save_LIBS=$LIBS
38122 LIBS="-lposix4 $LIBS"
38123 cat >conftest.$ac_ext <<_ACEOF
38124 /* confdefs.h. */
38125 _ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129
38130 /* Override any GCC internal prototype to avoid an error.
38131 Use char because int might match the return type of a GCC
38132 builtin and then its argument prototype would still apply. */
38133 #ifdef __cplusplus
38134 extern "C"
38135 #endif
38136 char sched_yield ();
38137 int
38138 main ()
38139 {
38140 return sched_yield ();
38141 ;
38142 return 0;
38143 }
38144 _ACEOF
38145 rm -f conftest.$ac_objext conftest$ac_exeext
38146 if { (ac_try="$ac_link"
38147 case "(($ac_try" in
38148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38149 *) ac_try_echo=$ac_try;;
38150 esac
38151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38152 (eval "$ac_link") 2>conftest.er1
38153 ac_status=$?
38154 grep -v '^ *+' conftest.er1 >conftest.err
38155 rm -f conftest.er1
38156 cat conftest.err >&5
38157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38158 (exit $ac_status); } && {
38159 test -z "$ac_c_werror_flag" ||
38160 test ! -s conftest.err
38161 } && test -s conftest$ac_exeext &&
38162 $as_test_x conftest$ac_exeext; then
38163 ac_cv_lib_posix4_sched_yield=yes
38164 else
38165 echo "$as_me: failed program was:" >&5
38166 sed 's/^/| /' conftest.$ac_ext >&5
38167
38168 ac_cv_lib_posix4_sched_yield=no
38169 fi
38170
38171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38172 conftest$ac_exeext conftest.$ac_ext
38173 LIBS=$ac_check_lib_save_LIBS
38174 fi
38175 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38176 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38177 if test $ac_cv_lib_posix4_sched_yield = yes; then
38178 cat >>confdefs.h <<\_ACEOF
38179 #define HAVE_SCHED_YIELD 1
38180 _ACEOF
38181 POSIX4_LINK=" -lposix4"
38182 else
38183 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38184 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38185
38186 fi
38187
38188
38189
38190 fi
38191
38192 fi
38193
38194 HAVE_PRIOR_FUNCS=0
38195 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38196 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38197 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38198 echo $ECHO_N "(cached) $ECHO_C" >&6
38199 else
38200 cat >conftest.$ac_ext <<_ACEOF
38201 /* confdefs.h. */
38202 _ACEOF
38203 cat confdefs.h >>conftest.$ac_ext
38204 cat >>conftest.$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38208 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38209
38210 /* System header to define __stub macros and hopefully few prototypes,
38211 which can conflict with char pthread_attr_getschedpolicy (); below.
38212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38213 <limits.h> exists even on freestanding compilers. */
38214
38215 #ifdef __STDC__
38216 # include <limits.h>
38217 #else
38218 # include <assert.h>
38219 #endif
38220
38221 #undef pthread_attr_getschedpolicy
38222
38223 /* Override any GCC internal prototype to avoid an error.
38224 Use char because int might match the return type of a GCC
38225 builtin and then its argument prototype would still apply. */
38226 #ifdef __cplusplus
38227 extern "C"
38228 #endif
38229 char pthread_attr_getschedpolicy ();
38230 /* The GNU C library defines this for functions which it implements
38231 to always fail with ENOSYS. Some functions are actually named
38232 something starting with __ and the normal name is an alias. */
38233 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38234 choke me
38235 #endif
38236
38237 int
38238 main ()
38239 {
38240 return pthread_attr_getschedpolicy ();
38241 ;
38242 return 0;
38243 }
38244 _ACEOF
38245 rm -f conftest.$ac_objext conftest$ac_exeext
38246 if { (ac_try="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38250 esac
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38253 ac_status=$?
38254 grep -v '^ *+' conftest.er1 >conftest.err
38255 rm -f conftest.er1
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 ac_cv_func_pthread_attr_getschedpolicy=yes
38264 else
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38267
38268 ac_cv_func_pthread_attr_getschedpolicy=no
38269 fi
38270
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38273 fi
38274 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38275 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38276 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38277 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38278 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38279 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 else
38282 cat >conftest.$ac_ext <<_ACEOF
38283 /* confdefs.h. */
38284 _ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38290 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38291
38292 /* System header to define __stub macros and hopefully few prototypes,
38293 which can conflict with char pthread_attr_setschedparam (); below.
38294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38295 <limits.h> exists even on freestanding compilers. */
38296
38297 #ifdef __STDC__
38298 # include <limits.h>
38299 #else
38300 # include <assert.h>
38301 #endif
38302
38303 #undef pthread_attr_setschedparam
38304
38305 /* Override any GCC internal prototype to avoid an error.
38306 Use char because int might match the return type of a GCC
38307 builtin and then its argument prototype would still apply. */
38308 #ifdef __cplusplus
38309 extern "C"
38310 #endif
38311 char pthread_attr_setschedparam ();
38312 /* The GNU C library defines this for functions which it implements
38313 to always fail with ENOSYS. Some functions are actually named
38314 something starting with __ and the normal name is an alias. */
38315 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38316 choke me
38317 #endif
38318
38319 int
38320 main ()
38321 {
38322 return pthread_attr_setschedparam ();
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext conftest$ac_exeext
38328 if { (ac_try="$ac_link"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38332 esac
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_link") 2>conftest.er1
38335 ac_status=$?
38336 grep -v '^ *+' conftest.er1 >conftest.err
38337 rm -f conftest.er1
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_c_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest$ac_exeext &&
38344 $as_test_x conftest$ac_exeext; then
38345 ac_cv_func_pthread_attr_setschedparam=yes
38346 else
38347 echo "$as_me: failed program was:" >&5
38348 sed 's/^/| /' conftest.$ac_ext >&5
38349
38350 ac_cv_func_pthread_attr_setschedparam=no
38351 fi
38352
38353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38354 conftest$ac_exeext conftest.$ac_ext
38355 fi
38356 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38357 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38358 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38359 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38360 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38361 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 else
38364 cat >conftest.$ac_ext <<_ACEOF
38365 /* confdefs.h. */
38366 _ACEOF
38367 cat confdefs.h >>conftest.$ac_ext
38368 cat >>conftest.$ac_ext <<_ACEOF
38369 /* end confdefs.h. */
38370 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38372 #define sched_get_priority_max innocuous_sched_get_priority_max
38373
38374 /* System header to define __stub macros and hopefully few prototypes,
38375 which can conflict with char sched_get_priority_max (); below.
38376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38377 <limits.h> exists even on freestanding compilers. */
38378
38379 #ifdef __STDC__
38380 # include <limits.h>
38381 #else
38382 # include <assert.h>
38383 #endif
38384
38385 #undef sched_get_priority_max
38386
38387 /* Override any GCC internal prototype to avoid an error.
38388 Use char because int might match the return type of a GCC
38389 builtin and then its argument prototype would still apply. */
38390 #ifdef __cplusplus
38391 extern "C"
38392 #endif
38393 char sched_get_priority_max ();
38394 /* The GNU C library defines this for functions which it implements
38395 to always fail with ENOSYS. Some functions are actually named
38396 something starting with __ and the normal name is an alias. */
38397 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38398 choke me
38399 #endif
38400
38401 int
38402 main ()
38403 {
38404 return sched_get_priority_max ();
38405 ;
38406 return 0;
38407 }
38408 _ACEOF
38409 rm -f conftest.$ac_objext conftest$ac_exeext
38410 if { (ac_try="$ac_link"
38411 case "(($ac_try" in
38412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38413 *) ac_try_echo=$ac_try;;
38414 esac
38415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38416 (eval "$ac_link") 2>conftest.er1
38417 ac_status=$?
38418 grep -v '^ *+' conftest.er1 >conftest.err
38419 rm -f conftest.er1
38420 cat conftest.err >&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); } && {
38423 test -z "$ac_c_werror_flag" ||
38424 test ! -s conftest.err
38425 } && test -s conftest$ac_exeext &&
38426 $as_test_x conftest$ac_exeext; then
38427 ac_cv_func_sched_get_priority_max=yes
38428 else
38429 echo "$as_me: failed program was:" >&5
38430 sed 's/^/| /' conftest.$ac_ext >&5
38431
38432 ac_cv_func_sched_get_priority_max=no
38433 fi
38434
38435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38436 conftest$ac_exeext conftest.$ac_ext
38437 fi
38438 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38439 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38440 if test $ac_cv_func_sched_get_priority_max = yes; then
38441 HAVE_PRIOR_FUNCS=1
38442 else
38443 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38444 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38445 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38448 ac_check_lib_save_LIBS=$LIBS
38449 LIBS="-lposix4 $LIBS"
38450 cat >conftest.$ac_ext <<_ACEOF
38451 /* confdefs.h. */
38452 _ACEOF
38453 cat confdefs.h >>conftest.$ac_ext
38454 cat >>conftest.$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38456
38457 /* Override any GCC internal prototype to avoid an error.
38458 Use char because int might match the return type of a GCC
38459 builtin and then its argument prototype would still apply. */
38460 #ifdef __cplusplus
38461 extern "C"
38462 #endif
38463 char sched_get_priority_max ();
38464 int
38465 main ()
38466 {
38467 return sched_get_priority_max ();
38468 ;
38469 return 0;
38470 }
38471 _ACEOF
38472 rm -f conftest.$ac_objext conftest$ac_exeext
38473 if { (ac_try="$ac_link"
38474 case "(($ac_try" in
38475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38476 *) ac_try_echo=$ac_try;;
38477 esac
38478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38479 (eval "$ac_link") 2>conftest.er1
38480 ac_status=$?
38481 grep -v '^ *+' conftest.er1 >conftest.err
38482 rm -f conftest.er1
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } && {
38486 test -z "$ac_c_werror_flag" ||
38487 test ! -s conftest.err
38488 } && test -s conftest$ac_exeext &&
38489 $as_test_x conftest$ac_exeext; then
38490 ac_cv_lib_posix4_sched_get_priority_max=yes
38491 else
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38494
38495 ac_cv_lib_posix4_sched_get_priority_max=no
38496 fi
38497
38498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38499 conftest$ac_exeext conftest.$ac_ext
38500 LIBS=$ac_check_lib_save_LIBS
38501 fi
38502 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38503 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38504 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38505
38506 HAVE_PRIOR_FUNCS=1
38507 POSIX4_LINK=" -lposix4"
38508
38509 fi
38510
38511
38512 fi
38513
38514
38515 fi
38516
38517
38518 fi
38519
38520
38521 if test "$HAVE_PRIOR_FUNCS" = 1; then
38522 cat >>confdefs.h <<\_ACEOF
38523 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38524 _ACEOF
38525
38526 else
38527 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38528 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38529 fi
38530
38531 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38532 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38533 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38534 echo $ECHO_N "(cached) $ECHO_C" >&6
38535 else
38536 cat >conftest.$ac_ext <<_ACEOF
38537 /* confdefs.h. */
38538 _ACEOF
38539 cat confdefs.h >>conftest.$ac_ext
38540 cat >>conftest.$ac_ext <<_ACEOF
38541 /* end confdefs.h. */
38542 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38544 #define pthread_cancel innocuous_pthread_cancel
38545
38546 /* System header to define __stub macros and hopefully few prototypes,
38547 which can conflict with char pthread_cancel (); below.
38548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38549 <limits.h> exists even on freestanding compilers. */
38550
38551 #ifdef __STDC__
38552 # include <limits.h>
38553 #else
38554 # include <assert.h>
38555 #endif
38556
38557 #undef pthread_cancel
38558
38559 /* Override any GCC internal prototype to avoid an error.
38560 Use char because int might match the return type of a GCC
38561 builtin and then its argument prototype would still apply. */
38562 #ifdef __cplusplus
38563 extern "C"
38564 #endif
38565 char pthread_cancel ();
38566 /* The GNU C library defines this for functions which it implements
38567 to always fail with ENOSYS. Some functions are actually named
38568 something starting with __ and the normal name is an alias. */
38569 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38570 choke me
38571 #endif
38572
38573 int
38574 main ()
38575 {
38576 return pthread_cancel ();
38577 ;
38578 return 0;
38579 }
38580 _ACEOF
38581 rm -f conftest.$ac_objext conftest$ac_exeext
38582 if { (ac_try="$ac_link"
38583 case "(($ac_try" in
38584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38585 *) ac_try_echo=$ac_try;;
38586 esac
38587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38588 (eval "$ac_link") 2>conftest.er1
38589 ac_status=$?
38590 grep -v '^ *+' conftest.er1 >conftest.err
38591 rm -f conftest.er1
38592 cat conftest.err >&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); } && {
38595 test -z "$ac_c_werror_flag" ||
38596 test ! -s conftest.err
38597 } && test -s conftest$ac_exeext &&
38598 $as_test_x conftest$ac_exeext; then
38599 ac_cv_func_pthread_cancel=yes
38600 else
38601 echo "$as_me: failed program was:" >&5
38602 sed 's/^/| /' conftest.$ac_ext >&5
38603
38604 ac_cv_func_pthread_cancel=no
38605 fi
38606
38607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38608 conftest$ac_exeext conftest.$ac_ext
38609 fi
38610 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38611 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38612 if test $ac_cv_func_pthread_cancel = yes; then
38613 cat >>confdefs.h <<\_ACEOF
38614 #define HAVE_PTHREAD_CANCEL 1
38615 _ACEOF
38616
38617 else
38618 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38619 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38620 fi
38621
38622
38623 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38624 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38625 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38626 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 else
38628 cat >conftest.$ac_ext <<_ACEOF
38629 /* confdefs.h. */
38630 _ACEOF
38631 cat confdefs.h >>conftest.$ac_ext
38632 cat >>conftest.$ac_ext <<_ACEOF
38633 /* end confdefs.h. */
38634 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38636 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38637
38638 /* System header to define __stub macros and hopefully few prototypes,
38639 which can conflict with char pthread_mutex_timedlock (); below.
38640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38641 <limits.h> exists even on freestanding compilers. */
38642
38643 #ifdef __STDC__
38644 # include <limits.h>
38645 #else
38646 # include <assert.h>
38647 #endif
38648
38649 #undef pthread_mutex_timedlock
38650
38651 /* Override any GCC internal prototype to avoid an error.
38652 Use char because int might match the return type of a GCC
38653 builtin and then its argument prototype would still apply. */
38654 #ifdef __cplusplus
38655 extern "C"
38656 #endif
38657 char pthread_mutex_timedlock ();
38658 /* The GNU C library defines this for functions which it implements
38659 to always fail with ENOSYS. Some functions are actually named
38660 something starting with __ and the normal name is an alias. */
38661 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38662 choke me
38663 #endif
38664
38665 int
38666 main ()
38667 {
38668 return pthread_mutex_timedlock ();
38669 ;
38670 return 0;
38671 }
38672 _ACEOF
38673 rm -f conftest.$ac_objext conftest$ac_exeext
38674 if { (ac_try="$ac_link"
38675 case "(($ac_try" in
38676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38677 *) ac_try_echo=$ac_try;;
38678 esac
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_link") 2>conftest.er1
38681 ac_status=$?
38682 grep -v '^ *+' conftest.er1 >conftest.err
38683 rm -f conftest.er1
38684 cat conftest.err >&5
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); } && {
38687 test -z "$ac_c_werror_flag" ||
38688 test ! -s conftest.err
38689 } && test -s conftest$ac_exeext &&
38690 $as_test_x conftest$ac_exeext; then
38691 ac_cv_func_pthread_mutex_timedlock=yes
38692 else
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.$ac_ext >&5
38695
38696 ac_cv_func_pthread_mutex_timedlock=no
38697 fi
38698
38699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38700 conftest$ac_exeext conftest.$ac_ext
38701 fi
38702 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38703 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38704 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38705 cat >>confdefs.h <<\_ACEOF
38706 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38707 _ACEOF
38708
38709 else
38710 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38711 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38712 fi
38713
38714
38715 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38716 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38717 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38719 else
38720 cat >conftest.$ac_ext <<_ACEOF
38721 /* confdefs.h. */
38722 _ACEOF
38723 cat confdefs.h >>conftest.$ac_ext
38724 cat >>conftest.$ac_ext <<_ACEOF
38725 /* end confdefs.h. */
38726 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38728 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38729
38730 /* System header to define __stub macros and hopefully few prototypes,
38731 which can conflict with char pthread_attr_setstacksize (); below.
38732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38733 <limits.h> exists even on freestanding compilers. */
38734
38735 #ifdef __STDC__
38736 # include <limits.h>
38737 #else
38738 # include <assert.h>
38739 #endif
38740
38741 #undef pthread_attr_setstacksize
38742
38743 /* Override any GCC internal prototype to avoid an error.
38744 Use char because int might match the return type of a GCC
38745 builtin and then its argument prototype would still apply. */
38746 #ifdef __cplusplus
38747 extern "C"
38748 #endif
38749 char pthread_attr_setstacksize ();
38750 /* The GNU C library defines this for functions which it implements
38751 to always fail with ENOSYS. Some functions are actually named
38752 something starting with __ and the normal name is an alias. */
38753 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38754 choke me
38755 #endif
38756
38757 int
38758 main ()
38759 {
38760 return pthread_attr_setstacksize ();
38761 ;
38762 return 0;
38763 }
38764 _ACEOF
38765 rm -f conftest.$ac_objext conftest$ac_exeext
38766 if { (ac_try="$ac_link"
38767 case "(($ac_try" in
38768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38769 *) ac_try_echo=$ac_try;;
38770 esac
38771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38772 (eval "$ac_link") 2>conftest.er1
38773 ac_status=$?
38774 grep -v '^ *+' conftest.er1 >conftest.err
38775 rm -f conftest.er1
38776 cat conftest.err >&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); } && {
38779 test -z "$ac_c_werror_flag" ||
38780 test ! -s conftest.err
38781 } && test -s conftest$ac_exeext &&
38782 $as_test_x conftest$ac_exeext; then
38783 ac_cv_func_pthread_attr_setstacksize=yes
38784 else
38785 echo "$as_me: failed program was:" >&5
38786 sed 's/^/| /' conftest.$ac_ext >&5
38787
38788 ac_cv_func_pthread_attr_setstacksize=no
38789 fi
38790
38791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38792 conftest$ac_exeext conftest.$ac_ext
38793 fi
38794 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38795 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38796 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38797 cat >>confdefs.h <<\_ACEOF
38798 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38799 _ACEOF
38800
38801 fi
38802
38803
38804
38805 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38806 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38807 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38809 else
38810
38811 cat >conftest.$ac_ext <<_ACEOF
38812 /* confdefs.h. */
38813 _ACEOF
38814 cat confdefs.h >>conftest.$ac_ext
38815 cat >>conftest.$ac_ext <<_ACEOF
38816 /* end confdefs.h. */
38817 #include <pthread.h>
38818 int
38819 main ()
38820 {
38821
38822 pthread_mutexattr_t attr;
38823 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38824
38825 ;
38826 return 0;
38827 }
38828 _ACEOF
38829 rm -f conftest.$ac_objext
38830 if { (ac_try="$ac_compile"
38831 case "(($ac_try" in
38832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38833 *) ac_try_echo=$ac_try;;
38834 esac
38835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38836 (eval "$ac_compile") 2>conftest.er1
38837 ac_status=$?
38838 grep -v '^ *+' conftest.er1 >conftest.err
38839 rm -f conftest.er1
38840 cat conftest.err >&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); } && {
38843 test -z "$ac_c_werror_flag" ||
38844 test ! -s conftest.err
38845 } && test -s conftest.$ac_objext; then
38846 wx_cv_type_pthread_mutexattr_t=yes
38847 else
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.$ac_ext >&5
38850
38851 wx_cv_type_pthread_mutexattr_t=no
38852
38853 fi
38854
38855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38856
38857 fi
38858 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38859 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38860
38861 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38862 cat >>confdefs.h <<\_ACEOF
38863 #define HAVE_PTHREAD_MUTEXATTR_T 1
38864 _ACEOF
38865
38866
38867 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38868 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38869 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38871 else
38872
38873 cat >conftest.$ac_ext <<_ACEOF
38874 /* confdefs.h. */
38875 _ACEOF
38876 cat confdefs.h >>conftest.$ac_ext
38877 cat >>conftest.$ac_ext <<_ACEOF
38878 /* end confdefs.h. */
38879 #include <pthread.h>
38880 int
38881 main ()
38882 {
38883
38884 pthread_mutexattr_t attr;
38885 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38886
38887 ;
38888 return 0;
38889 }
38890 _ACEOF
38891 rm -f conftest.$ac_objext
38892 if { (ac_try="$ac_compile"
38893 case "(($ac_try" in
38894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38895 *) ac_try_echo=$ac_try;;
38896 esac
38897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38898 (eval "$ac_compile") 2>conftest.er1
38899 ac_status=$?
38900 grep -v '^ *+' conftest.er1 >conftest.err
38901 rm -f conftest.er1
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } && {
38905 test -z "$ac_c_werror_flag" ||
38906 test ! -s conftest.err
38907 } && test -s conftest.$ac_objext; then
38908 wx_cv_func_pthread_mutexattr_settype_decl=yes
38909 else
38910 echo "$as_me: failed program was:" >&5
38911 sed 's/^/| /' conftest.$ac_ext >&5
38912
38913 wx_cv_func_pthread_mutexattr_settype_decl=no
38914
38915 fi
38916
38917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38918
38919 fi
38920 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38921 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38922 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38923 cat >>confdefs.h <<\_ACEOF
38924 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38925 _ACEOF
38926
38927 fi
38928 else
38929 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38930 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38931 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 else
38934
38935 cat >conftest.$ac_ext <<_ACEOF
38936 /* confdefs.h. */
38937 _ACEOF
38938 cat confdefs.h >>conftest.$ac_ext
38939 cat >>conftest.$ac_ext <<_ACEOF
38940 /* end confdefs.h. */
38941 #include <pthread.h>
38942 int
38943 main ()
38944 {
38945
38946 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38947
38948 ;
38949 return 0;
38950 }
38951 _ACEOF
38952 rm -f conftest.$ac_objext
38953 if { (ac_try="$ac_compile"
38954 case "(($ac_try" in
38955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38956 *) ac_try_echo=$ac_try;;
38957 esac
38958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38959 (eval "$ac_compile") 2>conftest.er1
38960 ac_status=$?
38961 grep -v '^ *+' conftest.er1 >conftest.err
38962 rm -f conftest.er1
38963 cat conftest.err >&5
38964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965 (exit $ac_status); } && {
38966 test -z "$ac_c_werror_flag" ||
38967 test ! -s conftest.err
38968 } && test -s conftest.$ac_objext; then
38969
38970 wx_cv_type_pthread_rec_mutex_init=yes
38971
38972 else
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38975
38976
38977 wx_cv_type_pthread_rec_mutex_init=no
38978
38979
38980 fi
38981
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38983
38984 fi
38985 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38986 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38987 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38988 cat >>confdefs.h <<\_ACEOF
38989 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38990 _ACEOF
38991
38992 else
38993 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38994 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38995 fi
38996 fi
38997 fi
38998
38999 else
39000 if test "$wxUSE_THREADS" = "yes" ; then
39001 case "${host}" in
39002 *-*-mingw32* )
39003 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39004 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39005 if test "${wx_cv_cflags_mthread+set}" = set; then
39006 echo $ECHO_N "(cached) $ECHO_C" >&6
39007 else
39008
39009 CFLAGS_OLD="$CFLAGS"
39010 CFLAGS="-mthreads $CFLAGS"
39011 cat >conftest.$ac_ext <<_ACEOF
39012 /* confdefs.h. */
39013 _ACEOF
39014 cat confdefs.h >>conftest.$ac_ext
39015 cat >>conftest.$ac_ext <<_ACEOF
39016 /* end confdefs.h. */
39017
39018 int
39019 main ()
39020 {
39021
39022 ;
39023 return 0;
39024 }
39025 _ACEOF
39026 rm -f conftest.$ac_objext
39027 if { (ac_try="$ac_compile"
39028 case "(($ac_try" in
39029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39030 *) ac_try_echo=$ac_try;;
39031 esac
39032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39033 (eval "$ac_compile") 2>conftest.er1
39034 ac_status=$?
39035 grep -v '^ *+' conftest.er1 >conftest.err
39036 rm -f conftest.er1
39037 cat conftest.err >&5
39038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039 (exit $ac_status); } && {
39040 test -z "$ac_c_werror_flag" ||
39041 test ! -s conftest.err
39042 } && test -s conftest.$ac_objext; then
39043 wx_cv_cflags_mthread=yes
39044 else
39045 echo "$as_me: failed program was:" >&5
39046 sed 's/^/| /' conftest.$ac_ext >&5
39047
39048 wx_cv_cflags_mthread=no
39049
39050 fi
39051
39052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39053
39054
39055 fi
39056 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39057 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39058
39059 if test "$wx_cv_cflags_mthread" = "yes"; then
39060 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39061 LDFLAGS="$LDFLAGS -mthreads"
39062 else
39063 CFLAGS="$CFLAGS_OLD"
39064 fi
39065 ;;
39066 *-pc-os2*emx )
39067 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39068 LDFLAGS="$LDFLAGS -Zmt"
39069 ;;
39070 esac
39071 fi
39072 fi
39073
39074 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39075 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39076 if test "${ac_cv_func_localtime_r+set}" = set; then
39077 echo $ECHO_N "(cached) $ECHO_C" >&6
39078 else
39079 cat >conftest.$ac_ext <<_ACEOF
39080 /* confdefs.h. */
39081 _ACEOF
39082 cat confdefs.h >>conftest.$ac_ext
39083 cat >>conftest.$ac_ext <<_ACEOF
39084 /* end confdefs.h. */
39085 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39087 #define localtime_r innocuous_localtime_r
39088
39089 /* System header to define __stub macros and hopefully few prototypes,
39090 which can conflict with char localtime_r (); below.
39091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39092 <limits.h> exists even on freestanding compilers. */
39093
39094 #ifdef __STDC__
39095 # include <limits.h>
39096 #else
39097 # include <assert.h>
39098 #endif
39099
39100 #undef localtime_r
39101
39102 /* Override any GCC internal prototype to avoid an error.
39103 Use char because int might match the return type of a GCC
39104 builtin and then its argument prototype would still apply. */
39105 #ifdef __cplusplus
39106 extern "C"
39107 #endif
39108 char localtime_r ();
39109 /* The GNU C library defines this for functions which it implements
39110 to always fail with ENOSYS. Some functions are actually named
39111 something starting with __ and the normal name is an alias. */
39112 #if defined __stub_localtime_r || defined __stub___localtime_r
39113 choke me
39114 #endif
39115
39116 int
39117 main ()
39118 {
39119 return localtime_r ();
39120 ;
39121 return 0;
39122 }
39123 _ACEOF
39124 rm -f conftest.$ac_objext conftest$ac_exeext
39125 if { (ac_try="$ac_link"
39126 case "(($ac_try" in
39127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39128 *) ac_try_echo=$ac_try;;
39129 esac
39130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39131 (eval "$ac_link") 2>conftest.er1
39132 ac_status=$?
39133 grep -v '^ *+' conftest.er1 >conftest.err
39134 rm -f conftest.er1
39135 cat conftest.err >&5
39136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39137 (exit $ac_status); } && {
39138 test -z "$ac_c_werror_flag" ||
39139 test ! -s conftest.err
39140 } && test -s conftest$ac_exeext &&
39141 $as_test_x conftest$ac_exeext; then
39142 ac_cv_func_localtime_r=yes
39143 else
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.$ac_ext >&5
39146
39147 ac_cv_func_localtime_r=no
39148 fi
39149
39150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39151 conftest$ac_exeext conftest.$ac_ext
39152 fi
39153 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39154 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39155 if test $ac_cv_func_localtime_r = yes; then
39156 cat >>confdefs.h <<\_ACEOF
39157 #define HAVE_LOCALTIME_R 1
39158 _ACEOF
39159
39160 fi
39161
39162 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39163 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39164 if test "${ac_cv_func_gmtime_r+set}" = set; then
39165 echo $ECHO_N "(cached) $ECHO_C" >&6
39166 else
39167 cat >conftest.$ac_ext <<_ACEOF
39168 /* confdefs.h. */
39169 _ACEOF
39170 cat confdefs.h >>conftest.$ac_ext
39171 cat >>conftest.$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39173 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39175 #define gmtime_r innocuous_gmtime_r
39176
39177 /* System header to define __stub macros and hopefully few prototypes,
39178 which can conflict with char gmtime_r (); below.
39179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39180 <limits.h> exists even on freestanding compilers. */
39181
39182 #ifdef __STDC__
39183 # include <limits.h>
39184 #else
39185 # include <assert.h>
39186 #endif
39187
39188 #undef gmtime_r
39189
39190 /* Override any GCC internal prototype to avoid an error.
39191 Use char because int might match the return type of a GCC
39192 builtin and then its argument prototype would still apply. */
39193 #ifdef __cplusplus
39194 extern "C"
39195 #endif
39196 char gmtime_r ();
39197 /* The GNU C library defines this for functions which it implements
39198 to always fail with ENOSYS. Some functions are actually named
39199 something starting with __ and the normal name is an alias. */
39200 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39201 choke me
39202 #endif
39203
39204 int
39205 main ()
39206 {
39207 return gmtime_r ();
39208 ;
39209 return 0;
39210 }
39211 _ACEOF
39212 rm -f conftest.$ac_objext conftest$ac_exeext
39213 if { (ac_try="$ac_link"
39214 case "(($ac_try" in
39215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39216 *) ac_try_echo=$ac_try;;
39217 esac
39218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39219 (eval "$ac_link") 2>conftest.er1
39220 ac_status=$?
39221 grep -v '^ *+' conftest.er1 >conftest.err
39222 rm -f conftest.er1
39223 cat conftest.err >&5
39224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39225 (exit $ac_status); } && {
39226 test -z "$ac_c_werror_flag" ||
39227 test ! -s conftest.err
39228 } && test -s conftest$ac_exeext &&
39229 $as_test_x conftest$ac_exeext; then
39230 ac_cv_func_gmtime_r=yes
39231 else
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.$ac_ext >&5
39234
39235 ac_cv_func_gmtime_r=no
39236 fi
39237
39238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39239 conftest$ac_exeext conftest.$ac_ext
39240 fi
39241 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39242 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39243 if test $ac_cv_func_gmtime_r = yes; then
39244 cat >>confdefs.h <<\_ACEOF
39245 #define HAVE_GMTIME_R 1
39246 _ACEOF
39247
39248 fi
39249
39250 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39251 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39252 if test "${ac_cv_func_readdir_r+set}" = set; then
39253 echo $ECHO_N "(cached) $ECHO_C" >&6
39254 else
39255 cat >conftest.$ac_ext <<_ACEOF
39256 /* confdefs.h. */
39257 _ACEOF
39258 cat confdefs.h >>conftest.$ac_ext
39259 cat >>conftest.$ac_ext <<_ACEOF
39260 /* end confdefs.h. */
39261 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39263 #define readdir_r innocuous_readdir_r
39264
39265 /* System header to define __stub macros and hopefully few prototypes,
39266 which can conflict with char readdir_r (); below.
39267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39268 <limits.h> exists even on freestanding compilers. */
39269
39270 #ifdef __STDC__
39271 # include <limits.h>
39272 #else
39273 # include <assert.h>
39274 #endif
39275
39276 #undef readdir_r
39277
39278 /* Override any GCC internal prototype to avoid an error.
39279 Use char because int might match the return type of a GCC
39280 builtin and then its argument prototype would still apply. */
39281 #ifdef __cplusplus
39282 extern "C"
39283 #endif
39284 char readdir_r ();
39285 /* The GNU C library defines this for functions which it implements
39286 to always fail with ENOSYS. Some functions are actually named
39287 something starting with __ and the normal name is an alias. */
39288 #if defined __stub_readdir_r || defined __stub___readdir_r
39289 choke me
39290 #endif
39291
39292 int
39293 main ()
39294 {
39295 return readdir_r ();
39296 ;
39297 return 0;
39298 }
39299 _ACEOF
39300 rm -f conftest.$ac_objext conftest$ac_exeext
39301 if { (ac_try="$ac_link"
39302 case "(($ac_try" in
39303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39304 *) ac_try_echo=$ac_try;;
39305 esac
39306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39307 (eval "$ac_link") 2>conftest.er1
39308 ac_status=$?
39309 grep -v '^ *+' conftest.er1 >conftest.err
39310 rm -f conftest.er1
39311 cat conftest.err >&5
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); } && {
39314 test -z "$ac_c_werror_flag" ||
39315 test ! -s conftest.err
39316 } && test -s conftest$ac_exeext &&
39317 $as_test_x conftest$ac_exeext; then
39318 ac_cv_func_readdir_r=yes
39319 else
39320 echo "$as_me: failed program was:" >&5
39321 sed 's/^/| /' conftest.$ac_ext >&5
39322
39323 ac_cv_func_readdir_r=no
39324 fi
39325
39326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39327 conftest$ac_exeext conftest.$ac_ext
39328 fi
39329 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39330 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39331 if test $ac_cv_func_readdir_r = yes; then
39332 cat >>confdefs.h <<\_ACEOF
39333 #define HAVE_READDIR_R 1
39334 _ACEOF
39335
39336 fi
39337
39338
39339
39340
39341 ac_ext=c
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346
39347 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39348 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39349
39350 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 else
39353
39354
39355
39356 ac_cv_func_which_gethostbyname_r=unknown
39357
39358 #
39359 # ONE ARGUMENT (sanity check)
39360 #
39361
39362 # This should fail, as there is no variant of gethostbyname_r() that takes
39363 # a single argument. If it actually compiles, then we can assume that
39364 # netdb.h is not declaring the function, and the compiler is thereby
39365 # assuming an implicit prototype. In which case, we're out of luck.
39366 #
39367 cat >conftest.$ac_ext <<_ACEOF
39368 /* confdefs.h. */
39369 _ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39373 #include <netdb.h>
39374 int
39375 main ()
39376 {
39377
39378 char *name = "www.gnu.org";
39379 (void)gethostbyname_r(name) /* ; */
39380
39381 ;
39382 return 0;
39383 }
39384 _ACEOF
39385 rm -f conftest.$ac_objext
39386 if { (ac_try="$ac_compile"
39387 case "(($ac_try" in
39388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39389 *) ac_try_echo=$ac_try;;
39390 esac
39391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39392 (eval "$ac_compile") 2>conftest.er1
39393 ac_status=$?
39394 grep -v '^ *+' conftest.er1 >conftest.err
39395 rm -f conftest.er1
39396 cat conftest.err >&5
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); } && {
39399 test -z "$ac_c_werror_flag" ||
39400 test ! -s conftest.err
39401 } && test -s conftest.$ac_objext; then
39402 ac_cv_func_which_gethostbyname_r=no
39403 else
39404 echo "$as_me: failed program was:" >&5
39405 sed 's/^/| /' conftest.$ac_ext >&5
39406
39407
39408 fi
39409
39410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39411
39412 #
39413 # SIX ARGUMENTS
39414 # (e.g. Linux)
39415 #
39416
39417 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39418
39419 cat >conftest.$ac_ext <<_ACEOF
39420 /* confdefs.h. */
39421 _ACEOF
39422 cat confdefs.h >>conftest.$ac_ext
39423 cat >>conftest.$ac_ext <<_ACEOF
39424 /* end confdefs.h. */
39425 #include <netdb.h>
39426 int
39427 main ()
39428 {
39429
39430 char *name = "www.gnu.org";
39431 struct hostent ret, *retp;
39432 char buf[1024];
39433 int buflen = 1024;
39434 int my_h_errno;
39435 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39436
39437 ;
39438 return 0;
39439 }
39440 _ACEOF
39441 rm -f conftest.$ac_objext
39442 if { (ac_try="$ac_compile"
39443 case "(($ac_try" in
39444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39445 *) ac_try_echo=$ac_try;;
39446 esac
39447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39448 (eval "$ac_compile") 2>conftest.er1
39449 ac_status=$?
39450 grep -v '^ *+' conftest.er1 >conftest.err
39451 rm -f conftest.er1
39452 cat conftest.err >&5
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); } && {
39455 test -z "$ac_c_werror_flag" ||
39456 test ! -s conftest.err
39457 } && test -s conftest.$ac_objext; then
39458 ac_cv_func_which_gethostbyname_r=six
39459 else
39460 echo "$as_me: failed program was:" >&5
39461 sed 's/^/| /' conftest.$ac_ext >&5
39462
39463
39464 fi
39465
39466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39467
39468 fi
39469
39470 #
39471 # FIVE ARGUMENTS
39472 # (e.g. Solaris)
39473 #
39474
39475 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39476
39477 cat >conftest.$ac_ext <<_ACEOF
39478 /* confdefs.h. */
39479 _ACEOF
39480 cat confdefs.h >>conftest.$ac_ext
39481 cat >>conftest.$ac_ext <<_ACEOF
39482 /* end confdefs.h. */
39483 #include <netdb.h>
39484 int
39485 main ()
39486 {
39487
39488 char *name = "www.gnu.org";
39489 struct hostent ret;
39490 char buf[1024];
39491 int buflen = 1024;
39492 int my_h_errno;
39493 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39494
39495 ;
39496 return 0;
39497 }
39498 _ACEOF
39499 rm -f conftest.$ac_objext
39500 if { (ac_try="$ac_compile"
39501 case "(($ac_try" in
39502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39503 *) ac_try_echo=$ac_try;;
39504 esac
39505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39506 (eval "$ac_compile") 2>conftest.er1
39507 ac_status=$?
39508 grep -v '^ *+' conftest.er1 >conftest.err
39509 rm -f conftest.er1
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } && {
39513 test -z "$ac_c_werror_flag" ||
39514 test ! -s conftest.err
39515 } && test -s conftest.$ac_objext; then
39516 ac_cv_func_which_gethostbyname_r=five
39517 else
39518 echo "$as_me: failed program was:" >&5
39519 sed 's/^/| /' conftest.$ac_ext >&5
39520
39521
39522 fi
39523
39524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39525
39526 fi
39527
39528 #
39529 # THREE ARGUMENTS
39530 # (e.g. AIX, HP-UX, Tru64)
39531 #
39532
39533 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39534
39535 cat >conftest.$ac_ext <<_ACEOF
39536 /* confdefs.h. */
39537 _ACEOF
39538 cat confdefs.h >>conftest.$ac_ext
39539 cat >>conftest.$ac_ext <<_ACEOF
39540 /* end confdefs.h. */
39541 #include <netdb.h>
39542 int
39543 main ()
39544 {
39545
39546 char *name = "www.gnu.org";
39547 struct hostent ret;
39548 struct hostent_data data;
39549 (void)gethostbyname_r(name, &ret, &data) /* ; */
39550
39551 ;
39552 return 0;
39553 }
39554 _ACEOF
39555 rm -f conftest.$ac_objext
39556 if { (ac_try="$ac_compile"
39557 case "(($ac_try" in
39558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39559 *) ac_try_echo=$ac_try;;
39560 esac
39561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39562 (eval "$ac_compile") 2>conftest.er1
39563 ac_status=$?
39564 grep -v '^ *+' conftest.er1 >conftest.err
39565 rm -f conftest.er1
39566 cat conftest.err >&5
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); } && {
39569 test -z "$ac_c_werror_flag" ||
39570 test ! -s conftest.err
39571 } && test -s conftest.$ac_objext; then
39572 ac_cv_func_which_gethostbyname_r=three
39573 else
39574 echo "$as_me: failed program was:" >&5
39575 sed 's/^/| /' conftest.$ac_ext >&5
39576
39577
39578 fi
39579
39580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39581
39582 fi
39583
39584
39585
39586 fi
39587
39588 case "$ac_cv_func_which_gethostbyname_r" in
39589 three)
39590 { echo "$as_me:$LINENO: result: three" >&5
39591 echo "${ECHO_T}three" >&6; }
39592 cat >>confdefs.h <<\_ACEOF
39593 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39594 _ACEOF
39595
39596 ;;
39597
39598 five)
39599 { echo "$as_me:$LINENO: result: five" >&5
39600 echo "${ECHO_T}five" >&6; }
39601 cat >>confdefs.h <<\_ACEOF
39602 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39603 _ACEOF
39604
39605 ;;
39606
39607 six)
39608 { echo "$as_me:$LINENO: result: six" >&5
39609 echo "${ECHO_T}six" >&6; }
39610 cat >>confdefs.h <<\_ACEOF
39611 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39612 _ACEOF
39613
39614 ;;
39615
39616 no)
39617 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39618 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39619 ;;
39620
39621 unknown)
39622 { echo "$as_me:$LINENO: result: can't tell" >&5
39623 echo "${ECHO_T}can't tell" >&6; }
39624 ;;
39625
39626 *)
39627 { { echo "$as_me:$LINENO: error: internal error" >&5
39628 echo "$as_me: error: internal error" >&2;}
39629 { (exit 1); exit 1; }; }
39630 ;;
39631 esac
39632
39633 ac_ext=c
39634 ac_cpp='$CPP $CPPFLAGS'
39635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39638
39639
39640
39641 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39642 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39643 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39644 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39645 if test "${ac_cv_func_gethostbyname+set}" = set; then
39646 echo $ECHO_N "(cached) $ECHO_C" >&6
39647 else
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39656 #define gethostbyname innocuous_gethostbyname
39657
39658 /* System header to define __stub macros and hopefully few prototypes,
39659 which can conflict with char gethostbyname (); below.
39660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39661 <limits.h> exists even on freestanding compilers. */
39662
39663 #ifdef __STDC__
39664 # include <limits.h>
39665 #else
39666 # include <assert.h>
39667 #endif
39668
39669 #undef gethostbyname
39670
39671 /* Override any GCC internal prototype to avoid an error.
39672 Use char because int might match the return type of a GCC
39673 builtin and then its argument prototype would still apply. */
39674 #ifdef __cplusplus
39675 extern "C"
39676 #endif
39677 char gethostbyname ();
39678 /* The GNU C library defines this for functions which it implements
39679 to always fail with ENOSYS. Some functions are actually named
39680 something starting with __ and the normal name is an alias. */
39681 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39682 choke me
39683 #endif
39684
39685 int
39686 main ()
39687 {
39688 return gethostbyname ();
39689 ;
39690 return 0;
39691 }
39692 _ACEOF
39693 rm -f conftest.$ac_objext conftest$ac_exeext
39694 if { (ac_try="$ac_link"
39695 case "(($ac_try" in
39696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39697 *) ac_try_echo=$ac_try;;
39698 esac
39699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39700 (eval "$ac_link") 2>conftest.er1
39701 ac_status=$?
39702 grep -v '^ *+' conftest.er1 >conftest.err
39703 rm -f conftest.er1
39704 cat conftest.err >&5
39705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706 (exit $ac_status); } && {
39707 test -z "$ac_c_werror_flag" ||
39708 test ! -s conftest.err
39709 } && test -s conftest$ac_exeext &&
39710 $as_test_x conftest$ac_exeext; then
39711 ac_cv_func_gethostbyname=yes
39712 else
39713 echo "$as_me: failed program was:" >&5
39714 sed 's/^/| /' conftest.$ac_ext >&5
39715
39716 ac_cv_func_gethostbyname=no
39717 fi
39718
39719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39720 conftest$ac_exeext conftest.$ac_ext
39721 fi
39722 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39723 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39724 if test $ac_cv_func_gethostbyname = yes; then
39725 cat >>confdefs.h <<\_ACEOF
39726 #define HAVE_GETHOSTBYNAME 1
39727 _ACEOF
39728
39729 fi
39730
39731 fi
39732 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39733 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39734 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39736 else
39737
39738 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39739 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39740 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39741 echo $ECHO_N "(cached) $ECHO_C" >&6
39742 else
39743 cat >conftest.$ac_ext <<_ACEOF
39744 /* confdefs.h. */
39745 _ACEOF
39746 cat confdefs.h >>conftest.$ac_ext
39747 cat >>conftest.$ac_ext <<_ACEOF
39748 /* end confdefs.h. */
39749 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39751 #define getservbyname_r innocuous_getservbyname_r
39752
39753 /* System header to define __stub macros and hopefully few prototypes,
39754 which can conflict with char getservbyname_r (); below.
39755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39756 <limits.h> exists even on freestanding compilers. */
39757
39758 #ifdef __STDC__
39759 # include <limits.h>
39760 #else
39761 # include <assert.h>
39762 #endif
39763
39764 #undef getservbyname_r
39765
39766 /* Override any GCC internal prototype to avoid an error.
39767 Use char because int might match the return type of a GCC
39768 builtin and then its argument prototype would still apply. */
39769 #ifdef __cplusplus
39770 extern "C"
39771 #endif
39772 char getservbyname_r ();
39773 /* The GNU C library defines this for functions which it implements
39774 to always fail with ENOSYS. Some functions are actually named
39775 something starting with __ and the normal name is an alias. */
39776 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39777 choke me
39778 #endif
39779
39780 int
39781 main ()
39782 {
39783 return getservbyname_r ();
39784 ;
39785 return 0;
39786 }
39787 _ACEOF
39788 rm -f conftest.$ac_objext conftest$ac_exeext
39789 if { (ac_try="$ac_link"
39790 case "(($ac_try" in
39791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39792 *) ac_try_echo=$ac_try;;
39793 esac
39794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39795 (eval "$ac_link") 2>conftest.er1
39796 ac_status=$?
39797 grep -v '^ *+' conftest.er1 >conftest.err
39798 rm -f conftest.er1
39799 cat conftest.err >&5
39800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39801 (exit $ac_status); } && {
39802 test -z "$ac_c_werror_flag" ||
39803 test ! -s conftest.err
39804 } && test -s conftest$ac_exeext &&
39805 $as_test_x conftest$ac_exeext; then
39806 ac_cv_func_getservbyname_r=yes
39807 else
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39810
39811 ac_cv_func_getservbyname_r=no
39812 fi
39813
39814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39815 conftest$ac_exeext conftest.$ac_ext
39816 fi
39817 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39818 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39819 if test $ac_cv_func_getservbyname_r = yes; then
39820
39821 cat >conftest.$ac_ext <<_ACEOF
39822 /* confdefs.h. */
39823 _ACEOF
39824 cat confdefs.h >>conftest.$ac_ext
39825 cat >>conftest.$ac_ext <<_ACEOF
39826 /* end confdefs.h. */
39827
39828 # include <netdb.h>
39829
39830 int
39831 main ()
39832 {
39833
39834
39835 char *name;
39836 char *proto;
39837 struct servent *se;
39838 struct servent_data data;
39839 (void) getservbyname_r(name, proto, se, &data);
39840
39841
39842 ;
39843 return 0;
39844 }
39845 _ACEOF
39846 rm -f conftest.$ac_objext
39847 if { (ac_try="$ac_compile"
39848 case "(($ac_try" in
39849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39850 *) ac_try_echo=$ac_try;;
39851 esac
39852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853 (eval "$ac_compile") 2>conftest.er1
39854 ac_status=$?
39855 grep -v '^ *+' conftest.er1 >conftest.err
39856 rm -f conftest.er1
39857 cat conftest.err >&5
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); } && {
39860 test -z "$ac_c_werror_flag" ||
39861 test ! -s conftest.err
39862 } && test -s conftest.$ac_objext; then
39863 ac_cv_func_which_getservbyname_r=four
39864 else
39865 echo "$as_me: failed program was:" >&5
39866 sed 's/^/| /' conftest.$ac_ext >&5
39867
39868
39869 cat >conftest.$ac_ext <<_ACEOF
39870 /* confdefs.h. */
39871 _ACEOF
39872 cat confdefs.h >>conftest.$ac_ext
39873 cat >>conftest.$ac_ext <<_ACEOF
39874 /* end confdefs.h. */
39875
39876 # include <netdb.h>
39877
39878 int
39879 main ()
39880 {
39881
39882 char *name;
39883 char *proto;
39884 struct servent *se, *res;
39885 char buffer[2048];
39886 int buflen = 2048;
39887 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39888
39889 ;
39890 return 0;
39891 }
39892 _ACEOF
39893 rm -f conftest.$ac_objext
39894 if { (ac_try="$ac_compile"
39895 case "(($ac_try" in
39896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39897 *) ac_try_echo=$ac_try;;
39898 esac
39899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39900 (eval "$ac_compile") 2>conftest.er1
39901 ac_status=$?
39902 grep -v '^ *+' conftest.er1 >conftest.err
39903 rm -f conftest.er1
39904 cat conftest.err >&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } && {
39907 test -z "$ac_c_werror_flag" ||
39908 test ! -s conftest.err
39909 } && test -s conftest.$ac_objext; then
39910 ac_cv_func_which_getservbyname_r=six
39911 else
39912 echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.$ac_ext >&5
39914
39915
39916 cat >conftest.$ac_ext <<_ACEOF
39917 /* confdefs.h. */
39918 _ACEOF
39919 cat confdefs.h >>conftest.$ac_ext
39920 cat >>conftest.$ac_ext <<_ACEOF
39921 /* end confdefs.h. */
39922
39923 # include <netdb.h>
39924
39925 int
39926 main ()
39927 {
39928
39929 char *name;
39930 char *proto;
39931 struct servent *se;
39932 char buffer[2048];
39933 int buflen = 2048;
39934 (void) getservbyname_r(name, proto, se, buffer, buflen)
39935
39936 ;
39937 return 0;
39938 }
39939 _ACEOF
39940 rm -f conftest.$ac_objext
39941 if { (ac_try="$ac_compile"
39942 case "(($ac_try" in
39943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39944 *) ac_try_echo=$ac_try;;
39945 esac
39946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39947 (eval "$ac_compile") 2>conftest.er1
39948 ac_status=$?
39949 grep -v '^ *+' conftest.er1 >conftest.err
39950 rm -f conftest.er1
39951 cat conftest.err >&5
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); } && {
39954 test -z "$ac_c_werror_flag" ||
39955 test ! -s conftest.err
39956 } && test -s conftest.$ac_objext; then
39957 ac_cv_func_which_getservbyname_r=five
39958 else
39959 echo "$as_me: failed program was:" >&5
39960 sed 's/^/| /' conftest.$ac_ext >&5
39961
39962 ac_cv_func_which_getservbyname_r=no
39963 fi
39964
39965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39966
39967
39968
39969
39970 fi
39971
39972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39973
39974
39975 fi
39976
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978
39979 else
39980 ac_cv_func_which_getservbyname_r=no
39981 fi
39982
39983 fi
39984 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39985 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39986
39987 if test $ac_cv_func_which_getservbyname_r = six; then
39988 cat >>confdefs.h <<\_ACEOF
39989 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39990 _ACEOF
39991
39992 elif test $ac_cv_func_which_getservbyname_r = five; then
39993 cat >>confdefs.h <<\_ACEOF
39994 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39995 _ACEOF
39996
39997 elif test $ac_cv_func_which_getservbyname_r = four; then
39998 cat >>confdefs.h <<\_ACEOF
39999 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40000 _ACEOF
40001
40002
40003 fi
40004
40005
40006 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40007 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40008
40009 for ac_func in getservbyname
40010 do
40011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40014 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40015 echo $ECHO_N "(cached) $ECHO_C" >&6
40016 else
40017 cat >conftest.$ac_ext <<_ACEOF
40018 /* confdefs.h. */
40019 _ACEOF
40020 cat confdefs.h >>conftest.$ac_ext
40021 cat >>conftest.$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40025 #define $ac_func innocuous_$ac_func
40026
40027 /* System header to define __stub macros and hopefully few prototypes,
40028 which can conflict with char $ac_func (); below.
40029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40030 <limits.h> exists even on freestanding compilers. */
40031
40032 #ifdef __STDC__
40033 # include <limits.h>
40034 #else
40035 # include <assert.h>
40036 #endif
40037
40038 #undef $ac_func
40039
40040 /* Override any GCC internal prototype to avoid an error.
40041 Use char because int might match the return type of a GCC
40042 builtin and then its argument prototype would still apply. */
40043 #ifdef __cplusplus
40044 extern "C"
40045 #endif
40046 char $ac_func ();
40047 /* The GNU C library defines this for functions which it implements
40048 to always fail with ENOSYS. Some functions are actually named
40049 something starting with __ and the normal name is an alias. */
40050 #if defined __stub_$ac_func || defined __stub___$ac_func
40051 choke me
40052 #endif
40053
40054 int
40055 main ()
40056 {
40057 return $ac_func ();
40058 ;
40059 return 0;
40060 }
40061 _ACEOF
40062 rm -f conftest.$ac_objext conftest$ac_exeext
40063 if { (ac_try="$ac_link"
40064 case "(($ac_try" in
40065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40066 *) ac_try_echo=$ac_try;;
40067 esac
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069 (eval "$ac_link") 2>conftest.er1
40070 ac_status=$?
40071 grep -v '^ *+' conftest.er1 >conftest.err
40072 rm -f conftest.er1
40073 cat conftest.err >&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); } && {
40076 test -z "$ac_c_werror_flag" ||
40077 test ! -s conftest.err
40078 } && test -s conftest$ac_exeext &&
40079 $as_test_x conftest$ac_exeext; then
40080 eval "$as_ac_var=yes"
40081 else
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40084
40085 eval "$as_ac_var=no"
40086 fi
40087
40088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40089 conftest$ac_exeext conftest.$ac_ext
40090 fi
40091 ac_res=`eval echo '${'$as_ac_var'}'`
40092 { echo "$as_me:$LINENO: result: $ac_res" >&5
40093 echo "${ECHO_T}$ac_res" >&6; }
40094 if test `eval echo '${'$as_ac_var'}'` = yes; then
40095 cat >>confdefs.h <<_ACEOF
40096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40097 _ACEOF
40098 cat >>confdefs.h <<\_ACEOF
40099 #define HAVE_GETSERVBYNAME 1
40100 _ACEOF
40101
40102 fi
40103 done
40104
40105 fi
40106
40107 if test "$wxUSE_THREADS" = "yes"; then
40108 cat >>confdefs.h <<\_ACEOF
40109 #define wxUSE_THREADS 1
40110 _ACEOF
40111
40112
40113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40114 else
40115 if test "$wx_cv_func_strtok_r" = "yes"; then
40116 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40117 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40118 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40119 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40120 { echo "$as_me:$LINENO: result: yes" >&5
40121 echo "${ECHO_T}yes" >&6; }
40122 else
40123 { echo "$as_me:$LINENO: result: no" >&5
40124 echo "${ECHO_T}no" >&6; }
40125 fi
40126 fi
40127 fi
40128
40129 if test "$WXGTK20" = 1 ; then
40130 cat >>confdefs.h <<_ACEOF
40131 #define __WXGTK20__ $WXGTK20
40132 _ACEOF
40133
40134 WXGTK12=1
40135 fi
40136
40137 if test "$WXGTK12" = 1 ; then
40138 cat >>confdefs.h <<_ACEOF
40139 #define __WXGTK12__ $WXGTK12
40140 _ACEOF
40141
40142 fi
40143
40144 if test "$WXGTK127" = 1 ; then
40145 cat >>confdefs.h <<_ACEOF
40146 #define __WXGTK127__ $WXGTK127
40147 _ACEOF
40148
40149 fi
40150
40151 if test "$WXGPE" = 1 ; then
40152 cat >>confdefs.h <<_ACEOF
40153 #define __WXGPE__ $WXGPE
40154 _ACEOF
40155
40156 fi
40157
40158 DEBUG_CFLAGS=
40159 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40160 DEBUG_CFLAGS="-g"
40161 wxUSE_OPTIMISE=no
40162 fi
40163
40164 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40165 wxUSE_DEBUG_INFO=yes
40166 if test "$GCC" = yes; then
40167 DEBUG_CFLAGS="-ggdb"
40168 fi
40169 fi
40170
40171 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40172 cat >>confdefs.h <<\_ACEOF
40173 #define WXDEBUG 1
40174 _ACEOF
40175
40176 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40177 else
40178 if test "$wxUSE_GTK" = 1 ; then
40179 if test "x$wxGTK_VERSION" = "x1" ; then
40180 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40181 fi
40182 fi
40183 fi
40184
40185 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40186 cat >>confdefs.h <<\_ACEOF
40187 #define wxUSE_MEMORY_TRACING 1
40188 _ACEOF
40189
40190 cat >>confdefs.h <<\_ACEOF
40191 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40192 _ACEOF
40193
40194 cat >>confdefs.h <<\_ACEOF
40195 #define wxUSE_DEBUG_NEW_ALWAYS 1
40196 _ACEOF
40197
40198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40199 fi
40200
40201 if test "$wxUSE_DMALLOC" = "yes" ; then
40202 DMALLOC_LIBS="-ldmallocthcxx"
40203 fi
40204
40205 PROFILE_FLAGS=
40206 if test "$wxUSE_PROFILE" = "yes" ; then
40207 PROFILE_FLAGS=" -pg"
40208 fi
40209
40210 if test "$GCC" = "yes" ; then
40211 if test "$wxUSE_NO_RTTI" = "yes" ; then
40212 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40213 fi
40214 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40215 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40216 fi
40217 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40218 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40219 fi
40220
40221 case "${host}" in
40222 powerpc*-*-aix* )
40223 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40224 ;;
40225 *-hppa* )
40226 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40227 ;;
40228 esac
40229 fi
40230
40231 OPTIMISE_CFLAGS=
40232 if test "$wxUSE_OPTIMISE" = "no" ; then
40233 if test "$GCC" = yes ; then
40234 OPTIMISE_CFLAGS="-O0"
40235 fi
40236 else
40237 if test "$GCC" = yes ; then
40238 case "${host}" in
40239 *-pc-os2_emx | *-pc-os2-emx )
40240 OPTIMISE_CFLAGS="-O2"
40241 ;;
40242 *)
40243 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40244 ;;
40245 esac
40246 else
40247 OPTIMISE_CFLAGS="-O"
40248 fi
40249 fi
40250
40251
40252 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40253 cat >>confdefs.h <<\_ACEOF
40254 #define WXWIN_COMPATIBILITY_2_6 1
40255 _ACEOF
40256
40257
40258 WXWIN_COMPATIBILITY_2_8="yes"
40259 fi
40260
40261 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40262 cat >>confdefs.h <<\_ACEOF
40263 #define WXWIN_COMPATIBILITY_2_8 1
40264 _ACEOF
40265
40266 fi
40267
40268
40269 if test "$wxUSE_GUI" = "yes"; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define wxUSE_GUI 1
40272 _ACEOF
40273
40274
40275 fi
40276
40277
40278 if test "$wxUSE_UNIX" = "yes"; then
40279 cat >>confdefs.h <<\_ACEOF
40280 #define wxUSE_UNIX 1
40281 _ACEOF
40282
40283 fi
40284
40285
40286 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40287
40288 HAVE_DL_FUNCS=0
40289 HAVE_SHL_FUNCS=0
40290 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40291 if test "$USE_DARWIN" = 1; then
40292 HAVE_DL_FUNCS=1
40293 elif test "$USE_DOS" = 1; then
40294 HAVE_DL_FUNCS=0
40295 else
40296
40297 for ac_func in dlopen
40298 do
40299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40303 echo $ECHO_N "(cached) $ECHO_C" >&6
40304 else
40305 cat >conftest.$ac_ext <<_ACEOF
40306 /* confdefs.h. */
40307 _ACEOF
40308 cat confdefs.h >>conftest.$ac_ext
40309 cat >>conftest.$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40313 #define $ac_func innocuous_$ac_func
40314
40315 /* System header to define __stub macros and hopefully few prototypes,
40316 which can conflict with char $ac_func (); below.
40317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40318 <limits.h> exists even on freestanding compilers. */
40319
40320 #ifdef __STDC__
40321 # include <limits.h>
40322 #else
40323 # include <assert.h>
40324 #endif
40325
40326 #undef $ac_func
40327
40328 /* Override any GCC internal prototype to avoid an error.
40329 Use char because int might match the return type of a GCC
40330 builtin and then its argument prototype would still apply. */
40331 #ifdef __cplusplus
40332 extern "C"
40333 #endif
40334 char $ac_func ();
40335 /* The GNU C library defines this for functions which it implements
40336 to always fail with ENOSYS. Some functions are actually named
40337 something starting with __ and the normal name is an alias. */
40338 #if defined __stub_$ac_func || defined __stub___$ac_func
40339 choke me
40340 #endif
40341
40342 int
40343 main ()
40344 {
40345 return $ac_func ();
40346 ;
40347 return 0;
40348 }
40349 _ACEOF
40350 rm -f conftest.$ac_objext conftest$ac_exeext
40351 if { (ac_try="$ac_link"
40352 case "(($ac_try" in
40353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40354 *) ac_try_echo=$ac_try;;
40355 esac
40356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40357 (eval "$ac_link") 2>conftest.er1
40358 ac_status=$?
40359 grep -v '^ *+' conftest.er1 >conftest.err
40360 rm -f conftest.er1
40361 cat conftest.err >&5
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); } && {
40364 test -z "$ac_c_werror_flag" ||
40365 test ! -s conftest.err
40366 } && test -s conftest$ac_exeext &&
40367 $as_test_x conftest$ac_exeext; then
40368 eval "$as_ac_var=yes"
40369 else
40370 echo "$as_me: failed program was:" >&5
40371 sed 's/^/| /' conftest.$ac_ext >&5
40372
40373 eval "$as_ac_var=no"
40374 fi
40375
40376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40377 conftest$ac_exeext conftest.$ac_ext
40378 fi
40379 ac_res=`eval echo '${'$as_ac_var'}'`
40380 { echo "$as_me:$LINENO: result: $ac_res" >&5
40381 echo "${ECHO_T}$ac_res" >&6; }
40382 if test `eval echo '${'$as_ac_var'}'` = yes; then
40383 cat >>confdefs.h <<_ACEOF
40384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40385 _ACEOF
40386
40387 cat >>confdefs.h <<\_ACEOF
40388 #define HAVE_DLOPEN 1
40389 _ACEOF
40390
40391 HAVE_DL_FUNCS=1
40392
40393 else
40394
40395 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40396 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40397 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40398 echo $ECHO_N "(cached) $ECHO_C" >&6
40399 else
40400 ac_check_lib_save_LIBS=$LIBS
40401 LIBS="-ldl $LIBS"
40402 cat >conftest.$ac_ext <<_ACEOF
40403 /* confdefs.h. */
40404 _ACEOF
40405 cat confdefs.h >>conftest.$ac_ext
40406 cat >>conftest.$ac_ext <<_ACEOF
40407 /* end confdefs.h. */
40408
40409 /* Override any GCC internal prototype to avoid an error.
40410 Use char because int might match the return type of a GCC
40411 builtin and then its argument prototype would still apply. */
40412 #ifdef __cplusplus
40413 extern "C"
40414 #endif
40415 char dlopen ();
40416 int
40417 main ()
40418 {
40419 return dlopen ();
40420 ;
40421 return 0;
40422 }
40423 _ACEOF
40424 rm -f conftest.$ac_objext conftest$ac_exeext
40425 if { (ac_try="$ac_link"
40426 case "(($ac_try" in
40427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40428 *) ac_try_echo=$ac_try;;
40429 esac
40430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40431 (eval "$ac_link") 2>conftest.er1
40432 ac_status=$?
40433 grep -v '^ *+' conftest.er1 >conftest.err
40434 rm -f conftest.er1
40435 cat conftest.err >&5
40436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437 (exit $ac_status); } && {
40438 test -z "$ac_c_werror_flag" ||
40439 test ! -s conftest.err
40440 } && test -s conftest$ac_exeext &&
40441 $as_test_x conftest$ac_exeext; then
40442 ac_cv_lib_dl_dlopen=yes
40443 else
40444 echo "$as_me: failed program was:" >&5
40445 sed 's/^/| /' conftest.$ac_ext >&5
40446
40447 ac_cv_lib_dl_dlopen=no
40448 fi
40449
40450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40451 conftest$ac_exeext conftest.$ac_ext
40452 LIBS=$ac_check_lib_save_LIBS
40453 fi
40454 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40455 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40456 if test $ac_cv_lib_dl_dlopen = yes; then
40457
40458 cat >>confdefs.h <<\_ACEOF
40459 #define HAVE_DLOPEN 1
40460 _ACEOF
40461
40462 HAVE_DL_FUNCS=1
40463 DL_LINK=" -ldl$DL_LINK"
40464
40465 else
40466
40467
40468 for ac_func in shl_load
40469 do
40470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40474 echo $ECHO_N "(cached) $ECHO_C" >&6
40475 else
40476 cat >conftest.$ac_ext <<_ACEOF
40477 /* confdefs.h. */
40478 _ACEOF
40479 cat confdefs.h >>conftest.$ac_ext
40480 cat >>conftest.$ac_ext <<_ACEOF
40481 /* end confdefs.h. */
40482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40484 #define $ac_func innocuous_$ac_func
40485
40486 /* System header to define __stub macros and hopefully few prototypes,
40487 which can conflict with char $ac_func (); below.
40488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40489 <limits.h> exists even on freestanding compilers. */
40490
40491 #ifdef __STDC__
40492 # include <limits.h>
40493 #else
40494 # include <assert.h>
40495 #endif
40496
40497 #undef $ac_func
40498
40499 /* Override any GCC internal prototype to avoid an error.
40500 Use char because int might match the return type of a GCC
40501 builtin and then its argument prototype would still apply. */
40502 #ifdef __cplusplus
40503 extern "C"
40504 #endif
40505 char $ac_func ();
40506 /* The GNU C library defines this for functions which it implements
40507 to always fail with ENOSYS. Some functions are actually named
40508 something starting with __ and the normal name is an alias. */
40509 #if defined __stub_$ac_func || defined __stub___$ac_func
40510 choke me
40511 #endif
40512
40513 int
40514 main ()
40515 {
40516 return $ac_func ();
40517 ;
40518 return 0;
40519 }
40520 _ACEOF
40521 rm -f conftest.$ac_objext conftest$ac_exeext
40522 if { (ac_try="$ac_link"
40523 case "(($ac_try" in
40524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40525 *) ac_try_echo=$ac_try;;
40526 esac
40527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40528 (eval "$ac_link") 2>conftest.er1
40529 ac_status=$?
40530 grep -v '^ *+' conftest.er1 >conftest.err
40531 rm -f conftest.er1
40532 cat conftest.err >&5
40533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40534 (exit $ac_status); } && {
40535 test -z "$ac_c_werror_flag" ||
40536 test ! -s conftest.err
40537 } && test -s conftest$ac_exeext &&
40538 $as_test_x conftest$ac_exeext; then
40539 eval "$as_ac_var=yes"
40540 else
40541 echo "$as_me: failed program was:" >&5
40542 sed 's/^/| /' conftest.$ac_ext >&5
40543
40544 eval "$as_ac_var=no"
40545 fi
40546
40547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40548 conftest$ac_exeext conftest.$ac_ext
40549 fi
40550 ac_res=`eval echo '${'$as_ac_var'}'`
40551 { echo "$as_me:$LINENO: result: $ac_res" >&5
40552 echo "${ECHO_T}$ac_res" >&6; }
40553 if test `eval echo '${'$as_ac_var'}'` = yes; then
40554 cat >>confdefs.h <<_ACEOF
40555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40556 _ACEOF
40557
40558 cat >>confdefs.h <<\_ACEOF
40559 #define HAVE_SHL_LOAD 1
40560 _ACEOF
40561
40562 HAVE_SHL_FUNCS=1
40563
40564 else
40565
40566 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40567 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40568 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40569 echo $ECHO_N "(cached) $ECHO_C" >&6
40570 else
40571 ac_check_lib_save_LIBS=$LIBS
40572 LIBS="-lshl_load $LIBS"
40573 cat >conftest.$ac_ext <<_ACEOF
40574 /* confdefs.h. */
40575 _ACEOF
40576 cat confdefs.h >>conftest.$ac_ext
40577 cat >>conftest.$ac_ext <<_ACEOF
40578 /* end confdefs.h. */
40579
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40583 #ifdef __cplusplus
40584 extern "C"
40585 #endif
40586 char dld ();
40587 int
40588 main ()
40589 {
40590 return dld ();
40591 ;
40592 return 0;
40593 }
40594 _ACEOF
40595 rm -f conftest.$ac_objext conftest$ac_exeext
40596 if { (ac_try="$ac_link"
40597 case "(($ac_try" in
40598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40599 *) ac_try_echo=$ac_try;;
40600 esac
40601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40602 (eval "$ac_link") 2>conftest.er1
40603 ac_status=$?
40604 grep -v '^ *+' conftest.er1 >conftest.err
40605 rm -f conftest.er1
40606 cat conftest.err >&5
40607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40608 (exit $ac_status); } && {
40609 test -z "$ac_c_werror_flag" ||
40610 test ! -s conftest.err
40611 } && test -s conftest$ac_exeext &&
40612 $as_test_x conftest$ac_exeext; then
40613 ac_cv_lib_shl_load_dld=yes
40614 else
40615 echo "$as_me: failed program was:" >&5
40616 sed 's/^/| /' conftest.$ac_ext >&5
40617
40618 ac_cv_lib_shl_load_dld=no
40619 fi
40620
40621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40622 conftest$ac_exeext conftest.$ac_ext
40623 LIBS=$ac_check_lib_save_LIBS
40624 fi
40625 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40626 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40627 if test $ac_cv_lib_shl_load_dld = yes; then
40628
40629 HAVE_SHL_FUNCS=1
40630 DL_LINK=" -ldld$DL_LINK"
40631
40632 fi
40633
40634
40635 fi
40636 done
40637
40638
40639 fi
40640
40641
40642 fi
40643 done
40644
40645
40646 if test "$HAVE_DL_FUNCS" = 1; then
40647
40648 for ac_func in dlerror
40649 do
40650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40654 echo $ECHO_N "(cached) $ECHO_C" >&6
40655 else
40656 cat >conftest.$ac_ext <<_ACEOF
40657 /* confdefs.h. */
40658 _ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40664 #define $ac_func innocuous_$ac_func
40665
40666 /* System header to define __stub macros and hopefully few prototypes,
40667 which can conflict with char $ac_func (); below.
40668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40669 <limits.h> exists even on freestanding compilers. */
40670
40671 #ifdef __STDC__
40672 # include <limits.h>
40673 #else
40674 # include <assert.h>
40675 #endif
40676
40677 #undef $ac_func
40678
40679 /* Override any GCC internal prototype to avoid an error.
40680 Use char because int might match the return type of a GCC
40681 builtin and then its argument prototype would still apply. */
40682 #ifdef __cplusplus
40683 extern "C"
40684 #endif
40685 char $ac_func ();
40686 /* The GNU C library defines this for functions which it implements
40687 to always fail with ENOSYS. Some functions are actually named
40688 something starting with __ and the normal name is an alias. */
40689 #if defined __stub_$ac_func || defined __stub___$ac_func
40690 choke me
40691 #endif
40692
40693 int
40694 main ()
40695 {
40696 return $ac_func ();
40697 ;
40698 return 0;
40699 }
40700 _ACEOF
40701 rm -f conftest.$ac_objext conftest$ac_exeext
40702 if { (ac_try="$ac_link"
40703 case "(($ac_try" in
40704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40705 *) ac_try_echo=$ac_try;;
40706 esac
40707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40708 (eval "$ac_link") 2>conftest.er1
40709 ac_status=$?
40710 grep -v '^ *+' conftest.er1 >conftest.err
40711 rm -f conftest.er1
40712 cat conftest.err >&5
40713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714 (exit $ac_status); } && {
40715 test -z "$ac_c_werror_flag" ||
40716 test ! -s conftest.err
40717 } && test -s conftest$ac_exeext &&
40718 $as_test_x conftest$ac_exeext; then
40719 eval "$as_ac_var=yes"
40720 else
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.$ac_ext >&5
40723
40724 eval "$as_ac_var=no"
40725 fi
40726
40727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40728 conftest$ac_exeext conftest.$ac_ext
40729 fi
40730 ac_res=`eval echo '${'$as_ac_var'}'`
40731 { echo "$as_me:$LINENO: result: $ac_res" >&5
40732 echo "${ECHO_T}$ac_res" >&6; }
40733 if test `eval echo '${'$as_ac_var'}'` = yes; then
40734 cat >>confdefs.h <<_ACEOF
40735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40736 _ACEOF
40737 cat >>confdefs.h <<\_ACEOF
40738 #define HAVE_DLERROR 1
40739 _ACEOF
40740
40741 else
40742
40743 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40744 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40745 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40746 echo $ECHO_N "(cached) $ECHO_C" >&6
40747 else
40748 ac_check_lib_save_LIBS=$LIBS
40749 LIBS="-ldl $LIBS"
40750 cat >conftest.$ac_ext <<_ACEOF
40751 /* confdefs.h. */
40752 _ACEOF
40753 cat confdefs.h >>conftest.$ac_ext
40754 cat >>conftest.$ac_ext <<_ACEOF
40755 /* end confdefs.h. */
40756
40757 /* Override any GCC internal prototype to avoid an error.
40758 Use char because int might match the return type of a GCC
40759 builtin and then its argument prototype would still apply. */
40760 #ifdef __cplusplus
40761 extern "C"
40762 #endif
40763 char dlerror ();
40764 int
40765 main ()
40766 {
40767 return dlerror ();
40768 ;
40769 return 0;
40770 }
40771 _ACEOF
40772 rm -f conftest.$ac_objext conftest$ac_exeext
40773 if { (ac_try="$ac_link"
40774 case "(($ac_try" in
40775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40776 *) ac_try_echo=$ac_try;;
40777 esac
40778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40779 (eval "$ac_link") 2>conftest.er1
40780 ac_status=$?
40781 grep -v '^ *+' conftest.er1 >conftest.err
40782 rm -f conftest.er1
40783 cat conftest.err >&5
40784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785 (exit $ac_status); } && {
40786 test -z "$ac_c_werror_flag" ||
40787 test ! -s conftest.err
40788 } && test -s conftest$ac_exeext &&
40789 $as_test_x conftest$ac_exeext; then
40790 ac_cv_lib_dl_dlerror=yes
40791 else
40792 echo "$as_me: failed program was:" >&5
40793 sed 's/^/| /' conftest.$ac_ext >&5
40794
40795 ac_cv_lib_dl_dlerror=no
40796 fi
40797
40798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40799 conftest$ac_exeext conftest.$ac_ext
40800 LIBS=$ac_check_lib_save_LIBS
40801 fi
40802 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40803 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40804 if test $ac_cv_lib_dl_dlerror = yes; then
40805 cat >>confdefs.h <<\_ACEOF
40806 #define HAVE_DLERROR 1
40807 _ACEOF
40808
40809 fi
40810
40811
40812
40813 fi
40814 done
40815
40816 fi
40817 fi
40818
40819 if test "$HAVE_DL_FUNCS" = 0; then
40820 if test "$HAVE_SHL_FUNCS" = 0; then
40821 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40822 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40823 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40824 wxUSE_DYNAMIC_LOADER=no
40825 wxUSE_DYNLIB_CLASS=no
40826 else
40827 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40828 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40829 fi
40830 fi
40831 fi
40832 fi
40833 fi
40834
40835 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40836 cat >>confdefs.h <<\_ACEOF
40837 #define wxUSE_DYNAMIC_LOADER 1
40838 _ACEOF
40839
40840 fi
40841 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40842 cat >>confdefs.h <<\_ACEOF
40843 #define wxUSE_DYNLIB_CLASS 1
40844 _ACEOF
40845
40846 fi
40847
40848
40849
40850 if test "$wxUSE_PLUGINS" = "yes" ; then
40851 if test "$wxUSE_SHARED" = "no" ; then
40852 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40853 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40854 wxUSE_PLUGINS=no
40855 fi
40856 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40857 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40858 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40859 wxUSE_PLUGINS=no
40860 fi
40861 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40862 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40863 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40864 wxUSE_PLUGINS=no
40865 fi
40866 if test "$wxUSE_PLUGINS" = "yes" ; then
40867 cat >>confdefs.h <<\_ACEOF
40868 #define wxUSE_PLUGINS 1
40869 _ACEOF
40870
40871 fi
40872 fi
40873
40874
40875 if test "$wxUSE_STL" = "yes"; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define wxUSE_STL 1
40878 _ACEOF
40879
40880 fi
40881
40882 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40883 cat >>confdefs.h <<\_ACEOF
40884 #define wxUSE_EXTENDED_RTTI 1
40885 _ACEOF
40886
40887 fi
40888
40889 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40890 cat >>confdefs.h <<\_ACEOF
40891 #define wxUSE_APPLE_IEEE 1
40892 _ACEOF
40893
40894 fi
40895
40896 if test "$wxUSE_TIMER" = "yes"; then
40897 cat >>confdefs.h <<\_ACEOF
40898 #define wxUSE_TIMER 1
40899 _ACEOF
40900
40901 fi
40902
40903 if test "$USE_UNIX" = "1" ; then
40904 if test "$wxUSE_MGL" != 1; then
40905 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40906 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40907 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40908 echo $ECHO_N "(cached) $ECHO_C" >&6
40909 else
40910
40911 cat >conftest.$ac_ext <<_ACEOF
40912 /* confdefs.h. */
40913 _ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40917
40918 #include <sys/ioctl.h>
40919 #include <sys/soundcard.h>
40920
40921 int
40922 main ()
40923 {
40924
40925 ioctl(0, SNDCTL_DSP_SPEED, 0);
40926
40927 ;
40928 return 0;
40929 }
40930 _ACEOF
40931 rm -f conftest.$ac_objext conftest$ac_exeext
40932 if { (ac_try="$ac_link"
40933 case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40935 *) ac_try_echo=$ac_try;;
40936 esac
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_link") 2>conftest.er1
40939 ac_status=$?
40940 grep -v '^ *+' conftest.er1 >conftest.err
40941 rm -f conftest.er1
40942 cat conftest.err >&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); } && {
40945 test -z "$ac_c_werror_flag" ||
40946 test ! -s conftest.err
40947 } && test -s conftest$ac_exeext &&
40948 $as_test_x conftest$ac_exeext; then
40949 ac_cv_header_sys_soundcard=yes
40950 else
40951 echo "$as_me: failed program was:" >&5
40952 sed 's/^/| /' conftest.$ac_ext >&5
40953
40954
40955 saveLibs="$LIBS"
40956 LIBS="$saveLibs -lossaudio"
40957 cat >conftest.$ac_ext <<_ACEOF
40958 /* confdefs.h. */
40959 _ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963
40964 #include <sys/ioctl.h>
40965 #include <sys/soundcard.h>
40966
40967 int
40968 main ()
40969 {
40970
40971 ioctl(0, SNDCTL_DSP_SPEED, 0);
40972
40973 ;
40974 return 0;
40975 }
40976 _ACEOF
40977 rm -f conftest.$ac_objext conftest$ac_exeext
40978 if { (ac_try="$ac_link"
40979 case "(($ac_try" in
40980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40981 *) ac_try_echo=$ac_try;;
40982 esac
40983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40984 (eval "$ac_link") 2>conftest.er1
40985 ac_status=$?
40986 grep -v '^ *+' conftest.er1 >conftest.err
40987 rm -f conftest.er1
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } && {
40991 test -z "$ac_c_werror_flag" ||
40992 test ! -s conftest.err
40993 } && test -s conftest$ac_exeext &&
40994 $as_test_x conftest$ac_exeext; then
40995 ac_cv_header_sys_soundcard=yes
40996 else
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.$ac_ext >&5
40999
41000
41001 LIBS="$saveLibs"
41002 ac_cv_header_sys_soundcard=no
41003
41004
41005 fi
41006
41007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41008 conftest$ac_exeext conftest.$ac_ext
41009
41010
41011 fi
41012
41013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41014 conftest$ac_exeext conftest.$ac_ext
41015
41016 fi
41017 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41018 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41019 fi
41020
41021 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41022 cat >>confdefs.h <<\_ACEOF
41023 #define HAVE_SYS_SOUNDCARD_H 1
41024 _ACEOF
41025
41026 fi
41027 fi
41028
41029 WITH_PLUGIN_SDL=0
41030 if test "$wxUSE_SOUND" = "yes"; then
41031 if test "$USE_UNIX" = "1" ; then
41032 if test "$wxUSE_LIBSDL" != "no"; then
41033
41034 # Check whether --with-sdl-prefix was given.
41035 if test "${with_sdl_prefix+set}" = set; then
41036 withval=$with_sdl_prefix; sdl_prefix="$withval"
41037 else
41038 sdl_prefix=""
41039 fi
41040
41041
41042 # Check whether --with-sdl-exec-prefix was given.
41043 if test "${with_sdl_exec_prefix+set}" = set; then
41044 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41045 else
41046 sdl_exec_prefix=""
41047 fi
41048
41049 # Check whether --enable-sdltest was given.
41050 if test "${enable_sdltest+set}" = set; then
41051 enableval=$enable_sdltest;
41052 else
41053 enable_sdltest=yes
41054 fi
41055
41056
41057 if test x$sdl_exec_prefix != x ; then
41058 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41059 if test x${SDL_CONFIG+set} != xset ; then
41060 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41061 fi
41062 fi
41063 if test x$sdl_prefix != x ; then
41064 sdl_args="$sdl_args --prefix=$sdl_prefix"
41065 if test x${SDL_CONFIG+set} != xset ; then
41066 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41067 fi
41068 fi
41069
41070 if test "x$prefix" != xNONE; then
41071 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41072 fi
41073 # Extract the first word of "sdl-config", so it can be a program name with args.
41074 set dummy sdl-config; ac_word=$2
41075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41077 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41079 else
41080 case $SDL_CONFIG in
41081 [\\/]* | ?:[\\/]*)
41082 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41083 ;;
41084 *)
41085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41086 for as_dir in $PATH
41087 do
41088 IFS=$as_save_IFS
41089 test -z "$as_dir" && as_dir=.
41090 for ac_exec_ext in '' $ac_executable_extensions; do
41091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41092 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41094 break 2
41095 fi
41096 done
41097 done
41098 IFS=$as_save_IFS
41099
41100 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41101 ;;
41102 esac
41103 fi
41104 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41105 if test -n "$SDL_CONFIG"; then
41106 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41107 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41108 else
41109 { echo "$as_me:$LINENO: result: no" >&5
41110 echo "${ECHO_T}no" >&6; }
41111 fi
41112
41113
41114 min_sdl_version=1.2.0
41115 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41116 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41117 no_sdl=""
41118 if test "$SDL_CONFIG" = "no" ; then
41119 no_sdl=yes
41120 else
41121 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41122 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41123
41124 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41126 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41128 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41130 if test "x$enable_sdltest" = "xyes" ; then
41131 ac_save_CFLAGS="$CFLAGS"
41132 ac_save_CXXFLAGS="$CXXFLAGS"
41133 ac_save_LIBS="$LIBS"
41134 CFLAGS="$CFLAGS $SDL_CFLAGS"
41135 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41136 LIBS="$LIBS $SDL_LIBS"
41137 rm -f conf.sdltest
41138 if test "$cross_compiling" = yes; then
41139 echo $ac_n "cross compiling; assumed OK... $ac_c"
41140 else
41141 cat >conftest.$ac_ext <<_ACEOF
41142 /* confdefs.h. */
41143 _ACEOF
41144 cat confdefs.h >>conftest.$ac_ext
41145 cat >>conftest.$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41147
41148 #include <stdio.h>
41149 #include <stdlib.h>
41150 #include <string.h>
41151 #include "SDL.h"
41152
41153 char*
41154 my_strdup (char *str)
41155 {
41156 char *new_str;
41157
41158 if (str)
41159 {
41160 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41161 strcpy (new_str, str);
41162 }
41163 else
41164 new_str = NULL;
41165
41166 return new_str;
41167 }
41168
41169 int main (int argc, char *argv[])
41170 {
41171 int major, minor, micro;
41172 char *tmp_version;
41173
41174 /* This hangs on some systems (?)
41175 system ("touch conf.sdltest");
41176 */
41177 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41178
41179 /* HP/UX 9 (%@#!) writes to sscanf strings */
41180 tmp_version = my_strdup("$min_sdl_version");
41181 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41182 printf("%s, bad version string\n", "$min_sdl_version");
41183 exit(1);
41184 }
41185
41186 if (($sdl_major_version > major) ||
41187 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41188 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41189 {
41190 return 0;
41191 }
41192 else
41193 {
41194 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41195 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41196 printf("*** best to upgrade to the required version.\n");
41197 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41198 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41199 printf("*** config.cache before re-running configure\n");
41200 return 1;
41201 }
41202 }
41203
41204
41205 _ACEOF
41206 rm -f conftest$ac_exeext
41207 if { (ac_try="$ac_link"
41208 case "(($ac_try" in
41209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41210 *) ac_try_echo=$ac_try;;
41211 esac
41212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41213 (eval "$ac_link") 2>&5
41214 ac_status=$?
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41217 { (case "(($ac_try" in
41218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41219 *) ac_try_echo=$ac_try;;
41220 esac
41221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41222 (eval "$ac_try") 2>&5
41223 ac_status=$?
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); }; }; then
41226 :
41227 else
41228 echo "$as_me: program exited with status $ac_status" >&5
41229 echo "$as_me: failed program was:" >&5
41230 sed 's/^/| /' conftest.$ac_ext >&5
41231
41232 ( exit $ac_status )
41233 no_sdl=yes
41234 fi
41235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41236 fi
41237
41238
41239 CFLAGS="$ac_save_CFLAGS"
41240 CXXFLAGS="$ac_save_CXXFLAGS"
41241 LIBS="$ac_save_LIBS"
41242 fi
41243 fi
41244 if test "x$no_sdl" = x ; then
41245 { echo "$as_me:$LINENO: result: yes" >&5
41246 echo "${ECHO_T}yes" >&6; }
41247
41248 EXTRALIBS_SDL="$SDL_LIBS"
41249 CFLAGS="$SDL_CFLAGS $CFLAGS"
41250 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41251 cat >>confdefs.h <<\_ACEOF
41252 #define wxUSE_LIBSDL 1
41253 _ACEOF
41254
41255
41256 else
41257 { echo "$as_me:$LINENO: result: no" >&5
41258 echo "${ECHO_T}no" >&6; }
41259 if test "$SDL_CONFIG" = "no" ; then
41260 echo "*** The sdl-config script installed by SDL could not be found"
41261 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41262 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41263 echo "*** full path to sdl-config."
41264 else
41265 if test -f conf.sdltest ; then
41266 :
41267 else
41268 echo "*** Could not run SDL test program, checking why..."
41269 CFLAGS="$CFLAGS $SDL_CFLAGS"
41270 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41271 LIBS="$LIBS $SDL_LIBS"
41272 cat >conftest.$ac_ext <<_ACEOF
41273 /* confdefs.h. */
41274 _ACEOF
41275 cat confdefs.h >>conftest.$ac_ext
41276 cat >>conftest.$ac_ext <<_ACEOF
41277 /* end confdefs.h. */
41278
41279 #include <stdio.h>
41280 #include "SDL.h"
41281
41282 int main(int argc, char *argv[])
41283 { return 0; }
41284 #undef main
41285 #define main K_and_R_C_main
41286
41287 int
41288 main ()
41289 {
41290 return 0;
41291 ;
41292 return 0;
41293 }
41294 _ACEOF
41295 rm -f conftest.$ac_objext conftest$ac_exeext
41296 if { (ac_try="$ac_link"
41297 case "(($ac_try" in
41298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41299 *) ac_try_echo=$ac_try;;
41300 esac
41301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41302 (eval "$ac_link") 2>conftest.er1
41303 ac_status=$?
41304 grep -v '^ *+' conftest.er1 >conftest.err
41305 rm -f conftest.er1
41306 cat conftest.err >&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); } && {
41309 test -z "$ac_c_werror_flag" ||
41310 test ! -s conftest.err
41311 } && test -s conftest$ac_exeext &&
41312 $as_test_x conftest$ac_exeext; then
41313 echo "*** The test program compiled, but did not run. This usually means"
41314 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41315 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41316 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41317 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41318 echo "*** is required on your system"
41319 echo "***"
41320 echo "*** If you have an old version installed, it is best to remove it, although"
41321 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41322 else
41323 echo "$as_me: failed program was:" >&5
41324 sed 's/^/| /' conftest.$ac_ext >&5
41325
41326 echo "*** The test program failed to compile or link. See the file config.log for the"
41327 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41328 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41329 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41330 fi
41331
41332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41333 conftest$ac_exeext conftest.$ac_ext
41334 CFLAGS="$ac_save_CFLAGS"
41335 CXXFLAGS="$ac_save_CXXFLAGS"
41336 LIBS="$ac_save_LIBS"
41337 fi
41338 fi
41339 SDL_CFLAGS=""
41340 SDL_LIBS=""
41341 wxUSE_LIBSDL="no"
41342 fi
41343
41344
41345 rm -f conf.sdltest
41346
41347 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41348 WITH_PLUGIN_SDL=1
41349 fi
41350 fi
41351 else
41352 if test "$wxUSE_MGL" = 1; then
41353 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41354 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41355 wxUSE_SOUND="no"
41356 fi
41357 fi
41358 fi
41359
41360 if test "$wxUSE_SOUND" = "yes"; then
41361 cat >>confdefs.h <<\_ACEOF
41362 #define wxUSE_SOUND 1
41363 _ACEOF
41364
41365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41366 fi
41367
41368 if test "$WXGTK20" = 1; then
41369
41370
41371 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41372 if test -n "$ac_tool_prefix"; then
41373 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41374 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41377 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41378 echo $ECHO_N "(cached) $ECHO_C" >&6
41379 else
41380 case $PKG_CONFIG in
41381 [\\/]* | ?:[\\/]*)
41382 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41383 ;;
41384 *)
41385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41386 for as_dir in $PATH
41387 do
41388 IFS=$as_save_IFS
41389 test -z "$as_dir" && as_dir=.
41390 for ac_exec_ext in '' $ac_executable_extensions; do
41391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41392 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41394 break 2
41395 fi
41396 done
41397 done
41398 IFS=$as_save_IFS
41399
41400 ;;
41401 esac
41402 fi
41403 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41404 if test -n "$PKG_CONFIG"; then
41405 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41406 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41407 else
41408 { echo "$as_me:$LINENO: result: no" >&5
41409 echo "${ECHO_T}no" >&6; }
41410 fi
41411
41412
41413 fi
41414 if test -z "$ac_cv_path_PKG_CONFIG"; then
41415 ac_pt_PKG_CONFIG=$PKG_CONFIG
41416 # Extract the first word of "pkg-config", so it can be a program name with args.
41417 set dummy pkg-config; ac_word=$2
41418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41420 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41421 echo $ECHO_N "(cached) $ECHO_C" >&6
41422 else
41423 case $ac_pt_PKG_CONFIG in
41424 [\\/]* | ?:[\\/]*)
41425 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41426 ;;
41427 *)
41428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41429 for as_dir in $PATH
41430 do
41431 IFS=$as_save_IFS
41432 test -z "$as_dir" && as_dir=.
41433 for ac_exec_ext in '' $ac_executable_extensions; do
41434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41435 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41437 break 2
41438 fi
41439 done
41440 done
41441 IFS=$as_save_IFS
41442
41443 ;;
41444 esac
41445 fi
41446 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41447 if test -n "$ac_pt_PKG_CONFIG"; then
41448 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41449 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41450 else
41451 { echo "$as_me:$LINENO: result: no" >&5
41452 echo "${ECHO_T}no" >&6; }
41453 fi
41454
41455 if test "x$ac_pt_PKG_CONFIG" = x; then
41456 PKG_CONFIG=""
41457 else
41458 case $cross_compiling:$ac_tool_warned in
41459 yes:)
41460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41461 whose name does not start with the host triplet. If you think this
41462 configuration is useful to you, please write to autoconf@gnu.org." >&5
41463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41464 whose name does not start with the host triplet. If you think this
41465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41466 ac_tool_warned=yes ;;
41467 esac
41468 PKG_CONFIG=$ac_pt_PKG_CONFIG
41469 fi
41470 else
41471 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41472 fi
41473
41474 fi
41475 if test -n "$PKG_CONFIG"; then
41476 _pkg_min_version=0.9.0
41477 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41478 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41479 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41480 { echo "$as_me:$LINENO: result: yes" >&5
41481 echo "${ECHO_T}yes" >&6; }
41482 else
41483 { echo "$as_me:$LINENO: result: no" >&5
41484 echo "${ECHO_T}no" >&6; }
41485 PKG_CONFIG=""
41486 fi
41487
41488 fi
41489
41490 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41491 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41492
41493
41494 pkg_failed=no
41495 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41496 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41497
41498 if test -n "$PKG_CONFIG"; then
41499 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41500 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41501 else
41502 if test -n "$PKG_CONFIG" && \
41503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41504 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41505 ac_status=$?
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); }; then
41508 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41509 else
41510 pkg_failed=yes
41511 fi
41512 fi
41513 else
41514 pkg_failed=untried
41515 fi
41516 if test -n "$PKG_CONFIG"; then
41517 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41518 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41519 else
41520 if test -n "$PKG_CONFIG" && \
41521 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41522 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41523 ac_status=$?
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); }; then
41526 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41527 else
41528 pkg_failed=yes
41529 fi
41530 fi
41531 else
41532 pkg_failed=untried
41533 fi
41534
41535
41536
41537 if test $pkg_failed = yes; then
41538
41539 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41540 _pkg_short_errors_supported=yes
41541 else
41542 _pkg_short_errors_supported=no
41543 fi
41544 if test $_pkg_short_errors_supported = yes; then
41545 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41546 else
41547 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41548 fi
41549 # Put the nasty error message in config.log where it belongs
41550 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41551
41552
41553 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41554 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41555 wxUSE_LIBGNOMEPRINT="no"
41556
41557
41558 elif test $pkg_failed = untried; then
41559
41560 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41561 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41562 wxUSE_LIBGNOMEPRINT="no"
41563
41564
41565 else
41566 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41567 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41568 { echo "$as_me:$LINENO: result: yes" >&5
41569 echo "${ECHO_T}yes" >&6; }
41570
41571 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41572 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41573 cat >>confdefs.h <<\_ACEOF
41574 #define wxUSE_LIBGNOMEPRINT 1
41575 _ACEOF
41576
41577
41578 fi
41579 fi
41580 fi
41581
41582 if test "$wxUSE_MIMETYPE" = "yes" ; then
41583 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41584
41585
41586 pkg_failed=no
41587 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41588 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41589
41590 if test -n "$PKG_CONFIG"; then
41591 if test -n "$GNOMEVFS_CFLAGS"; then
41592 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41593 else
41594 if test -n "$PKG_CONFIG" && \
41595 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41596 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41597 ac_status=$?
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); }; then
41600 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41601 else
41602 pkg_failed=yes
41603 fi
41604 fi
41605 else
41606 pkg_failed=untried
41607 fi
41608 if test -n "$PKG_CONFIG"; then
41609 if test -n "$GNOMEVFS_LIBS"; then
41610 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41611 else
41612 if test -n "$PKG_CONFIG" && \
41613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41614 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41615 ac_status=$?
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); }; then
41618 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41619 else
41620 pkg_failed=yes
41621 fi
41622 fi
41623 else
41624 pkg_failed=untried
41625 fi
41626
41627
41628
41629 if test $pkg_failed = yes; then
41630
41631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41632 _pkg_short_errors_supported=yes
41633 else
41634 _pkg_short_errors_supported=no
41635 fi
41636 if test $_pkg_short_errors_supported = yes; then
41637 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41638 else
41639 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41640 fi
41641 # Put the nasty error message in config.log where it belongs
41642 echo "$GNOMEVFS_PKG_ERRORS" >&5
41643
41644
41645 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41646 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41647 wxUSE_LIBGNOMEVFS="no"
41648
41649
41650 elif test $pkg_failed = untried; then
41651
41652 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41653 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41654 wxUSE_LIBGNOMEVFS="no"
41655
41656
41657 else
41658 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41659 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41660 { echo "$as_me:$LINENO: result: yes" >&5
41661 echo "${ECHO_T}yes" >&6; }
41662
41663 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41664 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41665 cat >>confdefs.h <<\_ACEOF
41666 #define wxUSE_LIBGNOMEVFS 1
41667 _ACEOF
41668
41669
41670 fi
41671 fi
41672 fi
41673
41674 if test "$wxUSE_LIBHILDON" = "yes" ; then
41675
41676 pkg_failed=no
41677 { echo "$as_me:$LINENO: checking for HILDON" >&5
41678 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41679
41680 if test -n "$PKG_CONFIG"; then
41681 if test -n "$HILDON_CFLAGS"; then
41682 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41683 else
41684 if test -n "$PKG_CONFIG" && \
41685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41686 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41687 ac_status=$?
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); }; then
41690 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41691 else
41692 pkg_failed=yes
41693 fi
41694 fi
41695 else
41696 pkg_failed=untried
41697 fi
41698 if test -n "$PKG_CONFIG"; then
41699 if test -n "$HILDON_LIBS"; then
41700 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41701 else
41702 if test -n "$PKG_CONFIG" && \
41703 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41704 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41705 ac_status=$?
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); }; then
41708 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41709 else
41710 pkg_failed=yes
41711 fi
41712 fi
41713 else
41714 pkg_failed=untried
41715 fi
41716
41717
41718
41719 if test $pkg_failed = yes; then
41720
41721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41722 _pkg_short_errors_supported=yes
41723 else
41724 _pkg_short_errors_supported=no
41725 fi
41726 if test $_pkg_short_errors_supported = yes; then
41727 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41728 else
41729 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41730 fi
41731 # Put the nasty error message in config.log where it belongs
41732 echo "$HILDON_PKG_ERRORS" >&5
41733
41734
41735 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41736 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41737 wxUSE_LIBHILDON="no"
41738
41739
41740 elif test $pkg_failed = untried; then
41741
41742 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41743 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41744 wxUSE_LIBHILDON="no"
41745
41746
41747 else
41748 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41749 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41750 { echo "$as_me:$LINENO: result: yes" >&5
41751 echo "${ECHO_T}yes" >&6; }
41752
41753 EXTRALIBS_HILDON="$HILDON_LIBS"
41754 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41755 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41756 cat >>confdefs.h <<\_ACEOF
41757 #define wxUSE_LIBHILDON 1
41758 _ACEOF
41759
41760
41761 fi
41762 fi
41763 fi
41764
41765 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41766 cat >>confdefs.h <<\_ACEOF
41767 #define wxUSE_CMDLINE_PARSER 1
41768 _ACEOF
41769
41770 fi
41771
41772 if test "$wxUSE_STOPWATCH" = "yes"; then
41773 cat >>confdefs.h <<\_ACEOF
41774 #define wxUSE_STOPWATCH 1
41775 _ACEOF
41776
41777 fi
41778
41779 if test "$wxUSE_DATETIME" = "yes"; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define wxUSE_DATETIME 1
41782 _ACEOF
41783
41784 fi
41785
41786 if test "$wxUSE_FILE" = "yes"; then
41787 cat >>confdefs.h <<\_ACEOF
41788 #define wxUSE_FILE 1
41789 _ACEOF
41790
41791 fi
41792
41793 if test "$wxUSE_FFILE" = "yes"; then
41794 cat >>confdefs.h <<\_ACEOF
41795 #define wxUSE_FFILE 1
41796 _ACEOF
41797
41798 fi
41799
41800 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41801 if test "$wxUSE_STREAMS" != yes; then
41802 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41803 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41804 wxUSE_ARCHIVE_STREAMS=no
41805 else
41806 cat >>confdefs.h <<\_ACEOF
41807 #define wxUSE_ARCHIVE_STREAMS 1
41808 _ACEOF
41809
41810 fi
41811 fi
41812
41813 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41814 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41815 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41816 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41817 elif test "$wxUSE_ZLIB" = "no"; then
41818 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41819 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41820 else
41821 cat >>confdefs.h <<\_ACEOF
41822 #define wxUSE_ZIPSTREAM 1
41823 _ACEOF
41824
41825 fi
41826 fi
41827
41828 if test "$wxUSE_TARSTREAM" = "yes"; then
41829 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41830 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41831 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41832 else
41833 cat >>confdefs.h <<\_ACEOF
41834 #define wxUSE_TARSTREAM 1
41835 _ACEOF
41836
41837 fi
41838 fi
41839
41840 if test "$wxUSE_FILESYSTEM" = "yes"; then
41841 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41842 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41843 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41844 wxUSE_FILESYSTEM=no
41845 else
41846 cat >>confdefs.h <<\_ACEOF
41847 #define wxUSE_FILESYSTEM 1
41848 _ACEOF
41849
41850 fi
41851 fi
41852
41853 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41854 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41855 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41856 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41857 else
41858 cat >>confdefs.h <<\_ACEOF
41859 #define wxUSE_FS_ARCHIVE 1
41860 _ACEOF
41861
41862 fi
41863 fi
41864
41865 if test "$wxUSE_FS_ZIP" = "yes"; then
41866 if test "$wxUSE_FS_ARCHIVE" != yes; then
41867 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41868 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41869 else
41870 cat >>confdefs.h <<\_ACEOF
41871 #define wxUSE_FS_ZIP 1
41872 _ACEOF
41873
41874 fi
41875 fi
41876
41877 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41878 if test "$USE_UNIX" != 1; then
41879 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41880 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41881 wxUSE_ON_FATAL_EXCEPTION=no
41882 else
41883 cat >>confdefs.h <<\_ACEOF
41884 #define wxUSE_ON_FATAL_EXCEPTION 1
41885 _ACEOF
41886
41887 fi
41888 fi
41889
41890 if test "$wxUSE_STACKWALKER" = "yes"; then
41891 cat >>confdefs.h <<\_ACEOF
41892 #define wxUSE_STACKWALKER 1
41893 _ACEOF
41894
41895 fi
41896
41897 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41898 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41899 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41900 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41901 wxUSE_DEBUGREPORT=no
41902 else
41903 cat >>confdefs.h <<\_ACEOF
41904 #define wxUSE_DEBUGREPORT 1
41905 _ACEOF
41906
41907 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41909 fi
41910 fi
41911 fi
41912
41913 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41914 cat >>confdefs.h <<\_ACEOF
41915 #define wxUSE_SNGLINST_CHECKER 1
41916 _ACEOF
41917
41918 fi
41919
41920 if test "$wxUSE_BUSYINFO" = "yes"; then
41921 cat >>confdefs.h <<\_ACEOF
41922 #define wxUSE_BUSYINFO 1
41923 _ACEOF
41924
41925 fi
41926
41927 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41928 cat >>confdefs.h <<\_ACEOF
41929 #define wxUSE_STD_IOSTREAM 1
41930 _ACEOF
41931
41932 fi
41933
41934 if test "$wxUSE_STD_STRING" = "yes"; then
41935 cat >>confdefs.h <<\_ACEOF
41936 #define wxUSE_STD_STRING 1
41937 _ACEOF
41938
41939 fi
41940
41941 if test "$wxUSE_STDPATHS" = "yes"; then
41942 cat >>confdefs.h <<\_ACEOF
41943 #define wxUSE_STDPATHS 1
41944 _ACEOF
41945
41946 fi
41947
41948 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41949 cat >>confdefs.h <<\_ACEOF
41950 #define wxUSE_TEXTBUFFER 1
41951 _ACEOF
41952
41953 fi
41954
41955 if test "$wxUSE_TEXTFILE" = "yes"; then
41956 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41957 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41958 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41959 else
41960 cat >>confdefs.h <<\_ACEOF
41961 #define wxUSE_TEXTFILE 1
41962 _ACEOF
41963
41964 fi
41965 fi
41966
41967 if test "$wxUSE_CONFIG" = "yes" ; then
41968 if test "$wxUSE_TEXTFILE" != "yes"; then
41969 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41970 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41971 else
41972 cat >>confdefs.h <<\_ACEOF
41973 #define wxUSE_CONFIG 1
41974 _ACEOF
41975
41976 cat >>confdefs.h <<\_ACEOF
41977 #define wxUSE_CONFIG_NATIVE 1
41978 _ACEOF
41979
41980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41981 fi
41982 fi
41983
41984 if test "$wxUSE_INTL" = "yes" ; then
41985 if test "$wxUSE_FILE" != "yes"; then
41986 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41987 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41988 else
41989 cat >>confdefs.h <<\_ACEOF
41990 #define wxUSE_INTL 1
41991 _ACEOF
41992
41993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41994 GUIDIST="$GUIDIST INTL_DIST"
41995 fi
41996 fi
41997
41998 if test "$wxUSE_LOG" = "yes"; then
41999 cat >>confdefs.h <<\_ACEOF
42000 #define wxUSE_LOG 1
42001 _ACEOF
42002
42003
42004 if test "$wxUSE_LOGGUI" = "yes"; then
42005 cat >>confdefs.h <<\_ACEOF
42006 #define wxUSE_LOGGUI 1
42007 _ACEOF
42008
42009 fi
42010
42011 if test "$wxUSE_LOGWINDOW" = "yes"; then
42012 cat >>confdefs.h <<\_ACEOF
42013 #define wxUSE_LOGWINDOW 1
42014 _ACEOF
42015
42016 fi
42017
42018 if test "$wxUSE_LOGDIALOG" = "yes"; then
42019 cat >>confdefs.h <<\_ACEOF
42020 #define wxUSE_LOG_DIALOG 1
42021 _ACEOF
42022
42023 fi
42024
42025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42026 fi
42027
42028 if test "$wxUSE_LONGLONG" = "yes"; then
42029 cat >>confdefs.h <<\_ACEOF
42030 #define wxUSE_LONGLONG 1
42031 _ACEOF
42032
42033 fi
42034
42035 if test "$wxUSE_GEOMETRY" = "yes"; then
42036 cat >>confdefs.h <<\_ACEOF
42037 #define wxUSE_GEOMETRY 1
42038 _ACEOF
42039
42040 fi
42041
42042 if test "$wxUSE_STREAMS" = "yes" ; then
42043 cat >>confdefs.h <<\_ACEOF
42044 #define wxUSE_STREAMS 1
42045 _ACEOF
42046
42047 fi
42048
42049 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42050 cat >>confdefs.h <<\_ACEOF
42051 #define wxUSE_PRINTF_POS_PARAMS 1
42052 _ACEOF
42053
42054 fi
42055
42056
42057
42058 if test "$wxUSE_DATETIME" = "yes"; then
42059
42060 for ac_func in strptime
42061 do
42062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42066 echo $ECHO_N "(cached) $ECHO_C" >&6
42067 else
42068 cat >conftest.$ac_ext <<_ACEOF
42069 /* confdefs.h. */
42070 _ACEOF
42071 cat confdefs.h >>conftest.$ac_ext
42072 cat >>conftest.$ac_ext <<_ACEOF
42073 /* end confdefs.h. */
42074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42076 #define $ac_func innocuous_$ac_func
42077
42078 /* System header to define __stub macros and hopefully few prototypes,
42079 which can conflict with char $ac_func (); below.
42080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42081 <limits.h> exists even on freestanding compilers. */
42082
42083 #ifdef __STDC__
42084 # include <limits.h>
42085 #else
42086 # include <assert.h>
42087 #endif
42088
42089 #undef $ac_func
42090
42091 /* Override any GCC internal prototype to avoid an error.
42092 Use char because int might match the return type of a GCC
42093 builtin and then its argument prototype would still apply. */
42094 #ifdef __cplusplus
42095 extern "C"
42096 #endif
42097 char $ac_func ();
42098 /* The GNU C library defines this for functions which it implements
42099 to always fail with ENOSYS. Some functions are actually named
42100 something starting with __ and the normal name is an alias. */
42101 #if defined __stub_$ac_func || defined __stub___$ac_func
42102 choke me
42103 #endif
42104
42105 int
42106 main ()
42107 {
42108 return $ac_func ();
42109 ;
42110 return 0;
42111 }
42112 _ACEOF
42113 rm -f conftest.$ac_objext conftest$ac_exeext
42114 if { (ac_try="$ac_link"
42115 case "(($ac_try" in
42116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42117 *) ac_try_echo=$ac_try;;
42118 esac
42119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42120 (eval "$ac_link") 2>conftest.er1
42121 ac_status=$?
42122 grep -v '^ *+' conftest.er1 >conftest.err
42123 rm -f conftest.er1
42124 cat conftest.err >&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); } && {
42127 test -z "$ac_c_werror_flag" ||
42128 test ! -s conftest.err
42129 } && test -s conftest$ac_exeext &&
42130 $as_test_x conftest$ac_exeext; then
42131 eval "$as_ac_var=yes"
42132 else
42133 echo "$as_me: failed program was:" >&5
42134 sed 's/^/| /' conftest.$ac_ext >&5
42135
42136 eval "$as_ac_var=no"
42137 fi
42138
42139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42140 conftest$ac_exeext conftest.$ac_ext
42141 fi
42142 ac_res=`eval echo '${'$as_ac_var'}'`
42143 { echo "$as_me:$LINENO: result: $ac_res" >&5
42144 echo "${ECHO_T}$ac_res" >&6; }
42145 if test `eval echo '${'$as_ac_var'}'` = yes; then
42146 cat >>confdefs.h <<_ACEOF
42147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42148 _ACEOF
42149
42150 fi
42151 done
42152
42153 if test "$ac_cv_func_strptime" = "yes"; then
42154 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42155 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42156 if test "${wx_cv_func_strptime_decl+set}" = set; then
42157 echo $ECHO_N "(cached) $ECHO_C" >&6
42158 else
42159
42160 ac_ext=cpp
42161 ac_cpp='$CXXCPP $CPPFLAGS'
42162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42165
42166 cat >conftest.$ac_ext <<_ACEOF
42167 /* confdefs.h. */
42168 _ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42172
42173 #include <time.h>
42174
42175 int
42176 main ()
42177 {
42178
42179 struct tm t;
42180 strptime("foo", "bar", &t);
42181
42182 ;
42183 return 0;
42184 }
42185 _ACEOF
42186 rm -f conftest.$ac_objext
42187 if { (ac_try="$ac_compile"
42188 case "(($ac_try" in
42189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42190 *) ac_try_echo=$ac_try;;
42191 esac
42192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42193 (eval "$ac_compile") 2>conftest.er1
42194 ac_status=$?
42195 grep -v '^ *+' conftest.er1 >conftest.err
42196 rm -f conftest.er1
42197 cat conftest.err >&5
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); } && {
42200 test -z "$ac_cxx_werror_flag" ||
42201 test ! -s conftest.err
42202 } && test -s conftest.$ac_objext; then
42203 wx_cv_func_strptime_decl=yes
42204 else
42205 echo "$as_me: failed program was:" >&5
42206 sed 's/^/| /' conftest.$ac_ext >&5
42207
42208 wx_cv_func_strptime_decl=no
42209
42210 fi
42211
42212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42213 ac_ext=c
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42218
42219
42220
42221 fi
42222 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42223 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42224 fi
42225 if test "$wx_cv_func_strptime_decl" = "yes"; then
42226 cat >>confdefs.h <<\_ACEOF
42227 #define HAVE_STRPTIME_DECL 1
42228 _ACEOF
42229
42230 fi
42231
42232 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42233 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42234 if test "${wx_cv_var_timezone+set}" = set; then
42235 echo $ECHO_N "(cached) $ECHO_C" >&6
42236 else
42237
42238 ac_ext=cpp
42239 ac_cpp='$CXXCPP $CPPFLAGS'
42240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42243
42244 cat >conftest.$ac_ext <<_ACEOF
42245 /* confdefs.h. */
42246 _ACEOF
42247 cat confdefs.h >>conftest.$ac_ext
42248 cat >>conftest.$ac_ext <<_ACEOF
42249 /* end confdefs.h. */
42250
42251 #include <time.h>
42252
42253 int
42254 main ()
42255 {
42256
42257 int tz;
42258 tz = timezone;
42259
42260 ;
42261 return 0;
42262 }
42263 _ACEOF
42264 rm -f conftest.$ac_objext
42265 if { (ac_try="$ac_compile"
42266 case "(($ac_try" in
42267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42268 *) ac_try_echo=$ac_try;;
42269 esac
42270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42271 (eval "$ac_compile") 2>conftest.er1
42272 ac_status=$?
42273 grep -v '^ *+' conftest.er1 >conftest.err
42274 rm -f conftest.er1
42275 cat conftest.err >&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); } && {
42278 test -z "$ac_cxx_werror_flag" ||
42279 test ! -s conftest.err
42280 } && test -s conftest.$ac_objext; then
42281
42282 wx_cv_var_timezone=timezone
42283
42284 else
42285 echo "$as_me: failed program was:" >&5
42286 sed 's/^/| /' conftest.$ac_ext >&5
42287
42288
42289 cat >conftest.$ac_ext <<_ACEOF
42290 /* confdefs.h. */
42291 _ACEOF
42292 cat confdefs.h >>conftest.$ac_ext
42293 cat >>conftest.$ac_ext <<_ACEOF
42294 /* end confdefs.h. */
42295
42296 #include <time.h>
42297
42298 int
42299 main ()
42300 {
42301
42302 int tz;
42303 tz = _timezone;
42304
42305 ;
42306 return 0;
42307 }
42308 _ACEOF
42309 rm -f conftest.$ac_objext
42310 if { (ac_try="$ac_compile"
42311 case "(($ac_try" in
42312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42313 *) ac_try_echo=$ac_try;;
42314 esac
42315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42316 (eval "$ac_compile") 2>conftest.er1
42317 ac_status=$?
42318 grep -v '^ *+' conftest.er1 >conftest.err
42319 rm -f conftest.er1
42320 cat conftest.err >&5
42321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42322 (exit $ac_status); } && {
42323 test -z "$ac_cxx_werror_flag" ||
42324 test ! -s conftest.err
42325 } && test -s conftest.$ac_objext; then
42326
42327 wx_cv_var_timezone=_timezone
42328
42329 else
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.$ac_ext >&5
42332
42333
42334 cat >conftest.$ac_ext <<_ACEOF
42335 /* confdefs.h. */
42336 _ACEOF
42337 cat confdefs.h >>conftest.$ac_ext
42338 cat >>conftest.$ac_ext <<_ACEOF
42339 /* end confdefs.h. */
42340
42341 #include <time.h>
42342
42343 int
42344 main ()
42345 {
42346
42347 int tz;
42348 tz = __timezone;
42349
42350 ;
42351 return 0;
42352 }
42353 _ACEOF
42354 rm -f conftest.$ac_objext
42355 if { (ac_try="$ac_compile"
42356 case "(($ac_try" in
42357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42358 *) ac_try_echo=$ac_try;;
42359 esac
42360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42361 (eval "$ac_compile") 2>conftest.er1
42362 ac_status=$?
42363 grep -v '^ *+' conftest.er1 >conftest.err
42364 rm -f conftest.er1
42365 cat conftest.err >&5
42366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367 (exit $ac_status); } && {
42368 test -z "$ac_cxx_werror_flag" ||
42369 test ! -s conftest.err
42370 } && test -s conftest.$ac_objext; then
42371
42372 wx_cv_var_timezone=__timezone
42373
42374 else
42375 echo "$as_me: failed program was:" >&5
42376 sed 's/^/| /' conftest.$ac_ext >&5
42377
42378
42379 if test "$USE_DOS" = 0 ; then
42380 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42381 echo "$as_me: WARNING: no timezone variable" >&2;}
42382 fi
42383
42384
42385 fi
42386
42387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42388
42389
42390 fi
42391
42392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42393
42394
42395 fi
42396
42397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42398 ac_ext=c
42399 ac_cpp='$CPP $CPPFLAGS'
42400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42403
42404
42405
42406 fi
42407 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42408 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42409
42410 if test "x$wx_cv_var_timezone" != x ; then
42411 cat >>confdefs.h <<_ACEOF
42412 #define WX_TIMEZONE $wx_cv_var_timezone
42413 _ACEOF
42414
42415 fi
42416
42417
42418 for ac_func in localtime
42419 do
42420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42424 echo $ECHO_N "(cached) $ECHO_C" >&6
42425 else
42426 cat >conftest.$ac_ext <<_ACEOF
42427 /* confdefs.h. */
42428 _ACEOF
42429 cat confdefs.h >>conftest.$ac_ext
42430 cat >>conftest.$ac_ext <<_ACEOF
42431 /* end confdefs.h. */
42432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42434 #define $ac_func innocuous_$ac_func
42435
42436 /* System header to define __stub macros and hopefully few prototypes,
42437 which can conflict with char $ac_func (); below.
42438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42439 <limits.h> exists even on freestanding compilers. */
42440
42441 #ifdef __STDC__
42442 # include <limits.h>
42443 #else
42444 # include <assert.h>
42445 #endif
42446
42447 #undef $ac_func
42448
42449 /* Override any GCC internal prototype to avoid an error.
42450 Use char because int might match the return type of a GCC
42451 builtin and then its argument prototype would still apply. */
42452 #ifdef __cplusplus
42453 extern "C"
42454 #endif
42455 char $ac_func ();
42456 /* The GNU C library defines this for functions which it implements
42457 to always fail with ENOSYS. Some functions are actually named
42458 something starting with __ and the normal name is an alias. */
42459 #if defined __stub_$ac_func || defined __stub___$ac_func
42460 choke me
42461 #endif
42462
42463 int
42464 main ()
42465 {
42466 return $ac_func ();
42467 ;
42468 return 0;
42469 }
42470 _ACEOF
42471 rm -f conftest.$ac_objext conftest$ac_exeext
42472 if { (ac_try="$ac_link"
42473 case "(($ac_try" in
42474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42475 *) ac_try_echo=$ac_try;;
42476 esac
42477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42478 (eval "$ac_link") 2>conftest.er1
42479 ac_status=$?
42480 grep -v '^ *+' conftest.er1 >conftest.err
42481 rm -f conftest.er1
42482 cat conftest.err >&5
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); } && {
42485 test -z "$ac_c_werror_flag" ||
42486 test ! -s conftest.err
42487 } && test -s conftest$ac_exeext &&
42488 $as_test_x conftest$ac_exeext; then
42489 eval "$as_ac_var=yes"
42490 else
42491 echo "$as_me: failed program was:" >&5
42492 sed 's/^/| /' conftest.$ac_ext >&5
42493
42494 eval "$as_ac_var=no"
42495 fi
42496
42497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42498 conftest$ac_exeext conftest.$ac_ext
42499 fi
42500 ac_res=`eval echo '${'$as_ac_var'}'`
42501 { echo "$as_me:$LINENO: result: $ac_res" >&5
42502 echo "${ECHO_T}$ac_res" >&6; }
42503 if test `eval echo '${'$as_ac_var'}'` = yes; then
42504 cat >>confdefs.h <<_ACEOF
42505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42506 _ACEOF
42507
42508 fi
42509 done
42510
42511
42512 if test "$ac_cv_func_localtime" = "yes"; then
42513 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42514 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42515 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42516 echo $ECHO_N "(cached) $ECHO_C" >&6
42517 else
42518
42519 cat >conftest.$ac_ext <<_ACEOF
42520 /* confdefs.h. */
42521 _ACEOF
42522 cat confdefs.h >>conftest.$ac_ext
42523 cat >>conftest.$ac_ext <<_ACEOF
42524 /* end confdefs.h. */
42525
42526 #include <time.h>
42527
42528 int
42529 main ()
42530 {
42531
42532 struct tm tm;
42533 tm.tm_gmtoff++;
42534
42535 ;
42536 return 0;
42537 }
42538 _ACEOF
42539 rm -f conftest.$ac_objext
42540 if { (ac_try="$ac_compile"
42541 case "(($ac_try" in
42542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42543 *) ac_try_echo=$ac_try;;
42544 esac
42545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42546 (eval "$ac_compile") 2>conftest.er1
42547 ac_status=$?
42548 grep -v '^ *+' conftest.er1 >conftest.err
42549 rm -f conftest.er1
42550 cat conftest.err >&5
42551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42552 (exit $ac_status); } && {
42553 test -z "$ac_c_werror_flag" ||
42554 test ! -s conftest.err
42555 } && test -s conftest.$ac_objext; then
42556
42557 wx_cv_struct_tm_has_gmtoff=yes
42558
42559 else
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.$ac_ext >&5
42562
42563 wx_cv_struct_tm_has_gmtoff=no
42564
42565 fi
42566
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42568
42569 fi
42570 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42571 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42572 fi
42573
42574 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42575 cat >>confdefs.h <<\_ACEOF
42576 #define WX_GMTOFF_IN_TM 1
42577 _ACEOF
42578
42579 fi
42580
42581
42582
42583 for ac_func in gettimeofday ftime
42584 do
42585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42589 echo $ECHO_N "(cached) $ECHO_C" >&6
42590 else
42591 cat >conftest.$ac_ext <<_ACEOF
42592 /* confdefs.h. */
42593 _ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42599 #define $ac_func innocuous_$ac_func
42600
42601 /* System header to define __stub macros and hopefully few prototypes,
42602 which can conflict with char $ac_func (); below.
42603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42604 <limits.h> exists even on freestanding compilers. */
42605
42606 #ifdef __STDC__
42607 # include <limits.h>
42608 #else
42609 # include <assert.h>
42610 #endif
42611
42612 #undef $ac_func
42613
42614 /* Override any GCC internal prototype to avoid an error.
42615 Use char because int might match the return type of a GCC
42616 builtin and then its argument prototype would still apply. */
42617 #ifdef __cplusplus
42618 extern "C"
42619 #endif
42620 char $ac_func ();
42621 /* The GNU C library defines this for functions which it implements
42622 to always fail with ENOSYS. Some functions are actually named
42623 something starting with __ and the normal name is an alias. */
42624 #if defined __stub_$ac_func || defined __stub___$ac_func
42625 choke me
42626 #endif
42627
42628 int
42629 main ()
42630 {
42631 return $ac_func ();
42632 ;
42633 return 0;
42634 }
42635 _ACEOF
42636 rm -f conftest.$ac_objext conftest$ac_exeext
42637 if { (ac_try="$ac_link"
42638 case "(($ac_try" in
42639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42640 *) ac_try_echo=$ac_try;;
42641 esac
42642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42643 (eval "$ac_link") 2>conftest.er1
42644 ac_status=$?
42645 grep -v '^ *+' conftest.er1 >conftest.err
42646 rm -f conftest.er1
42647 cat conftest.err >&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_c_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest$ac_exeext &&
42653 $as_test_x conftest$ac_exeext; then
42654 eval "$as_ac_var=yes"
42655 else
42656 echo "$as_me: failed program was:" >&5
42657 sed 's/^/| /' conftest.$ac_ext >&5
42658
42659 eval "$as_ac_var=no"
42660 fi
42661
42662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42663 conftest$ac_exeext conftest.$ac_ext
42664 fi
42665 ac_res=`eval echo '${'$as_ac_var'}'`
42666 { echo "$as_me:$LINENO: result: $ac_res" >&5
42667 echo "${ECHO_T}$ac_res" >&6; }
42668 if test `eval echo '${'$as_ac_var'}'` = yes; then
42669 cat >>confdefs.h <<_ACEOF
42670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42671 _ACEOF
42672 break
42673 fi
42674 done
42675
42676
42677 if test "$ac_cv_func_gettimeofday" = "yes"; then
42678 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42679 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42680 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42681 echo $ECHO_N "(cached) $ECHO_C" >&6
42682 else
42683
42684 cat >conftest.$ac_ext <<_ACEOF
42685 /* confdefs.h. */
42686 _ACEOF
42687 cat confdefs.h >>conftest.$ac_ext
42688 cat >>conftest.$ac_ext <<_ACEOF
42689 /* end confdefs.h. */
42690
42691 #include <sys/time.h>
42692 #include <unistd.h>
42693
42694 int
42695 main ()
42696 {
42697
42698 struct timeval tv;
42699 gettimeofday(&tv, NULL);
42700
42701 ;
42702 return 0;
42703 }
42704 _ACEOF
42705 rm -f conftest.$ac_objext
42706 if { (ac_try="$ac_compile"
42707 case "(($ac_try" in
42708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42709 *) ac_try_echo=$ac_try;;
42710 esac
42711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42712 (eval "$ac_compile") 2>conftest.er1
42713 ac_status=$?
42714 grep -v '^ *+' conftest.er1 >conftest.err
42715 rm -f conftest.er1
42716 cat conftest.err >&5
42717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42718 (exit $ac_status); } && {
42719 test -z "$ac_c_werror_flag" ||
42720 test ! -s conftest.err
42721 } && test -s conftest.$ac_objext; then
42722 wx_cv_func_gettimeofday_has_2_args=yes
42723 else
42724 echo "$as_me: failed program was:" >&5
42725 sed 's/^/| /' conftest.$ac_ext >&5
42726
42727 cat >conftest.$ac_ext <<_ACEOF
42728 /* confdefs.h. */
42729 _ACEOF
42730 cat confdefs.h >>conftest.$ac_ext
42731 cat >>conftest.$ac_ext <<_ACEOF
42732 /* end confdefs.h. */
42733
42734 #include <sys/time.h>
42735 #include <unistd.h>
42736
42737 int
42738 main ()
42739 {
42740
42741 struct timeval tv;
42742 gettimeofday(&tv);
42743
42744 ;
42745 return 0;
42746 }
42747 _ACEOF
42748 rm -f conftest.$ac_objext
42749 if { (ac_try="$ac_compile"
42750 case "(($ac_try" in
42751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42752 *) ac_try_echo=$ac_try;;
42753 esac
42754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42755 (eval "$ac_compile") 2>conftest.er1
42756 ac_status=$?
42757 grep -v '^ *+' conftest.er1 >conftest.err
42758 rm -f conftest.er1
42759 cat conftest.err >&5
42760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761 (exit $ac_status); } && {
42762 test -z "$ac_c_werror_flag" ||
42763 test ! -s conftest.err
42764 } && test -s conftest.$ac_objext; then
42765 wx_cv_func_gettimeofday_has_2_args=no
42766 else
42767 echo "$as_me: failed program was:" >&5
42768 sed 's/^/| /' conftest.$ac_ext >&5
42769
42770
42771 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42772 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42773 wx_cv_func_gettimeofday_has_2_args=unknown
42774
42775
42776 fi
42777
42778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42779
42780 fi
42781
42782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42783
42784 fi
42785 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42786 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42787
42788 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42789 cat >>confdefs.h <<\_ACEOF
42790 #define WX_GETTIMEOFDAY_NO_TZ 1
42791 _ACEOF
42792
42793 fi
42794 fi
42795
42796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42797 fi
42798
42799
42800 if test "$wxUSE_SOCKETS" = "yes"; then
42801 if test "$wxUSE_MGL" = "1"; then
42802 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42803 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42804 wxUSE_SOCKETS="no"
42805 fi
42806 fi
42807
42808 if test "$wxUSE_SOCKETS" = "yes"; then
42809 if test "$TOOLKIT" != "MSW"; then
42810 { echo "$as_me:$LINENO: checking for socket" >&5
42811 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42812 if test "${ac_cv_func_socket+set}" = set; then
42813 echo $ECHO_N "(cached) $ECHO_C" >&6
42814 else
42815 cat >conftest.$ac_ext <<_ACEOF
42816 /* confdefs.h. */
42817 _ACEOF
42818 cat confdefs.h >>conftest.$ac_ext
42819 cat >>conftest.$ac_ext <<_ACEOF
42820 /* end confdefs.h. */
42821 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42823 #define socket innocuous_socket
42824
42825 /* System header to define __stub macros and hopefully few prototypes,
42826 which can conflict with char socket (); below.
42827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42828 <limits.h> exists even on freestanding compilers. */
42829
42830 #ifdef __STDC__
42831 # include <limits.h>
42832 #else
42833 # include <assert.h>
42834 #endif
42835
42836 #undef socket
42837
42838 /* Override any GCC internal prototype to avoid an error.
42839 Use char because int might match the return type of a GCC
42840 builtin and then its argument prototype would still apply. */
42841 #ifdef __cplusplus
42842 extern "C"
42843 #endif
42844 char socket ();
42845 /* The GNU C library defines this for functions which it implements
42846 to always fail with ENOSYS. Some functions are actually named
42847 something starting with __ and the normal name is an alias. */
42848 #if defined __stub_socket || defined __stub___socket
42849 choke me
42850 #endif
42851
42852 int
42853 main ()
42854 {
42855 return socket ();
42856 ;
42857 return 0;
42858 }
42859 _ACEOF
42860 rm -f conftest.$ac_objext conftest$ac_exeext
42861 if { (ac_try="$ac_link"
42862 case "(($ac_try" in
42863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42864 *) ac_try_echo=$ac_try;;
42865 esac
42866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42867 (eval "$ac_link") 2>conftest.er1
42868 ac_status=$?
42869 grep -v '^ *+' conftest.er1 >conftest.err
42870 rm -f conftest.er1
42871 cat conftest.err >&5
42872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873 (exit $ac_status); } && {
42874 test -z "$ac_c_werror_flag" ||
42875 test ! -s conftest.err
42876 } && test -s conftest$ac_exeext &&
42877 $as_test_x conftest$ac_exeext; then
42878 ac_cv_func_socket=yes
42879 else
42880 echo "$as_me: failed program was:" >&5
42881 sed 's/^/| /' conftest.$ac_ext >&5
42882
42883 ac_cv_func_socket=no
42884 fi
42885
42886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42887 conftest$ac_exeext conftest.$ac_ext
42888 fi
42889 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42890 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42891 if test $ac_cv_func_socket = yes; then
42892 :
42893 else
42894
42895 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42896 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42897 if test "${ac_cv_lib_socket_socket+set}" = set; then
42898 echo $ECHO_N "(cached) $ECHO_C" >&6
42899 else
42900 ac_check_lib_save_LIBS=$LIBS
42901 LIBS="-lsocket $LIBS"
42902 cat >conftest.$ac_ext <<_ACEOF
42903 /* confdefs.h. */
42904 _ACEOF
42905 cat confdefs.h >>conftest.$ac_ext
42906 cat >>conftest.$ac_ext <<_ACEOF
42907 /* end confdefs.h. */
42908
42909 /* Override any GCC internal prototype to avoid an error.
42910 Use char because int might match the return type of a GCC
42911 builtin and then its argument prototype would still apply. */
42912 #ifdef __cplusplus
42913 extern "C"
42914 #endif
42915 char socket ();
42916 int
42917 main ()
42918 {
42919 return socket ();
42920 ;
42921 return 0;
42922 }
42923 _ACEOF
42924 rm -f conftest.$ac_objext conftest$ac_exeext
42925 if { (ac_try="$ac_link"
42926 case "(($ac_try" in
42927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42928 *) ac_try_echo=$ac_try;;
42929 esac
42930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42931 (eval "$ac_link") 2>conftest.er1
42932 ac_status=$?
42933 grep -v '^ *+' conftest.er1 >conftest.err
42934 rm -f conftest.er1
42935 cat conftest.err >&5
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); } && {
42938 test -z "$ac_c_werror_flag" ||
42939 test ! -s conftest.err
42940 } && test -s conftest$ac_exeext &&
42941 $as_test_x conftest$ac_exeext; then
42942 ac_cv_lib_socket_socket=yes
42943 else
42944 echo "$as_me: failed program was:" >&5
42945 sed 's/^/| /' conftest.$ac_ext >&5
42946
42947 ac_cv_lib_socket_socket=no
42948 fi
42949
42950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42951 conftest$ac_exeext conftest.$ac_ext
42952 LIBS=$ac_check_lib_save_LIBS
42953 fi
42954 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42955 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42956 if test $ac_cv_lib_socket_socket = yes; then
42957 if test "$INET_LINK" != " -lsocket"; then
42958 INET_LINK="$INET_LINK -lsocket"
42959 fi
42960 else
42961
42962 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42963 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42964 wxUSE_SOCKETS=no
42965
42966
42967 fi
42968
42969
42970
42971 fi
42972
42973 fi
42974 fi
42975
42976 if test "$wxUSE_SOCKETS" = "yes" ; then
42977 if test "$TOOLKIT" != "MSW"; then
42978 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42979 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42980 if test "${wx_cv_type_getsockname3+set}" = set; then
42981 echo $ECHO_N "(cached) $ECHO_C" >&6
42982 else
42983
42984 ac_ext=cpp
42985 ac_cpp='$CXXCPP $CPPFLAGS'
42986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42989
42990 cat >conftest.$ac_ext <<_ACEOF
42991 /* confdefs.h. */
42992 _ACEOF
42993 cat confdefs.h >>conftest.$ac_ext
42994 cat >>conftest.$ac_ext <<_ACEOF
42995 /* end confdefs.h. */
42996
42997 #include <sys/types.h>
42998 #include <sys/socket.h>
42999
43000 int
43001 main ()
43002 {
43003
43004 socklen_t len;
43005 getsockname(0, 0, &len);
43006
43007 ;
43008 return 0;
43009 }
43010 _ACEOF
43011 rm -f conftest.$ac_objext
43012 if { (ac_try="$ac_compile"
43013 case "(($ac_try" in
43014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43015 *) ac_try_echo=$ac_try;;
43016 esac
43017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43018 (eval "$ac_compile") 2>conftest.er1
43019 ac_status=$?
43020 grep -v '^ *+' conftest.er1 >conftest.err
43021 rm -f conftest.er1
43022 cat conftest.err >&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); } && {
43025 test -z "$ac_cxx_werror_flag" ||
43026 test ! -s conftest.err
43027 } && test -s conftest.$ac_objext; then
43028 wx_cv_type_getsockname3=socklen_t
43029 else
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43032
43033
43034 CFLAGS_OLD="$CFLAGS"
43035 if test "$GCC" = yes ; then
43036 CFLAGS="-Werror $CFLAGS"
43037 fi
43038
43039 cat >conftest.$ac_ext <<_ACEOF
43040 /* confdefs.h. */
43041 _ACEOF
43042 cat confdefs.h >>conftest.$ac_ext
43043 cat >>conftest.$ac_ext <<_ACEOF
43044 /* end confdefs.h. */
43045
43046 #include <sys/types.h>
43047 #include <sys/socket.h>
43048
43049 int
43050 main ()
43051 {
43052
43053 size_t len;
43054 getsockname(0, 0, &len);
43055
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 rm -f conftest.$ac_objext
43061 if { (ac_try="$ac_compile"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43065 esac
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_compile") 2>conftest.er1
43068 ac_status=$?
43069 grep -v '^ *+' conftest.er1 >conftest.err
43070 rm -f conftest.er1
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_cxx_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest.$ac_objext; then
43077 wx_cv_type_getsockname3=size_t
43078 else
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43081
43082 cat >conftest.$ac_ext <<_ACEOF
43083 /* confdefs.h. */
43084 _ACEOF
43085 cat confdefs.h >>conftest.$ac_ext
43086 cat >>conftest.$ac_ext <<_ACEOF
43087 /* end confdefs.h. */
43088
43089 #include <sys/types.h>
43090 #include <sys/socket.h>
43091
43092 int
43093 main ()
43094 {
43095
43096 int len;
43097 getsockname(0, 0, &len);
43098
43099 ;
43100 return 0;
43101 }
43102 _ACEOF
43103 rm -f conftest.$ac_objext
43104 if { (ac_try="$ac_compile"
43105 case "(($ac_try" in
43106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43107 *) ac_try_echo=$ac_try;;
43108 esac
43109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43110 (eval "$ac_compile") 2>conftest.er1
43111 ac_status=$?
43112 grep -v '^ *+' conftest.er1 >conftest.err
43113 rm -f conftest.er1
43114 cat conftest.err >&5
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); } && {
43117 test -z "$ac_cxx_werror_flag" ||
43118 test ! -s conftest.err
43119 } && test -s conftest.$ac_objext; then
43120 wx_cv_type_getsockname3=int
43121 else
43122 echo "$as_me: failed program was:" >&5
43123 sed 's/^/| /' conftest.$ac_ext >&5
43124
43125 wx_cv_type_getsockname3=unknown
43126
43127 fi
43128
43129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43130
43131 fi
43132
43133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43134
43135 CFLAGS="$CFLAGS_OLD"
43136
43137
43138 fi
43139
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43146
43147
43148 fi
43149 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43150 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43151
43152 if test "$wx_cv_type_getsockname3" = "unknown"; then
43153 wxUSE_SOCKETS=no
43154 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43155 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43156 else
43157 cat >>confdefs.h <<_ACEOF
43158 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43159 _ACEOF
43160
43161 fi
43162 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43163 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43164 if test "${wx_cv_type_getsockopt5+set}" = set; then
43165 echo $ECHO_N "(cached) $ECHO_C" >&6
43166 else
43167
43168 ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173
43174 cat >conftest.$ac_ext <<_ACEOF
43175 /* confdefs.h. */
43176 _ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43180
43181 #include <sys/types.h>
43182 #include <sys/socket.h>
43183
43184 int
43185 main ()
43186 {
43187
43188 socklen_t len;
43189 getsockopt(0, 0, 0, 0, &len);
43190
43191 ;
43192 return 0;
43193 }
43194 _ACEOF
43195 rm -f conftest.$ac_objext
43196 if { (ac_try="$ac_compile"
43197 case "(($ac_try" in
43198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43199 *) ac_try_echo=$ac_try;;
43200 esac
43201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43202 (eval "$ac_compile") 2>conftest.er1
43203 ac_status=$?
43204 grep -v '^ *+' conftest.er1 >conftest.err
43205 rm -f conftest.er1
43206 cat conftest.err >&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); } && {
43209 test -z "$ac_cxx_werror_flag" ||
43210 test ! -s conftest.err
43211 } && test -s conftest.$ac_objext; then
43212 wx_cv_type_getsockopt5=socklen_t
43213 else
43214 echo "$as_me: failed program was:" >&5
43215 sed 's/^/| /' conftest.$ac_ext >&5
43216
43217
43218 cat >conftest.$ac_ext <<_ACEOF
43219 /* confdefs.h. */
43220 _ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43224
43225 #include <sys/types.h>
43226 #include <sys/socket.h>
43227
43228 int
43229 main ()
43230 {
43231
43232 size_t len;
43233 getsockopt(0, 0, 0, 0, &len);
43234
43235 ;
43236 return 0;
43237 }
43238 _ACEOF
43239 rm -f conftest.$ac_objext
43240 if { (ac_try="$ac_compile"
43241 case "(($ac_try" in
43242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43243 *) ac_try_echo=$ac_try;;
43244 esac
43245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43246 (eval "$ac_compile") 2>conftest.er1
43247 ac_status=$?
43248 grep -v '^ *+' conftest.er1 >conftest.err
43249 rm -f conftest.er1
43250 cat conftest.err >&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); } && {
43253 test -z "$ac_cxx_werror_flag" ||
43254 test ! -s conftest.err
43255 } && test -s conftest.$ac_objext; then
43256 wx_cv_type_getsockopt5=size_t
43257 else
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43260
43261 cat >conftest.$ac_ext <<_ACEOF
43262 /* confdefs.h. */
43263 _ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43267
43268 #include <sys/types.h>
43269 #include <sys/socket.h>
43270
43271 int
43272 main ()
43273 {
43274
43275 int len;
43276 getsockopt(0, 0, 0, 0, &len);
43277
43278 ;
43279 return 0;
43280 }
43281 _ACEOF
43282 rm -f conftest.$ac_objext
43283 if { (ac_try="$ac_compile"
43284 case "(($ac_try" in
43285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43286 *) ac_try_echo=$ac_try;;
43287 esac
43288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43289 (eval "$ac_compile") 2>conftest.er1
43290 ac_status=$?
43291 grep -v '^ *+' conftest.er1 >conftest.err
43292 rm -f conftest.er1
43293 cat conftest.err >&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } && {
43296 test -z "$ac_cxx_werror_flag" ||
43297 test ! -s conftest.err
43298 } && test -s conftest.$ac_objext; then
43299 wx_cv_type_getsockopt5=int
43300 else
43301 echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.$ac_ext >&5
43303
43304 wx_cv_type_getsockopt5=unknown
43305
43306 fi
43307
43308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43309
43310 fi
43311
43312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43313
43314
43315 fi
43316
43317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43318 ac_ext=c
43319 ac_cpp='$CPP $CPPFLAGS'
43320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43323
43324
43325 fi
43326 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43327 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43328
43329 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43330 wxUSE_SOCKETS=no
43331 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43332 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43333 else
43334 cat >>confdefs.h <<_ACEOF
43335 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43336 _ACEOF
43337
43338 fi
43339 fi
43340 fi
43341
43342 if test "$wxUSE_SOCKETS" = "yes" ; then
43343 cat >>confdefs.h <<\_ACEOF
43344 #define wxUSE_SOCKETS 1
43345 _ACEOF
43346
43347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43348 fi
43349
43350 if test "$wxUSE_PROTOCOL" = "yes"; then
43351 if test "$wxUSE_SOCKETS" != "yes"; then
43352 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43353 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43354 wxUSE_PROTOCOL=no
43355 fi
43356 fi
43357
43358 if test "$wxUSE_PROTOCOL" = "yes"; then
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_PROTOCOL 1
43361 _ACEOF
43362
43363
43364 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define wxUSE_PROTOCOL_HTTP 1
43367 _ACEOF
43368
43369 fi
43370 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43371 cat >>confdefs.h <<\_ACEOF
43372 #define wxUSE_PROTOCOL_FTP 1
43373 _ACEOF
43374
43375 fi
43376 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_PROTOCOL_FILE 1
43379 _ACEOF
43380
43381 fi
43382 else
43383 if test "$wxUSE_FS_INET" = "yes"; then
43384 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43385 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43386 wxUSE_FS_INET="no"
43387 fi
43388 fi
43389
43390 if test "$wxUSE_URL" = "yes"; then
43391 if test "$wxUSE_PROTOCOL" != "yes"; then
43392 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43393 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43394 wxUSE_URL=no
43395 fi
43396 if test "$wxUSE_URL" = "yes"; then
43397 cat >>confdefs.h <<\_ACEOF
43398 #define wxUSE_URL 1
43399 _ACEOF
43400
43401 fi
43402 fi
43403
43404 if test "$wxUSE_VARIANT" = "yes"; then
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_VARIANT 1
43407 _ACEOF
43408
43409 fi
43410
43411 if test "$wxUSE_FS_INET" = "yes"; then
43412 cat >>confdefs.h <<\_ACEOF
43413 #define wxUSE_FS_INET 1
43414 _ACEOF
43415
43416 fi
43417
43418
43419 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43420 wxUSE_JOYSTICK=no
43421
43422 if test "$TOOLKIT" = "MSW"; then
43423 wxUSE_JOYSTICK=yes
43424
43425 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43426 if test "$USE_DARWIN" = 1; then
43427 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43428 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43429 ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43434
43435 cat >conftest.$ac_ext <<_ACEOF
43436 /* confdefs.h. */
43437 _ACEOF
43438 cat confdefs.h >>conftest.$ac_ext
43439 cat >>conftest.$ac_ext <<_ACEOF
43440 /* end confdefs.h. */
43441 #include <IOKit/hid/IOHIDLib.h>
43442 int
43443 main ()
43444 {
43445 IOHIDQueueInterface *qi = NULL;
43446 IOHIDCallbackFunction cb = NULL;
43447 qi->setEventCallout(NULL, cb, NULL, NULL);
43448 ;
43449 return 0;
43450 }
43451 _ACEOF
43452 rm -f conftest.$ac_objext
43453 if { (ac_try="$ac_compile"
43454 case "(($ac_try" in
43455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43456 *) ac_try_echo=$ac_try;;
43457 esac
43458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43459 (eval "$ac_compile") 2>conftest.er1
43460 ac_status=$?
43461 grep -v '^ *+' conftest.er1 >conftest.err
43462 rm -f conftest.er1
43463 cat conftest.err >&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); } && {
43466 test -z "$ac_cxx_werror_flag" ||
43467 test ! -s conftest.err
43468 } && test -s conftest.$ac_objext; then
43469 wxUSE_JOYSTICK=yes
43470
43471 else
43472 echo "$as_me: failed program was:" >&5
43473 sed 's/^/| /' conftest.$ac_ext >&5
43474
43475
43476 fi
43477
43478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43479 ac_ext=c
43480 ac_cpp='$CPP $CPPFLAGS'
43481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43484
43485 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43486 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43487 fi
43488
43489 else
43490 if test "$wxUSE_MGL" != "1"; then
43491 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43492 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43493 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43494 echo $ECHO_N "(cached) $ECHO_C" >&6
43495 else
43496 cat >conftest.$ac_ext <<_ACEOF
43497 /* confdefs.h. */
43498 _ACEOF
43499 cat confdefs.h >>conftest.$ac_ext
43500 cat >>conftest.$ac_ext <<_ACEOF
43501 /* end confdefs.h. */
43502 $ac_includes_default
43503
43504 #include <linux/joystick.h>
43505 _ACEOF
43506 rm -f conftest.$ac_objext
43507 if { (ac_try="$ac_compile"
43508 case "(($ac_try" in
43509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43510 *) ac_try_echo=$ac_try;;
43511 esac
43512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43513 (eval "$ac_compile") 2>conftest.er1
43514 ac_status=$?
43515 grep -v '^ *+' conftest.er1 >conftest.err
43516 rm -f conftest.er1
43517 cat conftest.err >&5
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); } && {
43520 test -z "$ac_c_werror_flag" ||
43521 test ! -s conftest.err
43522 } && test -s conftest.$ac_objext; then
43523 ac_cv_header_linux_joystick_h=yes
43524 else
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43527
43528 ac_cv_header_linux_joystick_h=no
43529 fi
43530
43531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43532 fi
43533 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43534 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43535 if test $ac_cv_header_linux_joystick_h = yes; then
43536 wxUSE_JOYSTICK=yes
43537 fi
43538
43539
43540 fi
43541 fi
43542
43543 if test "$wxUSE_JOYSTICK" = "yes"; then
43544 cat >>confdefs.h <<\_ACEOF
43545 #define wxUSE_JOYSTICK 1
43546 _ACEOF
43547
43548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43549 else
43550 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43551 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43552 fi
43553 fi
43554
43555
43556
43557 if test "$wxUSE_FONTMAP" = "yes" ; then
43558 cat >>confdefs.h <<\_ACEOF
43559 #define wxUSE_FONTMAP 1
43560 _ACEOF
43561
43562 fi
43563
43564 if test "$wxUSE_UNICODE" = "yes" ; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_UNICODE 1
43567 _ACEOF
43568
43569
43570 if test "$USE_WIN32" != 1; then
43571 wxUSE_UNICODE_MSLU=no
43572 fi
43573
43574 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43575 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43576 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43577 if test "${ac_cv_lib_unicows_main+set}" = set; then
43578 echo $ECHO_N "(cached) $ECHO_C" >&6
43579 else
43580 ac_check_lib_save_LIBS=$LIBS
43581 LIBS="-lunicows $LIBS"
43582 cat >conftest.$ac_ext <<_ACEOF
43583 /* confdefs.h. */
43584 _ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h. */
43588
43589
43590 int
43591 main ()
43592 {
43593 return main ();
43594 ;
43595 return 0;
43596 }
43597 _ACEOF
43598 rm -f conftest.$ac_objext conftest$ac_exeext
43599 if { (ac_try="$ac_link"
43600 case "(($ac_try" in
43601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43602 *) ac_try_echo=$ac_try;;
43603 esac
43604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43605 (eval "$ac_link") 2>conftest.er1
43606 ac_status=$?
43607 grep -v '^ *+' conftest.er1 >conftest.err
43608 rm -f conftest.er1
43609 cat conftest.err >&5
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); } && {
43612 test -z "$ac_c_werror_flag" ||
43613 test ! -s conftest.err
43614 } && test -s conftest$ac_exeext &&
43615 $as_test_x conftest$ac_exeext; then
43616 ac_cv_lib_unicows_main=yes
43617 else
43618 echo "$as_me: failed program was:" >&5
43619 sed 's/^/| /' conftest.$ac_ext >&5
43620
43621 ac_cv_lib_unicows_main=no
43622 fi
43623
43624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43625 conftest$ac_exeext conftest.$ac_ext
43626 LIBS=$ac_check_lib_save_LIBS
43627 fi
43628 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43629 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43630 if test $ac_cv_lib_unicows_main = yes; then
43631
43632 cat >>confdefs.h <<\_ACEOF
43633 #define wxUSE_UNICODE_MSLU 1
43634 _ACEOF
43635
43636
43637 else
43638
43639 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43640 Applications will only run on Windows NT/2000/XP!" >&5
43641 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43642 Applications will only run on Windows NT/2000/XP!" >&2;}
43643 wxUSE_UNICODE_MSLU=no
43644
43645 fi
43646
43647 fi
43648 fi
43649
43650 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43651 cat >>confdefs.h <<\_ACEOF
43652 #define wxUSE_UNICODE_UTF8 1
43653 _ACEOF
43654
43655 fi
43656
43657 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43658 cat >>confdefs.h <<\_ACEOF
43659 #define wxUSE_EXPERIMENTAL_PRINTF 1
43660 _ACEOF
43661
43662 fi
43663
43664
43665 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43666 cat >>confdefs.h <<\_ACEOF
43667 #define wxUSE_POSTSCRIPT 1
43668 _ACEOF
43669
43670 fi
43671
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43674 _ACEOF
43675
43676
43677 cat >>confdefs.h <<\_ACEOF
43678 #define wxUSE_NORMALIZED_PS_FONTS 1
43679 _ACEOF
43680
43681
43682
43683 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43684 cat >>confdefs.h <<\_ACEOF
43685 #define wxUSE_CONSTRAINTS 1
43686 _ACEOF
43687
43688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43689 fi
43690
43691 if test "$wxUSE_MDI" = "yes"; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define wxUSE_MDI 1
43694 _ACEOF
43695
43696
43697 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43698 cat >>confdefs.h <<\_ACEOF
43699 #define wxUSE_MDI_ARCHITECTURE 1
43700 _ACEOF
43701
43702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43703 fi
43704 fi
43705
43706 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43709 _ACEOF
43710
43711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43712 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43714 fi
43715 fi
43716
43717 if test "$wxUSE_HELP" = "yes"; then
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_HELP 1
43720 _ACEOF
43721
43722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43723
43724 if test "$wxUSE_MSW" = 1; then
43725 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_MS_HTML_HELP 1
43728 _ACEOF
43729
43730 fi
43731 fi
43732
43733 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43734 if test "$wxUSE_HTML" = "yes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_WXHTML_HELP 1
43737 _ACEOF
43738
43739 else
43740 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43741 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43742 wxUSE_WXHTML_HELP=no
43743 fi
43744 fi
43745 fi
43746
43747 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43748 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43749 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43750 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43751 else
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxUSE_PRINTING_ARCHITECTURE 1
43754 _ACEOF
43755
43756 fi
43757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43758 fi
43759
43760
43761
43762 if test "$wxUSE_METAFILE" = "yes"; then
43763 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43764 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43765 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43766 wxUSE_METAFILE=no
43767 fi
43768 fi
43769
43770
43771 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43772 -o "$wxUSE_CLIPBOARD" = "yes" \
43773 -o "$wxUSE_OLE" = "yes" \
43774 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43775 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43776 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43777 if test "${ac_cv_header_ole2_h+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
43787
43788 #include <ole2.h>
43789 _ACEOF
43790 rm -f conftest.$ac_objext
43791 if { (ac_try="$ac_compile"
43792 case "(($ac_try" in
43793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43795 esac
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_compile") 2>conftest.er1
43798 ac_status=$?
43799 grep -v '^ *+' conftest.er1 >conftest.err
43800 rm -f conftest.er1
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest.$ac_objext; then
43807 ac_cv_header_ole2_h=yes
43808 else
43809 echo "$as_me: failed program was:" >&5
43810 sed 's/^/| /' conftest.$ac_ext >&5
43811
43812 ac_cv_header_ole2_h=no
43813 fi
43814
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43816 fi
43817 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43818 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43819
43820
43821
43822 if test "$ac_cv_header_ole2_h" = "yes" ; then
43823 if test "$GCC" = yes ; then
43824 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43825 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43826 cat >conftest.$ac_ext <<_ACEOF
43827 /* confdefs.h. */
43828 _ACEOF
43829 cat confdefs.h >>conftest.$ac_ext
43830 cat >>conftest.$ac_ext <<_ACEOF
43831 /* end confdefs.h. */
43832 #include <windows.h>
43833 #include <ole2.h>
43834 int
43835 main ()
43836 {
43837
43838 ;
43839 return 0;
43840 }
43841 _ACEOF
43842 rm -f conftest.$ac_objext
43843 if { (ac_try="$ac_compile"
43844 case "(($ac_try" in
43845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43846 *) ac_try_echo=$ac_try;;
43847 esac
43848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43849 (eval "$ac_compile") 2>conftest.er1
43850 ac_status=$?
43851 grep -v '^ *+' conftest.er1 >conftest.err
43852 rm -f conftest.er1
43853 cat conftest.err >&5
43854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43855 (exit $ac_status); } && {
43856 test -z "$ac_c_werror_flag" ||
43857 test ! -s conftest.err
43858 } && test -s conftest.$ac_objext; then
43859 { echo "$as_me:$LINENO: result: no" >&5
43860 echo "${ECHO_T}no" >&6; }
43861 else
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43864
43865 { echo "$as_me:$LINENO: result: yes" >&5
43866 echo "${ECHO_T}yes" >&6; }
43867 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43868 fi
43869
43870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43871 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43872 if test "$wxUSE_OLE" = "yes" ; then
43873 cat >>confdefs.h <<\_ACEOF
43874 #define wxUSE_OLE 1
43875 _ACEOF
43876
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_OLE_AUTOMATION 1
43879 _ACEOF
43880
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_ACTIVEX 1
43883 _ACEOF
43884
43885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43886 fi
43887 fi
43888
43889 if test "$wxUSE_DATAOBJ" = "yes" ; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxUSE_DATAOBJ 1
43892 _ACEOF
43893
43894 fi
43895 else
43896 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43897 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43898
43899 wxUSE_CLIPBOARD=no
43900 wxUSE_DRAG_AND_DROP=no
43901 wxUSE_DATAOBJ=no
43902 wxUSE_OLE=no
43903 fi
43904
43905 if test "$wxUSE_METAFILE" = "yes"; then
43906 cat >>confdefs.h <<\_ACEOF
43907 #define wxUSE_METAFILE 1
43908 _ACEOF
43909
43910
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_ENH_METAFILE 1
43913 _ACEOF
43914
43915 fi
43916 fi
43917
43918 if test "$wxUSE_IPC" = "yes"; then
43919 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43920 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43921 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43922 wxUSE_IPC=no
43923 fi
43924
43925 if test "$wxUSE_IPC" = "yes"; then
43926 cat >>confdefs.h <<\_ACEOF
43927 #define wxUSE_IPC 1
43928 _ACEOF
43929
43930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43931 fi
43932 fi
43933
43934 if test "$wxUSE_DATAOBJ" = "yes"; then
43935 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43936 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43937 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43938 wxUSE_DATAOBJ=no
43939 else
43940 cat >>confdefs.h <<\_ACEOF
43941 #define wxUSE_DATAOBJ 1
43942 _ACEOF
43943
43944 fi
43945 else
43946 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43947 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43948 wxUSE_CLIPBOARD=no
43949 wxUSE_DRAG_AND_DROP=no
43950 fi
43951
43952 if test "$wxUSE_CLIPBOARD" = "yes"; then
43953 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43954 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43955 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43956 wxUSE_CLIPBOARD=no
43957 fi
43958
43959 if test "$wxUSE_CLIPBOARD" = "yes"; then
43960 cat >>confdefs.h <<\_ACEOF
43961 #define wxUSE_CLIPBOARD 1
43962 _ACEOF
43963
43964 fi
43965 fi
43966
43967 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43968 if test "$wxUSE_GTK" = 1; then
43969 if test "$WXGTK12" != 1; then
43970 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43971 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43972 wxUSE_DRAG_AND_DROP=no
43973 fi
43974 fi
43975
43976 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43977 "$wxUSE_DFB" = 1; then
43978 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43979 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43980 wxUSE_DRAG_AND_DROP=no
43981 fi
43982
43983 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43984 cat >>confdefs.h <<\_ACEOF
43985 #define wxUSE_DRAG_AND_DROP 1
43986 _ACEOF
43987
43988 fi
43989
43990 fi
43991
43992 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43994 fi
43995
43996 if test "$wxUSE_SPLINES" = "yes" ; then
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_SPLINES 1
43999 _ACEOF
44000
44001 fi
44002
44003 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44004 cat >>confdefs.h <<\_ACEOF
44005 #define wxUSE_MOUSEWHEEL 1
44006 _ACEOF
44007
44008 fi
44009
44010
44011 USES_CONTROLS=0
44012 if test "$wxUSE_CONTROLS" = "yes"; then
44013 USES_CONTROLS=1
44014 fi
44015
44016 if test "$wxUSE_ACCEL" = "yes"; then
44017 cat >>confdefs.h <<\_ACEOF
44018 #define wxUSE_ACCEL 1
44019 _ACEOF
44020
44021 USES_CONTROLS=1
44022 fi
44023
44024 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_ANIMATIONCTRL 1
44027 _ACEOF
44028
44029 USES_CONTROLS=1
44030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44031 fi
44032
44033 if test "$wxUSE_BUTTON" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_BUTTON 1
44036 _ACEOF
44037
44038 USES_CONTROLS=1
44039 fi
44040
44041 if test "$wxUSE_BMPBUTTON" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_BMPBUTTON 1
44044 _ACEOF
44045
44046 USES_CONTROLS=1
44047 fi
44048
44049 if test "$wxUSE_CALCTRL" = "yes"; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define wxUSE_CALENDARCTRL 1
44052 _ACEOF
44053
44054 USES_CONTROLS=1
44055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44056 fi
44057
44058 if test "$wxUSE_CARET" = "yes"; then
44059 cat >>confdefs.h <<\_ACEOF
44060 #define wxUSE_CARET 1
44061 _ACEOF
44062
44063 USES_CONTROLS=1
44064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44065 fi
44066
44067 if test "$wxUSE_COLLPANE" = "yes"; then
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_COLLPANE 1
44070 _ACEOF
44071
44072 USES_CONTROLS=1
44073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44074 fi
44075
44076 if test "$wxUSE_COMBOBOX" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_COMBOBOX 1
44079 _ACEOF
44080
44081 USES_CONTROLS=1
44082 fi
44083
44084 if test "$wxUSE_COMBOCTRL" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_COMBOCTRL 1
44087 _ACEOF
44088
44089 USES_CONTROLS=1
44090 fi
44091
44092 if test "$wxUSE_CHOICE" = "yes"; then
44093 cat >>confdefs.h <<\_ACEOF
44094 #define wxUSE_CHOICE 1
44095 _ACEOF
44096
44097 USES_CONTROLS=1
44098 fi
44099
44100 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44101 cat >>confdefs.h <<\_ACEOF
44102 #define wxUSE_CHOICEBOOK 1
44103 _ACEOF
44104
44105 USES_CONTROLS=1
44106 fi
44107
44108 if test "$wxUSE_CHECKBOX" = "yes"; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_CHECKBOX 1
44111 _ACEOF
44112
44113 USES_CONTROLS=1
44114 fi
44115
44116 if test "$wxUSE_CHECKLST" = "yes"; then
44117 cat >>confdefs.h <<\_ACEOF
44118 #define wxUSE_CHECKLISTBOX 1
44119 _ACEOF
44120
44121 USES_CONTROLS=1
44122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44123 fi
44124
44125 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_COLOURPICKERCTRL 1
44128 _ACEOF
44129
44130 USES_CONTROLS=1
44131 fi
44132
44133 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_DATEPICKCTRL 1
44136 _ACEOF
44137
44138 USES_CONTROLS=1
44139 fi
44140
44141 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44142 cat >>confdefs.h <<\_ACEOF
44143 #define wxUSE_DIRPICKERCTRL 1
44144 _ACEOF
44145
44146 USES_CONTROLS=1
44147 fi
44148
44149 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44150 cat >>confdefs.h <<\_ACEOF
44151 #define wxUSE_FILEPICKERCTRL 1
44152 _ACEOF
44153
44154 USES_CONTROLS=1
44155 fi
44156
44157 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44158 cat >>confdefs.h <<\_ACEOF
44159 #define wxUSE_FONTPICKERCTRL 1
44160 _ACEOF
44161
44162 USES_CONTROLS=1
44163 fi
44164
44165 if test "$wxUSE_DISPLAY" = "yes"; then
44166 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44167 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44168 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44169 wxUSE_DISPLAY=no
44170 else
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_DISPLAY 1
44173 _ACEOF
44174
44175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44176 fi
44177 fi
44178
44179 if test "$wxUSE_DETECT_SM" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_DETECT_SM 1
44182 _ACEOF
44183
44184 fi
44185
44186 if test "$wxUSE_GAUGE" = "yes"; then
44187 cat >>confdefs.h <<\_ACEOF
44188 #define wxUSE_GAUGE 1
44189 _ACEOF
44190
44191 USES_CONTROLS=1
44192 fi
44193
44194 if test "$wxUSE_GRID" = "yes"; then
44195 cat >>confdefs.h <<\_ACEOF
44196 #define wxUSE_GRID 1
44197 _ACEOF
44198
44199 USES_CONTROLS=1
44200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44201 fi
44202
44203 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_HYPERLINKCTRL 1
44206 _ACEOF
44207
44208 USES_CONTROLS=1
44209 fi
44210
44211 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44212 cat >>confdefs.h <<\_ACEOF
44213 #define wxUSE_BITMAPCOMBOBOX 1
44214 _ACEOF
44215
44216 USES_CONTROLS=1
44217 fi
44218
44219 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44220 cat >>confdefs.h <<\_ACEOF
44221 #define wxUSE_DATAVIEWCTRL 1
44222 _ACEOF
44223
44224 USES_CONTROLS=1
44225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44226 fi
44227
44228 if test "$wxUSE_IMAGLIST" = "yes"; then
44229 cat >>confdefs.h <<\_ACEOF
44230 #define wxUSE_IMAGLIST 1
44231 _ACEOF
44232
44233 fi
44234
44235 if test "$wxUSE_LISTBOOK" = "yes"; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_LISTBOOK 1
44238 _ACEOF
44239
44240 USES_CONTROLS=1
44241 fi
44242
44243 if test "$wxUSE_LISTBOX" = "yes"; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_LISTBOX 1
44246 _ACEOF
44247
44248 USES_CONTROLS=1
44249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44250 fi
44251
44252 if test "$wxUSE_LISTCTRL" = "yes"; then
44253 if test "$wxUSE_IMAGLIST" = "yes"; then
44254 cat >>confdefs.h <<\_ACEOF
44255 #define wxUSE_LISTCTRL 1
44256 _ACEOF
44257
44258 USES_CONTROLS=1
44259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44260 else
44261 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44262 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44263 fi
44264 fi
44265
44266 if test "$wxUSE_NOTEBOOK" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_NOTEBOOK 1
44269 _ACEOF
44270
44271 USES_CONTROLS=1
44272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44273 fi
44274
44275 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44276 cat >>confdefs.h <<\_ACEOF
44277 #define wxUSE_ODCOMBOBOX 1
44278 _ACEOF
44279
44280 USES_CONTROLS=1
44281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44282 fi
44283
44284
44285 if test "$wxUSE_RADIOBOX" = "yes"; then
44286 cat >>confdefs.h <<\_ACEOF
44287 #define wxUSE_RADIOBOX 1
44288 _ACEOF
44289
44290 USES_CONTROLS=1
44291 fi
44292
44293 if test "$wxUSE_RADIOBTN" = "yes"; then
44294 cat >>confdefs.h <<\_ACEOF
44295 #define wxUSE_RADIOBTN 1
44296 _ACEOF
44297
44298 USES_CONTROLS=1
44299 fi
44300
44301 if test "$wxUSE_SASH" = "yes"; then
44302 cat >>confdefs.h <<\_ACEOF
44303 #define wxUSE_SASH 1
44304 _ACEOF
44305
44306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44307 fi
44308
44309 if test "$wxUSE_SCROLLBAR" = "yes"; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_SCROLLBAR 1
44312 _ACEOF
44313
44314 USES_CONTROLS=1
44315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44316 fi
44317
44318 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44319 cat >>confdefs.h <<\_ACEOF
44320 #define wxUSE_SEARCHCTRL 1
44321 _ACEOF
44322
44323 USES_CONTROLS=1
44324 fi
44325
44326 if test "$wxUSE_SLIDER" = "yes"; then
44327 cat >>confdefs.h <<\_ACEOF
44328 #define wxUSE_SLIDER 1
44329 _ACEOF
44330
44331 USES_CONTROLS=1
44332 fi
44333
44334 if test "$wxUSE_SPINBTN" = "yes"; then
44335 cat >>confdefs.h <<\_ACEOF
44336 #define wxUSE_SPINBTN 1
44337 _ACEOF
44338
44339 USES_CONTROLS=1
44340 fi
44341
44342 if test "$wxUSE_SPINCTRL" = "yes"; then
44343 cat >>confdefs.h <<\_ACEOF
44344 #define wxUSE_SPINCTRL 1
44345 _ACEOF
44346
44347 USES_CONTROLS=1
44348 fi
44349
44350 if test "$wxUSE_SPLITTER" = "yes"; then
44351 cat >>confdefs.h <<\_ACEOF
44352 #define wxUSE_SPLITTER 1
44353 _ACEOF
44354
44355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44356 fi
44357
44358 if test "$wxUSE_STATBMP" = "yes"; then
44359 cat >>confdefs.h <<\_ACEOF
44360 #define wxUSE_STATBMP 1
44361 _ACEOF
44362
44363 USES_CONTROLS=1
44364 fi
44365
44366 if test "$wxUSE_STATBOX" = "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_STATBOX 1
44369 _ACEOF
44370
44371 USES_CONTROLS=1
44372 fi
44373
44374 if test "$wxUSE_STATTEXT" = "yes"; then
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_STATTEXT 1
44377 _ACEOF
44378
44379 USES_CONTROLS=1
44380 fi
44381
44382 if test "$wxUSE_STATLINE" = "yes"; then
44383 cat >>confdefs.h <<\_ACEOF
44384 #define wxUSE_STATLINE 1
44385 _ACEOF
44386
44387 USES_CONTROLS=1
44388 fi
44389
44390 if test "$wxUSE_STATUSBAR" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_NATIVE_STATUSBAR 1
44393 _ACEOF
44394
44395 cat >>confdefs.h <<\_ACEOF
44396 #define wxUSE_STATUSBAR 1
44397 _ACEOF
44398
44399 USES_CONTROLS=1
44400
44401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44402 fi
44403
44404 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_TAB_DIALOG 1
44407 _ACEOF
44408
44409 fi
44410
44411 if test "$wxUSE_TEXTCTRL" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_TEXTCTRL 1
44414 _ACEOF
44415
44416 USES_CONTROLS=1
44417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44418 fi
44419
44420 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44421 if test "$wxUSE_COCOA" = 1 ; then
44422 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44423 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44424 wxUSE_TOGGLEBTN=no
44425 fi
44426
44427 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_TOGGLEBTN 1
44430 _ACEOF
44431
44432 USES_CONTROLS=1
44433 fi
44434 fi
44435
44436 if test "$wxUSE_TOOLBAR" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_TOOLBAR 1
44439 _ACEOF
44440
44441 USES_CONTROLS=1
44442
44443 if test "$wxUSE_UNIVERSAL" = "yes"; then
44444 wxUSE_TOOLBAR_NATIVE="no"
44445 else
44446 wxUSE_TOOLBAR_NATIVE="yes"
44447 cat >>confdefs.h <<\_ACEOF
44448 #define wxUSE_TOOLBAR_NATIVE 1
44449 _ACEOF
44450
44451 fi
44452
44453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44454 fi
44455
44456 if test "$wxUSE_TOOLTIPS" = "yes"; then
44457 if test "$wxUSE_MOTIF" = 1; then
44458 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44459 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44460 else
44461 if test "$wxUSE_UNIVERSAL" = "yes"; then
44462 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44463 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44464 else
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_TOOLTIPS 1
44467 _ACEOF
44468
44469 fi
44470 fi
44471 fi
44472
44473 if test "$wxUSE_TREEBOOK" = "yes"; then
44474 cat >>confdefs.h <<\_ACEOF
44475 #define wxUSE_TREEBOOK 1
44476 _ACEOF
44477
44478 USES_CONTROLS=1
44479 fi
44480
44481 if test "$wxUSE_TOOLBOOK" = "yes"; then
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_TOOLBOOK 1
44484 _ACEOF
44485
44486 USES_CONTROLS=1
44487 fi
44488
44489 if test "$wxUSE_TREECTRL" = "yes"; then
44490 if test "$wxUSE_IMAGLIST" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_TREECTRL 1
44493 _ACEOF
44494
44495 USES_CONTROLS=1
44496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44497 else
44498 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44499 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44500 fi
44501 fi
44502
44503 if test "$wxUSE_POPUPWIN" = "yes"; then
44504 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44505 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44506 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44507 else
44508 if test "$wxUSE_PM" = 1; then
44509 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44510 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44511 else
44512 cat >>confdefs.h <<\_ACEOF
44513 #define wxUSE_POPUPWIN 1
44514 _ACEOF
44515
44516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44517
44518 USES_CONTROLS=1
44519 fi
44520 fi
44521 fi
44522
44523 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44524 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44525 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44526 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44527 else
44528 cat >>confdefs.h <<\_ACEOF
44529 #define wxUSE_DIALUP_MANAGER 1
44530 _ACEOF
44531
44532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44533 fi
44534 fi
44535
44536 if test "$wxUSE_TIPWINDOW" = "yes"; then
44537 if test "$wxUSE_PM" = 1; then
44538 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44539 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44540 else
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_TIPWINDOW 1
44543 _ACEOF
44544
44545 fi
44546 fi
44547
44548 if test "$USES_CONTROLS" = 1; then
44549 cat >>confdefs.h <<\_ACEOF
44550 #define wxUSE_CONTROLS 1
44551 _ACEOF
44552
44553 fi
44554
44555
44556 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_ACCESSIBILITY 1
44559 _ACEOF
44560
44561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44562 fi
44563
44564 if test "$wxUSE_DC_CACHEING" = "yes"; then
44565 cat >>confdefs.h <<\_ACEOF
44566 #define wxUSE_DC_CACHEING 1
44567 _ACEOF
44568
44569 fi
44570
44571 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_DRAGIMAGE 1
44574 _ACEOF
44575
44576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44577 fi
44578
44579 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44580 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44581 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44582 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44583 else
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_EXCEPTIONS 1
44586 _ACEOF
44587
44588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44589 fi
44590 fi
44591
44592 USE_HTML=0
44593 if test "$wxUSE_HTML" = "yes"; then
44594 cat >>confdefs.h <<\_ACEOF
44595 #define wxUSE_HTML 1
44596 _ACEOF
44597
44598 USE_HTML=1
44599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44600 if test "$wxUSE_MAC" = 1; then
44601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44602 fi
44603 fi
44604 if test "$wxUSE_WEBKIT" = "yes"; then
44605 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44606 old_CPPFLAGS="$CPPFLAGS"
44607 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44608 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44609 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44610 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44611 echo $ECHO_N "(cached) $ECHO_C" >&6
44612 else
44613 cat >conftest.$ac_ext <<_ACEOF
44614 /* confdefs.h. */
44615 _ACEOF
44616 cat confdefs.h >>conftest.$ac_ext
44617 cat >>conftest.$ac_ext <<_ACEOF
44618 /* end confdefs.h. */
44619
44620 #include <Carbon/Carbon.h>
44621 #include <WebKit/WebKit.h>
44622
44623
44624 #include <WebKit/HIWebView.h>
44625 _ACEOF
44626 rm -f conftest.$ac_objext
44627 if { (ac_try="$ac_compile"
44628 case "(($ac_try" in
44629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44630 *) ac_try_echo=$ac_try;;
44631 esac
44632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44633 (eval "$ac_compile") 2>conftest.er1
44634 ac_status=$?
44635 grep -v '^ *+' conftest.er1 >conftest.err
44636 rm -f conftest.er1
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } && {
44640 test -z "$ac_c_werror_flag" ||
44641 test ! -s conftest.err
44642 } && test -s conftest.$ac_objext; then
44643 ac_cv_header_WebKit_HIWebView_h=yes
44644 else
44645 echo "$as_me: failed program was:" >&5
44646 sed 's/^/| /' conftest.$ac_ext >&5
44647
44648 ac_cv_header_WebKit_HIWebView_h=no
44649 fi
44650
44651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44652 fi
44653 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44654 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44655 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44656
44657 cat >>confdefs.h <<\_ACEOF
44658 #define wxUSE_WEBKIT 1
44659 _ACEOF
44660
44661 WEBKIT_LINK="-framework WebKit"
44662
44663 else
44664
44665 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44666 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44667 wxUSE_WEBKIT=no
44668
44669 fi
44670
44671
44672 CPPFLAGS="$old_CPPFLAGS"
44673 elif test "$wxUSE_COCOA" = 1; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_WEBKIT 1
44676 _ACEOF
44677
44678 else
44679 wxUSE_WEBKIT=no
44680 fi
44681 fi
44682
44683 USE_XRC=0
44684 if test "$wxUSE_XRC" = "yes"; then
44685 if test "$wxUSE_XML" != "yes"; then
44686 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44687 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44688 wxUSE_XRC=no
44689 else
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_XRC 1
44692 _ACEOF
44693
44694 USE_XRC=1
44695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44696 fi
44697 fi
44698
44699 USE_AUI=0
44700 if test "$wxUSE_AUI" = "yes"; then
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_AUI 1
44703 _ACEOF
44704
44705 USE_AUI=1
44706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44707 fi
44708
44709 USE_STC=0
44710 if test "$wxUSE_STC" = "yes"; then
44711 cat >>confdefs.h <<\_ACEOF
44712 #define wxUSE_STC 1
44713 _ACEOF
44714
44715 USE_STC=1
44716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44717 fi
44718
44719 if test "$wxUSE_MENUS" = "yes"; then
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_MENUS 1
44722 _ACEOF
44723
44724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44725 fi
44726
44727 if test "$wxUSE_METAFILE" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_METAFILE 1
44730 _ACEOF
44731
44732 fi
44733
44734 if test "$wxUSE_MIMETYPE" = "yes"; then
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_MIMETYPE 1
44737 _ACEOF
44738
44739 fi
44740
44741 if test "$wxUSE_MINIFRAME" = "yes"; then
44742 cat >>confdefs.h <<\_ACEOF
44743 #define wxUSE_MINIFRAME 1
44744 _ACEOF
44745
44746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44747 fi
44748
44749 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_SYSTEM_OPTIONS 1
44752 _ACEOF
44753
44754 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44755 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44757 fi
44758 fi
44759
44760
44761 if test "$wxUSE_VALIDATORS" = "yes"; then
44762 cat >>confdefs.h <<\_ACEOF
44763 #define wxUSE_VALIDATORS 1
44764 _ACEOF
44765
44766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44767 fi
44768
44769 if test "$wxUSE_PALETTE" = "yes" ; then
44770 if test "$wxUSE_DFB" = 1; then
44771 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44772 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44773 wxUSE_PALETTE=no
44774 else
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_PALETTE 1
44777 _ACEOF
44778
44779 fi
44780 fi
44781
44782 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44783 LIBS=" -lunicows $LIBS"
44784 fi
44785
44786 USE_RICHTEXT=0
44787 if test "$wxUSE_RICHTEXT" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_RICHTEXT 1
44790 _ACEOF
44791
44792 USE_RICHTEXT=1
44793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44794 fi
44795
44796
44797 if test "$wxUSE_IMAGE" = "yes" ; then
44798 cat >>confdefs.h <<\_ACEOF
44799 #define wxUSE_IMAGE 1
44800 _ACEOF
44801
44802
44803 if test "$wxUSE_GIF" = "yes" ; then
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_GIF 1
44806 _ACEOF
44807
44808 fi
44809
44810 if test "$wxUSE_PCX" = "yes" ; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_PCX 1
44813 _ACEOF
44814
44815 fi
44816
44817 if test "$wxUSE_TGA" = "yes" ; then
44818 cat >>confdefs.h <<\_ACEOF
44819 #define wxUSE_TGA 1
44820 _ACEOF
44821
44822 fi
44823
44824 if test "$wxUSE_IFF" = "yes" ; then
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_IFF 1
44827 _ACEOF
44828
44829 fi
44830
44831 if test "$wxUSE_PNM" = "yes" ; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_PNM 1
44834 _ACEOF
44835
44836 fi
44837
44838 if test "$wxUSE_XPM" = "yes" ; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_XPM 1
44841 _ACEOF
44842
44843 fi
44844
44845 if test "$wxUSE_ICO_CUR" = "yes" ; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_ICO_CUR 1
44848 _ACEOF
44849
44850 fi
44851 fi
44852
44853
44854 if test "$wxUSE_ABOUTDLG" = "yes"; then
44855 cat >>confdefs.h <<\_ACEOF
44856 #define wxUSE_ABOUTDLG 1
44857 _ACEOF
44858
44859 fi
44860
44861 if test "$wxUSE_CHOICEDLG" = "yes"; then
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_CHOICEDLG 1
44864 _ACEOF
44865
44866 fi
44867
44868 if test "$wxUSE_COLOURDLG" = "yes"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_COLOURDLG 1
44871 _ACEOF
44872
44873 fi
44874
44875 if test "$wxUSE_FILEDLG" = "yes"; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_FILEDLG 1
44878 _ACEOF
44879
44880 fi
44881
44882 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44883 cat >>confdefs.h <<\_ACEOF
44884 #define wxUSE_FINDREPLDLG 1
44885 _ACEOF
44886
44887 fi
44888
44889 if test "$wxUSE_FONTDLG" = "yes"; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_FONTDLG 1
44892 _ACEOF
44893
44894 fi
44895
44896 if test "$wxUSE_DIRDLG" = "yes"; then
44897 if test "$wxUSE_TREECTRL" != "yes"; then
44898 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44899 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44900 else
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_DIRDLG 1
44903 _ACEOF
44904
44905 fi
44906 fi
44907
44908 if test "$wxUSE_MSGDLG" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_MSGDLG 1
44911 _ACEOF
44912
44913 fi
44914
44915 if test "$wxUSE_NUMBERDLG" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_NUMBERDLG 1
44918 _ACEOF
44919
44920 fi
44921
44922 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44923 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44924 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44925 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44926 else
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_PROGRESSDLG 1
44929 _ACEOF
44930
44931 fi
44932 fi
44933
44934 if test "$wxUSE_SPLASH" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_SPLASH 1
44937 _ACEOF
44938
44939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44940 fi
44941
44942 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44943 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44944 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44945 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44946 else
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_STARTUP_TIPS 1
44949 _ACEOF
44950
44951 fi
44952 fi
44953
44954 if test "$wxUSE_TEXTDLG" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_TEXTDLG 1
44957 _ACEOF
44958
44959 fi
44960
44961 if test "$wxUSE_WIZARDDLG" = "yes"; then
44962 cat >>confdefs.h <<\_ACEOF
44963 #define wxUSE_WIZARDDLG 1
44964 _ACEOF
44965
44966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44967 fi
44968
44969
44970 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44971 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_GRAPHICS_CONTEXT 1
44974 _ACEOF
44975
44976 elif test "$wxUSE_GTK" != 1; then
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_GRAPHICS_CONTEXT 1
44979 _ACEOF
44980
44981 else
44982
44983 pkg_failed=no
44984 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44985 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44986
44987 if test -n "$PKG_CONFIG"; then
44988 if test -n "$CAIRO_CFLAGS"; then
44989 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44990 else
44991 if test -n "$PKG_CONFIG" && \
44992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44993 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44994 ac_status=$?
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; then
44997 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44998 else
44999 pkg_failed=yes
45000 fi
45001 fi
45002 else
45003 pkg_failed=untried
45004 fi
45005 if test -n "$PKG_CONFIG"; then
45006 if test -n "$CAIRO_LIBS"; then
45007 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45008 else
45009 if test -n "$PKG_CONFIG" && \
45010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45011 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45012 ac_status=$?
45013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45014 (exit $ac_status); }; then
45015 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45016 else
45017 pkg_failed=yes
45018 fi
45019 fi
45020 else
45021 pkg_failed=untried
45022 fi
45023
45024
45025
45026 if test $pkg_failed = yes; then
45027
45028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45029 _pkg_short_errors_supported=yes
45030 else
45031 _pkg_short_errors_supported=no
45032 fi
45033 if test $_pkg_short_errors_supported = yes; then
45034 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45035 else
45036 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45037 fi
45038 # Put the nasty error message in config.log where it belongs
45039 echo "$CAIRO_PKG_ERRORS" >&5
45040
45041 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45042 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45043
45044 elif test $pkg_failed = untried; then
45045 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45046 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45047
45048 else
45049 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45050 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45051 { echo "$as_me:$LINENO: result: yes" >&5
45052 echo "${ECHO_T}yes" >&6; }
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_GRAPHICS_CONTEXT 1
45055 _ACEOF
45056
45057 fi
45058 fi
45059 fi
45060
45061
45062 USE_MEDIA=0
45063
45064 if test "$wxUSE_MEDIACTRL" = "yes"; then
45065 USE_MEDIA=1
45066
45067 if test "$wxUSE_GTK" = 1; then
45068 wxUSE_GSTREAMER="no"
45069
45070 GST_VERSION_MAJOR=0
45071 GST_VERSION_MINOR=10
45072 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45073
45074 if test "$wxUSE_GSTREAMER8" = "no"; then
45075
45076 pkg_failed=no
45077 { echo "$as_me:$LINENO: checking for GST" >&5
45078 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45079
45080 if test -n "$PKG_CONFIG"; then
45081 if test -n "$GST_CFLAGS"; then
45082 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45083 else
45084 if test -n "$PKG_CONFIG" && \
45085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45086 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45087 ac_status=$?
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); }; then
45090 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45091 else
45092 pkg_failed=yes
45093 fi
45094 fi
45095 else
45096 pkg_failed=untried
45097 fi
45098 if test -n "$PKG_CONFIG"; then
45099 if test -n "$GST_LIBS"; then
45100 pkg_cv_GST_LIBS="$GST_LIBS"
45101 else
45102 if test -n "$PKG_CONFIG" && \
45103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45104 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45105 ac_status=$?
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); }; then
45108 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45109 else
45110 pkg_failed=yes
45111 fi
45112 fi
45113 else
45114 pkg_failed=untried
45115 fi
45116
45117
45118
45119 if test $pkg_failed = yes; then
45120
45121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45122 _pkg_short_errors_supported=yes
45123 else
45124 _pkg_short_errors_supported=no
45125 fi
45126 if test $_pkg_short_errors_supported = yes; then
45127 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45128 else
45129 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45130 fi
45131 # Put the nasty error message in config.log where it belongs
45132 echo "$GST_PKG_ERRORS" >&5
45133
45134
45135 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45136 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45137 GST_VERSION_MINOR=8
45138
45139
45140 elif test $pkg_failed = untried; then
45141
45142 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45143 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45144 GST_VERSION_MINOR=8
45145
45146
45147 else
45148 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45149 GST_LIBS=$pkg_cv_GST_LIBS
45150 { echo "$as_me:$LINENO: result: yes" >&5
45151 echo "${ECHO_T}yes" >&6; }
45152
45153 wxUSE_GSTREAMER="yes"
45154 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45155
45156 fi
45157 else
45158 GST_VERSION_MINOR=8
45159 fi
45160
45161 if test $GST_VERSION_MINOR = "8"; then
45162 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45163
45164 pkg_failed=no
45165 { echo "$as_me:$LINENO: checking for GST" >&5
45166 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45167
45168 if test -n "$PKG_CONFIG"; then
45169 if test -n "$GST_CFLAGS"; then
45170 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45171 else
45172 if test -n "$PKG_CONFIG" && \
45173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45174 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45175 ac_status=$?
45176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177 (exit $ac_status); }; then
45178 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45179 else
45180 pkg_failed=yes
45181 fi
45182 fi
45183 else
45184 pkg_failed=untried
45185 fi
45186 if test -n "$PKG_CONFIG"; then
45187 if test -n "$GST_LIBS"; then
45188 pkg_cv_GST_LIBS="$GST_LIBS"
45189 else
45190 if test -n "$PKG_CONFIG" && \
45191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45192 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45193 ac_status=$?
45194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45195 (exit $ac_status); }; then
45196 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45197 else
45198 pkg_failed=yes
45199 fi
45200 fi
45201 else
45202 pkg_failed=untried
45203 fi
45204
45205
45206
45207 if test $pkg_failed = yes; then
45208
45209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45210 _pkg_short_errors_supported=yes
45211 else
45212 _pkg_short_errors_supported=no
45213 fi
45214 if test $_pkg_short_errors_supported = yes; then
45215 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45216 else
45217 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45218 fi
45219 # Put the nasty error message in config.log where it belongs
45220 echo "$GST_PKG_ERRORS" >&5
45221
45222
45223 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45224 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45225
45226 elif test $pkg_failed = untried; then
45227
45228 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45229 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45230
45231 else
45232 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45233 GST_LIBS=$pkg_cv_GST_LIBS
45234 { echo "$as_me:$LINENO: result: yes" >&5
45235 echo "${ECHO_T}yes" >&6; }
45236 wxUSE_GSTREAMER="yes"
45237 fi
45238 fi
45239
45240
45241 if test "$wxUSE_GSTREAMER" = "yes"; then
45242 case "${host}" in
45243 *-*-solaris2* )
45244 if "$GCC" = yes; then
45245 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45246 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45247 fi
45248 esac
45249
45250 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45251 LIBS="$GST_LIBS $LIBS"
45252
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_GSTREAMER 1
45255 _ACEOF
45256
45257 else
45258 USE_MEDIA=0
45259 fi
45260 fi
45261
45262 if test $USE_MEDIA = 1; then
45263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_MEDIACTRL 1
45266 _ACEOF
45267
45268 fi
45269 fi
45270
45271
45272 if test "$cross_compiling" = "yes"; then
45273 OSINFO="\"$host\""
45274 else
45275 OSINFO=`uname -s -r -m`
45276 OSINFO="\"$OSINFO\""
45277 fi
45278
45279 cat >>confdefs.h <<_ACEOF
45280 #define WXWIN_OS_DESCRIPTION $OSINFO
45281 _ACEOF
45282
45283
45284
45285 if test "x$prefix" != "xNONE"; then
45286 wxPREFIX=$prefix
45287 else
45288 wxPREFIX=$ac_default_prefix
45289 fi
45290
45291 cat >>confdefs.h <<_ACEOF
45292 #define wxINSTALL_PREFIX "$wxPREFIX"
45293 _ACEOF
45294
45295
45296
45297
45298 CORE_BASE_LIBS="net base"
45299 CORE_GUI_LIBS="adv core"
45300
45301 if test "$wxUSE_XML" = "yes" ; then
45302 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45303 fi
45304 if test "$wxUSE_ODBC" != "no" ; then
45305 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45306 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45307 fi
45308 if test "$wxUSE_HTML" = "yes" ; then
45309 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45310 fi
45311 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45312 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45313 fi
45314 if test "$wxUSE_XRC" = "yes" ; then
45315 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45316 fi
45317 if test "$wxUSE_AUI" = "yes" ; then
45318 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45319 fi
45320 if test "$wxUSE_STC" = "yes" ; then
45321 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45322 fi
45323
45324 if test "$wxUSE_GUI" != "yes"; then
45325 CORE_GUI_LIBS=""
45326 fi
45327
45328
45329
45330
45331
45332
45333 if test "$wxUSE_MAC" = 1 ; then
45334 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45335 if test "$USE_DARWIN" = 1; then
45336 LDFLAGS="$LDFLAGS -framework QuickTime"
45337 else
45338 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45339 fi
45340 fi
45341 if test "$USE_DARWIN" = 1; then
45342 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45343 else
45344 LDFLAGS="$LDFLAGS -lCarbonLib"
45345 fi
45346 fi
45347 if test "$wxUSE_COCOA" = 1 ; then
45348 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45349 if test "$wxUSE_MEDIACTRL" = "yes"; then
45350 LDFLAGS="$LDFLAGS -framework QuickTime"
45351 fi
45352 fi
45353 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45354 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45355 fi
45356
45357 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45358
45359 if test "$wxUSE_GUI" = "yes"; then
45360
45361
45362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45363 dynamic erase event exec font image minimal mobile \
45364 mobile/wxedit mobile/styles propsize render \
45365 rotate shaped svg taborder vscroll widgets"
45366
45367 if test "$wxUSE_MONOLITHIC" != "yes"; then
45368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45369 fi
45370 if test "$TOOLKIT" = "MSW"; then
45371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45372 if test "$wxUSE_UNIVERSAL" != "yes"; then
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45374 fi
45375 fi
45376 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45378 fi
45379 else
45380 SAMPLES_SUBDIRS="console"
45381 fi
45382
45383
45384 if test "x$INTELCC" = "xyes" ; then
45385 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45386 elif test "$GCC" = yes ; then
45387 CWARNINGS="-Wall -Wundef"
45388 fi
45389
45390 if test "x$INTELCXX" = "xyes" ; then
45391 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45392 elif test "$GXX" = yes ; then
45393 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45394 fi
45395
45396
45397 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45398 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45399
45400
45401 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45402 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45403 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45404 $CPPFLAGS `
45405
45406 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45407 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45408 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45409
45410 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45411
45412
45413 if test "x$MWCC" = "xyes"; then
45414
45415 CC="$CC -cwd source -I-"
45416 CXX="$CXX -cwd source -I-"
45417 fi
45418
45419
45420 LIBS=`echo $LIBS`
45421 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45422 EXTRALIBS_XML="$EXPAT_LINK"
45423 EXTRALIBS_HTML="$MSPACK_LINK"
45424 EXTRALIBS_ODBC="$ODBC_LINK"
45425 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45426 if test "$wxUSE_GUI" = "yes"; then
45427 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45428 fi
45429 if test "$wxUSE_OPENGL" = "yes"; then
45430 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45431 fi
45432
45433 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45434
45435 WXCONFIG_LIBS="$LIBS"
45436
45437 if test "$wxUSE_REGEX" = "builtin" ; then
45438 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45439 fi
45440 if test "$wxUSE_EXPAT" = "builtin" ; then
45441 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45442 fi
45443 if test "$wxUSE_ODBC" = "builtin" ; then
45444 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45445 fi
45446 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45447 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45448 fi
45449 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45450 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45451 fi
45452 if test "$wxUSE_LIBPNG" = "builtin" ; then
45453 wxconfig_3rdparty="png $wxconfig_3rdparty"
45454 fi
45455 if test "$wxUSE_ZLIB" = "builtin" ; then
45456 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45457 fi
45458
45459 for i in $wxconfig_3rdparty ; do
45460 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45461 done
45462
45463
45464 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45465 WXUNIV=1
45466
45467 case "$wxUNIV_THEMES" in
45468 ''|all)
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_ALL_THEMES 1
45471 _ACEOF
45472
45473 ;;
45474
45475 *)
45476 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45477 cat >>confdefs.h <<_ACEOF
45478 #define wxUSE_THEME_$t 1
45479 _ACEOF
45480
45481 done
45482 esac
45483 else
45484 WXUNIV=0
45485 fi
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495 if test $wxUSE_MONOLITHIC = "yes" ; then
45496 MONOLITHIC=1
45497 else
45498 MONOLITHIC=0
45499 fi
45500
45501 if test $wxUSE_PLUGINS = "yes" ; then
45502 USE_PLUGINS=1
45503 else
45504 USE_PLUGINS=0
45505 fi
45506
45507 if test $wxUSE_ODBC != "no" ; then
45508 USE_ODBC=1
45509 else
45510 USE_ODBC=0
45511 fi
45512
45513 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45514 USE_QA=1
45515 else
45516 USE_QA=0
45517 fi
45518
45519 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45520 OFFICIAL_BUILD=1
45521 else
45522 OFFICIAL_BUILD=0
45523 fi
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45550
45551
45552
45553
45554
45555
45556
45557
45558 case "$TOOLKIT" in
45559 GTK)
45560 TOOLKIT_DESC="GTK+"
45561 if test "$WXGTK20" = 1; then
45562 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45563 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45564 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45565 fi
45566 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45567 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45568 fi
45569 if test "$wxUSE_LIBHILDON" = "yes"; then
45570 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45571 fi
45572
45573 if test "$TOOLKIT_EXTRA" != ""; then
45574 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45575 fi
45576 fi
45577 ;;
45578
45579 ?*)
45580 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45581 ;;
45582
45583 *)
45584 TOOLKIT_DESC="base only"
45585 ;;
45586 esac
45587
45588 if test "$wxUSE_WINE" = "yes"; then
45589 BAKEFILE_FORCE_PLATFORM=win32
45590 fi
45591
45592 if test "$wxUSE_MAC" = 1 ; then
45593 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45594 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45595 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45596 else
45597 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45598 fi
45599 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45600 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45601 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45602 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45603 bk_use_pch=no
45604 fi
45605 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45606 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45607 fi
45608
45609 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45610 then
45611 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45612 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45613 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45615 else
45616
45617 echo '#include <stdio.h>
45618 const wchar_t test_var[] = L"awidetest";' > conftest.h
45619
45620 echo '#include "conftest.h"
45621 int main()
45622 {
45623 printf("%ls", test_var);
45624 return 0;
45625 }' > conftest.cpp
45626
45627 wx_cv_gcc_pch_bug="pch not supported"
45628
45629 if $CXX conftest.h >/dev/null 2>&1
45630 then
45631 wx_cv_gcc_pch_bug=
45632
45633 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45634 then
45635 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45636 grep awidetest >/dev/null
45637 then
45638 wx_cv_gcc_pch_bug=no
45639 else
45640 wx_cv_gcc_pch_bug=yes
45641 fi
45642 fi
45643 fi
45644
45645 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45646
45647 fi
45648 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45649 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45650
45651 if test "$wx_cv_gcc_pch_bug" = yes; then
45652 bk_use_pch=no
45653 fi
45654 fi
45655
45656
45657
45658
45659 if test "x$BAKEFILE_HOST" = "x"; then
45660 if test "x${host}" = "x" ; then
45661 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45662 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45663 { (exit 1); exit 1; }; }
45664 fi
45665
45666 BAKEFILE_HOST="${host}"
45667 fi
45668
45669 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45670
45671 if test -n "$ac_tool_prefix"; then
45672 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45673 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45676 if test "${ac_cv_prog_RANLIB+set}" = set; then
45677 echo $ECHO_N "(cached) $ECHO_C" >&6
45678 else
45679 if test -n "$RANLIB"; then
45680 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45681 else
45682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45683 for as_dir in $PATH
45684 do
45685 IFS=$as_save_IFS
45686 test -z "$as_dir" && as_dir=.
45687 for ac_exec_ext in '' $ac_executable_extensions; do
45688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45689 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45691 break 2
45692 fi
45693 done
45694 done
45695 IFS=$as_save_IFS
45696
45697 fi
45698 fi
45699 RANLIB=$ac_cv_prog_RANLIB
45700 if test -n "$RANLIB"; then
45701 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45702 echo "${ECHO_T}$RANLIB" >&6; }
45703 else
45704 { echo "$as_me:$LINENO: result: no" >&5
45705 echo "${ECHO_T}no" >&6; }
45706 fi
45707
45708
45709 fi
45710 if test -z "$ac_cv_prog_RANLIB"; then
45711 ac_ct_RANLIB=$RANLIB
45712 # Extract the first word of "ranlib", so it can be a program name with args.
45713 set dummy ranlib; ac_word=$2
45714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45716 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45717 echo $ECHO_N "(cached) $ECHO_C" >&6
45718 else
45719 if test -n "$ac_ct_RANLIB"; then
45720 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45721 else
45722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45723 for as_dir in $PATH
45724 do
45725 IFS=$as_save_IFS
45726 test -z "$as_dir" && as_dir=.
45727 for ac_exec_ext in '' $ac_executable_extensions; do
45728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45729 ac_cv_prog_ac_ct_RANLIB="ranlib"
45730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45731 break 2
45732 fi
45733 done
45734 done
45735 IFS=$as_save_IFS
45736
45737 fi
45738 fi
45739 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45740 if test -n "$ac_ct_RANLIB"; then
45741 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45742 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45743 else
45744 { echo "$as_me:$LINENO: result: no" >&5
45745 echo "${ECHO_T}no" >&6; }
45746 fi
45747
45748 if test "x$ac_ct_RANLIB" = x; then
45749 RANLIB=":"
45750 else
45751 case $cross_compiling:$ac_tool_warned in
45752 yes:)
45753 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45754 whose name does not start with the host triplet. If you think this
45755 configuration is useful to you, please write to autoconf@gnu.org." >&5
45756 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45757 whose name does not start with the host triplet. If you think this
45758 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45759 ac_tool_warned=yes ;;
45760 esac
45761 RANLIB=$ac_ct_RANLIB
45762 fi
45763 else
45764 RANLIB="$ac_cv_prog_RANLIB"
45765 fi
45766
45767 # Find a good install program. We prefer a C program (faster),
45768 # so one script is as good as another. But avoid the broken or
45769 # incompatible versions:
45770 # SysV /etc/install, /usr/sbin/install
45771 # SunOS /usr/etc/install
45772 # IRIX /sbin/install
45773 # AIX /bin/install
45774 # AmigaOS /C/install, which installs bootblocks on floppy discs
45775 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45776 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45777 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45778 # OS/2's system install, which has a completely different semantic
45779 # ./install, which can be erroneously created by make from ./install.sh.
45780 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45781 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45782 if test -z "$INSTALL"; then
45783 if test "${ac_cv_path_install+set}" = set; then
45784 echo $ECHO_N "(cached) $ECHO_C" >&6
45785 else
45786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45787 for as_dir in $PATH
45788 do
45789 IFS=$as_save_IFS
45790 test -z "$as_dir" && as_dir=.
45791 # Account for people who put trailing slashes in PATH elements.
45792 case $as_dir/ in
45793 ./ | .// | /cC/* | \
45794 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45795 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45796 /usr/ucb/* ) ;;
45797 *)
45798 # OSF1 and SCO ODT 3.0 have their own names for install.
45799 # Don't use installbsd from OSF since it installs stuff as root
45800 # by default.
45801 for ac_prog in ginstall scoinst install; do
45802 for ac_exec_ext in '' $ac_executable_extensions; do
45803 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45804 if test $ac_prog = install &&
45805 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45806 # AIX install. It has an incompatible calling convention.
45807 :
45808 elif test $ac_prog = install &&
45809 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45810 # program-specific install script used by HP pwplus--don't use.
45811 :
45812 else
45813 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45814 break 3
45815 fi
45816 fi
45817 done
45818 done
45819 ;;
45820 esac
45821 done
45822 IFS=$as_save_IFS
45823
45824
45825 fi
45826 if test "${ac_cv_path_install+set}" = set; then
45827 INSTALL=$ac_cv_path_install
45828 else
45829 # As a last resort, use the slow shell script. Don't cache a
45830 # value for INSTALL within a source directory, because that will
45831 # break other packages using the cache if that directory is
45832 # removed, or if the value is a relative name.
45833 INSTALL=$ac_install_sh
45834 fi
45835 fi
45836 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45837 echo "${ECHO_T}$INSTALL" >&6; }
45838
45839 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45840 # It thinks the first close brace ends the variable substitution.
45841 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45842
45843 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45844
45845 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45846
45847 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45848 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45849 LN_S=$as_ln_s
45850 if test "$LN_S" = "ln -s"; then
45851 { echo "$as_me:$LINENO: result: yes" >&5
45852 echo "${ECHO_T}yes" >&6; }
45853 else
45854 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45855 echo "${ECHO_T}no, using $LN_S" >&6; }
45856 fi
45857
45858
45859 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45860 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45861 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45862 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45863 echo $ECHO_N "(cached) $ECHO_C" >&6
45864 else
45865 cat >conftest.make <<\_ACEOF
45866 SHELL = /bin/sh
45867 all:
45868 @echo '@@@%%%=$(MAKE)=@@@%%%'
45869 _ACEOF
45870 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45871 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45872 *@@@%%%=?*=@@@%%%*)
45873 eval ac_cv_prog_make_${ac_make}_set=yes;;
45874 *)
45875 eval ac_cv_prog_make_${ac_make}_set=no;;
45876 esac
45877 rm -f conftest.make
45878 fi
45879 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45880 { echo "$as_me:$LINENO: result: yes" >&5
45881 echo "${ECHO_T}yes" >&6; }
45882 SET_MAKE=
45883 else
45884 { echo "$as_me:$LINENO: result: no" >&5
45885 echo "${ECHO_T}no" >&6; }
45886 SET_MAKE="MAKE=${MAKE-make}"
45887 fi
45888
45889
45890
45891 if test "x$SUNCXX" = "xyes"; then
45892 AR=$CXX
45893 AROPTIONS="-xar -o"
45894
45895 elif test "x$SGICC" = "xyes"; then
45896 AR=$CXX
45897 AROPTIONS="-ar -o"
45898
45899 else
45900 if test -n "$ac_tool_prefix"; then
45901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45902 set dummy ${ac_tool_prefix}ar; ac_word=$2
45903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45905 if test "${ac_cv_prog_AR+set}" = set; then
45906 echo $ECHO_N "(cached) $ECHO_C" >&6
45907 else
45908 if test -n "$AR"; then
45909 ac_cv_prog_AR="$AR" # Let the user override the test.
45910 else
45911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45912 for as_dir in $PATH
45913 do
45914 IFS=$as_save_IFS
45915 test -z "$as_dir" && as_dir=.
45916 for ac_exec_ext in '' $ac_executable_extensions; do
45917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45918 ac_cv_prog_AR="${ac_tool_prefix}ar"
45919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45920 break 2
45921 fi
45922 done
45923 done
45924 IFS=$as_save_IFS
45925
45926 fi
45927 fi
45928 AR=$ac_cv_prog_AR
45929 if test -n "$AR"; then
45930 { echo "$as_me:$LINENO: result: $AR" >&5
45931 echo "${ECHO_T}$AR" >&6; }
45932 else
45933 { echo "$as_me:$LINENO: result: no" >&5
45934 echo "${ECHO_T}no" >&6; }
45935 fi
45936
45937
45938 fi
45939 if test -z "$ac_cv_prog_AR"; then
45940 ac_ct_AR=$AR
45941 # Extract the first word of "ar", so it can be a program name with args.
45942 set dummy ar; ac_word=$2
45943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45945 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45947 else
45948 if test -n "$ac_ct_AR"; then
45949 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45950 else
45951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45952 for as_dir in $PATH
45953 do
45954 IFS=$as_save_IFS
45955 test -z "$as_dir" && as_dir=.
45956 for ac_exec_ext in '' $ac_executable_extensions; do
45957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45958 ac_cv_prog_ac_ct_AR="ar"
45959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45960 break 2
45961 fi
45962 done
45963 done
45964 IFS=$as_save_IFS
45965
45966 fi
45967 fi
45968 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45969 if test -n "$ac_ct_AR"; then
45970 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45971 echo "${ECHO_T}$ac_ct_AR" >&6; }
45972 else
45973 { echo "$as_me:$LINENO: result: no" >&5
45974 echo "${ECHO_T}no" >&6; }
45975 fi
45976
45977 if test "x$ac_ct_AR" = x; then
45978 AR="ar"
45979 else
45980 case $cross_compiling:$ac_tool_warned in
45981 yes:)
45982 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45983 whose name does not start with the host triplet. If you think this
45984 configuration is useful to you, please write to autoconf@gnu.org." >&5
45985 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45986 whose name does not start with the host triplet. If you think this
45987 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45988 ac_tool_warned=yes ;;
45989 esac
45990 AR=$ac_ct_AR
45991 fi
45992 else
45993 AR="$ac_cv_prog_AR"
45994 fi
45995
45996 AROPTIONS=rcu
45997 fi
45998
45999
46000 if test -n "$ac_tool_prefix"; then
46001 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46002 set dummy ${ac_tool_prefix}strip; ac_word=$2
46003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46005 if test "${ac_cv_prog_STRIP+set}" = set; then
46006 echo $ECHO_N "(cached) $ECHO_C" >&6
46007 else
46008 if test -n "$STRIP"; then
46009 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46010 else
46011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46012 for as_dir in $PATH
46013 do
46014 IFS=$as_save_IFS
46015 test -z "$as_dir" && as_dir=.
46016 for ac_exec_ext in '' $ac_executable_extensions; do
46017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46018 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46020 break 2
46021 fi
46022 done
46023 done
46024 IFS=$as_save_IFS
46025
46026 fi
46027 fi
46028 STRIP=$ac_cv_prog_STRIP
46029 if test -n "$STRIP"; then
46030 { echo "$as_me:$LINENO: result: $STRIP" >&5
46031 echo "${ECHO_T}$STRIP" >&6; }
46032 else
46033 { echo "$as_me:$LINENO: result: no" >&5
46034 echo "${ECHO_T}no" >&6; }
46035 fi
46036
46037
46038 fi
46039 if test -z "$ac_cv_prog_STRIP"; then
46040 ac_ct_STRIP=$STRIP
46041 # Extract the first word of "strip", so it can be a program name with args.
46042 set dummy strip; ac_word=$2
46043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46045 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46046 echo $ECHO_N "(cached) $ECHO_C" >&6
46047 else
46048 if test -n "$ac_ct_STRIP"; then
46049 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46050 else
46051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46052 for as_dir in $PATH
46053 do
46054 IFS=$as_save_IFS
46055 test -z "$as_dir" && as_dir=.
46056 for ac_exec_ext in '' $ac_executable_extensions; do
46057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46058 ac_cv_prog_ac_ct_STRIP="strip"
46059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46060 break 2
46061 fi
46062 done
46063 done
46064 IFS=$as_save_IFS
46065
46066 fi
46067 fi
46068 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46069 if test -n "$ac_ct_STRIP"; then
46070 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46071 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46072 else
46073 { echo "$as_me:$LINENO: result: no" >&5
46074 echo "${ECHO_T}no" >&6; }
46075 fi
46076
46077 if test "x$ac_ct_STRIP" = x; then
46078 STRIP=":"
46079 else
46080 case $cross_compiling:$ac_tool_warned in
46081 yes:)
46082 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46083 whose name does not start with the host triplet. If you think this
46084 configuration is useful to you, please write to autoconf@gnu.org." >&5
46085 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46086 whose name does not start with the host triplet. If you think this
46087 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46088 ac_tool_warned=yes ;;
46089 esac
46090 STRIP=$ac_ct_STRIP
46091 fi
46092 else
46093 STRIP="$ac_cv_prog_STRIP"
46094 fi
46095
46096 if test -n "$ac_tool_prefix"; then
46097 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46098 set dummy ${ac_tool_prefix}nm; ac_word=$2
46099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46101 if test "${ac_cv_prog_NM+set}" = set; then
46102 echo $ECHO_N "(cached) $ECHO_C" >&6
46103 else
46104 if test -n "$NM"; then
46105 ac_cv_prog_NM="$NM" # Let the user override the test.
46106 else
46107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46108 for as_dir in $PATH
46109 do
46110 IFS=$as_save_IFS
46111 test -z "$as_dir" && as_dir=.
46112 for ac_exec_ext in '' $ac_executable_extensions; do
46113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46114 ac_cv_prog_NM="${ac_tool_prefix}nm"
46115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46116 break 2
46117 fi
46118 done
46119 done
46120 IFS=$as_save_IFS
46121
46122 fi
46123 fi
46124 NM=$ac_cv_prog_NM
46125 if test -n "$NM"; then
46126 { echo "$as_me:$LINENO: result: $NM" >&5
46127 echo "${ECHO_T}$NM" >&6; }
46128 else
46129 { echo "$as_me:$LINENO: result: no" >&5
46130 echo "${ECHO_T}no" >&6; }
46131 fi
46132
46133
46134 fi
46135 if test -z "$ac_cv_prog_NM"; then
46136 ac_ct_NM=$NM
46137 # Extract the first word of "nm", so it can be a program name with args.
46138 set dummy nm; ac_word=$2
46139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46141 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46142 echo $ECHO_N "(cached) $ECHO_C" >&6
46143 else
46144 if test -n "$ac_ct_NM"; then
46145 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46146 else
46147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46148 for as_dir in $PATH
46149 do
46150 IFS=$as_save_IFS
46151 test -z "$as_dir" && as_dir=.
46152 for ac_exec_ext in '' $ac_executable_extensions; do
46153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46154 ac_cv_prog_ac_ct_NM="nm"
46155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46156 break 2
46157 fi
46158 done
46159 done
46160 IFS=$as_save_IFS
46161
46162 fi
46163 fi
46164 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46165 if test -n "$ac_ct_NM"; then
46166 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46167 echo "${ECHO_T}$ac_ct_NM" >&6; }
46168 else
46169 { echo "$as_me:$LINENO: result: no" >&5
46170 echo "${ECHO_T}no" >&6; }
46171 fi
46172
46173 if test "x$ac_ct_NM" = x; then
46174 NM=":"
46175 else
46176 case $cross_compiling:$ac_tool_warned in
46177 yes:)
46178 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46179 whose name does not start with the host triplet. If you think this
46180 configuration is useful to you, please write to autoconf@gnu.org." >&5
46181 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46182 whose name does not start with the host triplet. If you think this
46183 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46184 ac_tool_warned=yes ;;
46185 esac
46186 NM=$ac_ct_NM
46187 fi
46188 else
46189 NM="$ac_cv_prog_NM"
46190 fi
46191
46192
46193 case ${BAKEFILE_HOST} in
46194 *-hp-hpux* )
46195 INSTALL_DIR="mkdir -p"
46196 ;;
46197 * )
46198 INSTALL_DIR='$(INSTALL) -d'
46199 ;;
46200 esac
46201
46202
46203 LDFLAGS_GUI=
46204 case ${BAKEFILE_HOST} in
46205 *-*-cygwin* | *-*-mingw32* )
46206 LDFLAGS_GUI="-mwindows"
46207 esac
46208
46209
46210 fi
46211
46212 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46213 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46214 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46215 echo $ECHO_N "(cached) $ECHO_C" >&6
46216 else
46217
46218 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46219 egrep -s GNU > /dev/null); then
46220 bakefile_cv_prog_makeisgnu="yes"
46221 else
46222 bakefile_cv_prog_makeisgnu="no"
46223 fi
46224
46225 fi
46226 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46227 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46228
46229 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46230 IF_GNU_MAKE=""
46231 else
46232 IF_GNU_MAKE="#"
46233 fi
46234
46235
46236
46237 PLATFORM_UNIX=0
46238 PLATFORM_WIN32=0
46239 PLATFORM_MSDOS=0
46240 PLATFORM_MAC=0
46241 PLATFORM_MACOS=0
46242 PLATFORM_MACOSX=0
46243 PLATFORM_OS2=0
46244 PLATFORM_BEOS=0
46245
46246 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46247 case "${BAKEFILE_HOST}" in
46248 *-*-mingw32* )
46249 PLATFORM_WIN32=1
46250 ;;
46251 *-pc-msdosdjgpp )
46252 PLATFORM_MSDOS=1
46253 ;;
46254 *-pc-os2_emx | *-pc-os2-emx )
46255 PLATFORM_OS2=1
46256 ;;
46257 *-*-darwin* )
46258 PLATFORM_MAC=1
46259 PLATFORM_MACOSX=1
46260 ;;
46261 *-*-beos* )
46262 PLATFORM_BEOS=1
46263 ;;
46264 powerpc-apple-macos* )
46265 PLATFORM_MAC=1
46266 PLATFORM_MACOS=1
46267 ;;
46268 * )
46269 PLATFORM_UNIX=1
46270 ;;
46271 esac
46272 else
46273 case "$BAKEFILE_FORCE_PLATFORM" in
46274 win32 )
46275 PLATFORM_WIN32=1
46276 ;;
46277 msdos )
46278 PLATFORM_MSDOS=1
46279 ;;
46280 os2 )
46281 PLATFORM_OS2=1
46282 ;;
46283 darwin )
46284 PLATFORM_MAC=1
46285 PLATFORM_MACOSX=1
46286 ;;
46287 unix )
46288 PLATFORM_UNIX=1
46289 ;;
46290 beos )
46291 PLATFORM_BEOS=1
46292 ;;
46293 * )
46294 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46295 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46296 { (exit 1); exit 1; }; }
46297 ;;
46298 esac
46299 fi
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311 # Check whether --enable-omf was given.
46312 if test "${enable_omf+set}" = set; then
46313 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46314 fi
46315
46316
46317 case "${BAKEFILE_HOST}" in
46318 *-*-darwin* )
46319 if test "x$GCC" = "xyes"; then
46320 CFLAGS="$CFLAGS -fno-common"
46321 CXXFLAGS="$CXXFLAGS -fno-common"
46322 fi
46323 if test "x$XLCC" = "xyes"; then
46324 CFLAGS="$CFLAGS -qnocommon"
46325 CXXFLAGS="$CXXFLAGS -qnocommon"
46326 fi
46327 ;;
46328
46329 *-pc-os2_emx | *-pc-os2-emx )
46330 if test "x$bk_os2_use_omf" = "xyes" ; then
46331 AR=emxomfar
46332 RANLIB=:
46333 LDFLAGS="-Zomf $LDFLAGS"
46334 CFLAGS="-Zomf $CFLAGS"
46335 CXXFLAGS="-Zomf $CXXFLAGS"
46336 OS2_LIBEXT="lib"
46337 else
46338 OS2_LIBEXT="a"
46339 fi
46340 ;;
46341
46342 i*86-*-beos* )
46343 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46344 ;;
46345 esac
46346
46347
46348 SO_SUFFIX="so"
46349 SO_SUFFIX_MODULE="so"
46350 EXEEXT=""
46351 LIBPREFIX="lib"
46352 LIBEXT=".a"
46353 DLLPREFIX="lib"
46354 DLLPREFIX_MODULE=""
46355 DLLIMP_SUFFIX=""
46356 dlldir="$libdir"
46357
46358 case "${BAKEFILE_HOST}" in
46359 *-hp-hpux* )
46360 SO_SUFFIX="sl"
46361 SO_SUFFIX_MODULE="sl"
46362 ;;
46363 *-*-aix* )
46364 SO_SUFFIX="a"
46365 SO_SUFFIX_MODULE="a"
46366 ;;
46367 *-*-cygwin* )
46368 SO_SUFFIX="dll"
46369 SO_SUFFIX_MODULE="dll"
46370 DLLIMP_SUFFIX="dll.a"
46371 EXEEXT=".exe"
46372 DLLPREFIX="cyg"
46373 dlldir="$bindir"
46374 ;;
46375 *-*-mingw32* )
46376 SO_SUFFIX="dll"
46377 SO_SUFFIX_MODULE="dll"
46378 DLLIMP_SUFFIX="dll.a"
46379 EXEEXT=".exe"
46380 DLLPREFIX=""
46381 dlldir="$bindir"
46382 ;;
46383 *-pc-msdosdjgpp )
46384 EXEEXT=".exe"
46385 DLLPREFIX=""
46386 dlldir="$bindir"
46387 ;;
46388 *-pc-os2_emx | *-pc-os2-emx )
46389 SO_SUFFIX="dll"
46390 SO_SUFFIX_MODULE="dll"
46391 DLLIMP_SUFFIX=$OS2_LIBEXT
46392 EXEEXT=".exe"
46393 DLLPREFIX=""
46394 LIBPREFIX=""
46395 LIBEXT=".$OS2_LIBEXT"
46396 dlldir="$bindir"
46397 ;;
46398 *-*-darwin* )
46399 SO_SUFFIX="dylib"
46400 SO_SUFFIX_MODULE="bundle"
46401 ;;
46402 esac
46403
46404 if test "x$DLLIMP_SUFFIX" = "x" ; then
46405 DLLIMP_SUFFIX="$SO_SUFFIX"
46406 fi
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419 PIC_FLAG=""
46420 if test "x$GCC" = "xyes"; then
46421 PIC_FLAG="-fPIC"
46422 fi
46423
46424 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46425 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46426 WINDOWS_IMPLIB=0
46427
46428 case "${BAKEFILE_HOST}" in
46429 *-hp-hpux* )
46430 if test "x$GCC" != "xyes"; then
46431 LDFLAGS="$LDFLAGS -L/usr/lib"
46432
46433 SHARED_LD_CC="${CC} -b -o"
46434 SHARED_LD_CXX="${CXX} -b -o"
46435 PIC_FLAG="+Z"
46436 fi
46437 ;;
46438
46439 *-*-linux* )
46440 if test "x$GCC" != "xyes"; then
46441 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46442 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46443 if test "${bakefile_cv_prog_icc+set}" = set; then
46444 echo $ECHO_N "(cached) $ECHO_C" >&6
46445 else
46446
46447 cat >conftest.$ac_ext <<_ACEOF
46448 /* confdefs.h. */
46449 _ACEOF
46450 cat confdefs.h >>conftest.$ac_ext
46451 cat >>conftest.$ac_ext <<_ACEOF
46452 /* end confdefs.h. */
46453
46454 int
46455 main ()
46456 {
46457
46458 #ifndef __INTEL_COMPILER
46459 This is not ICC
46460 #endif
46461
46462 ;
46463 return 0;
46464 }
46465 _ACEOF
46466 rm -f conftest.$ac_objext
46467 if { (ac_try="$ac_compile"
46468 case "(($ac_try" in
46469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46470 *) ac_try_echo=$ac_try;;
46471 esac
46472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46473 (eval "$ac_compile") 2>conftest.er1
46474 ac_status=$?
46475 grep -v '^ *+' conftest.er1 >conftest.err
46476 rm -f conftest.er1
46477 cat conftest.err >&5
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); } && {
46480 test -z "$ac_c_werror_flag" ||
46481 test ! -s conftest.err
46482 } && test -s conftest.$ac_objext; then
46483 bakefile_cv_prog_icc=yes
46484 else
46485 echo "$as_me: failed program was:" >&5
46486 sed 's/^/| /' conftest.$ac_ext >&5
46487
46488 bakefile_cv_prog_icc=no
46489
46490 fi
46491
46492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46493
46494 fi
46495 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46496 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46497 if test "$bakefile_cv_prog_icc" = "yes"; then
46498 PIC_FLAG="-KPIC"
46499 fi
46500 fi
46501 ;;
46502
46503 *-*-solaris2* )
46504 if test "x$GCC" != xyes ; then
46505 SHARED_LD_CC="${CC} -G -o"
46506 SHARED_LD_CXX="${CXX} -G -o"
46507 PIC_FLAG="-KPIC"
46508 fi
46509 ;;
46510
46511 *-*-darwin* )
46512
46513 D='$'
46514 cat <<EOF >shared-ld-sh
46515 #!/bin/sh
46516 #-----------------------------------------------------------------------------
46517 #-- Name: distrib/mac/shared-ld-sh
46518 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46519 #-- Author: Gilles Depeyrot
46520 #-- Copyright: (c) 2002 Gilles Depeyrot
46521 #-- Licence: any use permitted
46522 #-----------------------------------------------------------------------------
46523
46524 verbose=0
46525 args=""
46526 objects=""
46527 linking_flag="-dynamiclib"
46528 ldargs="-r -keep_private_externs -nostdlib"
46529
46530 while test ${D}# -gt 0; do
46531 case ${D}1 in
46532
46533 -v)
46534 verbose=1
46535 ;;
46536
46537 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46538 # collect these options and values
46539 args="${D}{args} ${D}1 ${D}2"
46540 shift
46541 ;;
46542
46543 -s|-Wl,*)
46544 # collect these load args
46545 ldargs="${D}{ldargs} ${D}1"
46546 ;;
46547
46548 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46549 # collect these options
46550 args="${D}{args} ${D}1"
46551 ;;
46552
46553 -dynamiclib|-bundle)
46554 linking_flag="${D}1"
46555 ;;
46556
46557 -*)
46558 echo "shared-ld: unhandled option '${D}1'"
46559 exit 1
46560 ;;
46561
46562 *.o | *.a | *.dylib)
46563 # collect object files
46564 objects="${D}{objects} ${D}1"
46565 ;;
46566
46567 *)
46568 echo "shared-ld: unhandled argument '${D}1'"
46569 exit 1
46570 ;;
46571
46572 esac
46573 shift
46574 done
46575
46576 status=0
46577
46578 #
46579 # Link one module containing all the others
46580 #
46581 if test ${D}{verbose} = 1; then
46582 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46583 fi
46584 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46585 status=${D}?
46586
46587 #
46588 # Link the shared library from the single module created, but only if the
46589 # previous command didn't fail:
46590 #
46591 if test ${D}{status} = 0; then
46592 if test ${D}{verbose} = 1; then
46593 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46594 fi
46595 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46596 status=${D}?
46597 fi
46598
46599 #
46600 # Remove intermediate module
46601 #
46602 rm -f master.${D}${D}.o
46603
46604 exit ${D}status
46605 EOF
46606
46607 chmod +x shared-ld-sh
46608
46609 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46610 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46611
46612
46613 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46614 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46615 if test "${bakefile_cv_gcc31+set}" = set; then
46616 echo $ECHO_N "(cached) $ECHO_C" >&6
46617 else
46618
46619 cat >conftest.$ac_ext <<_ACEOF
46620 /* confdefs.h. */
46621 _ACEOF
46622 cat confdefs.h >>conftest.$ac_ext
46623 cat >>conftest.$ac_ext <<_ACEOF
46624 /* end confdefs.h. */
46625
46626 int
46627 main ()
46628 {
46629
46630 #if (__GNUC__ < 3) || \
46631 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46632 This is old gcc
46633 #endif
46634
46635 ;
46636 return 0;
46637 }
46638 _ACEOF
46639 rm -f conftest.$ac_objext
46640 if { (ac_try="$ac_compile"
46641 case "(($ac_try" in
46642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46643 *) ac_try_echo=$ac_try;;
46644 esac
46645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46646 (eval "$ac_compile") 2>conftest.er1
46647 ac_status=$?
46648 grep -v '^ *+' conftest.er1 >conftest.err
46649 rm -f conftest.er1
46650 cat conftest.err >&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); } && {
46653 test -z "$ac_c_werror_flag" ||
46654 test ! -s conftest.err
46655 } && test -s conftest.$ac_objext; then
46656
46657 bakefile_cv_gcc31=yes
46658
46659 else
46660 echo "$as_me: failed program was:" >&5
46661 sed 's/^/| /' conftest.$ac_ext >&5
46662
46663
46664 bakefile_cv_gcc31=no
46665
46666
46667 fi
46668
46669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46670
46671 fi
46672 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46673 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46674 if test "$bakefile_cv_gcc31" = "no"; then
46675 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46676 SHARED_LD_CXX="$SHARED_LD_CC"
46677 else
46678 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46679 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46680 fi
46681
46682 if test "x$GCC" == "xyes"; then
46683 PIC_FLAG="-dynamic -fPIC"
46684 fi
46685 if test "x$XLCC" = "xyes"; then
46686 PIC_FLAG="-dynamic -DPIC"
46687 fi
46688 ;;
46689
46690 *-*-aix* )
46691 if test "x$GCC" = "xyes"; then
46692 PIC_FLAG=""
46693
46694 case "${BAKEFILE_HOST}" in
46695 *-*-aix5* )
46696 LD_EXPFULL="-Wl,-bexpfull"
46697 ;;
46698 esac
46699
46700 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46701 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46702 else
46703 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46704 set dummy makeC++SharedLib; ac_word=$2
46705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46707 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46708 echo $ECHO_N "(cached) $ECHO_C" >&6
46709 else
46710 if test -n "$AIX_CXX_LD"; then
46711 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46712 else
46713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46714 for as_dir in $PATH
46715 do
46716 IFS=$as_save_IFS
46717 test -z "$as_dir" && as_dir=.
46718 for ac_exec_ext in '' $ac_executable_extensions; do
46719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46720 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46722 break 2
46723 fi
46724 done
46725 done
46726 IFS=$as_save_IFS
46727
46728 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46729 fi
46730 fi
46731 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46732 if test -n "$AIX_CXX_LD"; then
46733 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46734 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46735 else
46736 { echo "$as_me:$LINENO: result: no" >&5
46737 echo "${ECHO_T}no" >&6; }
46738 fi
46739
46740
46741 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46742 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46743 fi
46744 ;;
46745
46746 *-*-beos* )
46747 SHARED_LD_CC="${LD} -nostart -o"
46748 SHARED_LD_CXX="${LD} -nostart -o"
46749 ;;
46750
46751 *-*-irix* )
46752 if test "x$GCC" != "xyes"; then
46753 PIC_FLAG="-KPIC"
46754 fi
46755 ;;
46756
46757 *-*-cygwin* | *-*-mingw32* )
46758 PIC_FLAG=""
46759 SHARED_LD_CC="\$(CC) -shared -o"
46760 SHARED_LD_CXX="\$(CXX) -shared -o"
46761 WINDOWS_IMPLIB=1
46762 ;;
46763
46764 *-pc-os2_emx | *-pc-os2-emx )
46765 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46766 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46767 PIC_FLAG=""
46768
46769 D='$'
46770 cat <<EOF >dllar.sh
46771 #!/bin/sh
46772 #
46773 # dllar - a tool to build both a .dll and an .a file
46774 # from a set of object (.o) files for EMX/OS2.
46775 #
46776 # Written by Andrew Zabolotny, bit@freya.etu.ru
46777 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46778 #
46779 # This script will accept a set of files on the command line.
46780 # All the public symbols from the .o files will be exported into
46781 # a .DEF file, then linker will be run (through gcc) against them to
46782 # build a shared library consisting of all given .o files. All libraries
46783 # (.a) will be first decompressed into component .o files then act as
46784 # described above. You can optionally give a description (-d "description")
46785 # which will be put into .DLL. To see the list of accepted options (as well
46786 # as command-line format) simply run this program without options. The .DLL
46787 # is built to be imported by name (there is no guarantee that new versions
46788 # of the library you build will have same ordinals for same symbols).
46789 #
46790 # dllar is free software; you can redistribute it and/or modify
46791 # it under the terms of the GNU General Public License as published by
46792 # the Free Software Foundation; either version 2, or (at your option)
46793 # any later version.
46794 #
46795 # dllar is distributed in the hope that it will be useful,
46796 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46797 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46798 # GNU General Public License for more details.
46799 #
46800 # You should have received a copy of the GNU General Public License
46801 # along with dllar; see the file COPYING. If not, write to the Free
46802 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46803 # 02111-1307, USA.
46804
46805 # To successfuly run this program you will need:
46806 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46807 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46808 # - gcc
46809 # (used to build the .dll)
46810 # - emxexp
46811 # (used to create .def file from .o files)
46812 # - emximp
46813 # (used to create .a file from .def file)
46814 # - GNU text utilites (cat, sort, uniq)
46815 # used to process emxexp output
46816 # - GNU file utilities (mv, rm)
46817 # - GNU sed
46818 # - lxlite (optional, see flag below)
46819 # (used for general .dll cleanup)
46820 #
46821
46822 flag_USE_LXLITE=1;
46823
46824 #
46825 # helper functions
46826 # basnam, variant of basename, which does _not_ remove the path, _iff_
46827 # second argument (suffix to remove) is given
46828 basnam(){
46829 case ${D}# in
46830 1)
46831 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46832 ;;
46833 2)
46834 echo ${D}1 | sed 's/'${D}2'${D}//'
46835 ;;
46836 *)
46837 echo "error in basnam ${D}*"
46838 exit 8
46839 ;;
46840 esac
46841 }
46842
46843 # Cleanup temporary files and output
46844 CleanUp() {
46845 cd ${D}curDir
46846 for i in ${D}inputFiles ; do
46847 case ${D}i in
46848 *!)
46849 rm -rf \`basnam ${D}i !\`
46850 ;;
46851 *)
46852 ;;
46853 esac
46854 done
46855
46856 # Kill result in case of failure as there is just to many stupid make/nmake
46857 # things out there which doesn't do this.
46858 if [ ${D}# -eq 0 ]; then
46859 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46860 fi
46861 }
46862
46863 # Print usage and exit script with rc=1.
46864 PrintHelp() {
46865 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46866 echo ' [-name-mangler-script script.sh]'
46867 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46868 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46869 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46870 echo ' [*.o] [*.a]'
46871 echo '*> "output_file" should have no extension.'
46872 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46873 echo ' The import library name is derived from this and is set to "name".a,'
46874 echo ' unless overridden by -import'
46875 echo '*> "importlib_name" should have no extension.'
46876 echo ' If it has the .o, or .a extension, it is automatically removed.'
46877 echo ' This name is used as the import library name and may be longer and'
46878 echo ' more descriptive than the DLL name which has to follow the old '
46879 echo ' 8.3 convention of FAT.'
46880 echo '*> "script.sh may be given to override the output_file name by a'
46881 echo ' different name. It is mainly useful if the regular make process'
46882 echo ' of some package does not take into account OS/2 restriction of'
46883 echo ' DLL name lengths. It takes the importlib name as input and is'
46884 echo ' supposed to procude a shorter name as output. The script should'
46885 echo ' expect to get importlib_name without extension and should produce'
46886 echo ' a (max.) 8 letter name without extension.'
46887 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46888 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46889 echo ' These flags will be put at the start of GCC command line.'
46890 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46891 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46892 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46893 echo ' If the last character of a symbol is "*", all symbols beginning'
46894 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46895 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46896 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46897 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46898 echo ' C runtime DLLs.'
46899 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46900 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46901 echo ' unchanged to GCC at the end of command line.'
46902 echo '*> If you create a DLL from a library and you do not specify -o,'
46903 echo ' the basename for DLL and import library will be set to library name,'
46904 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46905 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46906 echo ' library will be renamed into gcc_s.a.'
46907 echo '--------'
46908 echo 'Example:'
46909 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46910 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46911 CleanUp
46912 exit 1
46913 }
46914
46915 # Execute a command.
46916 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46917 # @Uses Whatever CleanUp() uses.
46918 doCommand() {
46919 echo "${D}*"
46920 eval ${D}*
46921 rcCmd=${D}?
46922
46923 if [ ${D}rcCmd -ne 0 ]; then
46924 echo "command failed, exit code="${D}rcCmd
46925 CleanUp
46926 exit ${D}rcCmd
46927 fi
46928 }
46929
46930 # main routine
46931 # setup globals
46932 cmdLine=${D}*
46933 outFile=""
46934 outimpFile=""
46935 inputFiles=""
46936 renameScript=""
46937 description=""
46938 CC=gcc.exe
46939 CFLAGS="-s -Zcrtdll"
46940 EXTRA_CFLAGS=""
46941 EXPORT_BY_ORDINALS=0
46942 exclude_symbols=""
46943 library_flags=""
46944 curDir=\`pwd\`
46945 curDirS=curDir
46946 case ${D}curDirS in
46947 */)
46948 ;;
46949 *)
46950 curDirS=${D}{curDirS}"/"
46951 ;;
46952 esac
46953 # Parse commandline
46954 libsToLink=0
46955 omfLinking=0
46956 while [ ${D}1 ]; do
46957 case ${D}1 in
46958 -ord*)
46959 EXPORT_BY_ORDINALS=1;
46960 ;;
46961 -o*)
46962 shift
46963 outFile=${D}1
46964 ;;
46965 -i*)
46966 shift
46967 outimpFile=${D}1
46968 ;;
46969 -name-mangler-script)
46970 shift
46971 renameScript=${D}1
46972 ;;
46973 -d*)
46974 shift
46975 description=${D}1
46976 ;;
46977 -f*)
46978 shift
46979 CFLAGS=${D}1
46980 ;;
46981 -c*)
46982 shift
46983 CC=${D}1
46984 ;;
46985 -h*)
46986 PrintHelp
46987 ;;
46988 -ex*)
46989 shift
46990 exclude_symbols=${D}{exclude_symbols}${D}1" "
46991 ;;
46992 -libf*)
46993 shift
46994 library_flags=${D}{library_flags}${D}1" "
46995 ;;
46996 -nocrt*)
46997 CFLAGS="-s"
46998 ;;
46999 -nolxl*)
47000 flag_USE_LXLITE=0
47001 ;;
47002 -* | /*)
47003 case ${D}1 in
47004 -L* | -l*)
47005 libsToLink=1
47006 ;;
47007 -Zomf)
47008 omfLinking=1
47009 ;;
47010 *)
47011 ;;
47012 esac
47013 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47014 ;;
47015 *.dll)
47016 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47017 if [ ${D}omfLinking -eq 1 ]; then
47018 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47019 else
47020 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47021 fi
47022 ;;
47023 *)
47024 found=0;
47025 if [ ${D}libsToLink -ne 0 ]; then
47026 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47027 else
47028 for file in ${D}1 ; do
47029 if [ -f ${D}file ]; then
47030 inputFiles="${D}{inputFiles} ${D}file"
47031 found=1
47032 fi
47033 done
47034 if [ ${D}found -eq 0 ]; then
47035 echo "ERROR: No file(s) found: "${D}1
47036 exit 8
47037 fi
47038 fi
47039 ;;
47040 esac
47041 shift
47042 done # iterate cmdline words
47043
47044 #
47045 if [ -z "${D}inputFiles" ]; then
47046 echo "dllar: no input files"
47047 PrintHelp
47048 fi
47049
47050 # Now extract all .o files from .a files
47051 newInputFiles=""
47052 for file in ${D}inputFiles ; do
47053 case ${D}file in
47054 *.a | *.lib)
47055 case ${D}file in
47056 *.a)
47057 suffix=".a"
47058 AR="ar"
47059 ;;
47060 *.lib)
47061 suffix=".lib"
47062 AR="emxomfar"
47063 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47064 ;;
47065 *)
47066 ;;
47067 esac
47068 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47069 mkdir ${D}dirname
47070 if [ ${D}? -ne 0 ]; then
47071 echo "Failed to create subdirectory ./${D}dirname"
47072 CleanUp
47073 exit 8;
47074 fi
47075 # Append '!' to indicate archive
47076 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47077 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47078 cd ${D}curDir
47079 found=0;
47080 for subfile in ${D}dirname/*.o* ; do
47081 if [ -f ${D}subfile ]; then
47082 found=1
47083 if [ -s ${D}subfile ]; then
47084 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47085 newInputFiles="${D}newInputFiles ${D}subfile"
47086 fi
47087 fi
47088 done
47089 if [ ${D}found -eq 0 ]; then
47090 echo "WARNING: there are no files in archive \\'${D}file\\'"
47091 fi
47092 ;;
47093 *)
47094 newInputFiles="${D}{newInputFiles} ${D}file"
47095 ;;
47096 esac
47097 done
47098 inputFiles="${D}newInputFiles"
47099
47100 # Output filename(s).
47101 do_backup=0;
47102 if [ -z ${D}outFile ]; then
47103 do_backup=1;
47104 set outFile ${D}inputFiles; outFile=${D}2
47105 fi
47106
47107 # If it is an archive, remove the '!' and the '_%' suffixes
47108 case ${D}outFile in
47109 *_%!)
47110 outFile=\`basnam ${D}outFile _%!\`
47111 ;;
47112 *)
47113 ;;
47114 esac
47115 case ${D}outFile in
47116 *.dll)
47117 outFile=\`basnam ${D}outFile .dll\`
47118 ;;
47119 *.DLL)
47120 outFile=\`basnam ${D}outFile .DLL\`
47121 ;;
47122 *.o)
47123 outFile=\`basnam ${D}outFile .o\`
47124 ;;
47125 *.obj)
47126 outFile=\`basnam ${D}outFile .obj\`
47127 ;;
47128 *.a)
47129 outFile=\`basnam ${D}outFile .a\`
47130 ;;
47131 *.lib)
47132 outFile=\`basnam ${D}outFile .lib\`
47133 ;;
47134 *)
47135 ;;
47136 esac
47137 case ${D}outimpFile in
47138 *.a)
47139 outimpFile=\`basnam ${D}outimpFile .a\`
47140 ;;
47141 *.lib)
47142 outimpFile=\`basnam ${D}outimpFile .lib\`
47143 ;;
47144 *)
47145 ;;
47146 esac
47147 if [ -z ${D}outimpFile ]; then
47148 outimpFile=${D}outFile
47149 fi
47150 defFile="${D}{outFile}.def"
47151 arcFile="${D}{outimpFile}.a"
47152 arcFile2="${D}{outimpFile}.lib"
47153
47154 #create ${D}dllFile as something matching 8.3 restrictions,
47155 if [ -z ${D}renameScript ] ; then
47156 dllFile="${D}outFile"
47157 else
47158 dllFile=\`${D}renameScript ${D}outimpFile\`
47159 fi
47160
47161 if [ ${D}do_backup -ne 0 ] ; then
47162 if [ -f ${D}arcFile ] ; then
47163 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47164 fi
47165 if [ -f ${D}arcFile2 ] ; then
47166 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47167 fi
47168 fi
47169
47170 # Extract public symbols from all the object files.
47171 tmpdefFile=${D}{defFile}_%
47172 rm -f ${D}tmpdefFile
47173 for file in ${D}inputFiles ; do
47174 case ${D}file in
47175 *!)
47176 ;;
47177 *)
47178 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47179 ;;
47180 esac
47181 done
47182
47183 # Create the def file.
47184 rm -f ${D}defFile
47185 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47186 dllFile="${D}{dllFile}.dll"
47187 if [ ! -z ${D}description ]; then
47188 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47189 fi
47190 echo "EXPORTS" >> ${D}defFile
47191
47192 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47193 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47194
47195 # Checks if the export is ok or not.
47196 for word in ${D}exclude_symbols; do
47197 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47198 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47199 done
47200
47201
47202 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47203 sed "=" < ${D}tmpdefFile | \\
47204 sed '
47205 N
47206 : loop
47207 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47208 t loop
47209 ' > ${D}{tmpdefFile}%
47210 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47211 else
47212 rm -f ${D}{tmpdefFile}%
47213 fi
47214 cat ${D}tmpdefFile >> ${D}defFile
47215 rm -f ${D}tmpdefFile
47216
47217 # Do linking, create implib, and apply lxlite.
47218 gccCmdl="";
47219 for file in ${D}inputFiles ; do
47220 case ${D}file in
47221 *!)
47222 ;;
47223 *)
47224 gccCmdl="${D}gccCmdl ${D}file"
47225 ;;
47226 esac
47227 done
47228 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47229 touch "${D}{outFile}.dll"
47230
47231 doCommand "emximp -o ${D}arcFile ${D}defFile"
47232 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47233 add_flags="";
47234 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47235 add_flags="-ynd"
47236 fi
47237 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47238 fi
47239 doCommand "emxomf -s -l ${D}arcFile"
47240
47241 # Successful exit.
47242 CleanUp 1
47243 exit 0
47244 EOF
47245
47246 chmod +x dllar.sh
47247 ;;
47248
47249 powerpc-apple-macos* | \
47250 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47251 *-*-mirbsd* | \
47252 *-*-sunos4* | \
47253 *-*-osf* | \
47254 *-*-dgux5* | \
47255 *-*-sysv5* | \
47256 *-pc-msdosdjgpp )
47257 ;;
47258
47259 *)
47260 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47261 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47262 { (exit 1); exit 1; }; }
47263 esac
47264
47265 if test "x$PIC_FLAG" != "x" ; then
47266 PIC_FLAG="$PIC_FLAG -DPIC"
47267 fi
47268
47269 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47270 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47271 fi
47272 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47273 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47274 fi
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284 USE_SOVERSION=0
47285 USE_SOVERLINUX=0
47286 USE_SOVERSOLARIS=0
47287 USE_SOVERCYGWIN=0
47288 USE_SOSYMLINKS=0
47289 USE_MACVERSION=0
47290 SONAME_FLAG=
47291
47292 case "${BAKEFILE_HOST}" in
47293 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47294 SONAME_FLAG="-Wl,-soname,"
47295 USE_SOVERSION=1
47296 USE_SOVERLINUX=1
47297 USE_SOSYMLINKS=1
47298 ;;
47299
47300 *-*-solaris2* )
47301 SONAME_FLAG="-h "
47302 USE_SOVERSION=1
47303 USE_SOVERSOLARIS=1
47304 USE_SOSYMLINKS=1
47305 ;;
47306
47307 *-*-darwin* )
47308 USE_MACVERSION=1
47309 USE_SOVERSION=1
47310 USE_SOSYMLINKS=1
47311 ;;
47312
47313 *-*-cygwin* )
47314 USE_SOVERSION=1
47315 USE_SOVERCYGWIN=1
47316 ;;
47317 esac
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328 # Check whether --enable-dependency-tracking was given.
47329 if test "${enable_dependency_tracking+set}" = set; then
47330 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47331 fi
47332
47333
47334 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47335 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47336
47337 BK_DEPS=""
47338 if test "x$bk_use_trackdeps" = "xno" ; then
47339 DEPS_TRACKING=0
47340 { echo "$as_me:$LINENO: result: disabled" >&5
47341 echo "${ECHO_T}disabled" >&6; }
47342 else
47343 DEPS_TRACKING=1
47344
47345 if test "x$GCC" = "xyes"; then
47346 DEPSMODE=gcc
47347 case "${BAKEFILE_HOST}" in
47348 *-*-darwin* )
47349 DEPSFLAG="-no-cpp-precomp -MMD"
47350 ;;
47351 * )
47352 DEPSFLAG="-MMD"
47353 ;;
47354 esac
47355 { echo "$as_me:$LINENO: result: gcc" >&5
47356 echo "${ECHO_T}gcc" >&6; }
47357 elif test "x$MWCC" = "xyes"; then
47358 DEPSMODE=mwcc
47359 DEPSFLAG="-MM"
47360 { echo "$as_me:$LINENO: result: mwcc" >&5
47361 echo "${ECHO_T}mwcc" >&6; }
47362 elif test "x$SUNCC" = "xyes"; then
47363 DEPSMODE=unixcc
47364 DEPSFLAG="-xM1"
47365 { echo "$as_me:$LINENO: result: Sun cc" >&5
47366 echo "${ECHO_T}Sun cc" >&6; }
47367 elif test "x$SGICC" = "xyes"; then
47368 DEPSMODE=unixcc
47369 DEPSFLAG="-M"
47370 { echo "$as_me:$LINENO: result: SGI cc" >&5
47371 echo "${ECHO_T}SGI cc" >&6; }
47372 elif test "x$HPCC" = "xyes"; then
47373 DEPSMODE=unixcc
47374 DEPSFLAG="+make"
47375 { echo "$as_me:$LINENO: result: HP cc" >&5
47376 echo "${ECHO_T}HP cc" >&6; }
47377 elif test "x$COMPAQCC" = "xyes"; then
47378 DEPSMODE=gcc
47379 DEPSFLAG="-MD"
47380 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47381 echo "${ECHO_T}Compaq cc" >&6; }
47382 else
47383 DEPS_TRACKING=0
47384 { echo "$as_me:$LINENO: result: none" >&5
47385 echo "${ECHO_T}none" >&6; }
47386 fi
47387
47388 if test $DEPS_TRACKING = 1 ; then
47389
47390 D='$'
47391 cat <<EOF >bk-deps
47392 #!/bin/sh
47393
47394 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47395 # script. It is used to track C/C++ files dependencies in portable way.
47396 #
47397 # Permission is given to use this file in any way.
47398
47399 DEPSMODE=${DEPSMODE}
47400 DEPSDIR=.deps
47401 DEPSFLAG="${DEPSFLAG}"
47402
47403 mkdir -p ${D}DEPSDIR
47404
47405 if test ${D}DEPSMODE = gcc ; then
47406 ${D}* ${D}{DEPSFLAG}
47407 status=${D}?
47408 if test ${D}{status} != 0 ; then
47409 exit ${D}{status}
47410 fi
47411 # move created file to the location we want it in:
47412 while test ${D}# -gt 0; do
47413 case "${D}1" in
47414 -o )
47415 shift
47416 objfile=${D}1
47417 ;;
47418 -* )
47419 ;;
47420 * )
47421 srcfile=${D}1
47422 ;;
47423 esac
47424 shift
47425 done
47426 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47427 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47428 if test -f ${D}depfile ; then
47429 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47430 rm -f ${D}depfile
47431 else
47432 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47433 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47434 if test ! -f ${D}depfile ; then
47435 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47436 depfile="${D}objfile.d"
47437 fi
47438 if test -f ${D}depfile ; then
47439 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47440 rm -f ${D}depfile
47441 fi
47442 fi
47443 exit 0
47444 elif test ${D}DEPSMODE = mwcc ; then
47445 ${D}* || exit ${D}?
47446 # Run mwcc again with -MM and redirect into the dep file we want
47447 # NOTE: We can't use shift here because we need ${D}* to be valid
47448 prevarg=
47449 for arg in ${D}* ; do
47450 if test "${D}prevarg" = "-o"; then
47451 objfile=${D}arg
47452 else
47453 case "${D}arg" in
47454 -* )
47455 ;;
47456 * )
47457 srcfile=${D}arg
47458 ;;
47459 esac
47460 fi
47461 prevarg="${D}arg"
47462 done
47463 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47464 exit 0
47465 elif test ${D}DEPSMODE = unixcc; then
47466 ${D}* || exit ${D}?
47467 # Run compiler again with deps flag and redirect into the dep file.
47468 # It doesn't work if the '-o FILE' option is used, but without it the
47469 # dependency file will contain the wrong name for the object. So it is
47470 # removed from the command line, and the dep file is fixed with sed.
47471 cmd=""
47472 while test ${D}# -gt 0; do
47473 case "${D}1" in
47474 -o )
47475 shift
47476 objfile=${D}1
47477 ;;
47478 * )
47479 eval arg${D}#=\\${D}1
47480 cmd="${D}cmd \\${D}arg${D}#"
47481 ;;
47482 esac
47483 shift
47484 done
47485 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47486 exit 0
47487 else
47488 ${D}*
47489 exit ${D}?
47490 fi
47491 EOF
47492
47493 chmod +x bk-deps
47494 BK_DEPS="`pwd`/bk-deps"
47495 fi
47496 fi
47497
47498
47499
47500
47501
47502 case ${BAKEFILE_HOST} in
47503 *-*-cygwin* | *-*-mingw32* )
47504 if test -n "$ac_tool_prefix"; then
47505 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47506 set dummy ${ac_tool_prefix}windres; ac_word=$2
47507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47509 if test "${ac_cv_prog_WINDRES+set}" = set; then
47510 echo $ECHO_N "(cached) $ECHO_C" >&6
47511 else
47512 if test -n "$WINDRES"; then
47513 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47514 else
47515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47516 for as_dir in $PATH
47517 do
47518 IFS=$as_save_IFS
47519 test -z "$as_dir" && as_dir=.
47520 for ac_exec_ext in '' $ac_executable_extensions; do
47521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47522 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47524 break 2
47525 fi
47526 done
47527 done
47528 IFS=$as_save_IFS
47529
47530 fi
47531 fi
47532 WINDRES=$ac_cv_prog_WINDRES
47533 if test -n "$WINDRES"; then
47534 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47535 echo "${ECHO_T}$WINDRES" >&6; }
47536 else
47537 { echo "$as_me:$LINENO: result: no" >&5
47538 echo "${ECHO_T}no" >&6; }
47539 fi
47540
47541
47542 fi
47543 if test -z "$ac_cv_prog_WINDRES"; then
47544 ac_ct_WINDRES=$WINDRES
47545 # Extract the first word of "windres", so it can be a program name with args.
47546 set dummy windres; ac_word=$2
47547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47549 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47551 else
47552 if test -n "$ac_ct_WINDRES"; then
47553 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47554 else
47555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47556 for as_dir in $PATH
47557 do
47558 IFS=$as_save_IFS
47559 test -z "$as_dir" && as_dir=.
47560 for ac_exec_ext in '' $ac_executable_extensions; do
47561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47562 ac_cv_prog_ac_ct_WINDRES="windres"
47563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47564 break 2
47565 fi
47566 done
47567 done
47568 IFS=$as_save_IFS
47569
47570 fi
47571 fi
47572 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47573 if test -n "$ac_ct_WINDRES"; then
47574 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47575 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47576 else
47577 { echo "$as_me:$LINENO: result: no" >&5
47578 echo "${ECHO_T}no" >&6; }
47579 fi
47580
47581 if test "x$ac_ct_WINDRES" = x; then
47582 WINDRES=""
47583 else
47584 case $cross_compiling:$ac_tool_warned in
47585 yes:)
47586 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47587 whose name does not start with the host triplet. If you think this
47588 configuration is useful to you, please write to autoconf@gnu.org." >&5
47589 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47590 whose name does not start with the host triplet. If you think this
47591 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47592 ac_tool_warned=yes ;;
47593 esac
47594 WINDRES=$ac_ct_WINDRES
47595 fi
47596 else
47597 WINDRES="$ac_cv_prog_WINDRES"
47598 fi
47599
47600 ;;
47601
47602 *-*-darwin* | powerpc-apple-macos* )
47603 # Extract the first word of "Rez", so it can be a program name with args.
47604 set dummy Rez; ac_word=$2
47605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47607 if test "${ac_cv_prog_REZ+set}" = set; then
47608 echo $ECHO_N "(cached) $ECHO_C" >&6
47609 else
47610 if test -n "$REZ"; then
47611 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47612 else
47613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47614 for as_dir in $PATH
47615 do
47616 IFS=$as_save_IFS
47617 test -z "$as_dir" && as_dir=.
47618 for ac_exec_ext in '' $ac_executable_extensions; do
47619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47620 ac_cv_prog_REZ="Rez"
47621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47622 break 2
47623 fi
47624 done
47625 done
47626 IFS=$as_save_IFS
47627
47628 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47629 fi
47630 fi
47631 REZ=$ac_cv_prog_REZ
47632 if test -n "$REZ"; then
47633 { echo "$as_me:$LINENO: result: $REZ" >&5
47634 echo "${ECHO_T}$REZ" >&6; }
47635 else
47636 { echo "$as_me:$LINENO: result: no" >&5
47637 echo "${ECHO_T}no" >&6; }
47638 fi
47639
47640
47641 # Extract the first word of "SetFile", so it can be a program name with args.
47642 set dummy SetFile; ac_word=$2
47643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47645 if test "${ac_cv_prog_SETFILE+set}" = set; then
47646 echo $ECHO_N "(cached) $ECHO_C" >&6
47647 else
47648 if test -n "$SETFILE"; then
47649 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47650 else
47651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47652 for as_dir in $PATH
47653 do
47654 IFS=$as_save_IFS
47655 test -z "$as_dir" && as_dir=.
47656 for ac_exec_ext in '' $ac_executable_extensions; do
47657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47658 ac_cv_prog_SETFILE="SetFile"
47659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47660 break 2
47661 fi
47662 done
47663 done
47664 IFS=$as_save_IFS
47665
47666 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47667 fi
47668 fi
47669 SETFILE=$ac_cv_prog_SETFILE
47670 if test -n "$SETFILE"; then
47671 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47672 echo "${ECHO_T}$SETFILE" >&6; }
47673 else
47674 { echo "$as_me:$LINENO: result: no" >&5
47675 echo "${ECHO_T}no" >&6; }
47676 fi
47677
47678
47679 ;;
47680 esac
47681
47682
47683
47684
47685
47686
47687 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47688
47689
47690 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47691
47692
47693
47694 # Check whether --enable-precomp-headers was given.
47695 if test "${enable_precomp_headers+set}" = set; then
47696 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47697 fi
47698
47699
47700 GCC_PCH=0
47701 ICC_PCH=0
47702 USE_PCH=0
47703 BK_MAKE_PCH=""
47704
47705 case ${BAKEFILE_HOST} in
47706 *-*-cygwin* )
47707 bk_use_pch="no"
47708 ;;
47709 esac
47710
47711 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47712 if test "x$GCC" = "xyes"; then
47713 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47714 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47715 cat >conftest.$ac_ext <<_ACEOF
47716 /* confdefs.h. */
47717 _ACEOF
47718 cat confdefs.h >>conftest.$ac_ext
47719 cat >>conftest.$ac_ext <<_ACEOF
47720 /* end confdefs.h. */
47721
47722 int
47723 main ()
47724 {
47725
47726 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47727 There is no PCH support
47728 #endif
47729 #if (__GNUC__ < 3)
47730 There is no PCH support
47731 #endif
47732 #if (__GNUC__ == 3) && \
47733 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47734 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47735 ( defined(__INTEL_COMPILER) )
47736 There is no PCH support
47737 #endif
47738
47739 ;
47740 return 0;
47741 }
47742 _ACEOF
47743 rm -f conftest.$ac_objext
47744 if { (ac_try="$ac_compile"
47745 case "(($ac_try" in
47746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47747 *) ac_try_echo=$ac_try;;
47748 esac
47749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47750 (eval "$ac_compile") 2>conftest.er1
47751 ac_status=$?
47752 grep -v '^ *+' conftest.er1 >conftest.err
47753 rm -f conftest.er1
47754 cat conftest.err >&5
47755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47756 (exit $ac_status); } && {
47757 test -z "$ac_c_werror_flag" ||
47758 test ! -s conftest.err
47759 } && test -s conftest.$ac_objext; then
47760
47761 { echo "$as_me:$LINENO: result: yes" >&5
47762 echo "${ECHO_T}yes" >&6; }
47763 GCC_PCH=1
47764
47765 else
47766 echo "$as_me: failed program was:" >&5
47767 sed 's/^/| /' conftest.$ac_ext >&5
47768
47769
47770 cat >conftest.$ac_ext <<_ACEOF
47771 /* confdefs.h. */
47772 _ACEOF
47773 cat confdefs.h >>conftest.$ac_ext
47774 cat >>conftest.$ac_ext <<_ACEOF
47775 /* end confdefs.h. */
47776
47777 int
47778 main ()
47779 {
47780
47781 #if !defined(__INTEL_COMPILER) || \
47782 (__INTEL_COMPILER < 800)
47783 There is no PCH support
47784 #endif
47785
47786 ;
47787 return 0;
47788 }
47789 _ACEOF
47790 rm -f conftest.$ac_objext
47791 if { (ac_try="$ac_compile"
47792 case "(($ac_try" in
47793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47794 *) ac_try_echo=$ac_try;;
47795 esac
47796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47797 (eval "$ac_compile") 2>conftest.er1
47798 ac_status=$?
47799 grep -v '^ *+' conftest.er1 >conftest.err
47800 rm -f conftest.er1
47801 cat conftest.err >&5
47802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47803 (exit $ac_status); } && {
47804 test -z "$ac_c_werror_flag" ||
47805 test ! -s conftest.err
47806 } && test -s conftest.$ac_objext; then
47807
47808 { echo "$as_me:$LINENO: result: yes" >&5
47809 echo "${ECHO_T}yes" >&6; }
47810 ICC_PCH=1
47811
47812 else
47813 echo "$as_me: failed program was:" >&5
47814 sed 's/^/| /' conftest.$ac_ext >&5
47815
47816
47817 { echo "$as_me:$LINENO: result: no" >&5
47818 echo "${ECHO_T}no" >&6; }
47819
47820 fi
47821
47822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47823
47824 fi
47825
47826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47827 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47828 USE_PCH=1
47829
47830 D='$'
47831 cat <<EOF >bk-make-pch
47832 #!/bin/sh
47833
47834 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47835 # script. It is used to generated precompiled headers.
47836 #
47837 # Permission is given to use this file in any way.
47838
47839 outfile="${D}{1}"
47840 header="${D}{2}"
47841 shift
47842 shift
47843
47844 compiler=""
47845 headerfile=""
47846
47847 while test ${D}{#} -gt 0; do
47848 add_to_cmdline=1
47849 case "${D}{1}" in
47850 -I* )
47851 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47852 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47853 headerfile="${D}{incdir}/${D}{header}"
47854 fi
47855 ;;
47856 -use-pch|-use_pch )
47857 shift
47858 add_to_cmdline=0
47859 ;;
47860 esac
47861 if test ${D}add_to_cmdline = 1 ; then
47862 compiler="${D}{compiler} ${D}{1}"
47863 fi
47864 shift
47865 done
47866
47867 if test "x${D}{headerfile}" = "x" ; then
47868 echo "error: can't find header ${D}{header} in include paths" >&2
47869 else
47870 if test -f ${D}{outfile} ; then
47871 rm -f ${D}{outfile}
47872 else
47873 mkdir -p \`dirname ${D}{outfile}\`
47874 fi
47875 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47876 mkdir -p .deps
47877 if test "x${GCC_PCH}" = "x1" ; then
47878 # can do this because gcc is >= 3.4:
47879 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47880 elif test "x${ICC_PCH}" = "x1" ; then
47881 filename=pch_gen-${D}${D}
47882 file=${D}{filename}.c
47883 dfile=${D}{filename}.d
47884 cat > ${D}file <<EOT
47885 #include "${D}header"
47886 EOT
47887 # using -MF icc complains about differing command lines in creation/use
47888 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47889 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47890 rm -f ${D}file ${D}dfile ${D}{filename}.o
47891 fi
47892 exit ${D}{?}
47893 fi
47894 EOF
47895
47896 chmod +x bk-make-pch
47897 BK_MAKE_PCH="`pwd`/bk-make-pch"
47898 fi
47899 fi
47900 fi
47901
47902
47903
47904
47905
47906 COND_BUILD_DEBUG="#"
47907 if test "x$BUILD" = "xdebug" ; then
47908 COND_BUILD_DEBUG=""
47909 fi
47910
47911 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47912 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47913 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47914 fi
47915
47916 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47917 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47918 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47919 fi
47920
47921 COND_BUILD_DEBUG_UNICODE_0="#"
47922 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47923 COND_BUILD_DEBUG_UNICODE_0=""
47924 fi
47925
47926 COND_BUILD_DEBUG_UNICODE_1="#"
47927 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47928 COND_BUILD_DEBUG_UNICODE_1=""
47929 fi
47930
47931 COND_BUILD_RELEASE="#"
47932 if test "x$BUILD" = "xrelease" ; then
47933 COND_BUILD_RELEASE=""
47934 fi
47935
47936 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47937 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47938 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47939 fi
47940
47941 COND_BUILD_RELEASE_UNICODE_0="#"
47942 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47943 COND_BUILD_RELEASE_UNICODE_0=""
47944 fi
47945
47946 COND_BUILD_RELEASE_UNICODE_1="#"
47947 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47948 COND_BUILD_RELEASE_UNICODE_1=""
47949 fi
47950
47951 COND_DEBUG_FLAG_1="#"
47952 if test "x$DEBUG_FLAG" = "x1" ; then
47953 COND_DEBUG_FLAG_1=""
47954 fi
47955
47956 COND_DEBUG_INFO_0="#"
47957 if test "x$DEBUG_INFO" = "x0" ; then
47958 COND_DEBUG_INFO_0=""
47959 fi
47960
47961 COND_DEBUG_INFO_1="#"
47962 if test "x$DEBUG_INFO" = "x1" ; then
47963 COND_DEBUG_INFO_1=""
47964 fi
47965
47966 COND_DEPS_TRACKING_0="#"
47967 if test "x$DEPS_TRACKING" = "x0" ; then
47968 COND_DEPS_TRACKING_0=""
47969 fi
47970
47971 COND_DEPS_TRACKING_1="#"
47972 if test "x$DEPS_TRACKING" = "x1" ; then
47973 COND_DEPS_TRACKING_1=""
47974 fi
47975
47976 COND_GCC_PCH_1="#"
47977 if test "x$GCC_PCH" = "x1" ; then
47978 COND_GCC_PCH_1=""
47979 fi
47980
47981 COND_ICC_PCH_1="#"
47982 if test "x$ICC_PCH" = "x1" ; then
47983 COND_ICC_PCH_1=""
47984 fi
47985
47986 COND_MONOLITHIC_0="#"
47987 if test "x$MONOLITHIC" = "x0" ; then
47988 COND_MONOLITHIC_0=""
47989 fi
47990
47991 COND_MONOLITHIC_0_SHARED_0="#"
47992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47993 COND_MONOLITHIC_0_SHARED_0=""
47994 fi
47995
47996 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47998 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47999 fi
48000
48001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48004 fi
48005
48006 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48008 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48009 fi
48010
48011 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48013 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48014 fi
48015
48016 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48018 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48019 fi
48020
48021 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48023 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48024 fi
48025
48026 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48028 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48029 fi
48030
48031 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48033 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48034 fi
48035
48036 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48038 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48039 fi
48040
48041 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48043 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48044 fi
48045
48046 COND_MONOLITHIC_0_SHARED_1="#"
48047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48048 COND_MONOLITHIC_0_SHARED_1=""
48049 fi
48050
48051 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48053 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48054 fi
48055
48056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48059 fi
48060
48061 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48064 fi
48065
48066 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48068 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48069 fi
48070
48071 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48073 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48074 fi
48075
48076 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48078 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48079 fi
48080
48081 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48083 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48084 fi
48085
48086 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48088 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48089 fi
48090
48091 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48093 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48094 fi
48095
48096 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48098 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48099 fi
48100
48101 COND_MONOLITHIC_0_USE_AUI_1="#"
48102 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48103 COND_MONOLITHIC_0_USE_AUI_1=""
48104 fi
48105
48106 COND_MONOLITHIC_0_USE_GUI_1="#"
48107 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48108 COND_MONOLITHIC_0_USE_GUI_1=""
48109 fi
48110
48111 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48112 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48113 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48114 fi
48115
48116 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48117 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48118 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48119 fi
48120
48121 COND_MONOLITHIC_0_USE_HTML_1="#"
48122 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48123 COND_MONOLITHIC_0_USE_HTML_1=""
48124 fi
48125
48126 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48127 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48128 COND_MONOLITHIC_0_USE_MEDIA_1=""
48129 fi
48130
48131 COND_MONOLITHIC_0_USE_ODBC_1="#"
48132 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48133 COND_MONOLITHIC_0_USE_ODBC_1=""
48134 fi
48135
48136 COND_MONOLITHIC_0_USE_QA_1="#"
48137 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48138 COND_MONOLITHIC_0_USE_QA_1=""
48139 fi
48140
48141 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48142 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48143 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48144 fi
48145
48146 COND_MONOLITHIC_0_USE_STC_1="#"
48147 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48148 COND_MONOLITHIC_0_USE_STC_1=""
48149 fi
48150
48151 COND_MONOLITHIC_0_USE_XRC_1="#"
48152 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48153 COND_MONOLITHIC_0_USE_XRC_1=""
48154 fi
48155
48156 COND_MONOLITHIC_1="#"
48157 if test "x$MONOLITHIC" = "x1" ; then
48158 COND_MONOLITHIC_1=""
48159 fi
48160
48161 COND_MONOLITHIC_1_SHARED_0="#"
48162 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48163 COND_MONOLITHIC_1_SHARED_0=""
48164 fi
48165
48166 COND_MONOLITHIC_1_SHARED_1="#"
48167 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48168 COND_MONOLITHIC_1_SHARED_1=""
48169 fi
48170
48171 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48172 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48173 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48174 fi
48175
48176 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48177 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48178 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48179 fi
48180
48181 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48182 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48183 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48184 fi
48185
48186 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48187 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48188 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48189 fi
48190
48191 COND_PLATFORM_MACOSX_1="#"
48192 if test "x$PLATFORM_MACOSX" = "x1" ; then
48193 COND_PLATFORM_MACOSX_1=""
48194 fi
48195
48196 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48198 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48199 fi
48200
48201 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48203 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48204 fi
48205
48206 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48208 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48209 fi
48210
48211 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48214 fi
48215
48216 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48218 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48219 fi
48220
48221 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48222 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48223 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48224 fi
48225
48226 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48227 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48228 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48229 fi
48230
48231 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48232 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48233 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48234 fi
48235
48236 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48237 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48238 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48239 fi
48240
48241 COND_PLATFORM_MACOS_1="#"
48242 if test "x$PLATFORM_MACOS" = "x1" ; then
48243 COND_PLATFORM_MACOS_1=""
48244 fi
48245
48246 COND_PLATFORM_MAC_1="#"
48247 if test "x$PLATFORM_MAC" = "x1" ; then
48248 COND_PLATFORM_MAC_1=""
48249 fi
48250
48251 COND_PLATFORM_MSDOS_0="#"
48252 if test "x$PLATFORM_MSDOS" = "x0" ; then
48253 COND_PLATFORM_MSDOS_0=""
48254 fi
48255
48256 COND_PLATFORM_MSDOS_1="#"
48257 if test "x$PLATFORM_MSDOS" = "x1" ; then
48258 COND_PLATFORM_MSDOS_1=""
48259 fi
48260
48261 COND_PLATFORM_OS2_1="#"
48262 if test "x$PLATFORM_OS2" = "x1" ; then
48263 COND_PLATFORM_OS2_1=""
48264 fi
48265
48266 COND_PLATFORM_UNIX_0="#"
48267 if test "x$PLATFORM_UNIX" = "x0" ; then
48268 COND_PLATFORM_UNIX_0=""
48269 fi
48270
48271 COND_PLATFORM_UNIX_1="#"
48272 if test "x$PLATFORM_UNIX" = "x1" ; then
48273 COND_PLATFORM_UNIX_1=""
48274 fi
48275
48276 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48277 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48278 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48279 fi
48280
48281 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48282 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48283 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48284 fi
48285
48286 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48287 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48288 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48289 fi
48290
48291 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48292 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48293 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48294 fi
48295
48296 COND_PLATFORM_WIN32_0="#"
48297 if test "x$PLATFORM_WIN32" = "x0" ; then
48298 COND_PLATFORM_WIN32_0=""
48299 fi
48300
48301 COND_PLATFORM_WIN32_1="#"
48302 if test "x$PLATFORM_WIN32" = "x1" ; then
48303 COND_PLATFORM_WIN32_1=""
48304 fi
48305
48306 COND_SHARED_0="#"
48307 if test "x$SHARED" = "x0" ; then
48308 COND_SHARED_0=""
48309 fi
48310
48311 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48312 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48313 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48314 fi
48315
48316 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48317 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48318 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48319 fi
48320
48321 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48322 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48323 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48324 fi
48325
48326 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48327 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48328 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48329 fi
48330
48331 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48332 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48333 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48334 fi
48335
48336 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48337 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48338 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48339 fi
48340
48341 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48342 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48343 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48344 fi
48345
48346 COND_SHARED_0_USE_STC_1="#"
48347 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48348 COND_SHARED_0_USE_STC_1=""
48349 fi
48350
48351 COND_SHARED_0_USE_XRC_1="#"
48352 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48353 COND_SHARED_0_USE_XRC_1=""
48354 fi
48355
48356 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48357 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48358 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48359 fi
48360
48361 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48362 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48363 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48364 fi
48365
48366 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48367 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48368 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48369 fi
48370
48371 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48372 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48373 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48374 fi
48375
48376 COND_SHARED_1="#"
48377 if test "x$SHARED" = "x1" ; then
48378 COND_SHARED_1=""
48379 fi
48380
48381 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48382 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48383 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48384 fi
48385
48386 COND_SHARED_1_USE_XRC_1="#"
48387 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48388 COND_SHARED_1_USE_XRC_1=""
48389 fi
48390
48391 COND_TOOLKIT_="#"
48392 if test "x$TOOLKIT" = "x" ; then
48393 COND_TOOLKIT_=""
48394 fi
48395
48396 COND_TOOLKIT_COCOA="#"
48397 if test "x$TOOLKIT" = "xCOCOA" ; then
48398 COND_TOOLKIT_COCOA=""
48399 fi
48400
48401 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48402 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48403 COND_TOOLKIT_COCOA_USE_GUI_1=""
48404 fi
48405
48406 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48407 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48408 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48409 fi
48410
48411 COND_TOOLKIT_DFB="#"
48412 if test "x$TOOLKIT" = "xDFB" ; then
48413 COND_TOOLKIT_DFB=""
48414 fi
48415
48416 COND_TOOLKIT_DFB_USE_GUI_1="#"
48417 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48418 COND_TOOLKIT_DFB_USE_GUI_1=""
48419 fi
48420
48421 COND_TOOLKIT_GTK="#"
48422 if test "x$TOOLKIT" = "xGTK" ; then
48423 COND_TOOLKIT_GTK=""
48424 fi
48425
48426 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48427 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48429 fi
48430
48431 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48432 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48433 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48434 fi
48435
48436 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48437 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48438 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48439 fi
48440
48441 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48442 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48443 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48444 fi
48445
48446 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48447 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48448 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48449 fi
48450
48451 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48452 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48453 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48454 fi
48455
48456 COND_TOOLKIT_GTK_USE_GUI_1="#"
48457 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48458 COND_TOOLKIT_GTK_USE_GUI_1=""
48459 fi
48460
48461 COND_TOOLKIT_MAC="#"
48462 if test "x$TOOLKIT" = "xMAC" ; then
48463 COND_TOOLKIT_MAC=""
48464 fi
48465
48466 COND_TOOLKIT_MAC_USE_GUI_1="#"
48467 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48468 COND_TOOLKIT_MAC_USE_GUI_1=""
48469 fi
48470
48471 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48472 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48474 fi
48475
48476 COND_TOOLKIT_MGL="#"
48477 if test "x$TOOLKIT" = "xMGL" ; then
48478 COND_TOOLKIT_MGL=""
48479 fi
48480
48481 COND_TOOLKIT_MGL_USE_GUI_1="#"
48482 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48483 COND_TOOLKIT_MGL_USE_GUI_1=""
48484 fi
48485
48486 COND_TOOLKIT_MOTIF="#"
48487 if test "x$TOOLKIT" = "xMOTIF" ; then
48488 COND_TOOLKIT_MOTIF=""
48489 fi
48490
48491 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48492 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48493 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48494 fi
48495
48496 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48497 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48499 fi
48500
48501 COND_TOOLKIT_MSW="#"
48502 if test "x$TOOLKIT" = "xMSW" ; then
48503 COND_TOOLKIT_MSW=""
48504 fi
48505
48506 COND_TOOLKIT_MSW_USE_GUI_1="#"
48507 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48508 COND_TOOLKIT_MSW_USE_GUI_1=""
48509 fi
48510
48511 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48512 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48514 fi
48515
48516 COND_TOOLKIT_MSW_WXUNIV_0="#"
48517 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48518 COND_TOOLKIT_MSW_WXUNIV_0=""
48519 fi
48520
48521 COND_TOOLKIT_PM="#"
48522 if test "x$TOOLKIT" = "xPM" ; then
48523 COND_TOOLKIT_PM=""
48524 fi
48525
48526 COND_TOOLKIT_PM_USE_GUI_1="#"
48527 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48528 COND_TOOLKIT_PM_USE_GUI_1=""
48529 fi
48530
48531 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48532 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48533 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48534 fi
48535
48536 COND_TOOLKIT_WINCE="#"
48537 if test "x$TOOLKIT" = "xWINCE" ; then
48538 COND_TOOLKIT_WINCE=""
48539 fi
48540
48541 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48542 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48543 COND_TOOLKIT_WINCE_USE_GUI_1=""
48544 fi
48545
48546 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48547 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48548 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48549 fi
48550
48551 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48552 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48553 COND_TOOLKIT_WINCE_WXUNIV_0=""
48554 fi
48555
48556 COND_TOOLKIT_X11="#"
48557 if test "x$TOOLKIT" = "xX11" ; then
48558 COND_TOOLKIT_X11=""
48559 fi
48560
48561 COND_TOOLKIT_X11_USE_GUI_1="#"
48562 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48563 COND_TOOLKIT_X11_USE_GUI_1=""
48564 fi
48565
48566 COND_UNICODE_1="#"
48567 if test "x$UNICODE" = "x1" ; then
48568 COND_UNICODE_1=""
48569 fi
48570
48571 COND_USE_EXCEPTIONS_0="#"
48572 if test "x$USE_EXCEPTIONS" = "x0" ; then
48573 COND_USE_EXCEPTIONS_0=""
48574 fi
48575
48576 COND_USE_EXCEPTIONS_1="#"
48577 if test "x$USE_EXCEPTIONS" = "x1" ; then
48578 COND_USE_EXCEPTIONS_1=""
48579 fi
48580
48581 COND_USE_GUI_0="#"
48582 if test "x$USE_GUI" = "x0" ; then
48583 COND_USE_GUI_0=""
48584 fi
48585
48586 COND_USE_GUI_1="#"
48587 if test "x$USE_GUI" = "x1" ; then
48588 COND_USE_GUI_1=""
48589 fi
48590
48591 COND_USE_GUI_1_USE_OPENGL_1="#"
48592 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48593 COND_USE_GUI_1_USE_OPENGL_1=""
48594 fi
48595
48596 COND_USE_GUI_1_WXUNIV_0="#"
48597 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48598 COND_USE_GUI_1_WXUNIV_0=""
48599 fi
48600
48601 COND_USE_GUI_1_WXUNIV_1="#"
48602 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48603 COND_USE_GUI_1_WXUNIV_1=""
48604 fi
48605
48606 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48607 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48608 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48609 fi
48610
48611 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48612 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48613 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48614 fi
48615
48616 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48617 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48618 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48619 fi
48620
48621 COND_USE_ODBC_1="#"
48622 if test "x$USE_ODBC" = "x1" ; then
48623 COND_USE_ODBC_1=""
48624 fi
48625
48626 COND_USE_OPENGL_1="#"
48627 if test "x$USE_OPENGL" = "x1" ; then
48628 COND_USE_OPENGL_1=""
48629 fi
48630
48631 COND_USE_PCH_1="#"
48632 if test "x$USE_PCH" = "x1" ; then
48633 COND_USE_PCH_1=""
48634 fi
48635
48636 COND_USE_PLUGINS_0="#"
48637 if test "x$USE_PLUGINS" = "x0" ; then
48638 COND_USE_PLUGINS_0=""
48639 fi
48640
48641 COND_USE_RTTI_0="#"
48642 if test "x$USE_RTTI" = "x0" ; then
48643 COND_USE_RTTI_0=""
48644 fi
48645
48646 COND_USE_RTTI_1="#"
48647 if test "x$USE_RTTI" = "x1" ; then
48648 COND_USE_RTTI_1=""
48649 fi
48650
48651 COND_USE_SOSYMLINKS_1="#"
48652 if test "x$USE_SOSYMLINKS" = "x1" ; then
48653 COND_USE_SOSYMLINKS_1=""
48654 fi
48655
48656 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48657 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48658 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48659 fi
48660
48661 COND_USE_SOVERLINUX_1="#"
48662 if test "x$USE_SOVERLINUX" = "x1" ; then
48663 COND_USE_SOVERLINUX_1=""
48664 fi
48665
48666 COND_USE_SOVERSION_0="#"
48667 if test "x$USE_SOVERSION" = "x0" ; then
48668 COND_USE_SOVERSION_0=""
48669 fi
48670
48671 COND_USE_SOVERSOLARIS_1="#"
48672 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48673 COND_USE_SOVERSOLARIS_1=""
48674 fi
48675
48676 COND_USE_STC_1="#"
48677 if test "x$USE_STC" = "x1" ; then
48678 COND_USE_STC_1=""
48679 fi
48680
48681 COND_USE_THREADS_0="#"
48682 if test "x$USE_THREADS" = "x0" ; then
48683 COND_USE_THREADS_0=""
48684 fi
48685
48686 COND_USE_THREADS_1="#"
48687 if test "x$USE_THREADS" = "x1" ; then
48688 COND_USE_THREADS_1=""
48689 fi
48690
48691 COND_USE_XRC_1="#"
48692 if test "x$USE_XRC" = "x1" ; then
48693 COND_USE_XRC_1=""
48694 fi
48695
48696 COND_WINDOWS_IMPLIB_1="#"
48697 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48698 COND_WINDOWS_IMPLIB_1=""
48699 fi
48700
48701 COND_WITH_PLUGIN_SDL_1="#"
48702 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48703 COND_WITH_PLUGIN_SDL_1=""
48704 fi
48705
48706 COND_WXUNIV_0="#"
48707 if test "x$WXUNIV" = "x0" ; then
48708 COND_WXUNIV_0=""
48709 fi
48710
48711 COND_WXUNIV_1="#"
48712 if test "x$WXUNIV" = "x1" ; then
48713 COND_WXUNIV_1=""
48714 fi
48715
48716 COND_WXUSE_EXPAT_BUILTIN="#"
48717 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48718 COND_WXUSE_EXPAT_BUILTIN=""
48719 fi
48720
48721 COND_WXUSE_LIBJPEG_BUILTIN="#"
48722 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48723 COND_WXUSE_LIBJPEG_BUILTIN=""
48724 fi
48725
48726 COND_WXUSE_LIBPNG_BUILTIN="#"
48727 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48728 COND_WXUSE_LIBPNG_BUILTIN=""
48729 fi
48730
48731 COND_WXUSE_LIBTIFF_BUILTIN="#"
48732 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48733 COND_WXUSE_LIBTIFF_BUILTIN=""
48734 fi
48735
48736 COND_WXUSE_ODBC_BUILTIN="#"
48737 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48738 COND_WXUSE_ODBC_BUILTIN=""
48739 fi
48740
48741 COND_WXUSE_REGEX_BUILTIN="#"
48742 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48743 COND_WXUSE_REGEX_BUILTIN=""
48744 fi
48745
48746 COND_WXUSE_ZLIB_BUILTIN="#"
48747 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48748 COND_WXUSE_ZLIB_BUILTIN=""
48749 fi
48750
48751
48752
48753 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48754 { { 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
48755 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;}
48756 { (exit 1); exit 1; }; }
48757 fi
48758
48759 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48760 { { 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
48761 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;}
48762 { (exit 1); exit 1; }; }
48763 fi
48764
48765
48766 if test $GCC_PCH = 1
48767 then
48768 if test "$wx_cv_gcc_pch_bug" = yes; then
48769 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48770 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48771 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48772 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48773 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48774 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48775 fi
48776
48777 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48778 fi
48779
48780
48781 if test "$wxUSE_MAC" = 1 ; then
48782 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48783 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48784 mv temp bk-deps
48785 chmod +x bk-deps
48786 fi
48787 fi
48788
48789 if test "$wxUSE_SHARED" = "yes"; then
48790
48791 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48792 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48793
48794 case "${host}" in
48795 *-pc-os2_emx | *-pc-os2-emx )
48796 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48797 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48798 cp -p ${srcdir}/src/os2/dllnames.sh .
48799 cp -p ${srcdir}/src/os2/dllar.sh .
48800 ;;
48801 esac
48802 else
48803
48804 EXE_LINKER="$CXX -o"
48805
48806 fi
48807 if test "$wxUSE_OMF" = "yes"; then
48808 case "${host}" in
48809 *-pc-os2_emx | *-pc-os2-emx )
48810 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48811 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48812 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48813 ;;
48814 esac
48815 fi
48816
48817 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48818
48819 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48882 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48883 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48884 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48885 echo $ECHO_N "(cached) $ECHO_C" >&6
48886 else
48887 cat >conftest.make <<\_ACEOF
48888 SHELL = /bin/sh
48889 all:
48890 @echo '@@@%%%=$(MAKE)=@@@%%%'
48891 _ACEOF
48892 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48893 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48894 *@@@%%%=?*=@@@%%%*)
48895 eval ac_cv_prog_make_${ac_make}_set=yes;;
48896 *)
48897 eval ac_cv_prog_make_${ac_make}_set=no;;
48898 esac
48899 rm -f conftest.make
48900 fi
48901 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48902 { echo "$as_me:$LINENO: result: yes" >&5
48903 echo "${ECHO_T}yes" >&6; }
48904 SET_MAKE=
48905 else
48906 { echo "$as_me:$LINENO: result: no" >&5
48907 echo "${ECHO_T}no" >&6; }
48908 SET_MAKE="MAKE=${MAKE-make}"
48909 fi
48910
48911
48912
48913 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48914
48915
48916 if test "$USE_WIN32" = 1; then
48917 ac_config_commands="$ac_config_commands
48918 rcdefs.h
48919 "
48920
48921 fi
48922
48923 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48924
48925
48926 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48927
48928
48929 if test "$wx_cv_version_script" = "yes"; then
48930 ac_config_files="$ac_config_files version-script"
48931
48932 fi
48933 ac_config_files="$ac_config_files Makefile"
48934
48935
48936 ac_config_commands="$ac_config_commands wx-config"
48937
48938
48939
48940 if test "$wxWITH_SUBDIRS" != "no"; then
48941 if test "$wxUSE_GUI" = "yes"; then
48942 SUBDIRS="samples demos utils"
48943 else SUBDIRS="samples utils"
48944 fi
48945
48946
48947
48948 # Check whether --with-cppunit-prefix was given.
48949 if test "${with_cppunit_prefix+set}" = set; then
48950 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48951 else
48952 cppunit_config_prefix=""
48953 fi
48954
48955
48956 # Check whether --with-cppunit-exec-prefix was given.
48957 if test "${with_cppunit_exec_prefix+set}" = set; then
48958 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48959 else
48960 cppunit_config_exec_prefix=""
48961 fi
48962
48963
48964 if test x$cppunit_config_exec_prefix != x ; then
48965 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48966 if test x${CPPUNIT_CONFIG+set} != xset ; then
48967 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48968 fi
48969 fi
48970 if test x$cppunit_config_prefix != x ; then
48971 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48972 if test x${CPPUNIT_CONFIG+set} != xset ; then
48973 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48974 fi
48975 fi
48976
48977 # Extract the first word of "cppunit-config", so it can be a program name with args.
48978 set dummy cppunit-config; ac_word=$2
48979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48981 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48982 echo $ECHO_N "(cached) $ECHO_C" >&6
48983 else
48984 case $CPPUNIT_CONFIG in
48985 [\\/]* | ?:[\\/]*)
48986 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48987 ;;
48988 *)
48989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48990 for as_dir in $PATH
48991 do
48992 IFS=$as_save_IFS
48993 test -z "$as_dir" && as_dir=.
48994 for ac_exec_ext in '' $ac_executable_extensions; do
48995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48996 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48998 break 2
48999 fi
49000 done
49001 done
49002 IFS=$as_save_IFS
49003
49004 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49005 ;;
49006 esac
49007 fi
49008 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49009 if test -n "$CPPUNIT_CONFIG"; then
49010 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49011 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49012 else
49013 { echo "$as_me:$LINENO: result: no" >&5
49014 echo "${ECHO_T}no" >&6; }
49015 fi
49016
49017
49018 cppunit_version_min=1.8.0
49019
49020 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49021 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49022 no_cppunit=""
49023 if test "$CPPUNIT_CONFIG" = "no" ; then
49024 { echo "$as_me:$LINENO: result: no" >&5
49025 echo "${ECHO_T}no" >&6; }
49026 no_cppunit=yes
49027 else
49028 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49029 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49030 cppunit_version=`$CPPUNIT_CONFIG --version`
49031
49032 cppunit_major_version=`echo $cppunit_version | \
49033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49034 cppunit_minor_version=`echo $cppunit_version | \
49035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49036 cppunit_micro_version=`echo $cppunit_version | \
49037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49038
49039 cppunit_major_min=`echo $cppunit_version_min | \
49040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49041 if test "x${cppunit_major_min}" = "x" ; then
49042 cppunit_major_min=0
49043 fi
49044
49045 cppunit_minor_min=`echo $cppunit_version_min | \
49046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49047 if test "x${cppunit_minor_min}" = "x" ; then
49048 cppunit_minor_min=0
49049 fi
49050
49051 cppunit_micro_min=`echo $cppunit_version_min | \
49052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49053 if test "x${cppunit_micro_min}" = "x" ; then
49054 cppunit_micro_min=0
49055 fi
49056
49057 cppunit_version_proper=`expr \
49058 $cppunit_major_version \> $cppunit_major_min \| \
49059 $cppunit_major_version \= $cppunit_major_min \& \
49060 $cppunit_minor_version \> $cppunit_minor_min \| \
49061 $cppunit_major_version \= $cppunit_major_min \& \
49062 $cppunit_minor_version \= $cppunit_minor_min \& \
49063 $cppunit_micro_version \>= $cppunit_micro_min `
49064
49065 if test "$cppunit_version_proper" = "1" ; then
49066 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49067 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49068 else
49069 { echo "$as_me:$LINENO: result: no" >&5
49070 echo "${ECHO_T}no" >&6; }
49071 no_cppunit=yes
49072 fi
49073 fi
49074
49075 if test "x$no_cppunit" = x ; then
49076 SUBDIRS="$SUBDIRS tests"
49077 else
49078 CPPUNIT_CFLAGS=""
49079 CPPUNIT_LIBS=""
49080 :
49081 fi
49082
49083
49084
49085
49086
49087 for subdir in `echo $SUBDIRS`; do
49088 if test -d ${srcdir}/${subdir} ; then
49089 if test "$wxUSE_GUI" = "yes"; then
49090 if test ${subdir} = "samples"; then
49091 makefiles="samples/Makefile.in $makefiles"
49092 for sample in `echo $SAMPLES_SUBDIRS`; do
49093 if test -d $srcdir/samples/$sample; then
49094 makefiles="samples/$sample/Makefile.in $makefiles"
49095 fi
49096 done
49097 else
49098 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49099 eval "disabled=\$$disabled_var"
49100 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49101 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49102 fi
49103 else if test ${subdir} = "samples"; then
49104 makefiles="samples/Makefile.in samples/console/Makefile.in"
49105 elif test ${subdir} = "utils"; then
49106 makefiles=""
49107 for util in HelpGen tex2rtf ; do
49108 if test -d $srcdir/utils/$util ; then
49109 makefiles="utils/$util/Makefile.in \
49110 utils/$util/src/Makefile.in \
49111 $makefiles"
49112 fi
49113 done
49114 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49115 fi
49116 fi
49117
49118 for mkin in $makefiles ; do
49119 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49120 ac_config_files="$ac_config_files $mk"
49121
49122 done
49123 fi
49124 done
49125 fi
49126 cat >confcache <<\_ACEOF
49127 # This file is a shell script that caches the results of configure
49128 # tests run on this system so they can be shared between configure
49129 # scripts and configure runs, see configure's option --config-cache.
49130 # It is not useful on other systems. If it contains results you don't
49131 # want to keep, you may remove or edit it.
49132 #
49133 # config.status only pays attention to the cache file if you give it
49134 # the --recheck option to rerun configure.
49135 #
49136 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49137 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49138 # following values.
49139
49140 _ACEOF
49141
49142 # The following way of writing the cache mishandles newlines in values,
49143 # but we know of no workaround that is simple, portable, and efficient.
49144 # So, we kill variables containing newlines.
49145 # Ultrix sh set writes to stderr and can't be redirected directly,
49146 # and sets the high bit in the cache file unless we assign to the vars.
49147 (
49148 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49149 eval ac_val=\$$ac_var
49150 case $ac_val in #(
49151 *${as_nl}*)
49152 case $ac_var in #(
49153 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49154 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49155 esac
49156 case $ac_var in #(
49157 _ | IFS | as_nl) ;; #(
49158 *) $as_unset $ac_var ;;
49159 esac ;;
49160 esac
49161 done
49162
49163 (set) 2>&1 |
49164 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49165 *${as_nl}ac_space=\ *)
49166 # `set' does not quote correctly, so add quotes (double-quote
49167 # substitution turns \\\\ into \\, and sed turns \\ into \).
49168 sed -n \
49169 "s/'/'\\\\''/g;
49170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49171 ;; #(
49172 *)
49173 # `set' quotes correctly as required by POSIX, so do not add quotes.
49174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49175 ;;
49176 esac |
49177 sort
49178 ) |
49179 sed '
49180 /^ac_cv_env_/b end
49181 t clear
49182 :clear
49183 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49184 t end
49185 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49186 :end' >>confcache
49187 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49188 if test -w "$cache_file"; then
49189 test "x$cache_file" != "x/dev/null" &&
49190 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49191 echo "$as_me: updating cache $cache_file" >&6;}
49192 cat confcache >$cache_file
49193 else
49194 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49195 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49196 fi
49197 fi
49198 rm -f confcache
49199
49200 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49201 # Let make expand exec_prefix.
49202 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49203
49204 DEFS=-DHAVE_CONFIG_H
49205
49206 ac_libobjs=
49207 ac_ltlibobjs=
49208 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49209 # 1. Remove the extension, and $U if already installed.
49210 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49211 ac_i=`echo "$ac_i" | sed "$ac_script"`
49212 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49213 # will be set to the directory where LIBOBJS objects are built.
49214 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49215 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49216 done
49217 LIBOBJS=$ac_libobjs
49218
49219 LTLIBOBJS=$ac_ltlibobjs
49220
49221
49222
49223 : ${CONFIG_STATUS=./config.status}
49224 ac_clean_files_save=$ac_clean_files
49225 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49226 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49227 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49228 cat >$CONFIG_STATUS <<_ACEOF
49229 #! $SHELL
49230 # Generated by $as_me.
49231 # Run this file to recreate the current configuration.
49232 # Compiler output produced by configure, useful for debugging
49233 # configure, is in config.log if it exists.
49234
49235 debug=false
49236 ac_cs_recheck=false
49237 ac_cs_silent=false
49238 SHELL=\${CONFIG_SHELL-$SHELL}
49239 _ACEOF
49240
49241 cat >>$CONFIG_STATUS <<\_ACEOF
49242 ## --------------------- ##
49243 ## M4sh Initialization. ##
49244 ## --------------------- ##
49245
49246 # Be more Bourne compatible
49247 DUALCASE=1; export DUALCASE # for MKS sh
49248 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49249 emulate sh
49250 NULLCMD=:
49251 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49252 # is contrary to our usage. Disable this feature.
49253 alias -g '${1+"$@"}'='"$@"'
49254 setopt NO_GLOB_SUBST
49255 else
49256 case `(set -o) 2>/dev/null` in
49257 *posix*) set -o posix ;;
49258 esac
49259
49260 fi
49261
49262
49263
49264
49265 # PATH needs CR
49266 # Avoid depending upon Character Ranges.
49267 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49268 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49269 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49270 as_cr_digits='0123456789'
49271 as_cr_alnum=$as_cr_Letters$as_cr_digits
49272
49273 # The user is always right.
49274 if test "${PATH_SEPARATOR+set}" != set; then
49275 echo "#! /bin/sh" >conf$$.sh
49276 echo "exit 0" >>conf$$.sh
49277 chmod +x conf$$.sh
49278 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49279 PATH_SEPARATOR=';'
49280 else
49281 PATH_SEPARATOR=:
49282 fi
49283 rm -f conf$$.sh
49284 fi
49285
49286 # Support unset when possible.
49287 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49288 as_unset=unset
49289 else
49290 as_unset=false
49291 fi
49292
49293
49294 # IFS
49295 # We need space, tab and new line, in precisely that order. Quoting is
49296 # there to prevent editors from complaining about space-tab.
49297 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49298 # splitting by setting IFS to empty value.)
49299 as_nl='
49300 '
49301 IFS=" "" $as_nl"
49302
49303 # Find who we are. Look in the path if we contain no directory separator.
49304 case $0 in
49305 *[\\/]* ) as_myself=$0 ;;
49306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49307 for as_dir in $PATH
49308 do
49309 IFS=$as_save_IFS
49310 test -z "$as_dir" && as_dir=.
49311 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49312 done
49313 IFS=$as_save_IFS
49314
49315 ;;
49316 esac
49317 # We did not find ourselves, most probably we were run as `sh COMMAND'
49318 # in which case we are not to be found in the path.
49319 if test "x$as_myself" = x; then
49320 as_myself=$0
49321 fi
49322 if test ! -f "$as_myself"; then
49323 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49324 { (exit 1); exit 1; }
49325 fi
49326
49327 # Work around bugs in pre-3.0 UWIN ksh.
49328 for as_var in ENV MAIL MAILPATH
49329 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49330 done
49331 PS1='$ '
49332 PS2='> '
49333 PS4='+ '
49334
49335 # NLS nuisances.
49336 for as_var in \
49337 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49338 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49339 LC_TELEPHONE LC_TIME
49340 do
49341 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49342 eval $as_var=C; export $as_var
49343 else
49344 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49345 fi
49346 done
49347
49348 # Required to use basename.
49349 if expr a : '\(a\)' >/dev/null 2>&1 &&
49350 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49351 as_expr=expr
49352 else
49353 as_expr=false
49354 fi
49355
49356 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49357 as_basename=basename
49358 else
49359 as_basename=false
49360 fi
49361
49362
49363 # Name of the executable.
49364 as_me=`$as_basename -- "$0" ||
49365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49366 X"$0" : 'X\(//\)$' \| \
49367 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49368 echo X/"$0" |
49369 sed '/^.*\/\([^/][^/]*\)\/*$/{
49370 s//\1/
49371 q
49372 }
49373 /^X\/\(\/\/\)$/{
49374 s//\1/
49375 q
49376 }
49377 /^X\/\(\/\).*/{
49378 s//\1/
49379 q
49380 }
49381 s/.*/./; q'`
49382
49383 # CDPATH.
49384 $as_unset CDPATH
49385
49386
49387
49388 as_lineno_1=$LINENO
49389 as_lineno_2=$LINENO
49390 test "x$as_lineno_1" != "x$as_lineno_2" &&
49391 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49392
49393 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49394 # uniformly replaced by the line number. The first 'sed' inserts a
49395 # line-number line after each line using $LINENO; the second 'sed'
49396 # does the real work. The second script uses 'N' to pair each
49397 # line-number line with the line containing $LINENO, and appends
49398 # trailing '-' during substitution so that $LINENO is not a special
49399 # case at line end.
49400 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49401 # scripts with optimization help from Paolo Bonzini. Blame Lee
49402 # E. McMahon (1931-1989) for sed's syntax. :-)
49403 sed -n '
49404 p
49405 /[$]LINENO/=
49406 ' <$as_myself |
49407 sed '
49408 s/[$]LINENO.*/&-/
49409 t lineno
49410 b
49411 :lineno
49412 N
49413 :loop
49414 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49415 t loop
49416 s/-\n.*//
49417 ' >$as_me.lineno &&
49418 chmod +x "$as_me.lineno" ||
49419 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49420 { (exit 1); exit 1; }; }
49421
49422 # Don't try to exec as it changes $[0], causing all sort of problems
49423 # (the dirname of $[0] is not the place where we might find the
49424 # original and so on. Autoconf is especially sensitive to this).
49425 . "./$as_me.lineno"
49426 # Exit status is that of the last command.
49427 exit
49428 }
49429
49430
49431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49432 as_dirname=dirname
49433 else
49434 as_dirname=false
49435 fi
49436
49437 ECHO_C= ECHO_N= ECHO_T=
49438 case `echo -n x` in
49439 -n*)
49440 case `echo 'x\c'` in
49441 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49442 *) ECHO_C='\c';;
49443 esac;;
49444 *)
49445 ECHO_N='-n';;
49446 esac
49447
49448 if expr a : '\(a\)' >/dev/null 2>&1 &&
49449 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49450 as_expr=expr
49451 else
49452 as_expr=false
49453 fi
49454
49455 rm -f conf$$ conf$$.exe conf$$.file
49456 if test -d conf$$.dir; then
49457 rm -f conf$$.dir/conf$$.file
49458 else
49459 rm -f conf$$.dir
49460 mkdir conf$$.dir
49461 fi
49462 echo >conf$$.file
49463 if ln -s conf$$.file conf$$ 2>/dev/null; then
49464 as_ln_s='ln -s'
49465 # ... but there are two gotchas:
49466 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49467 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49468 # In both cases, we have to default to `cp -p'.
49469 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49470 as_ln_s='cp -p'
49471 elif ln conf$$.file conf$$ 2>/dev/null; then
49472 as_ln_s=ln
49473 else
49474 as_ln_s='cp -p'
49475 fi
49476 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49477 rmdir conf$$.dir 2>/dev/null
49478
49479 if mkdir -p . 2>/dev/null; then
49480 as_mkdir_p=:
49481 else
49482 test -d ./-p && rmdir ./-p
49483 as_mkdir_p=false
49484 fi
49485
49486 if test -x / >/dev/null 2>&1; then
49487 as_test_x='test -x'
49488 else
49489 if ls -dL / >/dev/null 2>&1; then
49490 as_ls_L_option=L
49491 else
49492 as_ls_L_option=
49493 fi
49494 as_test_x='
49495 eval sh -c '\''
49496 if test -d "$1"; then
49497 test -d "$1/.";
49498 else
49499 case $1 in
49500 -*)set "./$1";;
49501 esac;
49502 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49503 ???[sx]*):;;*)false;;esac;fi
49504 '\'' sh
49505 '
49506 fi
49507 as_executable_p=$as_test_x
49508
49509 # Sed expression to map a string onto a valid CPP name.
49510 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49511
49512 # Sed expression to map a string onto a valid variable name.
49513 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49514
49515
49516 exec 6>&1
49517
49518 # Save the log message, to keep $[0] and so on meaningful, and to
49519 # report actual input values of CONFIG_FILES etc. instead of their
49520 # values after options handling.
49521 ac_log="
49522 This file was extended by wxWidgets $as_me 2.9.0, which was
49523 generated by GNU Autoconf 2.61. Invocation command line was
49524
49525 CONFIG_FILES = $CONFIG_FILES
49526 CONFIG_HEADERS = $CONFIG_HEADERS
49527 CONFIG_LINKS = $CONFIG_LINKS
49528 CONFIG_COMMANDS = $CONFIG_COMMANDS
49529 $ $0 $@
49530
49531 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49532 "
49533
49534 _ACEOF
49535
49536 cat >>$CONFIG_STATUS <<_ACEOF
49537 # Files that config.status was made for.
49538 config_files="$ac_config_files"
49539 config_headers="$ac_config_headers"
49540 config_commands="$ac_config_commands"
49541
49542 _ACEOF
49543
49544 cat >>$CONFIG_STATUS <<\_ACEOF
49545 ac_cs_usage="\
49546 \`$as_me' instantiates files from templates according to the
49547 current configuration.
49548
49549 Usage: $0 [OPTIONS] [FILE]...
49550
49551 -h, --help print this help, then exit
49552 -V, --version print version number and configuration settings, then exit
49553 -q, --quiet do not print progress messages
49554 -d, --debug don't remove temporary files
49555 --recheck update $as_me by reconfiguring in the same conditions
49556 --file=FILE[:TEMPLATE]
49557 instantiate the configuration file FILE
49558 --header=FILE[:TEMPLATE]
49559 instantiate the configuration header FILE
49560
49561 Configuration files:
49562 $config_files
49563
49564 Configuration headers:
49565 $config_headers
49566
49567 Configuration commands:
49568 $config_commands
49569
49570 Report bugs to <bug-autoconf@gnu.org>."
49571
49572 _ACEOF
49573 cat >>$CONFIG_STATUS <<_ACEOF
49574 ac_cs_version="\\
49575 wxWidgets config.status 2.9.0
49576 configured by $0, generated by GNU Autoconf 2.61,
49577 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49578
49579 Copyright (C) 2006 Free Software Foundation, Inc.
49580 This config.status script is free software; the Free Software Foundation
49581 gives unlimited permission to copy, distribute and modify it."
49582
49583 ac_pwd='$ac_pwd'
49584 srcdir='$srcdir'
49585 INSTALL='$INSTALL'
49586 _ACEOF
49587
49588 cat >>$CONFIG_STATUS <<\_ACEOF
49589 # If no file are specified by the user, then we need to provide default
49590 # value. By we need to know if files were specified by the user.
49591 ac_need_defaults=:
49592 while test $# != 0
49593 do
49594 case $1 in
49595 --*=*)
49596 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49597 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49598 ac_shift=:
49599 ;;
49600 *)
49601 ac_option=$1
49602 ac_optarg=$2
49603 ac_shift=shift
49604 ;;
49605 esac
49606
49607 case $ac_option in
49608 # Handling of the options.
49609 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49610 ac_cs_recheck=: ;;
49611 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49612 echo "$ac_cs_version"; exit ;;
49613 --debug | --debu | --deb | --de | --d | -d )
49614 debug=: ;;
49615 --file | --fil | --fi | --f )
49616 $ac_shift
49617 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49618 ac_need_defaults=false;;
49619 --header | --heade | --head | --hea )
49620 $ac_shift
49621 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49622 ac_need_defaults=false;;
49623 --he | --h)
49624 # Conflict between --help and --header
49625 { echo "$as_me: error: ambiguous option: $1
49626 Try \`$0 --help' for more information." >&2
49627 { (exit 1); exit 1; }; };;
49628 --help | --hel | -h )
49629 echo "$ac_cs_usage"; exit ;;
49630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49631 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49632 ac_cs_silent=: ;;
49633
49634 # This is an error.
49635 -*) { echo "$as_me: error: unrecognized option: $1
49636 Try \`$0 --help' for more information." >&2
49637 { (exit 1); exit 1; }; } ;;
49638
49639 *) ac_config_targets="$ac_config_targets $1"
49640 ac_need_defaults=false ;;
49641
49642 esac
49643 shift
49644 done
49645
49646 ac_configure_extra_args=
49647
49648 if $ac_cs_silent; then
49649 exec 6>/dev/null
49650 ac_configure_extra_args="$ac_configure_extra_args --silent"
49651 fi
49652
49653 _ACEOF
49654 cat >>$CONFIG_STATUS <<_ACEOF
49655 if \$ac_cs_recheck; then
49656 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49657 CONFIG_SHELL=$SHELL
49658 export CONFIG_SHELL
49659 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49660 fi
49661
49662 _ACEOF
49663 cat >>$CONFIG_STATUS <<\_ACEOF
49664 exec 5>>config.log
49665 {
49666 echo
49667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49668 ## Running $as_me. ##
49669 _ASBOX
49670 echo "$ac_log"
49671 } >&5
49672
49673 _ACEOF
49674 cat >>$CONFIG_STATUS <<_ACEOF
49675 #
49676 # INIT-COMMANDS
49677 #
49678
49679 CPP="$CPP"
49680 infile="$srcdir/include/wx/msw/genrcdefs.h"
49681 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49682
49683
49684 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49685 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49687 LN_S="${LN_S}"
49688
49689
49690 _ACEOF
49691
49692 cat >>$CONFIG_STATUS <<\_ACEOF
49693
49694 # Handling of arguments.
49695 for ac_config_target in $ac_config_targets
49696 do
49697 case $ac_config_target in
49698 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49699 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49700 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49701 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49702 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49703 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49704 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49705 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49706
49707 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49708 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49709 { (exit 1); exit 1; }; };;
49710 esac
49711 done
49712
49713
49714 # If the user did not use the arguments to specify the items to instantiate,
49715 # then the envvar interface is used. Set only those that are not.
49716 # We use the long form for the default assignment because of an extremely
49717 # bizarre bug on SunOS 4.1.3.
49718 if $ac_need_defaults; then
49719 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49720 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49721 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49722 fi
49723
49724 # Have a temporary directory for convenience. Make it in the build tree
49725 # simply because there is no reason against having it here, and in addition,
49726 # creating and moving files from /tmp can sometimes cause problems.
49727 # Hook for its removal unless debugging.
49728 # Note that there is a small window in which the directory will not be cleaned:
49729 # after its creation but before its name has been assigned to `$tmp'.
49730 $debug ||
49731 {
49732 tmp=
49733 trap 'exit_status=$?
49734 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49735 ' 0
49736 trap '{ (exit 1); exit 1; }' 1 2 13 15
49737 }
49738 # Create a (secure) tmp directory for tmp files.
49739
49740 {
49741 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49742 test -n "$tmp" && test -d "$tmp"
49743 } ||
49744 {
49745 tmp=./conf$$-$RANDOM
49746 (umask 077 && mkdir "$tmp")
49747 } ||
49748 {
49749 echo "$me: cannot create a temporary directory in ." >&2
49750 { (exit 1); exit 1; }
49751 }
49752
49753 #
49754 # Set up the sed scripts for CONFIG_FILES section.
49755 #
49756
49757 # No need to generate the scripts if there are no CONFIG_FILES.
49758 # This happens for instance when ./config.status config.h
49759 if test -n "$CONFIG_FILES"; then
49760
49761 _ACEOF
49762
49763
49764
49765 ac_delim='%!_!# '
49766 for ac_last_try in false false false false false :; do
49767 cat >conf$$subs.sed <<_ACEOF
49768 SHELL!$SHELL$ac_delim
49769 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49770 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49771 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49772 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49773 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49774 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49775 exec_prefix!$exec_prefix$ac_delim
49776 prefix!$prefix$ac_delim
49777 program_transform_name!$program_transform_name$ac_delim
49778 bindir!$bindir$ac_delim
49779 sbindir!$sbindir$ac_delim
49780 libexecdir!$libexecdir$ac_delim
49781 datarootdir!$datarootdir$ac_delim
49782 datadir!$datadir$ac_delim
49783 sysconfdir!$sysconfdir$ac_delim
49784 sharedstatedir!$sharedstatedir$ac_delim
49785 localstatedir!$localstatedir$ac_delim
49786 includedir!$includedir$ac_delim
49787 oldincludedir!$oldincludedir$ac_delim
49788 docdir!$docdir$ac_delim
49789 infodir!$infodir$ac_delim
49790 htmldir!$htmldir$ac_delim
49791 dvidir!$dvidir$ac_delim
49792 pdfdir!$pdfdir$ac_delim
49793 psdir!$psdir$ac_delim
49794 libdir!$libdir$ac_delim
49795 localedir!$localedir$ac_delim
49796 mandir!$mandir$ac_delim
49797 DEFS!$DEFS$ac_delim
49798 ECHO_C!$ECHO_C$ac_delim
49799 ECHO_N!$ECHO_N$ac_delim
49800 ECHO_T!$ECHO_T$ac_delim
49801 LIBS!$LIBS$ac_delim
49802 build_alias!$build_alias$ac_delim
49803 host_alias!$host_alias$ac_delim
49804 target_alias!$target_alias$ac_delim
49805 build!$build$ac_delim
49806 build_cpu!$build_cpu$ac_delim
49807 build_vendor!$build_vendor$ac_delim
49808 build_os!$build_os$ac_delim
49809 host!$host$ac_delim
49810 host_cpu!$host_cpu$ac_delim
49811 host_vendor!$host_vendor$ac_delim
49812 host_os!$host_os$ac_delim
49813 target!$target$ac_delim
49814 target_cpu!$target_cpu$ac_delim
49815 target_vendor!$target_vendor$ac_delim
49816 target_os!$target_os$ac_delim
49817 wx_top_builddir!$wx_top_builddir$ac_delim
49818 CC!$CC$ac_delim
49819 CFLAGS!$CFLAGS$ac_delim
49820 LDFLAGS!$LDFLAGS$ac_delim
49821 CPPFLAGS!$CPPFLAGS$ac_delim
49822 ac_ct_CC!$ac_ct_CC$ac_delim
49823 EXEEXT!$EXEEXT$ac_delim
49824 OBJEXT!$OBJEXT$ac_delim
49825 CPP!$CPP$ac_delim
49826 GREP!$GREP$ac_delim
49827 EGREP!$EGREP$ac_delim
49828 CXX!$CXX$ac_delim
49829 CXXFLAGS!$CXXFLAGS$ac_delim
49830 ac_ct_CXX!$ac_ct_CXX$ac_delim
49831 RANLIB!$RANLIB$ac_delim
49832 AR!$AR$ac_delim
49833 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49834 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49835 INSTALL_DATA!$INSTALL_DATA$ac_delim
49836 STRIP!$STRIP$ac_delim
49837 WINDRES!$WINDRES$ac_delim
49838 DLLTOOL!$DLLTOOL$ac_delim
49839 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49840 LN_S!$LN_S$ac_delim
49841 subdirs!$subdirs$ac_delim
49842 PKG_CONFIG!$PKG_CONFIG$ac_delim
49843 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49844 GTK_LIBS!$GTK_LIBS$ac_delim
49845 GTK_CONFIG!$GTK_CONFIG$ac_delim
49846 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49847 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49848 XMKMF!$XMKMF$ac_delim
49849 X_CFLAGS!$X_CFLAGS$ac_delim
49850 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49851 X_LIBS!$X_LIBS$ac_delim
49852 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49853 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49854 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49855 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49856 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49857 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49858 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49859 REZ!$REZ$ac_delim
49860 DEREZ!$DEREZ$ac_delim
49861 SETFILE!$SETFILE$ac_delim
49862 LIBICONV!$LIBICONV$ac_delim
49863 SDL_CONFIG!$SDL_CONFIG$ac_delim
49864 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49865 _ACEOF
49866
49867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49868 break
49869 elif $ac_last_try; then
49870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49872 { (exit 1); exit 1; }; }
49873 else
49874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49875 fi
49876 done
49877
49878 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49879 if test -n "$ac_eof"; then
49880 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49881 ac_eof=`expr $ac_eof + 1`
49882 fi
49883
49884 cat >>$CONFIG_STATUS <<_ACEOF
49885 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49887 _ACEOF
49888 sed '
49889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49890 s/^/s,@/; s/!/@,|#_!!_#|/
49891 :n
49892 t n
49893 s/'"$ac_delim"'$/,g/; t
49894 s/$/\\/; p
49895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49896 ' >>$CONFIG_STATUS <conf$$subs.sed
49897 rm -f conf$$subs.sed
49898 cat >>$CONFIG_STATUS <<_ACEOF
49899 CEOF$ac_eof
49900 _ACEOF
49901
49902
49903 ac_delim='%!_!# '
49904 for ac_last_try in false false false false false :; do
49905 cat >conf$$subs.sed <<_ACEOF
49906 SDL_LIBS!$SDL_LIBS$ac_delim
49907 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49908 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49909 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49910 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49911 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49912 HILDON_LIBS!$HILDON_LIBS$ac_delim
49913 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49914 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49915 GST_CFLAGS!$GST_CFLAGS$ac_delim
49916 GST_LIBS!$GST_LIBS$ac_delim
49917 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49918 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49919 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49920 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49921 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49922 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49923 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49924 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49925 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49926 VENDOR!$VENDOR$ac_delim
49927 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49928 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49929 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49930 WXUNIV!$WXUNIV$ac_delim
49931 MONOLITHIC!$MONOLITHIC$ac_delim
49932 USE_PLUGINS!$USE_PLUGINS$ac_delim
49933 EXTRALIBS!$EXTRALIBS$ac_delim
49934 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49935 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49936 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49937 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49938 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49939 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49940 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49941 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49942 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49943 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49944 UNICODE!$UNICODE$ac_delim
49945 BUILD!$BUILD$ac_delim
49946 DEBUG_INFO!$DEBUG_INFO$ac_delim
49947 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49948 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49949 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49950 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49951 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49952 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49953 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49954 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49955 SET_MAKE!$SET_MAKE$ac_delim
49956 MAKE_SET!$MAKE_SET$ac_delim
49957 AROPTIONS!$AROPTIONS$ac_delim
49958 NM!$NM$ac_delim
49959 INSTALL_DIR!$INSTALL_DIR$ac_delim
49960 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49961 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49962 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49963 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49964 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49965 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49966 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49967 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49968 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49969 SO_SUFFIX!$SO_SUFFIX$ac_delim
49970 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49971 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49972 LIBPREFIX!$LIBPREFIX$ac_delim
49973 LIBEXT!$LIBEXT$ac_delim
49974 DLLPREFIX!$DLLPREFIX$ac_delim
49975 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49976 dlldir!$dlldir$ac_delim
49977 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49978 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49979 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49980 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49981 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49982 PIC_FLAG!$PIC_FLAG$ac_delim
49983 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49984 USE_SOVERSION!$USE_SOVERSION$ac_delim
49985 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49986 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49987 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49988 USE_MACVERSION!$USE_MACVERSION$ac_delim
49989 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49990 SONAME_FLAG!$SONAME_FLAG$ac_delim
49991 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49992 BK_DEPS!$BK_DEPS$ac_delim
49993 GCC_PCH!$GCC_PCH$ac_delim
49994 ICC_PCH!$ICC_PCH$ac_delim
49995 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49996 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49997 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49998 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49999 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50000 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50001 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50002 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50003 _ACEOF
50004
50005 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50006 break
50007 elif $ac_last_try; then
50008 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50009 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50010 { (exit 1); exit 1; }; }
50011 else
50012 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50013 fi
50014 done
50015
50016 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50017 if test -n "$ac_eof"; then
50018 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50019 ac_eof=`expr $ac_eof + 1`
50020 fi
50021
50022 cat >>$CONFIG_STATUS <<_ACEOF
50023 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50024 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50025 _ACEOF
50026 sed '
50027 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50028 s/^/s,@/; s/!/@,|#_!!_#|/
50029 :n
50030 t n
50031 s/'"$ac_delim"'$/,g/; t
50032 s/$/\\/; p
50033 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50034 ' >>$CONFIG_STATUS <conf$$subs.sed
50035 rm -f conf$$subs.sed
50036 cat >>$CONFIG_STATUS <<_ACEOF
50037 CEOF$ac_eof
50038 _ACEOF
50039
50040
50041 ac_delim='%!_!# '
50042 for ac_last_try in false false false false false :; do
50043 cat >conf$$subs.sed <<_ACEOF
50044 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50045 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50046 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50047 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50048 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50049 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50050 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50051 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50052 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50053 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50054 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50055 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50057 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50061 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50062 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50063 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50064 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50065 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50066 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50068 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50069 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50071 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50072 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50073 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50074 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50075 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50076 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50077 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50078 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50079 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50080 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50081 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50082 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50083 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50084 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50085 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50086 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50087 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50088 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50089 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50090 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50091 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50092 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50093 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50094 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50095 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50096 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50097 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50099 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50101 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50102 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50103 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50104 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50105 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50106 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50107 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50108 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50109 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50110 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50111 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50112 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50113 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50114 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50115 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50116 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50117 COND_SHARED_0!$COND_SHARED_0$ac_delim
50118 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50119 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50120 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50121 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50122 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50123 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50124 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50125 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50126 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50127 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50128 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50129 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50130 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50131 COND_SHARED_1!$COND_SHARED_1$ac_delim
50132 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50133 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50134 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50135 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50136 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50137 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50138 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50139 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50140 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50141 _ACEOF
50142
50143 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50144 break
50145 elif $ac_last_try; then
50146 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50147 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50148 { (exit 1); exit 1; }; }
50149 else
50150 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50151 fi
50152 done
50153
50154 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50155 if test -n "$ac_eof"; then
50156 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50157 ac_eof=`expr $ac_eof + 1`
50158 fi
50159
50160 cat >>$CONFIG_STATUS <<_ACEOF
50161 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50162 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50163 _ACEOF
50164 sed '
50165 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50166 s/^/s,@/; s/!/@,|#_!!_#|/
50167 :n
50168 t n
50169 s/'"$ac_delim"'$/,g/; t
50170 s/$/\\/; p
50171 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50172 ' >>$CONFIG_STATUS <conf$$subs.sed
50173 rm -f conf$$subs.sed
50174 cat >>$CONFIG_STATUS <<_ACEOF
50175 CEOF$ac_eof
50176 _ACEOF
50177
50178
50179 ac_delim='%!_!# '
50180 for ac_last_try in false false false false false :; do
50181 cat >conf$$subs.sed <<_ACEOF
50182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50186 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50187 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50188 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50189 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50190 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50191 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50192 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50193 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50194 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50195 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50196 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50197 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50198 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50199 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50200 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50201 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50202 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50203 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50204 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50205 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50206 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50207 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50208 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50209 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50210 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50211 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50212 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50213 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50214 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50215 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50216 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50217 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50218 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50219 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50220 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50221 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50222 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50223 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50224 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50225 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50226 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50227 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50228 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50229 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50230 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50231 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50232 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50233 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50234 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50235 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50236 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50237 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50238 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50239 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50240 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50241 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50242 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50243 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50244 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50245 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50246 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50247 SHARED!$SHARED$ac_delim
50248 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50249 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50250 USE_GUI!$USE_GUI$ac_delim
50251 AFMINSTALL!$AFMINSTALL$ac_delim
50252 WIN32INSTALL!$WIN32INSTALL$ac_delim
50253 TOOLKIT!$TOOLKIT$ac_delim
50254 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50255 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50256 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50257 cross_compiling!$cross_compiling$ac_delim
50258 WIDGET_SET!$WIDGET_SET$ac_delim
50259 WX_RELEASE!$WX_RELEASE$ac_delim
50260 WX_VERSION!$WX_VERSION$ac_delim
50261 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50262 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50263 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50264 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50265 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50266 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50267 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50268 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50269 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50270 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50271 EXE_LINKER!$EXE_LINKER$ac_delim
50272 GUIDIST!$GUIDIST$ac_delim
50273 DISTDIR!$DISTDIR$ac_delim
50274 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50275 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50276 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50277 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50278 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50279 _ACEOF
50280
50281 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50282 break
50283 elif $ac_last_try; then
50284 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50285 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50286 { (exit 1); exit 1; }; }
50287 else
50288 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50289 fi
50290 done
50291
50292 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50293 if test -n "$ac_eof"; then
50294 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50295 ac_eof=`expr $ac_eof + 1`
50296 fi
50297
50298 cat >>$CONFIG_STATUS <<_ACEOF
50299 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50300 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50301 _ACEOF
50302 sed '
50303 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50304 s/^/s,@/; s/!/@,|#_!!_#|/
50305 :n
50306 t n
50307 s/'"$ac_delim"'$/,g/; t
50308 s/$/\\/; p
50309 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50310 ' >>$CONFIG_STATUS <conf$$subs.sed
50311 rm -f conf$$subs.sed
50312 cat >>$CONFIG_STATUS <<_ACEOF
50313 CEOF$ac_eof
50314 _ACEOF
50315
50316
50317 ac_delim='%!_!# '
50318 for ac_last_try in false false false false false :; do
50319 cat >conf$$subs.sed <<_ACEOF
50320 RESCOMP!$RESCOMP$ac_delim
50321 RESFLAGS!$RESFLAGS$ac_delim
50322 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50323 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50324 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50325 LIBWXMACRES!$LIBWXMACRES$ac_delim
50326 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50327 MACSETFILE!$MACSETFILE$ac_delim
50328 GCC!$GCC$ac_delim
50329 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50330 LIBOBJS!$LIBOBJS$ac_delim
50331 LTLIBOBJS!$LTLIBOBJS$ac_delim
50332 _ACEOF
50333
50334 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
50335 break
50336 elif $ac_last_try; then
50337 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50338 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50339 { (exit 1); exit 1; }; }
50340 else
50341 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50342 fi
50343 done
50344
50345 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50346 if test -n "$ac_eof"; then
50347 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50348 ac_eof=`expr $ac_eof + 1`
50349 fi
50350
50351 cat >>$CONFIG_STATUS <<_ACEOF
50352 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50354 _ACEOF
50355 sed '
50356 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50357 s/^/s,@/; s/!/@,|#_!!_#|/
50358 :n
50359 t n
50360 s/'"$ac_delim"'$/,g/; t
50361 s/$/\\/; p
50362 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50363 ' >>$CONFIG_STATUS <conf$$subs.sed
50364 rm -f conf$$subs.sed
50365 cat >>$CONFIG_STATUS <<_ACEOF
50366 :end
50367 s/|#_!!_#|//g
50368 CEOF$ac_eof
50369 _ACEOF
50370
50371
50372 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50373 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50374 # trailing colons and then remove the whole line if VPATH becomes empty
50375 # (actually we leave an empty line to preserve line numbers).
50376 if test "x$srcdir" = x.; then
50377 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50378 s/:*\$(srcdir):*/:/
50379 s/:*\${srcdir}:*/:/
50380 s/:*@srcdir@:*/:/
50381 s/^\([^=]*=[ ]*\):*/\1/
50382 s/:*$//
50383 s/^[^=]*=[ ]*$//
50384 }'
50385 fi
50386
50387 cat >>$CONFIG_STATUS <<\_ACEOF
50388 fi # test -n "$CONFIG_FILES"
50389
50390
50391 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50392 do
50393 case $ac_tag in
50394 :[FHLC]) ac_mode=$ac_tag; continue;;
50395 esac
50396 case $ac_mode$ac_tag in
50397 :[FHL]*:*);;
50398 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50399 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50400 { (exit 1); exit 1; }; };;
50401 :[FH]-) ac_tag=-:-;;
50402 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50403 esac
50404 ac_save_IFS=$IFS
50405 IFS=:
50406 set x $ac_tag
50407 IFS=$ac_save_IFS
50408 shift
50409 ac_file=$1
50410 shift
50411
50412 case $ac_mode in
50413 :L) ac_source=$1;;
50414 :[FH])
50415 ac_file_inputs=
50416 for ac_f
50417 do
50418 case $ac_f in
50419 -) ac_f="$tmp/stdin";;
50420 *) # Look for the file first in the build tree, then in the source tree
50421 # (if the path is not absolute). The absolute path cannot be DOS-style,
50422 # because $ac_f cannot contain `:'.
50423 test -f "$ac_f" ||
50424 case $ac_f in
50425 [\\/$]*) false;;
50426 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50427 esac ||
50428 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50429 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50430 { (exit 1); exit 1; }; };;
50431 esac
50432 ac_file_inputs="$ac_file_inputs $ac_f"
50433 done
50434
50435 # Let's still pretend it is `configure' which instantiates (i.e., don't
50436 # use $as_me), people would be surprised to read:
50437 # /* config.h. Generated by config.status. */
50438 configure_input="Generated from "`IFS=:
50439 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50440 if test x"$ac_file" != x-; then
50441 configure_input="$ac_file. $configure_input"
50442 { echo "$as_me:$LINENO: creating $ac_file" >&5
50443 echo "$as_me: creating $ac_file" >&6;}
50444 fi
50445
50446 case $ac_tag in
50447 *:-:* | *:-) cat >"$tmp/stdin";;
50448 esac
50449 ;;
50450 esac
50451
50452 ac_dir=`$as_dirname -- "$ac_file" ||
50453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50454 X"$ac_file" : 'X\(//\)[^/]' \| \
50455 X"$ac_file" : 'X\(//\)$' \| \
50456 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50457 echo X"$ac_file" |
50458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50459 s//\1/
50460 q
50461 }
50462 /^X\(\/\/\)[^/].*/{
50463 s//\1/
50464 q
50465 }
50466 /^X\(\/\/\)$/{
50467 s//\1/
50468 q
50469 }
50470 /^X\(\/\).*/{
50471 s//\1/
50472 q
50473 }
50474 s/.*/./; q'`
50475 { as_dir="$ac_dir"
50476 case $as_dir in #(
50477 -*) as_dir=./$as_dir;;
50478 esac
50479 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50480 as_dirs=
50481 while :; do
50482 case $as_dir in #(
50483 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50484 *) as_qdir=$as_dir;;
50485 esac
50486 as_dirs="'$as_qdir' $as_dirs"
50487 as_dir=`$as_dirname -- "$as_dir" ||
50488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50489 X"$as_dir" : 'X\(//\)[^/]' \| \
50490 X"$as_dir" : 'X\(//\)$' \| \
50491 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50492 echo X"$as_dir" |
50493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50494 s//\1/
50495 q
50496 }
50497 /^X\(\/\/\)[^/].*/{
50498 s//\1/
50499 q
50500 }
50501 /^X\(\/\/\)$/{
50502 s//\1/
50503 q
50504 }
50505 /^X\(\/\).*/{
50506 s//\1/
50507 q
50508 }
50509 s/.*/./; q'`
50510 test -d "$as_dir" && break
50511 done
50512 test -z "$as_dirs" || eval "mkdir $as_dirs"
50513 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50514 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50515 { (exit 1); exit 1; }; }; }
50516 ac_builddir=.
50517
50518 case "$ac_dir" in
50519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50520 *)
50521 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50522 # A ".." for each directory in $ac_dir_suffix.
50523 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50524 case $ac_top_builddir_sub in
50525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50527 esac ;;
50528 esac
50529 ac_abs_top_builddir=$ac_pwd
50530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50531 # for backward compatibility:
50532 ac_top_builddir=$ac_top_build_prefix
50533
50534 case $srcdir in
50535 .) # We are building in place.
50536 ac_srcdir=.
50537 ac_top_srcdir=$ac_top_builddir_sub
50538 ac_abs_top_srcdir=$ac_pwd ;;
50539 [\\/]* | ?:[\\/]* ) # Absolute name.
50540 ac_srcdir=$srcdir$ac_dir_suffix;
50541 ac_top_srcdir=$srcdir
50542 ac_abs_top_srcdir=$srcdir ;;
50543 *) # Relative name.
50544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50545 ac_top_srcdir=$ac_top_build_prefix$srcdir
50546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50547 esac
50548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50549
50550
50551 case $ac_mode in
50552 :F)
50553 #
50554 # CONFIG_FILE
50555 #
50556
50557 case $INSTALL in
50558 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50559 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50560 esac
50561 _ACEOF
50562
50563 cat >>$CONFIG_STATUS <<\_ACEOF
50564 # If the template does not know about datarootdir, expand it.
50565 # FIXME: This hack should be removed a few years after 2.60.
50566 ac_datarootdir_hack=; ac_datarootdir_seen=
50567
50568 case `sed -n '/datarootdir/ {
50569 p
50570 q
50571 }
50572 /@datadir@/p
50573 /@docdir@/p
50574 /@infodir@/p
50575 /@localedir@/p
50576 /@mandir@/p
50577 ' $ac_file_inputs` in
50578 *datarootdir*) ac_datarootdir_seen=yes;;
50579 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50580 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50581 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50582 _ACEOF
50583 cat >>$CONFIG_STATUS <<_ACEOF
50584 ac_datarootdir_hack='
50585 s&@datadir@&$datadir&g
50586 s&@docdir@&$docdir&g
50587 s&@infodir@&$infodir&g
50588 s&@localedir@&$localedir&g
50589 s&@mandir@&$mandir&g
50590 s&\\\${datarootdir}&$datarootdir&g' ;;
50591 esac
50592 _ACEOF
50593
50594 # Neutralize VPATH when `$srcdir' = `.'.
50595 # Shell code in configure.ac might set extrasub.
50596 # FIXME: do we really want to maintain this feature?
50597 cat >>$CONFIG_STATUS <<_ACEOF
50598 sed "$ac_vpsub
50599 $extrasub
50600 _ACEOF
50601 cat >>$CONFIG_STATUS <<\_ACEOF
50602 :t
50603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50604 s&@configure_input@&$configure_input&;t t
50605 s&@top_builddir@&$ac_top_builddir_sub&;t t
50606 s&@srcdir@&$ac_srcdir&;t t
50607 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50608 s&@top_srcdir@&$ac_top_srcdir&;t t
50609 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50610 s&@builddir@&$ac_builddir&;t t
50611 s&@abs_builddir@&$ac_abs_builddir&;t t
50612 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50613 s&@INSTALL@&$ac_INSTALL&;t t
50614 $ac_datarootdir_hack
50615 " $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
50616
50617 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50618 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50619 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50620 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50621 which seems to be undefined. Please make sure it is defined." >&5
50622 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50623 which seems to be undefined. Please make sure it is defined." >&2;}
50624
50625 rm -f "$tmp/stdin"
50626 case $ac_file in
50627 -) cat "$tmp/out"; rm -f "$tmp/out";;
50628 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50629 esac
50630 ;;
50631 :H)
50632 #
50633 # CONFIG_HEADER
50634 #
50635 _ACEOF
50636
50637 # Transform confdefs.h into a sed script `conftest.defines', that
50638 # substitutes the proper values into config.h.in to produce config.h.
50639 rm -f conftest.defines conftest.tail
50640 # First, append a space to every undef/define line, to ease matching.
50641 echo 's/$/ /' >conftest.defines
50642 # Then, protect against being on the right side of a sed subst, or in
50643 # an unquoted here document, in config.status. If some macros were
50644 # called several times there might be several #defines for the same
50645 # symbol, which is useless. But do not sort them, since the last
50646 # AC_DEFINE must be honored.
50647 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50648 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50649 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50650 # PARAMS is the parameter list in the macro definition--in most cases, it's
50651 # just an empty string.
50652 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50653 ac_dB='\\)[ (].*,\\1define\\2'
50654 ac_dC=' '
50655 ac_dD=' ,'
50656
50657 uniq confdefs.h |
50658 sed -n '
50659 t rset
50660 :rset
50661 s/^[ ]*#[ ]*define[ ][ ]*//
50662 t ok
50663 d
50664 :ok
50665 s/[\\&,]/\\&/g
50666 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50667 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50668 ' >>conftest.defines
50669
50670 # Remove the space that was appended to ease matching.
50671 # Then replace #undef with comments. This is necessary, for
50672 # example, in the case of _POSIX_SOURCE, which is predefined and required
50673 # on some systems where configure will not decide to define it.
50674 # (The regexp can be short, since the line contains either #define or #undef.)
50675 echo 's/ $//
50676 s,^[ #]*u.*,/* & */,' >>conftest.defines
50677
50678 # Break up conftest.defines:
50679 ac_max_sed_lines=50
50680
50681 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50682 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50683 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50684 # et cetera.
50685 ac_in='$ac_file_inputs'
50686 ac_out='"$tmp/out1"'
50687 ac_nxt='"$tmp/out2"'
50688
50689 while :
50690 do
50691 # Write a here document:
50692 cat >>$CONFIG_STATUS <<_ACEOF
50693 # First, check the format of the line:
50694 cat >"\$tmp/defines.sed" <<\\CEOF
50695 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50696 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50697 b
50698 :def
50699 _ACEOF
50700 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50701 echo 'CEOF
50702 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50703 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50704 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50705 grep . conftest.tail >/dev/null || break
50706 rm -f conftest.defines
50707 mv conftest.tail conftest.defines
50708 done
50709 rm -f conftest.defines conftest.tail
50710
50711 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50712 cat >>$CONFIG_STATUS <<\_ACEOF
50713 if test x"$ac_file" != x-; then
50714 echo "/* $configure_input */" >"$tmp/config.h"
50715 cat "$ac_result" >>"$tmp/config.h"
50716 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50717 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50718 echo "$as_me: $ac_file is unchanged" >&6;}
50719 else
50720 rm -f $ac_file
50721 mv "$tmp/config.h" $ac_file
50722 fi
50723 else
50724 echo "/* $configure_input */"
50725 cat "$ac_result"
50726 fi
50727 rm -f "$tmp/out12"
50728 ;;
50729
50730 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50731 echo "$as_me: executing $ac_file commands" >&6;}
50732 ;;
50733 esac
50734
50735
50736 case $ac_file$ac_mode in
50737 "rcdefs.h":C)
50738 mkdir -p $outdir &&
50739 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50740 ;;
50741 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50742 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50743 "wx-config":C) rm -f wx-config
50744 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50745 ;;
50746
50747 esac
50748 done # for ac_tag
50749
50750
50751 { (exit 0); exit 0; }
50752 _ACEOF
50753 chmod +x $CONFIG_STATUS
50754 ac_clean_files=$ac_clean_files_save
50755
50756
50757 # configure is writing to config.log, and then calls config.status.
50758 # config.status does its own redirection, appending to config.log.
50759 # Unfortunately, on DOS this fails, as config.log is still kept open
50760 # by configure, so config.status won't be able to write to it; its
50761 # output is simply discarded. So we exec the FD to /dev/null,
50762 # effectively closing config.log, so it can be properly (re)opened and
50763 # appended to by config.status. When coming back to configure, we
50764 # need to make the FD available again.
50765 if test "$no_create" != yes; then
50766 ac_cs_success=:
50767 ac_config_status_args=
50768 test "$silent" = yes &&
50769 ac_config_status_args="$ac_config_status_args --quiet"
50770 exec 5>/dev/null
50771 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50772 exec 5>>config.log
50773 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50774 # would make configure fail if this is the last instruction.
50775 $ac_cs_success || { (exit 1); exit 1; }
50776 fi
50777
50778 #
50779 # CONFIG_SUBDIRS section.
50780 #
50781 if test "$no_recursion" != yes; then
50782
50783 # Remove --cache-file and --srcdir arguments so they do not pile up.
50784 ac_sub_configure_args=
50785 ac_prev=
50786 eval "set x $ac_configure_args"
50787 shift
50788 for ac_arg
50789 do
50790 if test -n "$ac_prev"; then
50791 ac_prev=
50792 continue
50793 fi
50794 case $ac_arg in
50795 -cache-file | --cache-file | --cache-fil | --cache-fi \
50796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50797 ac_prev=cache_file ;;
50798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50800 | --c=*)
50801 ;;
50802 --config-cache | -C)
50803 ;;
50804 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50805 ac_prev=srcdir ;;
50806 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50807 ;;
50808 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50809 ac_prev=prefix ;;
50810 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50811 ;;
50812 *)
50813 case $ac_arg in
50814 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50815 esac
50816 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50817 esac
50818 done
50819
50820 # Always prepend --prefix to ensure using the same prefix
50821 # in subdir configurations.
50822 ac_arg="--prefix=$prefix"
50823 case $ac_arg in
50824 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50825 esac
50826 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50827
50828 # Pass --silent
50829 if test "$silent" = yes; then
50830 ac_sub_configure_args="--silent $ac_sub_configure_args"
50831 fi
50832
50833 ac_popdir=`pwd`
50834 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50835
50836 # Do not complain, so a configure script can configure whichever
50837 # parts of a large source tree are present.
50838 test -d "$srcdir/$ac_dir" || continue
50839
50840 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50841 echo "$as_me:$LINENO: $ac_msg" >&5
50842 echo "$ac_msg" >&6
50843 { as_dir="$ac_dir"
50844 case $as_dir in #(
50845 -*) as_dir=./$as_dir;;
50846 esac
50847 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50848 as_dirs=
50849 while :; do
50850 case $as_dir in #(
50851 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50852 *) as_qdir=$as_dir;;
50853 esac
50854 as_dirs="'$as_qdir' $as_dirs"
50855 as_dir=`$as_dirname -- "$as_dir" ||
50856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50857 X"$as_dir" : 'X\(//\)[^/]' \| \
50858 X"$as_dir" : 'X\(//\)$' \| \
50859 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50860 echo X"$as_dir" |
50861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50862 s//\1/
50863 q
50864 }
50865 /^X\(\/\/\)[^/].*/{
50866 s//\1/
50867 q
50868 }
50869 /^X\(\/\/\)$/{
50870 s//\1/
50871 q
50872 }
50873 /^X\(\/\).*/{
50874 s//\1/
50875 q
50876 }
50877 s/.*/./; q'`
50878 test -d "$as_dir" && break
50879 done
50880 test -z "$as_dirs" || eval "mkdir $as_dirs"
50881 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50882 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50883 { (exit 1); exit 1; }; }; }
50884 ac_builddir=.
50885
50886 case "$ac_dir" in
50887 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50888 *)
50889 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50890 # A ".." for each directory in $ac_dir_suffix.
50891 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50892 case $ac_top_builddir_sub in
50893 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50894 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50895 esac ;;
50896 esac
50897 ac_abs_top_builddir=$ac_pwd
50898 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50899 # for backward compatibility:
50900 ac_top_builddir=$ac_top_build_prefix
50901
50902 case $srcdir in
50903 .) # We are building in place.
50904 ac_srcdir=.
50905 ac_top_srcdir=$ac_top_builddir_sub
50906 ac_abs_top_srcdir=$ac_pwd ;;
50907 [\\/]* | ?:[\\/]* ) # Absolute name.
50908 ac_srcdir=$srcdir$ac_dir_suffix;
50909 ac_top_srcdir=$srcdir
50910 ac_abs_top_srcdir=$srcdir ;;
50911 *) # Relative name.
50912 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50913 ac_top_srcdir=$ac_top_build_prefix$srcdir
50914 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50915 esac
50916 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50917
50918
50919 cd "$ac_dir"
50920
50921 # Check for guested configure; otherwise get Cygnus style configure.
50922 if test -f "$ac_srcdir/configure.gnu"; then
50923 ac_sub_configure=$ac_srcdir/configure.gnu
50924 elif test -f "$ac_srcdir/configure"; then
50925 ac_sub_configure=$ac_srcdir/configure
50926 elif test -f "$ac_srcdir/configure.in"; then
50927 # This should be Cygnus configure.
50928 ac_sub_configure=$ac_aux_dir/configure
50929 else
50930 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50931 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50932 ac_sub_configure=
50933 fi
50934
50935 # The recursion is here.
50936 if test -n "$ac_sub_configure"; then
50937 # Make the cache file name correct relative to the subdirectory.
50938 case $cache_file in
50939 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50940 *) # Relative name.
50941 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50942 esac
50943
50944 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50945 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50946 # The eval makes quoting arguments work.
50947 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50948 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50949 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50950 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50951 { (exit 1); exit 1; }; }
50952 fi
50953
50954 cd "$ac_popdir"
50955 done
50956 fi
50957
50958
50959 echo
50960 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50961 echo ""
50962 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50963 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50964
50965 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50966 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50967 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50968
50969 echo " What level of wxWidgets compatibility should be enabled?"
50970 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50971 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50972
50973 echo " Which libraries should wxWidgets use?"
50974 echo " jpeg ${wxUSE_LIBJPEG-none}"
50975 echo " png ${wxUSE_LIBPNG-none}"
50976 echo " regex ${wxUSE_REGEX}"
50977 echo " tiff ${wxUSE_LIBTIFF-none}"
50978 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50979 echo " xpm ${wxUSE_LIBXPM-none}"
50980 fi
50981 echo " zlib ${wxUSE_ZLIB}"
50982 echo " odbc ${wxUSE_ODBC}"
50983 echo " expat ${wxUSE_EXPAT}"
50984 echo " libmspack ${wxUSE_LIBMSPACK}"
50985 echo " sdl ${wxUSE_LIBSDL}"
50986
50987 echo ""
50988