]> git.saurik.com Git - wxWidgets.git/blob - configure
truncate the static box label to fit the control size (patch 1695228)
[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-omf use OMF object format
1643 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1644 --enable-debug_info create code with debugging information
1645 --enable-debug_gdb create code with extra GDB debugging information
1646 --enable-debug_cntxt use wxDebugContext
1647 --enable-mem_tracing create code with memory tracing
1648 --enable-profile create code with profiling information
1649 --enable-no_rtti create code without RTTI information
1650 --enable-no_exceptions create code without C++ exceptions handling
1651 --enable-permissive compile code disregarding strict ANSI
1652 --enable-no_deps create code without dependency information
1653 --disable-vararg_macros don't use vararg macros, even if they are supported
1654 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1655 --enable-compat26 enable wxWidgets 2.6 compatibility
1656 --disable-compat28 disable wxWidgets 2.8 compatibility
1657 --disable-rpath disable use of rpath for uninstalled builds
1658 --enable-intl use internationalization system
1659 --enable-config use wxConfig (and derived) classes
1660 --enable-protocols use wxProtocol and derived classes
1661 --enable-ftp use wxFTP (requires wxProtocol
1662 --enable-http use wxHTTP (requires wxProtocol
1663 --enable-fileproto use wxFileProto class (requires wxProtocol
1664 --enable-sockets use socket/network classes
1665 --enable-ole use OLE classes (Win32 only)
1666 --enable-dataobj use data object classes
1667 --enable-ipc use interprocess communication (wxSocket etc.)
1668 --enable-apple_ieee use the Apple IEEE codec
1669 --enable-arcstream use wxArchive streams
1670 --enable-backtrace use wxStackWalker class for getting backtraces
1671 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1672 --enable-cmdline use wxCmdLineParser class
1673 --enable-datetime use wxDateTime class
1674 --enable-debugreport use wxDebugReport class
1675 --enable-dialupman use dialup network classes
1676 --enable-dynlib use wxLibrary class for DLL loading
1677 --enable-dynamicloader use (new) wxDynamicLibrary class
1678 --enable-exceptions build exception-safe library
1679 --enable-ffile use wxFFile class
1680 --enable-file use wxFile class
1681 --enable-filesystem use virtual file systems classes
1682 --enable-fontmap use font encodings conversion classes
1683 --enable-fs_archive use virtual archive filesystems
1684 --enable-fs_inet use virtual HTTP/FTP filesystems
1685 --enable-fs_zip now replaced by fs_archive
1686 --enable-geometry use geometry class
1687 --enable-log use logging system
1688 --enable-longlong use wxLongLong class
1689 --enable-mimetype use wxMimeTypesManager
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-snglinst use wxSingleInstanceChecker class
1692 --enable-std_iostreams use standard C++ stream classes
1693 --enable-std_string use standard C++ string classes
1694 --enable-stdpaths use wxStandardPaths class
1695 --enable-stopwatch use wxStopWatch class
1696 --enable-streams use wxStream etc classes
1697 --enable-sysoptions use wxSystemOptions
1698 --enable-tarstream use wxTar streams
1699 --enable-textbuf use wxTextBuffer class
1700 --enable-textfile use wxTextFile class
1701 --enable-timer use wxTimer class
1702 --enable-unicode compile wxString with Unicode support
1703 --enable-sound use wxSound class
1704 --enable-mediactrl use wxMediaCtrl class
1705 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1706 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1707 --enable-zipstream use wxZip streams
1708 --enable-url use wxURL class
1709 --enable-variant use wxVariant class
1710 --enable-protocol use wxProtocol class
1711 --enable-protocol-http HTTP support in wxProtocol
1712 --enable-protocol-ftp FTP support in wxProtocol
1713 --enable-protocol-file FILE support in wxProtocol
1714 --enable-threads use threads
1715 --enable-docview use document view architecture
1716 --enable-help use help subsystem
1717 --enable-mshtmlhelp use MS HTML Help (win32)
1718 --enable-html use wxHTML sub-library
1719 --enable-htmlhelp use wxHTML-based help
1720 --enable-xrc use XRC resources sub-library
1721 --enable-aui use AUI docking library
1722 --enable-stc use wxStyledTextCtrl library
1723 --enable-constraints use layout-constraints system
1724 --enable-printarch use printing architecture
1725 --enable-mdi use multiple document interface architecture
1726 --enable-mdidoc use docview architecture with MDI
1727 --enable-loggui use standard GUI logger
1728 --enable-logwin use wxLogWindow
1729 --enable-logdialog use wxLogDialog
1730 --enable-webkit use wxWebKitCtrl (Mac)
1731 --enable-richtext use wxRichTextCtrl
1732 --enable-graphics_ctx use graphics context 2D drawing API
1733 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1734 --enable-clipboard use wxClipboard class
1735 --enable-dnd use Drag'n'Drop classes
1736 --enable-metafile use win32 metafiles
1737 --enable-controls use all usual controls
1738 --enable-accel use accelerators
1739 --enable-animatectrl use wxAnimationCtrl class
1740 --enable-button use wxButton class
1741 --enable-bmpbutton use wxBitmapButton class
1742 --enable-bmpcombobox use wxBitmapComboBox class
1743 --enable-calendar use wxCalendarCtrl class
1744 --enable-caret use wxCaret class
1745 --enable-checkbox use wxCheckBox class
1746 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1747 --enable-choice use wxChoice class
1748 --enable-choicebook use wxChoicebook class
1749 --enable-collpane use wxCollapsiblePane class
1750 --enable-colourpicker use wxColourPickerCtrl class
1751 --enable-combobox use wxComboBox class
1752 --enable-comboctrl use wxComboCtrl class
1753 --enable-datepick use wxDatePickerCtrl class
1754 --enable-dirpicker use wxDirPickerCtrl class
1755 --enable-display use wxDisplay class
1756 --enable-detect_sm use code to detect X11 session manager
1757 --enable-filepicker use wxFilePickerCtrl class
1758 --enable-fontpicker use wxFontPickerCtrl class
1759 --enable-gauge use wxGauge class
1760 --enable-grid use wxGrid class
1761 --enable-dataviewctrl use wxDataViewCtrl class
1762 --enable-hyperlink use wxHyperlinkCtrl class
1763 --enable-imaglist use wxImageList class
1764 --enable-listbook use wxListbook class
1765 --enable-listbox use wxListBox class
1766 --enable-listctrl use wxListCtrl class
1767 --enable-notebook use wxNotebook class
1768 --enable-odcombobox use wxOwnerDrawnComboBox class
1769 --enable-radiobox use wxRadioBox class
1770 --enable-radiobtn use wxRadioButton class
1771 --enable-sash use wxSashWindow class
1772 --enable-scrollbar use wxScrollBar class and scrollable windows
1773 --enable-searchctrl use wxSearchCtrl class
1774 --enable-slider use wxSlider class
1775 --enable-spinbtn use wxSpinButton class
1776 --enable-spinctrl use wxSpinCtrl class
1777 --enable-splitter use wxSplitterWindow class
1778 --enable-statbmp use wxStaticBitmap class
1779 --enable-statbox use wxStaticBox class
1780 --enable-statline use wxStaticLine class
1781 --enable-stattext use wxStaticText class
1782 --enable-statusbar use wxStatusBar class
1783 --enable-tabdialog use wxTabControl class
1784 --enable-textctrl use wxTextCtrl class
1785 --enable-togglebtn use wxToggleButton class
1786 --enable-toolbar use wxToolBar class
1787 --enable-tbarnative use native wxToolBar class
1788 --enable-treebook use wxTreebook class
1789 --enable-toolbook use wxToolbook class
1790 --enable-treectrl use wxTreeCtrl class
1791 --enable-tipwindow use wxTipWindow class
1792 --enable-popupwin use wxPopUpWindow class
1793 --enable-commondlg use all common dialogs
1794 --enable-aboutdlg use wxAboutBox
1795 --enable-choicedlg use wxChoiceDialog
1796 --enable-coldlg use wxColourDialog
1797 --enable-filedlg use wxFileDialog
1798 --enable-finddlg use wxFindReplaceDialog
1799 --enable-fontdlg use wxFontDialog
1800 --enable-dirdlg use wxDirDialog
1801 --enable-msgdlg use wxMessageDialog
1802 --enable-numberdlg use wxNumberEntryDialog
1803 --enable-splash use wxSplashScreen
1804 --enable-textdlg use wxTextDialog
1805 --enable-tipdlg use startup tips
1806 --enable-progressdlg use wxProgressDialog
1807 --enable-wizarddlg use wxWizard
1808 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1809 --enable-miniframe use wxMiniFrame class
1810 --enable-tooltips use wxToolTip class
1811 --enable-splines use spline drawing code
1812 --enable-mousewheel use mousewheel
1813 --enable-validators use wxValidator and derived classes
1814 --enable-busyinfo use wxBusyInfo
1815 --enable-joystick use wxJoystick
1816 --enable-metafiles use wxMetaFile (Win32 only)
1817 --enable-dragimage use wxDragImage
1818 --enable-accessibility enable accessibility support
1819 --enable-dccache cache temporary wxDC objects (Win32 only)
1820 --enable-palette use wxPalette class
1821 --enable-image use wxImage class
1822 --enable-gif use gif images (GIF file format)
1823 --enable-pcx use pcx images (PCX file format)
1824 --enable-tga use tga images (TGA file format)
1825 --enable-iff use iff images (IFF file format)
1826 --enable-pnm use pnm images (PNM file format)
1827 --enable-xpm use xpm images (XPM file format)
1828 --enable-icocur use Windows ICO and CUR formats
1829 --enable-official_build official build of wxWidgets (win32 DLL only)
1830 --enable-vendor=VENDOR vendor name (win32 DLL only)
1831 --disable-largefile omit support for large files
1832 --disable-gtktest do not try to compile and run a test GTK+ program
1833 --disable-gtktest Do not try to compile and run a test GTK program
1834 --disable-sdltest Do not try to compile and run a test SDL program
1835 --enable-omf use OMF object format (OS/2)
1836 --disable-dependency-tracking
1837 don't use dependency tracking even if the compiler
1838 can
1839 --disable-precomp-headers
1840 don't use precompiled headers even if compiler can
1841
1842 Optional Packages:
1843 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1844 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1845 --without-subdirs don't generate makefiles for samples/demos/...
1846 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1847 --with-motif use Motif/Lesstif
1848 --with-mac use Mac OS X
1849 --with-cocoa use Cocoa
1850 --with-wine use Wine
1851 --with-msw use MS-Windows
1852 --with-pm use OS/2 Presentation Manager
1853 --with-mgl use SciTech MGL
1854 --with-directfb use DirectFB
1855 --with-microwin use MicroWindows
1856 --with-x11 use X11
1857 --with-libpng use libpng (PNG image format)
1858 --with-libjpeg use libjpeg (JPEG file format)
1859 --with-libtiff use libtiff (TIFF file format)
1860 --with-libxpm use libxpm (XPM file format)
1861 --with-libmspack use libmspack (CHM help files loading)
1862 --with-sdl use SDL for audio on Unix
1863 --with-gnomeprint use GNOME print for printing under GNOME
1864 --with-gnomevfs use GNOME VFS for associating MIME types
1865 --with-hildon use Hildon framework for Nokia 770
1866 --with-opengl use OpenGL (or Mesa)
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1869 --with-regex enable support for wxRegEx class
1870 --with-zlib use zlib for LZW compression
1871 --with-odbc use the IODBC and wxODBC classes
1872 --with-expat enable XML support using expat parser
1873 --with-flavour=NAME specify a name to identify this build
1874 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1875 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1876 --with-x use the X Window System
1877 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1878 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1879 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1880 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1881 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1882
1883 Some influential environment variables:
1884 CC C compiler command
1885 CFLAGS C compiler flags
1886 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1887 nonstandard directory <lib dir>
1888 LIBS libraries to pass to the linker, e.g. -l<library>
1889 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1890 you have headers in a nonstandard directory <include dir>
1891 CPP C preprocessor
1892 CXX C++ compiler command
1893 CXXFLAGS C++ compiler flags
1894 PKG_CONFIG path to pkg-config utility
1895 DIRECTFB_CFLAGS
1896 C compiler flags for DIRECTFB, overriding pkg-config
1897 DIRECTFB_LIBS
1898 linker flags for DIRECTFB, overriding pkg-config
1899 XMKMF Path to xmkmf, Makefile generator for X Window System
1900 PANGOX_CFLAGS
1901 C compiler flags for PANGOX, overriding pkg-config
1902 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1903 PANGOFT2_CFLAGS
1904 C compiler flags for PANGOFT2, overriding pkg-config
1905 PANGOFT2_LIBS
1906 linker flags for PANGOFT2, overriding pkg-config
1907 PANGOXFT_CFLAGS
1908 C compiler flags for PANGOXFT, overriding pkg-config
1909 PANGOXFT_LIBS
1910 linker flags for PANGOXFT, overriding pkg-config
1911 LIBGNOMEPRINTUI_CFLAGS
1912 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1913 LIBGNOMEPRINTUI_LIBS
1914 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1915 GNOMEVFS_CFLAGS
1916 C compiler flags for GNOMEVFS, overriding pkg-config
1917 GNOMEVFS_LIBS
1918 linker flags for GNOMEVFS, overriding pkg-config
1919 HILDON_CFLAGS
1920 C compiler flags for HILDON, overriding pkg-config
1921 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1922 CAIRO_CFLAGS
1923 C compiler flags for CAIRO, overriding pkg-config
1924 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1925 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1926 GST_LIBS linker flags for GST, overriding pkg-config
1927
1928 Use these variables to override the choices made by `configure' or to help
1929 it to find libraries and programs with nonstandard names/locations.
1930
1931 Report bugs to <wx-dev@lists.wxwidgets.org>.
1932 _ACEOF
1933 ac_status=$?
1934 fi
1935
1936 if test "$ac_init_help" = "recursive"; then
1937 # If there are subdirs, report their specific --help.
1938 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1939 test -d "$ac_dir" || continue
1940 ac_builddir=.
1941
1942 case "$ac_dir" in
1943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1944 *)
1945 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1946 # A ".." for each directory in $ac_dir_suffix.
1947 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1948 case $ac_top_builddir_sub in
1949 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1951 esac ;;
1952 esac
1953 ac_abs_top_builddir=$ac_pwd
1954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1955 # for backward compatibility:
1956 ac_top_builddir=$ac_top_build_prefix
1957
1958 case $srcdir in
1959 .) # We are building in place.
1960 ac_srcdir=.
1961 ac_top_srcdir=$ac_top_builddir_sub
1962 ac_abs_top_srcdir=$ac_pwd ;;
1963 [\\/]* | ?:[\\/]* ) # Absolute name.
1964 ac_srcdir=$srcdir$ac_dir_suffix;
1965 ac_top_srcdir=$srcdir
1966 ac_abs_top_srcdir=$srcdir ;;
1967 *) # Relative name.
1968 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1969 ac_top_srcdir=$ac_top_build_prefix$srcdir
1970 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1971 esac
1972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1973
1974 cd "$ac_dir" || { ac_status=$?; continue; }
1975 # Check for guested configure.
1976 if test -f "$ac_srcdir/configure.gnu"; then
1977 echo &&
1978 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1979 elif test -f "$ac_srcdir/configure"; then
1980 echo &&
1981 $SHELL "$ac_srcdir/configure" --help=recursive
1982 else
1983 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1984 fi || ac_status=$?
1985 cd "$ac_pwd" || { ac_status=$?; break; }
1986 done
1987 fi
1988
1989 test -n "$ac_init_help" && exit $ac_status
1990 if $ac_init_version; then
1991 cat <<\_ACEOF
1992 wxWidgets configure 2.9.0
1993 generated by GNU Autoconf 2.61
1994
1995 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1996 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1997 This configure script is free software; the Free Software Foundation
1998 gives unlimited permission to copy, distribute and modify it.
1999 _ACEOF
2000 exit
2001 fi
2002 cat >config.log <<_ACEOF
2003 This file contains any messages produced by compilers while
2004 running configure, to aid debugging if configure makes a mistake.
2005
2006 It was created by wxWidgets $as_me 2.9.0, which was
2007 generated by GNU Autoconf 2.61. Invocation command line was
2008
2009 $ $0 $@
2010
2011 _ACEOF
2012 exec 5>>config.log
2013 {
2014 cat <<_ASUNAME
2015 ## --------- ##
2016 ## Platform. ##
2017 ## --------- ##
2018
2019 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2020 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2021 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2022 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2023 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2024
2025 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2026 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2027
2028 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2029 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2030 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2031 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2032 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2033 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2034 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2035
2036 _ASUNAME
2037
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2040 do
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 echo "PATH: $as_dir"
2044 done
2045 IFS=$as_save_IFS
2046
2047 } >&5
2048
2049 cat >&5 <<_ACEOF
2050
2051
2052 ## ----------- ##
2053 ## Core tests. ##
2054 ## ----------- ##
2055
2056 _ACEOF
2057
2058
2059 # Keep a trace of the command line.
2060 # Strip out --no-create and --no-recursion so they do not pile up.
2061 # Strip out --silent because we don't want to record it for future runs.
2062 # Also quote any args containing shell meta-characters.
2063 # Make two passes to allow for proper duplicate-argument suppression.
2064 ac_configure_args=
2065 ac_configure_args0=
2066 ac_configure_args1=
2067 ac_must_keep_next=false
2068 for ac_pass in 1 2
2069 do
2070 for ac_arg
2071 do
2072 case $ac_arg in
2073 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2075 | -silent | --silent | --silen | --sile | --sil)
2076 continue ;;
2077 *\'*)
2078 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2079 esac
2080 case $ac_pass in
2081 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2082 2)
2083 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2084 if test $ac_must_keep_next = true; then
2085 ac_must_keep_next=false # Got value, back to normal.
2086 else
2087 case $ac_arg in
2088 *=* | --config-cache | -C | -disable-* | --disable-* \
2089 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2090 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2091 | -with-* | --with-* | -without-* | --without-* | --x)
2092 case "$ac_configure_args0 " in
2093 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2094 esac
2095 ;;
2096 -* ) ac_must_keep_next=true ;;
2097 esac
2098 fi
2099 ac_configure_args="$ac_configure_args '$ac_arg'"
2100 ;;
2101 esac
2102 done
2103 done
2104 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2105 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2106
2107 # When interrupted or exit'd, cleanup temporary files, and complete
2108 # config.log. We remove comments because anyway the quotes in there
2109 # would cause problems or look ugly.
2110 # WARNING: Use '\'' to represent an apostrophe within the trap.
2111 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2112 trap 'exit_status=$?
2113 # Save into config.log some information that might help in debugging.
2114 {
2115 echo
2116
2117 cat <<\_ASBOX
2118 ## ---------------- ##
2119 ## Cache variables. ##
2120 ## ---------------- ##
2121 _ASBOX
2122 echo
2123 # The following way of writing the cache mishandles newlines in values,
2124 (
2125 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2126 eval ac_val=\$$ac_var
2127 case $ac_val in #(
2128 *${as_nl}*)
2129 case $ac_var in #(
2130 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2131 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2132 esac
2133 case $ac_var in #(
2134 _ | IFS | as_nl) ;; #(
2135 *) $as_unset $ac_var ;;
2136 esac ;;
2137 esac
2138 done
2139 (set) 2>&1 |
2140 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2141 *${as_nl}ac_space=\ *)
2142 sed -n \
2143 "s/'\''/'\''\\\\'\'''\''/g;
2144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2145 ;; #(
2146 *)
2147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2148 ;;
2149 esac |
2150 sort
2151 )
2152 echo
2153
2154 cat <<\_ASBOX
2155 ## ----------------- ##
2156 ## Output variables. ##
2157 ## ----------------- ##
2158 _ASBOX
2159 echo
2160 for ac_var in $ac_subst_vars
2161 do
2162 eval ac_val=\$$ac_var
2163 case $ac_val in
2164 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 esac
2166 echo "$ac_var='\''$ac_val'\''"
2167 done | sort
2168 echo
2169
2170 if test -n "$ac_subst_files"; then
2171 cat <<\_ASBOX
2172 ## ------------------- ##
2173 ## File substitutions. ##
2174 ## ------------------- ##
2175 _ASBOX
2176 echo
2177 for ac_var in $ac_subst_files
2178 do
2179 eval ac_val=\$$ac_var
2180 case $ac_val in
2181 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182 esac
2183 echo "$ac_var='\''$ac_val'\''"
2184 done | sort
2185 echo
2186 fi
2187
2188 if test -s confdefs.h; then
2189 cat <<\_ASBOX
2190 ## ----------- ##
2191 ## confdefs.h. ##
2192 ## ----------- ##
2193 _ASBOX
2194 echo
2195 cat confdefs.h
2196 echo
2197 fi
2198 test "$ac_signal" != 0 &&
2199 echo "$as_me: caught signal $ac_signal"
2200 echo "$as_me: exit $exit_status"
2201 } >&5
2202 rm -f core *.core core.conftest.* &&
2203 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2204 exit $exit_status
2205 ' 0
2206 for ac_signal in 1 2 13 15; do
2207 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2208 done
2209 ac_signal=0
2210
2211 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2212 rm -f -r conftest* confdefs.h
2213
2214 # Predefined preprocessor variables.
2215
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_NAME "$PACKAGE_NAME"
2218 _ACEOF
2219
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2223 _ACEOF
2224
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2228 _ACEOF
2229
2230
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_STRING "$PACKAGE_STRING"
2233 _ACEOF
2234
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2238 _ACEOF
2239
2240
2241 # Let the site file select an alternate cache file if it wants to.
2242 # Prefer explicitly selected file to automatically selected ones.
2243 if test -n "$CONFIG_SITE"; then
2244 set x "$CONFIG_SITE"
2245 elif test "x$prefix" != xNONE; then
2246 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2247 else
2248 set x "$ac_default_prefix/share/config.site" \
2249 "$ac_default_prefix/etc/config.site"
2250 fi
2251 shift
2252 for ac_site_file
2253 do
2254 if test -r "$ac_site_file"; then
2255 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2256 echo "$as_me: loading site script $ac_site_file" >&6;}
2257 sed 's/^/| /' "$ac_site_file" >&5
2258 . "$ac_site_file"
2259 fi
2260 done
2261
2262 if test -r "$cache_file"; then
2263 # Some versions of bash will fail to source /dev/null (special
2264 # files actually), so we avoid doing that.
2265 if test -f "$cache_file"; then
2266 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2267 echo "$as_me: loading cache $cache_file" >&6;}
2268 case $cache_file in
2269 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2270 *) . "./$cache_file";;
2271 esac
2272 fi
2273 else
2274 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2275 echo "$as_me: creating cache $cache_file" >&6;}
2276 >$cache_file
2277 fi
2278
2279 # Check that the precious variables saved in the cache have kept the same
2280 # value.
2281 ac_cache_corrupted=false
2282 for ac_var in $ac_precious_vars; do
2283 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2284 eval ac_new_set=\$ac_env_${ac_var}_set
2285 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2286 eval ac_new_val=\$ac_env_${ac_var}_value
2287 case $ac_old_set,$ac_new_set in
2288 set,)
2289 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2290 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2291 ac_cache_corrupted=: ;;
2292 ,set)
2293 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2294 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2295 ac_cache_corrupted=: ;;
2296 ,);;
2297 *)
2298 if test "x$ac_old_val" != "x$ac_new_val"; then
2299 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2300 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2301 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2302 echo "$as_me: former value: $ac_old_val" >&2;}
2303 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2304 echo "$as_me: current value: $ac_new_val" >&2;}
2305 ac_cache_corrupted=:
2306 fi;;
2307 esac
2308 # Pass precious variables to config.status.
2309 if test "$ac_new_set" = set; then
2310 case $ac_new_val in
2311 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2312 *) ac_arg=$ac_var=$ac_new_val ;;
2313 esac
2314 case " $ac_configure_args " in
2315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2316 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2317 esac
2318 fi
2319 done
2320 if $ac_cache_corrupted; then
2321 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2322 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2323 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2324 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2325 { (exit 1); exit 1; }; }
2326 fi
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352 ac_ext=c
2353 ac_cpp='$CPP $CPPFLAGS'
2354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2357
2358
2359
2360
2361
2362 ac_aux_dir=
2363 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2364 if test -f "$ac_dir/install-sh"; then
2365 ac_aux_dir=$ac_dir
2366 ac_install_sh="$ac_aux_dir/install-sh -c"
2367 break
2368 elif test -f "$ac_dir/install.sh"; then
2369 ac_aux_dir=$ac_dir
2370 ac_install_sh="$ac_aux_dir/install.sh -c"
2371 break
2372 elif test -f "$ac_dir/shtool"; then
2373 ac_aux_dir=$ac_dir
2374 ac_install_sh="$ac_aux_dir/shtool install -c"
2375 break
2376 fi
2377 done
2378 if test -z "$ac_aux_dir"; then
2379 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2380 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2381 { (exit 1); exit 1; }; }
2382 fi
2383
2384 # These three variables are undocumented and unsupported,
2385 # and are intended to be withdrawn in a future Autoconf release.
2386 # They can cause serious problems if a builder's source tree is in a directory
2387 # whose full name contains unusual characters.
2388 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2389 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2390 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2391
2392
2393 # Make sure we can run config.sub.
2394 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2395 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2396 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2397 { (exit 1); exit 1; }; }
2398
2399 { echo "$as_me:$LINENO: checking build system type" >&5
2400 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2401 if test "${ac_cv_build+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 else
2404 ac_build_alias=$build_alias
2405 test "x$ac_build_alias" = x &&
2406 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2407 test "x$ac_build_alias" = x &&
2408 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2409 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2410 { (exit 1); exit 1; }; }
2411 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2412 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2413 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2414 { (exit 1); exit 1; }; }
2415
2416 fi
2417 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2418 echo "${ECHO_T}$ac_cv_build" >&6; }
2419 case $ac_cv_build in
2420 *-*-*) ;;
2421 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2422 echo "$as_me: error: invalid value of canonical build" >&2;}
2423 { (exit 1); exit 1; }; };;
2424 esac
2425 build=$ac_cv_build
2426 ac_save_IFS=$IFS; IFS='-'
2427 set x $ac_cv_build
2428 shift
2429 build_cpu=$1
2430 build_vendor=$2
2431 shift; shift
2432 # Remember, the first character of IFS is used to create $*,
2433 # except with old shells:
2434 build_os=$*
2435 IFS=$ac_save_IFS
2436 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2437
2438
2439 { echo "$as_me:$LINENO: checking host system type" >&5
2440 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2441 if test "${ac_cv_host+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 else
2444 if test "x$host_alias" = x; then
2445 ac_cv_host=$ac_cv_build
2446 else
2447 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2448 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2449 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2450 { (exit 1); exit 1; }; }
2451 fi
2452
2453 fi
2454 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2455 echo "${ECHO_T}$ac_cv_host" >&6; }
2456 case $ac_cv_host in
2457 *-*-*) ;;
2458 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2459 echo "$as_me: error: invalid value of canonical host" >&2;}
2460 { (exit 1); exit 1; }; };;
2461 esac
2462 host=$ac_cv_host
2463 ac_save_IFS=$IFS; IFS='-'
2464 set x $ac_cv_host
2465 shift
2466 host_cpu=$1
2467 host_vendor=$2
2468 shift; shift
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2471 host_os=$*
2472 IFS=$ac_save_IFS
2473 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2474
2475
2476 { echo "$as_me:$LINENO: checking target system type" >&5
2477 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_target+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test "x$target_alias" = x; then
2482 ac_cv_target=$ac_cv_host
2483 else
2484 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2487 { (exit 1); exit 1; }; }
2488 fi
2489
2490 fi
2491 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2492 echo "${ECHO_T}$ac_cv_target" >&6; }
2493 case $ac_cv_target in
2494 *-*-*) ;;
2495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2496 echo "$as_me: error: invalid value of canonical target" >&2;}
2497 { (exit 1); exit 1; }; };;
2498 esac
2499 target=$ac_cv_target
2500 ac_save_IFS=$IFS; IFS='-'
2501 set x $ac_cv_target
2502 shift
2503 target_cpu=$1
2504 target_vendor=$2
2505 shift; shift
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2508 target_os=$*
2509 IFS=$ac_save_IFS
2510 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2511
2512
2513 # The aliases save the names the user supplied, while $host etc.
2514 # will get canonicalized.
2515 test -n "$target_alias" &&
2516 test "$program_prefix$program_suffix$program_transform_name" = \
2517 NONENONEs,x,x, &&
2518 program_prefix=${target_alias}-
2519
2520
2521
2522 wx_major_version_number=2
2523 wx_minor_version_number=9
2524 wx_release_number=0
2525 wx_subrelease_number=0
2526
2527 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2528 WX_VERSION=$WX_RELEASE.$wx_release_number
2529 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2530
2531 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2532
2533
2534 wx_top_builddir="`pwd`"
2535
2536
2537
2538
2539 USE_UNIX=1
2540 USE_OS2=0
2541 USE_WIN32=0
2542 USE_DOS=0
2543 USE_BEOS=0
2544 USE_MAC=0
2545
2546 USE_AIX=
2547 USE_BSD= USE_DARWIN= USE_FREEBSD=
2548 USE_GNU= USE_HPUX=
2549 USE_LINUX=
2550 USE_NETBSD=
2551 USE_OPENBSD=
2552 USE_OSF= USE_SGI=
2553 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2554 USE_ULTRIX=
2555 USE_UNIXWARE=
2556
2557 USE_ALPHA=
2558
2559 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2560
2561 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2562
2563 DEFAULT_wxUSE_COCOA=0
2564 DEFAULT_wxUSE_GTK=0
2565 DEFAULT_wxUSE_MAC=0
2566 DEFAULT_wxUSE_MGL=0
2567 DEFAULT_wxUSE_MICROWIN=0
2568 DEFAULT_wxUSE_MOTIF=0
2569 DEFAULT_wxUSE_MSW=0
2570 DEFAULT_wxUSE_PM=0
2571 DEFAULT_wxUSE_X11=0
2572 DEFAULT_wxUSE_DFB=0
2573
2574 DEFAULT_DEFAULT_wxUSE_COCOA=0
2575 DEFAULT_DEFAULT_wxUSE_GTK=0
2576 DEFAULT_DEFAULT_wxUSE_MAC=0
2577 DEFAULT_DEFAULT_wxUSE_MGL=0
2578 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2579 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2580 DEFAULT_DEFAULT_wxUSE_MSW=0
2581 DEFAULT_DEFAULT_wxUSE_PM=0
2582 DEFAULT_DEFAULT_wxUSE_X11=0
2583 DEFAULT_DEFAULT_wxUSE_DFB=0
2584
2585 PROGRAM_EXT=
2586 SO_SUFFIX=so
2587 SAMPLES_RPATH_FLAG=
2588 SAMPLES_RPATH_POSTLINK=
2589
2590 DEFAULT_STD_FLAG=yes
2591
2592 case "${host}" in
2593 *-hp-hpux* )
2594 USE_HPUX=1
2595 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2596 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2597 SO_SUFFIX=sl
2598 cat >>confdefs.h <<\_ACEOF
2599 #define __HPUX__ 1
2600 _ACEOF
2601
2602
2603 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2604 ;;
2605 *-*-linux* )
2606 USE_LINUX=1
2607 cat >>confdefs.h <<\_ACEOF
2608 #define __LINUX__ 1
2609 _ACEOF
2610
2611 TMP=`uname -m`
2612 if test "x$TMP" = "xalpha"; then
2613 USE_ALPHA=1
2614 cat >>confdefs.h <<\_ACEOF
2615 #define __ALPHA__ 1
2616 _ACEOF
2617
2618 fi
2619 DEFAULT_DEFAULT_wxUSE_GTK=1
2620 ;;
2621 *-*-gnu* | *-*-k*bsd*-gnu )
2622 USE_GNU=1
2623 TMP=`uname -m`
2624 if test "x$TMP" = "xalpha"; then
2625 USE_ALPHA=1
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __ALPHA__ 1
2628 _ACEOF
2629
2630 fi
2631 DEFAULT_DEFAULT_wxUSE_GTK=1
2632 ;;
2633 *-*-irix5* | *-*-irix6* )
2634 USE_SGI=1
2635 USE_SVR4=1
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __SGI__ 1
2638 _ACEOF
2639
2640 cat >>confdefs.h <<\_ACEOF
2641 #define __SVR4__ 1
2642 _ACEOF
2643
2644 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2645 ;;
2646 *-*-solaris2* )
2647 USE_SUN=1
2648 USE_SOLARIS=1
2649 USE_SVR4=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __SUN__ 1
2652 _ACEOF
2653
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SOLARIS__ 1
2656 _ACEOF
2657
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SVR4__ 1
2660 _ACEOF
2661
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2664 ;;
2665 *-*-sunos4* )
2666 USE_SUN=1
2667 USE_SUNOS=1
2668 USE_BSD=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SUN__ 1
2671 _ACEOF
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SUNOS__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __BSD__ 1
2679 _ACEOF
2680
2681 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 ;;
2683 *-*-freebsd*)
2684 USE_BSD=1
2685 USE_FREEBSD=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __FREEBSD__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __BSD__ 1
2692 _ACEOF
2693
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 ;;
2696 *-*-openbsd*|*-*-mirbsd*)
2697 USE_BSD=1
2698 USE_OPENBSD=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __OPENBSD__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __BSD__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_GTK=1
2708 ;;
2709 *-*-netbsd*)
2710 USE_BSD=1
2711 USE_NETBSD=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __NETBSD__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __BSD__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722
2723 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2724 ;;
2725 *-*-osf* )
2726 USE_ALPHA=1
2727 USE_OSF=1
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __ALPHA__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __OSF__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2738 ;;
2739 *-*-dgux5* )
2740 USE_ALPHA=1
2741 USE_SVR4=1
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __ALPHA__ 1
2744 _ACEOF
2745
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __SVR4__ 1
2748 _ACEOF
2749
2750 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2751 ;;
2752 *-*-sysv5* )
2753 USE_SYSV=1
2754 USE_SVR4=1
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __SYSV__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __SVR4__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 ;;
2765 *-*-aix* )
2766 USE_AIX=1
2767 USE_SYSV=1
2768 USE_SVR4=1
2769 SO_SUFFIX=a
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __AIX__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SYSV__ 1
2776 _ACEOF
2777
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __SVR4__ 1
2780 _ACEOF
2781
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2783 ;;
2784
2785 *-*-*UnixWare*)
2786 USE_SYSV=1
2787 USE_SVR4=1
2788 USE_UNIXWARE=1
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __UNIXWARE__ 1
2791 _ACEOF
2792
2793 ;;
2794
2795 *-*-cygwin* | *-*-mingw32* )
2796 SO_SUFFIX=dll
2797 PROGRAM_EXT=".exe"
2798 DEFAULT_DEFAULT_wxUSE_MSW=1
2799 ;;
2800
2801 *-pc-msdosdjgpp )
2802 USE_UNIX=0
2803 USE_DOS=1
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __DOS__ 1
2806 _ACEOF
2807
2808 PROGRAM_EXT=".exe"
2809 DEFAULT_DEFAULT_wxUSE_MGL=1
2810 ;;
2811
2812 *-pc-os2_emx | *-pc-os2-emx )
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __EMX__ 1
2815 _ACEOF
2816
2817 USE_OS2=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __OS2__ 1
2820 _ACEOF
2821
2822 PROGRAM_EXT=".exe"
2823 DEFAULT_DEFAULT_wxUSE_PM=1
2824 CXX=gcc
2825 LDFLAGS="$LDFLAGS -Zcrtdll"
2826 ac_executable_extensions=".exe"
2827 export ac_executable_extensions
2828 ac_save_IFS="$IFS"
2829 IFS='\\'
2830 ac_TEMP_PATH=
2831 for ac_dir in $PATH; do
2832 IFS=$ac_save_IFS
2833 if test -z "$ac_TEMP_PATH"; then
2834 ac_TEMP_PATH="$ac_dir"
2835 else
2836 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2837 fi
2838 done
2839 export PATH="$ac_TEMP_PATH"
2840 unset ac_TEMP_PATH
2841 DEFAULT_STD_FLAG=no
2842 ;;
2843
2844 *-*-darwin* )
2845 USE_BSD=1
2846 USE_DARWIN=1
2847 SO_SUFFIX=dylib
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __BSD__ 1
2850 _ACEOF
2851
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __DARWIN__ 1
2854 _ACEOF
2855
2856 cat >>confdefs.h <<\_ACEOF
2857 #define TARGET_CARBON 1
2858 _ACEOF
2859
2860 DEFAULT_DEFAULT_wxUSE_MAC=1
2861 DEFAULT_STD_FLAG=no
2862 ;;
2863 powerpc-apple-macos* )
2864 USE_UNIX=0
2865 ac_cv_c_bigendian=yes
2866 SO_SUFFIX=shlib
2867 DEFAULT_DEFAULT_wxUSE_MAC=1
2868 DEFAULT_STD_FLAG=no
2869 ;;
2870
2871 *-*-beos* )
2872 USE_BEOS=1
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BEOS__ 1
2875 _ACEOF
2876
2877 ;;
2878
2879 *)
2880 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2881 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2882 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2883 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2884
2885 DEFAULT_DEFAULT_wxUSE_X11=1
2886 DEFAULT_wxUSE_SHARED=no
2887 esac
2888
2889
2890
2891
2892 wx_arg_cache_file="configarg.cache"
2893 echo "loading argument cache $wx_arg_cache_file"
2894 rm -f ${wx_arg_cache_file}.tmp
2895 touch ${wx_arg_cache_file}.tmp
2896 touch ${wx_arg_cache_file}
2897
2898
2899 DEBUG_CONFIGURE=0
2900 if test $DEBUG_CONFIGURE = 1; then
2901 DEFAULT_wxUSE_UNIVERSAL=no
2902 DEFAULT_wxUSE_STL=no
2903
2904 DEFAULT_wxUSE_NANOX=no
2905
2906 DEFAULT_wxUSE_THREADS=yes
2907
2908 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2909 DEFAULT_wxUSE_OPTIMISE=no
2910 DEFAULT_wxUSE_PROFILE=no
2911 DEFAULT_wxUSE_NO_DEPS=no
2912 DEFAULT_wxUSE_VARARG_MACROS=no
2913 DEFAULT_wxUSE_NO_RTTI=no
2914 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2915 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2916 DEFAULT_wxUSE_RPATH=yes
2917 DEFAULT_wxUSE_PERMISSIVE=no
2918 DEFAULT_wxUSE_DEBUG_FLAG=yes
2919 DEFAULT_wxUSE_DEBUG_INFO=yes
2920 DEFAULT_wxUSE_DEBUG_GDB=yes
2921 DEFAULT_wxUSE_MEM_TRACING=no
2922 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2923 DEFAULT_wxUSE_DMALLOC=no
2924 DEFAULT_wxUSE_APPLE_IEEE=no
2925
2926 DEFAULT_wxUSE_EXCEPTIONS=no
2927 DEFAULT_wxUSE_LOG=yes
2928 DEFAULT_wxUSE_LOGWINDOW=no
2929 DEFAULT_wxUSE_LOGGUI=no
2930 DEFAULT_wxUSE_LOGDIALOG=no
2931
2932 DEFAULT_wxUSE_GUI=yes
2933 DEFAULT_wxUSE_CONTROLS=no
2934
2935 DEFAULT_wxUSE_REGEX=no
2936 DEFAULT_wxUSE_XML=no
2937 DEFAULT_wxUSE_EXPAT=no
2938 DEFAULT_wxUSE_ZLIB=no
2939 DEFAULT_wxUSE_LIBPNG=no
2940 DEFAULT_wxUSE_LIBJPEG=no
2941 DEFAULT_wxUSE_LIBTIFF=no
2942 DEFAULT_wxUSE_LIBXPM=no
2943 DEFAULT_wxUSE_LIBMSPACK=no
2944 DEFAULT_wxUSE_LIBSDL=no
2945 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2946 DEFAULT_wxUSE_LIBGNOMEVFS=no
2947 DEFAULT_wxUSE_LIBHILDON=no
2948 DEFAULT_wxUSE_ODBC=no
2949 DEFAULT_wxUSE_OPENGL=no
2950
2951 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2952 DEFAULT_wxUSE_STACKWALKER=no
2953 DEFAULT_wxUSE_DEBUGREPORT=no
2954 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2955 DEFAULT_wxUSE_STD_IOSTREAM=no
2956 DEFAULT_wxUSE_STD_STRING=no
2957 DEFAULT_wxUSE_CMDLINE_PARSER=no
2958 DEFAULT_wxUSE_DATETIME=no
2959 DEFAULT_wxUSE_TIMER=no
2960 DEFAULT_wxUSE_STOPWATCH=no
2961 DEFAULT_wxUSE_FILE=no
2962 DEFAULT_wxUSE_FFILE=no
2963 DEFAULT_wxUSE_STDPATHS=no
2964 DEFAULT_wxUSE_TEXTBUFFER=no
2965 DEFAULT_wxUSE_TEXTFILE=no
2966 DEFAULT_wxUSE_SOUND=no
2967 DEFAULT_wxUSE_MEDIACTRL=no
2968 DEFAULT_wxUSE_GSTREAMER8=no
2969 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2970 DEFAULT_wxUSE_INTL=no
2971 DEFAULT_wxUSE_CONFIG=no
2972 DEFAULT_wxUSE_FONTMAP=no
2973 DEFAULT_wxUSE_STREAMS=no
2974 DEFAULT_wxUSE_SOCKETS=no
2975 DEFAULT_wxUSE_OLE=no
2976 DEFAULT_wxUSE_DATAOBJ=no
2977 DEFAULT_wxUSE_DIALUP_MANAGER=no
2978 DEFAULT_wxUSE_JOYSTICK=no
2979 DEFAULT_wxUSE_DYNLIB_CLASS=no
2980 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2981 DEFAULT_wxUSE_LONGLONG=no
2982 DEFAULT_wxUSE_GEOMETRY=no
2983
2984 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2985 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2986 DEFAULT_wxUSE_POSTSCRIPT=no
2987
2988 DEFAULT_wxUSE_CLIPBOARD=no
2989 DEFAULT_wxUSE_TOOLTIPS=no
2990 DEFAULT_wxUSE_DRAG_AND_DROP=no
2991 DEFAULT_wxUSE_DRAGIMAGE=no
2992 DEFAULT_wxUSE_SPLINES=no
2993 DEFAULT_wxUSE_MOUSEWHEEL=no
2994
2995 DEFAULT_wxUSE_MDI=no
2996 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2997 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2998 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2999
3000 DEFAULT_wxUSE_CONSTRAINTS=no
3001 DEFAULT_wxUSE_IPC=no
3002 DEFAULT_wxUSE_HELP=no
3003 DEFAULT_wxUSE_MS_HTML_HELP=no
3004 DEFAULT_wxUSE_WXHTML_HELP=no
3005 DEFAULT_wxUSE_TREELAYOUT=no
3006 DEFAULT_wxUSE_METAFILE=no
3007 DEFAULT_wxUSE_MIMETYPE=no
3008 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3009 DEFAULT_wxUSE_PROTOCOL=no
3010 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3011 DEFAULT_wxUSE_PROTOCOL_FTP=no
3012 DEFAULT_wxUSE_PROTOCOL_FILE=no
3013 DEFAULT_wxUSE_URL=no
3014 DEFAULT_wxUSE_VARIANT=no
3015
3016 DEFAULT_wxUSE_ABOUTDLG=no
3017 DEFAULT_wxUSE_COMMONDLGS=no
3018 DEFAULT_wxUSE_CHOICEDLG=no
3019 DEFAULT_wxUSE_COLOURDLG=no
3020 DEFAULT_wxUSE_DIRDLG=no
3021 DEFAULT_wxUSE_FILEDLG=no
3022 DEFAULT_wxUSE_FINDREPLDLG=no
3023 DEFAULT_wxUSE_FONTDLG=no
3024 DEFAULT_wxUSE_MSGDLG=no
3025 DEFAULT_wxUSE_NUMBERDLG=no
3026 DEFAULT_wxUSE_TEXTDLG=no
3027 DEFAULT_wxUSE_SPLASH=no
3028 DEFAULT_wxUSE_STARTUP_TIPS=no
3029 DEFAULT_wxUSE_PROGRESSDLG=no
3030 DEFAULT_wxUSE_WIZARDDLG=no
3031
3032 DEFAULT_wxUSE_MENUS=no
3033 DEFAULT_wxUSE_MINIFRAME=no
3034 DEFAULT_wxUSE_HTML=no
3035 DEFAULT_wxUSE_RICHTEXT=no
3036 DEFAULT_wxUSE_XRC=no
3037 DEFAULT_wxUSE_AUI=no
3038 DEFAULT_wxUSE_STC=no
3039 DEFAULT_wxUSE_WEBKIT=no
3040 DEFAULT_wxUSE_FILESYSTEM=no
3041 DEFAULT_wxUSE_FS_INET=no
3042 DEFAULT_wxUSE_FS_ZIP=no
3043 DEFAULT_wxUSE_FS_ARCHIVE=no
3044 DEFAULT_wxUSE_BUSYINFO=no
3045 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3046 DEFAULT_wxUSE_ZIPSTREAM=no
3047 DEFAULT_wxUSE_TARSTREAM=no
3048 DEFAULT_wxUSE_VALIDATORS=no
3049
3050 DEFAULT_wxUSE_ACCEL=no
3051 DEFAULT_wxUSE_ANIMATIONCTRL=no
3052 DEFAULT_wxUSE_BUTTON=no
3053 DEFAULT_wxUSE_BMPBUTTON=no
3054 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3055 DEFAULT_wxUSE_CALCTRL=no
3056 DEFAULT_wxUSE_CARET=no
3057 DEFAULT_wxUSE_CHECKBOX=no
3058 DEFAULT_wxUSE_CHECKLST=no
3059 DEFAULT_wxUSE_CHOICE=no
3060 DEFAULT_wxUSE_CHOICEBOOK=no
3061 DEFAULT_wxUSE_COLLPANE=no
3062 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3063 DEFAULT_wxUSE_COMBOBOX=no
3064 DEFAULT_wxUSE_COMBOCTRL=no
3065 DEFAULT_wxUSE_DATEPICKCTRL=no
3066 DEFAULT_wxUSE_DISPLAY=no
3067 DEFAULT_wxUSE_DETECT_SM=no
3068 DEFAULT_wxUSE_DIRPICKERCTRL=no
3069 DEFAULT_wxUSE_FILEPICKERCTRL=no
3070 DEFAULT_wxUSE_FONTPICKERCTRL=no
3071 DEFAULT_wxUSE_GAUGE=no
3072 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3073 DEFAULT_wxUSE_GRID=no
3074 DEFAULT_wxUSE_HYPERLINKCTRL=no
3075 DEFAULT_wxUSE_DATAVIEWCTRL=no
3076 DEFAULT_wxUSE_IMAGLIST=no
3077 DEFAULT_wxUSE_LISTBOOK=no
3078 DEFAULT_wxUSE_LISTBOX=no
3079 DEFAULT_wxUSE_LISTCTRL=no
3080 DEFAULT_wxUSE_NOTEBOOK=no
3081 DEFAULT_wxUSE_ODCOMBOBOX=no
3082 DEFAULT_wxUSE_RADIOBOX=no
3083 DEFAULT_wxUSE_RADIOBTN=no
3084 DEFAULT_wxUSE_SASH=no
3085 DEFAULT_wxUSE_SCROLLBAR=no
3086 DEFAULT_wxUSE_SEARCHCTRL=no
3087 DEFAULT_wxUSE_SLIDER=no
3088 DEFAULT_wxUSE_SPINBTN=no
3089 DEFAULT_wxUSE_SPINCTRL=no
3090 DEFAULT_wxUSE_SPLITTER=no
3091 DEFAULT_wxUSE_STATBMP=no
3092 DEFAULT_wxUSE_STATBOX=no
3093 DEFAULT_wxUSE_STATLINE=no
3094 DEFAULT_wxUSE_STATTEXT=no
3095 DEFAULT_wxUSE_STATUSBAR=yes
3096 DEFAULT_wxUSE_TAB_DIALOG=no
3097 DEFAULT_wxUSE_TEXTCTRL=no
3098 DEFAULT_wxUSE_TOGGLEBTN=no
3099 DEFAULT_wxUSE_TOOLBAR=no
3100 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3101 DEFAULT_wxUSE_TREEBOOK=no
3102 DEFAULT_wxUSE_TOOLBOOK=no
3103 DEFAULT_wxUSE_TREECTRL=no
3104 DEFAULT_wxUSE_POPUPWIN=no
3105 DEFAULT_wxUSE_TIPWINDOW=no
3106
3107 DEFAULT_wxUSE_UNICODE=no
3108 DEFAULT_wxUSE_UNICODE_MSLU=no
3109 DEFAULT_wxUSE_WCSRTOMBS=no
3110
3111 DEFAULT_wxUSE_PALETTE=no
3112 DEFAULT_wxUSE_IMAGE=no
3113 DEFAULT_wxUSE_GIF=no
3114 DEFAULT_wxUSE_PCX=no
3115 DEFAULT_wxUSE_TGA=no
3116 DEFAULT_wxUSE_PNM=no
3117 DEFAULT_wxUSE_IFF=no
3118 DEFAULT_wxUSE_XPM=no
3119 DEFAULT_wxUSE_ICO_CUR=no
3120 DEFAULT_wxUSE_ACCESSIBILITY=no
3121
3122 DEFAULT_wxUSE_MONOLITHIC=no
3123 DEFAULT_wxUSE_PLUGINS=no
3124 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3125 else
3126 DEFAULT_wxUSE_UNIVERSAL=no
3127 DEFAULT_wxUSE_STL=no
3128
3129 DEFAULT_wxUSE_NANOX=no
3130
3131 DEFAULT_wxUSE_THREADS=yes
3132
3133 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3134 DEFAULT_wxUSE_OPTIMISE=yes
3135 DEFAULT_wxUSE_PROFILE=no
3136 DEFAULT_wxUSE_NO_DEPS=no
3137 DEFAULT_wxUSE_VARARG_MACROS=yes
3138 DEFAULT_wxUSE_NO_RTTI=no
3139 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3140 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3141 DEFAULT_wxUSE_RPATH=yes
3142 DEFAULT_wxUSE_PERMISSIVE=no
3143 DEFAULT_wxUSE_DEBUG_FLAG=no
3144 DEFAULT_wxUSE_DEBUG_INFO=no
3145 DEFAULT_wxUSE_DEBUG_GDB=no
3146 DEFAULT_wxUSE_MEM_TRACING=no
3147 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3148 DEFAULT_wxUSE_DMALLOC=no
3149 DEFAULT_wxUSE_APPLE_IEEE=yes
3150
3151 DEFAULT_wxUSE_EXCEPTIONS=yes
3152 DEFAULT_wxUSE_LOG=yes
3153 DEFAULT_wxUSE_LOGWINDOW=yes
3154 DEFAULT_wxUSE_LOGGUI=yes
3155 DEFAULT_wxUSE_LOGDIALOG=yes
3156
3157 DEFAULT_wxUSE_GUI=yes
3158
3159 DEFAULT_wxUSE_REGEX=yes
3160 DEFAULT_wxUSE_XML=yes
3161 DEFAULT_wxUSE_EXPAT=yes
3162 DEFAULT_wxUSE_ZLIB=yes
3163 DEFAULT_wxUSE_LIBPNG=yes
3164 DEFAULT_wxUSE_LIBJPEG=yes
3165 DEFAULT_wxUSE_LIBTIFF=yes
3166 DEFAULT_wxUSE_LIBXPM=yes
3167 DEFAULT_wxUSE_LIBMSPACK=yes
3168 DEFAULT_wxUSE_LIBSDL=no
3169 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3170 DEFAULT_wxUSE_LIBGNOMEVFS=no
3171 DEFAULT_wxUSE_LIBHILDON=no
3172 DEFAULT_wxUSE_ODBC=no
3173 DEFAULT_wxUSE_OPENGL=no
3174
3175 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3176 DEFAULT_wxUSE_STACKWALKER=yes
3177 DEFAULT_wxUSE_DEBUGREPORT=yes
3178 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3179 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3180 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3181 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3182 DEFAULT_wxUSE_DATETIME=yes
3183 DEFAULT_wxUSE_TIMER=yes
3184 DEFAULT_wxUSE_STOPWATCH=yes
3185 DEFAULT_wxUSE_FILE=yes
3186 DEFAULT_wxUSE_FFILE=yes
3187 DEFAULT_wxUSE_STDPATHS=yes
3188 DEFAULT_wxUSE_TEXTBUFFER=yes
3189 DEFAULT_wxUSE_TEXTFILE=yes
3190 DEFAULT_wxUSE_SOUND=yes
3191 DEFAULT_wxUSE_MEDIACTRL=no
3192 DEFAULT_wxUSE_GSTREAMER8=no
3193 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3194 DEFAULT_wxUSE_INTL=yes
3195 DEFAULT_wxUSE_CONFIG=yes
3196 DEFAULT_wxUSE_FONTMAP=yes
3197 DEFAULT_wxUSE_STREAMS=yes
3198 DEFAULT_wxUSE_SOCKETS=yes
3199 DEFAULT_wxUSE_OLE=yes
3200 DEFAULT_wxUSE_DATAOBJ=yes
3201 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3202 DEFAULT_wxUSE_JOYSTICK=yes
3203 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3204 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3205 DEFAULT_wxUSE_LONGLONG=yes
3206 DEFAULT_wxUSE_GEOMETRY=yes
3207
3208 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3209 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3210 DEFAULT_wxUSE_POSTSCRIPT=yes
3211
3212 DEFAULT_wxUSE_CLIPBOARD=yes
3213 DEFAULT_wxUSE_TOOLTIPS=yes
3214 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3215 DEFAULT_wxUSE_DRAGIMAGE=yes
3216 DEFAULT_wxUSE_SPLINES=yes
3217 DEFAULT_wxUSE_MOUSEWHEEL=yes
3218
3219 DEFAULT_wxUSE_MDI=yes
3220 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3221 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3222 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3223
3224 DEFAULT_wxUSE_CONSTRAINTS=yes
3225 DEFAULT_wxUSE_IPC=yes
3226 DEFAULT_wxUSE_HELP=yes
3227 DEFAULT_wxUSE_MS_HTML_HELP=yes
3228 DEFAULT_wxUSE_WXHTML_HELP=yes
3229 DEFAULT_wxUSE_TREELAYOUT=yes
3230 DEFAULT_wxUSE_METAFILE=yes
3231 DEFAULT_wxUSE_MIMETYPE=yes
3232 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3233 DEFAULT_wxUSE_PROTOCOL=yes
3234 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3235 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3236 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3237 DEFAULT_wxUSE_URL=yes
3238 DEFAULT_wxUSE_VARIANT=yes
3239
3240 DEFAULT_wxUSE_ABOUTDLG=yes
3241 DEFAULT_wxUSE_COMMONDLGS=yes
3242 DEFAULT_wxUSE_CHOICEDLG=yes
3243 DEFAULT_wxUSE_COLOURDLG=yes
3244 DEFAULT_wxUSE_DIRDLG=yes
3245 DEFAULT_wxUSE_FILEDLG=yes
3246 DEFAULT_wxUSE_FINDREPLDLG=yes
3247 DEFAULT_wxUSE_FONTDLG=yes
3248 DEFAULT_wxUSE_MSGDLG=yes
3249 DEFAULT_wxUSE_NUMBERDLG=yes
3250 DEFAULT_wxUSE_TEXTDLG=yes
3251 DEFAULT_wxUSE_SPLASH=yes
3252 DEFAULT_wxUSE_STARTUP_TIPS=yes
3253 DEFAULT_wxUSE_PROGRESSDLG=yes
3254 DEFAULT_wxUSE_WIZARDDLG=yes
3255
3256 DEFAULT_wxUSE_MENUS=yes
3257 DEFAULT_wxUSE_MINIFRAME=yes
3258 DEFAULT_wxUSE_HTML=yes
3259 DEFAULT_wxUSE_RICHTEXT=yes
3260 DEFAULT_wxUSE_XRC=yes
3261 DEFAULT_wxUSE_AUI=yes
3262 DEFAULT_wxUSE_STC=yes
3263 DEFAULT_wxUSE_WEBKIT=yes
3264 DEFAULT_wxUSE_FILESYSTEM=yes
3265 DEFAULT_wxUSE_FS_INET=yes
3266 DEFAULT_wxUSE_FS_ZIP=yes
3267 DEFAULT_wxUSE_FS_ARCHIVE=yes
3268 DEFAULT_wxUSE_BUSYINFO=yes
3269 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3270 DEFAULT_wxUSE_ZIPSTREAM=yes
3271 DEFAULT_wxUSE_TARSTREAM=yes
3272 DEFAULT_wxUSE_VALIDATORS=yes
3273
3274 DEFAULT_wxUSE_ACCEL=yes
3275 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3276 DEFAULT_wxUSE_BUTTON=yes
3277 DEFAULT_wxUSE_BMPBUTTON=yes
3278 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3279 DEFAULT_wxUSE_CALCTRL=yes
3280 DEFAULT_wxUSE_CARET=yes
3281 DEFAULT_wxUSE_CHECKBOX=yes
3282 DEFAULT_wxUSE_CHECKLST=yes
3283 DEFAULT_wxUSE_CHOICE=yes
3284 DEFAULT_wxUSE_CHOICEBOOK=yes
3285 DEFAULT_wxUSE_COLLPANE=yes
3286 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3287 DEFAULT_wxUSE_COMBOBOX=yes
3288 DEFAULT_wxUSE_COMBOCTRL=yes
3289 DEFAULT_wxUSE_DATEPICKCTRL=yes
3290 DEFAULT_wxUSE_DISPLAY=yes
3291 DEFAULT_wxUSE_DETECT_SM=yes
3292 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3293 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3294 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3295 DEFAULT_wxUSE_GAUGE=yes
3296 DEFAULT_wxUSE_GRID=yes
3297 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3298 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3299 DEFAULT_wxUSE_DATAVIEWCTRL=no
3300 DEFAULT_wxUSE_IMAGLIST=yes
3301 DEFAULT_wxUSE_LISTBOOK=yes
3302 DEFAULT_wxUSE_LISTBOX=yes
3303 DEFAULT_wxUSE_LISTCTRL=yes
3304 DEFAULT_wxUSE_NOTEBOOK=yes
3305 DEFAULT_wxUSE_ODCOMBOBOX=yes
3306 DEFAULT_wxUSE_RADIOBOX=yes
3307 DEFAULT_wxUSE_RADIOBTN=yes
3308 DEFAULT_wxUSE_SASH=yes
3309 DEFAULT_wxUSE_SCROLLBAR=yes
3310 DEFAULT_wxUSE_SEARCHCTRL=yes
3311 DEFAULT_wxUSE_SLIDER=yes
3312 DEFAULT_wxUSE_SPINBTN=yes
3313 DEFAULT_wxUSE_SPINCTRL=yes
3314 DEFAULT_wxUSE_SPLITTER=yes
3315 DEFAULT_wxUSE_STATBMP=yes
3316 DEFAULT_wxUSE_STATBOX=yes
3317 DEFAULT_wxUSE_STATLINE=yes
3318 DEFAULT_wxUSE_STATTEXT=yes
3319 DEFAULT_wxUSE_STATUSBAR=yes
3320 DEFAULT_wxUSE_TAB_DIALOG=no
3321 DEFAULT_wxUSE_TEXTCTRL=yes
3322 DEFAULT_wxUSE_TOGGLEBTN=yes
3323 DEFAULT_wxUSE_TOOLBAR=yes
3324 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3325 DEFAULT_wxUSE_TREEBOOK=yes
3326 DEFAULT_wxUSE_TOOLBOOK=yes
3327 DEFAULT_wxUSE_TREECTRL=yes
3328 DEFAULT_wxUSE_POPUPWIN=yes
3329 DEFAULT_wxUSE_TIPWINDOW=yes
3330
3331 DEFAULT_wxUSE_UNICODE=no
3332 DEFAULT_wxUSE_UNICODE_MSLU=yes
3333 DEFAULT_wxUSE_WCSRTOMBS=no
3334
3335 DEFAULT_wxUSE_PALETTE=yes
3336 DEFAULT_wxUSE_IMAGE=yes
3337 DEFAULT_wxUSE_GIF=yes
3338 DEFAULT_wxUSE_PCX=yes
3339 DEFAULT_wxUSE_TGA=yes
3340 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3341 DEFAULT_wxUSE_XPM=yes
3342 DEFAULT_wxUSE_ICO_CUR=yes
3343 DEFAULT_wxUSE_ACCESSIBILITY=no
3344
3345 DEFAULT_wxUSE_MONOLITHIC=no
3346 DEFAULT_wxUSE_PLUGINS=no
3347 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3348
3349 DEFAULT_wxUSE_GTK2=yes
3350 fi
3351
3352
3353
3354
3355 for toolkit in `echo $ALL_TOOLKITS`; do
3356 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3357 if test "x$LINE" != "x" ; then
3358 has_toolkit_in_cache=1
3359 eval "DEFAULT_$LINE"
3360 eval "CACHE_$toolkit=1"
3361
3362 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3363 if test "x$LINE" != "x" ; then
3364 eval "DEFAULT_$LINE"
3365 fi
3366 fi
3367 done
3368
3369
3370
3371 enablestring=
3372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3374 no_cache=0
3375 # Check whether --enable-gui was given.
3376 if test "${enable_gui+set}" = set; then
3377 enableval=$enable_gui;
3378 if test "$enableval" = yes; then
3379 ac_cv_use_gui='wxUSE_GUI=yes'
3380 else
3381 ac_cv_use_gui='wxUSE_GUI=no'
3382 fi
3383
3384 else
3385
3386 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x ; then
3388 eval "DEFAULT_$LINE"
3389 else
3390 no_cache=1
3391 fi
3392
3393 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3394
3395 fi
3396
3397
3398 eval "$ac_cv_use_gui"
3399 if test "$no_cache" != 1; then
3400 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3401 fi
3402
3403 if test "$wxUSE_GUI" = yes; then
3404 { echo "$as_me:$LINENO: result: yes" >&5
3405 echo "${ECHO_T}yes" >&6; }
3406 else
3407 { echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6; }
3409 fi
3410
3411
3412 enablestring=
3413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3415 no_cache=0
3416 # Check whether --enable-monolithic was given.
3417 if test "${enable_monolithic+set}" = set; then
3418 enableval=$enable_monolithic;
3419 if test "$enableval" = yes; then
3420 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3421 else
3422 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3423 fi
3424
3425 else
3426
3427 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3428 if test "x$LINE" != x ; then
3429 eval "DEFAULT_$LINE"
3430 else
3431 no_cache=1
3432 fi
3433
3434 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3435
3436 fi
3437
3438
3439 eval "$ac_cv_use_monolithic"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_MONOLITHIC" = yes; then
3445 { echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6; }
3447 else
3448 { echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6; }
3450 fi
3451
3452
3453 enablestring=
3454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3456 no_cache=0
3457 # Check whether --enable-plugins was given.
3458 if test "${enable_plugins+set}" = set; then
3459 enableval=$enable_plugins;
3460 if test "$enableval" = yes; then
3461 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3462 else
3463 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3464 fi
3465
3466 else
3467
3468 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x ; then
3470 eval "DEFAULT_$LINE"
3471 else
3472 no_cache=1
3473 fi
3474
3475 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3476
3477 fi
3478
3479
3480 eval "$ac_cv_use_plugins"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3483 fi
3484
3485 if test "$wxUSE_PLUGINS" = yes; then
3486 { echo "$as_me:$LINENO: result: yes" >&5
3487 echo "${ECHO_T}yes" >&6; }
3488 else
3489 { echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6; }
3491 fi
3492
3493
3494 withstring=without
3495 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3496 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3497 no_cache=0
3498
3499 # Check whether --with-subdirs was given.
3500 if test "${with_subdirs+set}" = set; then
3501 withval=$with_subdirs;
3502 if test "$withval" = yes; then
3503 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3504 else
3505 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3506 fi
3507
3508 else
3509
3510 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3513 else
3514 no_cache=1
3515 fi
3516
3517 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3518
3519 fi
3520
3521
3522 eval "$ac_cv_use_subdirs"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3525 fi
3526
3527 if test "$wxWITH_SUBDIRS" = yes; then
3528 { echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 else
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3533 fi
3534
3535
3536 if test "$wxUSE_GUI" = "yes"; then
3537
3538
3539 enablestring=
3540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3541 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3542 no_cache=0
3543 # Check whether --enable-universal was given.
3544 if test "${enable_universal+set}" = set; then
3545 enableval=$enable_universal;
3546 if test "$enableval" = yes; then
3547 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3548 else
3549 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3550 fi
3551
3552 else
3553
3554 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x ; then
3556 eval "DEFAULT_$LINE"
3557 else
3558 no_cache=1
3559 fi
3560
3561 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3562
3563 fi
3564
3565
3566 eval "$ac_cv_use_universal"
3567 if test "$no_cache" != 1; then
3568 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3569 fi
3570
3571 if test "$wxUSE_UNIVERSAL" = yes; then
3572 { echo "$as_me:$LINENO: result: yes" >&5
3573 echo "${ECHO_T}yes" >&6; }
3574 else
3575 { echo "$as_me:$LINENO: result: no" >&5
3576 echo "${ECHO_T}no" >&6; }
3577 fi
3578
3579
3580 # Check whether --with-gtk was given.
3581 if test "${with_gtk+set}" = set; then
3582 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3583 fi
3584
3585
3586 # Check whether --with-motif was given.
3587 if test "${with_motif+set}" = set; then
3588 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3589 fi
3590
3591
3592 # Check whether --with-mac was given.
3593 if test "${with_mac+set}" = set; then
3594 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3595 fi
3596
3597
3598 # Check whether --with-cocoa was given.
3599 if test "${with_cocoa+set}" = set; then
3600 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3601 fi
3602
3603
3604 # Check whether --with-wine was given.
3605 if test "${with_wine+set}" = set; then
3606 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3607 fi
3608
3609
3610 # Check whether --with-msw was given.
3611 if test "${with_msw+set}" = set; then
3612 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3613 fi
3614
3615
3616 # Check whether --with-pm was given.
3617 if test "${with_pm+set}" = set; then
3618 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3619 fi
3620
3621
3622 # Check whether --with-mgl was given.
3623 if test "${with_mgl+set}" = set; then
3624 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3625 fi
3626
3627
3628 # Check whether --with-directfb was given.
3629 if test "${with_directfb+set}" = set; then
3630 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3631 fi
3632
3633
3634 # Check whether --with-microwin was given.
3635 if test "${with_microwin+set}" = set; then
3636 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3637 fi
3638
3639
3640 # Check whether --with-x11 was given.
3641 if test "${with_x11+set}" = set; then
3642 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3643 fi
3644
3645
3646 enablestring=
3647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3648 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3649 no_cache=0
3650 # Check whether --enable-nanox was given.
3651 if test "${enable_nanox+set}" = set; then
3652 enableval=$enable_nanox;
3653 if test "$enableval" = yes; then
3654 ac_cv_use_nanox='wxUSE_NANOX=yes'
3655 else
3656 ac_cv_use_nanox='wxUSE_NANOX=no'
3657 fi
3658
3659 else
3660
3661 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3664 else
3665 no_cache=1
3666 fi
3667
3668 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3669
3670 fi
3671
3672
3673 eval "$ac_cv_use_nanox"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3676 fi
3677
3678 if test "$wxUSE_NANOX" = yes; then
3679 { echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6; }
3681 else
3682 { echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6; }
3684 fi
3685
3686
3687 # Check whether --enable-gtk2 was given.
3688 if test "${enable_gtk2+set}" = set; then
3689 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3690 fi
3691
3692
3693 enablestring=
3694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3695 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3696 no_cache=0
3697 # Check whether --enable-gpe was given.
3698 if test "${enable_gpe+set}" = set; then
3699 enableval=$enable_gpe;
3700 if test "$enableval" = yes; then
3701 ac_cv_use_gpe='wxUSE_GPE=yes'
3702 else
3703 ac_cv_use_gpe='wxUSE_GPE=no'
3704 fi
3705
3706 else
3707
3708 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3711 else
3712 no_cache=1
3713 fi
3714
3715 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3716
3717 fi
3718
3719
3720 eval "$ac_cv_use_gpe"
3721 if test "$no_cache" != 1; then
3722 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3723 fi
3724
3725 if test "$wxUSE_GPE" = yes; then
3726 { echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6; }
3728 else
3729 { echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6; }
3731 fi
3732
3733
3734
3735 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3736 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3737 no_cache=0
3738
3739 # Check whether --with-libpng was given.
3740 if test "${with_libpng+set}" = set; then
3741 withval=$with_libpng;
3742 if test "$withval" = yes; then
3743 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3744 elif test "$withval" = no; then
3745 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3746 elif test "$withval" = sys; then
3747 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3748 elif test "$withval" = builtin; then
3749 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756 else
3757
3758 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3761 else
3762 no_cache=1
3763 fi
3764
3765 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3766
3767 fi
3768
3769
3770 eval "$ac_cv_use_libpng"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3773 fi
3774
3775 if test "$wxUSE_LIBPNG" = yes; then
3776 { echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6; }
3778 elif test "$wxUSE_LIBPNG" = no; then
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3781 elif test "$wxUSE_LIBPNG" = sys; then
3782 { echo "$as_me:$LINENO: result: system version" >&5
3783 echo "${ECHO_T}system version" >&6; }
3784 elif test "$wxUSE_LIBPNG" = builtin; then
3785 { echo "$as_me:$LINENO: result: builtin version" >&5
3786 echo "${ECHO_T}builtin version" >&6; }
3787 else
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3791 fi
3792
3793
3794 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3795 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3796 no_cache=0
3797
3798 # Check whether --with-libjpeg was given.
3799 if test "${with_libjpeg+set}" = set; then
3800 withval=$with_libjpeg;
3801 if test "$withval" = yes; then
3802 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3803 elif test "$withval" = no; then
3804 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3805 elif test "$withval" = sys; then
3806 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3807 elif test "$withval" = builtin; then
3808 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3809 else
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3813 fi
3814
3815 else
3816
3817 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3820 else
3821 no_cache=1
3822 fi
3823
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3825
3826 fi
3827
3828
3829 eval "$ac_cv_use_libjpeg"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3832 fi
3833
3834 if test "$wxUSE_LIBJPEG" = yes; then
3835 { echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6; }
3837 elif test "$wxUSE_LIBJPEG" = no; then
3838 { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3840 elif test "$wxUSE_LIBJPEG" = sys; then
3841 { echo "$as_me:$LINENO: result: system version" >&5
3842 echo "${ECHO_T}system version" >&6; }
3843 elif test "$wxUSE_LIBJPEG" = builtin; then
3844 { echo "$as_me:$LINENO: result: builtin version" >&5
3845 echo "${ECHO_T}builtin version" >&6; }
3846 else
3847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3848 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3849 { (exit 1); exit 1; }; }
3850 fi
3851
3852
3853 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3854 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3855 no_cache=0
3856
3857 # Check whether --with-libtiff was given.
3858 if test "${with_libtiff+set}" = set; then
3859 withval=$with_libtiff;
3860 if test "$withval" = yes; then
3861 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3862 elif test "$withval" = no; then
3863 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3864 elif test "$withval" = sys; then
3865 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3866 elif test "$withval" = builtin; then
3867 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3868 else
3869 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3870 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3871 { (exit 1); exit 1; }; }
3872 fi
3873
3874 else
3875
3876 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3879 else
3880 no_cache=1
3881 fi
3882
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3884
3885 fi
3886
3887
3888 eval "$ac_cv_use_libtiff"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3891 fi
3892
3893 if test "$wxUSE_LIBTIFF" = yes; then
3894 { echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6; }
3896 elif test "$wxUSE_LIBTIFF" = no; then
3897 { echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6; }
3899 elif test "$wxUSE_LIBTIFF" = sys; then
3900 { echo "$as_me:$LINENO: result: system version" >&5
3901 echo "${ECHO_T}system version" >&6; }
3902 elif test "$wxUSE_LIBTIFF" = builtin; then
3903 { echo "$as_me:$LINENO: result: builtin version" >&5
3904 echo "${ECHO_T}builtin version" >&6; }
3905 else
3906 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3907 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3908 { (exit 1); exit 1; }; }
3909 fi
3910
3911
3912 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3913 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3914 no_cache=0
3915
3916 # Check whether --with-libxpm was given.
3917 if test "${with_libxpm+set}" = set; then
3918 withval=$with_libxpm;
3919 if test "$withval" = yes; then
3920 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3921 elif test "$withval" = no; then
3922 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3923 elif test "$withval" = sys; then
3924 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3925 elif test "$withval" = builtin; then
3926 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3927 else
3928 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3929 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3930 { (exit 1); exit 1; }; }
3931 fi
3932
3933 else
3934
3935 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x ; then
3937 eval "DEFAULT_$LINE"
3938 else
3939 no_cache=1
3940 fi
3941
3942 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3943
3944 fi
3945
3946
3947 eval "$ac_cv_use_libxpm"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3950 fi
3951
3952 if test "$wxUSE_LIBXPM" = yes; then
3953 { echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6; }
3955 elif test "$wxUSE_LIBXPM" = no; then
3956 { echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6; }
3958 elif test "$wxUSE_LIBXPM" = sys; then
3959 { echo "$as_me:$LINENO: result: system version" >&5
3960 echo "${ECHO_T}system version" >&6; }
3961 elif test "$wxUSE_LIBXPM" = builtin; then
3962 { echo "$as_me:$LINENO: result: builtin version" >&5
3963 echo "${ECHO_T}builtin version" >&6; }
3964 else
3965 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3966 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3967 { (exit 1); exit 1; }; }
3968 fi
3969
3970
3971 withstring=
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3974 no_cache=0
3975
3976 # Check whether --with-libmspack was given.
3977 if test "${with_libmspack+set}" = set; then
3978 withval=$with_libmspack;
3979 if test "$withval" = yes; then
3980 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3981 else
3982 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3983 fi
3984
3985 else
3986
3987 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3990 else
3991 no_cache=1
3992 fi
3993
3994 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3995
3996 fi
3997
3998
3999 eval "$ac_cv_use_libmspack"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4002 fi
4003
4004 if test "$wxUSE_LIBMSPACK" = yes; then
4005 { echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6; }
4007 else
4008 { echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6; }
4010 fi
4011
4012
4013 withstring=
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4016 no_cache=0
4017
4018 # Check whether --with-sdl was given.
4019 if test "${with_sdl+set}" = set; then
4020 withval=$with_sdl;
4021 if test "$withval" = yes; then
4022 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4023 else
4024 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4037
4038 fi
4039
4040
4041 eval "$ac_cv_use_sdl"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test "$wxUSE_LIBSDL" = yes; then
4047 { echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6; }
4049 else
4050 { echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6; }
4052 fi
4053
4054
4055 withstring=
4056 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4057 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4058 no_cache=0
4059
4060 # Check whether --with-gnomeprint was given.
4061 if test "${with_gnomeprint+set}" = set; then
4062 withval=$with_gnomeprint;
4063 if test "$withval" = yes; then
4064 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4065 else
4066 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4067 fi
4068
4069 else
4070
4071 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4074 else
4075 no_cache=1
4076 fi
4077
4078 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4079
4080 fi
4081
4082
4083 eval "$ac_cv_use_gnomeprint"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4086 fi
4087
4088 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4089 { echo "$as_me:$LINENO: result: yes" >&5
4090 echo "${ECHO_T}yes" >&6; }
4091 else
4092 { echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6; }
4094 fi
4095
4096
4097 withstring=
4098 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4099 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4100 no_cache=0
4101
4102 # Check whether --with-gnomevfs was given.
4103 if test "${with_gnomevfs+set}" = set; then
4104 withval=$with_gnomevfs;
4105 if test "$withval" = yes; then
4106 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4107 else
4108 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4109 fi
4110
4111 else
4112
4113 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x ; then
4115 eval "DEFAULT_$LINE"
4116 else
4117 no_cache=1
4118 fi
4119
4120 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4121
4122 fi
4123
4124
4125 eval "$ac_cv_use_gnomevfs"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4128 fi
4129
4130 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4131 { echo "$as_me:$LINENO: result: yes" >&5
4132 echo "${ECHO_T}yes" >&6; }
4133 else
4134 { echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6; }
4136 fi
4137
4138
4139 withstring=
4140 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4141 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4142 no_cache=0
4143
4144 # Check whether --with-hildon was given.
4145 if test "${with_hildon+set}" = set; then
4146 withval=$with_hildon;
4147 if test "$withval" = yes; then
4148 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4149 else
4150 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4151 fi
4152
4153 else
4154
4155 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x ; then
4157 eval "DEFAULT_$LINE"
4158 else
4159 no_cache=1
4160 fi
4161
4162 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4163
4164 fi
4165
4166
4167 eval "$ac_cv_use_hildon"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4170 fi
4171
4172 if test "$wxUSE_LIBHILDON" = yes; then
4173 { echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6; }
4175 else
4176 { echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6; }
4178 fi
4179
4180
4181 withstring=
4182 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4183 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4184 no_cache=0
4185
4186 # Check whether --with-opengl was given.
4187 if test "${with_opengl+set}" = set; then
4188 withval=$with_opengl;
4189 if test "$withval" = yes; then
4190 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4191 else
4192 ac_cv_use_opengl='wxUSE_OPENGL=no'
4193 fi
4194
4195 else
4196
4197 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4200 else
4201 no_cache=1
4202 fi
4203
4204 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4205
4206 fi
4207
4208
4209 eval "$ac_cv_use_opengl"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4212 fi
4213
4214 if test "$wxUSE_OPENGL" = yes; then
4215 { echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6; }
4217 else
4218 { echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6; }
4220 fi
4221
4222
4223 if test "$wxUSE_UNIVERSAL" = "yes"; then
4224
4225 # Check whether --with-themes was given.
4226 if test "${with_themes+set}" = set; then
4227 withval=$with_themes; wxUNIV_THEMES="$withval"
4228 fi
4229
4230 fi
4231
4232 fi
4233
4234
4235 withstring=
4236 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4237 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4238 no_cache=0
4239
4240 # Check whether --with-dmalloc was given.
4241 if test "${with_dmalloc+set}" = set; then
4242 withval=$with_dmalloc;
4243 if test "$withval" = yes; then
4244 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4245 else
4246 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4247 fi
4248
4249 else
4250
4251 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4254 else
4255 no_cache=1
4256 fi
4257
4258 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4259
4260 fi
4261
4262
4263 eval "$ac_cv_use_dmalloc"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test "$wxUSE_DMALLOC" = yes; then
4269 { echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6; }
4271 else
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4274 fi
4275
4276
4277 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4278 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4279 no_cache=0
4280
4281 # Check whether --with-regex was given.
4282 if test "${with_regex+set}" = set; then
4283 withval=$with_regex;
4284 if test "$withval" = yes; then
4285 ac_cv_use_regex='wxUSE_REGEX=yes'
4286 elif test "$withval" = no; then
4287 ac_cv_use_regex='wxUSE_REGEX=no'
4288 elif test "$withval" = sys; then
4289 ac_cv_use_regex='wxUSE_REGEX=sys'
4290 elif test "$withval" = builtin; then
4291 ac_cv_use_regex='wxUSE_REGEX=builtin'
4292 else
4293 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4294 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4295 { (exit 1); exit 1; }; }
4296 fi
4297
4298 else
4299
4300 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x ; then
4302 eval "DEFAULT_$LINE"
4303 else
4304 no_cache=1
4305 fi
4306
4307 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4308
4309 fi
4310
4311
4312 eval "$ac_cv_use_regex"
4313 if test "$no_cache" != 1; then
4314 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4315 fi
4316
4317 if test "$wxUSE_REGEX" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_REGEX" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_REGEX" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_REGEX" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4329 else
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4333 fi
4334
4335
4336 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4337 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4338 no_cache=0
4339
4340 # Check whether --with-zlib was given.
4341 if test "${with_zlib+set}" = set; then
4342 withval=$with_zlib;
4343 if test "$withval" = yes; then
4344 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4345 elif test "$withval" = no; then
4346 ac_cv_use_zlib='wxUSE_ZLIB=no'
4347 elif test "$withval" = sys; then
4348 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4349 elif test "$withval" = builtin; then
4350 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4351 else
4352 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4353 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4354 { (exit 1); exit 1; }; }
4355 fi
4356
4357 else
4358
4359 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4362 else
4363 no_cache=1
4364 fi
4365
4366 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4367
4368 fi
4369
4370
4371 eval "$ac_cv_use_zlib"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4374 fi
4375
4376 if test "$wxUSE_ZLIB" = yes; then
4377 { echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6; }
4379 elif test "$wxUSE_ZLIB" = no; then
4380 { echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6; }
4382 elif test "$wxUSE_ZLIB" = sys; then
4383 { echo "$as_me:$LINENO: result: system version" >&5
4384 echo "${ECHO_T}system version" >&6; }
4385 elif test "$wxUSE_ZLIB" = builtin; then
4386 { echo "$as_me:$LINENO: result: builtin version" >&5
4387 echo "${ECHO_T}builtin version" >&6; }
4388 else
4389 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4390 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4391 { (exit 1); exit 1; }; }
4392 fi
4393
4394
4395 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4396 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4397 no_cache=0
4398
4399 # Check whether --with-odbc was given.
4400 if test "${with_odbc+set}" = set; then
4401 withval=$with_odbc;
4402 if test "$withval" = yes; then
4403 ac_cv_use_odbc='wxUSE_ODBC=yes'
4404 elif test "$withval" = no; then
4405 ac_cv_use_odbc='wxUSE_ODBC=no'
4406 elif test "$withval" = sys; then
4407 ac_cv_use_odbc='wxUSE_ODBC=sys'
4408 elif test "$withval" = builtin; then
4409 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4410 else
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4414 fi
4415
4416 else
4417
4418 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x ; then
4420 eval "DEFAULT_$LINE"
4421 else
4422 no_cache=1
4423 fi
4424
4425 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4426
4427 fi
4428
4429
4430 eval "$ac_cv_use_odbc"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4433 fi
4434
4435 if test "$wxUSE_ODBC" = yes; then
4436 { echo "$as_me:$LINENO: result: yes" >&5
4437 echo "${ECHO_T}yes" >&6; }
4438 elif test "$wxUSE_ODBC" = no; then
4439 { echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6; }
4441 elif test "$wxUSE_ODBC" = sys; then
4442 { echo "$as_me:$LINENO: result: system version" >&5
4443 echo "${ECHO_T}system version" >&6; }
4444 elif test "$wxUSE_ODBC" = builtin; then
4445 { echo "$as_me:$LINENO: result: builtin version" >&5
4446 echo "${ECHO_T}builtin version" >&6; }
4447 else
4448 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4449 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4450 { (exit 1); exit 1; }; }
4451 fi
4452
4453
4454 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4455 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4456 no_cache=0
4457
4458 # Check whether --with-expat was given.
4459 if test "${with_expat+set}" = set; then
4460 withval=$with_expat;
4461 if test "$withval" = yes; then
4462 ac_cv_use_expat='wxUSE_EXPAT=yes'
4463 elif test "$withval" = no; then
4464 ac_cv_use_expat='wxUSE_EXPAT=no'
4465 elif test "$withval" = sys; then
4466 ac_cv_use_expat='wxUSE_EXPAT=sys'
4467 elif test "$withval" = builtin; then
4468 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4469 else
4470 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4471 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4472 { (exit 1); exit 1; }; }
4473 fi
4474
4475 else
4476
4477 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4480 else
4481 no_cache=1
4482 fi
4483
4484 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4485
4486 fi
4487
4488
4489 eval "$ac_cv_use_expat"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4492 fi
4493
4494 if test "$wxUSE_EXPAT" = yes; then
4495 { echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6; }
4497 elif test "$wxUSE_EXPAT" = no; then
4498 { echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6; }
4500 elif test "$wxUSE_EXPAT" = sys; then
4501 { echo "$as_me:$LINENO: result: system version" >&5
4502 echo "${ECHO_T}system version" >&6; }
4503 elif test "$wxUSE_EXPAT" = builtin; then
4504 { echo "$as_me:$LINENO: result: builtin version" >&5
4505 echo "${ECHO_T}builtin version" >&6; }
4506 else
4507 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4508 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4509 { (exit 1); exit 1; }; }
4510 fi
4511
4512
4513
4514
4515 enablestring=
4516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4518 no_cache=0
4519 # Check whether --enable-shared was given.
4520 if test "${enable_shared+set}" = set; then
4521 enableval=$enable_shared;
4522 if test "$enableval" = yes; then
4523 ac_cv_use_shared='wxUSE_SHARED=yes'
4524 else
4525 ac_cv_use_shared='wxUSE_SHARED=no'
4526 fi
4527
4528 else
4529
4530 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4533 else
4534 no_cache=1
4535 fi
4536
4537 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4538
4539 fi
4540
4541
4542 eval "$ac_cv_use_shared"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4545 fi
4546
4547 if test "$wxUSE_SHARED" = yes; then
4548 { echo "$as_me:$LINENO: result: yes" >&5
4549 echo "${ECHO_T}yes" >&6; }
4550 else
4551 { echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6; }
4553 fi
4554
4555
4556 enablestring=
4557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4559 no_cache=0
4560 # Check whether --enable-optimise was given.
4561 if test "${enable_optimise+set}" = set; then
4562 enableval=$enable_optimise;
4563 if test "$enableval" = yes; then
4564 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4565 else
4566 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4567 fi
4568
4569 else
4570
4571 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4574 else
4575 no_cache=1
4576 fi
4577
4578 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4579
4580 fi
4581
4582
4583 eval "$ac_cv_use_optimise"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4586 fi
4587
4588 if test "$wxUSE_OPTIMISE" = yes; then
4589 { echo "$as_me:$LINENO: result: yes" >&5
4590 echo "${ECHO_T}yes" >&6; }
4591 else
4592 { echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6; }
4594 fi
4595
4596
4597 enablestring=
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4600 no_cache=0
4601 # Check whether --enable-debug was given.
4602 if test "${enable_debug+set}" = set; then
4603 enableval=$enable_debug;
4604 if test "$enableval" = yes; then
4605 ac_cv_use_debug='wxUSE_DEBUG=yes'
4606 else
4607 ac_cv_use_debug='wxUSE_DEBUG=no'
4608 fi
4609
4610 else
4611
4612 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4615 else
4616 no_cache=1
4617 fi
4618
4619 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4620
4621 fi
4622
4623
4624 eval "$ac_cv_use_debug"
4625 if test "$no_cache" != 1; then
4626 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4627 fi
4628
4629 if test "$wxUSE_DEBUG" = yes; then
4630 { echo "$as_me:$LINENO: result: yes" >&5
4631 echo "${ECHO_T}yes" >&6; }
4632 else
4633 { echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6; }
4635 fi
4636
4637
4638 enablestring=
4639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4641 no_cache=0
4642 # Check whether --enable-stl was given.
4643 if test "${enable_stl+set}" = set; then
4644 enableval=$enable_stl;
4645 if test "$enableval" = yes; then
4646 ac_cv_use_stl='wxUSE_STL=yes'
4647 else
4648 ac_cv_use_stl='wxUSE_STL=no'
4649 fi
4650
4651 else
4652
4653 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4661
4662 fi
4663
4664
4665 eval "$ac_cv_use_stl"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4668 fi
4669
4670 if test "$wxUSE_STL" = yes; then
4671 { echo "$as_me:$LINENO: result: yes" >&5
4672 echo "${ECHO_T}yes" >&6; }
4673 else
4674 { echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6; }
4676 fi
4677
4678 if test "$USE_OS2" = "1"; then
4679 DEFAULT_wxUSE_OMF=no
4680
4681 enablestring=
4682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4684 no_cache=0
4685 # Check whether --enable-omf was given.
4686 if test "${enable_omf+set}" = set; then
4687 enableval=$enable_omf;
4688 if test "$enableval" = yes; then
4689 ac_cv_use_omf='wxUSE_OMF=yes'
4690 else
4691 ac_cv_use_omf='wxUSE_OMF=no'
4692 fi
4693
4694 else
4695
4696 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4699 else
4700 no_cache=1
4701 fi
4702
4703 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4704
4705 fi
4706
4707
4708 eval "$ac_cv_use_omf"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4711 fi
4712
4713 if test "$wxUSE_OMF" = yes; then
4714 { echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6; }
4716 else
4717 { echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6; }
4719 fi
4720
4721 fi
4722
4723 if test "$wxUSE_DEBUG" = "yes"; then
4724 DEFAULT_wxUSE_DEBUG_FLAG=yes
4725 DEFAULT_wxUSE_DEBUG_INFO=yes
4726 BUILD=debug
4727 elif test "$wxUSE_DEBUG" = "no"; then
4728 DEFAULT_wxUSE_DEBUG_FLAG=no
4729 DEFAULT_wxUSE_DEBUG_INFO=no
4730 BUILD=release
4731 fi
4732
4733
4734 enablestring=
4735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4737 no_cache=0
4738 # Check whether --enable-debug_flag was given.
4739 if test "${enable_debug_flag+set}" = set; then
4740 enableval=$enable_debug_flag;
4741 if test "$enableval" = yes; then
4742 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4743 else
4744 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4745 fi
4746
4747 else
4748
4749 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x ; then
4751 eval "DEFAULT_$LINE"
4752 else
4753 no_cache=1
4754 fi
4755
4756 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4757
4758 fi
4759
4760
4761 eval "$ac_cv_use_debug_flag"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4764 fi
4765
4766 if test "$wxUSE_DEBUG_FLAG" = yes; then
4767 { echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6; }
4769 else
4770 { echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6; }
4772 fi
4773
4774
4775 enablestring=
4776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4778 no_cache=0
4779 # Check whether --enable-debug_info was given.
4780 if test "${enable_debug_info+set}" = set; then
4781 enableval=$enable_debug_info;
4782 if test "$enableval" = yes; then
4783 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4784 else
4785 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4786 fi
4787
4788 else
4789
4790 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x ; then
4792 eval "DEFAULT_$LINE"
4793 else
4794 no_cache=1
4795 fi
4796
4797 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4798
4799 fi
4800
4801
4802 eval "$ac_cv_use_debug_info"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4805 fi
4806
4807 if test "$wxUSE_DEBUG_INFO" = yes; then
4808 { echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6; }
4810 else
4811 { echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6; }
4813 fi
4814
4815
4816 enablestring=
4817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4819 no_cache=0
4820 # Check whether --enable-debug_gdb was given.
4821 if test "${enable_debug_gdb+set}" = set; then
4822 enableval=$enable_debug_gdb;
4823 if test "$enableval" = yes; then
4824 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4825 else
4826 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4827 fi
4828
4829 else
4830
4831 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x ; then
4833 eval "DEFAULT_$LINE"
4834 else
4835 no_cache=1
4836 fi
4837
4838 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4839
4840 fi
4841
4842
4843 eval "$ac_cv_use_debug_gdb"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4846 fi
4847
4848 if test "$wxUSE_DEBUG_GDB" = yes; then
4849 { echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6; }
4851 else
4852 { echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6; }
4854 fi
4855
4856
4857 enablestring=
4858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4860 no_cache=0
4861 # Check whether --enable-debug_cntxt was given.
4862 if test "${enable_debug_cntxt+set}" = set; then
4863 enableval=$enable_debug_cntxt;
4864 if test "$enableval" = yes; then
4865 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4866 else
4867 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4868 fi
4869
4870 else
4871
4872 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4873 if test "x$LINE" != x ; then
4874 eval "DEFAULT_$LINE"
4875 else
4876 no_cache=1
4877 fi
4878
4879 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4880
4881 fi
4882
4883
4884 eval "$ac_cv_use_debug_cntxt"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4890 { echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6; }
4892 else
4893 { echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6; }
4895 fi
4896
4897
4898 enablestring=
4899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4901 no_cache=0
4902 # Check whether --enable-mem_tracing was given.
4903 if test "${enable_mem_tracing+set}" = set; then
4904 enableval=$enable_mem_tracing;
4905 if test "$enableval" = yes; then
4906 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4907 else
4908 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4909 fi
4910
4911 else
4912
4913 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x ; then
4915 eval "DEFAULT_$LINE"
4916 else
4917 no_cache=1
4918 fi
4919
4920 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4921
4922 fi
4923
4924
4925 eval "$ac_cv_use_mem_tracing"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4928 fi
4929
4930 if test "$wxUSE_MEM_TRACING" = yes; then
4931 { echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6; }
4933 else
4934 { echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6; }
4936 fi
4937
4938
4939 enablestring=
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4942 no_cache=0
4943 # Check whether --enable-profile was given.
4944 if test "${enable_profile+set}" = set; then
4945 enableval=$enable_profile;
4946 if test "$enableval" = yes; then
4947 ac_cv_use_profile='wxUSE_PROFILE=yes'
4948 else
4949 ac_cv_use_profile='wxUSE_PROFILE=no'
4950 fi
4951
4952 else
4953
4954 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x ; then
4956 eval "DEFAULT_$LINE"
4957 else
4958 no_cache=1
4959 fi
4960
4961 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4962
4963 fi
4964
4965
4966 eval "$ac_cv_use_profile"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4969 fi
4970
4971 if test "$wxUSE_PROFILE" = yes; then
4972 { echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6; }
4974 else
4975 { echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6; }
4977 fi
4978
4979
4980 enablestring=
4981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4983 no_cache=0
4984 # Check whether --enable-no_rtti was given.
4985 if test "${enable_no_rtti+set}" = set; then
4986 enableval=$enable_no_rtti;
4987 if test "$enableval" = yes; then
4988 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4989 else
4990 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4991 fi
4992
4993 else
4994
4995 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x ; then
4997 eval "DEFAULT_$LINE"
4998 else
4999 no_cache=1
5000 fi
5001
5002 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5003
5004 fi
5005
5006
5007 eval "$ac_cv_use_no_rtti"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test "$wxUSE_NO_RTTI" = yes; then
5013 { echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6; }
5015 else
5016 { echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6; }
5018 fi
5019
5020
5021 enablestring=
5022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5024 no_cache=0
5025 # Check whether --enable-no_exceptions was given.
5026 if test "${enable_no_exceptions+set}" = set; then
5027 enableval=$enable_no_exceptions;
5028 if test "$enableval" = yes; then
5029 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5030 else
5031 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5032 fi
5033
5034 else
5035
5036 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x ; then
5038 eval "DEFAULT_$LINE"
5039 else
5040 no_cache=1
5041 fi
5042
5043 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5044
5045 fi
5046
5047
5048 eval "$ac_cv_use_no_exceptions"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5051 fi
5052
5053 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5054 { echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6; }
5056 else
5057 { echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6; }
5059 fi
5060
5061
5062 enablestring=
5063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5065 no_cache=0
5066 # Check whether --enable-permissive was given.
5067 if test "${enable_permissive+set}" = set; then
5068 enableval=$enable_permissive;
5069 if test "$enableval" = yes; then
5070 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5071 else
5072 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5073 fi
5074
5075 else
5076
5077 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5078 if test "x$LINE" != x ; then
5079 eval "DEFAULT_$LINE"
5080 else
5081 no_cache=1
5082 fi
5083
5084 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5085
5086 fi
5087
5088
5089 eval "$ac_cv_use_permissive"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5092 fi
5093
5094 if test "$wxUSE_PERMISSIVE" = yes; then
5095 { echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6; }
5097 else
5098 { echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6; }
5100 fi
5101
5102
5103 enablestring=
5104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5106 no_cache=0
5107 # Check whether --enable-no_deps was given.
5108 if test "${enable_no_deps+set}" = set; then
5109 enableval=$enable_no_deps;
5110 if test "$enableval" = yes; then
5111 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5112 else
5113 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5114 fi
5115
5116 else
5117
5118 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5119 if test "x$LINE" != x ; then
5120 eval "DEFAULT_$LINE"
5121 else
5122 no_cache=1
5123 fi
5124
5125 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5126
5127 fi
5128
5129
5130 eval "$ac_cv_use_no_deps"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5133 fi
5134
5135 if test "$wxUSE_NO_DEPS" = yes; then
5136 { echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6; }
5138 else
5139 { echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6; }
5141 fi
5142
5143
5144 enablestring=
5145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5147 no_cache=0
5148 # Check whether --enable-vararg_macros was given.
5149 if test "${enable_vararg_macros+set}" = set; then
5150 enableval=$enable_vararg_macros;
5151 if test "$enableval" = yes; then
5152 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5153 else
5154 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5155 fi
5156
5157 else
5158
5159 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5160 if test "x$LINE" != x ; then
5161 eval "DEFAULT_$LINE"
5162 else
5163 no_cache=1
5164 fi
5165
5166 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5167
5168 fi
5169
5170
5171 eval "$ac_cv_use_vararg_macros"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5174 fi
5175
5176 if test "$wxUSE_VARARG_MACROS" = yes; then
5177 { echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6; }
5179 else
5180 { echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6; }
5182 fi
5183
5184
5185 enablestring=
5186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5188 no_cache=0
5189 # Check whether --enable-universal_binary was given.
5190 if test "${enable_universal_binary+set}" = set; then
5191 enableval=$enable_universal_binary;
5192 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5193
5194 else
5195
5196 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5199 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5200 else
5201 no_cache=1
5202 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5203 fi
5204
5205 fi
5206
5207
5208 eval "$wx_cv_use_universal_binary"
5209 if test "$no_cache" != 1; then
5210 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5211 fi
5212
5213 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5214 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5215
5216
5217
5218 enablestring=enable
5219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5221 no_cache=0
5222 # Check whether --enable-compat26 was given.
5223 if test "${enable_compat26+set}" = set; then
5224 enableval=$enable_compat26;
5225 if test "$enableval" = yes; then
5226 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5227 else
5228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5229 fi
5230
5231 else
5232
5233 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5236 else
5237 no_cache=1
5238 fi
5239
5240 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5241
5242 fi
5243
5244
5245 eval "$ac_cv_use_compat26"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5248 fi
5249
5250 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5251 { echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6; }
5253 else
5254 { echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6; }
5256 fi
5257
5258
5259 enablestring=disable
5260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5262 no_cache=0
5263 # Check whether --enable-compat28 was given.
5264 if test "${enable_compat28+set}" = set; then
5265 enableval=$enable_compat28;
5266 if test "$enableval" = yes; then
5267 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5268 else
5269 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5270 fi
5271
5272 else
5273
5274 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5277 else
5278 no_cache=1
5279 fi
5280
5281 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5282
5283 fi
5284
5285
5286 eval "$ac_cv_use_compat28"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5289 fi
5290
5291 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5292 { echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6; }
5294 else
5295 { echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6; }
5297 fi
5298
5299
5300
5301 enablestring=
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5304 no_cache=0
5305 # Check whether --enable-rpath was given.
5306 if test "${enable_rpath+set}" = set; then
5307 enableval=$enable_rpath;
5308 if test "$enableval" = yes; then
5309 ac_cv_use_rpath='wxUSE_RPATH=yes'
5310 else
5311 ac_cv_use_rpath='wxUSE_RPATH=no'
5312 fi
5313
5314 else
5315
5316 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5324
5325 fi
5326
5327
5328 eval "$ac_cv_use_rpath"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5331 fi
5332
5333 if test "$wxUSE_RPATH" = yes; then
5334 { echo "$as_me:$LINENO: result: yes" >&5
5335 echo "${ECHO_T}yes" >&6; }
5336 else
5337 { echo "$as_me:$LINENO: result: no" >&5
5338 echo "${ECHO_T}no" >&6; }
5339 fi
5340
5341
5342
5343
5344
5345 enablestring=
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5348 no_cache=0
5349 # Check whether --enable-intl was given.
5350 if test "${enable_intl+set}" = set; then
5351 enableval=$enable_intl;
5352 if test "$enableval" = yes; then
5353 ac_cv_use_intl='wxUSE_INTL=yes'
5354 else
5355 ac_cv_use_intl='wxUSE_INTL=no'
5356 fi
5357
5358 else
5359
5360 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 else
5364 no_cache=1
5365 fi
5366
5367 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5368
5369 fi
5370
5371
5372 eval "$ac_cv_use_intl"
5373 if test "$no_cache" != 1; then
5374 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5375 fi
5376
5377 if test "$wxUSE_INTL" = yes; then
5378 { echo "$as_me:$LINENO: result: yes" >&5
5379 echo "${ECHO_T}yes" >&6; }
5380 else
5381 { echo "$as_me:$LINENO: result: no" >&5
5382 echo "${ECHO_T}no" >&6; }
5383 fi
5384
5385
5386 enablestring=
5387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5389 no_cache=0
5390 # Check whether --enable-config was given.
5391 if test "${enable_config+set}" = set; then
5392 enableval=$enable_config;
5393 if test "$enableval" = yes; then
5394 ac_cv_use_config='wxUSE_CONFIG=yes'
5395 else
5396 ac_cv_use_config='wxUSE_CONFIG=no'
5397 fi
5398
5399 else
5400
5401 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x ; then
5403 eval "DEFAULT_$LINE"
5404 else
5405 no_cache=1
5406 fi
5407
5408 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5409
5410 fi
5411
5412
5413 eval "$ac_cv_use_config"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5416 fi
5417
5418 if test "$wxUSE_CONFIG" = yes; then
5419 { echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6; }
5421 else
5422 { echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6; }
5424 fi
5425
5426
5427
5428 enablestring=
5429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5431 no_cache=0
5432 # Check whether --enable-protocols was given.
5433 if test "${enable_protocols+set}" = set; then
5434 enableval=$enable_protocols;
5435 if test "$enableval" = yes; then
5436 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5437 else
5438 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5439 fi
5440
5441 else
5442
5443 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5446 else
5447 no_cache=1
5448 fi
5449
5450 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5451
5452 fi
5453
5454
5455 eval "$ac_cv_use_protocols"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5458 fi
5459
5460 if test "$wxUSE_PROTOCOL" = yes; then
5461 { echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5466 fi
5467
5468
5469 enablestring=
5470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5472 no_cache=0
5473 # Check whether --enable-ftp was given.
5474 if test "${enable_ftp+set}" = set; then
5475 enableval=$enable_ftp;
5476 if test "$enableval" = yes; then
5477 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5478 else
5479 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5480 fi
5481
5482 else
5483
5484 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x ; then
5486 eval "DEFAULT_$LINE"
5487 else
5488 no_cache=1
5489 fi
5490
5491 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5492
5493 fi
5494
5495
5496 eval "$ac_cv_use_ftp"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5502 { echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6; }
5504 else
5505 { echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6; }
5507 fi
5508
5509
5510 enablestring=
5511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5513 no_cache=0
5514 # Check whether --enable-http was given.
5515 if test "${enable_http+set}" = set; then
5516 enableval=$enable_http;
5517 if test "$enableval" = yes; then
5518 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5519 else
5520 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5521 fi
5522
5523 else
5524
5525 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x ; then
5527 eval "DEFAULT_$LINE"
5528 else
5529 no_cache=1
5530 fi
5531
5532 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5533
5534 fi
5535
5536
5537 eval "$ac_cv_use_http"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5543 { echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6; }
5545 else
5546 { echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6; }
5548 fi
5549
5550
5551 enablestring=
5552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5554 no_cache=0
5555 # Check whether --enable-fileproto was given.
5556 if test "${enable_fileproto+set}" = set; then
5557 enableval=$enable_fileproto;
5558 if test "$enableval" = yes; then
5559 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5560 else
5561 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5562 fi
5563
5564 else
5565
5566 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x ; then
5568 eval "DEFAULT_$LINE"
5569 else
5570 no_cache=1
5571 fi
5572
5573 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5574
5575 fi
5576
5577
5578 eval "$ac_cv_use_fileproto"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5581 fi
5582
5583 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5584 { echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6; }
5586 else
5587 { echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6; }
5589 fi
5590
5591
5592 enablestring=
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5595 no_cache=0
5596 # Check whether --enable-sockets was given.
5597 if test "${enable_sockets+set}" = set; then
5598 enableval=$enable_sockets;
5599 if test "$enableval" = yes; then
5600 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5601 else
5602 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5603 fi
5604
5605 else
5606
5607 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x ; then
5609 eval "DEFAULT_$LINE"
5610 else
5611 no_cache=1
5612 fi
5613
5614 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5615
5616 fi
5617
5618
5619 eval "$ac_cv_use_sockets"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test "$wxUSE_SOCKETS" = yes; then
5625 { echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6; }
5627 else
5628 { echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6; }
5630 fi
5631
5632
5633 enablestring=
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5636 no_cache=0
5637 # Check whether --enable-ole was given.
5638 if test "${enable_ole+set}" = set; then
5639 enableval=$enable_ole;
5640 if test "$enableval" = yes; then
5641 ac_cv_use_ole='wxUSE_OLE=yes'
5642 else
5643 ac_cv_use_ole='wxUSE_OLE=no'
5644 fi
5645
5646 else
5647
5648 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x ; then
5650 eval "DEFAULT_$LINE"
5651 else
5652 no_cache=1
5653 fi
5654
5655 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5656
5657 fi
5658
5659
5660 eval "$ac_cv_use_ole"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test "$wxUSE_OLE" = yes; then
5666 { echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6; }
5668 else
5669 { echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6; }
5671 fi
5672
5673
5674 enablestring=
5675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5677 no_cache=0
5678 # Check whether --enable-dataobj was given.
5679 if test "${enable_dataobj+set}" = set; then
5680 enableval=$enable_dataobj;
5681 if test "$enableval" = yes; then
5682 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5683 else
5684 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5685 fi
5686
5687 else
5688
5689 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x ; then
5691 eval "DEFAULT_$LINE"
5692 else
5693 no_cache=1
5694 fi
5695
5696 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5697
5698 fi
5699
5700
5701 eval "$ac_cv_use_dataobj"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_DATAOBJ" = yes; then
5707 { echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6; }
5709 else
5710 { echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6; }
5712 fi
5713
5714
5715
5716 enablestring=
5717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5719 no_cache=0
5720 # Check whether --enable-ipc was given.
5721 if test "${enable_ipc+set}" = set; then
5722 enableval=$enable_ipc;
5723 if test "$enableval" = yes; then
5724 ac_cv_use_ipc='wxUSE_IPC=yes'
5725 else
5726 ac_cv_use_ipc='wxUSE_IPC=no'
5727 fi
5728
5729 else
5730
5731 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x ; then
5733 eval "DEFAULT_$LINE"
5734 else
5735 no_cache=1
5736 fi
5737
5738 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5739
5740 fi
5741
5742
5743 eval "$ac_cv_use_ipc"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_IPC" = yes; then
5749 { echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6; }
5751 else
5752 { echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6; }
5754 fi
5755
5756
5757
5758 enablestring=
5759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5760 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5761 no_cache=0
5762 # Check whether --enable-apple_ieee was given.
5763 if test "${enable_apple_ieee+set}" = set; then
5764 enableval=$enable_apple_ieee;
5765 if test "$enableval" = yes; then
5766 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5767 else
5768 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5769 fi
5770
5771 else
5772
5773 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5781
5782 fi
5783
5784
5785 eval "$ac_cv_use_apple_ieee"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5788 fi
5789
5790 if test "$wxUSE_APPLE_IEEE" = yes; then
5791 { echo "$as_me:$LINENO: result: yes" >&5
5792 echo "${ECHO_T}yes" >&6; }
5793 else
5794 { echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6; }
5796 fi
5797
5798
5799 enablestring=
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5802 no_cache=0
5803 # Check whether --enable-arcstream was given.
5804 if test "${enable_arcstream+set}" = set; then
5805 enableval=$enable_arcstream;
5806 if test "$enableval" = yes; then
5807 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5808 else
5809 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5810 fi
5811
5812 else
5813
5814 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5822
5823 fi
5824
5825
5826 eval "$ac_cv_use_arcstream"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5829 fi
5830
5831 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5832 { echo "$as_me:$LINENO: result: yes" >&5
5833 echo "${ECHO_T}yes" >&6; }
5834 else
5835 { echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6; }
5837 fi
5838
5839
5840 enablestring=
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5843 no_cache=0
5844 # Check whether --enable-backtrace was given.
5845 if test "${enable_backtrace+set}" = set; then
5846 enableval=$enable_backtrace;
5847 if test "$enableval" = yes; then
5848 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5849 else
5850 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5851 fi
5852
5853 else
5854
5855 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5863
5864 fi
5865
5866
5867 eval "$ac_cv_use_backtrace"
5868 if test "$no_cache" != 1; then
5869 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5870 fi
5871
5872 if test "$wxUSE_STACKWALKER" = yes; then
5873 { echo "$as_me:$LINENO: result: yes" >&5
5874 echo "${ECHO_T}yes" >&6; }
5875 else
5876 { echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6; }
5878 fi
5879
5880
5881 enablestring=
5882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5883 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5884 no_cache=0
5885 # Check whether --enable-catch_segvs was given.
5886 if test "${enable_catch_segvs+set}" = set; then
5887 enableval=$enable_catch_segvs;
5888 if test "$enableval" = yes; then
5889 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5890 else
5891 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5892 fi
5893
5894 else
5895
5896 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5904
5905 fi
5906
5907
5908 eval "$ac_cv_use_catch_segvs"
5909 if test "$no_cache" != 1; then
5910 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5911 fi
5912
5913 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5914 { echo "$as_me:$LINENO: result: yes" >&5
5915 echo "${ECHO_T}yes" >&6; }
5916 else
5917 { echo "$as_me:$LINENO: result: no" >&5
5918 echo "${ECHO_T}no" >&6; }
5919 fi
5920
5921
5922 enablestring=
5923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5925 no_cache=0
5926 # Check whether --enable-cmdline was given.
5927 if test "${enable_cmdline+set}" = set; then
5928 enableval=$enable_cmdline;
5929 if test "$enableval" = yes; then
5930 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5931 else
5932 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5933 fi
5934
5935 else
5936
5937 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5940 else
5941 no_cache=1
5942 fi
5943
5944 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5945
5946 fi
5947
5948
5949 eval "$ac_cv_use_cmdline"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5952 fi
5953
5954 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5955 { echo "$as_me:$LINENO: result: yes" >&5
5956 echo "${ECHO_T}yes" >&6; }
5957 else
5958 { echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6; }
5960 fi
5961
5962
5963 enablestring=
5964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5966 no_cache=0
5967 # Check whether --enable-datetime was given.
5968 if test "${enable_datetime+set}" = set; then
5969 enableval=$enable_datetime;
5970 if test "$enableval" = yes; then
5971 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5972 else
5973 ac_cv_use_datetime='wxUSE_DATETIME=no'
5974 fi
5975
5976 else
5977
5978 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5981 else
5982 no_cache=1
5983 fi
5984
5985 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5986
5987 fi
5988
5989
5990 eval "$ac_cv_use_datetime"
5991 if test "$no_cache" != 1; then
5992 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5993 fi
5994
5995 if test "$wxUSE_DATETIME" = yes; then
5996 { echo "$as_me:$LINENO: result: yes" >&5
5997 echo "${ECHO_T}yes" >&6; }
5998 else
5999 { echo "$as_me:$LINENO: result: no" >&5
6000 echo "${ECHO_T}no" >&6; }
6001 fi
6002
6003
6004 enablestring=
6005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6007 no_cache=0
6008 # Check whether --enable-debugreport was given.
6009 if test "${enable_debugreport+set}" = set; then
6010 enableval=$enable_debugreport;
6011 if test "$enableval" = yes; then
6012 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6013 else
6014 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6015 fi
6016
6017 else
6018
6019 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6022 else
6023 no_cache=1
6024 fi
6025
6026 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6027
6028 fi
6029
6030
6031 eval "$ac_cv_use_debugreport"
6032 if test "$no_cache" != 1; then
6033 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6034 fi
6035
6036 if test "$wxUSE_DEBUGREPORT" = yes; then
6037 { echo "$as_me:$LINENO: result: yes" >&5
6038 echo "${ECHO_T}yes" >&6; }
6039 else
6040 { echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6; }
6042 fi
6043
6044
6045 enablestring=
6046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6047 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6048 no_cache=0
6049 # Check whether --enable-dialupman was given.
6050 if test "${enable_dialupman+set}" = set; then
6051 enableval=$enable_dialupman;
6052 if test "$enableval" = yes; then
6053 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6054 else
6055 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6056 fi
6057
6058 else
6059
6060 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6063 else
6064 no_cache=1
6065 fi
6066
6067 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6068
6069 fi
6070
6071
6072 eval "$ac_cv_use_dialupman"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6075 fi
6076
6077 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6078 { echo "$as_me:$LINENO: result: yes" >&5
6079 echo "${ECHO_T}yes" >&6; }
6080 else
6081 { echo "$as_me:$LINENO: result: no" >&5
6082 echo "${ECHO_T}no" >&6; }
6083 fi
6084
6085
6086 enablestring=
6087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6089 no_cache=0
6090 # Check whether --enable-dynlib was given.
6091 if test "${enable_dynlib+set}" = set; then
6092 enableval=$enable_dynlib;
6093 if test "$enableval" = yes; then
6094 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6095 else
6096 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6097 fi
6098
6099 else
6100
6101 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6104 else
6105 no_cache=1
6106 fi
6107
6108 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6109
6110 fi
6111
6112
6113 eval "$ac_cv_use_dynlib"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6116 fi
6117
6118 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6119 { echo "$as_me:$LINENO: result: yes" >&5
6120 echo "${ECHO_T}yes" >&6; }
6121 else
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6124 fi
6125
6126
6127 enablestring=
6128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6130 no_cache=0
6131 # Check whether --enable-dynamicloader was given.
6132 if test "${enable_dynamicloader+set}" = set; then
6133 enableval=$enable_dynamicloader;
6134 if test "$enableval" = yes; then
6135 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6136 else
6137 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6138 fi
6139
6140 else
6141
6142 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 else
6146 no_cache=1
6147 fi
6148
6149 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6150
6151 fi
6152
6153
6154 eval "$ac_cv_use_dynamicloader"
6155 if test "$no_cache" != 1; then
6156 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6157 fi
6158
6159 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6160 { echo "$as_me:$LINENO: result: yes" >&5
6161 echo "${ECHO_T}yes" >&6; }
6162 else
6163 { echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6; }
6165 fi
6166
6167
6168 enablestring=
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6171 no_cache=0
6172 # Check whether --enable-exceptions was given.
6173 if test "${enable_exceptions+set}" = set; then
6174 enableval=$enable_exceptions;
6175 if test "$enableval" = yes; then
6176 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6177 else
6178 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6179 fi
6180
6181 else
6182
6183 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 else
6187 no_cache=1
6188 fi
6189
6190 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6191
6192 fi
6193
6194
6195 eval "$ac_cv_use_exceptions"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_EXCEPTIONS" = yes; then
6201 { echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6; }
6203 else
6204 { echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6; }
6206 fi
6207
6208
6209 enablestring=
6210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6212 no_cache=0
6213 # Check whether --enable-ffile was given.
6214 if test "${enable_ffile+set}" = set; then
6215 enableval=$enable_ffile;
6216 if test "$enableval" = yes; then
6217 ac_cv_use_ffile='wxUSE_FFILE=yes'
6218 else
6219 ac_cv_use_ffile='wxUSE_FFILE=no'
6220 fi
6221
6222 else
6223
6224 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6232
6233 fi
6234
6235
6236 eval "$ac_cv_use_ffile"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test "$wxUSE_FFILE" = yes; then
6242 { echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6; }
6244 else
6245 { echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6; }
6247 fi
6248
6249
6250 enablestring=
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6253 no_cache=0
6254 # Check whether --enable-file was given.
6255 if test "${enable_file+set}" = set; then
6256 enableval=$enable_file;
6257 if test "$enableval" = yes; then
6258 ac_cv_use_file='wxUSE_FILE=yes'
6259 else
6260 ac_cv_use_file='wxUSE_FILE=no'
6261 fi
6262
6263 else
6264
6265 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x ; then
6267 eval "DEFAULT_$LINE"
6268 else
6269 no_cache=1
6270 fi
6271
6272 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6273
6274 fi
6275
6276
6277 eval "$ac_cv_use_file"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6280 fi
6281
6282 if test "$wxUSE_FILE" = yes; then
6283 { echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6; }
6285 else
6286 { echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6; }
6288 fi
6289
6290
6291 enablestring=
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6294 no_cache=0
6295 # Check whether --enable-filesystem was given.
6296 if test "${enable_filesystem+set}" = set; then
6297 enableval=$enable_filesystem;
6298 if test "$enableval" = yes; then
6299 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6300 else
6301 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6302 fi
6303
6304 else
6305
6306 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x ; then
6308 eval "DEFAULT_$LINE"
6309 else
6310 no_cache=1
6311 fi
6312
6313 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6314
6315 fi
6316
6317
6318 eval "$ac_cv_use_filesystem"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6321 fi
6322
6323 if test "$wxUSE_FILESYSTEM" = yes; then
6324 { echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6; }
6326 else
6327 { echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6; }
6329 fi
6330
6331
6332 enablestring=
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6335 no_cache=0
6336 # Check whether --enable-fontmap was given.
6337 if test "${enable_fontmap+set}" = set; then
6338 enableval=$enable_fontmap;
6339 if test "$enableval" = yes; then
6340 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6341 else
6342 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6343 fi
6344
6345 else
6346
6347 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6350 else
6351 no_cache=1
6352 fi
6353
6354 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6355
6356 fi
6357
6358
6359 eval "$ac_cv_use_fontmap"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6362 fi
6363
6364 if test "$wxUSE_FONTMAP" = yes; then
6365 { echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6; }
6367 else
6368 { echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6; }
6370 fi
6371
6372
6373 enablestring=
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6376 no_cache=0
6377 # Check whether --enable-fs_archive was given.
6378 if test "${enable_fs_archive+set}" = set; then
6379 enableval=$enable_fs_archive;
6380 if test "$enableval" = yes; then
6381 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6382 else
6383 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6384 fi
6385
6386 else
6387
6388 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x ; then
6390 eval "DEFAULT_$LINE"
6391 else
6392 no_cache=1
6393 fi
6394
6395 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6396
6397 fi
6398
6399
6400 eval "$ac_cv_use_fs_archive"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test "$wxUSE_FS_ARCHIVE" = yes; then
6406 { echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6; }
6408 else
6409 { echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6; }
6411 fi
6412
6413
6414 enablestring=
6415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6417 no_cache=0
6418 # Check whether --enable-fs_inet was given.
6419 if test "${enable_fs_inet+set}" = set; then
6420 enableval=$enable_fs_inet;
6421 if test "$enableval" = yes; then
6422 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6423 else
6424 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6425 fi
6426
6427 else
6428
6429 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x ; then
6431 eval "DEFAULT_$LINE"
6432 else
6433 no_cache=1
6434 fi
6435
6436 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6437
6438 fi
6439
6440
6441 eval "$ac_cv_use_fs_inet"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6444 fi
6445
6446 if test "$wxUSE_FS_INET" = yes; then
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6449 else
6450 { echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6; }
6452 fi
6453
6454
6455 enablestring=
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6458 no_cache=0
6459 # Check whether --enable-fs_zip was given.
6460 if test "${enable_fs_zip+set}" = set; then
6461 enableval=$enable_fs_zip;
6462 if test "$enableval" = yes; then
6463 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6464 else
6465 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 else
6474 no_cache=1
6475 fi
6476
6477 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6478
6479 fi
6480
6481
6482 eval "$ac_cv_use_fs_zip"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6485 fi
6486
6487 if test "$wxUSE_FS_ZIP" = yes; then
6488 { echo "$as_me:$LINENO: result: yes" >&5
6489 echo "${ECHO_T}yes" >&6; }
6490 else
6491 { echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6; }
6493 fi
6494
6495
6496 enablestring=
6497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6499 no_cache=0
6500 # Check whether --enable-geometry was given.
6501 if test "${enable_geometry+set}" = set; then
6502 enableval=$enable_geometry;
6503 if test "$enableval" = yes; then
6504 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6505 else
6506 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6507 fi
6508
6509 else
6510
6511 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x ; then
6513 eval "DEFAULT_$LINE"
6514 else
6515 no_cache=1
6516 fi
6517
6518 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6519
6520 fi
6521
6522
6523 eval "$ac_cv_use_geometry"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6526 fi
6527
6528 if test "$wxUSE_GEOMETRY" = yes; then
6529 { echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6; }
6531 else
6532 { echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6; }
6534 fi
6535
6536
6537 enablestring=
6538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6540 no_cache=0
6541 # Check whether --enable-log was given.
6542 if test "${enable_log+set}" = set; then
6543 enableval=$enable_log;
6544 if test "$enableval" = yes; then
6545 ac_cv_use_log='wxUSE_LOG=yes'
6546 else
6547 ac_cv_use_log='wxUSE_LOG=no'
6548 fi
6549
6550 else
6551
6552 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x ; then
6554 eval "DEFAULT_$LINE"
6555 else
6556 no_cache=1
6557 fi
6558
6559 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6560
6561 fi
6562
6563
6564 eval "$ac_cv_use_log"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6567 fi
6568
6569 if test "$wxUSE_LOG" = yes; then
6570 { echo "$as_me:$LINENO: result: yes" >&5
6571 echo "${ECHO_T}yes" >&6; }
6572 else
6573 { echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6; }
6575 fi
6576
6577
6578 enablestring=
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6581 no_cache=0
6582 # Check whether --enable-longlong was given.
6583 if test "${enable_longlong+set}" = set; then
6584 enableval=$enable_longlong;
6585 if test "$enableval" = yes; then
6586 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6587 else
6588 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6589 fi
6590
6591 else
6592
6593 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6596 else
6597 no_cache=1
6598 fi
6599
6600 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6601
6602 fi
6603
6604
6605 eval "$ac_cv_use_longlong"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6608 fi
6609
6610 if test "$wxUSE_LONGLONG" = yes; then
6611 { echo "$as_me:$LINENO: result: yes" >&5
6612 echo "${ECHO_T}yes" >&6; }
6613 else
6614 { echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6; }
6616 fi
6617
6618
6619 enablestring=
6620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6621 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6622 no_cache=0
6623 # Check whether --enable-mimetype was given.
6624 if test "${enable_mimetype+set}" = set; then
6625 enableval=$enable_mimetype;
6626 if test "$enableval" = yes; then
6627 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6628 else
6629 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6630 fi
6631
6632 else
6633
6634 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6635 if test "x$LINE" != x ; then
6636 eval "DEFAULT_$LINE"
6637 else
6638 no_cache=1
6639 fi
6640
6641 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6642
6643 fi
6644
6645
6646 eval "$ac_cv_use_mimetype"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6649 fi
6650
6651 if test "$wxUSE_MIMETYPE" = yes; then
6652 { echo "$as_me:$LINENO: result: yes" >&5
6653 echo "${ECHO_T}yes" >&6; }
6654 else
6655 { echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6; }
6657 fi
6658
6659
6660 enablestring=
6661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6663 no_cache=0
6664 # Check whether --enable-mslu was given.
6665 if test "${enable_mslu+set}" = set; then
6666 enableval=$enable_mslu;
6667 if test "$enableval" = yes; then
6668 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6669 else
6670 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6671 fi
6672
6673 else
6674
6675 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6676 if test "x$LINE" != x ; then
6677 eval "DEFAULT_$LINE"
6678 else
6679 no_cache=1
6680 fi
6681
6682 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6683
6684 fi
6685
6686
6687 eval "$ac_cv_use_mslu"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6690 fi
6691
6692 if test "$wxUSE_UNICODE_MSLU" = yes; then
6693 { echo "$as_me:$LINENO: result: yes" >&5
6694 echo "${ECHO_T}yes" >&6; }
6695 else
6696 { echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6; }
6698 fi
6699
6700
6701 enablestring=
6702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6703 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6704 no_cache=0
6705 # Check whether --enable-snglinst was given.
6706 if test "${enable_snglinst+set}" = set; then
6707 enableval=$enable_snglinst;
6708 if test "$enableval" = yes; then
6709 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6710 else
6711 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6712 fi
6713
6714 else
6715
6716 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6717 if test "x$LINE" != x ; then
6718 eval "DEFAULT_$LINE"
6719 else
6720 no_cache=1
6721 fi
6722
6723 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6724
6725 fi
6726
6727
6728 eval "$ac_cv_use_snglinst"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6731 fi
6732
6733 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6734 { echo "$as_me:$LINENO: result: yes" >&5
6735 echo "${ECHO_T}yes" >&6; }
6736 else
6737 { echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6; }
6739 fi
6740
6741
6742 enablestring=
6743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6744 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6745 no_cache=0
6746 # Check whether --enable-std_iostreams was given.
6747 if test "${enable_std_iostreams+set}" = set; then
6748 enableval=$enable_std_iostreams;
6749 if test "$enableval" = yes; then
6750 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6751 else
6752 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6753 fi
6754
6755 else
6756
6757 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6758 if test "x$LINE" != x ; then
6759 eval "DEFAULT_$LINE"
6760 else
6761 no_cache=1
6762 fi
6763
6764 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6765
6766 fi
6767
6768
6769 eval "$ac_cv_use_std_iostreams"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6772 fi
6773
6774 if test "$wxUSE_STD_IOSTREAM" = yes; then
6775 { echo "$as_me:$LINENO: result: yes" >&5
6776 echo "${ECHO_T}yes" >&6; }
6777 else
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6780 fi
6781
6782
6783 enablestring=
6784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6785 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6786 no_cache=0
6787 # Check whether --enable-std_string was given.
6788 if test "${enable_std_string+set}" = set; then
6789 enableval=$enable_std_string;
6790 if test "$enableval" = yes; then
6791 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6792 else
6793 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6794 fi
6795
6796 else
6797
6798 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x ; then
6800 eval "DEFAULT_$LINE"
6801 else
6802 no_cache=1
6803 fi
6804
6805 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6806
6807 fi
6808
6809
6810 eval "$ac_cv_use_std_string"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6813 fi
6814
6815 if test "$wxUSE_STD_STRING" = yes; then
6816 { echo "$as_me:$LINENO: result: yes" >&5
6817 echo "${ECHO_T}yes" >&6; }
6818 else
6819 { echo "$as_me:$LINENO: result: no" >&5
6820 echo "${ECHO_T}no" >&6; }
6821 fi
6822
6823
6824 enablestring=
6825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6827 no_cache=0
6828 # Check whether --enable-stdpaths was given.
6829 if test "${enable_stdpaths+set}" = set; then
6830 enableval=$enable_stdpaths;
6831 if test "$enableval" = yes; then
6832 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6833 else
6834 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6835 fi
6836
6837 else
6838
6839 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6840 if test "x$LINE" != x ; then
6841 eval "DEFAULT_$LINE"
6842 else
6843 no_cache=1
6844 fi
6845
6846 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6847
6848 fi
6849
6850
6851 eval "$ac_cv_use_stdpaths"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6854 fi
6855
6856 if test "$wxUSE_STDPATHS" = yes; then
6857 { echo "$as_me:$LINENO: result: yes" >&5
6858 echo "${ECHO_T}yes" >&6; }
6859 else
6860 { echo "$as_me:$LINENO: result: no" >&5
6861 echo "${ECHO_T}no" >&6; }
6862 fi
6863
6864
6865 enablestring=
6866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6867 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6868 no_cache=0
6869 # Check whether --enable-stopwatch was given.
6870 if test "${enable_stopwatch+set}" = set; then
6871 enableval=$enable_stopwatch;
6872 if test "$enableval" = yes; then
6873 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6874 else
6875 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6876 fi
6877
6878 else
6879
6880 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6881 if test "x$LINE" != x ; then
6882 eval "DEFAULT_$LINE"
6883 else
6884 no_cache=1
6885 fi
6886
6887 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6888
6889 fi
6890
6891
6892 eval "$ac_cv_use_stopwatch"
6893 if test "$no_cache" != 1; then
6894 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6895 fi
6896
6897 if test "$wxUSE_STOPWATCH" = yes; then
6898 { echo "$as_me:$LINENO: result: yes" >&5
6899 echo "${ECHO_T}yes" >&6; }
6900 else
6901 { echo "$as_me:$LINENO: result: no" >&5
6902 echo "${ECHO_T}no" >&6; }
6903 fi
6904
6905
6906 enablestring=
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6909 no_cache=0
6910 # Check whether --enable-streams was given.
6911 if test "${enable_streams+set}" = set; then
6912 enableval=$enable_streams;
6913 if test "$enableval" = yes; then
6914 ac_cv_use_streams='wxUSE_STREAMS=yes'
6915 else
6916 ac_cv_use_streams='wxUSE_STREAMS=no'
6917 fi
6918
6919 else
6920
6921 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6924 else
6925 no_cache=1
6926 fi
6927
6928 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6929
6930 fi
6931
6932
6933 eval "$ac_cv_use_streams"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6936 fi
6937
6938 if test "$wxUSE_STREAMS" = yes; then
6939 { echo "$as_me:$LINENO: result: yes" >&5
6940 echo "${ECHO_T}yes" >&6; }
6941 else
6942 { echo "$as_me:$LINENO: result: no" >&5
6943 echo "${ECHO_T}no" >&6; }
6944 fi
6945
6946
6947 enablestring=
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6950 no_cache=0
6951 # Check whether --enable-system_options was given.
6952 if test "${enable_system_options+set}" = set; then
6953 enableval=$enable_system_options;
6954 if test "$enableval" = yes; then
6955 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6956 else
6957 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6958 fi
6959
6960 else
6961
6962 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6963 if test "x$LINE" != x ; then
6964 eval "DEFAULT_$LINE"
6965 else
6966 no_cache=1
6967 fi
6968
6969 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6970
6971 fi
6972
6973
6974 eval "$ac_cv_use_system_options"
6975 if test "$no_cache" != 1; then
6976 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6977 fi
6978
6979 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6980 { echo "$as_me:$LINENO: result: yes" >&5
6981 echo "${ECHO_T}yes" >&6; }
6982 else
6983 { echo "$as_me:$LINENO: result: no" >&5
6984 echo "${ECHO_T}no" >&6; }
6985 fi
6986
6987
6988 enablestring=
6989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6990 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6991 no_cache=0
6992 # Check whether --enable-tarstream was given.
6993 if test "${enable_tarstream+set}" = set; then
6994 enableval=$enable_tarstream;
6995 if test "$enableval" = yes; then
6996 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6997 else
6998 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6999 fi
7000
7001 else
7002
7003 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7004 if test "x$LINE" != x ; then
7005 eval "DEFAULT_$LINE"
7006 else
7007 no_cache=1
7008 fi
7009
7010 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7011
7012 fi
7013
7014
7015 eval "$ac_cv_use_tarstream"
7016 if test "$no_cache" != 1; then
7017 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7018 fi
7019
7020 if test "$wxUSE_TARSTREAM" = yes; then
7021 { echo "$as_me:$LINENO: result: yes" >&5
7022 echo "${ECHO_T}yes" >&6; }
7023 else
7024 { echo "$as_me:$LINENO: result: no" >&5
7025 echo "${ECHO_T}no" >&6; }
7026 fi
7027
7028
7029 enablestring=
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7032 no_cache=0
7033 # Check whether --enable-textbuf was given.
7034 if test "${enable_textbuf+set}" = set; then
7035 enableval=$enable_textbuf;
7036 if test "$enableval" = yes; then
7037 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7038 else
7039 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7040 fi
7041
7042 else
7043
7044 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7045 if test "x$LINE" != x ; then
7046 eval "DEFAULT_$LINE"
7047 else
7048 no_cache=1
7049 fi
7050
7051 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7052
7053 fi
7054
7055
7056 eval "$ac_cv_use_textbuf"
7057 if test "$no_cache" != 1; then
7058 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7059 fi
7060
7061 if test "$wxUSE_TEXTBUFFER" = yes; then
7062 { echo "$as_me:$LINENO: result: yes" >&5
7063 echo "${ECHO_T}yes" >&6; }
7064 else
7065 { echo "$as_me:$LINENO: result: no" >&5
7066 echo "${ECHO_T}no" >&6; }
7067 fi
7068
7069
7070 enablestring=
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7073 no_cache=0
7074 # Check whether --enable-textfile was given.
7075 if test "${enable_textfile+set}" = set; then
7076 enableval=$enable_textfile;
7077 if test "$enableval" = yes; then
7078 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7079 else
7080 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7081 fi
7082
7083 else
7084
7085 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7088 else
7089 no_cache=1
7090 fi
7091
7092 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7093
7094 fi
7095
7096
7097 eval "$ac_cv_use_textfile"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7100 fi
7101
7102 if test "$wxUSE_TEXTFILE" = yes; then
7103 { echo "$as_me:$LINENO: result: yes" >&5
7104 echo "${ECHO_T}yes" >&6; }
7105 else
7106 { echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6; }
7108 fi
7109
7110
7111 enablestring=
7112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7114 no_cache=0
7115 # Check whether --enable-timer was given.
7116 if test "${enable_timer+set}" = set; then
7117 enableval=$enable_timer;
7118 if test "$enableval" = yes; then
7119 ac_cv_use_timer='wxUSE_TIMER=yes'
7120 else
7121 ac_cv_use_timer='wxUSE_TIMER=no'
7122 fi
7123
7124 else
7125
7126 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x ; then
7128 eval "DEFAULT_$LINE"
7129 else
7130 no_cache=1
7131 fi
7132
7133 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7134
7135 fi
7136
7137
7138 eval "$ac_cv_use_timer"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7141 fi
7142
7143 if test "$wxUSE_TIMER" = yes; then
7144 { echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6; }
7146 else
7147 { echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6; }
7149 fi
7150
7151
7152 enablestring=
7153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7155 no_cache=0
7156 # Check whether --enable-unicode was given.
7157 if test "${enable_unicode+set}" = set; then
7158 enableval=$enable_unicode;
7159 if test "$enableval" = yes; then
7160 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7161 else
7162 ac_cv_use_unicode='wxUSE_UNICODE=no'
7163 fi
7164
7165 else
7166
7167 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7170 else
7171 no_cache=1
7172 fi
7173
7174 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7175
7176 fi
7177
7178
7179 eval "$ac_cv_use_unicode"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7182 fi
7183
7184 if test "$wxUSE_UNICODE" = yes; then
7185 { echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6; }
7187 else
7188 { echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6; }
7190 fi
7191
7192
7193 enablestring=
7194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7196 no_cache=0
7197 # Check whether --enable-sound was given.
7198 if test "${enable_sound+set}" = set; then
7199 enableval=$enable_sound;
7200 if test "$enableval" = yes; then
7201 ac_cv_use_sound='wxUSE_SOUND=yes'
7202 else
7203 ac_cv_use_sound='wxUSE_SOUND=no'
7204 fi
7205
7206 else
7207
7208 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7209 if test "x$LINE" != x ; then
7210 eval "DEFAULT_$LINE"
7211 else
7212 no_cache=1
7213 fi
7214
7215 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7216
7217 fi
7218
7219
7220 eval "$ac_cv_use_sound"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7223 fi
7224
7225 if test "$wxUSE_SOUND" = yes; then
7226 { echo "$as_me:$LINENO: result: yes" >&5
7227 echo "${ECHO_T}yes" >&6; }
7228 else
7229 { echo "$as_me:$LINENO: result: no" >&5
7230 echo "${ECHO_T}no" >&6; }
7231 fi
7232
7233
7234 enablestring=
7235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7236 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7237 no_cache=0
7238 # Check whether --enable-mediactrl was given.
7239 if test "${enable_mediactrl+set}" = set; then
7240 enableval=$enable_mediactrl;
7241 if test "$enableval" = yes; then
7242 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7243 else
7244 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7245 fi
7246
7247 else
7248
7249 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x ; then
7251 eval "DEFAULT_$LINE"
7252 else
7253 no_cache=1
7254 fi
7255
7256 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7257
7258 fi
7259
7260
7261 eval "$ac_cv_use_mediactrl"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7264 fi
7265
7266 if test "$wxUSE_MEDIACTRL" = yes; then
7267 { echo "$as_me:$LINENO: result: yes" >&5
7268 echo "${ECHO_T}yes" >&6; }
7269 else
7270 { echo "$as_me:$LINENO: result: no" >&5
7271 echo "${ECHO_T}no" >&6; }
7272 fi
7273
7274
7275 enablestring=
7276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7277 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7278 no_cache=0
7279 # Check whether --enable-gstreamer8 was given.
7280 if test "${enable_gstreamer8+set}" = set; then
7281 enableval=$enable_gstreamer8;
7282 if test "$enableval" = yes; then
7283 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7284 else
7285 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7286 fi
7287
7288 else
7289
7290 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7291 if test "x$LINE" != x ; then
7292 eval "DEFAULT_$LINE"
7293 else
7294 no_cache=1
7295 fi
7296
7297 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7298
7299 fi
7300
7301
7302 eval "$ac_cv_use_gstreamer8"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7305 fi
7306
7307 if test "$wxUSE_GSTREAMER8" = yes; then
7308 { echo "$as_me:$LINENO: result: yes" >&5
7309 echo "${ECHO_T}yes" >&6; }
7310 else
7311 { echo "$as_me:$LINENO: result: no" >&5
7312 echo "${ECHO_T}no" >&6; }
7313 fi
7314
7315
7316 enablestring=
7317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7318 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7319 no_cache=0
7320 # Check whether --enable-printfposparam was given.
7321 if test "${enable_printfposparam+set}" = set; then
7322 enableval=$enable_printfposparam;
7323 if test "$enableval" = yes; then
7324 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7325 else
7326 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7327 fi
7328
7329 else
7330
7331 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7332 if test "x$LINE" != x ; then
7333 eval "DEFAULT_$LINE"
7334 else
7335 no_cache=1
7336 fi
7337
7338 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7339
7340 fi
7341
7342
7343 eval "$ac_cv_use_printfposparam"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7346 fi
7347
7348 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7349 { echo "$as_me:$LINENO: result: yes" >&5
7350 echo "${ECHO_T}yes" >&6; }
7351 else
7352 { echo "$as_me:$LINENO: result: no" >&5
7353 echo "${ECHO_T}no" >&6; }
7354 fi
7355
7356
7357 enablestring=
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7360 no_cache=0
7361 # Check whether --enable-zipstream was given.
7362 if test "${enable_zipstream+set}" = set; then
7363 enableval=$enable_zipstream;
7364 if test "$enableval" = yes; then
7365 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7366 else
7367 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7368 fi
7369
7370 else
7371
7372 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7373 if test "x$LINE" != x ; then
7374 eval "DEFAULT_$LINE"
7375 else
7376 no_cache=1
7377 fi
7378
7379 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7380
7381 fi
7382
7383
7384 eval "$ac_cv_use_zipstream"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7387 fi
7388
7389 if test "$wxUSE_ZIPSTREAM" = yes; then
7390 { echo "$as_me:$LINENO: result: yes" >&5
7391 echo "${ECHO_T}yes" >&6; }
7392 else
7393 { echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6; }
7395 fi
7396
7397
7398
7399 enablestring=
7400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7402 no_cache=0
7403 # Check whether --enable-url was given.
7404 if test "${enable_url+set}" = set; then
7405 enableval=$enable_url;
7406 if test "$enableval" = yes; then
7407 ac_cv_use_url='wxUSE_URL=yes'
7408 else
7409 ac_cv_use_url='wxUSE_URL=no'
7410 fi
7411
7412 else
7413
7414 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x ; then
7416 eval "DEFAULT_$LINE"
7417 else
7418 no_cache=1
7419 fi
7420
7421 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7422
7423 fi
7424
7425
7426 eval "$ac_cv_use_url"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7429 fi
7430
7431 if test "$wxUSE_URL" = yes; then
7432 { echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6; }
7434 else
7435 { echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6; }
7437 fi
7438
7439
7440 enablestring=
7441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7443 no_cache=0
7444 # Check whether --enable-variant was given.
7445 if test "${enable_variant+set}" = set; then
7446 enableval=$enable_variant;
7447 if test "$enableval" = yes; then
7448 ac_cv_use_variant='wxUSE_VARIANT=yes'
7449 else
7450 ac_cv_use_variant='wxUSE_VARIANT=no'
7451 fi
7452
7453 else
7454
7455 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x ; then
7457 eval "DEFAULT_$LINE"
7458 else
7459 no_cache=1
7460 fi
7461
7462 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7463
7464 fi
7465
7466
7467 eval "$ac_cv_use_variant"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7470 fi
7471
7472 if test "$wxUSE_VARIANT" = yes; then
7473 { echo "$as_me:$LINENO: result: yes" >&5
7474 echo "${ECHO_T}yes" >&6; }
7475 else
7476 { echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6; }
7478 fi
7479
7480
7481 enablestring=
7482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7484 no_cache=0
7485 # Check whether --enable-protocol was given.
7486 if test "${enable_protocol+set}" = set; then
7487 enableval=$enable_protocol;
7488 if test "$enableval" = yes; then
7489 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7490 else
7491 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7492 fi
7493
7494 else
7495
7496 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x ; then
7498 eval "DEFAULT_$LINE"
7499 else
7500 no_cache=1
7501 fi
7502
7503 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7504
7505 fi
7506
7507
7508 eval "$ac_cv_use_protocol"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7511 fi
7512
7513 if test "$wxUSE_PROTOCOL" = yes; then
7514 { echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6; }
7516 else
7517 { echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6; }
7519 fi
7520
7521
7522 enablestring=
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7525 no_cache=0
7526 # Check whether --enable-protocol_http was given.
7527 if test "${enable_protocol_http+set}" = set; then
7528 enableval=$enable_protocol_http;
7529 if test "$enableval" = yes; then
7530 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7531 else
7532 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7533 fi
7534
7535 else
7536
7537 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7540 else
7541 no_cache=1
7542 fi
7543
7544 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7545
7546 fi
7547
7548
7549 eval "$ac_cv_use_protocol_http"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7552 fi
7553
7554 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7555 { echo "$as_me:$LINENO: result: yes" >&5
7556 echo "${ECHO_T}yes" >&6; }
7557 else
7558 { echo "$as_me:$LINENO: result: no" >&5
7559 echo "${ECHO_T}no" >&6; }
7560 fi
7561
7562
7563 enablestring=
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7566 no_cache=0
7567 # Check whether --enable-protocol_ftp was given.
7568 if test "${enable_protocol_ftp+set}" = set; then
7569 enableval=$enable_protocol_ftp;
7570 if test "$enableval" = yes; then
7571 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7572 else
7573 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7574 fi
7575
7576 else
7577
7578 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x ; then
7580 eval "DEFAULT_$LINE"
7581 else
7582 no_cache=1
7583 fi
7584
7585 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7586
7587 fi
7588
7589
7590 eval "$ac_cv_use_protocol_ftp"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7593 fi
7594
7595 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7596 { echo "$as_me:$LINENO: result: yes" >&5
7597 echo "${ECHO_T}yes" >&6; }
7598 else
7599 { echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6; }
7601 fi
7602
7603
7604 enablestring=
7605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7607 no_cache=0
7608 # Check whether --enable-protocol_file was given.
7609 if test "${enable_protocol_file+set}" = set; then
7610 enableval=$enable_protocol_file;
7611 if test "$enableval" = yes; then
7612 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7613 else
7614 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7615 fi
7616
7617 else
7618
7619 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x ; then
7621 eval "DEFAULT_$LINE"
7622 else
7623 no_cache=1
7624 fi
7625
7626 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7627
7628 fi
7629
7630
7631 eval "$ac_cv_use_protocol_file"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7634 fi
7635
7636 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7637 { echo "$as_me:$LINENO: result: yes" >&5
7638 echo "${ECHO_T}yes" >&6; }
7639 else
7640 { echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6; }
7642 fi
7643
7644
7645
7646
7647
7648 enablestring=
7649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7651 no_cache=0
7652 # Check whether --enable-threads was given.
7653 if test "${enable_threads+set}" = set; then
7654 enableval=$enable_threads;
7655 if test "$enableval" = yes; then
7656 ac_cv_use_threads='wxUSE_THREADS=yes'
7657 else
7658 ac_cv_use_threads='wxUSE_THREADS=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 else
7667 no_cache=1
7668 fi
7669
7670 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7671
7672 fi
7673
7674
7675 eval "$ac_cv_use_threads"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7678 fi
7679
7680 if test "$wxUSE_THREADS" = yes; then
7681 { echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6; }
7683 else
7684 { echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6; }
7686 fi
7687
7688
7689 if test "$wxUSE_GUI" = "yes"; then
7690
7691
7692
7693 enablestring=
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7696 no_cache=0
7697 # Check whether --enable-docview was given.
7698 if test "${enable_docview+set}" = set; then
7699 enableval=$enable_docview;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7702 else
7703 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7704 fi
7705
7706 else
7707
7708 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7711 else
7712 no_cache=1
7713 fi
7714
7715 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7716
7717 fi
7718
7719
7720 eval "$ac_cv_use_docview"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7723 fi
7724
7725 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7728 else
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7731 fi
7732
7733
7734 enablestring=
7735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7736 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7737 no_cache=0
7738 # Check whether --enable-help was given.
7739 if test "${enable_help+set}" = set; then
7740 enableval=$enable_help;
7741 if test "$enableval" = yes; then
7742 ac_cv_use_help='wxUSE_HELP=yes'
7743 else
7744 ac_cv_use_help='wxUSE_HELP=no'
7745 fi
7746
7747 else
7748
7749 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7752 else
7753 no_cache=1
7754 fi
7755
7756 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7757
7758 fi
7759
7760
7761 eval "$ac_cv_use_help"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7764 fi
7765
7766 if test "$wxUSE_HELP" = yes; then
7767 { echo "$as_me:$LINENO: result: yes" >&5
7768 echo "${ECHO_T}yes" >&6; }
7769 else
7770 { echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6; }
7772 fi
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-mshtmlhelp was given.
7780 if test "${enable_mshtmlhelp+set}" = set; then
7781 enableval=$enable_mshtmlhelp;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7784 else
7785 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7793 else
7794 no_cache=1
7795 fi
7796
7797 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_mshtmlhelp"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_MS_HTML_HELP" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7810 else
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7813 fi
7814
7815
7816 enablestring=
7817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7818 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7819 no_cache=0
7820 # Check whether --enable-html was given.
7821 if test "${enable_html+set}" = set; then
7822 enableval=$enable_html;
7823 if test "$enableval" = yes; then
7824 ac_cv_use_html='wxUSE_HTML=yes'
7825 else
7826 ac_cv_use_html='wxUSE_HTML=no'
7827 fi
7828
7829 else
7830
7831 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x ; then
7833 eval "DEFAULT_$LINE"
7834 else
7835 no_cache=1
7836 fi
7837
7838 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7839
7840 fi
7841
7842
7843 eval "$ac_cv_use_html"
7844 if test "$no_cache" != 1; then
7845 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7846 fi
7847
7848 if test "$wxUSE_HTML" = yes; then
7849 { echo "$as_me:$LINENO: result: yes" >&5
7850 echo "${ECHO_T}yes" >&6; }
7851 else
7852 { echo "$as_me:$LINENO: result: no" >&5
7853 echo "${ECHO_T}no" >&6; }
7854 fi
7855
7856
7857 enablestring=
7858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7859 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7860 no_cache=0
7861 # Check whether --enable-htmlhelp was given.
7862 if test "${enable_htmlhelp+set}" = set; then
7863 enableval=$enable_htmlhelp;
7864 if test "$enableval" = yes; then
7865 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7866 else
7867 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7868 fi
7869
7870 else
7871
7872 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7873 if test "x$LINE" != x ; then
7874 eval "DEFAULT_$LINE"
7875 else
7876 no_cache=1
7877 fi
7878
7879 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7880
7881 fi
7882
7883
7884 eval "$ac_cv_use_htmlhelp"
7885 if test "$no_cache" != 1; then
7886 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7887 fi
7888
7889 if test "$wxUSE_WXHTML_HELP" = yes; then
7890 { echo "$as_me:$LINENO: result: yes" >&5
7891 echo "${ECHO_T}yes" >&6; }
7892 else
7893 { echo "$as_me:$LINENO: result: no" >&5
7894 echo "${ECHO_T}no" >&6; }
7895 fi
7896
7897
7898 enablestring=
7899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7900 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7901 no_cache=0
7902 # Check whether --enable-xrc was given.
7903 if test "${enable_xrc+set}" = set; then
7904 enableval=$enable_xrc;
7905 if test "$enableval" = yes; then
7906 ac_cv_use_xrc='wxUSE_XRC=yes'
7907 else
7908 ac_cv_use_xrc='wxUSE_XRC=no'
7909 fi
7910
7911 else
7912
7913 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7914 if test "x$LINE" != x ; then
7915 eval "DEFAULT_$LINE"
7916 else
7917 no_cache=1
7918 fi
7919
7920 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7921
7922 fi
7923
7924
7925 eval "$ac_cv_use_xrc"
7926 if test "$no_cache" != 1; then
7927 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7928 fi
7929
7930 if test "$wxUSE_XRC" = yes; then
7931 { echo "$as_me:$LINENO: result: yes" >&5
7932 echo "${ECHO_T}yes" >&6; }
7933 else
7934 { echo "$as_me:$LINENO: result: no" >&5
7935 echo "${ECHO_T}no" >&6; }
7936 fi
7937
7938
7939 enablestring=
7940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7941 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7942 no_cache=0
7943 # Check whether --enable-aui was given.
7944 if test "${enable_aui+set}" = set; then
7945 enableval=$enable_aui;
7946 if test "$enableval" = yes; then
7947 ac_cv_use_aui='wxUSE_AUI=yes'
7948 else
7949 ac_cv_use_aui='wxUSE_AUI=no'
7950 fi
7951
7952 else
7953
7954 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7955 if test "x$LINE" != x ; then
7956 eval "DEFAULT_$LINE"
7957 else
7958 no_cache=1
7959 fi
7960
7961 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7962
7963 fi
7964
7965
7966 eval "$ac_cv_use_aui"
7967 if test "$no_cache" != 1; then
7968 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7969 fi
7970
7971 if test "$wxUSE_AUI" = yes; then
7972 { echo "$as_me:$LINENO: result: yes" >&5
7973 echo "${ECHO_T}yes" >&6; }
7974 else
7975 { echo "$as_me:$LINENO: result: no" >&5
7976 echo "${ECHO_T}no" >&6; }
7977 fi
7978
7979
7980 enablestring=
7981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7982 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7983 no_cache=0
7984 # Check whether --enable-stc was given.
7985 if test "${enable_stc+set}" = set; then
7986 enableval=$enable_stc;
7987 if test "$enableval" = yes; then
7988 ac_cv_use_stc='wxUSE_STC=yes'
7989 else
7990 ac_cv_use_stc='wxUSE_STC=no'
7991 fi
7992
7993 else
7994
7995 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x ; then
7997 eval "DEFAULT_$LINE"
7998 else
7999 no_cache=1
8000 fi
8001
8002 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8003
8004 fi
8005
8006
8007 eval "$ac_cv_use_stc"
8008 if test "$no_cache" != 1; then
8009 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8010 fi
8011
8012 if test "$wxUSE_STC" = yes; then
8013 { echo "$as_me:$LINENO: result: yes" >&5
8014 echo "${ECHO_T}yes" >&6; }
8015 else
8016 { echo "$as_me:$LINENO: result: no" >&5
8017 echo "${ECHO_T}no" >&6; }
8018 fi
8019
8020
8021 enablestring=
8022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8023 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8024 no_cache=0
8025 # Check whether --enable-constraints was given.
8026 if test "${enable_constraints+set}" = set; then
8027 enableval=$enable_constraints;
8028 if test "$enableval" = yes; then
8029 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8030 else
8031 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8032 fi
8033
8034 else
8035
8036 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8037 if test "x$LINE" != x ; then
8038 eval "DEFAULT_$LINE"
8039 else
8040 no_cache=1
8041 fi
8042
8043 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8044
8045 fi
8046
8047
8048 eval "$ac_cv_use_constraints"
8049 if test "$no_cache" != 1; then
8050 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8051 fi
8052
8053 if test "$wxUSE_CONSTRAINTS" = yes; then
8054 { echo "$as_me:$LINENO: result: yes" >&5
8055 echo "${ECHO_T}yes" >&6; }
8056 else
8057 { echo "$as_me:$LINENO: result: no" >&5
8058 echo "${ECHO_T}no" >&6; }
8059 fi
8060
8061
8062 enablestring=
8063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8064 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8065 no_cache=0
8066 # Check whether --enable-printarch was given.
8067 if test "${enable_printarch+set}" = set; then
8068 enableval=$enable_printarch;
8069 if test "$enableval" = yes; then
8070 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8071 else
8072 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8073 fi
8074
8075 else
8076
8077 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x ; then
8079 eval "DEFAULT_$LINE"
8080 else
8081 no_cache=1
8082 fi
8083
8084 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8085
8086 fi
8087
8088
8089 eval "$ac_cv_use_printarch"
8090 if test "$no_cache" != 1; then
8091 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8092 fi
8093
8094 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8095 { echo "$as_me:$LINENO: result: yes" >&5
8096 echo "${ECHO_T}yes" >&6; }
8097 else
8098 { echo "$as_me:$LINENO: result: no" >&5
8099 echo "${ECHO_T}no" >&6; }
8100 fi
8101
8102
8103 enablestring=
8104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8105 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8106 no_cache=0
8107 # Check whether --enable-mdi was given.
8108 if test "${enable_mdi+set}" = set; then
8109 enableval=$enable_mdi;
8110 if test "$enableval" = yes; then
8111 ac_cv_use_mdi='wxUSE_MDI=yes'
8112 else
8113 ac_cv_use_mdi='wxUSE_MDI=no'
8114 fi
8115
8116 else
8117
8118 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8119 if test "x$LINE" != x ; then
8120 eval "DEFAULT_$LINE"
8121 else
8122 no_cache=1
8123 fi
8124
8125 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8126
8127 fi
8128
8129
8130 eval "$ac_cv_use_mdi"
8131 if test "$no_cache" != 1; then
8132 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8133 fi
8134
8135 if test "$wxUSE_MDI" = yes; then
8136 { echo "$as_me:$LINENO: result: yes" >&5
8137 echo "${ECHO_T}yes" >&6; }
8138 else
8139 { echo "$as_me:$LINENO: result: no" >&5
8140 echo "${ECHO_T}no" >&6; }
8141 fi
8142
8143
8144 enablestring=
8145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8146 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8147 no_cache=0
8148 # Check whether --enable-mdidoc was given.
8149 if test "${enable_mdidoc+set}" = set; then
8150 enableval=$enable_mdidoc;
8151 if test "$enableval" = yes; then
8152 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8153 else
8154 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8155 fi
8156
8157 else
8158
8159 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8160 if test "x$LINE" != x ; then
8161 eval "DEFAULT_$LINE"
8162 else
8163 no_cache=1
8164 fi
8165
8166 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8167
8168 fi
8169
8170
8171 eval "$ac_cv_use_mdidoc"
8172 if test "$no_cache" != 1; then
8173 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8174 fi
8175
8176 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8177 { echo "$as_me:$LINENO: result: yes" >&5
8178 echo "${ECHO_T}yes" >&6; }
8179 else
8180 { echo "$as_me:$LINENO: result: no" >&5
8181 echo "${ECHO_T}no" >&6; }
8182 fi
8183
8184
8185 enablestring=
8186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8187 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8188 no_cache=0
8189 # Check whether --enable-loggui was given.
8190 if test "${enable_loggui+set}" = set; then
8191 enableval=$enable_loggui;
8192 if test "$enableval" = yes; then
8193 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8194 else
8195 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8196 fi
8197
8198 else
8199
8200 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8201 if test "x$LINE" != x ; then
8202 eval "DEFAULT_$LINE"
8203 else
8204 no_cache=1
8205 fi
8206
8207 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8208
8209 fi
8210
8211
8212 eval "$ac_cv_use_loggui"
8213 if test "$no_cache" != 1; then
8214 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8215 fi
8216
8217 if test "$wxUSE_LOGGUI" = yes; then
8218 { echo "$as_me:$LINENO: result: yes" >&5
8219 echo "${ECHO_T}yes" >&6; }
8220 else
8221 { echo "$as_me:$LINENO: result: no" >&5
8222 echo "${ECHO_T}no" >&6; }
8223 fi
8224
8225
8226 enablestring=
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8229 no_cache=0
8230 # Check whether --enable-logwin was given.
8231 if test "${enable_logwin+set}" = set; then
8232 enableval=$enable_logwin;
8233 if test "$enableval" = yes; then
8234 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8235 else
8236 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8237 fi
8238
8239 else
8240
8241 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8242 if test "x$LINE" != x ; then
8243 eval "DEFAULT_$LINE"
8244 else
8245 no_cache=1
8246 fi
8247
8248 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8249
8250 fi
8251
8252
8253 eval "$ac_cv_use_logwin"
8254 if test "$no_cache" != 1; then
8255 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8256 fi
8257
8258 if test "$wxUSE_LOGWINDOW" = yes; then
8259 { echo "$as_me:$LINENO: result: yes" >&5
8260 echo "${ECHO_T}yes" >&6; }
8261 else
8262 { echo "$as_me:$LINENO: result: no" >&5
8263 echo "${ECHO_T}no" >&6; }
8264 fi
8265
8266
8267 enablestring=
8268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8269 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8270 no_cache=0
8271 # Check whether --enable-logdialog was given.
8272 if test "${enable_logdialog+set}" = set; then
8273 enableval=$enable_logdialog;
8274 if test "$enableval" = yes; then
8275 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8276 else
8277 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8278 fi
8279
8280 else
8281
8282 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8283 if test "x$LINE" != x ; then
8284 eval "DEFAULT_$LINE"
8285 else
8286 no_cache=1
8287 fi
8288
8289 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8290
8291 fi
8292
8293
8294 eval "$ac_cv_use_logdialog"
8295 if test "$no_cache" != 1; then
8296 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8297 fi
8298
8299 if test "$wxUSE_LOGDIALOG" = yes; then
8300 { echo "$as_me:$LINENO: result: yes" >&5
8301 echo "${ECHO_T}yes" >&6; }
8302 else
8303 { echo "$as_me:$LINENO: result: no" >&5
8304 echo "${ECHO_T}no" >&6; }
8305 fi
8306
8307
8308 enablestring=
8309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8310 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8311 no_cache=0
8312 # Check whether --enable-webkit was given.
8313 if test "${enable_webkit+set}" = set; then
8314 enableval=$enable_webkit;
8315 if test "$enableval" = yes; then
8316 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8317 else
8318 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8319 fi
8320
8321 else
8322
8323 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8324 if test "x$LINE" != x ; then
8325 eval "DEFAULT_$LINE"
8326 else
8327 no_cache=1
8328 fi
8329
8330 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8331
8332 fi
8333
8334
8335 eval "$ac_cv_use_webkit"
8336 if test "$no_cache" != 1; then
8337 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8338 fi
8339
8340 if test "$wxUSE_WEBKIT" = yes; then
8341 { echo "$as_me:$LINENO: result: yes" >&5
8342 echo "${ECHO_T}yes" >&6; }
8343 else
8344 { echo "$as_me:$LINENO: result: no" >&5
8345 echo "${ECHO_T}no" >&6; }
8346 fi
8347
8348
8349 enablestring=
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8352 no_cache=0
8353 # Check whether --enable-richtext was given.
8354 if test "${enable_richtext+set}" = set; then
8355 enableval=$enable_richtext;
8356 if test "$enableval" = yes; then
8357 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8358 else
8359 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8360 fi
8361
8362 else
8363
8364 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x ; then
8366 eval "DEFAULT_$LINE"
8367 else
8368 no_cache=1
8369 fi
8370
8371 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8372
8373 fi
8374
8375
8376 eval "$ac_cv_use_richtext"
8377 if test "$no_cache" != 1; then
8378 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8379 fi
8380
8381 if test "$wxUSE_RICHTEXT" = yes; then
8382 { echo "$as_me:$LINENO: result: yes" >&5
8383 echo "${ECHO_T}yes" >&6; }
8384 else
8385 { echo "$as_me:$LINENO: result: no" >&5
8386 echo "${ECHO_T}no" >&6; }
8387 fi
8388
8389
8390 enablestring=
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8393 no_cache=0
8394 # Check whether --enable-graphics_ctx was given.
8395 if test "${enable_graphics_ctx+set}" = set; then
8396 enableval=$enable_graphics_ctx;
8397 if test "$enableval" = yes; then
8398 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8399 else
8400 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8401 fi
8402
8403 else
8404
8405 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x ; then
8407 eval "DEFAULT_$LINE"
8408 else
8409 no_cache=1
8410 fi
8411
8412 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8413
8414 fi
8415
8416
8417 eval "$ac_cv_use_graphics_ctx"
8418 if test "$no_cache" != 1; then
8419 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8420 fi
8421
8422 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8423 { echo "$as_me:$LINENO: result: yes" >&5
8424 echo "${ECHO_T}yes" >&6; }
8425 else
8426 { echo "$as_me:$LINENO: result: no" >&5
8427 echo "${ECHO_T}no" >&6; }
8428 fi
8429
8430
8431
8432 enablestring=
8433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8435 no_cache=0
8436 # Check whether --enable-postscript was given.
8437 if test "${enable_postscript+set}" = set; then
8438 enableval=$enable_postscript;
8439 if test "$enableval" = yes; then
8440 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8441 else
8442 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8443 fi
8444
8445 else
8446
8447 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8448 if test "x$LINE" != x ; then
8449 eval "DEFAULT_$LINE"
8450 else
8451 no_cache=1
8452 fi
8453
8454 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8455
8456 fi
8457
8458
8459 eval "$ac_cv_use_postscript"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8462 fi
8463
8464 if test "$wxUSE_POSTSCRIPT" = yes; then
8465 { echo "$as_me:$LINENO: result: yes" >&5
8466 echo "${ECHO_T}yes" >&6; }
8467 else
8468 { echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6; }
8470 fi
8471
8472
8473
8474
8475
8476 enablestring=
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8479 no_cache=0
8480 # Check whether --enable-clipboard was given.
8481 if test "${enable_clipboard+set}" = set; then
8482 enableval=$enable_clipboard;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8485 else
8486 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8487 fi
8488
8489 else
8490
8491 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8494 else
8495 no_cache=1
8496 fi
8497
8498 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8499
8500 fi
8501
8502
8503 eval "$ac_cv_use_clipboard"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8506 fi
8507
8508 if test "$wxUSE_CLIPBOARD" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8511 else
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8514 fi
8515
8516
8517 enablestring=
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8520 no_cache=0
8521 # Check whether --enable-dnd was given.
8522 if test "${enable_dnd+set}" = set; then
8523 enableval=$enable_dnd;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8526 else
8527 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8528 fi
8529
8530 else
8531
8532 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8535 else
8536 no_cache=1
8537 fi
8538
8539 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8540
8541 fi
8542
8543
8544 eval "$ac_cv_use_dnd"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8547 fi
8548
8549 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8552 else
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8555 fi
8556
8557
8558 enablestring=
8559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8560 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8561 no_cache=0
8562 # Check whether --enable-metafile was given.
8563 if test "${enable_metafile+set}" = set; then
8564 enableval=$enable_metafile;
8565 if test "$enableval" = yes; then
8566 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8567 else
8568 ac_cv_use_metafile='wxUSE_METAFILE=no'
8569 fi
8570
8571 else
8572
8573 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8574 if test "x$LINE" != x ; then
8575 eval "DEFAULT_$LINE"
8576 else
8577 no_cache=1
8578 fi
8579
8580 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8581
8582 fi
8583
8584
8585 eval "$ac_cv_use_metafile"
8586 if test "$no_cache" != 1; then
8587 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8588 fi
8589
8590 if test "$wxUSE_METAFILE" = yes; then
8591 { echo "$as_me:$LINENO: result: yes" >&5
8592 echo "${ECHO_T}yes" >&6; }
8593 else
8594 { echo "$as_me:$LINENO: result: no" >&5
8595 echo "${ECHO_T}no" >&6; }
8596 fi
8597
8598
8599
8600
8601
8602 enablestring=
8603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8605 no_cache=0
8606 # Check whether --enable-controls was given.
8607 if test "${enable_controls+set}" = set; then
8608 enableval=$enable_controls;
8609 if test "$enableval" = yes; then
8610 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8611 else
8612 ac_cv_use_controls='wxUSE_CONTROLS=no'
8613 fi
8614
8615 else
8616
8617 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8618 if test "x$LINE" != x ; then
8619 eval "DEFAULT_$LINE"
8620 else
8621 no_cache=1
8622 fi
8623
8624 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8625
8626 fi
8627
8628
8629 eval "$ac_cv_use_controls"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8632 fi
8633
8634 if test "$wxUSE_CONTROLS" = yes; then
8635 { echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6; }
8637 else
8638 { echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6; }
8640 fi
8641
8642
8643 if test "$wxUSE_CONTROLS" = "yes"; then
8644 DEFAULT_wxUSE_ACCEL=yes
8645 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8646 DEFAULT_wxUSE_BMPBUTTON=yes
8647 DEFAULT_wxUSE_BUTTON=yes
8648 DEFAULT_wxUSE_CALCTRL=yes
8649 DEFAULT_wxUSE_CARET=yes
8650 DEFAULT_wxUSE_COMBOBOX=yes
8651 DEFAULT_wxUSE_CHECKBOX=yes
8652 DEFAULT_wxUSE_CHECKLISTBOX=yes
8653 DEFAULT_wxUSE_CHOICE=yes
8654 DEFAULT_wxUSE_CHOICEBOOK=yes
8655 DEFAULT_wxUSE_COLLPANE=yes
8656 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8657 DEFAULT_wxUSE_COMBOBOX=yes
8658 DEFAULT_wxUSE_DATEPICKCTRL=yes
8659 DEFAULT_wxUSE_DISPLAY=yes
8660 DEFAULT_wxUSE_DETECT_SM=yes
8661 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8662 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8663 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8664 DEFAULT_wxUSE_GAUGE=yes
8665 DEFAULT_wxUSE_GRID=yes
8666 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8667 DEFAULT_wxUSE_DATAVIEWCTRL=no
8668 DEFAULT_wxUSE_IMAGLIST=yes
8669 DEFAULT_wxUSE_LISTBOOK=yes
8670 DEFAULT_wxUSE_LISTBOX=yes
8671 DEFAULT_wxUSE_LISTCTRL=yes
8672 DEFAULT_wxUSE_NOTEBOOK=yes
8673 DEFAULT_wxUSE_RADIOBOX=yes
8674 DEFAULT_wxUSE_RADIOBTN=yes
8675 DEFAULT_wxUSE_SASH=yes
8676 DEFAULT_wxUSE_SCROLLBAR=yes
8677 DEFAULT_wxUSE_SEARCHCTRL=yes
8678 DEFAULT_wxUSE_SLIDER=yes
8679 DEFAULT_wxUSE_SPINBTN=yes
8680 DEFAULT_wxUSE_SPINCTRL=yes
8681 DEFAULT_wxUSE_SPLITTER=yes
8682 DEFAULT_wxUSE_STATBMP=yes
8683 DEFAULT_wxUSE_STATBOX=yes
8684 DEFAULT_wxUSE_STATLINE=yes
8685 DEFAULT_wxUSE_STATUSBAR=yes
8686 DEFAULT_wxUSE_TAB_DIALOG=yes
8687 DEFAULT_wxUSE_TOGGLEBTN=yes
8688 DEFAULT_wxUSE_TOOLBAR=yes
8689 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8690 DEFAULT_wxUSE_TOOLTIPS=yes
8691 DEFAULT_wxUSE_TREEBOOK=yes
8692 DEFAULT_wxUSE_TOOLBOOK=yes
8693 DEFAULT_wxUSE_TREECTRL=yes
8694 DEFAULT_wxUSE_POPUPWIN=yes
8695 DEFAULT_wxUSE_TIPWINDOW=yes
8696 elif test "$wxUSE_CONTROLS" = "no"; then
8697 DEFAULT_wxUSE_ACCEL=no
8698 DEFAULT_wxUSE_ANIMATIONCTRL=no
8699 DEFAULT_wxUSE_BMPBUTTON=no
8700 DEFAULT_wxUSE_BUTTON=no
8701 DEFAULT_wxUSE_CALCTRL=no
8702 DEFAULT_wxUSE_CARET=no
8703 DEFAULT_wxUSE_COLLPANE=no
8704 DEFAULT_wxUSE_COMBOBOX=no
8705 DEFAULT_wxUSE_CHECKBOX=no
8706 DEFAULT_wxUSE_CHECKLISTBOX=no
8707 DEFAULT_wxUSE_CHOICE=no
8708 DEFAULT_wxUSE_CHOICEBOOK=no
8709 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8710 DEFAULT_wxUSE_COMBOBOX=no
8711 DEFAULT_wxUSE_DATEPICKCTRL=no
8712 DEFAULT_wxUSE_DISPLAY=no
8713 DEFAULT_wxUSE_DETECT_SM=no
8714 DEFAULT_wxUSE_DIRPICKERCTRL=no
8715 DEFAULT_wxUSE_FILEPICKERCTRL=no
8716 DEFAULT_wxUSE_FONTPICKERCTRL=no
8717 DEFAULT_wxUSE_GAUGE=no
8718 DEFAULT_wxUSE_GRID=no
8719 DEFAULT_wxUSE_HYPERLINKCTRL=no
8720 DEFAULT_wxUSE_DATAVIEWCTRL=no
8721 DEFAULT_wxUSE_IMAGLIST=no
8722 DEFAULT_wxUSE_LISTBOOK=no
8723 DEFAULT_wxUSE_LISTBOX=no
8724 DEFAULT_wxUSE_LISTCTRL=no
8725 DEFAULT_wxUSE_NOTEBOOK=no
8726 DEFAULT_wxUSE_RADIOBOX=no
8727 DEFAULT_wxUSE_RADIOBTN=no
8728 DEFAULT_wxUSE_SASH=no
8729 DEFAULT_wxUSE_SCROLLBAR=no
8730 DEFAULT_wxUSE_SEARCHCTRL=no
8731 DEFAULT_wxUSE_SLIDER=no
8732 DEFAULT_wxUSE_SPINBTN=no
8733 DEFAULT_wxUSE_SPINCTRL=no
8734 DEFAULT_wxUSE_SPLITTER=no
8735 DEFAULT_wxUSE_STATBMP=no
8736 DEFAULT_wxUSE_STATBOX=no
8737 DEFAULT_wxUSE_STATLINE=no
8738 DEFAULT_wxUSE_STATUSBAR=no
8739 DEFAULT_wxUSE_TAB_DIALOG=no
8740 DEFAULT_wxUSE_TOGGLEBTN=no
8741 DEFAULT_wxUSE_TOOLBAR=no
8742 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8743 DEFAULT_wxUSE_TOOLTIPS=no
8744 DEFAULT_wxUSE_TREEBOOK=no
8745 DEFAULT_wxUSE_TOOLBOOK=no
8746 DEFAULT_wxUSE_TREECTRL=no
8747 DEFAULT_wxUSE_POPUPWIN=no
8748 DEFAULT_wxUSE_TIPWINDOW=no
8749 fi
8750
8751
8752 enablestring=
8753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8755 no_cache=0
8756 # Check whether --enable-accel was given.
8757 if test "${enable_accel+set}" = set; then
8758 enableval=$enable_accel;
8759 if test "$enableval" = yes; then
8760 ac_cv_use_accel='wxUSE_ACCEL=yes'
8761 else
8762 ac_cv_use_accel='wxUSE_ACCEL=no'
8763 fi
8764
8765 else
8766
8767 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x ; then
8769 eval "DEFAULT_$LINE"
8770 else
8771 no_cache=1
8772 fi
8773
8774 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8775
8776 fi
8777
8778
8779 eval "$ac_cv_use_accel"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8782 fi
8783
8784 if test "$wxUSE_ACCEL" = yes; then
8785 { echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6; }
8787 else
8788 { echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6; }
8790 fi
8791
8792
8793 enablestring=
8794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8796 no_cache=0
8797 # Check whether --enable-animatectrl was given.
8798 if test "${enable_animatectrl+set}" = set; then
8799 enableval=$enable_animatectrl;
8800 if test "$enableval" = yes; then
8801 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8802 else
8803 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8804 fi
8805
8806 else
8807
8808 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8809 if test "x$LINE" != x ; then
8810 eval "DEFAULT_$LINE"
8811 else
8812 no_cache=1
8813 fi
8814
8815 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8816
8817 fi
8818
8819
8820 eval "$ac_cv_use_animatectrl"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8823 fi
8824
8825 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8826 { echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6; }
8828 else
8829 { echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6; }
8831 fi
8832
8833
8834 enablestring=
8835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8837 no_cache=0
8838 # Check whether --enable-button was given.
8839 if test "${enable_button+set}" = set; then
8840 enableval=$enable_button;
8841 if test "$enableval" = yes; then
8842 ac_cv_use_button='wxUSE_BUTTON=yes'
8843 else
8844 ac_cv_use_button='wxUSE_BUTTON=no'
8845 fi
8846
8847 else
8848
8849 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8850 if test "x$LINE" != x ; then
8851 eval "DEFAULT_$LINE"
8852 else
8853 no_cache=1
8854 fi
8855
8856 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8857
8858 fi
8859
8860
8861 eval "$ac_cv_use_button"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8864 fi
8865
8866 if test "$wxUSE_BUTTON" = yes; then
8867 { echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6; }
8869 else
8870 { echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6; }
8872 fi
8873
8874
8875 enablestring=
8876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8878 no_cache=0
8879 # Check whether --enable-bmpbutton was given.
8880 if test "${enable_bmpbutton+set}" = set; then
8881 enableval=$enable_bmpbutton;
8882 if test "$enableval" = yes; then
8883 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8884 else
8885 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8886 fi
8887
8888 else
8889
8890 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x ; then
8892 eval "DEFAULT_$LINE"
8893 else
8894 no_cache=1
8895 fi
8896
8897 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8898
8899 fi
8900
8901
8902 eval "$ac_cv_use_bmpbutton"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8905 fi
8906
8907 if test "$wxUSE_BMPBUTTON" = yes; then
8908 { echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6; }
8910 else
8911 { echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6; }
8913 fi
8914
8915
8916 enablestring=
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8919 no_cache=0
8920 # Check whether --enable-bmpcombobox was given.
8921 if test "${enable_bmpcombobox+set}" = set; then
8922 enableval=$enable_bmpcombobox;
8923 if test "$enableval" = yes; then
8924 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8925 else
8926 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8927 fi
8928
8929 else
8930
8931 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x ; then
8933 eval "DEFAULT_$LINE"
8934 else
8935 no_cache=1
8936 fi
8937
8938 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8939
8940 fi
8941
8942
8943 eval "$ac_cv_use_bmpcombobox"
8944 if test "$no_cache" != 1; then
8945 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8946 fi
8947
8948 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8949 { echo "$as_me:$LINENO: result: yes" >&5
8950 echo "${ECHO_T}yes" >&6; }
8951 else
8952 { echo "$as_me:$LINENO: result: no" >&5
8953 echo "${ECHO_T}no" >&6; }
8954 fi
8955
8956
8957 enablestring=
8958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8959 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8960 no_cache=0
8961 # Check whether --enable-calendar was given.
8962 if test "${enable_calendar+set}" = set; then
8963 enableval=$enable_calendar;
8964 if test "$enableval" = yes; then
8965 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8966 else
8967 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8968 fi
8969
8970 else
8971
8972 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x ; then
8974 eval "DEFAULT_$LINE"
8975 else
8976 no_cache=1
8977 fi
8978
8979 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8980
8981 fi
8982
8983
8984 eval "$ac_cv_use_calendar"
8985 if test "$no_cache" != 1; then
8986 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8987 fi
8988
8989 if test "$wxUSE_CALCTRL" = yes; then
8990 { echo "$as_me:$LINENO: result: yes" >&5
8991 echo "${ECHO_T}yes" >&6; }
8992 else
8993 { echo "$as_me:$LINENO: result: no" >&5
8994 echo "${ECHO_T}no" >&6; }
8995 fi
8996
8997
8998 enablestring=
8999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9001 no_cache=0
9002 # Check whether --enable-caret was given.
9003 if test "${enable_caret+set}" = set; then
9004 enableval=$enable_caret;
9005 if test "$enableval" = yes; then
9006 ac_cv_use_caret='wxUSE_CARET=yes'
9007 else
9008 ac_cv_use_caret='wxUSE_CARET=no'
9009 fi
9010
9011 else
9012
9013 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x ; then
9015 eval "DEFAULT_$LINE"
9016 else
9017 no_cache=1
9018 fi
9019
9020 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9021
9022 fi
9023
9024
9025 eval "$ac_cv_use_caret"
9026 if test "$no_cache" != 1; then
9027 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9028 fi
9029
9030 if test "$wxUSE_CARET" = yes; then
9031 { echo "$as_me:$LINENO: result: yes" >&5
9032 echo "${ECHO_T}yes" >&6; }
9033 else
9034 { echo "$as_me:$LINENO: result: no" >&5
9035 echo "${ECHO_T}no" >&6; }
9036 fi
9037
9038
9039 enablestring=
9040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9041 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9042 no_cache=0
9043 # Check whether --enable-checkbox was given.
9044 if test "${enable_checkbox+set}" = set; then
9045 enableval=$enable_checkbox;
9046 if test "$enableval" = yes; then
9047 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9048 else
9049 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9050 fi
9051
9052 else
9053
9054 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9057 else
9058 no_cache=1
9059 fi
9060
9061 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9062
9063 fi
9064
9065
9066 eval "$ac_cv_use_checkbox"
9067 if test "$no_cache" != 1; then
9068 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9069 fi
9070
9071 if test "$wxUSE_CHECKBOX" = yes; then
9072 { echo "$as_me:$LINENO: result: yes" >&5
9073 echo "${ECHO_T}yes" >&6; }
9074 else
9075 { echo "$as_me:$LINENO: result: no" >&5
9076 echo "${ECHO_T}no" >&6; }
9077 fi
9078
9079
9080 enablestring=
9081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9083 no_cache=0
9084 # Check whether --enable-checklst was given.
9085 if test "${enable_checklst+set}" = set; then
9086 enableval=$enable_checklst;
9087 if test "$enableval" = yes; then
9088 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9089 else
9090 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9091 fi
9092
9093 else
9094
9095 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x ; then
9097 eval "DEFAULT_$LINE"
9098 else
9099 no_cache=1
9100 fi
9101
9102 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9103
9104 fi
9105
9106
9107 eval "$ac_cv_use_checklst"
9108 if test "$no_cache" != 1; then
9109 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9110 fi
9111
9112 if test "$wxUSE_CHECKLST" = yes; then
9113 { echo "$as_me:$LINENO: result: yes" >&5
9114 echo "${ECHO_T}yes" >&6; }
9115 else
9116 { echo "$as_me:$LINENO: result: no" >&5
9117 echo "${ECHO_T}no" >&6; }
9118 fi
9119
9120
9121 enablestring=
9122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9123 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9124 no_cache=0
9125 # Check whether --enable-choice was given.
9126 if test "${enable_choice+set}" = set; then
9127 enableval=$enable_choice;
9128 if test "$enableval" = yes; then
9129 ac_cv_use_choice='wxUSE_CHOICE=yes'
9130 else
9131 ac_cv_use_choice='wxUSE_CHOICE=no'
9132 fi
9133
9134 else
9135
9136 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9137 if test "x$LINE" != x ; then
9138 eval "DEFAULT_$LINE"
9139 else
9140 no_cache=1
9141 fi
9142
9143 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9144
9145 fi
9146
9147
9148 eval "$ac_cv_use_choice"
9149 if test "$no_cache" != 1; then
9150 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9151 fi
9152
9153 if test "$wxUSE_CHOICE" = yes; then
9154 { echo "$as_me:$LINENO: result: yes" >&5
9155 echo "${ECHO_T}yes" >&6; }
9156 else
9157 { echo "$as_me:$LINENO: result: no" >&5
9158 echo "${ECHO_T}no" >&6; }
9159 fi
9160
9161
9162 enablestring=
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9165 no_cache=0
9166 # Check whether --enable-choicebook was given.
9167 if test "${enable_choicebook+set}" = set; then
9168 enableval=$enable_choicebook;
9169 if test "$enableval" = yes; then
9170 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9171 else
9172 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9173 fi
9174
9175 else
9176
9177 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x ; then
9179 eval "DEFAULT_$LINE"
9180 else
9181 no_cache=1
9182 fi
9183
9184 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9185
9186 fi
9187
9188
9189 eval "$ac_cv_use_choicebook"
9190 if test "$no_cache" != 1; then
9191 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9192 fi
9193
9194 if test "$wxUSE_CHOICEBOOK" = yes; then
9195 { echo "$as_me:$LINENO: result: yes" >&5
9196 echo "${ECHO_T}yes" >&6; }
9197 else
9198 { echo "$as_me:$LINENO: result: no" >&5
9199 echo "${ECHO_T}no" >&6; }
9200 fi
9201
9202
9203 enablestring=
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9206 no_cache=0
9207 # Check whether --enable-collpane was given.
9208 if test "${enable_collpane+set}" = set; then
9209 enableval=$enable_collpane;
9210 if test "$enableval" = yes; then
9211 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9212 else
9213 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9214 fi
9215
9216 else
9217
9218 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9221 else
9222 no_cache=1
9223 fi
9224
9225 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9226
9227 fi
9228
9229
9230 eval "$ac_cv_use_collpane"
9231 if test "$no_cache" != 1; then
9232 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9233 fi
9234
9235 if test "$wxUSE_COLLPANE" = yes; then
9236 { echo "$as_me:$LINENO: result: yes" >&5
9237 echo "${ECHO_T}yes" >&6; }
9238 else
9239 { echo "$as_me:$LINENO: result: no" >&5
9240 echo "${ECHO_T}no" >&6; }
9241 fi
9242
9243
9244 enablestring=
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9247 no_cache=0
9248 # Check whether --enable-colourpicker was given.
9249 if test "${enable_colourpicker+set}" = set; then
9250 enableval=$enable_colourpicker;
9251 if test "$enableval" = yes; then
9252 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9253 else
9254 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9255 fi
9256
9257 else
9258
9259 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9260 if test "x$LINE" != x ; then
9261 eval "DEFAULT_$LINE"
9262 else
9263 no_cache=1
9264 fi
9265
9266 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9267
9268 fi
9269
9270
9271 eval "$ac_cv_use_colourpicker"
9272 if test "$no_cache" != 1; then
9273 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9274 fi
9275
9276 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9277 { echo "$as_me:$LINENO: result: yes" >&5
9278 echo "${ECHO_T}yes" >&6; }
9279 else
9280 { echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6; }
9282 fi
9283
9284
9285 enablestring=
9286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9288 no_cache=0
9289 # Check whether --enable-combobox was given.
9290 if test "${enable_combobox+set}" = set; then
9291 enableval=$enable_combobox;
9292 if test "$enableval" = yes; then
9293 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9294 else
9295 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9296 fi
9297
9298 else
9299
9300 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x ; then
9302 eval "DEFAULT_$LINE"
9303 else
9304 no_cache=1
9305 fi
9306
9307 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9308
9309 fi
9310
9311
9312 eval "$ac_cv_use_combobox"
9313 if test "$no_cache" != 1; then
9314 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9315 fi
9316
9317 if test "$wxUSE_COMBOBOX" = yes; then
9318 { echo "$as_me:$LINENO: result: yes" >&5
9319 echo "${ECHO_T}yes" >&6; }
9320 else
9321 { echo "$as_me:$LINENO: result: no" >&5
9322 echo "${ECHO_T}no" >&6; }
9323 fi
9324
9325
9326 enablestring=
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9329 no_cache=0
9330 # Check whether --enable-comboctrl was given.
9331 if test "${enable_comboctrl+set}" = set; then
9332 enableval=$enable_comboctrl;
9333 if test "$enableval" = yes; then
9334 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9335 else
9336 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9337 fi
9338
9339 else
9340
9341 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9344 else
9345 no_cache=1
9346 fi
9347
9348 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9349
9350 fi
9351
9352
9353 eval "$ac_cv_use_comboctrl"
9354 if test "$no_cache" != 1; then
9355 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9356 fi
9357
9358 if test "$wxUSE_COMBOCTRL" = yes; then
9359 { echo "$as_me:$LINENO: result: yes" >&5
9360 echo "${ECHO_T}yes" >&6; }
9361 else
9362 { echo "$as_me:$LINENO: result: no" >&5
9363 echo "${ECHO_T}no" >&6; }
9364 fi
9365
9366
9367 enablestring=
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9370 no_cache=0
9371 # Check whether --enable-datepick was given.
9372 if test "${enable_datepick+set}" = set; then
9373 enableval=$enable_datepick;
9374 if test "$enableval" = yes; then
9375 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9376 else
9377 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9378 fi
9379
9380 else
9381
9382 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9385 else
9386 no_cache=1
9387 fi
9388
9389 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9390
9391 fi
9392
9393
9394 eval "$ac_cv_use_datepick"
9395 if test "$no_cache" != 1; then
9396 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9397 fi
9398
9399 if test "$wxUSE_DATEPICKCTRL" = yes; then
9400 { echo "$as_me:$LINENO: result: yes" >&5
9401 echo "${ECHO_T}yes" >&6; }
9402 else
9403 { echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6; }
9405 fi
9406
9407
9408 enablestring=
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9411 no_cache=0
9412 # Check whether --enable-dirpicker was given.
9413 if test "${enable_dirpicker+set}" = set; then
9414 enableval=$enable_dirpicker;
9415 if test "$enableval" = yes; then
9416 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9417 else
9418 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9419 fi
9420
9421 else
9422
9423 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x ; then
9425 eval "DEFAULT_$LINE"
9426 else
9427 no_cache=1
9428 fi
9429
9430 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9431
9432 fi
9433
9434
9435 eval "$ac_cv_use_dirpicker"
9436 if test "$no_cache" != 1; then
9437 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9438 fi
9439
9440 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9441 { echo "$as_me:$LINENO: result: yes" >&5
9442 echo "${ECHO_T}yes" >&6; }
9443 else
9444 { echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6; }
9446 fi
9447
9448
9449 enablestring=
9450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9452 no_cache=0
9453 # Check whether --enable-display was given.
9454 if test "${enable_display+set}" = set; then
9455 enableval=$enable_display;
9456 if test "$enableval" = yes; then
9457 ac_cv_use_display='wxUSE_DISPLAY=yes'
9458 else
9459 ac_cv_use_display='wxUSE_DISPLAY=no'
9460 fi
9461
9462 else
9463
9464 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9465 if test "x$LINE" != x ; then
9466 eval "DEFAULT_$LINE"
9467 else
9468 no_cache=1
9469 fi
9470
9471 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9472
9473 fi
9474
9475
9476 eval "$ac_cv_use_display"
9477 if test "$no_cache" != 1; then
9478 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9479 fi
9480
9481 if test "$wxUSE_DISPLAY" = yes; then
9482 { echo "$as_me:$LINENO: result: yes" >&5
9483 echo "${ECHO_T}yes" >&6; }
9484 else
9485 { echo "$as_me:$LINENO: result: no" >&5
9486 echo "${ECHO_T}no" >&6; }
9487 fi
9488
9489
9490 enablestring=
9491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9493 no_cache=0
9494 # Check whether --enable-detect_sm was given.
9495 if test "${enable_detect_sm+set}" = set; then
9496 enableval=$enable_detect_sm;
9497 if test "$enableval" = yes; then
9498 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9499 else
9500 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9501 fi
9502
9503 else
9504
9505 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9506 if test "x$LINE" != x ; then
9507 eval "DEFAULT_$LINE"
9508 else
9509 no_cache=1
9510 fi
9511
9512 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9513
9514 fi
9515
9516
9517 eval "$ac_cv_use_detect_sm"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9520 fi
9521
9522 if test "$wxUSE_DETECT_SM" = yes; then
9523 { echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6; }
9525 else
9526 { echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6; }
9528 fi
9529
9530
9531 enablestring=
9532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9534 no_cache=0
9535 # Check whether --enable-filepicker was given.
9536 if test "${enable_filepicker+set}" = set; then
9537 enableval=$enable_filepicker;
9538 if test "$enableval" = yes; then
9539 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9540 else
9541 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9542 fi
9543
9544 else
9545
9546 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9549 else
9550 no_cache=1
9551 fi
9552
9553 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9554
9555 fi
9556
9557
9558 eval "$ac_cv_use_filepicker"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9564 { echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6; }
9566 else
9567 { echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6; }
9569 fi
9570
9571
9572 enablestring=
9573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9575 no_cache=0
9576 # Check whether --enable-fontpicker was given.
9577 if test "${enable_fontpicker+set}" = set; then
9578 enableval=$enable_fontpicker;
9579 if test "$enableval" = yes; then
9580 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9581 else
9582 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9583 fi
9584
9585 else
9586
9587 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9588 if test "x$LINE" != x ; then
9589 eval "DEFAULT_$LINE"
9590 else
9591 no_cache=1
9592 fi
9593
9594 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9595
9596 fi
9597
9598
9599 eval "$ac_cv_use_fontpicker"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9602 fi
9603
9604 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9605 { echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6; }
9607 else
9608 { echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6; }
9610 fi
9611
9612
9613 enablestring=
9614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9616 no_cache=0
9617 # Check whether --enable-gauge was given.
9618 if test "${enable_gauge+set}" = set; then
9619 enableval=$enable_gauge;
9620 if test "$enableval" = yes; then
9621 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9622 else
9623 ac_cv_use_gauge='wxUSE_GAUGE=no'
9624 fi
9625
9626 else
9627
9628 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9629 if test "x$LINE" != x ; then
9630 eval "DEFAULT_$LINE"
9631 else
9632 no_cache=1
9633 fi
9634
9635 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9636
9637 fi
9638
9639
9640 eval "$ac_cv_use_gauge"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9643 fi
9644
9645 if test "$wxUSE_GAUGE" = yes; then
9646 { echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6; }
9648 else
9649 { echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6; }
9651 fi
9652
9653
9654 enablestring=
9655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9657 no_cache=0
9658 # Check whether --enable-grid was given.
9659 if test "${enable_grid+set}" = set; then
9660 enableval=$enable_grid;
9661 if test "$enableval" = yes; then
9662 ac_cv_use_grid='wxUSE_GRID=yes'
9663 else
9664 ac_cv_use_grid='wxUSE_GRID=no'
9665 fi
9666
9667 else
9668
9669 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9670 if test "x$LINE" != x ; then
9671 eval "DEFAULT_$LINE"
9672 else
9673 no_cache=1
9674 fi
9675
9676 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9677
9678 fi
9679
9680
9681 eval "$ac_cv_use_grid"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9684 fi
9685
9686 if test "$wxUSE_GRID" = yes; then
9687 { echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6; }
9689 else
9690 { echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6; }
9692 fi
9693
9694
9695 enablestring=
9696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9698 no_cache=0
9699 # Check whether --enable-dataviewctrl was given.
9700 if test "${enable_dataviewctrl+set}" = set; then
9701 enableval=$enable_dataviewctrl;
9702 if test "$enableval" = yes; then
9703 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9704 else
9705 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9706 fi
9707
9708 else
9709
9710 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9711 if test "x$LINE" != x ; then
9712 eval "DEFAULT_$LINE"
9713 else
9714 no_cache=1
9715 fi
9716
9717 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9718
9719 fi
9720
9721
9722 eval "$ac_cv_use_dataviewctrl"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9725 fi
9726
9727 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9728 { echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6; }
9730 else
9731 { echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6; }
9733 fi
9734
9735
9736 enablestring=
9737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9739 no_cache=0
9740 # Check whether --enable-hyperlink was given.
9741 if test "${enable_hyperlink+set}" = set; then
9742 enableval=$enable_hyperlink;
9743 if test "$enableval" = yes; then
9744 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9745 else
9746 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9747 fi
9748
9749 else
9750
9751 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9752 if test "x$LINE" != x ; then
9753 eval "DEFAULT_$LINE"
9754 else
9755 no_cache=1
9756 fi
9757
9758 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9759
9760 fi
9761
9762
9763 eval "$ac_cv_use_hyperlink"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9766 fi
9767
9768 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9769 { echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6; }
9771 else
9772 { echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6; }
9774 fi
9775
9776
9777 enablestring=
9778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9780 no_cache=0
9781 # Check whether --enable-imaglist was given.
9782 if test "${enable_imaglist+set}" = set; then
9783 enableval=$enable_imaglist;
9784 if test "$enableval" = yes; then
9785 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9786 else
9787 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9788 fi
9789
9790 else
9791
9792 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9793 if test "x$LINE" != x ; then
9794 eval "DEFAULT_$LINE"
9795 else
9796 no_cache=1
9797 fi
9798
9799 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9800
9801 fi
9802
9803
9804 eval "$ac_cv_use_imaglist"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9807 fi
9808
9809 if test "$wxUSE_IMAGLIST" = yes; then
9810 { echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6; }
9812 else
9813 { echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6; }
9815 fi
9816
9817
9818 enablestring=
9819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9821 no_cache=0
9822 # Check whether --enable-listbook was given.
9823 if test "${enable_listbook+set}" = set; then
9824 enableval=$enable_listbook;
9825 if test "$enableval" = yes; then
9826 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9827 else
9828 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9829 fi
9830
9831 else
9832
9833 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9834 if test "x$LINE" != x ; then
9835 eval "DEFAULT_$LINE"
9836 else
9837 no_cache=1
9838 fi
9839
9840 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9841
9842 fi
9843
9844
9845 eval "$ac_cv_use_listbook"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9848 fi
9849
9850 if test "$wxUSE_LISTBOOK" = yes; then
9851 { echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6; }
9853 else
9854 { echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6; }
9856 fi
9857
9858
9859 enablestring=
9860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9862 no_cache=0
9863 # Check whether --enable-listbox was given.
9864 if test "${enable_listbox+set}" = set; then
9865 enableval=$enable_listbox;
9866 if test "$enableval" = yes; then
9867 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9868 else
9869 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9870 fi
9871
9872 else
9873
9874 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9875 if test "x$LINE" != x ; then
9876 eval "DEFAULT_$LINE"
9877 else
9878 no_cache=1
9879 fi
9880
9881 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9882
9883 fi
9884
9885
9886 eval "$ac_cv_use_listbox"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9889 fi
9890
9891 if test "$wxUSE_LISTBOX" = yes; then
9892 { echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6; }
9894 else
9895 { echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6; }
9897 fi
9898
9899
9900 enablestring=
9901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9903 no_cache=0
9904 # Check whether --enable-listctrl was given.
9905 if test "${enable_listctrl+set}" = set; then
9906 enableval=$enable_listctrl;
9907 if test "$enableval" = yes; then
9908 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9909 else
9910 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9911 fi
9912
9913 else
9914
9915 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9916 if test "x$LINE" != x ; then
9917 eval "DEFAULT_$LINE"
9918 else
9919 no_cache=1
9920 fi
9921
9922 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9923
9924 fi
9925
9926
9927 eval "$ac_cv_use_listctrl"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9930 fi
9931
9932 if test "$wxUSE_LISTCTRL" = yes; then
9933 { echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6; }
9935 else
9936 { echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6; }
9938 fi
9939
9940
9941 enablestring=
9942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9944 no_cache=0
9945 # Check whether --enable-notebook was given.
9946 if test "${enable_notebook+set}" = set; then
9947 enableval=$enable_notebook;
9948 if test "$enableval" = yes; then
9949 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9950 else
9951 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9952 fi
9953
9954 else
9955
9956 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9957 if test "x$LINE" != x ; then
9958 eval "DEFAULT_$LINE"
9959 else
9960 no_cache=1
9961 fi
9962
9963 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9964
9965 fi
9966
9967
9968 eval "$ac_cv_use_notebook"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test "$wxUSE_NOTEBOOK" = yes; then
9974 { echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6; }
9976 else
9977 { echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6; }
9979 fi
9980
9981
9982 enablestring=
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9985 no_cache=0
9986 # Check whether --enable-odcombobox was given.
9987 if test "${enable_odcombobox+set}" = set; then
9988 enableval=$enable_odcombobox;
9989 if test "$enableval" = yes; then
9990 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9991 else
9992 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9993 fi
9994
9995 else
9996
9997 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9998 if test "x$LINE" != x ; then
9999 eval "DEFAULT_$LINE"
10000 else
10001 no_cache=1
10002 fi
10003
10004 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10005
10006 fi
10007
10008
10009 eval "$ac_cv_use_odcombobox"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10012 fi
10013
10014 if test "$wxUSE_ODCOMBOBOX" = yes; then
10015 { echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6; }
10017 else
10018 { echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6; }
10020 fi
10021
10022
10023 enablestring=
10024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10026 no_cache=0
10027 # Check whether --enable-radiobox was given.
10028 if test "${enable_radiobox+set}" = set; then
10029 enableval=$enable_radiobox;
10030 if test "$enableval" = yes; then
10031 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10032 else
10033 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10034 fi
10035
10036 else
10037
10038 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10039 if test "x$LINE" != x ; then
10040 eval "DEFAULT_$LINE"
10041 else
10042 no_cache=1
10043 fi
10044
10045 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10046
10047 fi
10048
10049
10050 eval "$ac_cv_use_radiobox"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10053 fi
10054
10055 if test "$wxUSE_RADIOBOX" = yes; then
10056 { echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6; }
10058 else
10059 { echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6; }
10061 fi
10062
10063
10064 enablestring=
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10067 no_cache=0
10068 # Check whether --enable-radiobtn was given.
10069 if test "${enable_radiobtn+set}" = set; then
10070 enableval=$enable_radiobtn;
10071 if test "$enableval" = yes; then
10072 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10073 else
10074 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10075 fi
10076
10077 else
10078
10079 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10080 if test "x$LINE" != x ; then
10081 eval "DEFAULT_$LINE"
10082 else
10083 no_cache=1
10084 fi
10085
10086 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10087
10088 fi
10089
10090
10091 eval "$ac_cv_use_radiobtn"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10094 fi
10095
10096 if test "$wxUSE_RADIOBTN" = yes; then
10097 { echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6; }
10099 else
10100 { echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6; }
10102 fi
10103
10104
10105 enablestring=
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10108 no_cache=0
10109 # Check whether --enable-sash was given.
10110 if test "${enable_sash+set}" = set; then
10111 enableval=$enable_sash;
10112 if test "$enableval" = yes; then
10113 ac_cv_use_sash='wxUSE_SASH=yes'
10114 else
10115 ac_cv_use_sash='wxUSE_SASH=no'
10116 fi
10117
10118 else
10119
10120 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10121 if test "x$LINE" != x ; then
10122 eval "DEFAULT_$LINE"
10123 else
10124 no_cache=1
10125 fi
10126
10127 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10128
10129 fi
10130
10131
10132 eval "$ac_cv_use_sash"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10135 fi
10136
10137 if test "$wxUSE_SASH" = yes; then
10138 { echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6; }
10140 else
10141 { echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6; }
10143 fi
10144
10145
10146 enablestring=
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10149 no_cache=0
10150 # Check whether --enable-scrollbar was given.
10151 if test "${enable_scrollbar+set}" = set; then
10152 enableval=$enable_scrollbar;
10153 if test "$enableval" = yes; then
10154 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10155 else
10156 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10157 fi
10158
10159 else
10160
10161 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10162 if test "x$LINE" != x ; then
10163 eval "DEFAULT_$LINE"
10164 else
10165 no_cache=1
10166 fi
10167
10168 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10169
10170 fi
10171
10172
10173 eval "$ac_cv_use_scrollbar"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10176 fi
10177
10178 if test "$wxUSE_SCROLLBAR" = yes; then
10179 { echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6; }
10181 else
10182 { echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6; }
10184 fi
10185
10186
10187 enablestring=
10188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10190 no_cache=0
10191 # Check whether --enable-searchctrl was given.
10192 if test "${enable_searchctrl+set}" = set; then
10193 enableval=$enable_searchctrl;
10194 if test "$enableval" = yes; then
10195 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10196 else
10197 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10198 fi
10199
10200 else
10201
10202 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10203 if test "x$LINE" != x ; then
10204 eval "DEFAULT_$LINE"
10205 else
10206 no_cache=1
10207 fi
10208
10209 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10210
10211 fi
10212
10213
10214 eval "$ac_cv_use_searchctrl"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10217 fi
10218
10219 if test "$wxUSE_SEARCHCTRL" = yes; then
10220 { echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6; }
10222 else
10223 { echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6; }
10225 fi
10226
10227
10228 enablestring=
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10231 no_cache=0
10232 # Check whether --enable-slider was given.
10233 if test "${enable_slider+set}" = set; then
10234 enableval=$enable_slider;
10235 if test "$enableval" = yes; then
10236 ac_cv_use_slider='wxUSE_SLIDER=yes'
10237 else
10238 ac_cv_use_slider='wxUSE_SLIDER=no'
10239 fi
10240
10241 else
10242
10243 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10244 if test "x$LINE" != x ; then
10245 eval "DEFAULT_$LINE"
10246 else
10247 no_cache=1
10248 fi
10249
10250 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10251
10252 fi
10253
10254
10255 eval "$ac_cv_use_slider"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10258 fi
10259
10260 if test "$wxUSE_SLIDER" = yes; then
10261 { echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6; }
10263 else
10264 { echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6; }
10266 fi
10267
10268
10269 enablestring=
10270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10272 no_cache=0
10273 # Check whether --enable-spinbtn was given.
10274 if test "${enable_spinbtn+set}" = set; then
10275 enableval=$enable_spinbtn;
10276 if test "$enableval" = yes; then
10277 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10278 else
10279 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10280 fi
10281
10282 else
10283
10284 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10285 if test "x$LINE" != x ; then
10286 eval "DEFAULT_$LINE"
10287 else
10288 no_cache=1
10289 fi
10290
10291 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10292
10293 fi
10294
10295
10296 eval "$ac_cv_use_spinbtn"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10299 fi
10300
10301 if test "$wxUSE_SPINBTN" = yes; then
10302 { echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6; }
10304 else
10305 { echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6; }
10307 fi
10308
10309
10310 enablestring=
10311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10313 no_cache=0
10314 # Check whether --enable-spinctrl was given.
10315 if test "${enable_spinctrl+set}" = set; then
10316 enableval=$enable_spinctrl;
10317 if test "$enableval" = yes; then
10318 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10319 else
10320 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10321 fi
10322
10323 else
10324
10325 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10326 if test "x$LINE" != x ; then
10327 eval "DEFAULT_$LINE"
10328 else
10329 no_cache=1
10330 fi
10331
10332 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10333
10334 fi
10335
10336
10337 eval "$ac_cv_use_spinctrl"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10340 fi
10341
10342 if test "$wxUSE_SPINCTRL" = yes; then
10343 { echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6; }
10345 else
10346 { echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6; }
10348 fi
10349
10350
10351 enablestring=
10352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10354 no_cache=0
10355 # Check whether --enable-splitter was given.
10356 if test "${enable_splitter+set}" = set; then
10357 enableval=$enable_splitter;
10358 if test "$enableval" = yes; then
10359 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10360 else
10361 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10362 fi
10363
10364 else
10365
10366 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10367 if test "x$LINE" != x ; then
10368 eval "DEFAULT_$LINE"
10369 else
10370 no_cache=1
10371 fi
10372
10373 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10374
10375 fi
10376
10377
10378 eval "$ac_cv_use_splitter"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10381 fi
10382
10383 if test "$wxUSE_SPLITTER" = yes; then
10384 { echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6; }
10386 else
10387 { echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6; }
10389 fi
10390
10391
10392 enablestring=
10393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10395 no_cache=0
10396 # Check whether --enable-statbmp was given.
10397 if test "${enable_statbmp+set}" = set; then
10398 enableval=$enable_statbmp;
10399 if test "$enableval" = yes; then
10400 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10401 else
10402 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10403 fi
10404
10405 else
10406
10407 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10408 if test "x$LINE" != x ; then
10409 eval "DEFAULT_$LINE"
10410 else
10411 no_cache=1
10412 fi
10413
10414 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10415
10416 fi
10417
10418
10419 eval "$ac_cv_use_statbmp"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_STATBMP" = yes; then
10425 { echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6; }
10427 else
10428 { echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6; }
10430 fi
10431
10432
10433 enablestring=
10434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10436 no_cache=0
10437 # Check whether --enable-statbox was given.
10438 if test "${enable_statbox+set}" = set; then
10439 enableval=$enable_statbox;
10440 if test "$enableval" = yes; then
10441 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10442 else
10443 ac_cv_use_statbox='wxUSE_STATBOX=no'
10444 fi
10445
10446 else
10447
10448 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10449 if test "x$LINE" != x ; then
10450 eval "DEFAULT_$LINE"
10451 else
10452 no_cache=1
10453 fi
10454
10455 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10456
10457 fi
10458
10459
10460 eval "$ac_cv_use_statbox"
10461 if test "$no_cache" != 1; then
10462 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10463 fi
10464
10465 if test "$wxUSE_STATBOX" = yes; then
10466 { echo "$as_me:$LINENO: result: yes" >&5
10467 echo "${ECHO_T}yes" >&6; }
10468 else
10469 { echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6; }
10471 fi
10472
10473
10474 enablestring=
10475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10476 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10477 no_cache=0
10478 # Check whether --enable-statline was given.
10479 if test "${enable_statline+set}" = set; then
10480 enableval=$enable_statline;
10481 if test "$enableval" = yes; then
10482 ac_cv_use_statline='wxUSE_STATLINE=yes'
10483 else
10484 ac_cv_use_statline='wxUSE_STATLINE=no'
10485 fi
10486
10487 else
10488
10489 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10490 if test "x$LINE" != x ; then
10491 eval "DEFAULT_$LINE"
10492 else
10493 no_cache=1
10494 fi
10495
10496 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10497
10498 fi
10499
10500
10501 eval "$ac_cv_use_statline"
10502 if test "$no_cache" != 1; then
10503 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10504 fi
10505
10506 if test "$wxUSE_STATLINE" = yes; then
10507 { echo "$as_me:$LINENO: result: yes" >&5
10508 echo "${ECHO_T}yes" >&6; }
10509 else
10510 { echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6; }
10512 fi
10513
10514
10515 enablestring=
10516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10517 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10518 no_cache=0
10519 # Check whether --enable-stattext was given.
10520 if test "${enable_stattext+set}" = set; then
10521 enableval=$enable_stattext;
10522 if test "$enableval" = yes; then
10523 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10524 else
10525 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10526 fi
10527
10528 else
10529
10530 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10531 if test "x$LINE" != x ; then
10532 eval "DEFAULT_$LINE"
10533 else
10534 no_cache=1
10535 fi
10536
10537 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10538
10539 fi
10540
10541
10542 eval "$ac_cv_use_stattext"
10543 if test "$no_cache" != 1; then
10544 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10545 fi
10546
10547 if test "$wxUSE_STATTEXT" = yes; then
10548 { echo "$as_me:$LINENO: result: yes" >&5
10549 echo "${ECHO_T}yes" >&6; }
10550 else
10551 { echo "$as_me:$LINENO: result: no" >&5
10552 echo "${ECHO_T}no" >&6; }
10553 fi
10554
10555
10556 enablestring=
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10559 no_cache=0
10560 # Check whether --enable-statusbar was given.
10561 if test "${enable_statusbar+set}" = set; then
10562 enableval=$enable_statusbar;
10563 if test "$enableval" = yes; then
10564 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10565 else
10566 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10567 fi
10568
10569 else
10570
10571 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10572 if test "x$LINE" != x ; then
10573 eval "DEFAULT_$LINE"
10574 else
10575 no_cache=1
10576 fi
10577
10578 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10579
10580 fi
10581
10582
10583 eval "$ac_cv_use_statusbar"
10584 if test "$no_cache" != 1; then
10585 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10586 fi
10587
10588 if test "$wxUSE_STATUSBAR" = yes; then
10589 { echo "$as_me:$LINENO: result: yes" >&5
10590 echo "${ECHO_T}yes" >&6; }
10591 else
10592 { echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6; }
10594 fi
10595
10596
10597 enablestring=
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10600 no_cache=0
10601 # Check whether --enable-tabdialog was given.
10602 if test "${enable_tabdialog+set}" = set; then
10603 enableval=$enable_tabdialog;
10604 if test "$enableval" = yes; then
10605 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10606 else
10607 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10608 fi
10609
10610 else
10611
10612 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10613 if test "x$LINE" != x ; then
10614 eval "DEFAULT_$LINE"
10615 else
10616 no_cache=1
10617 fi
10618
10619 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10620
10621 fi
10622
10623
10624 eval "$ac_cv_use_tabdialog"
10625 if test "$no_cache" != 1; then
10626 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10627 fi
10628
10629 if test "$wxUSE_TAB_DIALOG" = yes; then
10630 { echo "$as_me:$LINENO: result: yes" >&5
10631 echo "${ECHO_T}yes" >&6; }
10632 else
10633 { echo "$as_me:$LINENO: result: no" >&5
10634 echo "${ECHO_T}no" >&6; }
10635 fi
10636
10637
10638 enablestring=
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10641 no_cache=0
10642 # Check whether --enable-textctrl was given.
10643 if test "${enable_textctrl+set}" = set; then
10644 enableval=$enable_textctrl;
10645 if test "$enableval" = yes; then
10646 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10647 else
10648 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10649 fi
10650
10651 else
10652
10653 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10654 if test "x$LINE" != x ; then
10655 eval "DEFAULT_$LINE"
10656 else
10657 no_cache=1
10658 fi
10659
10660 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10661
10662 fi
10663
10664
10665 eval "$ac_cv_use_textctrl"
10666 if test "$no_cache" != 1; then
10667 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10668 fi
10669
10670 if test "$wxUSE_TEXTCTRL" = yes; then
10671 { echo "$as_me:$LINENO: result: yes" >&5
10672 echo "${ECHO_T}yes" >&6; }
10673 else
10674 { echo "$as_me:$LINENO: result: no" >&5
10675 echo "${ECHO_T}no" >&6; }
10676 fi
10677
10678
10679 enablestring=
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10682 no_cache=0
10683 # Check whether --enable-togglebtn was given.
10684 if test "${enable_togglebtn+set}" = set; then
10685 enableval=$enable_togglebtn;
10686 if test "$enableval" = yes; then
10687 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10688 else
10689 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10690 fi
10691
10692 else
10693
10694 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10695 if test "x$LINE" != x ; then
10696 eval "DEFAULT_$LINE"
10697 else
10698 no_cache=1
10699 fi
10700
10701 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10702
10703 fi
10704
10705
10706 eval "$ac_cv_use_togglebtn"
10707 if test "$no_cache" != 1; then
10708 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10709 fi
10710
10711 if test "$wxUSE_TOGGLEBTN" = yes; then
10712 { echo "$as_me:$LINENO: result: yes" >&5
10713 echo "${ECHO_T}yes" >&6; }
10714 else
10715 { echo "$as_me:$LINENO: result: no" >&5
10716 echo "${ECHO_T}no" >&6; }
10717 fi
10718
10719
10720 enablestring=
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10723 no_cache=0
10724 # Check whether --enable-toolbar was given.
10725 if test "${enable_toolbar+set}" = set; then
10726 enableval=$enable_toolbar;
10727 if test "$enableval" = yes; then
10728 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10729 else
10730 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10731 fi
10732
10733 else
10734
10735 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10736 if test "x$LINE" != x ; then
10737 eval "DEFAULT_$LINE"
10738 else
10739 no_cache=1
10740 fi
10741
10742 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10743
10744 fi
10745
10746
10747 eval "$ac_cv_use_toolbar"
10748 if test "$no_cache" != 1; then
10749 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10750 fi
10751
10752 if test "$wxUSE_TOOLBAR" = yes; then
10753 { echo "$as_me:$LINENO: result: yes" >&5
10754 echo "${ECHO_T}yes" >&6; }
10755 else
10756 { echo "$as_me:$LINENO: result: no" >&5
10757 echo "${ECHO_T}no" >&6; }
10758 fi
10759
10760
10761 enablestring=
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10764 no_cache=0
10765 # Check whether --enable-tbarnative was given.
10766 if test "${enable_tbarnative+set}" = set; then
10767 enableval=$enable_tbarnative;
10768 if test "$enableval" = yes; then
10769 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10770 else
10771 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10772 fi
10773
10774 else
10775
10776 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10777 if test "x$LINE" != x ; then
10778 eval "DEFAULT_$LINE"
10779 else
10780 no_cache=1
10781 fi
10782
10783 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10784
10785 fi
10786
10787
10788 eval "$ac_cv_use_tbarnative"
10789 if test "$no_cache" != 1; then
10790 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10791 fi
10792
10793 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10794 { echo "$as_me:$LINENO: result: yes" >&5
10795 echo "${ECHO_T}yes" >&6; }
10796 else
10797 { echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6; }
10799 fi
10800
10801
10802 enablestring=
10803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10804 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10805 no_cache=0
10806 # Check whether --enable-treebook was given.
10807 if test "${enable_treebook+set}" = set; then
10808 enableval=$enable_treebook;
10809 if test "$enableval" = yes; then
10810 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10811 else
10812 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10813 fi
10814
10815 else
10816
10817 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10818 if test "x$LINE" != x ; then
10819 eval "DEFAULT_$LINE"
10820 else
10821 no_cache=1
10822 fi
10823
10824 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10825
10826 fi
10827
10828
10829 eval "$ac_cv_use_treebook"
10830 if test "$no_cache" != 1; then
10831 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10832 fi
10833
10834 if test "$wxUSE_TREEBOOK" = yes; then
10835 { echo "$as_me:$LINENO: result: yes" >&5
10836 echo "${ECHO_T}yes" >&6; }
10837 else
10838 { echo "$as_me:$LINENO: result: no" >&5
10839 echo "${ECHO_T}no" >&6; }
10840 fi
10841
10842
10843 enablestring=
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10846 no_cache=0
10847 # Check whether --enable-toolbook was given.
10848 if test "${enable_toolbook+set}" = set; then
10849 enableval=$enable_toolbook;
10850 if test "$enableval" = yes; then
10851 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10852 else
10853 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10854 fi
10855
10856 else
10857
10858 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10859 if test "x$LINE" != x ; then
10860 eval "DEFAULT_$LINE"
10861 else
10862 no_cache=1
10863 fi
10864
10865 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10866
10867 fi
10868
10869
10870 eval "$ac_cv_use_toolbook"
10871 if test "$no_cache" != 1; then
10872 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10873 fi
10874
10875 if test "$wxUSE_TOOLBOOK" = yes; then
10876 { echo "$as_me:$LINENO: result: yes" >&5
10877 echo "${ECHO_T}yes" >&6; }
10878 else
10879 { echo "$as_me:$LINENO: result: no" >&5
10880 echo "${ECHO_T}no" >&6; }
10881 fi
10882
10883
10884 enablestring=
10885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10887 no_cache=0
10888 # Check whether --enable-treectrl was given.
10889 if test "${enable_treectrl+set}" = set; then
10890 enableval=$enable_treectrl;
10891 if test "$enableval" = yes; then
10892 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10893 else
10894 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10895 fi
10896
10897 else
10898
10899 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10900 if test "x$LINE" != x ; then
10901 eval "DEFAULT_$LINE"
10902 else
10903 no_cache=1
10904 fi
10905
10906 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10907
10908 fi
10909
10910
10911 eval "$ac_cv_use_treectrl"
10912 if test "$no_cache" != 1; then
10913 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10914 fi
10915
10916 if test "$wxUSE_TREECTRL" = yes; then
10917 { echo "$as_me:$LINENO: result: yes" >&5
10918 echo "${ECHO_T}yes" >&6; }
10919 else
10920 { echo "$as_me:$LINENO: result: no" >&5
10921 echo "${ECHO_T}no" >&6; }
10922 fi
10923
10924
10925 enablestring=
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10928 no_cache=0
10929 # Check whether --enable-tipwindow was given.
10930 if test "${enable_tipwindow+set}" = set; then
10931 enableval=$enable_tipwindow;
10932 if test "$enableval" = yes; then
10933 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10934 else
10935 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10936 fi
10937
10938 else
10939
10940 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10941 if test "x$LINE" != x ; then
10942 eval "DEFAULT_$LINE"
10943 else
10944 no_cache=1
10945 fi
10946
10947 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10948
10949 fi
10950
10951
10952 eval "$ac_cv_use_tipwindow"
10953 if test "$no_cache" != 1; then
10954 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10955 fi
10956
10957 if test "$wxUSE_TIPWINDOW" = yes; then
10958 { echo "$as_me:$LINENO: result: yes" >&5
10959 echo "${ECHO_T}yes" >&6; }
10960 else
10961 { echo "$as_me:$LINENO: result: no" >&5
10962 echo "${ECHO_T}no" >&6; }
10963 fi
10964
10965
10966 enablestring=
10967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10968 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10969 no_cache=0
10970 # Check whether --enable-popupwin was given.
10971 if test "${enable_popupwin+set}" = set; then
10972 enableval=$enable_popupwin;
10973 if test "$enableval" = yes; then
10974 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10975 else
10976 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10977 fi
10978
10979 else
10980
10981 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10982 if test "x$LINE" != x ; then
10983 eval "DEFAULT_$LINE"
10984 else
10985 no_cache=1
10986 fi
10987
10988 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10989
10990 fi
10991
10992
10993 eval "$ac_cv_use_popupwin"
10994 if test "$no_cache" != 1; then
10995 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10996 fi
10997
10998 if test "$wxUSE_POPUPWIN" = yes; then
10999 { echo "$as_me:$LINENO: result: yes" >&5
11000 echo "${ECHO_T}yes" >&6; }
11001 else
11002 { echo "$as_me:$LINENO: result: no" >&5
11003 echo "${ECHO_T}no" >&6; }
11004 fi
11005
11006
11007
11008
11009 enablestring=
11010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11011 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11012 no_cache=0
11013 # Check whether --enable-commondlg was given.
11014 if test "${enable_commondlg+set}" = set; then
11015 enableval=$enable_commondlg;
11016 if test "$enableval" = yes; then
11017 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11018 else
11019 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11020 fi
11021
11022 else
11023
11024 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11025 if test "x$LINE" != x ; then
11026 eval "DEFAULT_$LINE"
11027 else
11028 no_cache=1
11029 fi
11030
11031 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11032
11033 fi
11034
11035
11036 eval "$ac_cv_use_commondlg"
11037 if test "$no_cache" != 1; then
11038 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11039 fi
11040
11041 if test "$wxUSE_COMMONDLGS" = yes; then
11042 { echo "$as_me:$LINENO: result: yes" >&5
11043 echo "${ECHO_T}yes" >&6; }
11044 else
11045 { echo "$as_me:$LINENO: result: no" >&5
11046 echo "${ECHO_T}no" >&6; }
11047 fi
11048
11049
11050 enablestring=
11051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11052 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11053 no_cache=0
11054 # Check whether --enable-aboutdlg was given.
11055 if test "${enable_aboutdlg+set}" = set; then
11056 enableval=$enable_aboutdlg;
11057 if test "$enableval" = yes; then
11058 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11059 else
11060 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11061 fi
11062
11063 else
11064
11065 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11066 if test "x$LINE" != x ; then
11067 eval "DEFAULT_$LINE"
11068 else
11069 no_cache=1
11070 fi
11071
11072 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11073
11074 fi
11075
11076
11077 eval "$ac_cv_use_aboutdlg"
11078 if test "$no_cache" != 1; then
11079 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11080 fi
11081
11082 if test "$wxUSE_ABOUTDLG" = yes; then
11083 { echo "$as_me:$LINENO: result: yes" >&5
11084 echo "${ECHO_T}yes" >&6; }
11085 else
11086 { echo "$as_me:$LINENO: result: no" >&5
11087 echo "${ECHO_T}no" >&6; }
11088 fi
11089
11090
11091 enablestring=
11092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11093 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11094 no_cache=0
11095 # Check whether --enable-choicedlg was given.
11096 if test "${enable_choicedlg+set}" = set; then
11097 enableval=$enable_choicedlg;
11098 if test "$enableval" = yes; then
11099 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11100 else
11101 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11102 fi
11103
11104 else
11105
11106 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11107 if test "x$LINE" != x ; then
11108 eval "DEFAULT_$LINE"
11109 else
11110 no_cache=1
11111 fi
11112
11113 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11114
11115 fi
11116
11117
11118 eval "$ac_cv_use_choicedlg"
11119 if test "$no_cache" != 1; then
11120 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11121 fi
11122
11123 if test "$wxUSE_CHOICEDLG" = yes; then
11124 { echo "$as_me:$LINENO: result: yes" >&5
11125 echo "${ECHO_T}yes" >&6; }
11126 else
11127 { echo "$as_me:$LINENO: result: no" >&5
11128 echo "${ECHO_T}no" >&6; }
11129 fi
11130
11131
11132 enablestring=
11133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11134 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11135 no_cache=0
11136 # Check whether --enable-coldlg was given.
11137 if test "${enable_coldlg+set}" = set; then
11138 enableval=$enable_coldlg;
11139 if test "$enableval" = yes; then
11140 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11141 else
11142 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11143 fi
11144
11145 else
11146
11147 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11148 if test "x$LINE" != x ; then
11149 eval "DEFAULT_$LINE"
11150 else
11151 no_cache=1
11152 fi
11153
11154 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11155
11156 fi
11157
11158
11159 eval "$ac_cv_use_coldlg"
11160 if test "$no_cache" != 1; then
11161 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11162 fi
11163
11164 if test "$wxUSE_COLOURDLG" = yes; then
11165 { echo "$as_me:$LINENO: result: yes" >&5
11166 echo "${ECHO_T}yes" >&6; }
11167 else
11168 { echo "$as_me:$LINENO: result: no" >&5
11169 echo "${ECHO_T}no" >&6; }
11170 fi
11171
11172
11173 enablestring=
11174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11175 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11176 no_cache=0
11177 # Check whether --enable-filedlg was given.
11178 if test "${enable_filedlg+set}" = set; then
11179 enableval=$enable_filedlg;
11180 if test "$enableval" = yes; then
11181 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11182 else
11183 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11184 fi
11185
11186 else
11187
11188 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11189 if test "x$LINE" != x ; then
11190 eval "DEFAULT_$LINE"
11191 else
11192 no_cache=1
11193 fi
11194
11195 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11196
11197 fi
11198
11199
11200 eval "$ac_cv_use_filedlg"
11201 if test "$no_cache" != 1; then
11202 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11203 fi
11204
11205 if test "$wxUSE_FILEDLG" = yes; then
11206 { echo "$as_me:$LINENO: result: yes" >&5
11207 echo "${ECHO_T}yes" >&6; }
11208 else
11209 { echo "$as_me:$LINENO: result: no" >&5
11210 echo "${ECHO_T}no" >&6; }
11211 fi
11212
11213
11214 enablestring=
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11217 no_cache=0
11218 # Check whether --enable-finddlg was given.
11219 if test "${enable_finddlg+set}" = set; then
11220 enableval=$enable_finddlg;
11221 if test "$enableval" = yes; then
11222 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11223 else
11224 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11225 fi
11226
11227 else
11228
11229 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11230 if test "x$LINE" != x ; then
11231 eval "DEFAULT_$LINE"
11232 else
11233 no_cache=1
11234 fi
11235
11236 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11237
11238 fi
11239
11240
11241 eval "$ac_cv_use_finddlg"
11242 if test "$no_cache" != 1; then
11243 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11244 fi
11245
11246 if test "$wxUSE_FINDREPLDLG" = yes; then
11247 { echo "$as_me:$LINENO: result: yes" >&5
11248 echo "${ECHO_T}yes" >&6; }
11249 else
11250 { echo "$as_me:$LINENO: result: no" >&5
11251 echo "${ECHO_T}no" >&6; }
11252 fi
11253
11254
11255 enablestring=
11256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11257 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11258 no_cache=0
11259 # Check whether --enable-fontdlg was given.
11260 if test "${enable_fontdlg+set}" = set; then
11261 enableval=$enable_fontdlg;
11262 if test "$enableval" = yes; then
11263 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11264 else
11265 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11266 fi
11267
11268 else
11269
11270 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11271 if test "x$LINE" != x ; then
11272 eval "DEFAULT_$LINE"
11273 else
11274 no_cache=1
11275 fi
11276
11277 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11278
11279 fi
11280
11281
11282 eval "$ac_cv_use_fontdlg"
11283 if test "$no_cache" != 1; then
11284 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11285 fi
11286
11287 if test "$wxUSE_FONTDLG" = yes; then
11288 { echo "$as_me:$LINENO: result: yes" >&5
11289 echo "${ECHO_T}yes" >&6; }
11290 else
11291 { echo "$as_me:$LINENO: result: no" >&5
11292 echo "${ECHO_T}no" >&6; }
11293 fi
11294
11295
11296 enablestring=
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11299 no_cache=0
11300 # Check whether --enable-dirdlg was given.
11301 if test "${enable_dirdlg+set}" = set; then
11302 enableval=$enable_dirdlg;
11303 if test "$enableval" = yes; then
11304 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11305 else
11306 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11307 fi
11308
11309 else
11310
11311 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11312 if test "x$LINE" != x ; then
11313 eval "DEFAULT_$LINE"
11314 else
11315 no_cache=1
11316 fi
11317
11318 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11319
11320 fi
11321
11322
11323 eval "$ac_cv_use_dirdlg"
11324 if test "$no_cache" != 1; then
11325 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11326 fi
11327
11328 if test "$wxUSE_DIRDLG" = yes; then
11329 { echo "$as_me:$LINENO: result: yes" >&5
11330 echo "${ECHO_T}yes" >&6; }
11331 else
11332 { echo "$as_me:$LINENO: result: no" >&5
11333 echo "${ECHO_T}no" >&6; }
11334 fi
11335
11336
11337 enablestring=
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11340 no_cache=0
11341 # Check whether --enable-msgdlg was given.
11342 if test "${enable_msgdlg+set}" = set; then
11343 enableval=$enable_msgdlg;
11344 if test "$enableval" = yes; then
11345 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11346 else
11347 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11348 fi
11349
11350 else
11351
11352 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11353 if test "x$LINE" != x ; then
11354 eval "DEFAULT_$LINE"
11355 else
11356 no_cache=1
11357 fi
11358
11359 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11360
11361 fi
11362
11363
11364 eval "$ac_cv_use_msgdlg"
11365 if test "$no_cache" != 1; then
11366 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11367 fi
11368
11369 if test "$wxUSE_MSGDLG" = yes; then
11370 { echo "$as_me:$LINENO: result: yes" >&5
11371 echo "${ECHO_T}yes" >&6; }
11372 else
11373 { echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6; }
11375 fi
11376
11377
11378 enablestring=
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11381 no_cache=0
11382 # Check whether --enable-numberdlg was given.
11383 if test "${enable_numberdlg+set}" = set; then
11384 enableval=$enable_numberdlg;
11385 if test "$enableval" = yes; then
11386 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11387 else
11388 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11389 fi
11390
11391 else
11392
11393 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11394 if test "x$LINE" != x ; then
11395 eval "DEFAULT_$LINE"
11396 else
11397 no_cache=1
11398 fi
11399
11400 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11401
11402 fi
11403
11404
11405 eval "$ac_cv_use_numberdlg"
11406 if test "$no_cache" != 1; then
11407 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11408 fi
11409
11410 if test "$wxUSE_NUMBERDLG" = yes; then
11411 { echo "$as_me:$LINENO: result: yes" >&5
11412 echo "${ECHO_T}yes" >&6; }
11413 else
11414 { echo "$as_me:$LINENO: result: no" >&5
11415 echo "${ECHO_T}no" >&6; }
11416 fi
11417
11418
11419 enablestring=
11420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11421 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11422 no_cache=0
11423 # Check whether --enable-splash was given.
11424 if test "${enable_splash+set}" = set; then
11425 enableval=$enable_splash;
11426 if test "$enableval" = yes; then
11427 ac_cv_use_splash='wxUSE_SPLASH=yes'
11428 else
11429 ac_cv_use_splash='wxUSE_SPLASH=no'
11430 fi
11431
11432 else
11433
11434 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11435 if test "x$LINE" != x ; then
11436 eval "DEFAULT_$LINE"
11437 else
11438 no_cache=1
11439 fi
11440
11441 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11442
11443 fi
11444
11445
11446 eval "$ac_cv_use_splash"
11447 if test "$no_cache" != 1; then
11448 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11449 fi
11450
11451 if test "$wxUSE_SPLASH" = yes; then
11452 { echo "$as_me:$LINENO: result: yes" >&5
11453 echo "${ECHO_T}yes" >&6; }
11454 else
11455 { echo "$as_me:$LINENO: result: no" >&5
11456 echo "${ECHO_T}no" >&6; }
11457 fi
11458
11459
11460 enablestring=
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11463 no_cache=0
11464 # Check whether --enable-textdlg was given.
11465 if test "${enable_textdlg+set}" = set; then
11466 enableval=$enable_textdlg;
11467 if test "$enableval" = yes; then
11468 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11469 else
11470 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11471 fi
11472
11473 else
11474
11475 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11476 if test "x$LINE" != x ; then
11477 eval "DEFAULT_$LINE"
11478 else
11479 no_cache=1
11480 fi
11481
11482 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11483
11484 fi
11485
11486
11487 eval "$ac_cv_use_textdlg"
11488 if test "$no_cache" != 1; then
11489 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11490 fi
11491
11492 if test "$wxUSE_TEXTDLG" = yes; then
11493 { echo "$as_me:$LINENO: result: yes" >&5
11494 echo "${ECHO_T}yes" >&6; }
11495 else
11496 { echo "$as_me:$LINENO: result: no" >&5
11497 echo "${ECHO_T}no" >&6; }
11498 fi
11499
11500
11501 enablestring=
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11504 no_cache=0
11505 # Check whether --enable-tipdlg was given.
11506 if test "${enable_tipdlg+set}" = set; then
11507 enableval=$enable_tipdlg;
11508 if test "$enableval" = yes; then
11509 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11510 else
11511 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11512 fi
11513
11514 else
11515
11516 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11517 if test "x$LINE" != x ; then
11518 eval "DEFAULT_$LINE"
11519 else
11520 no_cache=1
11521 fi
11522
11523 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11524
11525 fi
11526
11527
11528 eval "$ac_cv_use_tipdlg"
11529 if test "$no_cache" != 1; then
11530 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11531 fi
11532
11533 if test "$wxUSE_STARTUP_TIPS" = yes; then
11534 { echo "$as_me:$LINENO: result: yes" >&5
11535 echo "${ECHO_T}yes" >&6; }
11536 else
11537 { echo "$as_me:$LINENO: result: no" >&5
11538 echo "${ECHO_T}no" >&6; }
11539 fi
11540
11541
11542 enablestring=
11543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11544 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11545 no_cache=0
11546 # Check whether --enable-progressdlg was given.
11547 if test "${enable_progressdlg+set}" = set; then
11548 enableval=$enable_progressdlg;
11549 if test "$enableval" = yes; then
11550 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11551 else
11552 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11553 fi
11554
11555 else
11556
11557 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11558 if test "x$LINE" != x ; then
11559 eval "DEFAULT_$LINE"
11560 else
11561 no_cache=1
11562 fi
11563
11564 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11565
11566 fi
11567
11568
11569 eval "$ac_cv_use_progressdlg"
11570 if test "$no_cache" != 1; then
11571 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11572 fi
11573
11574 if test "$wxUSE_PROGRESSDLG" = yes; then
11575 { echo "$as_me:$LINENO: result: yes" >&5
11576 echo "${ECHO_T}yes" >&6; }
11577 else
11578 { echo "$as_me:$LINENO: result: no" >&5
11579 echo "${ECHO_T}no" >&6; }
11580 fi
11581
11582
11583 enablestring=
11584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11585 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11586 no_cache=0
11587 # Check whether --enable-wizarddlg was given.
11588 if test "${enable_wizarddlg+set}" = set; then
11589 enableval=$enable_wizarddlg;
11590 if test "$enableval" = yes; then
11591 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11592 else
11593 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11594 fi
11595
11596 else
11597
11598 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11599 if test "x$LINE" != x ; then
11600 eval "DEFAULT_$LINE"
11601 else
11602 no_cache=1
11603 fi
11604
11605 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11606
11607 fi
11608
11609
11610 eval "$ac_cv_use_wizarddlg"
11611 if test "$no_cache" != 1; then
11612 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11613 fi
11614
11615 if test "$wxUSE_WIZARDDLG" = yes; then
11616 { echo "$as_me:$LINENO: result: yes" >&5
11617 echo "${ECHO_T}yes" >&6; }
11618 else
11619 { echo "$as_me:$LINENO: result: no" >&5
11620 echo "${ECHO_T}no" >&6; }
11621 fi
11622
11623
11624
11625
11626 enablestring=
11627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11628 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11629 no_cache=0
11630 # Check whether --enable-menus was given.
11631 if test "${enable_menus+set}" = set; then
11632 enableval=$enable_menus;
11633 if test "$enableval" = yes; then
11634 ac_cv_use_menus='wxUSE_MENUS=yes'
11635 else
11636 ac_cv_use_menus='wxUSE_MENUS=no'
11637 fi
11638
11639 else
11640
11641 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11642 if test "x$LINE" != x ; then
11643 eval "DEFAULT_$LINE"
11644 else
11645 no_cache=1
11646 fi
11647
11648 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11649
11650 fi
11651
11652
11653 eval "$ac_cv_use_menus"
11654 if test "$no_cache" != 1; then
11655 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11656 fi
11657
11658 if test "$wxUSE_MENUS" = yes; then
11659 { echo "$as_me:$LINENO: result: yes" >&5
11660 echo "${ECHO_T}yes" >&6; }
11661 else
11662 { echo "$as_me:$LINENO: result: no" >&5
11663 echo "${ECHO_T}no" >&6; }
11664 fi
11665
11666
11667 enablestring=
11668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11669 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11670 no_cache=0
11671 # Check whether --enable-miniframe was given.
11672 if test "${enable_miniframe+set}" = set; then
11673 enableval=$enable_miniframe;
11674 if test "$enableval" = yes; then
11675 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11676 else
11677 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11678 fi
11679
11680 else
11681
11682 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11683 if test "x$LINE" != x ; then
11684 eval "DEFAULT_$LINE"
11685 else
11686 no_cache=1
11687 fi
11688
11689 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11690
11691 fi
11692
11693
11694 eval "$ac_cv_use_miniframe"
11695 if test "$no_cache" != 1; then
11696 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11697 fi
11698
11699 if test "$wxUSE_MINIFRAME" = yes; then
11700 { echo "$as_me:$LINENO: result: yes" >&5
11701 echo "${ECHO_T}yes" >&6; }
11702 else
11703 { echo "$as_me:$LINENO: result: no" >&5
11704 echo "${ECHO_T}no" >&6; }
11705 fi
11706
11707
11708 enablestring=
11709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11710 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11711 no_cache=0
11712 # Check whether --enable-tooltips was given.
11713 if test "${enable_tooltips+set}" = set; then
11714 enableval=$enable_tooltips;
11715 if test "$enableval" = yes; then
11716 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11717 else
11718 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11719 fi
11720
11721 else
11722
11723 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11724 if test "x$LINE" != x ; then
11725 eval "DEFAULT_$LINE"
11726 else
11727 no_cache=1
11728 fi
11729
11730 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11731
11732 fi
11733
11734
11735 eval "$ac_cv_use_tooltips"
11736 if test "$no_cache" != 1; then
11737 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11738 fi
11739
11740 if test "$wxUSE_TOOLTIPS" = yes; then
11741 { echo "$as_me:$LINENO: result: yes" >&5
11742 echo "${ECHO_T}yes" >&6; }
11743 else
11744 { echo "$as_me:$LINENO: result: no" >&5
11745 echo "${ECHO_T}no" >&6; }
11746 fi
11747
11748
11749 enablestring=
11750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11751 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11752 no_cache=0
11753 # Check whether --enable-splines was given.
11754 if test "${enable_splines+set}" = set; then
11755 enableval=$enable_splines;
11756 if test "$enableval" = yes; then
11757 ac_cv_use_splines='wxUSE_SPLINES=yes'
11758 else
11759 ac_cv_use_splines='wxUSE_SPLINES=no'
11760 fi
11761
11762 else
11763
11764 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11767 else
11768 no_cache=1
11769 fi
11770
11771 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11772
11773 fi
11774
11775
11776 eval "$ac_cv_use_splines"
11777 if test "$no_cache" != 1; then
11778 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11779 fi
11780
11781 if test "$wxUSE_SPLINES" = yes; then
11782 { echo "$as_me:$LINENO: result: yes" >&5
11783 echo "${ECHO_T}yes" >&6; }
11784 else
11785 { echo "$as_me:$LINENO: result: no" >&5
11786 echo "${ECHO_T}no" >&6; }
11787 fi
11788
11789
11790 enablestring=
11791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11792 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11793 no_cache=0
11794 # Check whether --enable-mousewheel was given.
11795 if test "${enable_mousewheel+set}" = set; then
11796 enableval=$enable_mousewheel;
11797 if test "$enableval" = yes; then
11798 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11799 else
11800 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11801 fi
11802
11803 else
11804
11805 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11806 if test "x$LINE" != x ; then
11807 eval "DEFAULT_$LINE"
11808 else
11809 no_cache=1
11810 fi
11811
11812 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11813
11814 fi
11815
11816
11817 eval "$ac_cv_use_mousewheel"
11818 if test "$no_cache" != 1; then
11819 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11820 fi
11821
11822 if test "$wxUSE_MOUSEWHEEL" = yes; then
11823 { echo "$as_me:$LINENO: result: yes" >&5
11824 echo "${ECHO_T}yes" >&6; }
11825 else
11826 { echo "$as_me:$LINENO: result: no" >&5
11827 echo "${ECHO_T}no" >&6; }
11828 fi
11829
11830
11831 enablestring=
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11834 no_cache=0
11835 # Check whether --enable-validators was given.
11836 if test "${enable_validators+set}" = set; then
11837 enableval=$enable_validators;
11838 if test "$enableval" = yes; then
11839 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11840 else
11841 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11842 fi
11843
11844 else
11845
11846 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11849 else
11850 no_cache=1
11851 fi
11852
11853 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11854
11855 fi
11856
11857
11858 eval "$ac_cv_use_validators"
11859 if test "$no_cache" != 1; then
11860 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11861 fi
11862
11863 if test "$wxUSE_VALIDATORS" = yes; then
11864 { echo "$as_me:$LINENO: result: yes" >&5
11865 echo "${ECHO_T}yes" >&6; }
11866 else
11867 { echo "$as_me:$LINENO: result: no" >&5
11868 echo "${ECHO_T}no" >&6; }
11869 fi
11870
11871
11872 enablestring=
11873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11874 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11875 no_cache=0
11876 # Check whether --enable-busyinfo was given.
11877 if test "${enable_busyinfo+set}" = set; then
11878 enableval=$enable_busyinfo;
11879 if test "$enableval" = yes; then
11880 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11881 else
11882 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11883 fi
11884
11885 else
11886
11887 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11888 if test "x$LINE" != x ; then
11889 eval "DEFAULT_$LINE"
11890 else
11891 no_cache=1
11892 fi
11893
11894 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11895
11896 fi
11897
11898
11899 eval "$ac_cv_use_busyinfo"
11900 if test "$no_cache" != 1; then
11901 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11902 fi
11903
11904 if test "$wxUSE_BUSYINFO" = yes; then
11905 { echo "$as_me:$LINENO: result: yes" >&5
11906 echo "${ECHO_T}yes" >&6; }
11907 else
11908 { echo "$as_me:$LINENO: result: no" >&5
11909 echo "${ECHO_T}no" >&6; }
11910 fi
11911
11912
11913 enablestring=
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11916 no_cache=0
11917 # Check whether --enable-joystick was given.
11918 if test "${enable_joystick+set}" = set; then
11919 enableval=$enable_joystick;
11920 if test "$enableval" = yes; then
11921 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11922 else
11923 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11924 fi
11925
11926 else
11927
11928 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11931 else
11932 no_cache=1
11933 fi
11934
11935 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11936
11937 fi
11938
11939
11940 eval "$ac_cv_use_joystick"
11941 if test "$no_cache" != 1; then
11942 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11943 fi
11944
11945 if test "$wxUSE_JOYSTICK" = yes; then
11946 { echo "$as_me:$LINENO: result: yes" >&5
11947 echo "${ECHO_T}yes" >&6; }
11948 else
11949 { echo "$as_me:$LINENO: result: no" >&5
11950 echo "${ECHO_T}no" >&6; }
11951 fi
11952
11953
11954 enablestring=
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11957 no_cache=0
11958 # Check whether --enable-metafile was given.
11959 if test "${enable_metafile+set}" = set; then
11960 enableval=$enable_metafile;
11961 if test "$enableval" = yes; then
11962 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11963 else
11964 ac_cv_use_metafile='wxUSE_METAFILE=no'
11965 fi
11966
11967 else
11968
11969 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11970 if test "x$LINE" != x ; then
11971 eval "DEFAULT_$LINE"
11972 else
11973 no_cache=1
11974 fi
11975
11976 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11977
11978 fi
11979
11980
11981 eval "$ac_cv_use_metafile"
11982 if test "$no_cache" != 1; then
11983 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11984 fi
11985
11986 if test "$wxUSE_METAFILE" = yes; then
11987 { echo "$as_me:$LINENO: result: yes" >&5
11988 echo "${ECHO_T}yes" >&6; }
11989 else
11990 { echo "$as_me:$LINENO: result: no" >&5
11991 echo "${ECHO_T}no" >&6; }
11992 fi
11993
11994
11995 enablestring=
11996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11997 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11998 no_cache=0
11999 # Check whether --enable-dragimage was given.
12000 if test "${enable_dragimage+set}" = set; then
12001 enableval=$enable_dragimage;
12002 if test "$enableval" = yes; then
12003 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12004 else
12005 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12006 fi
12007
12008 else
12009
12010 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12011 if test "x$LINE" != x ; then
12012 eval "DEFAULT_$LINE"
12013 else
12014 no_cache=1
12015 fi
12016
12017 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12018
12019 fi
12020
12021
12022 eval "$ac_cv_use_dragimage"
12023 if test "$no_cache" != 1; then
12024 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12025 fi
12026
12027 if test "$wxUSE_DRAGIMAGE" = yes; then
12028 { echo "$as_me:$LINENO: result: yes" >&5
12029 echo "${ECHO_T}yes" >&6; }
12030 else
12031 { echo "$as_me:$LINENO: result: no" >&5
12032 echo "${ECHO_T}no" >&6; }
12033 fi
12034
12035
12036 enablestring=
12037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12038 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12039 no_cache=0
12040 # Check whether --enable-accessibility was given.
12041 if test "${enable_accessibility+set}" = set; then
12042 enableval=$enable_accessibility;
12043 if test "$enableval" = yes; then
12044 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12045 else
12046 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12047 fi
12048
12049 else
12050
12051 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12052 if test "x$LINE" != x ; then
12053 eval "DEFAULT_$LINE"
12054 else
12055 no_cache=1
12056 fi
12057
12058 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12059
12060 fi
12061
12062
12063 eval "$ac_cv_use_accessibility"
12064 if test "$no_cache" != 1; then
12065 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12066 fi
12067
12068 if test "$wxUSE_ACCESSIBILITY" = yes; then
12069 { echo "$as_me:$LINENO: result: yes" >&5
12070 echo "${ECHO_T}yes" >&6; }
12071 else
12072 { echo "$as_me:$LINENO: result: no" >&5
12073 echo "${ECHO_T}no" >&6; }
12074 fi
12075
12076
12077 if test "$wxUSE_MSW" = "1"; then
12078
12079 enablestring=
12080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12081 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12082 no_cache=0
12083 # Check whether --enable-dccache was given.
12084 if test "${enable_dccache+set}" = set; then
12085 enableval=$enable_dccache;
12086 if test "$enableval" = yes; then
12087 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12088 else
12089 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12090 fi
12091
12092 else
12093
12094 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12095 if test "x$LINE" != x ; then
12096 eval "DEFAULT_$LINE"
12097 else
12098 no_cache=1
12099 fi
12100
12101 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12102
12103 fi
12104
12105
12106 eval "$ac_cv_use_dccache"
12107 if test "$no_cache" != 1; then
12108 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12109 fi
12110
12111 if test "$wxUSE_DC_CACHEING" = yes; then
12112 { echo "$as_me:$LINENO: result: yes" >&5
12113 echo "${ECHO_T}yes" >&6; }
12114 else
12115 { echo "$as_me:$LINENO: result: no" >&5
12116 echo "${ECHO_T}no" >&6; }
12117 fi
12118
12119 fi
12120
12121
12122
12123 enablestring=
12124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12125 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12126 no_cache=0
12127 # Check whether --enable-palette was given.
12128 if test "${enable_palette+set}" = set; then
12129 enableval=$enable_palette;
12130 if test "$enableval" = yes; then
12131 ac_cv_use_palette='wxUSE_PALETTE=yes'
12132 else
12133 ac_cv_use_palette='wxUSE_PALETTE=no'
12134 fi
12135
12136 else
12137
12138 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12139 if test "x$LINE" != x ; then
12140 eval "DEFAULT_$LINE"
12141 else
12142 no_cache=1
12143 fi
12144
12145 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12146
12147 fi
12148
12149
12150 eval "$ac_cv_use_palette"
12151 if test "$no_cache" != 1; then
12152 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12153 fi
12154
12155 if test "$wxUSE_PALETTE" = yes; then
12156 { echo "$as_me:$LINENO: result: yes" >&5
12157 echo "${ECHO_T}yes" >&6; }
12158 else
12159 { echo "$as_me:$LINENO: result: no" >&5
12160 echo "${ECHO_T}no" >&6; }
12161 fi
12162
12163
12164 enablestring=
12165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12166 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12167 no_cache=0
12168 # Check whether --enable-image was given.
12169 if test "${enable_image+set}" = set; then
12170 enableval=$enable_image;
12171 if test "$enableval" = yes; then
12172 ac_cv_use_image='wxUSE_IMAGE=yes'
12173 else
12174 ac_cv_use_image='wxUSE_IMAGE=no'
12175 fi
12176
12177 else
12178
12179 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12180 if test "x$LINE" != x ; then
12181 eval "DEFAULT_$LINE"
12182 else
12183 no_cache=1
12184 fi
12185
12186 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12187
12188 fi
12189
12190
12191 eval "$ac_cv_use_image"
12192 if test "$no_cache" != 1; then
12193 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12194 fi
12195
12196 if test "$wxUSE_IMAGE" = yes; then
12197 { echo "$as_me:$LINENO: result: yes" >&5
12198 echo "${ECHO_T}yes" >&6; }
12199 else
12200 { echo "$as_me:$LINENO: result: no" >&5
12201 echo "${ECHO_T}no" >&6; }
12202 fi
12203
12204
12205 enablestring=
12206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12207 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12208 no_cache=0
12209 # Check whether --enable-gif was given.
12210 if test "${enable_gif+set}" = set; then
12211 enableval=$enable_gif;
12212 if test "$enableval" = yes; then
12213 ac_cv_use_gif='wxUSE_GIF=yes'
12214 else
12215 ac_cv_use_gif='wxUSE_GIF=no'
12216 fi
12217
12218 else
12219
12220 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12221 if test "x$LINE" != x ; then
12222 eval "DEFAULT_$LINE"
12223 else
12224 no_cache=1
12225 fi
12226
12227 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12228
12229 fi
12230
12231
12232 eval "$ac_cv_use_gif"
12233 if test "$no_cache" != 1; then
12234 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12235 fi
12236
12237 if test "$wxUSE_GIF" = yes; then
12238 { echo "$as_me:$LINENO: result: yes" >&5
12239 echo "${ECHO_T}yes" >&6; }
12240 else
12241 { echo "$as_me:$LINENO: result: no" >&5
12242 echo "${ECHO_T}no" >&6; }
12243 fi
12244
12245
12246 enablestring=
12247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12248 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12249 no_cache=0
12250 # Check whether --enable-pcx was given.
12251 if test "${enable_pcx+set}" = set; then
12252 enableval=$enable_pcx;
12253 if test "$enableval" = yes; then
12254 ac_cv_use_pcx='wxUSE_PCX=yes'
12255 else
12256 ac_cv_use_pcx='wxUSE_PCX=no'
12257 fi
12258
12259 else
12260
12261 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12262 if test "x$LINE" != x ; then
12263 eval "DEFAULT_$LINE"
12264 else
12265 no_cache=1
12266 fi
12267
12268 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12269
12270 fi
12271
12272
12273 eval "$ac_cv_use_pcx"
12274 if test "$no_cache" != 1; then
12275 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12276 fi
12277
12278 if test "$wxUSE_PCX" = yes; then
12279 { echo "$as_me:$LINENO: result: yes" >&5
12280 echo "${ECHO_T}yes" >&6; }
12281 else
12282 { echo "$as_me:$LINENO: result: no" >&5
12283 echo "${ECHO_T}no" >&6; }
12284 fi
12285
12286
12287 enablestring=
12288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12289 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12290 no_cache=0
12291 # Check whether --enable-tga was given.
12292 if test "${enable_tga+set}" = set; then
12293 enableval=$enable_tga;
12294 if test "$enableval" = yes; then
12295 ac_cv_use_tga='wxUSE_TGA=yes'
12296 else
12297 ac_cv_use_tga='wxUSE_TGA=no'
12298 fi
12299
12300 else
12301
12302 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12303 if test "x$LINE" != x ; then
12304 eval "DEFAULT_$LINE"
12305 else
12306 no_cache=1
12307 fi
12308
12309 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12310
12311 fi
12312
12313
12314 eval "$ac_cv_use_tga"
12315 if test "$no_cache" != 1; then
12316 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12317 fi
12318
12319 if test "$wxUSE_TGA" = yes; then
12320 { echo "$as_me:$LINENO: result: yes" >&5
12321 echo "${ECHO_T}yes" >&6; }
12322 else
12323 { echo "$as_me:$LINENO: result: no" >&5
12324 echo "${ECHO_T}no" >&6; }
12325 fi
12326
12327
12328 enablestring=
12329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12330 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12331 no_cache=0
12332 # Check whether --enable-iff was given.
12333 if test "${enable_iff+set}" = set; then
12334 enableval=$enable_iff;
12335 if test "$enableval" = yes; then
12336 ac_cv_use_iff='wxUSE_IFF=yes'
12337 else
12338 ac_cv_use_iff='wxUSE_IFF=no'
12339 fi
12340
12341 else
12342
12343 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12344 if test "x$LINE" != x ; then
12345 eval "DEFAULT_$LINE"
12346 else
12347 no_cache=1
12348 fi
12349
12350 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12351
12352 fi
12353
12354
12355 eval "$ac_cv_use_iff"
12356 if test "$no_cache" != 1; then
12357 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12358 fi
12359
12360 if test "$wxUSE_IFF" = yes; then
12361 { echo "$as_me:$LINENO: result: yes" >&5
12362 echo "${ECHO_T}yes" >&6; }
12363 else
12364 { echo "$as_me:$LINENO: result: no" >&5
12365 echo "${ECHO_T}no" >&6; }
12366 fi
12367
12368
12369 enablestring=
12370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12371 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12372 no_cache=0
12373 # Check whether --enable-pnm was given.
12374 if test "${enable_pnm+set}" = set; then
12375 enableval=$enable_pnm;
12376 if test "$enableval" = yes; then
12377 ac_cv_use_pnm='wxUSE_PNM=yes'
12378 else
12379 ac_cv_use_pnm='wxUSE_PNM=no'
12380 fi
12381
12382 else
12383
12384 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12385 if test "x$LINE" != x ; then
12386 eval "DEFAULT_$LINE"
12387 else
12388 no_cache=1
12389 fi
12390
12391 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12392
12393 fi
12394
12395
12396 eval "$ac_cv_use_pnm"
12397 if test "$no_cache" != 1; then
12398 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12399 fi
12400
12401 if test "$wxUSE_PNM" = yes; then
12402 { echo "$as_me:$LINENO: result: yes" >&5
12403 echo "${ECHO_T}yes" >&6; }
12404 else
12405 { echo "$as_me:$LINENO: result: no" >&5
12406 echo "${ECHO_T}no" >&6; }
12407 fi
12408
12409
12410 enablestring=
12411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12412 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12413 no_cache=0
12414 # Check whether --enable-xpm was given.
12415 if test "${enable_xpm+set}" = set; then
12416 enableval=$enable_xpm;
12417 if test "$enableval" = yes; then
12418 ac_cv_use_xpm='wxUSE_XPM=yes'
12419 else
12420 ac_cv_use_xpm='wxUSE_XPM=no'
12421 fi
12422
12423 else
12424
12425 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12426 if test "x$LINE" != x ; then
12427 eval "DEFAULT_$LINE"
12428 else
12429 no_cache=1
12430 fi
12431
12432 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12433
12434 fi
12435
12436
12437 eval "$ac_cv_use_xpm"
12438 if test "$no_cache" != 1; then
12439 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12440 fi
12441
12442 if test "$wxUSE_XPM" = yes; then
12443 { echo "$as_me:$LINENO: result: yes" >&5
12444 echo "${ECHO_T}yes" >&6; }
12445 else
12446 { echo "$as_me:$LINENO: result: no" >&5
12447 echo "${ECHO_T}no" >&6; }
12448 fi
12449
12450
12451 enablestring=
12452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12453 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12454 no_cache=0
12455 # Check whether --enable-ico_cur was given.
12456 if test "${enable_ico_cur+set}" = set; then
12457 enableval=$enable_ico_cur;
12458 if test "$enableval" = yes; then
12459 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12460 else
12461 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12462 fi
12463
12464 else
12465
12466 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x ; then
12468 eval "DEFAULT_$LINE"
12469 else
12470 no_cache=1
12471 fi
12472
12473 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12474
12475 fi
12476
12477
12478 eval "$ac_cv_use_ico_cur"
12479 if test "$no_cache" != 1; then
12480 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12481 fi
12482
12483 if test "$wxUSE_ICO_CUR" = yes; then
12484 { echo "$as_me:$LINENO: result: yes" >&5
12485 echo "${ECHO_T}yes" >&6; }
12486 else
12487 { echo "$as_me:$LINENO: result: no" >&5
12488 echo "${ECHO_T}no" >&6; }
12489 fi
12490
12491
12492 fi
12493
12494
12495
12496 # Check whether --with-flavour was given.
12497 if test "${with_flavour+set}" = set; then
12498 withval=$with_flavour; WX_FLAVOUR="$withval"
12499 fi
12500
12501
12502
12503
12504 enablestring=
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12507 no_cache=0
12508 # Check whether --enable-official_build was given.
12509 if test "${enable_official_build+set}" = set; then
12510 enableval=$enable_official_build;
12511 if test "$enableval" = yes; then
12512 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12513 else
12514 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12515 fi
12516
12517 else
12518
12519 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12520 if test "x$LINE" != x ; then
12521 eval "DEFAULT_$LINE"
12522 else
12523 no_cache=1
12524 fi
12525
12526 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12527
12528 fi
12529
12530
12531 eval "$ac_cv_use_official_build"
12532 if test "$no_cache" != 1; then
12533 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12534 fi
12535
12536 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12537 { echo "$as_me:$LINENO: result: yes" >&5
12538 echo "${ECHO_T}yes" >&6; }
12539 else
12540 { echo "$as_me:$LINENO: result: no" >&5
12541 echo "${ECHO_T}no" >&6; }
12542 fi
12543
12544 # Check whether --enable-vendor was given.
12545 if test "${enable_vendor+set}" = set; then
12546 enableval=$enable_vendor; VENDOR="$enableval"
12547 fi
12548
12549 if test "x$VENDOR" = "x"; then
12550 VENDOR="custom"
12551 fi
12552
12553
12554
12555
12556 echo "saving argument cache $wx_arg_cache_file"
12557 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12558
12559
12560
12561 { echo "$as_me:$LINENO: checking for toolkit" >&5
12562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12563
12564 # In Wine, we need to default to MSW, not GTK or MOTIF
12565 if test "$wxUSE_WINE" = "yes"; then
12566 DEFAULT_DEFAULT_wxUSE_GTK=0
12567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12568 DEFAULT_DEFAULT_wxUSE_MSW=1
12569 wxUSE_SHARED=no
12570 CC=${CC:-winegcc}
12571 CXX=${CXX:-wineg++}
12572 fi
12573
12574
12575 if test "$wxUSE_GUI" = "yes"; then
12576
12577 if test "$USE_BEOS" = 1; then
12578 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12579 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12580 { (exit 1); exit 1; }; }
12581 fi
12582
12583 if test "$TOOLKIT_GIVEN" = 1; then
12584 for toolkit in `echo $ALL_TOOLKITS`; do
12585 var=wxUSE_$toolkit
12586 eval "value=\$${var}"
12587 if test "x$value" = "xno"; then
12588 eval "$var=0"
12589 elif test "x$value" != "x"; then
12590 eval "$var=1"
12591 fi
12592
12593 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12594 eval "wx${toolkit}_VERSION=$value"
12595 fi
12596 done
12597 else
12598 for toolkit in `echo $ALL_TOOLKITS`; do
12599 if test "$has_toolkit_in_cache" != 1; then
12600 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12601 else
12602 var=DEFAULT_wxUSE_$toolkit
12603
12604 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12605 if test "x$version" != "x"; then
12606 eval "wx${toolkit}_VERSION=$version"
12607 fi
12608 fi
12609 eval "wxUSE_$toolkit=\$${var}"
12610 done
12611 fi
12612
12613 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12614 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12615 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12616
12617 case "${host}" in
12618 *-pc-os2_emx | *-pc-os2-emx )
12619 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12620 esac
12621
12622 case "$NUM_TOOLKITS" in
12623 1)
12624 ;;
12625 0)
12626 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12627 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12628 { (exit 1); exit 1; }; }
12629 ;;
12630 *)
12631 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12632 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12633 { (exit 1); exit 1; }; }
12634 esac
12635
12636 # to be removed when --disable-gtk2 isn't needed
12637 if test "x$wxUSE_GTK2" = "xyes"; then
12638 wxGTK_VERSION=2
12639 elif test "x$wxUSE_GTK2" = "xno"; then
12640 wxGTK_VERSION=1
12641 fi
12642
12643 for toolkit in `echo $ALL_TOOLKITS`; do
12644 var=wxUSE_$toolkit
12645 eval "value=\$${var}"
12646 if test "x$value" != x; then
12647 cache_var=CACHE_$toolkit
12648 eval "cache=\$${cache_var}"
12649 if test "$cache" = 1; then
12650 echo "$var=$value" >> ${wx_arg_cache_file}
12651 eval "version=\$wx${toolkit}_VERSION"
12652 if test "x$version" != "x"; then
12653 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12654 fi
12655 fi
12656 if test "$value" = 1; then
12657 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12658 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12659 echo "${ECHO_T}$toolkit_echo" >&6; }
12660 fi
12661 fi
12662 done
12663 else
12664 if test "x$host_alias" != "x"; then
12665 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12666 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12667 else
12668 { echo "$as_me:$LINENO: result: base only" >&5
12669 echo "${ECHO_T}base only" >&6; }
12670 fi
12671 fi
12672
12673
12674 cat >confcache <<\_ACEOF
12675 # This file is a shell script that caches the results of configure
12676 # tests run on this system so they can be shared between configure
12677 # scripts and configure runs, see configure's option --config-cache.
12678 # It is not useful on other systems. If it contains results you don't
12679 # want to keep, you may remove or edit it.
12680 #
12681 # config.status only pays attention to the cache file if you give it
12682 # the --recheck option to rerun configure.
12683 #
12684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12686 # following values.
12687
12688 _ACEOF
12689
12690 # The following way of writing the cache mishandles newlines in values,
12691 # but we know of no workaround that is simple, portable, and efficient.
12692 # So, we kill variables containing newlines.
12693 # Ultrix sh set writes to stderr and can't be redirected directly,
12694 # and sets the high bit in the cache file unless we assign to the vars.
12695 (
12696 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12697 eval ac_val=\$$ac_var
12698 case $ac_val in #(
12699 *${as_nl}*)
12700 case $ac_var in #(
12701 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12702 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12703 esac
12704 case $ac_var in #(
12705 _ | IFS | as_nl) ;; #(
12706 *) $as_unset $ac_var ;;
12707 esac ;;
12708 esac
12709 done
12710
12711 (set) 2>&1 |
12712 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12713 *${as_nl}ac_space=\ *)
12714 # `set' does not quote correctly, so add quotes (double-quote
12715 # substitution turns \\\\ into \\, and sed turns \\ into \).
12716 sed -n \
12717 "s/'/'\\\\''/g;
12718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12719 ;; #(
12720 *)
12721 # `set' quotes correctly as required by POSIX, so do not add quotes.
12722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12723 ;;
12724 esac |
12725 sort
12726 ) |
12727 sed '
12728 /^ac_cv_env_/b end
12729 t clear
12730 :clear
12731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12732 t end
12733 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12734 :end' >>confcache
12735 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12736 if test -w "$cache_file"; then
12737 test "x$cache_file" != "x/dev/null" &&
12738 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12739 echo "$as_me: updating cache $cache_file" >&6;}
12740 cat confcache >$cache_file
12741 else
12742 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12743 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12744 fi
12745 fi
12746 rm -f confcache
12747
12748 CFLAGS=${CFLAGS:=}
12749
12750
12751
12752 ac_ext=c
12753 ac_cpp='$CPP $CPPFLAGS'
12754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12757 if test -n "$ac_tool_prefix"; then
12758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12759 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12762 if test "${ac_cv_prog_CC+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 if test -n "$CC"; then
12766 ac_cv_prog_CC="$CC" # Let the user override the test.
12767 else
12768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12769 for as_dir in $PATH
12770 do
12771 IFS=$as_save_IFS
12772 test -z "$as_dir" && as_dir=.
12773 for ac_exec_ext in '' $ac_executable_extensions; do
12774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12775 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12777 break 2
12778 fi
12779 done
12780 done
12781 IFS=$as_save_IFS
12782
12783 fi
12784 fi
12785 CC=$ac_cv_prog_CC
12786 if test -n "$CC"; then
12787 { echo "$as_me:$LINENO: result: $CC" >&5
12788 echo "${ECHO_T}$CC" >&6; }
12789 else
12790 { echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6; }
12792 fi
12793
12794
12795 fi
12796 if test -z "$ac_cv_prog_CC"; then
12797 ac_ct_CC=$CC
12798 # Extract the first word of "gcc", so it can be a program name with args.
12799 set dummy gcc; ac_word=$2
12800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 else
12805 if test -n "$ac_ct_CC"; then
12806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12807 else
12808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12809 for as_dir in $PATH
12810 do
12811 IFS=$as_save_IFS
12812 test -z "$as_dir" && as_dir=.
12813 for ac_exec_ext in '' $ac_executable_extensions; do
12814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12815 ac_cv_prog_ac_ct_CC="gcc"
12816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12817 break 2
12818 fi
12819 done
12820 done
12821 IFS=$as_save_IFS
12822
12823 fi
12824 fi
12825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12826 if test -n "$ac_ct_CC"; then
12827 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12828 echo "${ECHO_T}$ac_ct_CC" >&6; }
12829 else
12830 { echo "$as_me:$LINENO: result: no" >&5
12831 echo "${ECHO_T}no" >&6; }
12832 fi
12833
12834 if test "x$ac_ct_CC" = x; then
12835 CC=""
12836 else
12837 case $cross_compiling:$ac_tool_warned in
12838 yes:)
12839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12840 whose name does not start with the host triplet. If you think this
12841 configuration is useful to you, please write to autoconf@gnu.org." >&5
12842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12843 whose name does not start with the host triplet. If you think this
12844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12845 ac_tool_warned=yes ;;
12846 esac
12847 CC=$ac_ct_CC
12848 fi
12849 else
12850 CC="$ac_cv_prog_CC"
12851 fi
12852
12853 if test -z "$CC"; then
12854 if test -n "$ac_tool_prefix"; then
12855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12856 set dummy ${ac_tool_prefix}cc; ac_word=$2
12857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12859 if test "${ac_cv_prog_CC+set}" = set; then
12860 echo $ECHO_N "(cached) $ECHO_C" >&6
12861 else
12862 if test -n "$CC"; then
12863 ac_cv_prog_CC="$CC" # Let the user override the test.
12864 else
12865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12866 for as_dir in $PATH
12867 do
12868 IFS=$as_save_IFS
12869 test -z "$as_dir" && as_dir=.
12870 for ac_exec_ext in '' $ac_executable_extensions; do
12871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12872 ac_cv_prog_CC="${ac_tool_prefix}cc"
12873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 break 2
12875 fi
12876 done
12877 done
12878 IFS=$as_save_IFS
12879
12880 fi
12881 fi
12882 CC=$ac_cv_prog_CC
12883 if test -n "$CC"; then
12884 { echo "$as_me:$LINENO: result: $CC" >&5
12885 echo "${ECHO_T}$CC" >&6; }
12886 else
12887 { echo "$as_me:$LINENO: result: no" >&5
12888 echo "${ECHO_T}no" >&6; }
12889 fi
12890
12891
12892 fi
12893 fi
12894 if test -z "$CC"; then
12895 # Extract the first word of "cc", so it can be a program name with args.
12896 set dummy cc; ac_word=$2
12897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12899 if test "${ac_cv_prog_CC+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 else
12902 if test -n "$CC"; then
12903 ac_cv_prog_CC="$CC" # Let the user override the test.
12904 else
12905 ac_prog_rejected=no
12906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12907 for as_dir in $PATH
12908 do
12909 IFS=$as_save_IFS
12910 test -z "$as_dir" && as_dir=.
12911 for ac_exec_ext in '' $ac_executable_extensions; do
12912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12914 ac_prog_rejected=yes
12915 continue
12916 fi
12917 ac_cv_prog_CC="cc"
12918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12919 break 2
12920 fi
12921 done
12922 done
12923 IFS=$as_save_IFS
12924
12925 if test $ac_prog_rejected = yes; then
12926 # We found a bogon in the path, so make sure we never use it.
12927 set dummy $ac_cv_prog_CC
12928 shift
12929 if test $# != 0; then
12930 # We chose a different compiler from the bogus one.
12931 # However, it has the same basename, so the bogon will be chosen
12932 # first if we set CC to just the basename; use the full file name.
12933 shift
12934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12935 fi
12936 fi
12937 fi
12938 fi
12939 CC=$ac_cv_prog_CC
12940 if test -n "$CC"; then
12941 { echo "$as_me:$LINENO: result: $CC" >&5
12942 echo "${ECHO_T}$CC" >&6; }
12943 else
12944 { echo "$as_me:$LINENO: result: no" >&5
12945 echo "${ECHO_T}no" >&6; }
12946 fi
12947
12948
12949 fi
12950 if test -z "$CC"; then
12951 if test -n "$ac_tool_prefix"; then
12952 for ac_prog in cl.exe
12953 do
12954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12958 if test "${ac_cv_prog_CC+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 else
12961 if test -n "$CC"; then
12962 ac_cv_prog_CC="$CC" # Let the user override the test.
12963 else
12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12965 for as_dir in $PATH
12966 do
12967 IFS=$as_save_IFS
12968 test -z "$as_dir" && as_dir=.
12969 for ac_exec_ext in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 break 2
12974 fi
12975 done
12976 done
12977 IFS=$as_save_IFS
12978
12979 fi
12980 fi
12981 CC=$ac_cv_prog_CC
12982 if test -n "$CC"; then
12983 { echo "$as_me:$LINENO: result: $CC" >&5
12984 echo "${ECHO_T}$CC" >&6; }
12985 else
12986 { echo "$as_me:$LINENO: result: no" >&5
12987 echo "${ECHO_T}no" >&6; }
12988 fi
12989
12990
12991 test -n "$CC" && break
12992 done
12993 fi
12994 if test -z "$CC"; then
12995 ac_ct_CC=$CC
12996 for ac_prog in cl.exe
12997 do
12998 # Extract the first word of "$ac_prog", so it can be a program name with args.
12999 set dummy $ac_prog; ac_word=$2
13000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005 if test -n "$ac_ct_CC"; then
13006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13007 else
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13010 do
13011 IFS=$as_save_IFS
13012 test -z "$as_dir" && as_dir=.
13013 for ac_exec_ext in '' $ac_executable_extensions; do
13014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13015 ac_cv_prog_ac_ct_CC="$ac_prog"
13016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 break 2
13018 fi
13019 done
13020 done
13021 IFS=$as_save_IFS
13022
13023 fi
13024 fi
13025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13026 if test -n "$ac_ct_CC"; then
13027 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13028 echo "${ECHO_T}$ac_ct_CC" >&6; }
13029 else
13030 { echo "$as_me:$LINENO: result: no" >&5
13031 echo "${ECHO_T}no" >&6; }
13032 fi
13033
13034
13035 test -n "$ac_ct_CC" && break
13036 done
13037
13038 if test "x$ac_ct_CC" = x; then
13039 CC=""
13040 else
13041 case $cross_compiling:$ac_tool_warned in
13042 yes:)
13043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13044 whose name does not start with the host triplet. If you think this
13045 configuration is useful to you, please write to autoconf@gnu.org." >&5
13046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13047 whose name does not start with the host triplet. If you think this
13048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13049 ac_tool_warned=yes ;;
13050 esac
13051 CC=$ac_ct_CC
13052 fi
13053 fi
13054
13055 fi
13056
13057
13058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13059 See \`config.log' for more details." >&5
13060 echo "$as_me: error: no acceptable C compiler found in \$PATH
13061 See \`config.log' for more details." >&2;}
13062 { (exit 1); exit 1; }; }
13063
13064 # Provide some information about the compiler.
13065 echo "$as_me:$LINENO: checking for C compiler version" >&5
13066 ac_compiler=`set X $ac_compile; echo $2`
13067 { (ac_try="$ac_compiler --version >&5"
13068 case "(($ac_try" in
13069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13070 *) ac_try_echo=$ac_try;;
13071 esac
13072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13073 (eval "$ac_compiler --version >&5") 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }
13077 { (ac_try="$ac_compiler -v >&5"
13078 case "(($ac_try" in
13079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13080 *) ac_try_echo=$ac_try;;
13081 esac
13082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13083 (eval "$ac_compiler -v >&5") 2>&5
13084 ac_status=$?
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }
13087 { (ac_try="$ac_compiler -V >&5"
13088 case "(($ac_try" in
13089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13090 *) ac_try_echo=$ac_try;;
13091 esac
13092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13093 (eval "$ac_compiler -V >&5") 2>&5
13094 ac_status=$?
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }
13097
13098 cat >conftest.$ac_ext <<_ACEOF
13099 /* confdefs.h. */
13100 _ACEOF
13101 cat confdefs.h >>conftest.$ac_ext
13102 cat >>conftest.$ac_ext <<_ACEOF
13103 /* end confdefs.h. */
13104
13105 int
13106 main ()
13107 {
13108
13109 ;
13110 return 0;
13111 }
13112 _ACEOF
13113 ac_clean_files_save=$ac_clean_files
13114 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13115 # Try to create an executable without -o first, disregard a.out.
13116 # It will help us diagnose broken compilers, and finding out an intuition
13117 # of exeext.
13118 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13119 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13120 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13121 #
13122 # List of possible output files, starting from the most likely.
13123 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13124 # only as a last resort. b.out is created by i960 compilers.
13125 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13126 #
13127 # The IRIX 6 linker writes into existing files which may not be
13128 # executable, retaining their permissions. Remove them first so a
13129 # subsequent execution test works.
13130 ac_rmfiles=
13131 for ac_file in $ac_files
13132 do
13133 case $ac_file in
13134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13136 esac
13137 done
13138 rm -f $ac_rmfiles
13139
13140 if { (ac_try="$ac_link_default"
13141 case "(($ac_try" in
13142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13143 *) ac_try_echo=$ac_try;;
13144 esac
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_link_default") 2>&5
13147 ac_status=$?
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; then
13150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13153 # so that the user can short-circuit this test for compilers unknown to
13154 # Autoconf.
13155 for ac_file in $ac_files ''
13156 do
13157 test -f "$ac_file" || continue
13158 case $ac_file in
13159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13160 ;;
13161 [ab].out )
13162 # We found the default executable, but exeext='' is most
13163 # certainly right.
13164 break;;
13165 *.* )
13166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13167 then :; else
13168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13169 fi
13170 # We set ac_cv_exeext here because the later test for it is not
13171 # safe: cross compilers may not add the suffix if given an `-o'
13172 # argument, so we may need to know it at that point already.
13173 # Even if this section looks crufty: it has the advantage of
13174 # actually working.
13175 break;;
13176 * )
13177 break;;
13178 esac
13179 done
13180 test "$ac_cv_exeext" = no && ac_cv_exeext=
13181
13182 else
13183 ac_file=''
13184 fi
13185
13186 { echo "$as_me:$LINENO: result: $ac_file" >&5
13187 echo "${ECHO_T}$ac_file" >&6; }
13188 if test -z "$ac_file"; then
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13191
13192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13193 See \`config.log' for more details." >&5
13194 echo "$as_me: error: C compiler cannot create executables
13195 See \`config.log' for more details." >&2;}
13196 { (exit 77); exit 77; }; }
13197 fi
13198
13199 ac_exeext=$ac_cv_exeext
13200
13201 # Check that the compiler produces executables we can run. If not, either
13202 # the compiler is broken, or we cross compile.
13203 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13204 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13206 # If not cross compiling, check that we can run a simple program.
13207 if test "$cross_compiling" != yes; then
13208 if { ac_try='./$ac_file'
13209 { (case "(($ac_try" in
13210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13211 *) ac_try_echo=$ac_try;;
13212 esac
13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13214 (eval "$ac_try") 2>&5
13215 ac_status=$?
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then
13218 cross_compiling=no
13219 else
13220 if test "$cross_compiling" = maybe; then
13221 cross_compiling=yes
13222 else
13223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13224 If you meant to cross compile, use \`--host'.
13225 See \`config.log' for more details." >&5
13226 echo "$as_me: error: cannot run C compiled programs.
13227 If you meant to cross compile, use \`--host'.
13228 See \`config.log' for more details." >&2;}
13229 { (exit 1); exit 1; }; }
13230 fi
13231 fi
13232 fi
13233 { echo "$as_me:$LINENO: result: yes" >&5
13234 echo "${ECHO_T}yes" >&6; }
13235
13236 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13237 ac_clean_files=$ac_clean_files_save
13238 # Check that the compiler produces executables we can run. If not, either
13239 # the compiler is broken, or we cross compile.
13240 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13242 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13243 echo "${ECHO_T}$cross_compiling" >&6; }
13244
13245 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13247 if { (ac_try="$ac_link"
13248 case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13251 esac
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_link") 2>&5
13254 ac_status=$?
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; then
13257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13259 # work properly (i.e., refer to `conftest.exe'), while it won't with
13260 # `rm'.
13261 for ac_file in conftest.exe conftest conftest.*; do
13262 test -f "$ac_file" || continue
13263 case $ac_file in
13264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13266 break;;
13267 * ) break;;
13268 esac
13269 done
13270 else
13271 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13272 See \`config.log' for more details." >&5
13273 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13274 See \`config.log' for more details." >&2;}
13275 { (exit 1); exit 1; }; }
13276 fi
13277
13278 rm -f conftest$ac_cv_exeext
13279 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13280 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13281
13282 rm -f conftest.$ac_ext
13283 EXEEXT=$ac_cv_exeext
13284 ac_exeext=$EXEEXT
13285 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13286 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13287 if test "${ac_cv_objext+set}" = set; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 else
13290 cat >conftest.$ac_ext <<_ACEOF
13291 /* confdefs.h. */
13292 _ACEOF
13293 cat confdefs.h >>conftest.$ac_ext
13294 cat >>conftest.$ac_ext <<_ACEOF
13295 /* end confdefs.h. */
13296
13297 int
13298 main ()
13299 {
13300
13301 ;
13302 return 0;
13303 }
13304 _ACEOF
13305 rm -f conftest.o conftest.obj
13306 if { (ac_try="$ac_compile"
13307 case "(($ac_try" in
13308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13309 *) ac_try_echo=$ac_try;;
13310 esac
13311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13312 (eval "$ac_compile") 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; then
13316 for ac_file in conftest.o conftest.obj conftest.*; do
13317 test -f "$ac_file" || continue;
13318 case $ac_file in
13319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13320 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13321 break;;
13322 esac
13323 done
13324 else
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13327
13328 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13329 See \`config.log' for more details." >&5
13330 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13331 See \`config.log' for more details." >&2;}
13332 { (exit 1); exit 1; }; }
13333 fi
13334
13335 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13336 fi
13337 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13338 echo "${ECHO_T}$ac_cv_objext" >&6; }
13339 OBJEXT=$ac_cv_objext
13340 ac_objext=$OBJEXT
13341 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13342 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13343 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 else
13346 cat >conftest.$ac_ext <<_ACEOF
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352
13353 int
13354 main ()
13355 {
13356 #ifndef __GNUC__
13357 choke me
13358 #endif
13359
13360 ;
13361 return 0;
13362 }
13363 _ACEOF
13364 rm -f conftest.$ac_objext
13365 if { (ac_try="$ac_compile"
13366 case "(($ac_try" in
13367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13368 *) ac_try_echo=$ac_try;;
13369 esac
13370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13371 (eval "$ac_compile") 2>conftest.er1
13372 ac_status=$?
13373 grep -v '^ *+' conftest.er1 >conftest.err
13374 rm -f conftest.er1
13375 cat conftest.err >&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } && {
13378 test -z "$ac_c_werror_flag" ||
13379 test ! -s conftest.err
13380 } && test -s conftest.$ac_objext; then
13381 ac_compiler_gnu=yes
13382 else
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5
13385
13386 ac_compiler_gnu=no
13387 fi
13388
13389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13391
13392 fi
13393 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13394 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13395 GCC=`test $ac_compiler_gnu = yes && echo yes`
13396 ac_test_CFLAGS=${CFLAGS+set}
13397 ac_save_CFLAGS=$CFLAGS
13398 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13399 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13400 if test "${ac_cv_prog_cc_g+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13402 else
13403 ac_save_c_werror_flag=$ac_c_werror_flag
13404 ac_c_werror_flag=yes
13405 ac_cv_prog_cc_g=no
13406 CFLAGS="-g"
13407 cat >conftest.$ac_ext <<_ACEOF
13408 /* confdefs.h. */
13409 _ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13413
13414 int
13415 main ()
13416 {
13417
13418 ;
13419 return 0;
13420 }
13421 _ACEOF
13422 rm -f conftest.$ac_objext
13423 if { (ac_try="$ac_compile"
13424 case "(($ac_try" in
13425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13426 *) ac_try_echo=$ac_try;;
13427 esac
13428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13429 (eval "$ac_compile") 2>conftest.er1
13430 ac_status=$?
13431 grep -v '^ *+' conftest.er1 >conftest.err
13432 rm -f conftest.er1
13433 cat conftest.err >&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } && {
13436 test -z "$ac_c_werror_flag" ||
13437 test ! -s conftest.err
13438 } && test -s conftest.$ac_objext; then
13439 ac_cv_prog_cc_g=yes
13440 else
13441 echo "$as_me: failed program was:" >&5
13442 sed 's/^/| /' conftest.$ac_ext >&5
13443
13444 CFLAGS=""
13445 cat >conftest.$ac_ext <<_ACEOF
13446 /* confdefs.h. */
13447 _ACEOF
13448 cat confdefs.h >>conftest.$ac_ext
13449 cat >>conftest.$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13451
13452 int
13453 main ()
13454 {
13455
13456 ;
13457 return 0;
13458 }
13459 _ACEOF
13460 rm -f conftest.$ac_objext
13461 if { (ac_try="$ac_compile"
13462 case "(($ac_try" in
13463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13464 *) ac_try_echo=$ac_try;;
13465 esac
13466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13467 (eval "$ac_compile") 2>conftest.er1
13468 ac_status=$?
13469 grep -v '^ *+' conftest.er1 >conftest.err
13470 rm -f conftest.er1
13471 cat conftest.err >&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); } && {
13474 test -z "$ac_c_werror_flag" ||
13475 test ! -s conftest.err
13476 } && test -s conftest.$ac_objext; then
13477 :
13478 else
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13481
13482 ac_c_werror_flag=$ac_save_c_werror_flag
13483 CFLAGS="-g"
13484 cat >conftest.$ac_ext <<_ACEOF
13485 /* confdefs.h. */
13486 _ACEOF
13487 cat confdefs.h >>conftest.$ac_ext
13488 cat >>conftest.$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13490
13491 int
13492 main ()
13493 {
13494
13495 ;
13496 return 0;
13497 }
13498 _ACEOF
13499 rm -f conftest.$ac_objext
13500 if { (ac_try="$ac_compile"
13501 case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13504 esac
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_compile") 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } && {
13513 test -z "$ac_c_werror_flag" ||
13514 test ! -s conftest.err
13515 } && test -s conftest.$ac_objext; then
13516 ac_cv_prog_cc_g=yes
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13520
13521
13522 fi
13523
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 fi
13526
13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13528 fi
13529
13530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13531 ac_c_werror_flag=$ac_save_c_werror_flag
13532 fi
13533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13534 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13535 if test "$ac_test_CFLAGS" = set; then
13536 CFLAGS=$ac_save_CFLAGS
13537 elif test $ac_cv_prog_cc_g = yes; then
13538 if test "$GCC" = yes; then
13539 CFLAGS="-g -O2"
13540 else
13541 CFLAGS="-g"
13542 fi
13543 else
13544 if test "$GCC" = yes; then
13545 CFLAGS="-O2"
13546 else
13547 CFLAGS=
13548 fi
13549 fi
13550 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13551 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13552 if test "${ac_cv_prog_cc_c89+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 else
13555 ac_cv_prog_cc_c89=no
13556 ac_save_CC=$CC
13557 cat >conftest.$ac_ext <<_ACEOF
13558 /* confdefs.h. */
13559 _ACEOF
13560 cat confdefs.h >>conftest.$ac_ext
13561 cat >>conftest.$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 #include <stdarg.h>
13564 #include <stdio.h>
13565 #include <sys/types.h>
13566 #include <sys/stat.h>
13567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13568 struct buf { int x; };
13569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13570 static char *e (p, i)
13571 char **p;
13572 int i;
13573 {
13574 return p[i];
13575 }
13576 static char *f (char * (*g) (char **, int), char **p, ...)
13577 {
13578 char *s;
13579 va_list v;
13580 va_start (v,p);
13581 s = g (p, va_arg (v,int));
13582 va_end (v);
13583 return s;
13584 }
13585
13586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13587 function prototypes and stuff, but not '\xHH' hex character constants.
13588 These don't provoke an error unfortunately, instead are silently treated
13589 as 'x'. The following induces an error, until -std is added to get
13590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13591 array size at least. It's necessary to write '\x00'==0 to get something
13592 that's true only with -std. */
13593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13594
13595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13596 inside strings and character constants. */
13597 #define FOO(x) 'x'
13598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13599
13600 int test (int i, double x);
13601 struct s1 {int (*f) (int a);};
13602 struct s2 {int (*f) (double a);};
13603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13604 int argc;
13605 char **argv;
13606 int
13607 main ()
13608 {
13609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13610 ;
13611 return 0;
13612 }
13613 _ACEOF
13614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13616 do
13617 CC="$ac_save_CC $ac_arg"
13618 rm -f conftest.$ac_objext
13619 if { (ac_try="$ac_compile"
13620 case "(($ac_try" in
13621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622 *) ac_try_echo=$ac_try;;
13623 esac
13624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13625 (eval "$ac_compile") 2>conftest.er1
13626 ac_status=$?
13627 grep -v '^ *+' conftest.er1 >conftest.err
13628 rm -f conftest.er1
13629 cat conftest.err >&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); } && {
13632 test -z "$ac_c_werror_flag" ||
13633 test ! -s conftest.err
13634 } && test -s conftest.$ac_objext; then
13635 ac_cv_prog_cc_c89=$ac_arg
13636 else
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.$ac_ext >&5
13639
13640
13641 fi
13642
13643 rm -f core conftest.err conftest.$ac_objext
13644 test "x$ac_cv_prog_cc_c89" != "xno" && break
13645 done
13646 rm -f conftest.$ac_ext
13647 CC=$ac_save_CC
13648
13649 fi
13650 # AC_CACHE_VAL
13651 case "x$ac_cv_prog_cc_c89" in
13652 x)
13653 { echo "$as_me:$LINENO: result: none needed" >&5
13654 echo "${ECHO_T}none needed" >&6; } ;;
13655 xno)
13656 { echo "$as_me:$LINENO: result: unsupported" >&5
13657 echo "${ECHO_T}unsupported" >&6; } ;;
13658 *)
13659 CC="$CC $ac_cv_prog_cc_c89"
13660 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13661 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13662 esac
13663
13664
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670
13671
13672
13673 ac_ext=c
13674 ac_cpp='$CPP $CPPFLAGS'
13675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13678
13679 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13680 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13681 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 else
13684 cat >conftest.$ac_ext <<_ACEOF
13685 /* confdefs.h. */
13686 _ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690
13691 int
13692 main ()
13693 {
13694
13695 #ifndef __INTEL_COMPILER
13696 choke me
13697 #endif
13698
13699 ;
13700 return 0;
13701 }
13702 _ACEOF
13703 rm -f conftest.$ac_objext
13704 if { (ac_try="$ac_compile"
13705 case "(($ac_try" in
13706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13707 *) ac_try_echo=$ac_try;;
13708 esac
13709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13710 (eval "$ac_compile") 2>conftest.er1
13711 ac_status=$?
13712 grep -v '^ *+' conftest.er1 >conftest.err
13713 rm -f conftest.er1
13714 cat conftest.err >&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } && {
13717 test -z "$ac_c_werror_flag" ||
13718 test ! -s conftest.err
13719 } && test -s conftest.$ac_objext; then
13720 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13721 else
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13724
13725 bakefile_cv_c_compiler___INTEL_COMPILER=no
13726
13727 fi
13728
13729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13730
13731
13732 fi
13733 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13734 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13735 ac_ext=c
13736 ac_cpp='$CPP $CPPFLAGS'
13737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13740
13741 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13742 :; INTELCC=yes
13743 else
13744 :;
13745 fi
13746
13747
13748 if test "x$GCC" != "xyes"; then
13749 if test "xCC" = "xC"; then
13750 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13751 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13752 if test "${bakefile_cv_c_exto+set}" = set; then
13753 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 else
13755 cat >conftest.$ac_ext <<_ACEOF
13756 /* confdefs.h. */
13757 _ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761
13762 int
13763 main ()
13764 {
13765
13766 ;
13767 return 0;
13768 }
13769 _ACEOF
13770 rm -f conftest.$ac_objext conftest.$ac_ext.o
13771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13772 (eval $ac_compile) 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; then
13776 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13777 case $ac_file in
13778 conftest.$ac_ext.o)
13779 bakefile_cv_c_exto="-ext o"
13780 ;;
13781 *)
13782 ;;
13783 esac
13784 done
13785 else
13786 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13787 See \`config.log' for more details." >&5
13788 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13789 See \`config.log' for more details." >&2;}
13790 { (exit 1); exit 1; }; }
13791
13792 fi
13793
13794 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13795
13796 fi
13797 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13798 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13799 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13800 if test "c" = "c"; then
13801 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13802 fi
13803 if test "c" = "cxx"; then
13804 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13805 fi
13806 fi
13807
13808 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13809 unset ac_cv_prog_cc_g
13810 ac_test_CFLAGS=${CFLAGS+set}
13811 ac_save_CFLAGS=$CFLAGS
13812 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13813 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13814 if test "${ac_cv_prog_cc_g+set}" = set; then
13815 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 else
13817 ac_save_c_werror_flag=$ac_c_werror_flag
13818 ac_c_werror_flag=yes
13819 ac_cv_prog_cc_g=no
13820 CFLAGS="-g"
13821 cat >conftest.$ac_ext <<_ACEOF
13822 /* confdefs.h. */
13823 _ACEOF
13824 cat confdefs.h >>conftest.$ac_ext
13825 cat >>conftest.$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827
13828 int
13829 main ()
13830 {
13831
13832 ;
13833 return 0;
13834 }
13835 _ACEOF
13836 rm -f conftest.$ac_objext
13837 if { (ac_try="$ac_compile"
13838 case "(($ac_try" in
13839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13840 *) ac_try_echo=$ac_try;;
13841 esac
13842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13843 (eval "$ac_compile") 2>conftest.er1
13844 ac_status=$?
13845 grep -v '^ *+' conftest.er1 >conftest.err
13846 rm -f conftest.er1
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } && {
13850 test -z "$ac_c_werror_flag" ||
13851 test ! -s conftest.err
13852 } && test -s conftest.$ac_objext; then
13853 ac_cv_prog_cc_g=yes
13854 else
13855 echo "$as_me: failed program was:" >&5
13856 sed 's/^/| /' conftest.$ac_ext >&5
13857
13858 CFLAGS=""
13859 cat >conftest.$ac_ext <<_ACEOF
13860 /* confdefs.h. */
13861 _ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13865
13866 int
13867 main ()
13868 {
13869
13870 ;
13871 return 0;
13872 }
13873 _ACEOF
13874 rm -f conftest.$ac_objext
13875 if { (ac_try="$ac_compile"
13876 case "(($ac_try" in
13877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13878 *) ac_try_echo=$ac_try;;
13879 esac
13880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13881 (eval "$ac_compile") 2>conftest.er1
13882 ac_status=$?
13883 grep -v '^ *+' conftest.er1 >conftest.err
13884 rm -f conftest.er1
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } && {
13888 test -z "$ac_c_werror_flag" ||
13889 test ! -s conftest.err
13890 } && test -s conftest.$ac_objext; then
13891 :
13892 else
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.$ac_ext >&5
13895
13896 ac_c_werror_flag=$ac_save_c_werror_flag
13897 CFLAGS="-g"
13898 cat >conftest.$ac_ext <<_ACEOF
13899 /* confdefs.h. */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904
13905 int
13906 main ()
13907 {
13908
13909 ;
13910 return 0;
13911 }
13912 _ACEOF
13913 rm -f conftest.$ac_objext
13914 if { (ac_try="$ac_compile"
13915 case "(($ac_try" in
13916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13918 esac
13919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13920 (eval "$ac_compile") 2>conftest.er1
13921 ac_status=$?
13922 grep -v '^ *+' conftest.er1 >conftest.err
13923 rm -f conftest.er1
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } && {
13927 test -z "$ac_c_werror_flag" ||
13928 test ! -s conftest.err
13929 } && test -s conftest.$ac_objext; then
13930 ac_cv_prog_cc_g=yes
13931 else
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.$ac_ext >&5
13934
13935
13936 fi
13937
13938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13939 fi
13940
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942 fi
13943
13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945 ac_c_werror_flag=$ac_save_c_werror_flag
13946 fi
13947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13948 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13949 if test "$ac_test_CFLAGS" = set; then
13950 CFLAGS=$ac_save_CFLAGS
13951 elif test $ac_cv_prog_cc_g = yes; then
13952 if test "$GCC" = yes; then
13953 CFLAGS="-g -O2"
13954 else
13955 CFLAGS="-g"
13956 fi
13957 else
13958 if test "$GCC" = yes; then
13959 CFLAGS="-O2"
13960 else
13961 CFLAGS=
13962 fi
13963 fi
13964 fi
13965 fi
13966
13967 case `uname -s` in
13968 AIX*)
13969 ac_ext=c
13970 ac_cpp='$CPP $CPPFLAGS'
13971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13974
13975 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13976 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
13977 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 cat >conftest.$ac_ext <<_ACEOF
13981 /* confdefs.h. */
13982 _ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13986
13987 int
13988 main ()
13989 {
13990 #ifndef __xlC__
13991 choke me
13992 #endif
13993
13994 ;
13995 return 0;
13996 }
13997 _ACEOF
13998 rm -f conftest.$ac_objext
13999 if { (ac_try="$ac_compile"
14000 case "(($ac_try" in
14001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14002 *) ac_try_echo=$ac_try;;
14003 esac
14004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14005 (eval "$ac_compile") 2>conftest.er1
14006 ac_status=$?
14007 grep -v '^ *+' conftest.er1 >conftest.err
14008 rm -f conftest.er1
14009 cat conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && {
14012 test -z "$ac_c_werror_flag" ||
14013 test ! -s conftest.err
14014 } && test -s conftest.$ac_objext; then
14015 bakefile_compiler_xlc=yes
14016 else
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.$ac_ext >&5
14019
14020 bakefile_compiler_xlc=no
14021 fi
14022
14023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14024 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14025
14026 fi
14027 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14028 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14029
14030 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14031 ac_ext=c
14032 ac_cpp='$CPP $CPPFLAGS'
14033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14036
14037
14038 ;;
14039
14040 Darwin)
14041 ac_ext=c
14042 ac_cpp='$CPP $CPPFLAGS'
14043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14046
14047 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14048 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14049 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 else
14052 cat >conftest.$ac_ext <<_ACEOF
14053 /* confdefs.h. */
14054 _ACEOF
14055 cat confdefs.h >>conftest.$ac_ext
14056 cat >>conftest.$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14058
14059 int
14060 main ()
14061 {
14062 #ifndef __MWERKS__
14063 choke me
14064 #endif
14065
14066 ;
14067 return 0;
14068 }
14069 _ACEOF
14070 rm -f conftest.$ac_objext
14071 if { (ac_try="$ac_compile"
14072 case "(($ac_try" in
14073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14074 *) ac_try_echo=$ac_try;;
14075 esac
14076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14077 (eval "$ac_compile") 2>conftest.er1
14078 ac_status=$?
14079 grep -v '^ *+' conftest.er1 >conftest.err
14080 rm -f conftest.er1
14081 cat conftest.err >&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } && {
14084 test -z "$ac_c_werror_flag" ||
14085 test ! -s conftest.err
14086 } && test -s conftest.$ac_objext; then
14087 bakefile_compiler_mwerks=yes
14088 else
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.$ac_ext >&5
14091
14092 bakefile_compiler_mwerks=no
14093 fi
14094
14095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14096 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14097
14098 fi
14099 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14100 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14101
14102 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14103 ac_ext=c
14104 ac_cpp='$CPP $CPPFLAGS'
14105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14108
14109
14110 ac_ext=c
14111 ac_cpp='$CPP $CPPFLAGS'
14112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14115
14116 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14117 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14118 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 cat >conftest.$ac_ext <<_ACEOF
14122 /* confdefs.h. */
14123 _ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127
14128 int
14129 main ()
14130 {
14131 #ifndef __xlC__
14132 choke me
14133 #endif
14134
14135 ;
14136 return 0;
14137 }
14138 _ACEOF
14139 rm -f conftest.$ac_objext
14140 if { (ac_try="$ac_compile"
14141 case "(($ac_try" in
14142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14143 *) ac_try_echo=$ac_try;;
14144 esac
14145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14146 (eval "$ac_compile") 2>conftest.er1
14147 ac_status=$?
14148 grep -v '^ *+' conftest.er1 >conftest.err
14149 rm -f conftest.er1
14150 cat conftest.err >&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } && {
14153 test -z "$ac_c_werror_flag" ||
14154 test ! -s conftest.err
14155 } && test -s conftest.$ac_objext; then
14156 bakefile_compiler_xlc=yes
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14160
14161 bakefile_compiler_xlc=no
14162 fi
14163
14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14165 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14166
14167 fi
14168 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14169 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14170
14171 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14172 ac_ext=c
14173 ac_cpp='$CPP $CPPFLAGS'
14174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14177
14178
14179 ;;
14180
14181 IRIX*)
14182
14183
14184 ac_ext=c
14185 ac_cpp='$CPP $CPPFLAGS'
14186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14189
14190 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14191 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14192 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 else
14195 cat >conftest.$ac_ext <<_ACEOF
14196 /* confdefs.h. */
14197 _ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14201
14202 int
14203 main ()
14204 {
14205
14206 #ifndef _SGI_COMPILER_VERSION
14207 choke me
14208 #endif
14209
14210 ;
14211 return 0;
14212 }
14213 _ACEOF
14214 rm -f conftest.$ac_objext
14215 if { (ac_try="$ac_compile"
14216 case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14219 esac
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_compile") 2>conftest.er1
14222 ac_status=$?
14223 grep -v '^ *+' conftest.er1 >conftest.err
14224 rm -f conftest.er1
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } && {
14228 test -z "$ac_c_werror_flag" ||
14229 test ! -s conftest.err
14230 } && test -s conftest.$ac_objext; then
14231 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14235
14236 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14237
14238 fi
14239
14240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14241
14242
14243 fi
14244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14245 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14246 ac_ext=c
14247 ac_cpp='$CPP $CPPFLAGS'
14248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14251
14252 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14253 :; SGICC=yes
14254 else
14255 :;
14256 fi
14257
14258
14259 ;;
14260
14261 HP-UX*)
14262
14263
14264 ac_ext=c
14265 ac_cpp='$CPP $CPPFLAGS'
14266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14269
14270 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14271 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14272 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275 cat >conftest.$ac_ext <<_ACEOF
14276 /* confdefs.h. */
14277 _ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14281
14282 int
14283 main ()
14284 {
14285
14286 #ifndef __HP_cc
14287 choke me
14288 #endif
14289
14290 ;
14291 return 0;
14292 }
14293 _ACEOF
14294 rm -f conftest.$ac_objext
14295 if { (ac_try="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14299 esac
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14302 ac_status=$?
14303 grep -v '^ *+' conftest.er1 >conftest.err
14304 rm -f conftest.er1
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && {
14308 test -z "$ac_c_werror_flag" ||
14309 test ! -s conftest.err
14310 } && test -s conftest.$ac_objext; then
14311 bakefile_cv_c_compiler___HP_cc=yes
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14315
14316 bakefile_cv_c_compiler___HP_cc=no
14317
14318 fi
14319
14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321
14322
14323 fi
14324 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14325 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14326 ac_ext=c
14327 ac_cpp='$CPP $CPPFLAGS'
14328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14331
14332 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14333 :; HPCC=yes
14334 else
14335 :;
14336 fi
14337
14338
14339 ;;
14340
14341 OSF1)
14342
14343
14344 ac_ext=c
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14349
14350 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14351 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14352 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 cat >conftest.$ac_ext <<_ACEOF
14356 /* confdefs.h. */
14357 _ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361
14362 int
14363 main ()
14364 {
14365
14366 #ifndef __DECC
14367 choke me
14368 #endif
14369
14370 ;
14371 return 0;
14372 }
14373 _ACEOF
14374 rm -f conftest.$ac_objext
14375 if { (ac_try="$ac_compile"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14379 esac
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_compile") 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest.$ac_objext; then
14391 bakefile_cv_c_compiler___DECC=yes
14392 else
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14395
14396 bakefile_cv_c_compiler___DECC=no
14397
14398 fi
14399
14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401
14402
14403 fi
14404 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14405 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14406 ac_ext=c
14407 ac_cpp='$CPP $CPPFLAGS'
14408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14411
14412 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14413 :; COMPAQCC=yes
14414 else
14415 :;
14416 fi
14417
14418
14419 ;;
14420
14421 SunOS)
14422
14423
14424 ac_ext=c
14425 ac_cpp='$CPP $CPPFLAGS'
14426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14429
14430 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14431 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14432 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 else
14435 cat >conftest.$ac_ext <<_ACEOF
14436 /* confdefs.h. */
14437 _ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441
14442 int
14443 main ()
14444 {
14445
14446 #ifndef __SUNPRO_C
14447 choke me
14448 #endif
14449
14450 ;
14451 return 0;
14452 }
14453 _ACEOF
14454 rm -f conftest.$ac_objext
14455 if { (ac_try="$ac_compile"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_compile") 2>conftest.er1
14462 ac_status=$?
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest.$ac_objext; then
14471 bakefile_cv_c_compiler___SUNPRO_C=yes
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14475
14476 bakefile_cv_c_compiler___SUNPRO_C=no
14477
14478 fi
14479
14480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14481
14482
14483 fi
14484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14485 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14486 ac_ext=c
14487 ac_cpp='$CPP $CPPFLAGS'
14488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14491
14492 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14493 :; SUNCC=yes
14494 else
14495 :;
14496 fi
14497
14498
14499 ;;
14500 esac
14501 fi
14502
14503
14504
14505 ac_ext=c
14506 ac_cpp='$CPP $CPPFLAGS'
14507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14510 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14511 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14512 # On Suns, sometimes $CPP names a directory.
14513 if test -n "$CPP" && test -d "$CPP"; then
14514 CPP=
14515 fi
14516 if test -z "$CPP"; then
14517 if test "${ac_cv_prog_CPP+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 else
14520 # Double quotes because CPP needs to be expanded
14521 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14522 do
14523 ac_preproc_ok=false
14524 for ac_c_preproc_warn_flag in '' yes
14525 do
14526 # Use a header file that comes with gcc, so configuring glibc
14527 # with a fresh cross-compiler works.
14528 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14529 # <limits.h> exists even on freestanding compilers.
14530 # On the NeXT, cc -E runs the code through the compiler's parser,
14531 # not just through cpp. "Syntax error" is here to catch this case.
14532 cat >conftest.$ac_ext <<_ACEOF
14533 /* confdefs.h. */
14534 _ACEOF
14535 cat confdefs.h >>conftest.$ac_ext
14536 cat >>conftest.$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14538 #ifdef __STDC__
14539 # include <limits.h>
14540 #else
14541 # include <assert.h>
14542 #endif
14543 Syntax error
14544 _ACEOF
14545 if { (ac_try="$ac_cpp conftest.$ac_ext"
14546 case "(($ac_try" in
14547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14548 *) ac_try_echo=$ac_try;;
14549 esac
14550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14552 ac_status=$?
14553 grep -v '^ *+' conftest.er1 >conftest.err
14554 rm -f conftest.er1
14555 cat conftest.err >&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } >/dev/null && {
14558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14559 test ! -s conftest.err
14560 }; then
14561 :
14562 else
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14565
14566 # Broken: fails on valid input.
14567 continue
14568 fi
14569
14570 rm -f conftest.err conftest.$ac_ext
14571
14572 # OK, works on sane cases. Now check whether nonexistent headers
14573 # can be detected and how.
14574 cat >conftest.$ac_ext <<_ACEOF
14575 /* confdefs.h. */
14576 _ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 #include <ac_nonexistent.h>
14581 _ACEOF
14582 if { (ac_try="$ac_cpp conftest.$ac_ext"
14583 case "(($ac_try" in
14584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 *) ac_try_echo=$ac_try;;
14586 esac
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14589 ac_status=$?
14590 grep -v '^ *+' conftest.er1 >conftest.err
14591 rm -f conftest.er1
14592 cat conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } >/dev/null && {
14595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14597 }; then
14598 # Broken: success on invalid input.
14599 continue
14600 else
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.$ac_ext >&5
14603
14604 # Passes both tests.
14605 ac_preproc_ok=:
14606 break
14607 fi
14608
14609 rm -f conftest.err conftest.$ac_ext
14610
14611 done
14612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14613 rm -f conftest.err conftest.$ac_ext
14614 if $ac_preproc_ok; then
14615 break
14616 fi
14617
14618 done
14619 ac_cv_prog_CPP=$CPP
14620
14621 fi
14622 CPP=$ac_cv_prog_CPP
14623 else
14624 ac_cv_prog_CPP=$CPP
14625 fi
14626 { echo "$as_me:$LINENO: result: $CPP" >&5
14627 echo "${ECHO_T}$CPP" >&6; }
14628 ac_preproc_ok=false
14629 for ac_c_preproc_warn_flag in '' yes
14630 do
14631 # Use a header file that comes with gcc, so configuring glibc
14632 # with a fresh cross-compiler works.
14633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14634 # <limits.h> exists even on freestanding compilers.
14635 # On the NeXT, cc -E runs the code through the compiler's parser,
14636 # not just through cpp. "Syntax error" is here to catch this case.
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h. */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #ifdef __STDC__
14644 # include <limits.h>
14645 #else
14646 # include <assert.h>
14647 #endif
14648 Syntax error
14649 _ACEOF
14650 if { (ac_try="$ac_cpp conftest.$ac_ext"
14651 case "(($ac_try" in
14652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14654 esac
14655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14657 ac_status=$?
14658 grep -v '^ *+' conftest.er1 >conftest.err
14659 rm -f conftest.er1
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } >/dev/null && {
14663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14664 test ! -s conftest.err
14665 }; then
14666 :
14667 else
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14670
14671 # Broken: fails on valid input.
14672 continue
14673 fi
14674
14675 rm -f conftest.err conftest.$ac_ext
14676
14677 # OK, works on sane cases. Now check whether nonexistent headers
14678 # can be detected and how.
14679 cat >conftest.$ac_ext <<_ACEOF
14680 /* confdefs.h. */
14681 _ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 #include <ac_nonexistent.h>
14686 _ACEOF
14687 if { (ac_try="$ac_cpp conftest.$ac_ext"
14688 case "(($ac_try" in
14689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14690 *) ac_try_echo=$ac_try;;
14691 esac
14692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14694 ac_status=$?
14695 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } >/dev/null && {
14700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14701 test ! -s conftest.err
14702 }; then
14703 # Broken: success on invalid input.
14704 continue
14705 else
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14708
14709 # Passes both tests.
14710 ac_preproc_ok=:
14711 break
14712 fi
14713
14714 rm -f conftest.err conftest.$ac_ext
14715
14716 done
14717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14718 rm -f conftest.err conftest.$ac_ext
14719 if $ac_preproc_ok; then
14720 :
14721 else
14722 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14723 See \`config.log' for more details." >&5
14724 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14725 See \`config.log' for more details." >&2;}
14726 { (exit 1); exit 1; }; }
14727 fi
14728
14729 ac_ext=c
14730 ac_cpp='$CPP $CPPFLAGS'
14731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14734
14735
14736 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14737 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14738 if test "${ac_cv_path_GREP+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 else
14741 # Extract the first word of "grep ggrep" to use in msg output
14742 if test -z "$GREP"; then
14743 set dummy grep ggrep; ac_prog_name=$2
14744 if test "${ac_cv_path_GREP+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 else
14747 ac_path_GREP_found=false
14748 # Loop through the user's path and test for each of PROGNAME-LIST
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14751 do
14752 IFS=$as_save_IFS
14753 test -z "$as_dir" && as_dir=.
14754 for ac_prog in grep ggrep; do
14755 for ac_exec_ext in '' $ac_executable_extensions; do
14756 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14757 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14758 # Check for GNU ac_path_GREP and select it if it is found.
14759 # Check for GNU $ac_path_GREP
14760 case `"$ac_path_GREP" --version 2>&1` in
14761 *GNU*)
14762 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14763 *)
14764 ac_count=0
14765 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14766 while :
14767 do
14768 cat "conftest.in" "conftest.in" >"conftest.tmp"
14769 mv "conftest.tmp" "conftest.in"
14770 cp "conftest.in" "conftest.nl"
14771 echo 'GREP' >> "conftest.nl"
14772 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14773 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14774 ac_count=`expr $ac_count + 1`
14775 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14776 # Best one so far, save it but keep looking for a better one
14777 ac_cv_path_GREP="$ac_path_GREP"
14778 ac_path_GREP_max=$ac_count
14779 fi
14780 # 10*(2^10) chars as input seems more than enough
14781 test $ac_count -gt 10 && break
14782 done
14783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14784 esac
14785
14786
14787 $ac_path_GREP_found && break 3
14788 done
14789 done
14790
14791 done
14792 IFS=$as_save_IFS
14793
14794
14795 fi
14796
14797 GREP="$ac_cv_path_GREP"
14798 if test -z "$GREP"; then
14799 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14800 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14801 { (exit 1); exit 1; }; }
14802 fi
14803
14804 else
14805 ac_cv_path_GREP=$GREP
14806 fi
14807
14808
14809 fi
14810 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14811 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14812 GREP="$ac_cv_path_GREP"
14813
14814
14815 { echo "$as_me:$LINENO: checking for egrep" >&5
14816 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14817 if test "${ac_cv_path_EGREP+set}" = set; then
14818 echo $ECHO_N "(cached) $ECHO_C" >&6
14819 else
14820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14821 then ac_cv_path_EGREP="$GREP -E"
14822 else
14823 # Extract the first word of "egrep" to use in msg output
14824 if test -z "$EGREP"; then
14825 set dummy egrep; ac_prog_name=$2
14826 if test "${ac_cv_path_EGREP+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 else
14829 ac_path_EGREP_found=false
14830 # Loop through the user's path and test for each of PROGNAME-LIST
14831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14833 do
14834 IFS=$as_save_IFS
14835 test -z "$as_dir" && as_dir=.
14836 for ac_prog in egrep; do
14837 for ac_exec_ext in '' $ac_executable_extensions; do
14838 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14839 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14840 # Check for GNU ac_path_EGREP and select it if it is found.
14841 # Check for GNU $ac_path_EGREP
14842 case `"$ac_path_EGREP" --version 2>&1` in
14843 *GNU*)
14844 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14845 *)
14846 ac_count=0
14847 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14848 while :
14849 do
14850 cat "conftest.in" "conftest.in" >"conftest.tmp"
14851 mv "conftest.tmp" "conftest.in"
14852 cp "conftest.in" "conftest.nl"
14853 echo 'EGREP' >> "conftest.nl"
14854 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14856 ac_count=`expr $ac_count + 1`
14857 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14858 # Best one so far, save it but keep looking for a better one
14859 ac_cv_path_EGREP="$ac_path_EGREP"
14860 ac_path_EGREP_max=$ac_count
14861 fi
14862 # 10*(2^10) chars as input seems more than enough
14863 test $ac_count -gt 10 && break
14864 done
14865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14866 esac
14867
14868
14869 $ac_path_EGREP_found && break 3
14870 done
14871 done
14872
14873 done
14874 IFS=$as_save_IFS
14875
14876
14877 fi
14878
14879 EGREP="$ac_cv_path_EGREP"
14880 if test -z "$EGREP"; then
14881 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14882 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14883 { (exit 1); exit 1; }; }
14884 fi
14885
14886 else
14887 ac_cv_path_EGREP=$EGREP
14888 fi
14889
14890
14891 fi
14892 fi
14893 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14894 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14895 EGREP="$ac_cv_path_EGREP"
14896
14897
14898 if test $ac_cv_c_compiler_gnu = yes; then
14899 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14900 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14901 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14903 else
14904 ac_pattern="Autoconf.*'x'"
14905 cat >conftest.$ac_ext <<_ACEOF
14906 /* confdefs.h. */
14907 _ACEOF
14908 cat confdefs.h >>conftest.$ac_ext
14909 cat >>conftest.$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 #include <sgtty.h>
14912 Autoconf TIOCGETP
14913 _ACEOF
14914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14915 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14916 ac_cv_prog_gcc_traditional=yes
14917 else
14918 ac_cv_prog_gcc_traditional=no
14919 fi
14920 rm -f conftest*
14921
14922
14923 if test $ac_cv_prog_gcc_traditional = no; then
14924 cat >conftest.$ac_ext <<_ACEOF
14925 /* confdefs.h. */
14926 _ACEOF
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14930 #include <termio.h>
14931 Autoconf TCGETA
14932 _ACEOF
14933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14934 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14935 ac_cv_prog_gcc_traditional=yes
14936 fi
14937 rm -f conftest*
14938
14939 fi
14940 fi
14941 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14942 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14943 if test $ac_cv_prog_gcc_traditional = yes; then
14944 CC="$CC -traditional"
14945 fi
14946 fi
14947
14948
14949 CXXFLAGS=${CXXFLAGS:=}
14950
14951
14952
14953 ac_ext=cpp
14954 ac_cpp='$CXXCPP $CPPFLAGS'
14955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14958 if test -z "$CXX"; then
14959 if test -n "$CCC"; then
14960 CXX=$CCC
14961 else
14962 if test -n "$ac_tool_prefix"; then
14963 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14964 do
14965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14969 if test "${ac_cv_prog_CXX+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972 if test -n "$CXX"; then
14973 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14974 else
14975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14976 for as_dir in $PATH
14977 do
14978 IFS=$as_save_IFS
14979 test -z "$as_dir" && as_dir=.
14980 for ac_exec_ext in '' $ac_executable_extensions; do
14981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14982 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14984 break 2
14985 fi
14986 done
14987 done
14988 IFS=$as_save_IFS
14989
14990 fi
14991 fi
14992 CXX=$ac_cv_prog_CXX
14993 if test -n "$CXX"; then
14994 { echo "$as_me:$LINENO: result: $CXX" >&5
14995 echo "${ECHO_T}$CXX" >&6; }
14996 else
14997 { echo "$as_me:$LINENO: result: no" >&5
14998 echo "${ECHO_T}no" >&6; }
14999 fi
15000
15001
15002 test -n "$CXX" && break
15003 done
15004 fi
15005 if test -z "$CXX"; then
15006 ac_ct_CXX=$CXX
15007 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15008 do
15009 # Extract the first word of "$ac_prog", so it can be a program name with args.
15010 set dummy $ac_prog; ac_word=$2
15011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15013 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 else
15016 if test -n "$ac_ct_CXX"; then
15017 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15018 else
15019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15020 for as_dir in $PATH
15021 do
15022 IFS=$as_save_IFS
15023 test -z "$as_dir" && as_dir=.
15024 for ac_exec_ext in '' $ac_executable_extensions; do
15025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15026 ac_cv_prog_ac_ct_CXX="$ac_prog"
15027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15028 break 2
15029 fi
15030 done
15031 done
15032 IFS=$as_save_IFS
15033
15034 fi
15035 fi
15036 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15037 if test -n "$ac_ct_CXX"; then
15038 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15039 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15040 else
15041 { echo "$as_me:$LINENO: result: no" >&5
15042 echo "${ECHO_T}no" >&6; }
15043 fi
15044
15045
15046 test -n "$ac_ct_CXX" && break
15047 done
15048
15049 if test "x$ac_ct_CXX" = x; then
15050 CXX="g++"
15051 else
15052 case $cross_compiling:$ac_tool_warned in
15053 yes:)
15054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15055 whose name does not start with the host triplet. If you think this
15056 configuration is useful to you, please write to autoconf@gnu.org." >&5
15057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15058 whose name does not start with the host triplet. If you think this
15059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15060 ac_tool_warned=yes ;;
15061 esac
15062 CXX=$ac_ct_CXX
15063 fi
15064 fi
15065
15066 fi
15067 fi
15068 # Provide some information about the compiler.
15069 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15070 ac_compiler=`set X $ac_compile; echo $2`
15071 { (ac_try="$ac_compiler --version >&5"
15072 case "(($ac_try" in
15073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15075 esac
15076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15077 (eval "$ac_compiler --version >&5") 2>&5
15078 ac_status=$?
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }
15081 { (ac_try="$ac_compiler -v >&5"
15082 case "(($ac_try" in
15083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15084 *) ac_try_echo=$ac_try;;
15085 esac
15086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15087 (eval "$ac_compiler -v >&5") 2>&5
15088 ac_status=$?
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }
15091 { (ac_try="$ac_compiler -V >&5"
15092 case "(($ac_try" in
15093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15094 *) ac_try_echo=$ac_try;;
15095 esac
15096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15097 (eval "$ac_compiler -V >&5") 2>&5
15098 ac_status=$?
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }
15101
15102 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15103 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15104 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 else
15107 cat >conftest.$ac_ext <<_ACEOF
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113
15114 int
15115 main ()
15116 {
15117 #ifndef __GNUC__
15118 choke me
15119 #endif
15120
15121 ;
15122 return 0;
15123 }
15124 _ACEOF
15125 rm -f conftest.$ac_objext
15126 if { (ac_try="$ac_compile"
15127 case "(($ac_try" in
15128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15129 *) ac_try_echo=$ac_try;;
15130 esac
15131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15132 (eval "$ac_compile") 2>conftest.er1
15133 ac_status=$?
15134 grep -v '^ *+' conftest.er1 >conftest.err
15135 rm -f conftest.er1
15136 cat conftest.err >&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } && {
15139 test -z "$ac_cxx_werror_flag" ||
15140 test ! -s conftest.err
15141 } && test -s conftest.$ac_objext; then
15142 ac_compiler_gnu=yes
15143 else
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.$ac_ext >&5
15146
15147 ac_compiler_gnu=no
15148 fi
15149
15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15151 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15152
15153 fi
15154 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15155 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15156 GXX=`test $ac_compiler_gnu = yes && echo yes`
15157 ac_test_CXXFLAGS=${CXXFLAGS+set}
15158 ac_save_CXXFLAGS=$CXXFLAGS
15159 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15160 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15161 if test "${ac_cv_prog_cxx_g+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15165 ac_cxx_werror_flag=yes
15166 ac_cv_prog_cxx_g=no
15167 CXXFLAGS="-g"
15168 cat >conftest.$ac_ext <<_ACEOF
15169 /* confdefs.h. */
15170 _ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174
15175 int
15176 main ()
15177 {
15178
15179 ;
15180 return 0;
15181 }
15182 _ACEOF
15183 rm -f conftest.$ac_objext
15184 if { (ac_try="$ac_compile"
15185 case "(($ac_try" in
15186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15187 *) ac_try_echo=$ac_try;;
15188 esac
15189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15190 (eval "$ac_compile") 2>conftest.er1
15191 ac_status=$?
15192 grep -v '^ *+' conftest.er1 >conftest.err
15193 rm -f conftest.er1
15194 cat conftest.err >&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } && {
15197 test -z "$ac_cxx_werror_flag" ||
15198 test ! -s conftest.err
15199 } && test -s conftest.$ac_objext; then
15200 ac_cv_prog_cxx_g=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15204
15205 CXXFLAGS=""
15206 cat >conftest.$ac_ext <<_ACEOF
15207 /* confdefs.h. */
15208 _ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15212
15213 int
15214 main ()
15215 {
15216
15217 ;
15218 return 0;
15219 }
15220 _ACEOF
15221 rm -f conftest.$ac_objext
15222 if { (ac_try="$ac_compile"
15223 case "(($ac_try" in
15224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15225 *) ac_try_echo=$ac_try;;
15226 esac
15227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15228 (eval "$ac_compile") 2>conftest.er1
15229 ac_status=$?
15230 grep -v '^ *+' conftest.er1 >conftest.err
15231 rm -f conftest.er1
15232 cat conftest.err >&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } && {
15235 test -z "$ac_cxx_werror_flag" ||
15236 test ! -s conftest.err
15237 } && test -s conftest.$ac_objext; then
15238 :
15239 else
15240 echo "$as_me: failed program was:" >&5
15241 sed 's/^/| /' conftest.$ac_ext >&5
15242
15243 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15244 CXXFLAGS="-g"
15245 cat >conftest.$ac_ext <<_ACEOF
15246 /* confdefs.h. */
15247 _ACEOF
15248 cat confdefs.h >>conftest.$ac_ext
15249 cat >>conftest.$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15251
15252 int
15253 main ()
15254 {
15255
15256 ;
15257 return 0;
15258 }
15259 _ACEOF
15260 rm -f conftest.$ac_objext
15261 if { (ac_try="$ac_compile"
15262 case "(($ac_try" in
15263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15264 *) ac_try_echo=$ac_try;;
15265 esac
15266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15267 (eval "$ac_compile") 2>conftest.er1
15268 ac_status=$?
15269 grep -v '^ *+' conftest.er1 >conftest.err
15270 rm -f conftest.er1
15271 cat conftest.err >&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } && {
15274 test -z "$ac_cxx_werror_flag" ||
15275 test ! -s conftest.err
15276 } && test -s conftest.$ac_objext; then
15277 ac_cv_prog_cxx_g=yes
15278 else
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15281
15282
15283 fi
15284
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15286 fi
15287
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289 fi
15290
15291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15292 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15293 fi
15294 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15295 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15296 if test "$ac_test_CXXFLAGS" = set; then
15297 CXXFLAGS=$ac_save_CXXFLAGS
15298 elif test $ac_cv_prog_cxx_g = yes; then
15299 if test "$GXX" = yes; then
15300 CXXFLAGS="-g -O2"
15301 else
15302 CXXFLAGS="-g"
15303 fi
15304 else
15305 if test "$GXX" = yes; then
15306 CXXFLAGS="-O2"
15307 else
15308 CXXFLAGS=
15309 fi
15310 fi
15311 ac_ext=c
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15316
15317
15318
15319 ac_ext=cpp
15320 ac_cpp='$CXXCPP $CPPFLAGS'
15321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15324
15325 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15326 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15327 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 else
15330 cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h. */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336
15337 int
15338 main ()
15339 {
15340
15341 #ifndef __INTEL_COMPILER
15342 choke me
15343 #endif
15344
15345 ;
15346 return 0;
15347 }
15348 _ACEOF
15349 rm -f conftest.$ac_objext
15350 if { (ac_try="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15354 esac
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_cxx_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.$ac_objext; then
15366 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15372
15373 fi
15374
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376
15377
15378 fi
15379 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15380 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15381 ac_ext=c
15382 ac_cpp='$CPP $CPPFLAGS'
15383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15386
15387 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15388 :; INTELCXX=yes
15389 else
15390 :;
15391 fi
15392
15393
15394 if test "x$GCXX" != "xyes"; then
15395 if test "xCXX" = "xC"; then
15396 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15397 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15398 if test "${bakefile_cv_c_exto+set}" = set; then
15399 echo $ECHO_N "(cached) $ECHO_C" >&6
15400 else
15401 cat >conftest.$ac_ext <<_ACEOF
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407
15408 int
15409 main ()
15410 {
15411
15412 ;
15413 return 0;
15414 }
15415 _ACEOF
15416 rm -f conftest.$ac_objext conftest.$ac_ext.o
15417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>&5
15419 ac_status=$?
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; then
15422 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15423 case $ac_file in
15424 conftest.$ac_ext.o)
15425 bakefile_cv_c_exto="-ext o"
15426 ;;
15427 *)
15428 ;;
15429 esac
15430 done
15431 else
15432 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15433 See \`config.log' for more details." >&5
15434 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15435 See \`config.log' for more details." >&2;}
15436 { (exit 1); exit 1; }; }
15437
15438 fi
15439
15440 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15441
15442 fi
15443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15444 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15445 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15446 if test "c" = "c"; then
15447 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15448 fi
15449 if test "c" = "cxx"; then
15450 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15451 fi
15452 fi
15453
15454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15455 unset ac_cv_prog_cc_g
15456 ac_test_CFLAGS=${CFLAGS+set}
15457 ac_save_CFLAGS=$CFLAGS
15458 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15459 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15460 if test "${ac_cv_prog_cc_g+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 ac_save_c_werror_flag=$ac_c_werror_flag
15464 ac_c_werror_flag=yes
15465 ac_cv_prog_cc_g=no
15466 CFLAGS="-g"
15467 cat >conftest.$ac_ext <<_ACEOF
15468 /* confdefs.h. */
15469 _ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473
15474 int
15475 main ()
15476 {
15477
15478 ;
15479 return 0;
15480 }
15481 _ACEOF
15482 rm -f conftest.$ac_objext
15483 if { (ac_try="$ac_compile"
15484 case "(($ac_try" in
15485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15486 *) ac_try_echo=$ac_try;;
15487 esac
15488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15489 (eval "$ac_compile") 2>conftest.er1
15490 ac_status=$?
15491 grep -v '^ *+' conftest.er1 >conftest.err
15492 rm -f conftest.er1
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } && {
15496 test -z "$ac_c_werror_flag" ||
15497 test ! -s conftest.err
15498 } && test -s conftest.$ac_objext; then
15499 ac_cv_prog_cc_g=yes
15500 else
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.$ac_ext >&5
15503
15504 CFLAGS=""
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511
15512 int
15513 main ()
15514 {
15515
15516 ;
15517 return 0;
15518 }
15519 _ACEOF
15520 rm -f conftest.$ac_objext
15521 if { (ac_try="$ac_compile"
15522 case "(($ac_try" in
15523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15524 *) ac_try_echo=$ac_try;;
15525 esac
15526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15527 (eval "$ac_compile") 2>conftest.er1
15528 ac_status=$?
15529 grep -v '^ *+' conftest.er1 >conftest.err
15530 rm -f conftest.er1
15531 cat conftest.err >&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } && {
15534 test -z "$ac_c_werror_flag" ||
15535 test ! -s conftest.err
15536 } && test -s conftest.$ac_objext; then
15537 :
15538 else
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15541
15542 ac_c_werror_flag=$ac_save_c_werror_flag
15543 CFLAGS="-g"
15544 cat >conftest.$ac_ext <<_ACEOF
15545 /* confdefs.h. */
15546 _ACEOF
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550
15551 int
15552 main ()
15553 {
15554
15555 ;
15556 return 0;
15557 }
15558 _ACEOF
15559 rm -f conftest.$ac_objext
15560 if { (ac_try="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15564 esac
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15567 ac_status=$?
15568 grep -v '^ *+' conftest.er1 >conftest.err
15569 rm -f conftest.er1
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 ac_cv_prog_cc_g=yes
15577 else
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15580
15581
15582 fi
15583
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585 fi
15586
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588 fi
15589
15590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15591 ac_c_werror_flag=$ac_save_c_werror_flag
15592 fi
15593 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15594 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15595 if test "$ac_test_CFLAGS" = set; then
15596 CFLAGS=$ac_save_CFLAGS
15597 elif test $ac_cv_prog_cc_g = yes; then
15598 if test "$GCC" = yes; then
15599 CFLAGS="-g -O2"
15600 else
15601 CFLAGS="-g"
15602 fi
15603 else
15604 if test "$GCC" = yes; then
15605 CFLAGS="-O2"
15606 else
15607 CFLAGS=
15608 fi
15609 fi
15610 fi
15611 fi
15612
15613 case `uname -s` in
15614 AIX*)
15615 ac_ext=cpp
15616 ac_cpp='$CXXCPP $CPPFLAGS'
15617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15620
15621 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15622 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15623 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 else
15626 cat >conftest.$ac_ext <<_ACEOF
15627 /* confdefs.h. */
15628 _ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15632
15633 int
15634 main ()
15635 {
15636 #ifndef __xlC__
15637 choke me
15638 #endif
15639
15640 ;
15641 return 0;
15642 }
15643 _ACEOF
15644 rm -f conftest.$ac_objext
15645 if { (ac_try="$ac_compile"
15646 case "(($ac_try" in
15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15648 *) ac_try_echo=$ac_try;;
15649 esac
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_compile") 2>conftest.er1
15652 ac_status=$?
15653 grep -v '^ *+' conftest.er1 >conftest.err
15654 rm -f conftest.er1
15655 cat conftest.err >&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_cxx_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest.$ac_objext; then
15661 bakefile_compiler_xlc=yes
15662 else
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.$ac_ext >&5
15665
15666 bakefile_compiler_xlc=no
15667 fi
15668
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15671
15672 fi
15673 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15674 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15675
15676 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15677 ac_ext=c
15678 ac_cpp='$CPP $CPPFLAGS'
15679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15682
15683
15684 ;;
15685
15686 Darwin)
15687 ac_ext=cpp
15688 ac_cpp='$CXXCPP $CPPFLAGS'
15689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15692
15693 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15694 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15695 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 else
15698 cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h. */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704
15705 int
15706 main ()
15707 {
15708 #ifndef __MWERKS__
15709 choke me
15710 #endif
15711
15712 ;
15713 return 0;
15714 }
15715 _ACEOF
15716 rm -f conftest.$ac_objext
15717 if { (ac_try="$ac_compile"
15718 case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_compile") 2>conftest.er1
15724 ac_status=$?
15725 grep -v '^ *+' conftest.er1 >conftest.err
15726 rm -f conftest.er1
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && {
15730 test -z "$ac_cxx_werror_flag" ||
15731 test ! -s conftest.err
15732 } && test -s conftest.$ac_objext; then
15733 bakefile_compiler_mwerks=yes
15734 else
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 bakefile_compiler_mwerks=no
15739 fi
15740
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15743
15744 fi
15745 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15746 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15747
15748 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754
15755
15756 ac_ext=cpp
15757 ac_cpp='$CXXCPP $CPPFLAGS'
15758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15761
15762 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15763 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15764 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15765 echo $ECHO_N "(cached) $ECHO_C" >&6
15766 else
15767 cat >conftest.$ac_ext <<_ACEOF
15768 /* confdefs.h. */
15769 _ACEOF
15770 cat confdefs.h >>conftest.$ac_ext
15771 cat >>conftest.$ac_ext <<_ACEOF
15772 /* end confdefs.h. */
15773
15774 int
15775 main ()
15776 {
15777 #ifndef __xlC__
15778 choke me
15779 #endif
15780
15781 ;
15782 return 0;
15783 }
15784 _ACEOF
15785 rm -f conftest.$ac_objext
15786 if { (ac_try="$ac_compile"
15787 case "(($ac_try" in
15788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15789 *) ac_try_echo=$ac_try;;
15790 esac
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_compile") 2>conftest.er1
15793 ac_status=$?
15794 grep -v '^ *+' conftest.er1 >conftest.err
15795 rm -f conftest.er1
15796 cat conftest.err >&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } && {
15799 test -z "$ac_cxx_werror_flag" ||
15800 test ! -s conftest.err
15801 } && test -s conftest.$ac_objext; then
15802 bakefile_compiler_xlc=yes
15803 else
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15806
15807 bakefile_compiler_xlc=no
15808 fi
15809
15810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15811 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15812
15813 fi
15814 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15815 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15816
15817 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15818 ac_ext=c
15819 ac_cpp='$CPP $CPPFLAGS'
15820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15823
15824
15825 ;;
15826
15827 IRIX*)
15828
15829
15830 ac_ext=cpp
15831 ac_cpp='$CXXCPP $CPPFLAGS'
15832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15835
15836 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15837 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15838 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 else
15841 cat >conftest.$ac_ext <<_ACEOF
15842 /* confdefs.h. */
15843 _ACEOF
15844 cat confdefs.h >>conftest.$ac_ext
15845 cat >>conftest.$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847
15848 int
15849 main ()
15850 {
15851
15852 #ifndef _SGI_COMPILER_VERSION
15853 choke me
15854 #endif
15855
15856 ;
15857 return 0;
15858 }
15859 _ACEOF
15860 rm -f conftest.$ac_objext
15861 if { (ac_try="$ac_compile"
15862 case "(($ac_try" in
15863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15864 *) ac_try_echo=$ac_try;;
15865 esac
15866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15867 (eval "$ac_compile") 2>conftest.er1
15868 ac_status=$?
15869 grep -v '^ *+' conftest.er1 >conftest.err
15870 rm -f conftest.er1
15871 cat conftest.err >&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } && {
15874 test -z "$ac_cxx_werror_flag" ||
15875 test ! -s conftest.err
15876 } && test -s conftest.$ac_objext; then
15877 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15878 else
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15881
15882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15883
15884 fi
15885
15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15887
15888
15889 fi
15890 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15891 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15892 ac_ext=c
15893 ac_cpp='$CPP $CPPFLAGS'
15894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15897
15898 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15899 :; SGICXX=yes
15900 else
15901 :;
15902 fi
15903
15904
15905 ;;
15906
15907 HP-UX*)
15908
15909
15910 ac_ext=cpp
15911 ac_cpp='$CXXCPP $CPPFLAGS'
15912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15915
15916 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15917 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15918 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 else
15921 cat >conftest.$ac_ext <<_ACEOF
15922 /* confdefs.h. */
15923 _ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927
15928 int
15929 main ()
15930 {
15931
15932 #ifndef __HP_aCC
15933 choke me
15934 #endif
15935
15936 ;
15937 return 0;
15938 }
15939 _ACEOF
15940 rm -f conftest.$ac_objext
15941 if { (ac_try="$ac_compile"
15942 case "(($ac_try" in
15943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15944 *) ac_try_echo=$ac_try;;
15945 esac
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_compile") 2>conftest.er1
15948 ac_status=$?
15949 grep -v '^ *+' conftest.er1 >conftest.err
15950 rm -f conftest.er1
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } && {
15954 test -z "$ac_cxx_werror_flag" ||
15955 test ! -s conftest.err
15956 } && test -s conftest.$ac_objext; then
15957 bakefile_cv_cxx_compiler___HP_aCC=yes
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15961
15962 bakefile_cv_cxx_compiler___HP_aCC=no
15963
15964 fi
15965
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967
15968
15969 fi
15970 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
15972 ac_ext=c
15973 ac_cpp='$CPP $CPPFLAGS'
15974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15977
15978 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15979 :; HPCXX=yes
15980 else
15981 :;
15982 fi
15983
15984
15985 ;;
15986
15987 OSF1)
15988
15989
15990 ac_ext=cpp
15991 ac_cpp='$CXXCPP $CPPFLAGS'
15992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15995
15996 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15997 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
15998 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 else
16001 cat >conftest.$ac_ext <<_ACEOF
16002 /* confdefs.h. */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007
16008 int
16009 main ()
16010 {
16011
16012 #ifndef __DECCXX
16013 choke me
16014 #endif
16015
16016 ;
16017 return 0;
16018 }
16019 _ACEOF
16020 rm -f conftest.$ac_objext
16021 if { (ac_try="$ac_compile"
16022 case "(($ac_try" in
16023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16024 *) ac_try_echo=$ac_try;;
16025 esac
16026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16027 (eval "$ac_compile") 2>conftest.er1
16028 ac_status=$?
16029 grep -v '^ *+' conftest.er1 >conftest.err
16030 rm -f conftest.er1
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } && {
16034 test -z "$ac_cxx_werror_flag" ||
16035 test ! -s conftest.err
16036 } && test -s conftest.$ac_objext; then
16037 bakefile_cv_cxx_compiler___DECCXX=yes
16038 else
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16041
16042 bakefile_cv_cxx_compiler___DECCXX=no
16043
16044 fi
16045
16046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16047
16048
16049 fi
16050 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16051 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16052 ac_ext=c
16053 ac_cpp='$CPP $CPPFLAGS'
16054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16057
16058 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16059 :; COMPAQCXX=yes
16060 else
16061 :;
16062 fi
16063
16064
16065 ;;
16066
16067 SunOS)
16068
16069
16070 ac_ext=cpp
16071 ac_cpp='$CXXCPP $CPPFLAGS'
16072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16075
16076 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16077 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16078 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16079 echo $ECHO_N "(cached) $ECHO_C" >&6
16080 else
16081 cat >conftest.$ac_ext <<_ACEOF
16082 /* confdefs.h. */
16083 _ACEOF
16084 cat confdefs.h >>conftest.$ac_ext
16085 cat >>conftest.$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16087
16088 int
16089 main ()
16090 {
16091
16092 #ifndef __SUNPRO_CC
16093 choke me
16094 #endif
16095
16096 ;
16097 return 0;
16098 }
16099 _ACEOF
16100 rm -f conftest.$ac_objext
16101 if { (ac_try="$ac_compile"
16102 case "(($ac_try" in
16103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16104 *) ac_try_echo=$ac_try;;
16105 esac
16106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107 (eval "$ac_compile") 2>conftest.er1
16108 ac_status=$?
16109 grep -v '^ *+' conftest.er1 >conftest.err
16110 rm -f conftest.er1
16111 cat conftest.err >&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } && {
16114 test -z "$ac_cxx_werror_flag" ||
16115 test ! -s conftest.err
16116 } && test -s conftest.$ac_objext; then
16117 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16118 else
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16121
16122 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16123
16124 fi
16125
16126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16127
16128
16129 fi
16130 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16131 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16132 ac_ext=c
16133 ac_cpp='$CPP $CPPFLAGS'
16134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16137
16138 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16139 :; SUNCXX=yes
16140 else
16141 :;
16142 fi
16143
16144
16145 ;;
16146 esac
16147 fi
16148
16149
16150
16151 if test -n "$ac_tool_prefix"; then
16152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16156 if test "${ac_cv_prog_RANLIB+set}" = set; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 else
16159 if test -n "$RANLIB"; then
16160 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16161 else
16162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16163 for as_dir in $PATH
16164 do
16165 IFS=$as_save_IFS
16166 test -z "$as_dir" && as_dir=.
16167 for ac_exec_ext in '' $ac_executable_extensions; do
16168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16169 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16171 break 2
16172 fi
16173 done
16174 done
16175 IFS=$as_save_IFS
16176
16177 fi
16178 fi
16179 RANLIB=$ac_cv_prog_RANLIB
16180 if test -n "$RANLIB"; then
16181 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16182 echo "${ECHO_T}$RANLIB" >&6; }
16183 else
16184 { echo "$as_me:$LINENO: result: no" >&5
16185 echo "${ECHO_T}no" >&6; }
16186 fi
16187
16188
16189 fi
16190 if test -z "$ac_cv_prog_RANLIB"; then
16191 ac_ct_RANLIB=$RANLIB
16192 # Extract the first word of "ranlib", so it can be a program name with args.
16193 set dummy ranlib; ac_word=$2
16194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16196 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 else
16199 if test -n "$ac_ct_RANLIB"; then
16200 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16201 else
16202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16203 for as_dir in $PATH
16204 do
16205 IFS=$as_save_IFS
16206 test -z "$as_dir" && as_dir=.
16207 for ac_exec_ext in '' $ac_executable_extensions; do
16208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16209 ac_cv_prog_ac_ct_RANLIB="ranlib"
16210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16211 break 2
16212 fi
16213 done
16214 done
16215 IFS=$as_save_IFS
16216
16217 fi
16218 fi
16219 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16220 if test -n "$ac_ct_RANLIB"; then
16221 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16222 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16223 else
16224 { echo "$as_me:$LINENO: result: no" >&5
16225 echo "${ECHO_T}no" >&6; }
16226 fi
16227
16228 if test "x$ac_ct_RANLIB" = x; then
16229 RANLIB=":"
16230 else
16231 case $cross_compiling:$ac_tool_warned in
16232 yes:)
16233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16234 whose name does not start with the host triplet. If you think this
16235 configuration is useful to you, please write to autoconf@gnu.org." >&5
16236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16237 whose name does not start with the host triplet. If you think this
16238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16239 ac_tool_warned=yes ;;
16240 esac
16241 RANLIB=$ac_ct_RANLIB
16242 fi
16243 else
16244 RANLIB="$ac_cv_prog_RANLIB"
16245 fi
16246
16247
16248 if test "x$SUNCXX" != xyes; then
16249 if test -n "$ac_tool_prefix"; then
16250 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16251 set dummy ${ac_tool_prefix}ar; ac_word=$2
16252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16254 if test "${ac_cv_prog_AR+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 else
16257 if test -n "$AR"; then
16258 ac_cv_prog_AR="$AR" # Let the user override the test.
16259 else
16260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16261 for as_dir in $PATH
16262 do
16263 IFS=$as_save_IFS
16264 test -z "$as_dir" && as_dir=.
16265 for ac_exec_ext in '' $ac_executable_extensions; do
16266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16267 ac_cv_prog_AR="${ac_tool_prefix}ar"
16268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16269 break 2
16270 fi
16271 done
16272 done
16273 IFS=$as_save_IFS
16274
16275 fi
16276 fi
16277 AR=$ac_cv_prog_AR
16278 if test -n "$AR"; then
16279 { echo "$as_me:$LINENO: result: $AR" >&5
16280 echo "${ECHO_T}$AR" >&6; }
16281 else
16282 { echo "$as_me:$LINENO: result: no" >&5
16283 echo "${ECHO_T}no" >&6; }
16284 fi
16285
16286
16287 fi
16288 if test -z "$ac_cv_prog_AR"; then
16289 ac_ct_AR=$AR
16290 # Extract the first word of "ar", so it can be a program name with args.
16291 set dummy ar; ac_word=$2
16292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16294 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 else
16297 if test -n "$ac_ct_AR"; then
16298 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16299 else
16300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16301 for as_dir in $PATH
16302 do
16303 IFS=$as_save_IFS
16304 test -z "$as_dir" && as_dir=.
16305 for ac_exec_ext in '' $ac_executable_extensions; do
16306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16307 ac_cv_prog_ac_ct_AR="ar"
16308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16309 break 2
16310 fi
16311 done
16312 done
16313 IFS=$as_save_IFS
16314
16315 fi
16316 fi
16317 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16318 if test -n "$ac_ct_AR"; then
16319 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16320 echo "${ECHO_T}$ac_ct_AR" >&6; }
16321 else
16322 { echo "$as_me:$LINENO: result: no" >&5
16323 echo "${ECHO_T}no" >&6; }
16324 fi
16325
16326 if test "x$ac_ct_AR" = x; then
16327 AR=""
16328 else
16329 case $cross_compiling:$ac_tool_warned in
16330 yes:)
16331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16332 whose name does not start with the host triplet. If you think this
16333 configuration is useful to you, please write to autoconf@gnu.org." >&5
16334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16335 whose name does not start with the host triplet. If you think this
16336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16337 ac_tool_warned=yes ;;
16338 esac
16339 AR=$ac_ct_AR
16340 fi
16341 else
16342 AR="$ac_cv_prog_AR"
16343 fi
16344
16345 if test "x$AR" = "x" ; then
16346 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16347 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16348 { (exit 1); exit 1; }; }
16349 fi
16350 fi
16351
16352 # Find a good install program. We prefer a C program (faster),
16353 # so one script is as good as another. But avoid the broken or
16354 # incompatible versions:
16355 # SysV /etc/install, /usr/sbin/install
16356 # SunOS /usr/etc/install
16357 # IRIX /sbin/install
16358 # AIX /bin/install
16359 # AmigaOS /C/install, which installs bootblocks on floppy discs
16360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16363 # OS/2's system install, which has a completely different semantic
16364 # ./install, which can be erroneously created by make from ./install.sh.
16365 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16366 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16367 if test -z "$INSTALL"; then
16368 if test "${ac_cv_path_install+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 else
16371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16372 for as_dir in $PATH
16373 do
16374 IFS=$as_save_IFS
16375 test -z "$as_dir" && as_dir=.
16376 # Account for people who put trailing slashes in PATH elements.
16377 case $as_dir/ in
16378 ./ | .// | /cC/* | \
16379 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16380 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16381 /usr/ucb/* ) ;;
16382 *)
16383 # OSF1 and SCO ODT 3.0 have their own names for install.
16384 # Don't use installbsd from OSF since it installs stuff as root
16385 # by default.
16386 for ac_prog in ginstall scoinst install; do
16387 for ac_exec_ext in '' $ac_executable_extensions; do
16388 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16389 if test $ac_prog = install &&
16390 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16391 # AIX install. It has an incompatible calling convention.
16392 :
16393 elif test $ac_prog = install &&
16394 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16395 # program-specific install script used by HP pwplus--don't use.
16396 :
16397 else
16398 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16399 break 3
16400 fi
16401 fi
16402 done
16403 done
16404 ;;
16405 esac
16406 done
16407 IFS=$as_save_IFS
16408
16409
16410 fi
16411 if test "${ac_cv_path_install+set}" = set; then
16412 INSTALL=$ac_cv_path_install
16413 else
16414 # As a last resort, use the slow shell script. Don't cache a
16415 # value for INSTALL within a source directory, because that will
16416 # break other packages using the cache if that directory is
16417 # removed, or if the value is a relative name.
16418 INSTALL=$ac_install_sh
16419 fi
16420 fi
16421 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16422 echo "${ECHO_T}$INSTALL" >&6; }
16423
16424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16425 # It thinks the first close brace ends the variable substitution.
16426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16427
16428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16429
16430 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16431
16432
16433 case ${INSTALL} in
16434 /* ) # Absolute
16435 ;;
16436 ?:* ) # Drive letter, considered as absolute.
16437 ;;
16438 *)
16439 INSTALL=`pwd`/${INSTALL} ;;
16440 esac
16441
16442
16443 case "${host}" in
16444
16445 *-*-darwin* )
16446 INSTALL_PROGRAM="cp -fp"
16447 INSTALL_DATA="cp -fp"
16448 ;;
16449 *)
16450 ;;
16451 esac
16452
16453 if test -n "$ac_tool_prefix"; then
16454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16455 set dummy ${ac_tool_prefix}strip; ac_word=$2
16456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16458 if test "${ac_cv_prog_STRIP+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 else
16461 if test -n "$STRIP"; then
16462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16463 else
16464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16465 for as_dir in $PATH
16466 do
16467 IFS=$as_save_IFS
16468 test -z "$as_dir" && as_dir=.
16469 for ac_exec_ext in '' $ac_executable_extensions; do
16470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16471 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16473 break 2
16474 fi
16475 done
16476 done
16477 IFS=$as_save_IFS
16478
16479 fi
16480 fi
16481 STRIP=$ac_cv_prog_STRIP
16482 if test -n "$STRIP"; then
16483 { echo "$as_me:$LINENO: result: $STRIP" >&5
16484 echo "${ECHO_T}$STRIP" >&6; }
16485 else
16486 { echo "$as_me:$LINENO: result: no" >&5
16487 echo "${ECHO_T}no" >&6; }
16488 fi
16489
16490
16491 fi
16492 if test -z "$ac_cv_prog_STRIP"; then
16493 ac_ct_STRIP=$STRIP
16494 # Extract the first word of "strip", so it can be a program name with args.
16495 set dummy strip; ac_word=$2
16496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16498 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 else
16501 if test -n "$ac_ct_STRIP"; then
16502 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16503 else
16504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16505 for as_dir in $PATH
16506 do
16507 IFS=$as_save_IFS
16508 test -z "$as_dir" && as_dir=.
16509 for ac_exec_ext in '' $ac_executable_extensions; do
16510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16511 ac_cv_prog_ac_ct_STRIP="strip"
16512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16513 break 2
16514 fi
16515 done
16516 done
16517 IFS=$as_save_IFS
16518
16519 fi
16520 fi
16521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16522 if test -n "$ac_ct_STRIP"; then
16523 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16524 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16525 else
16526 { echo "$as_me:$LINENO: result: no" >&5
16527 echo "${ECHO_T}no" >&6; }
16528 fi
16529
16530 if test "x$ac_ct_STRIP" = x; then
16531 STRIP="true"
16532 else
16533 case $cross_compiling:$ac_tool_warned in
16534 yes:)
16535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16536 whose name does not start with the host triplet. If you think this
16537 configuration is useful to you, please write to autoconf@gnu.org." >&5
16538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16539 whose name does not start with the host triplet. If you think this
16540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16541 ac_tool_warned=yes ;;
16542 esac
16543 STRIP=$ac_ct_STRIP
16544 fi
16545 else
16546 STRIP="$ac_cv_prog_STRIP"
16547 fi
16548
16549
16550 if test "$wxUSE_WINE" = "yes"; then
16551 if test -n "$ac_tool_prefix"; then
16552 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16553 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16556 if test "${ac_cv_prog_WINDRES+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 else
16559 if test -n "$WINDRES"; then
16560 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16561 else
16562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16563 for as_dir in $PATH
16564 do
16565 IFS=$as_save_IFS
16566 test -z "$as_dir" && as_dir=.
16567 for ac_exec_ext in '' $ac_executable_extensions; do
16568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16569 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16571 break 2
16572 fi
16573 done
16574 done
16575 IFS=$as_save_IFS
16576
16577 fi
16578 fi
16579 WINDRES=$ac_cv_prog_WINDRES
16580 if test -n "$WINDRES"; then
16581 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16582 echo "${ECHO_T}$WINDRES" >&6; }
16583 else
16584 { echo "$as_me:$LINENO: result: no" >&5
16585 echo "${ECHO_T}no" >&6; }
16586 fi
16587
16588
16589 fi
16590 if test -z "$ac_cv_prog_WINDRES"; then
16591 ac_ct_WINDRES=$WINDRES
16592 # Extract the first word of "wrc", so it can be a program name with args.
16593 set dummy wrc; ac_word=$2
16594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16596 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 else
16599 if test -n "$ac_ct_WINDRES"; then
16600 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16601 else
16602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16603 for as_dir in $PATH
16604 do
16605 IFS=$as_save_IFS
16606 test -z "$as_dir" && as_dir=.
16607 for ac_exec_ext in '' $ac_executable_extensions; do
16608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16609 ac_cv_prog_ac_ct_WINDRES="wrc"
16610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16611 break 2
16612 fi
16613 done
16614 done
16615 IFS=$as_save_IFS
16616
16617 fi
16618 fi
16619 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16620 if test -n "$ac_ct_WINDRES"; then
16621 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16622 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16623 else
16624 { echo "$as_me:$LINENO: result: no" >&5
16625 echo "${ECHO_T}no" >&6; }
16626 fi
16627
16628 if test "x$ac_ct_WINDRES" = x; then
16629 WINDRES=""
16630 else
16631 case $cross_compiling:$ac_tool_warned in
16632 yes:)
16633 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16634 whose name does not start with the host triplet. If you think this
16635 configuration is useful to you, please write to autoconf@gnu.org." >&5
16636 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16639 ac_tool_warned=yes ;;
16640 esac
16641 WINDRES=$ac_ct_WINDRES
16642 fi
16643 else
16644 WINDRES="$ac_cv_prog_WINDRES"
16645 fi
16646
16647 RESCOMP="$WINDRES"
16648 else
16649 case "${host}" in
16650 *-*-cygwin* | *-*-mingw32* )
16651 if test -n "$ac_tool_prefix"; then
16652 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16653 set dummy ${ac_tool_prefix}windres; ac_word=$2
16654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16656 if test "${ac_cv_prog_WINDRES+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16659 if test -n "$WINDRES"; then
16660 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16661 else
16662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16663 for as_dir in $PATH
16664 do
16665 IFS=$as_save_IFS
16666 test -z "$as_dir" && as_dir=.
16667 for ac_exec_ext in '' $ac_executable_extensions; do
16668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16669 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16671 break 2
16672 fi
16673 done
16674 done
16675 IFS=$as_save_IFS
16676
16677 fi
16678 fi
16679 WINDRES=$ac_cv_prog_WINDRES
16680 if test -n "$WINDRES"; then
16681 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16682 echo "${ECHO_T}$WINDRES" >&6; }
16683 else
16684 { echo "$as_me:$LINENO: result: no" >&5
16685 echo "${ECHO_T}no" >&6; }
16686 fi
16687
16688
16689 fi
16690 if test -z "$ac_cv_prog_WINDRES"; then
16691 ac_ct_WINDRES=$WINDRES
16692 # Extract the first word of "windres", so it can be a program name with args.
16693 set dummy windres; ac_word=$2
16694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16696 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 else
16699 if test -n "$ac_ct_WINDRES"; then
16700 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16701 else
16702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16703 for as_dir in $PATH
16704 do
16705 IFS=$as_save_IFS
16706 test -z "$as_dir" && as_dir=.
16707 for ac_exec_ext in '' $ac_executable_extensions; do
16708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16709 ac_cv_prog_ac_ct_WINDRES="windres"
16710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16711 break 2
16712 fi
16713 done
16714 done
16715 IFS=$as_save_IFS
16716
16717 fi
16718 fi
16719 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16720 if test -n "$ac_ct_WINDRES"; then
16721 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16722 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16723 else
16724 { echo "$as_me:$LINENO: result: no" >&5
16725 echo "${ECHO_T}no" >&6; }
16726 fi
16727
16728 if test "x$ac_ct_WINDRES" = x; then
16729 WINDRES=""
16730 else
16731 case $cross_compiling:$ac_tool_warned in
16732 yes:)
16733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&5
16736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16737 whose name does not start with the host triplet. If you think this
16738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16739 ac_tool_warned=yes ;;
16740 esac
16741 WINDRES=$ac_ct_WINDRES
16742 fi
16743 else
16744 WINDRES="$ac_cv_prog_WINDRES"
16745 fi
16746
16747 RESCOMP="$WINDRES"
16748 if test -n "$ac_tool_prefix"; then
16749 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16750 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16753 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 else
16756 if test -n "$DLLTOOL"; then
16757 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16758 else
16759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16760 for as_dir in $PATH
16761 do
16762 IFS=$as_save_IFS
16763 test -z "$as_dir" && as_dir=.
16764 for ac_exec_ext in '' $ac_executable_extensions; do
16765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16766 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16768 break 2
16769 fi
16770 done
16771 done
16772 IFS=$as_save_IFS
16773
16774 fi
16775 fi
16776 DLLTOOL=$ac_cv_prog_DLLTOOL
16777 if test -n "$DLLTOOL"; then
16778 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16779 echo "${ECHO_T}$DLLTOOL" >&6; }
16780 else
16781 { echo "$as_me:$LINENO: result: no" >&5
16782 echo "${ECHO_T}no" >&6; }
16783 fi
16784
16785
16786 fi
16787 if test -z "$ac_cv_prog_DLLTOOL"; then
16788 ac_ct_DLLTOOL=$DLLTOOL
16789 # Extract the first word of "dlltool", so it can be a program name with args.
16790 set dummy dlltool; ac_word=$2
16791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16793 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 else
16796 if test -n "$ac_ct_DLLTOOL"; then
16797 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16798 else
16799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16800 for as_dir in $PATH
16801 do
16802 IFS=$as_save_IFS
16803 test -z "$as_dir" && as_dir=.
16804 for ac_exec_ext in '' $ac_executable_extensions; do
16805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16806 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16808 break 2
16809 fi
16810 done
16811 done
16812 IFS=$as_save_IFS
16813
16814 fi
16815 fi
16816 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16817 if test -n "$ac_ct_DLLTOOL"; then
16818 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16819 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16820 else
16821 { echo "$as_me:$LINENO: result: no" >&5
16822 echo "${ECHO_T}no" >&6; }
16823 fi
16824
16825 if test "x$ac_ct_DLLTOOL" = x; then
16826 DLLTOOL=""
16827 else
16828 case $cross_compiling:$ac_tool_warned in
16829 yes:)
16830 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16831 whose name does not start with the host triplet. If you think this
16832 configuration is useful to you, please write to autoconf@gnu.org." >&5
16833 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16834 whose name does not start with the host triplet. If you think this
16835 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16836 ac_tool_warned=yes ;;
16837 esac
16838 DLLTOOL=$ac_ct_DLLTOOL
16839 fi
16840 else
16841 DLLTOOL="$ac_cv_prog_DLLTOOL"
16842 fi
16843
16844 ;;
16845 esac
16846 fi
16847
16848 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16849 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16850 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 else
16853
16854 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16855 $EGREP -s GNU > /dev/null); then
16856 wx_cv_prog_makeisgnu="yes"
16857 else
16858 wx_cv_prog_makeisgnu="no"
16859 fi
16860
16861 fi
16862 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16863 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16864
16865 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16866 IF_GNU_MAKE=""
16867 else
16868 IF_GNU_MAKE="#"
16869 fi
16870
16871
16872
16873 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16874 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16875 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16876 if test "${wx_cv_prog_makevpath+set}" = set; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 else
16879
16880 cat - << EOF > confMake
16881 check : file
16882 cp \$? \$@
16883 cp \$? final_file
16884 EOF
16885
16886 if test ! -d sub ; then
16887 mkdir sub
16888 fi
16889 echo dummy > sub/file
16890 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16891 RESULT=$?
16892 rm -f sub/file check final_file confMake
16893 rmdir sub
16894 if test "$RESULT" = 0; then
16895 wx_cv_prog_makevpath="yes"
16896 else
16897 wx_cv_prog_makevpath="no"
16898 fi
16899
16900 fi
16901 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16902 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16903
16904 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16905 { { echo "$as_me:$LINENO: error:
16906 You need a make-utility that is able to use the variable
16907 VPATH correctly.
16908 If your version of make does not support VPATH correctly,
16909 please install GNU-make (possibly as gmake), and start
16910 configure with the following command:
16911 export MAKE=gmake; ./configure for sh-type shells
16912 setenv MAKE gmake; ./configure for csh-type shells
16913 Also please do remember to use gmake in this case every time
16914 you are trying to compile.
16915 " >&5
16916 echo "$as_me: error:
16917 You need a make-utility that is able to use the variable
16918 VPATH correctly.
16919 If your version of make does not support VPATH correctly,
16920 please install GNU-make (possibly as gmake), and start
16921 configure with the following command:
16922 export MAKE=gmake; ./configure for sh-type shells
16923 setenv MAKE gmake; ./configure for csh-type shells
16924 Also please do remember to use gmake in this case every time
16925 you are trying to compile.
16926 " >&2;}
16927 { (exit 1); exit 1; }; }
16928 fi fi
16929 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16930 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16931 LN_S=$as_ln_s
16932 if test "$LN_S" = "ln -s"; then
16933 { echo "$as_me:$LINENO: result: yes" >&5
16934 echo "${ECHO_T}yes" >&6; }
16935 else
16936 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16937 echo "${ECHO_T}no, using $LN_S" >&6; }
16938 fi
16939
16940
16941
16942
16943 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16944 CXXFLAGS="-qunique $CXXFLAGS"
16945 fi
16946
16947 case "${host}" in
16948 powerpc-*-darwin* )
16949 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16950 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16951 cat >conftest.$ac_ext <<_ACEOF
16952 /* confdefs.h. */
16953 _ACEOF
16954 cat confdefs.h >>conftest.$ac_ext
16955 cat >>conftest.$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957
16958 int
16959 main ()
16960 {
16961 #ifndef __POWERPC__
16962 choke me for lack of PowerPC
16963 #endif
16964
16965 ;
16966 return 0;
16967 }
16968 _ACEOF
16969 rm -f conftest.$ac_objext
16970 if { (ac_try="$ac_compile"
16971 case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16974 esac
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_compile") 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } && {
16983 test -z "$ac_c_werror_flag" ||
16984 test ! -s conftest.err
16985 } && test -s conftest.$ac_objext; then
16986 { echo "$as_me:$LINENO: result: yes" >&5
16987 echo "${ECHO_T}yes" >&6; }
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16991
16992 { echo "$as_me:$LINENO: result: no" >&5
16993 echo "${ECHO_T}no" >&6; }
16994 cat >>confdefs.h <<\_ACEOF
16995 #define __POWERPC__ 1
16996 _ACEOF
16997
16998
16999 fi
17000
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 ;;
17003 esac
17004
17005 case "${host}" in
17006 *-*-darwin* )
17007 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17008 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17009 cat >conftest.$ac_ext <<_ACEOF
17010 /* confdefs.h. */
17011 _ACEOF
17012 cat confdefs.h >>conftest.$ac_ext
17013 cat >>conftest.$ac_ext <<_ACEOF
17014 /* end confdefs.h. */
17015 #include <CoreFoundation/CFBase.h>
17016
17017 int
17018 main ()
17019 {
17020
17021 ;
17022 return 0;
17023 }
17024 _ACEOF
17025 rm -f conftest.$ac_objext
17026 if { (ac_try="$ac_compile"
17027 case "(($ac_try" in
17028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17029 *) ac_try_echo=$ac_try;;
17030 esac
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_compile") 2>conftest.er1
17033 ac_status=$?
17034 grep -v '^ *+' conftest.er1 >conftest.err
17035 rm -f conftest.er1
17036 cat conftest.err >&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } && {
17039 test -z "$ac_c_werror_flag" ||
17040 test ! -s conftest.err
17041 } && test -s conftest.$ac_objext; then
17042 { echo "$as_me:$LINENO: result: yes" >&5
17043 echo "${ECHO_T}yes" >&6; }
17044 else
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.$ac_ext >&5
17047
17048 { echo "$as_me:$LINENO: result: no" >&5
17049 echo "${ECHO_T}no" >&6; }
17050 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17051 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 #define __CF_USE_FRAMEWORK_INCLUDES__
17059 #include <CoreFoundation/CFBase.h>
17060
17061 int
17062 main ()
17063 {
17064
17065 ;
17066 return 0;
17067 }
17068 _ACEOF
17069 rm -f conftest.$ac_objext
17070 if { (ac_try="$ac_compile"
17071 case "(($ac_try" in
17072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17073 *) ac_try_echo=$ac_try;;
17074 esac
17075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17076 (eval "$ac_compile") 2>conftest.er1
17077 ac_status=$?
17078 grep -v '^ *+' conftest.er1 >conftest.err
17079 rm -f conftest.er1
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } && {
17083 test -z "$ac_c_werror_flag" ||
17084 test ! -s conftest.err
17085 } && test -s conftest.$ac_objext; then
17086 { echo "$as_me:$LINENO: result: yes" >&5
17087 echo "${ECHO_T}yes" >&6; }
17088 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17089 else
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17092
17093 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17094 See \`config.log' for more details." >&5
17095 echo "$as_me: error: no. CoreFoundation not available.
17096 See \`config.log' for more details." >&2;}
17097 { (exit 1); exit 1; }; }
17098
17099 fi
17100
17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102
17103
17104 fi
17105
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17107 ;;
17108 esac
17109
17110 wants_win32=0
17111 doesnt_want_win32=0
17112 case "${host}" in
17113 *-*-cygwin*)
17114 if test "$wxUSE_MSW" = 1 ; then
17115 wants_win32=1
17116 else
17117 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17118 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17119 if test "${wx_cv_nocygwin+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129
17130 int
17131 main ()
17132 {
17133
17134 #ifdef __MINGW32__
17135 choke me
17136 #endif
17137
17138 ;
17139 return 0;
17140 }
17141 _ACEOF
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17147 esac
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17159 wx_cv_nocygwin=no
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17163
17164 wx_cv_nocygwin=yes
17165
17166 fi
17167
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170
17171 fi
17172 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17173 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17174
17175 if test "$wx_cv_nocygwin" = "yes"; then
17176 wants_win32=1
17177 else
17178 doesnt_want_win32=1
17179 fi
17180 fi
17181 if test "$wants_win32" = 1 ; then
17182 BAKEFILE_FORCE_PLATFORM=win32
17183 fi
17184 ;;
17185 *-*-mingw*)
17186 wants_win32=1
17187 ;;
17188 esac
17189
17190 if test "$wxUSE_WINE" = "yes"; then
17191 wants_win32=1
17192 LDFLAGS_GUI="-mwindows"
17193 fi
17194
17195 if test "$wants_win32" = 1 ; then
17196 USE_UNIX=0
17197 USE_WIN32=1
17198 cat >>confdefs.h <<\_ACEOF
17199 #define __WIN32__ 1
17200 _ACEOF
17201
17202 cat >>confdefs.h <<\_ACEOF
17203 #define __WIN95__ 1
17204 _ACEOF
17205
17206 cat >>confdefs.h <<\_ACEOF
17207 #define __WINDOWS__ 1
17208 _ACEOF
17209
17210 cat >>confdefs.h <<\_ACEOF
17211 #define __GNUWIN32__ 1
17212 _ACEOF
17213
17214 cat >>confdefs.h <<\_ACEOF
17215 #define STRICT 1
17216 _ACEOF
17217
17218 fi
17219 if test "$doesnt_want_win32" = 1 ; then
17220 USE_UNIX=1
17221 USE_WIN32=0
17222 fi
17223
17224 if test "$USE_UNIX" = 1 ; then
17225 wxUSE_UNIX=yes
17226 cat >>confdefs.h <<\_ACEOF
17227 #define __UNIX__ 1
17228 _ACEOF
17229
17230 fi
17231
17232 case "${host}" in
17233 *-pc-os2_emx | *-pc-os2-emx )
17234 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17235 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17236 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17237 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 ac_check_lib_save_LIBS=$LIBS
17241 LIBS="-lcExt $LIBS"
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248
17249 /* Override any GCC internal prototype to avoid an error.
17250 Use char because int might match the return type of a GCC
17251 builtin and then its argument prototype would still apply. */
17252 #ifdef __cplusplus
17253 extern "C"
17254 #endif
17255 char drand48 ();
17256 int
17257 main ()
17258 {
17259 return drand48 ();
17260 ;
17261 return 0;
17262 }
17263 _ACEOF
17264 rm -f conftest.$ac_objext conftest$ac_exeext
17265 if { (ac_try="$ac_link"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17268 *) ac_try_echo=$ac_try;;
17269 esac
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_link") 2>conftest.er1
17272 ac_status=$?
17273 grep -v '^ *+' conftest.er1 >conftest.err
17274 rm -f conftest.er1
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_c_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest$ac_exeext &&
17281 $as_test_x conftest$ac_exeext; then
17282 ac_cv_lib_cExt_drand48=yes
17283 else
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.$ac_ext >&5
17286
17287 ac_cv_lib_cExt_drand48=no
17288 fi
17289
17290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17291 conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_lib_save_LIBS
17293 fi
17294 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17295 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17296 if test $ac_cv_lib_cExt_drand48 = yes; then
17297 LIBS="$LIBS -lcExt"
17298 fi
17299
17300 else
17301 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17302 fi
17303 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17304 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17305 if test "${wx_cv_gccversion+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308
17309 if test "$cross_compiling" = yes; then
17310 wx_cv_gccversion="EMX2"
17311
17312 else
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319
17320 #include <stdio.h>
17321
17322 int main()
17323 {
17324 FILE *f=fopen("conftestval", "w");
17325 if (!f) exit(1);
17326 fprintf(f,
17327 #if (__GNUC__ < 3)
17328 "EMX2"
17329 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17330 "EMX3"
17331 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17332 "Innotek5"
17333 #else
17334 "Innotek6"
17335 #endif
17336 );
17337 exit(0);
17338 }
17339
17340 _ACEOF
17341 rm -f conftest$ac_exeext
17342 if { (ac_try="$ac_link"
17343 case "(($ac_try" in
17344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17345 *) ac_try_echo=$ac_try;;
17346 esac
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_link") 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17352 { (case "(($ac_try" in
17353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17354 *) ac_try_echo=$ac_try;;
17355 esac
17356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17357 (eval "$ac_try") 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; }; then
17361 wx_cv_gccversion=`cat conftestval`
17362 else
17363 echo "$as_me: program exited with status $ac_status" >&5
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 ( exit $ac_status )
17368 wx_cv_gccversion="EMX2"
17369 fi
17370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17371 fi
17372
17373
17374
17375 fi
17376 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17377 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17378 if test "$wx_cv_gccversion" = "EMX2"; then
17379 LIBS="$LIBS -lstdcpp"
17380 LDFLAGS="$LDFLAGS -Zsysv-signals"
17381 else
17382 if test "$wx_cv_gccversion" = "EMX3"; then
17383 LIBS="$LIBS -lstdcxx -lgcc"
17384 LDFLAGS="$LDFLAGS -Zsysv-signals"
17385 else
17386 LIBS="$LIBS -lstdc++"
17387 fi
17388 fi
17389 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17390 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17391 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17392 wxUSE_OMF=yes
17393 enable_omf=yes
17394 fi
17395 ;;
17396 *)
17397
17398 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17399 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17400 if test "${ac_cv_string_strcasecmp+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403
17404 cat >conftest.$ac_ext <<_ACEOF
17405 /* confdefs.h. */
17406 _ACEOF
17407 cat confdefs.h >>conftest.$ac_ext
17408 cat >>conftest.$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17410
17411 #include <string.h>
17412
17413 int
17414 main ()
17415 {
17416
17417 strcasecmp("foo", "bar");
17418
17419 ;
17420 return 0;
17421 }
17422 _ACEOF
17423 rm -f conftest.$ac_objext conftest$ac_exeext
17424 if { (ac_try="$ac_link"
17425 case "(($ac_try" in
17426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17427 *) ac_try_echo=$ac_try;;
17428 esac
17429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17430 (eval "$ac_link") 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } && {
17437 test -z "$ac_c_werror_flag" ||
17438 test ! -s conftest.err
17439 } && test -s conftest$ac_exeext &&
17440 $as_test_x conftest$ac_exeext; then
17441 ac_cv_string_strcasecmp=yes
17442 else
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17445
17446 ac_cv_string_strcasecmp=no
17447
17448 fi
17449
17450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17451 conftest$ac_exeext conftest.$ac_ext
17452
17453 fi
17454 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17455 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17456
17457 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17458 cat >>confdefs.h <<\_ACEOF
17459 #define HAVE_STRCASECMP_IN_STRING_H 1
17460 _ACEOF
17461
17462 else
17463 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17464 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17465 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 else
17468
17469 cat >conftest.$ac_ext <<_ACEOF
17470 /* confdefs.h. */
17471 _ACEOF
17472 cat confdefs.h >>conftest.$ac_ext
17473 cat >>conftest.$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17475
17476 #include <strings.h>
17477
17478 int
17479 main ()
17480 {
17481
17482 strcasecmp("foo", "bar");
17483
17484 ;
17485 return 0;
17486 }
17487 _ACEOF
17488 rm -f conftest.$ac_objext conftest$ac_exeext
17489 if { (ac_try="$ac_link"
17490 case "(($ac_try" in
17491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17492 *) ac_try_echo=$ac_try;;
17493 esac
17494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17495 (eval "$ac_link") 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } && {
17502 test -z "$ac_c_werror_flag" ||
17503 test ! -s conftest.err
17504 } && test -s conftest$ac_exeext &&
17505 $as_test_x conftest$ac_exeext; then
17506 ac_cv_strings_strcasecmp=yes
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 ac_cv_strings_strcasecmp=no
17512
17513 fi
17514
17515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17516 conftest$ac_exeext conftest.$ac_ext
17517
17518 fi
17519 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17520 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17521
17522 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17523 cat >>confdefs.h <<\_ACEOF
17524 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17525 _ACEOF
17526
17527 else
17528 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17529 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17530 { (exit 1); exit 1; }; }
17531 fi
17532 fi
17533
17534 ;;
17535 esac
17536
17537
17538 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17539 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17540 if test "${ac_cv_header_stdc+set}" = set; then
17541 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 else
17543 cat >conftest.$ac_ext <<_ACEOF
17544 /* confdefs.h. */
17545 _ACEOF
17546 cat confdefs.h >>conftest.$ac_ext
17547 cat >>conftest.$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 #include <stdlib.h>
17550 #include <stdarg.h>
17551 #include <string.h>
17552 #include <float.h>
17553
17554 int
17555 main ()
17556 {
17557
17558 ;
17559 return 0;
17560 }
17561 _ACEOF
17562 rm -f conftest.$ac_objext
17563 if { (ac_try="$ac_compile"
17564 case "(($ac_try" in
17565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17566 *) ac_try_echo=$ac_try;;
17567 esac
17568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17569 (eval "$ac_compile") 2>conftest.er1
17570 ac_status=$?
17571 grep -v '^ *+' conftest.er1 >conftest.err
17572 rm -f conftest.er1
17573 cat conftest.err >&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } && {
17576 test -z "$ac_c_werror_flag" ||
17577 test ! -s conftest.err
17578 } && test -s conftest.$ac_objext; then
17579 ac_cv_header_stdc=yes
17580 else
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17583
17584 ac_cv_header_stdc=no
17585 fi
17586
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588
17589 if test $ac_cv_header_stdc = yes; then
17590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #include <string.h>
17598
17599 _ACEOF
17600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17601 $EGREP "memchr" >/dev/null 2>&1; then
17602 :
17603 else
17604 ac_cv_header_stdc=no
17605 fi
17606 rm -f conftest*
17607
17608 fi
17609
17610 if test $ac_cv_header_stdc = yes; then
17611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 #include <stdlib.h>
17619
17620 _ACEOF
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "free" >/dev/null 2>&1; then
17623 :
17624 else
17625 ac_cv_header_stdc=no
17626 fi
17627 rm -f conftest*
17628
17629 fi
17630
17631 if test $ac_cv_header_stdc = yes; then
17632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17633 if test "$cross_compiling" = yes; then
17634 :
17635 else
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 #include <ctype.h>
17643 #include <stdlib.h>
17644 #if ((' ' & 0x0FF) == 0x020)
17645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17647 #else
17648 # define ISLOWER(c) \
17649 (('a' <= (c) && (c) <= 'i') \
17650 || ('j' <= (c) && (c) <= 'r') \
17651 || ('s' <= (c) && (c) <= 'z'))
17652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17653 #endif
17654
17655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17656 int
17657 main ()
17658 {
17659 int i;
17660 for (i = 0; i < 256; i++)
17661 if (XOR (islower (i), ISLOWER (i))
17662 || toupper (i) != TOUPPER (i))
17663 return 2;
17664 return 0;
17665 }
17666 _ACEOF
17667 rm -f conftest$ac_exeext
17668 if { (ac_try="$ac_link"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17671 *) ac_try_echo=$ac_try;;
17672 esac
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_link") 2>&5
17675 ac_status=$?
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17678 { (case "(($ac_try" in
17679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17680 *) ac_try_echo=$ac_try;;
17681 esac
17682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683 (eval "$ac_try") 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 :
17688 else
17689 echo "$as_me: program exited with status $ac_status" >&5
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17692
17693 ( exit $ac_status )
17694 ac_cv_header_stdc=no
17695 fi
17696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17697 fi
17698
17699
17700 fi
17701 fi
17702 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17703 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17704 if test $ac_cv_header_stdc = yes; then
17705
17706 cat >>confdefs.h <<\_ACEOF
17707 #define STDC_HEADERS 1
17708 _ACEOF
17709
17710 fi
17711
17712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17723 inttypes.h stdint.h unistd.h
17724 do
17725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 else
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738
17739 #include <$ac_header>
17740 _ACEOF
17741 rm -f conftest.$ac_objext
17742 if { (ac_try="$ac_compile"
17743 case "(($ac_try" in
17744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17746 esac
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_compile") 2>conftest.er1
17749 ac_status=$?
17750 grep -v '^ *+' conftest.er1 >conftest.err
17751 rm -f conftest.er1
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } && {
17755 test -z "$ac_c_werror_flag" ||
17756 test ! -s conftest.err
17757 } && test -s conftest.$ac_objext; then
17758 eval "$as_ac_Header=yes"
17759 else
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17762
17763 eval "$as_ac_Header=no"
17764 fi
17765
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767 fi
17768 ac_res=`eval echo '${'$as_ac_Header'}'`
17769 { echo "$as_me:$LINENO: result: $ac_res" >&5
17770 echo "${ECHO_T}$ac_res" >&6; }
17771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17772 cat >>confdefs.h <<_ACEOF
17773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17774 _ACEOF
17775
17776 fi
17777
17778 done
17779
17780
17781
17782
17783
17784
17785
17786
17787 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17788 do
17789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17793 echo $ECHO_N "(cached) $ECHO_C" >&6
17794 else
17795 cat >conftest.$ac_ext <<_ACEOF
17796 /* confdefs.h. */
17797 _ACEOF
17798 cat confdefs.h >>conftest.$ac_ext
17799 cat >>conftest.$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 $ac_includes_default
17802
17803 #include <$ac_header>
17804 _ACEOF
17805 rm -f conftest.$ac_objext
17806 if { (ac_try="$ac_compile"
17807 case "(($ac_try" in
17808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17809 *) ac_try_echo=$ac_try;;
17810 esac
17811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17812 (eval "$ac_compile") 2>conftest.er1
17813 ac_status=$?
17814 grep -v '^ *+' conftest.er1 >conftest.err
17815 rm -f conftest.er1
17816 cat conftest.err >&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); } && {
17819 test -z "$ac_c_werror_flag" ||
17820 test ! -s conftest.err
17821 } && test -s conftest.$ac_objext; then
17822 eval "$as_ac_Header=yes"
17823 else
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17826
17827 eval "$as_ac_Header=no"
17828 fi
17829
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831 fi
17832 ac_res=`eval echo '${'$as_ac_Header'}'`
17833 { echo "$as_me:$LINENO: result: $ac_res" >&5
17834 echo "${ECHO_T}$ac_res" >&6; }
17835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17836 cat >>confdefs.h <<_ACEOF
17837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17838 _ACEOF
17839
17840 fi
17841
17842 done
17843
17844
17845 if test "$ac_cv_header_wchar_h" != "yes"; then
17846 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17847 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17848 if test "${ac_cv_header_wcstr_h+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 $ac_includes_default
17858
17859 #include <wcstr.h>
17860 _ACEOF
17861 rm -f conftest.$ac_objext
17862 if { (ac_try="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17866 esac
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_c_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 ac_cv_header_wcstr_h=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 ac_cv_header_wcstr_h=no
17884 fi
17885
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 fi
17888 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17889 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17890
17891
17892 fi
17893
17894 case "${host}" in
17895 *-pc-os2_emx | *-pc-os2-emx )
17896 if test $ac_cv_header_langinfo_h = "yes" \
17897 -a \( "$wx_cv_gccversion" = "EMX2" \
17898 -o "$wx_cv_gccversion" = "EMX3" \
17899 -o "$wx_cv_gccversion" = "Innotek5" \); then
17900 LIBS="$LIBS -lintl"
17901 fi
17902 ;;
17903 esac
17904
17905 if test "$USE_UNIX" = 1 ; then
17906 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17907 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17908 if test "${ac_cv_header_sys_select_h+set}" = set; then
17909 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 else
17911 cat >conftest.$ac_ext <<_ACEOF
17912 /* confdefs.h. */
17913 _ACEOF
17914 cat confdefs.h >>conftest.$ac_ext
17915 cat >>conftest.$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17917 $ac_includes_default
17918
17919 #include <sys/select.h>
17920 _ACEOF
17921 rm -f conftest.$ac_objext
17922 if { (ac_try="$ac_compile"
17923 case "(($ac_try" in
17924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17925 *) ac_try_echo=$ac_try;;
17926 esac
17927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17928 (eval "$ac_compile") 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } && {
17935 test -z "$ac_c_werror_flag" ||
17936 test ! -s conftest.err
17937 } && test -s conftest.$ac_objext; then
17938 ac_cv_header_sys_select_h=yes
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17942
17943 ac_cv_header_sys_select_h=no
17944 fi
17945
17946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 fi
17948 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17949 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17950
17951
17952 fi
17953
17954
17955 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17956 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17957 if test "${ac_cv_c_const+set}" = set; then
17958 echo $ECHO_N "(cached) $ECHO_C" >&6
17959 else
17960 cat >conftest.$ac_ext <<_ACEOF
17961 /* confdefs.h. */
17962 _ACEOF
17963 cat confdefs.h >>conftest.$ac_ext
17964 cat >>conftest.$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17966
17967 int
17968 main ()
17969 {
17970 /* FIXME: Include the comments suggested by Paul. */
17971 #ifndef __cplusplus
17972 /* Ultrix mips cc rejects this. */
17973 typedef int charset[2];
17974 const charset cs;
17975 /* SunOS 4.1.1 cc rejects this. */
17976 char const *const *pcpcc;
17977 char **ppc;
17978 /* NEC SVR4.0.2 mips cc rejects this. */
17979 struct point {int x, y;};
17980 static struct point const zero = {0,0};
17981 /* AIX XL C 1.02.0.0 rejects this.
17982 It does not let you subtract one const X* pointer from another in
17983 an arm of an if-expression whose if-part is not a constant
17984 expression */
17985 const char *g = "string";
17986 pcpcc = &g + (g ? g-g : 0);
17987 /* HPUX 7.0 cc rejects these. */
17988 ++pcpcc;
17989 ppc = (char**) pcpcc;
17990 pcpcc = (char const *const *) ppc;
17991 { /* SCO 3.2v4 cc rejects this. */
17992 char *t;
17993 char const *s = 0 ? (char *) 0 : (char const *) 0;
17994
17995 *t++ = 0;
17996 if (s) return 0;
17997 }
17998 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17999 int x[] = {25, 17};
18000 const int *foo = &x[0];
18001 ++foo;
18002 }
18003 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18004 typedef const int *iptr;
18005 iptr p = 0;
18006 ++p;
18007 }
18008 { /* AIX XL C 1.02.0.0 rejects this saying
18009 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18010 struct s { int j; const int *ap[3]; };
18011 struct s *b; b->j = 5;
18012 }
18013 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18014 const int foo = 10;
18015 if (!foo) return 0;
18016 }
18017 return !cs[0] && !zero.x;
18018 #endif
18019
18020 ;
18021 return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18028 *) ac_try_echo=$ac_try;;
18029 esac
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18032 ac_status=$?
18033 grep -v '^ *+' conftest.er1 >conftest.err
18034 rm -f conftest.er1
18035 cat conftest.err >&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_c_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.$ac_objext; then
18041 ac_cv_c_const=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 ac_cv_c_const=no
18047 fi
18048
18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050 fi
18051 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18052 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18053 if test $ac_cv_c_const = no; then
18054
18055 cat >>confdefs.h <<\_ACEOF
18056 #define const
18057 _ACEOF
18058
18059 fi
18060
18061 { echo "$as_me:$LINENO: checking for inline" >&5
18062 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18063 if test "${ac_cv_c_inline+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 else
18066 ac_cv_c_inline=no
18067 for ac_kw in inline __inline__ __inline; do
18068 cat >conftest.$ac_ext <<_ACEOF
18069 /* confdefs.h. */
18070 _ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18074 #ifndef __cplusplus
18075 typedef int foo_t;
18076 static $ac_kw foo_t static_foo () {return 0; }
18077 $ac_kw foo_t foo () {return 0; }
18078 #endif
18079
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (ac_try="$ac_compile"
18083 case "(($ac_try" in
18084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18085 *) ac_try_echo=$ac_try;;
18086 esac
18087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18088 (eval "$ac_compile") 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && {
18095 test -z "$ac_c_werror_flag" ||
18096 test ! -s conftest.err
18097 } && test -s conftest.$ac_objext; then
18098 ac_cv_c_inline=$ac_kw
18099 else
18100 echo "$as_me: failed program was:" >&5
18101 sed 's/^/| /' conftest.$ac_ext >&5
18102
18103
18104 fi
18105
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107 test "$ac_cv_c_inline" != no && break
18108 done
18109
18110 fi
18111 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18112 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18113
18114
18115 case $ac_cv_c_inline in
18116 inline | yes) ;;
18117 *)
18118 case $ac_cv_c_inline in
18119 no) ac_val=;;
18120 *) ac_val=$ac_cv_c_inline;;
18121 esac
18122 cat >>confdefs.h <<_ACEOF
18123 #ifndef __cplusplus
18124 #define inline $ac_val
18125 #endif
18126 _ACEOF
18127 ;;
18128 esac
18129
18130
18131 { echo "$as_me:$LINENO: checking for short" >&5
18132 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18133 if test "${ac_cv_type_short+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136 cat >conftest.$ac_ext <<_ACEOF
18137 /* confdefs.h. */
18138 _ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 $ac_includes_default
18143 typedef short ac__type_new_;
18144 int
18145 main ()
18146 {
18147 if ((ac__type_new_ *) 0)
18148 return 0;
18149 if (sizeof (ac__type_new_))
18150 return 0;
18151 ;
18152 return 0;
18153 }
18154 _ACEOF
18155 rm -f conftest.$ac_objext
18156 if { (ac_try="$ac_compile"
18157 case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18160 esac
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_compile") 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && {
18169 test -z "$ac_c_werror_flag" ||
18170 test ! -s conftest.err
18171 } && test -s conftest.$ac_objext; then
18172 ac_cv_type_short=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18176
18177 ac_cv_type_short=no
18178 fi
18179
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181 fi
18182 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18183 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18184
18185 # The cast to long int works around a bug in the HP C Compiler
18186 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18187 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18188 # This bug is HP SR number 8606223364.
18189 { echo "$as_me:$LINENO: checking size of short" >&5
18190 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18191 if test "${ac_cv_sizeof_short+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 else
18194 if test "$cross_compiling" = yes; then
18195 # Depending upon the size, compute the lo and hi bounds.
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18203 typedef short ac__type_sizeof_;
18204 int
18205 main ()
18206 {
18207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18208 test_array [0] = 0
18209
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (ac_try="$ac_compile"
18216 case "(($ac_try" in
18217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18218 *) ac_try_echo=$ac_try;;
18219 esac
18220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18221 (eval "$ac_compile") 2>conftest.er1
18222 ac_status=$?
18223 grep -v '^ *+' conftest.er1 >conftest.err
18224 rm -f conftest.er1
18225 cat conftest.err >&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } && {
18228 test -z "$ac_c_werror_flag" ||
18229 test ! -s conftest.err
18230 } && test -s conftest.$ac_objext; then
18231 ac_lo=0 ac_mid=0
18232 while :; do
18233 cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h. */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 $ac_includes_default
18240 typedef short ac__type_sizeof_;
18241 int
18242 main ()
18243 {
18244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18245 test_array [0] = 0
18246
18247 ;
18248 return 0;
18249 }
18250 _ACEOF
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18256 esac
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_c_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 ac_hi=$ac_mid; break
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 ac_lo=`expr $ac_mid + 1`
18274 if test $ac_lo -le $ac_mid; then
18275 ac_lo= ac_hi=
18276 break
18277 fi
18278 ac_mid=`expr 2 '*' $ac_mid + 1`
18279 fi
18280
18281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 done
18283 else
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18286
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 typedef short ac__type_sizeof_;
18295 int
18296 main ()
18297 {
18298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18299 test_array [0] = 0
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18313 ac_status=$?
18314 grep -v '^ *+' conftest.er1 >conftest.err
18315 rm -f conftest.er1
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 ac_hi=-1 ac_mid=-1
18323 while :; do
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330 $ac_includes_default
18331 typedef short ac__type_sizeof_;
18332 int
18333 main ()
18334 {
18335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18336 test_array [0] = 0
18337
18338 ;
18339 return 0;
18340 }
18341 _ACEOF
18342 rm -f conftest.$ac_objext
18343 if { (ac_try="$ac_compile"
18344 case "(($ac_try" in
18345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18346 *) ac_try_echo=$ac_try;;
18347 esac
18348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18349 (eval "$ac_compile") 2>conftest.er1
18350 ac_status=$?
18351 grep -v '^ *+' conftest.er1 >conftest.err
18352 rm -f conftest.er1
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } && {
18356 test -z "$ac_c_werror_flag" ||
18357 test ! -s conftest.err
18358 } && test -s conftest.$ac_objext; then
18359 ac_lo=$ac_mid; break
18360 else
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18363
18364 ac_hi=`expr '(' $ac_mid ')' - 1`
18365 if test $ac_mid -le $ac_hi; then
18366 ac_lo= ac_hi=
18367 break
18368 fi
18369 ac_mid=`expr 2 '*' $ac_mid`
18370 fi
18371
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 done
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18377
18378 ac_lo= ac_hi=
18379 fi
18380
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 fi
18383
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 # Binary search between lo and hi bounds.
18386 while test "x$ac_lo" != "x$ac_hi"; do
18387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 $ac_includes_default
18395 typedef short ac__type_sizeof_;
18396 int
18397 main ()
18398 {
18399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18400 test_array [0] = 0
18401
18402 ;
18403 return 0;
18404 }
18405 _ACEOF
18406 rm -f conftest.$ac_objext
18407 if { (ac_try="$ac_compile"
18408 case "(($ac_try" in
18409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18410 *) ac_try_echo=$ac_try;;
18411 esac
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_compile") 2>conftest.er1
18414 ac_status=$?
18415 grep -v '^ *+' conftest.er1 >conftest.err
18416 rm -f conftest.er1
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_c_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest.$ac_objext; then
18423 ac_hi=$ac_mid
18424 else
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18427
18428 ac_lo=`expr '(' $ac_mid ')' + 1`
18429 fi
18430
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 done
18433 case $ac_lo in
18434 ?*) ac_cv_sizeof_short=$ac_lo;;
18435 '') if test "$ac_cv_type_short" = yes; then
18436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18437 See \`config.log' for more details." >&5
18438 echo "$as_me: error: cannot compute sizeof (short)
18439 See \`config.log' for more details." >&2;}
18440 { (exit 77); exit 77; }; }
18441 else
18442 ac_cv_sizeof_short=0
18443 fi ;;
18444 esac
18445 else
18446 cat >conftest.$ac_ext <<_ACEOF
18447 /* confdefs.h. */
18448 _ACEOF
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 $ac_includes_default
18453 typedef short ac__type_sizeof_;
18454 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18455 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18456 #include <stdio.h>
18457 #include <stdlib.h>
18458 int
18459 main ()
18460 {
18461
18462 FILE *f = fopen ("conftest.val", "w");
18463 if (! f)
18464 return 1;
18465 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18466 {
18467 long int i = longval ();
18468 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18469 return 1;
18470 fprintf (f, "%ld\n", i);
18471 }
18472 else
18473 {
18474 unsigned long int i = ulongval ();
18475 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18476 return 1;
18477 fprintf (f, "%lu\n", i);
18478 }
18479 return ferror (f) || fclose (f) != 0;
18480
18481 ;
18482 return 0;
18483 }
18484 _ACEOF
18485 rm -f conftest$ac_exeext
18486 if { (ac_try="$ac_link"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18490 esac
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_link") 2>&5
18493 ac_status=$?
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
18502 ac_status=$?
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_cv_sizeof_short=`cat conftest.val`
18506 else
18507 echo "$as_me: program exited with status $ac_status" >&5
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18510
18511 ( exit $ac_status )
18512 if test "$ac_cv_type_short" = yes; then
18513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18514 See \`config.log' for more details." >&5
18515 echo "$as_me: error: cannot compute sizeof (short)
18516 See \`config.log' for more details." >&2;}
18517 { (exit 77); exit 77; }; }
18518 else
18519 ac_cv_sizeof_short=0
18520 fi
18521 fi
18522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18523 fi
18524 rm -f conftest.val
18525 fi
18526 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18527 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18528
18529
18530
18531 cat >>confdefs.h <<_ACEOF
18532 #define SIZEOF_SHORT $ac_cv_sizeof_short
18533 _ACEOF
18534
18535
18536 { echo "$as_me:$LINENO: checking for void *" >&5
18537 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18538 if test "${ac_cv_type_void_p+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 $ac_includes_default
18548 typedef void * ac__type_new_;
18549 int
18550 main ()
18551 {
18552 if ((ac__type_new_ *) 0)
18553 return 0;
18554 if (sizeof (ac__type_new_))
18555 return 0;
18556 ;
18557 return 0;
18558 }
18559 _ACEOF
18560 rm -f conftest.$ac_objext
18561 if { (ac_try="$ac_compile"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18564 *) ac_try_echo=$ac_try;;
18565 esac
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_compile") 2>conftest.er1
18568 ac_status=$?
18569 grep -v '^ *+' conftest.er1 >conftest.err
18570 rm -f conftest.er1
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && {
18574 test -z "$ac_c_werror_flag" ||
18575 test ! -s conftest.err
18576 } && test -s conftest.$ac_objext; then
18577 ac_cv_type_void_p=yes
18578 else
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18581
18582 ac_cv_type_void_p=no
18583 fi
18584
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586 fi
18587 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18588 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18589
18590 # The cast to long int works around a bug in the HP C Compiler
18591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18592 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18593 # This bug is HP SR number 8606223364.
18594 { echo "$as_me:$LINENO: checking size of void *" >&5
18595 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18596 if test "${ac_cv_sizeof_void_p+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18599 if test "$cross_compiling" = yes; then
18600 # Depending upon the size, compute the lo and hi bounds.
18601 cat >conftest.$ac_ext <<_ACEOF
18602 /* confdefs.h. */
18603 _ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18608 typedef void * ac__type_sizeof_;
18609 int
18610 main ()
18611 {
18612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18613 test_array [0] = 0
18614
18615 ;
18616 return 0;
18617 }
18618 _ACEOF
18619 rm -f conftest.$ac_objext
18620 if { (ac_try="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18624 esac
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18627 ac_status=$?
18628 grep -v '^ *+' conftest.er1 >conftest.err
18629 rm -f conftest.er1
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18636 ac_lo=0 ac_mid=0
18637 while :; do
18638 cat >conftest.$ac_ext <<_ACEOF
18639 /* confdefs.h. */
18640 _ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 $ac_includes_default
18645 typedef void * ac__type_sizeof_;
18646 int
18647 main ()
18648 {
18649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18650 test_array [0] = 0
18651
18652 ;
18653 return 0;
18654 }
18655 _ACEOF
18656 rm -f conftest.$ac_objext
18657 if { (ac_try="$ac_compile"
18658 case "(($ac_try" in
18659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18660 *) ac_try_echo=$ac_try;;
18661 esac
18662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_compile") 2>conftest.er1
18664 ac_status=$?
18665 grep -v '^ *+' conftest.er1 >conftest.err
18666 rm -f conftest.er1
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && {
18670 test -z "$ac_c_werror_flag" ||
18671 test ! -s conftest.err
18672 } && test -s conftest.$ac_objext; then
18673 ac_hi=$ac_mid; break
18674 else
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.$ac_ext >&5
18677
18678 ac_lo=`expr $ac_mid + 1`
18679 if test $ac_lo -le $ac_mid; then
18680 ac_lo= ac_hi=
18681 break
18682 fi
18683 ac_mid=`expr 2 '*' $ac_mid + 1`
18684 fi
18685
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 done
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18691
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h. */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18699 typedef void * ac__type_sizeof_;
18700 int
18701 main ()
18702 {
18703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18704 test_array [0] = 0
18705
18706 ;
18707 return 0;
18708 }
18709 _ACEOF
18710 rm -f conftest.$ac_objext
18711 if { (ac_try="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18715 esac
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.$ac_objext; then
18727 ac_hi=-1 ac_mid=-1
18728 while :; do
18729 cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h. */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 $ac_includes_default
18736 typedef void * ac__type_sizeof_;
18737 int
18738 main ()
18739 {
18740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18741 test_array [0] = 0
18742
18743 ;
18744 return 0;
18745 }
18746 _ACEOF
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18752 esac
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_c_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then
18764 ac_lo=$ac_mid; break
18765 else
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18768
18769 ac_hi=`expr '(' $ac_mid ')' - 1`
18770 if test $ac_mid -le $ac_hi; then
18771 ac_lo= ac_hi=
18772 break
18773 fi
18774 ac_mid=`expr 2 '*' $ac_mid`
18775 fi
18776
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 done
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18782
18783 ac_lo= ac_hi=
18784 fi
18785
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 fi
18788
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 # Binary search between lo and hi bounds.
18791 while test "x$ac_lo" != "x$ac_hi"; do
18792 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18793 cat >conftest.$ac_ext <<_ACEOF
18794 /* confdefs.h. */
18795 _ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 $ac_includes_default
18800 typedef void * ac__type_sizeof_;
18801 int
18802 main ()
18803 {
18804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18805 test_array [0] = 0
18806
18807 ;
18808 return 0;
18809 }
18810 _ACEOF
18811 rm -f conftest.$ac_objext
18812 if { (ac_try="$ac_compile"
18813 case "(($ac_try" in
18814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18815 *) ac_try_echo=$ac_try;;
18816 esac
18817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18818 (eval "$ac_compile") 2>conftest.er1
18819 ac_status=$?
18820 grep -v '^ *+' conftest.er1 >conftest.err
18821 rm -f conftest.er1
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } && {
18825 test -z "$ac_c_werror_flag" ||
18826 test ! -s conftest.err
18827 } && test -s conftest.$ac_objext; then
18828 ac_hi=$ac_mid
18829 else
18830 echo "$as_me: failed program was:" >&5
18831 sed 's/^/| /' conftest.$ac_ext >&5
18832
18833 ac_lo=`expr '(' $ac_mid ')' + 1`
18834 fi
18835
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837 done
18838 case $ac_lo in
18839 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18840 '') if test "$ac_cv_type_void_p" = yes; then
18841 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18842 See \`config.log' for more details." >&5
18843 echo "$as_me: error: cannot compute sizeof (void *)
18844 See \`config.log' for more details." >&2;}
18845 { (exit 77); exit 77; }; }
18846 else
18847 ac_cv_sizeof_void_p=0
18848 fi ;;
18849 esac
18850 else
18851 cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h. */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 $ac_includes_default
18858 typedef void * ac__type_sizeof_;
18859 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18860 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18861 #include <stdio.h>
18862 #include <stdlib.h>
18863 int
18864 main ()
18865 {
18866
18867 FILE *f = fopen ("conftest.val", "w");
18868 if (! f)
18869 return 1;
18870 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18871 {
18872 long int i = longval ();
18873 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18874 return 1;
18875 fprintf (f, "%ld\n", i);
18876 }
18877 else
18878 {
18879 unsigned long int i = ulongval ();
18880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18881 return 1;
18882 fprintf (f, "%lu\n", i);
18883 }
18884 return ferror (f) || fclose (f) != 0;
18885
18886 ;
18887 return 0;
18888 }
18889 _ACEOF
18890 rm -f conftest$ac_exeext
18891 if { (ac_try="$ac_link"
18892 case "(($ac_try" in
18893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18894 *) ac_try_echo=$ac_try;;
18895 esac
18896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18897 (eval "$ac_link") 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
18907 ac_status=$?
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_cv_sizeof_void_p=`cat conftest.val`
18911 else
18912 echo "$as_me: program exited with status $ac_status" >&5
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18915
18916 ( exit $ac_status )
18917 if test "$ac_cv_type_void_p" = yes; then
18918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18919 See \`config.log' for more details." >&5
18920 echo "$as_me: error: cannot compute sizeof (void *)
18921 See \`config.log' for more details." >&2;}
18922 { (exit 77); exit 77; }; }
18923 else
18924 ac_cv_sizeof_void_p=0
18925 fi
18926 fi
18927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18928 fi
18929 rm -f conftest.val
18930 fi
18931 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18932 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18933
18934
18935
18936 cat >>confdefs.h <<_ACEOF
18937 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18938 _ACEOF
18939
18940
18941 { echo "$as_me:$LINENO: checking for int" >&5
18942 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18943 if test "${ac_cv_type_int+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 else
18946 cat >conftest.$ac_ext <<_ACEOF
18947 /* confdefs.h. */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 $ac_includes_default
18953 typedef int ac__type_new_;
18954 int
18955 main ()
18956 {
18957 if ((ac__type_new_ *) 0)
18958 return 0;
18959 if (sizeof (ac__type_new_))
18960 return 0;
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 rm -f conftest.$ac_objext
18966 if { (ac_try="$ac_compile"
18967 case "(($ac_try" in
18968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18969 *) ac_try_echo=$ac_try;;
18970 esac
18971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18972 (eval "$ac_compile") 2>conftest.er1
18973 ac_status=$?
18974 grep -v '^ *+' conftest.er1 >conftest.err
18975 rm -f conftest.er1
18976 cat conftest.err >&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } && {
18979 test -z "$ac_c_werror_flag" ||
18980 test ! -s conftest.err
18981 } && test -s conftest.$ac_objext; then
18982 ac_cv_type_int=yes
18983 else
18984 echo "$as_me: failed program was:" >&5
18985 sed 's/^/| /' conftest.$ac_ext >&5
18986
18987 ac_cv_type_int=no
18988 fi
18989
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18991 fi
18992 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18993 echo "${ECHO_T}$ac_cv_type_int" >&6; }
18994
18995 # The cast to long int works around a bug in the HP C Compiler
18996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18998 # This bug is HP SR number 8606223364.
18999 { echo "$as_me:$LINENO: checking size of int" >&5
19000 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19001 if test "${ac_cv_sizeof_int+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 else
19004 if test "$cross_compiling" = yes; then
19005 # Depending upon the size, compute the lo and hi bounds.
19006 cat >conftest.$ac_ext <<_ACEOF
19007 /* confdefs.h. */
19008 _ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 $ac_includes_default
19013 typedef int ac__type_sizeof_;
19014 int
19015 main ()
19016 {
19017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19018 test_array [0] = 0
19019
19020 ;
19021 return 0;
19022 }
19023 _ACEOF
19024 rm -f conftest.$ac_objext
19025 if { (ac_try="$ac_compile"
19026 case "(($ac_try" in
19027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19029 esac
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_compile") 2>conftest.er1
19032 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_c_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest.$ac_objext; then
19041 ac_lo=0 ac_mid=0
19042 while :; do
19043 cat >conftest.$ac_ext <<_ACEOF
19044 /* confdefs.h. */
19045 _ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049 $ac_includes_default
19050 typedef int ac__type_sizeof_;
19051 int
19052 main ()
19053 {
19054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19055 test_array [0] = 0
19056
19057 ;
19058 return 0;
19059 }
19060 _ACEOF
19061 rm -f conftest.$ac_objext
19062 if { (ac_try="$ac_compile"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19066 esac
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_compile") 2>conftest.er1
19069 ac_status=$?
19070 grep -v '^ *+' conftest.er1 >conftest.err
19071 rm -f conftest.er1
19072 cat conftest.err >&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } && {
19075 test -z "$ac_c_werror_flag" ||
19076 test ! -s conftest.err
19077 } && test -s conftest.$ac_objext; then
19078 ac_hi=$ac_mid; break
19079 else
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19082
19083 ac_lo=`expr $ac_mid + 1`
19084 if test $ac_lo -le $ac_mid; then
19085 ac_lo= ac_hi=
19086 break
19087 fi
19088 ac_mid=`expr 2 '*' $ac_mid + 1`
19089 fi
19090
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092 done
19093 else
19094 echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.$ac_ext >&5
19096
19097 cat >conftest.$ac_ext <<_ACEOF
19098 /* confdefs.h. */
19099 _ACEOF
19100 cat confdefs.h >>conftest.$ac_ext
19101 cat >>conftest.$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19103 $ac_includes_default
19104 typedef int ac__type_sizeof_;
19105 int
19106 main ()
19107 {
19108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19109 test_array [0] = 0
19110
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 rm -f conftest.$ac_objext
19116 if { (ac_try="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19132 ac_hi=-1 ac_mid=-1
19133 while :; do
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19141 typedef int ac__type_sizeof_;
19142 int
19143 main ()
19144 {
19145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19146 test_array [0] = 0
19147
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 ac_lo=$ac_mid; break
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 ac_hi=`expr '(' $ac_mid ')' - 1`
19175 if test $ac_mid -le $ac_hi; then
19176 ac_lo= ac_hi=
19177 break
19178 fi
19179 ac_mid=`expr 2 '*' $ac_mid`
19180 fi
19181
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 done
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19187
19188 ac_lo= ac_hi=
19189 fi
19190
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192 fi
19193
19194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19195 # Binary search between lo and hi bounds.
19196 while test "x$ac_lo" != "x$ac_hi"; do
19197 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19198 cat >conftest.$ac_ext <<_ACEOF
19199 /* confdefs.h. */
19200 _ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 $ac_includes_default
19205 typedef int ac__type_sizeof_;
19206 int
19207 main ()
19208 {
19209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19210 test_array [0] = 0
19211
19212 ;
19213 return 0;
19214 }
19215 _ACEOF
19216 rm -f conftest.$ac_objext
19217 if { (ac_try="$ac_compile"
19218 case "(($ac_try" in
19219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19220 *) ac_try_echo=$ac_try;;
19221 esac
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_compile") 2>conftest.er1
19224 ac_status=$?
19225 grep -v '^ *+' conftest.er1 >conftest.err
19226 rm -f conftest.er1
19227 cat conftest.err >&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } && {
19230 test -z "$ac_c_werror_flag" ||
19231 test ! -s conftest.err
19232 } && test -s conftest.$ac_objext; then
19233 ac_hi=$ac_mid
19234 else
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19237
19238 ac_lo=`expr '(' $ac_mid ')' + 1`
19239 fi
19240
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242 done
19243 case $ac_lo in
19244 ?*) ac_cv_sizeof_int=$ac_lo;;
19245 '') if test "$ac_cv_type_int" = yes; then
19246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19247 See \`config.log' for more details." >&5
19248 echo "$as_me: error: cannot compute sizeof (int)
19249 See \`config.log' for more details." >&2;}
19250 { (exit 77); exit 77; }; }
19251 else
19252 ac_cv_sizeof_int=0
19253 fi ;;
19254 esac
19255 else
19256 cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19263 typedef int ac__type_sizeof_;
19264 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19265 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19266 #include <stdio.h>
19267 #include <stdlib.h>
19268 int
19269 main ()
19270 {
19271
19272 FILE *f = fopen ("conftest.val", "w");
19273 if (! f)
19274 return 1;
19275 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19276 {
19277 long int i = longval ();
19278 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19279 return 1;
19280 fprintf (f, "%ld\n", i);
19281 }
19282 else
19283 {
19284 unsigned long int i = ulongval ();
19285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19286 return 1;
19287 fprintf (f, "%lu\n", i);
19288 }
19289 return ferror (f) || fclose (f) != 0;
19290
19291 ;
19292 return 0;
19293 }
19294 _ACEOF
19295 rm -f conftest$ac_exeext
19296 if { (ac_try="$ac_link"
19297 case "(($ac_try" in
19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19300 esac
19301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_link") 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 ac_cv_sizeof_int=`cat conftest.val`
19316 else
19317 echo "$as_me: program exited with status $ac_status" >&5
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19320
19321 ( exit $ac_status )
19322 if test "$ac_cv_type_int" = yes; then
19323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19324 See \`config.log' for more details." >&5
19325 echo "$as_me: error: cannot compute sizeof (int)
19326 See \`config.log' for more details." >&2;}
19327 { (exit 77); exit 77; }; }
19328 else
19329 ac_cv_sizeof_int=0
19330 fi
19331 fi
19332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19333 fi
19334 rm -f conftest.val
19335 fi
19336 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19337 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19338
19339
19340
19341 cat >>confdefs.h <<_ACEOF
19342 #define SIZEOF_INT $ac_cv_sizeof_int
19343 _ACEOF
19344
19345
19346 { echo "$as_me:$LINENO: checking for long" >&5
19347 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19348 if test "${ac_cv_type_long+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 else
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358 typedef long ac__type_new_;
19359 int
19360 main ()
19361 {
19362 if ((ac__type_new_ *) 0)
19363 return 0;
19364 if (sizeof (ac__type_new_))
19365 return 0;
19366 ;
19367 return 0;
19368 }
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_type_long=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19391
19392 ac_cv_type_long=no
19393 fi
19394
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19396 fi
19397 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19398 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19399
19400 # The cast to long int works around a bug in the HP C Compiler
19401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19403 # This bug is HP SR number 8606223364.
19404 { echo "$as_me:$LINENO: checking size of long" >&5
19405 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19406 if test "${ac_cv_sizeof_long+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 else
19409 if test "$cross_compiling" = yes; then
19410 # Depending upon the size, compute the lo and hi bounds.
19411 cat >conftest.$ac_ext <<_ACEOF
19412 /* confdefs.h. */
19413 _ACEOF
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 $ac_includes_default
19418 typedef long ac__type_sizeof_;
19419 int
19420 main ()
19421 {
19422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19423 test_array [0] = 0
19424
19425 ;
19426 return 0;
19427 }
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (ac_try="$ac_compile"
19431 case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19434 esac
19435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_compile") 2>conftest.er1
19437 ac_status=$?
19438 grep -v '^ *+' conftest.er1 >conftest.err
19439 rm -f conftest.er1
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_c_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest.$ac_objext; then
19446 ac_lo=0 ac_mid=0
19447 while :; do
19448 cat >conftest.$ac_ext <<_ACEOF
19449 /* confdefs.h. */
19450 _ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 typedef long ac__type_sizeof_;
19456 int
19457 main ()
19458 {
19459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19460 test_array [0] = 0
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19471 esac
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && {
19480 test -z "$ac_c_werror_flag" ||
19481 test ! -s conftest.err
19482 } && test -s conftest.$ac_objext; then
19483 ac_hi=$ac_mid; break
19484 else
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.$ac_ext >&5
19487
19488 ac_lo=`expr $ac_mid + 1`
19489 if test $ac_lo -le $ac_mid; then
19490 ac_lo= ac_hi=
19491 break
19492 fi
19493 ac_mid=`expr 2 '*' $ac_mid + 1`
19494 fi
19495
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 done
19498 else
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19501
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19509 typedef long ac__type_sizeof_;
19510 int
19511 main ()
19512 {
19513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19514 test_array [0] = 0
19515
19516 ;
19517 return 0;
19518 }
19519 _ACEOF
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19525 esac
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } && {
19534 test -z "$ac_c_werror_flag" ||
19535 test ! -s conftest.err
19536 } && test -s conftest.$ac_objext; then
19537 ac_hi=-1 ac_mid=-1
19538 while :; do
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef long ac__type_sizeof_;
19547 int
19548 main ()
19549 {
19550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19551 test_array [0] = 0
19552
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_lo=$ac_mid; break
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19578
19579 ac_hi=`expr '(' $ac_mid ')' - 1`
19580 if test $ac_mid -le $ac_hi; then
19581 ac_lo= ac_hi=
19582 break
19583 fi
19584 ac_mid=`expr 2 '*' $ac_mid`
19585 fi
19586
19587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 done
19589 else
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19592
19593 ac_lo= ac_hi=
19594 fi
19595
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19597 fi
19598
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 # Binary search between lo and hi bounds.
19601 while test "x$ac_lo" != "x$ac_hi"; do
19602 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19610 typedef long ac__type_sizeof_;
19611 int
19612 main ()
19613 {
19614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19615 test_array [0] = 0
19616
19617 ;
19618 return 0;
19619 }
19620 _ACEOF
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19626 esac
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19638 ac_hi=$ac_mid
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 ac_lo=`expr '(' $ac_mid ')' + 1`
19644 fi
19645
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19647 done
19648 case $ac_lo in
19649 ?*) ac_cv_sizeof_long=$ac_lo;;
19650 '') if test "$ac_cv_type_long" = yes; then
19651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19652 See \`config.log' for more details." >&5
19653 echo "$as_me: error: cannot compute sizeof (long)
19654 See \`config.log' for more details." >&2;}
19655 { (exit 77); exit 77; }; }
19656 else
19657 ac_cv_sizeof_long=0
19658 fi ;;
19659 esac
19660 else
19661 cat >conftest.$ac_ext <<_ACEOF
19662 /* confdefs.h. */
19663 _ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 $ac_includes_default
19668 typedef long ac__type_sizeof_;
19669 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19670 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19671 #include <stdio.h>
19672 #include <stdlib.h>
19673 int
19674 main ()
19675 {
19676
19677 FILE *f = fopen ("conftest.val", "w");
19678 if (! f)
19679 return 1;
19680 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19681 {
19682 long int i = longval ();
19683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19684 return 1;
19685 fprintf (f, "%ld\n", i);
19686 }
19687 else
19688 {
19689 unsigned long int i = ulongval ();
19690 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19691 return 1;
19692 fprintf (f, "%lu\n", i);
19693 }
19694 return ferror (f) || fclose (f) != 0;
19695
19696 ;
19697 return 0;
19698 }
19699 _ACEOF
19700 rm -f conftest$ac_exeext
19701 if { (ac_try="$ac_link"
19702 case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19705 esac
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_link") 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 ac_cv_sizeof_long=`cat conftest.val`
19721 else
19722 echo "$as_me: program exited with status $ac_status" >&5
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ( exit $ac_status )
19727 if test "$ac_cv_type_long" = yes; then
19728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19729 See \`config.log' for more details." >&5
19730 echo "$as_me: error: cannot compute sizeof (long)
19731 See \`config.log' for more details." >&2;}
19732 { (exit 77); exit 77; }; }
19733 else
19734 ac_cv_sizeof_long=0
19735 fi
19736 fi
19737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19738 fi
19739 rm -f conftest.val
19740 fi
19741 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19742 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19743
19744
19745
19746 cat >>confdefs.h <<_ACEOF
19747 #define SIZEOF_LONG $ac_cv_sizeof_long
19748 _ACEOF
19749
19750
19751 { echo "$as_me:$LINENO: checking for size_t" >&5
19752 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19753 if test "${ac_cv_type_size_t+set}" = set; then
19754 echo $ECHO_N "(cached) $ECHO_C" >&6
19755 else
19756 cat >conftest.$ac_ext <<_ACEOF
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 $ac_includes_default
19763 typedef size_t ac__type_new_;
19764 int
19765 main ()
19766 {
19767 if ((ac__type_new_ *) 0)
19768 return 0;
19769 if (sizeof (ac__type_new_))
19770 return 0;
19771 ;
19772 return 0;
19773 }
19774 _ACEOF
19775 rm -f conftest.$ac_objext
19776 if { (ac_try="$ac_compile"
19777 case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19780 esac
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_compile") 2>conftest.er1
19783 ac_status=$?
19784 grep -v '^ *+' conftest.er1 >conftest.err
19785 rm -f conftest.er1
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest.$ac_objext; then
19792 ac_cv_type_size_t=yes
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 ac_cv_type_size_t=no
19798 fi
19799
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 fi
19802 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19803 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19804
19805 # The cast to long int works around a bug in the HP C Compiler
19806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19808 # This bug is HP SR number 8606223364.
19809 { echo "$as_me:$LINENO: checking size of size_t" >&5
19810 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19811 if test "${ac_cv_sizeof_size_t+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 else
19814 if test "$cross_compiling" = yes; then
19815 # Depending upon the size, compute the lo and hi bounds.
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19823 typedef size_t ac__type_sizeof_;
19824 int
19825 main ()
19826 {
19827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19828 test_array [0] = 0
19829
19830 ;
19831 return 0;
19832 }
19833 _ACEOF
19834 rm -f conftest.$ac_objext
19835 if { (ac_try="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19839 esac
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19842 ac_status=$?
19843 grep -v '^ *+' conftest.er1 >conftest.err
19844 rm -f conftest.er1
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest.$ac_objext; then
19851 ac_lo=0 ac_mid=0
19852 while :; do
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19860 typedef size_t ac__type_sizeof_;
19861 int
19862 main ()
19863 {
19864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19865 test_array [0] = 0
19866
19867 ;
19868 return 0;
19869 }
19870 _ACEOF
19871 rm -f conftest.$ac_objext
19872 if { (ac_try="$ac_compile"
19873 case "(($ac_try" in
19874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19875 *) ac_try_echo=$ac_try;;
19876 esac
19877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19878 (eval "$ac_compile") 2>conftest.er1
19879 ac_status=$?
19880 grep -v '^ *+' conftest.er1 >conftest.err
19881 rm -f conftest.er1
19882 cat conftest.err >&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && {
19885 test -z "$ac_c_werror_flag" ||
19886 test ! -s conftest.err
19887 } && test -s conftest.$ac_objext; then
19888 ac_hi=$ac_mid; break
19889 else
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19892
19893 ac_lo=`expr $ac_mid + 1`
19894 if test $ac_lo -le $ac_mid; then
19895 ac_lo= ac_hi=
19896 break
19897 fi
19898 ac_mid=`expr 2 '*' $ac_mid + 1`
19899 fi
19900
19901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 done
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19906
19907 cat >conftest.$ac_ext <<_ACEOF
19908 /* confdefs.h. */
19909 _ACEOF
19910 cat confdefs.h >>conftest.$ac_ext
19911 cat >>conftest.$ac_ext <<_ACEOF
19912 /* end confdefs.h. */
19913 $ac_includes_default
19914 typedef size_t ac__type_sizeof_;
19915 int
19916 main ()
19917 {
19918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19919 test_array [0] = 0
19920
19921 ;
19922 return 0;
19923 }
19924 _ACEOF
19925 rm -f conftest.$ac_objext
19926 if { (ac_try="$ac_compile"
19927 case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19930 esac
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
19933 ac_status=$?
19934 grep -v '^ *+' conftest.er1 >conftest.err
19935 rm -f conftest.er1
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && {
19939 test -z "$ac_c_werror_flag" ||
19940 test ! -s conftest.err
19941 } && test -s conftest.$ac_objext; then
19942 ac_hi=-1 ac_mid=-1
19943 while :; do
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef size_t ac__type_sizeof_;
19952 int
19953 main ()
19954 {
19955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19956 test_array [0] = 0
19957
19958 ;
19959 return 0;
19960 }
19961 _ACEOF
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19967 esac
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19970 ac_status=$?
19971 grep -v '^ *+' conftest.er1 >conftest.err
19972 rm -f conftest.er1
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.$ac_objext; then
19979 ac_lo=$ac_mid; break
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 ac_hi=`expr '(' $ac_mid ')' - 1`
19985 if test $ac_mid -le $ac_hi; then
19986 ac_lo= ac_hi=
19987 break
19988 fi
19989 ac_mid=`expr 2 '*' $ac_mid`
19990 fi
19991
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 done
19994 else
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19997
19998 ac_lo= ac_hi=
19999 fi
20000
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20002 fi
20003
20004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 # Binary search between lo and hi bounds.
20006 while test "x$ac_lo" != "x$ac_hi"; do
20007 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 $ac_includes_default
20015 typedef size_t ac__type_sizeof_;
20016 int
20017 main ()
20018 {
20019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20020 test_array [0] = 0
20021
20022 ;
20023 return 0;
20024 }
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20031 esac
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 ac_hi=$ac_mid
20044 else
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20047
20048 ac_lo=`expr '(' $ac_mid ')' + 1`
20049 fi
20050
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 done
20053 case $ac_lo in
20054 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20055 '') if test "$ac_cv_type_size_t" = yes; then
20056 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20057 See \`config.log' for more details." >&5
20058 echo "$as_me: error: cannot compute sizeof (size_t)
20059 See \`config.log' for more details." >&2;}
20060 { (exit 77); exit 77; }; }
20061 else
20062 ac_cv_sizeof_size_t=0
20063 fi ;;
20064 esac
20065 else
20066 cat >conftest.$ac_ext <<_ACEOF
20067 /* confdefs.h. */
20068 _ACEOF
20069 cat confdefs.h >>conftest.$ac_ext
20070 cat >>conftest.$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20072 $ac_includes_default
20073 typedef size_t ac__type_sizeof_;
20074 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20075 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20076 #include <stdio.h>
20077 #include <stdlib.h>
20078 int
20079 main ()
20080 {
20081
20082 FILE *f = fopen ("conftest.val", "w");
20083 if (! f)
20084 return 1;
20085 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20086 {
20087 long int i = longval ();
20088 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20089 return 1;
20090 fprintf (f, "%ld\n", i);
20091 }
20092 else
20093 {
20094 unsigned long int i = ulongval ();
20095 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20096 return 1;
20097 fprintf (f, "%lu\n", i);
20098 }
20099 return ferror (f) || fclose (f) != 0;
20100
20101 ;
20102 return 0;
20103 }
20104 _ACEOF
20105 rm -f conftest$ac_exeext
20106 if { (ac_try="$ac_link"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_link") 2>&5
20113 ac_status=$?
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20122 ac_status=$?
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_sizeof_size_t=`cat conftest.val`
20126 else
20127 echo "$as_me: program exited with status $ac_status" >&5
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20130
20131 ( exit $ac_status )
20132 if test "$ac_cv_type_size_t" = yes; then
20133 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20134 See \`config.log' for more details." >&5
20135 echo "$as_me: error: cannot compute sizeof (size_t)
20136 See \`config.log' for more details." >&2;}
20137 { (exit 77); exit 77; }; }
20138 else
20139 ac_cv_sizeof_size_t=0
20140 fi
20141 fi
20142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20143 fi
20144 rm -f conftest.val
20145 fi
20146 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20147 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20148
20149
20150
20151 cat >>confdefs.h <<_ACEOF
20152 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20153 _ACEOF
20154
20155
20156
20157 case "${host}" in
20158 arm-*-linux* )
20159 { echo "$as_me:$LINENO: checking for long long" >&5
20160 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20161 if test "${ac_cv_type_long_long+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 else
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 $ac_includes_default
20171 typedef long long ac__type_new_;
20172 int
20173 main ()
20174 {
20175 if ((ac__type_new_ *) 0)
20176 return 0;
20177 if (sizeof (ac__type_new_))
20178 return 0;
20179 ;
20180 return 0;
20181 }
20182 _ACEOF
20183 rm -f conftest.$ac_objext
20184 if { (ac_try="$ac_compile"
20185 case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20188 esac
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_compile") 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && {
20197 test -z "$ac_c_werror_flag" ||
20198 test ! -s conftest.err
20199 } && test -s conftest.$ac_objext; then
20200 ac_cv_type_long_long=yes
20201 else
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.$ac_ext >&5
20204
20205 ac_cv_type_long_long=no
20206 fi
20207
20208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20209 fi
20210 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20211 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20212
20213 # The cast to long int works around a bug in the HP C Compiler
20214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20216 # This bug is HP SR number 8606223364.
20217 { echo "$as_me:$LINENO: checking size of long long" >&5
20218 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20219 if test "${ac_cv_sizeof_long_long+set}" = set; then
20220 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 else
20222 if test "$cross_compiling" = yes; then
20223 # Depending upon the size, compute the lo and hi bounds.
20224 cat >conftest.$ac_ext <<_ACEOF
20225 /* confdefs.h. */
20226 _ACEOF
20227 cat confdefs.h >>conftest.$ac_ext
20228 cat >>conftest.$ac_ext <<_ACEOF
20229 /* end confdefs.h. */
20230 $ac_includes_default
20231 typedef long long ac__type_sizeof_;
20232 int
20233 main ()
20234 {
20235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20236 test_array [0] = 0
20237
20238 ;
20239 return 0;
20240 }
20241 _ACEOF
20242 rm -f conftest.$ac_objext
20243 if { (ac_try="$ac_compile"
20244 case "(($ac_try" in
20245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20246 *) ac_try_echo=$ac_try;;
20247 esac
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_compile") 2>conftest.er1
20250 ac_status=$?
20251 grep -v '^ *+' conftest.er1 >conftest.err
20252 rm -f conftest.er1
20253 cat conftest.err >&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } && {
20256 test -z "$ac_c_werror_flag" ||
20257 test ! -s conftest.err
20258 } && test -s conftest.$ac_objext; then
20259 ac_lo=0 ac_mid=0
20260 while :; do
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 typedef long long ac__type_sizeof_;
20269 int
20270 main ()
20271 {
20272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20273 test_array [0] = 0
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.$ac_objext; then
20296 ac_hi=$ac_mid; break
20297 else
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20300
20301 ac_lo=`expr $ac_mid + 1`
20302 if test $ac_lo -le $ac_mid; then
20303 ac_lo= ac_hi=
20304 break
20305 fi
20306 ac_mid=`expr 2 '*' $ac_mid + 1`
20307 fi
20308
20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20310 done
20311 else
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20314
20315 cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h. */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 $ac_includes_default
20322 typedef long long ac__type_sizeof_;
20323 int
20324 main ()
20325 {
20326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20327 test_array [0] = 0
20328
20329 ;
20330 return 0;
20331 }
20332 _ACEOF
20333 rm -f conftest.$ac_objext
20334 if { (ac_try="$ac_compile"
20335 case "(($ac_try" in
20336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20337 *) ac_try_echo=$ac_try;;
20338 esac
20339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20340 (eval "$ac_compile") 2>conftest.er1
20341 ac_status=$?
20342 grep -v '^ *+' conftest.er1 >conftest.err
20343 rm -f conftest.er1
20344 cat conftest.err >&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } && {
20347 test -z "$ac_c_werror_flag" ||
20348 test ! -s conftest.err
20349 } && test -s conftest.$ac_objext; then
20350 ac_hi=-1 ac_mid=-1
20351 while :; do
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 $ac_includes_default
20359 typedef long long ac__type_sizeof_;
20360 int
20361 main ()
20362 {
20363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20364 test_array [0] = 0
20365
20366 ;
20367 return 0;
20368 }
20369 _ACEOF
20370 rm -f conftest.$ac_objext
20371 if { (ac_try="$ac_compile"
20372 case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20375 esac
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_compile") 2>conftest.er1
20378 ac_status=$?
20379 grep -v '^ *+' conftest.er1 >conftest.err
20380 rm -f conftest.er1
20381 cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } && {
20384 test -z "$ac_c_werror_flag" ||
20385 test ! -s conftest.err
20386 } && test -s conftest.$ac_objext; then
20387 ac_lo=$ac_mid; break
20388 else
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.$ac_ext >&5
20391
20392 ac_hi=`expr '(' $ac_mid ')' - 1`
20393 if test $ac_mid -le $ac_hi; then
20394 ac_lo= ac_hi=
20395 break
20396 fi
20397 ac_mid=`expr 2 '*' $ac_mid`
20398 fi
20399
20400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20401 done
20402 else
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20405
20406 ac_lo= ac_hi=
20407 fi
20408
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 fi
20411
20412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20413 # Binary search between lo and hi bounds.
20414 while test "x$ac_lo" != "x$ac_hi"; do
20415 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20416 cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h. */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20423 typedef long long ac__type_sizeof_;
20424 int
20425 main ()
20426 {
20427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20428 test_array [0] = 0
20429
20430 ;
20431 return 0;
20432 }
20433 _ACEOF
20434 rm -f conftest.$ac_objext
20435 if { (ac_try="$ac_compile"
20436 case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_compile") 2>conftest.er1
20442 ac_status=$?
20443 grep -v '^ *+' conftest.er1 >conftest.err
20444 rm -f conftest.er1
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.$ac_objext; then
20451 ac_hi=$ac_mid
20452 else
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20455
20456 ac_lo=`expr '(' $ac_mid ')' + 1`
20457 fi
20458
20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20460 done
20461 case $ac_lo in
20462 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20463 '') if test "$ac_cv_type_long_long" = yes; then
20464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20465 See \`config.log' for more details." >&5
20466 echo "$as_me: error: cannot compute sizeof (long long)
20467 See \`config.log' for more details." >&2;}
20468 { (exit 77); exit 77; }; }
20469 else
20470 ac_cv_sizeof_long_long=0
20471 fi ;;
20472 esac
20473 else
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 typedef long long ac__type_sizeof_;
20482 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20483 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20484 #include <stdio.h>
20485 #include <stdlib.h>
20486 int
20487 main ()
20488 {
20489
20490 FILE *f = fopen ("conftest.val", "w");
20491 if (! f)
20492 return 1;
20493 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20494 {
20495 long int i = longval ();
20496 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20497 return 1;
20498 fprintf (f, "%ld\n", i);
20499 }
20500 else
20501 {
20502 unsigned long int i = ulongval ();
20503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20504 return 1;
20505 fprintf (f, "%lu\n", i);
20506 }
20507 return ferror (f) || fclose (f) != 0;
20508
20509 ;
20510 return 0;
20511 }
20512 _ACEOF
20513 rm -f conftest$ac_exeext
20514 if { (ac_try="$ac_link"
20515 case "(($ac_try" in
20516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20517 *) ac_try_echo=$ac_try;;
20518 esac
20519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20520 (eval "$ac_link") 2>&5
20521 ac_status=$?
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20530 ac_status=$?
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_cv_sizeof_long_long=`cat conftest.val`
20534 else
20535 echo "$as_me: program exited with status $ac_status" >&5
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 ( exit $ac_status )
20540 if test "$ac_cv_type_long_long" = yes; then
20541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20542 See \`config.log' for more details." >&5
20543 echo "$as_me: error: cannot compute sizeof (long long)
20544 See \`config.log' for more details." >&2;}
20545 { (exit 77); exit 77; }; }
20546 else
20547 ac_cv_sizeof_long_long=0
20548 fi
20549 fi
20550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20551 fi
20552 rm -f conftest.val
20553 fi
20554 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20555 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20556
20557
20558
20559 cat >>confdefs.h <<_ACEOF
20560 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20561 _ACEOF
20562
20563
20564 ;;
20565 *-hp-hpux* )
20566 { echo "$as_me:$LINENO: checking for long long" >&5
20567 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20568 if test "${ac_cv_type_long_long+set}" = set; then
20569 echo $ECHO_N "(cached) $ECHO_C" >&6
20570 else
20571 cat >conftest.$ac_ext <<_ACEOF
20572 /* confdefs.h. */
20573 _ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577 $ac_includes_default
20578 typedef long long ac__type_new_;
20579 int
20580 main ()
20581 {
20582 if ((ac__type_new_ *) 0)
20583 return 0;
20584 if (sizeof (ac__type_new_))
20585 return 0;
20586 ;
20587 return 0;
20588 }
20589 _ACEOF
20590 rm -f conftest.$ac_objext
20591 if { (ac_try="$ac_compile"
20592 case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20595 esac
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_compile") 2>conftest.er1
20598 ac_status=$?
20599 grep -v '^ *+' conftest.er1 >conftest.err
20600 rm -f conftest.er1
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } && {
20604 test -z "$ac_c_werror_flag" ||
20605 test ! -s conftest.err
20606 } && test -s conftest.$ac_objext; then
20607 ac_cv_type_long_long=yes
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20611
20612 ac_cv_type_long_long=no
20613 fi
20614
20615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20616 fi
20617 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20618 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20619
20620 # The cast to long int works around a bug in the HP C Compiler
20621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20623 # This bug is HP SR number 8606223364.
20624 { echo "$as_me:$LINENO: checking size of long long" >&5
20625 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20626 if test "${ac_cv_sizeof_long_long+set}" = set; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6
20628 else
20629 if test "$cross_compiling" = yes; then
20630 # Depending upon the size, compute the lo and hi bounds.
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef long long ac__type_sizeof_;
20639 int
20640 main ()
20641 {
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20643 test_array [0] = 0
20644
20645 ;
20646 return 0;
20647 }
20648 _ACEOF
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20654 esac
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20666 ac_lo=0 ac_mid=0
20667 while :; do
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef long long ac__type_sizeof_;
20676 int
20677 main ()
20678 {
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20680 test_array [0] = 0
20681
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20694 ac_status=$?
20695 grep -v '^ *+' conftest.er1 >conftest.err
20696 rm -f conftest.er1
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.$ac_objext; then
20703 ac_hi=$ac_mid; break
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 ac_lo=`expr $ac_mid + 1`
20709 if test $ac_lo -le $ac_mid; then
20710 ac_lo= ac_hi=
20711 break
20712 fi
20713 ac_mid=`expr 2 '*' $ac_mid + 1`
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 done
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 cat >conftest.$ac_ext <<_ACEOF
20723 /* confdefs.h. */
20724 _ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728 $ac_includes_default
20729 typedef long long ac__type_sizeof_;
20730 int
20731 main ()
20732 {
20733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20734 test_array [0] = 0
20735
20736 ;
20737 return 0;
20738 }
20739 _ACEOF
20740 rm -f conftest.$ac_objext
20741 if { (ac_try="$ac_compile"
20742 case "(($ac_try" in
20743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20744 *) ac_try_echo=$ac_try;;
20745 esac
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_compile") 2>conftest.er1
20748 ac_status=$?
20749 grep -v '^ *+' conftest.er1 >conftest.err
20750 rm -f conftest.er1
20751 cat conftest.err >&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } && {
20754 test -z "$ac_c_werror_flag" ||
20755 test ! -s conftest.err
20756 } && test -s conftest.$ac_objext; then
20757 ac_hi=-1 ac_mid=-1
20758 while :; do
20759 cat >conftest.$ac_ext <<_ACEOF
20760 /* confdefs.h. */
20761 _ACEOF
20762 cat confdefs.h >>conftest.$ac_ext
20763 cat >>conftest.$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20765 $ac_includes_default
20766 typedef long long ac__type_sizeof_;
20767 int
20768 main ()
20769 {
20770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20771 test_array [0] = 0
20772
20773 ;
20774 return 0;
20775 }
20776 _ACEOF
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20782 esac
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20785 ac_status=$?
20786 grep -v '^ *+' conftest.er1 >conftest.err
20787 rm -f conftest.er1
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_c_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.$ac_objext; then
20794 ac_lo=$ac_mid; break
20795 else
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20798
20799 ac_hi=`expr '(' $ac_mid ')' - 1`
20800 if test $ac_mid -le $ac_hi; then
20801 ac_lo= ac_hi=
20802 break
20803 fi
20804 ac_mid=`expr 2 '*' $ac_mid`
20805 fi
20806
20807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 done
20809 else
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20812
20813 ac_lo= ac_hi=
20814 fi
20815
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817 fi
20818
20819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20820 # Binary search between lo and hi bounds.
20821 while test "x$ac_lo" != "x$ac_hi"; do
20822 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20823 cat >conftest.$ac_ext <<_ACEOF
20824 /* confdefs.h. */
20825 _ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef long long ac__type_sizeof_;
20831 int
20832 main ()
20833 {
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20835 test_array [0] = 0
20836
20837 ;
20838 return 0;
20839 }
20840 _ACEOF
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20846 esac
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20858 ac_hi=$ac_mid
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20862
20863 ac_lo=`expr '(' $ac_mid ')' + 1`
20864 fi
20865
20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20867 done
20868 case $ac_lo in
20869 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20870 '') if test "$ac_cv_type_long_long" = yes; then
20871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20872 See \`config.log' for more details." >&5
20873 echo "$as_me: error: cannot compute sizeof (long long)
20874 See \`config.log' for more details." >&2;}
20875 { (exit 77); exit 77; }; }
20876 else
20877 ac_cv_sizeof_long_long=0
20878 fi ;;
20879 esac
20880 else
20881 cat >conftest.$ac_ext <<_ACEOF
20882 /* confdefs.h. */
20883 _ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20887 $ac_includes_default
20888 typedef long long ac__type_sizeof_;
20889 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20890 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20891 #include <stdio.h>
20892 #include <stdlib.h>
20893 int
20894 main ()
20895 {
20896
20897 FILE *f = fopen ("conftest.val", "w");
20898 if (! f)
20899 return 1;
20900 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20901 {
20902 long int i = longval ();
20903 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20904 return 1;
20905 fprintf (f, "%ld\n", i);
20906 }
20907 else
20908 {
20909 unsigned long int i = ulongval ();
20910 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20911 return 1;
20912 fprintf (f, "%lu\n", i);
20913 }
20914 return ferror (f) || fclose (f) != 0;
20915
20916 ;
20917 return 0;
20918 }
20919 _ACEOF
20920 rm -f conftest$ac_exeext
20921 if { (ac_try="$ac_link"
20922 case "(($ac_try" in
20923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20924 *) ac_try_echo=$ac_try;;
20925 esac
20926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20927 (eval "$ac_link") 2>&5
20928 ac_status=$?
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20937 ac_status=$?
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_sizeof_long_long=`cat conftest.val`
20941 else
20942 echo "$as_me: program exited with status $ac_status" >&5
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.$ac_ext >&5
20945
20946 ( exit $ac_status )
20947 if test "$ac_cv_type_long_long" = yes; then
20948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20949 See \`config.log' for more details." >&5
20950 echo "$as_me: error: cannot compute sizeof (long long)
20951 See \`config.log' for more details." >&2;}
20952 { (exit 77); exit 77; }; }
20953 else
20954 ac_cv_sizeof_long_long=0
20955 fi
20956 fi
20957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20958 fi
20959 rm -f conftest.val
20960 fi
20961 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20962 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20963
20964
20965
20966 cat >>confdefs.h <<_ACEOF
20967 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20968 _ACEOF
20969
20970
20971 if test "$ac_cv_sizeof_long_long" != "0"; then
20972 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20973 fi
20974 ;;
20975 * )
20976 { echo "$as_me:$LINENO: checking for long long" >&5
20977 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20978 if test "${ac_cv_type_long_long+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981 cat >conftest.$ac_ext <<_ACEOF
20982 /* confdefs.h. */
20983 _ACEOF
20984 cat confdefs.h >>conftest.$ac_ext
20985 cat >>conftest.$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20987 $ac_includes_default
20988 typedef long long ac__type_new_;
20989 int
20990 main ()
20991 {
20992 if ((ac__type_new_ *) 0)
20993 return 0;
20994 if (sizeof (ac__type_new_))
20995 return 0;
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21005 esac
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21008 ac_status=$?
21009 grep -v '^ *+' conftest.er1 >conftest.err
21010 rm -f conftest.er1
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21017 ac_cv_type_long_long=yes
21018 else
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21021
21022 ac_cv_type_long_long=no
21023 fi
21024
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 fi
21027 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21028 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21029
21030 # The cast to long int works around a bug in the HP C Compiler
21031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21033 # This bug is HP SR number 8606223364.
21034 { echo "$as_me:$LINENO: checking size of long long" >&5
21035 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21036 if test "${ac_cv_sizeof_long_long+set}" = set; then
21037 echo $ECHO_N "(cached) $ECHO_C" >&6
21038 else
21039 if test "$cross_compiling" = yes; then
21040 # Depending upon the size, compute the lo and hi bounds.
21041 cat >conftest.$ac_ext <<_ACEOF
21042 /* confdefs.h. */
21043 _ACEOF
21044 cat confdefs.h >>conftest.$ac_ext
21045 cat >>conftest.$ac_ext <<_ACEOF
21046 /* end confdefs.h. */
21047 $ac_includes_default
21048 typedef long long ac__type_sizeof_;
21049 int
21050 main ()
21051 {
21052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21053 test_array [0] = 0
21054
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21064 esac
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_lo=0 ac_mid=0
21077 while :; do
21078 cat >conftest.$ac_ext <<_ACEOF
21079 /* confdefs.h. */
21080 _ACEOF
21081 cat confdefs.h >>conftest.$ac_ext
21082 cat >>conftest.$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084 $ac_includes_default
21085 typedef long long ac__type_sizeof_;
21086 int
21087 main ()
21088 {
21089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21090 test_array [0] = 0
21091
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest.$ac_objext; then
21113 ac_hi=$ac_mid; break
21114 else
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21117
21118 ac_lo=`expr $ac_mid + 1`
21119 if test $ac_lo -le $ac_mid; then
21120 ac_lo= ac_hi=
21121 break
21122 fi
21123 ac_mid=`expr 2 '*' $ac_mid + 1`
21124 fi
21125
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 done
21128 else
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.$ac_ext >&5
21131
21132 cat >conftest.$ac_ext <<_ACEOF
21133 /* confdefs.h. */
21134 _ACEOF
21135 cat confdefs.h >>conftest.$ac_ext
21136 cat >>conftest.$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 $ac_includes_default
21139 typedef long long ac__type_sizeof_;
21140 int
21141 main ()
21142 {
21143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21144 test_array [0] = 0
21145
21146 ;
21147 return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest.$ac_objext
21151 if { (ac_try="$ac_compile"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_compile") 2>conftest.er1
21158 ac_status=$?
21159 grep -v '^ *+' conftest.er1 >conftest.err
21160 rm -f conftest.er1
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } && {
21164 test -z "$ac_c_werror_flag" ||
21165 test ! -s conftest.err
21166 } && test -s conftest.$ac_objext; then
21167 ac_hi=-1 ac_mid=-1
21168 while :; do
21169 cat >conftest.$ac_ext <<_ACEOF
21170 /* confdefs.h. */
21171 _ACEOF
21172 cat confdefs.h >>conftest.$ac_ext
21173 cat >>conftest.$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21175 $ac_includes_default
21176 typedef long long ac__type_sizeof_;
21177 int
21178 main ()
21179 {
21180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21181 test_array [0] = 0
21182
21183 ;
21184 return 0;
21185 }
21186 _ACEOF
21187 rm -f conftest.$ac_objext
21188 if { (ac_try="$ac_compile"
21189 case "(($ac_try" in
21190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21191 *) ac_try_echo=$ac_try;;
21192 esac
21193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21194 (eval "$ac_compile") 2>conftest.er1
21195 ac_status=$?
21196 grep -v '^ *+' conftest.er1 >conftest.err
21197 rm -f conftest.er1
21198 cat conftest.err >&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } && {
21201 test -z "$ac_c_werror_flag" ||
21202 test ! -s conftest.err
21203 } && test -s conftest.$ac_objext; then
21204 ac_lo=$ac_mid; break
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21208
21209 ac_hi=`expr '(' $ac_mid ')' - 1`
21210 if test $ac_mid -le $ac_hi; then
21211 ac_lo= ac_hi=
21212 break
21213 fi
21214 ac_mid=`expr 2 '*' $ac_mid`
21215 fi
21216
21217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21218 done
21219 else
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21222
21223 ac_lo= ac_hi=
21224 fi
21225
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 fi
21228
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230 # Binary search between lo and hi bounds.
21231 while test "x$ac_lo" != "x$ac_hi"; do
21232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef long long ac__type_sizeof_;
21241 int
21242 main ()
21243 {
21244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21245 test_array [0] = 0
21246
21247 ;
21248 return 0;
21249 }
21250 _ACEOF
21251 rm -f conftest.$ac_objext
21252 if { (ac_try="$ac_compile"
21253 case "(($ac_try" in
21254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21255 *) ac_try_echo=$ac_try;;
21256 esac
21257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21258 (eval "$ac_compile") 2>conftest.er1
21259 ac_status=$?
21260 grep -v '^ *+' conftest.er1 >conftest.err
21261 rm -f conftest.er1
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } && {
21265 test -z "$ac_c_werror_flag" ||
21266 test ! -s conftest.err
21267 } && test -s conftest.$ac_objext; then
21268 ac_hi=$ac_mid
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21272
21273 ac_lo=`expr '(' $ac_mid ')' + 1`
21274 fi
21275
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 done
21278 case $ac_lo in
21279 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21280 '') if test "$ac_cv_type_long_long" = yes; then
21281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21282 See \`config.log' for more details." >&5
21283 echo "$as_me: error: cannot compute sizeof (long long)
21284 See \`config.log' for more details." >&2;}
21285 { (exit 77); exit 77; }; }
21286 else
21287 ac_cv_sizeof_long_long=0
21288 fi ;;
21289 esac
21290 else
21291 cat >conftest.$ac_ext <<_ACEOF
21292 /* confdefs.h. */
21293 _ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 $ac_includes_default
21298 typedef long long ac__type_sizeof_;
21299 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21300 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21301 #include <stdio.h>
21302 #include <stdlib.h>
21303 int
21304 main ()
21305 {
21306
21307 FILE *f = fopen ("conftest.val", "w");
21308 if (! f)
21309 return 1;
21310 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21311 {
21312 long int i = longval ();
21313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21314 return 1;
21315 fprintf (f, "%ld\n", i);
21316 }
21317 else
21318 {
21319 unsigned long int i = ulongval ();
21320 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21321 return 1;
21322 fprintf (f, "%lu\n", i);
21323 }
21324 return ferror (f) || fclose (f) != 0;
21325
21326 ;
21327 return 0;
21328 }
21329 _ACEOF
21330 rm -f conftest$ac_exeext
21331 if { (ac_try="$ac_link"
21332 case "(($ac_try" in
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21335 esac
21336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21337 (eval "$ac_link") 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21347 ac_status=$?
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_cv_sizeof_long_long=`cat conftest.val`
21351 else
21352 echo "$as_me: program exited with status $ac_status" >&5
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21355
21356 ( exit $ac_status )
21357 if test "$ac_cv_type_long_long" = yes; then
21358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21359 See \`config.log' for more details." >&5
21360 echo "$as_me: error: cannot compute sizeof (long long)
21361 See \`config.log' for more details." >&2;}
21362 { (exit 77); exit 77; }; }
21363 else
21364 ac_cv_sizeof_long_long=0
21365 fi
21366 fi
21367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21368 fi
21369 rm -f conftest.val
21370 fi
21371 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21372 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21373
21374
21375
21376 cat >>confdefs.h <<_ACEOF
21377 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21378 _ACEOF
21379
21380
21381 esac
21382
21383 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21384 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21385 if test "${ac_cv_type_wchar_t+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 else
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394
21395 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21396 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21397 # error "fake wchar_t"
21398 #endif
21399 #ifdef HAVE_WCHAR_H
21400 # ifdef __CYGWIN__
21401 # include <stddef.h>
21402 # endif
21403 # include <wchar.h>
21404 #endif
21405 #ifdef HAVE_STDLIB_H
21406 # include <stdlib.h>
21407 #endif
21408 #include <stdio.h>
21409
21410
21411
21412 typedef wchar_t ac__type_new_;
21413 int
21414 main ()
21415 {
21416 if ((ac__type_new_ *) 0)
21417 return 0;
21418 if (sizeof (ac__type_new_))
21419 return 0;
21420 ;
21421 return 0;
21422 }
21423 _ACEOF
21424 rm -f conftest.$ac_objext
21425 if { (ac_try="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21429 esac
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21432 ac_status=$?
21433 grep -v '^ *+' conftest.er1 >conftest.err
21434 rm -f conftest.er1
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } && {
21438 test -z "$ac_c_werror_flag" ||
21439 test ! -s conftest.err
21440 } && test -s conftest.$ac_objext; then
21441 ac_cv_type_wchar_t=yes
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 ac_cv_type_wchar_t=no
21447 fi
21448
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 fi
21451 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21452 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21453
21454 # The cast to long int works around a bug in the HP C Compiler
21455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21457 # This bug is HP SR number 8606223364.
21458 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21459 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21460 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 else
21463 if test "$cross_compiling" = yes; then
21464 # Depending upon the size, compute the lo and hi bounds.
21465 cat >conftest.$ac_ext <<_ACEOF
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471
21472 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21474 # error "fake wchar_t"
21475 #endif
21476 #ifdef HAVE_WCHAR_H
21477 # ifdef __CYGWIN__
21478 # include <stddef.h>
21479 # endif
21480 # include <wchar.h>
21481 #endif
21482 #ifdef HAVE_STDLIB_H
21483 # include <stdlib.h>
21484 #endif
21485 #include <stdio.h>
21486
21487
21488
21489 typedef wchar_t ac__type_sizeof_;
21490 int
21491 main ()
21492 {
21493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21494 test_array [0] = 0
21495
21496 ;
21497 return 0;
21498 }
21499 _ACEOF
21500 rm -f conftest.$ac_objext
21501 if { (ac_try="$ac_compile"
21502 case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21504 *) ac_try_echo=$ac_try;;
21505 esac
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_compile") 2>conftest.er1
21508 ac_status=$?
21509 grep -v '^ *+' conftest.er1 >conftest.err
21510 rm -f conftest.er1
21511 cat conftest.err >&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } && {
21514 test -z "$ac_c_werror_flag" ||
21515 test ! -s conftest.err
21516 } && test -s conftest.$ac_objext; then
21517 ac_lo=0 ac_mid=0
21518 while :; do
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525
21526 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21527 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21528 # error "fake wchar_t"
21529 #endif
21530 #ifdef HAVE_WCHAR_H
21531 # ifdef __CYGWIN__
21532 # include <stddef.h>
21533 # endif
21534 # include <wchar.h>
21535 #endif
21536 #ifdef HAVE_STDLIB_H
21537 # include <stdlib.h>
21538 #endif
21539 #include <stdio.h>
21540
21541
21542
21543 typedef wchar_t ac__type_sizeof_;
21544 int
21545 main ()
21546 {
21547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21548 test_array [0] = 0
21549
21550 ;
21551 return 0;
21552 }
21553 _ACEOF
21554 rm -f conftest.$ac_objext
21555 if { (ac_try="$ac_compile"
21556 case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21559 esac
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_compile") 2>conftest.er1
21562 ac_status=$?
21563 grep -v '^ *+' conftest.er1 >conftest.err
21564 rm -f conftest.er1
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && {
21568 test -z "$ac_c_werror_flag" ||
21569 test ! -s conftest.err
21570 } && test -s conftest.$ac_objext; then
21571 ac_hi=$ac_mid; break
21572 else
21573 echo "$as_me: failed program was:" >&5
21574 sed 's/^/| /' conftest.$ac_ext >&5
21575
21576 ac_lo=`expr $ac_mid + 1`
21577 if test $ac_lo -le $ac_mid; then
21578 ac_lo= ac_hi=
21579 break
21580 fi
21581 ac_mid=`expr 2 '*' $ac_mid + 1`
21582 fi
21583
21584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21585 done
21586 else
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h. */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596
21597 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21598 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21599 # error "fake wchar_t"
21600 #endif
21601 #ifdef HAVE_WCHAR_H
21602 # ifdef __CYGWIN__
21603 # include <stddef.h>
21604 # endif
21605 # include <wchar.h>
21606 #endif
21607 #ifdef HAVE_STDLIB_H
21608 # include <stdlib.h>
21609 #endif
21610 #include <stdio.h>
21611
21612
21613
21614 typedef wchar_t ac__type_sizeof_;
21615 int
21616 main ()
21617 {
21618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21619 test_array [0] = 0
21620
21621 ;
21622 return 0;
21623 }
21624 _ACEOF
21625 rm -f conftest.$ac_objext
21626 if { (ac_try="$ac_compile"
21627 case "(($ac_try" in
21628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21629 *) ac_try_echo=$ac_try;;
21630 esac
21631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21632 (eval "$ac_compile") 2>conftest.er1
21633 ac_status=$?
21634 grep -v '^ *+' conftest.er1 >conftest.err
21635 rm -f conftest.er1
21636 cat conftest.err >&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); } && {
21639 test -z "$ac_c_werror_flag" ||
21640 test ! -s conftest.err
21641 } && test -s conftest.$ac_objext; then
21642 ac_hi=-1 ac_mid=-1
21643 while :; do
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650
21651 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21652 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21653 # error "fake wchar_t"
21654 #endif
21655 #ifdef HAVE_WCHAR_H
21656 # ifdef __CYGWIN__
21657 # include <stddef.h>
21658 # endif
21659 # include <wchar.h>
21660 #endif
21661 #ifdef HAVE_STDLIB_H
21662 # include <stdlib.h>
21663 #endif
21664 #include <stdio.h>
21665
21666
21667
21668 typedef wchar_t ac__type_sizeof_;
21669 int
21670 main ()
21671 {
21672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21673 test_array [0] = 0
21674
21675 ;
21676 return 0;
21677 }
21678 _ACEOF
21679 rm -f conftest.$ac_objext
21680 if { (ac_try="$ac_compile"
21681 case "(($ac_try" in
21682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21683 *) ac_try_echo=$ac_try;;
21684 esac
21685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21686 (eval "$ac_compile") 2>conftest.er1
21687 ac_status=$?
21688 grep -v '^ *+' conftest.er1 >conftest.err
21689 rm -f conftest.er1
21690 cat conftest.err >&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } && {
21693 test -z "$ac_c_werror_flag" ||
21694 test ! -s conftest.err
21695 } && test -s conftest.$ac_objext; then
21696 ac_lo=$ac_mid; break
21697 else
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.$ac_ext >&5
21700
21701 ac_hi=`expr '(' $ac_mid ')' - 1`
21702 if test $ac_mid -le $ac_hi; then
21703 ac_lo= ac_hi=
21704 break
21705 fi
21706 ac_mid=`expr 2 '*' $ac_mid`
21707 fi
21708
21709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21710 done
21711 else
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21714
21715 ac_lo= ac_hi=
21716 fi
21717
21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21719 fi
21720
21721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21722 # Binary search between lo and hi bounds.
21723 while test "x$ac_lo" != "x$ac_hi"; do
21724 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21725 cat >conftest.$ac_ext <<_ACEOF
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731
21732 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21733 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21734 # error "fake wchar_t"
21735 #endif
21736 #ifdef HAVE_WCHAR_H
21737 # ifdef __CYGWIN__
21738 # include <stddef.h>
21739 # endif
21740 # include <wchar.h>
21741 #endif
21742 #ifdef HAVE_STDLIB_H
21743 # include <stdlib.h>
21744 #endif
21745 #include <stdio.h>
21746
21747
21748
21749 typedef wchar_t ac__type_sizeof_;
21750 int
21751 main ()
21752 {
21753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21754 test_array [0] = 0
21755
21756 ;
21757 return 0;
21758 }
21759 _ACEOF
21760 rm -f conftest.$ac_objext
21761 if { (ac_try="$ac_compile"
21762 case "(($ac_try" in
21763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21764 *) ac_try_echo=$ac_try;;
21765 esac
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21767 (eval "$ac_compile") 2>conftest.er1
21768 ac_status=$?
21769 grep -v '^ *+' conftest.er1 >conftest.err
21770 rm -f conftest.er1
21771 cat conftest.err >&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } && {
21774 test -z "$ac_c_werror_flag" ||
21775 test ! -s conftest.err
21776 } && test -s conftest.$ac_objext; then
21777 ac_hi=$ac_mid
21778 else
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21781
21782 ac_lo=`expr '(' $ac_mid ')' + 1`
21783 fi
21784
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 done
21787 case $ac_lo in
21788 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21789 '') if test "$ac_cv_type_wchar_t" = yes; then
21790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21791 See \`config.log' for more details." >&5
21792 echo "$as_me: error: cannot compute sizeof (wchar_t)
21793 See \`config.log' for more details." >&2;}
21794 { (exit 77); exit 77; }; }
21795 else
21796 ac_cv_sizeof_wchar_t=0
21797 fi ;;
21798 esac
21799 else
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806
21807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21809 # error "fake wchar_t"
21810 #endif
21811 #ifdef HAVE_WCHAR_H
21812 # ifdef __CYGWIN__
21813 # include <stddef.h>
21814 # endif
21815 # include <wchar.h>
21816 #endif
21817 #ifdef HAVE_STDLIB_H
21818 # include <stdlib.h>
21819 #endif
21820 #include <stdio.h>
21821
21822
21823
21824 typedef wchar_t ac__type_sizeof_;
21825 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21826 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21827 #include <stdio.h>
21828 #include <stdlib.h>
21829 int
21830 main ()
21831 {
21832
21833 FILE *f = fopen ("conftest.val", "w");
21834 if (! f)
21835 return 1;
21836 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21837 {
21838 long int i = longval ();
21839 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21840 return 1;
21841 fprintf (f, "%ld\n", i);
21842 }
21843 else
21844 {
21845 unsigned long int i = ulongval ();
21846 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21847 return 1;
21848 fprintf (f, "%lu\n", i);
21849 }
21850 return ferror (f) || fclose (f) != 0;
21851
21852 ;
21853 return 0;
21854 }
21855 _ACEOF
21856 rm -f conftest$ac_exeext
21857 if { (ac_try="$ac_link"
21858 case "(($ac_try" in
21859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21860 *) ac_try_echo=$ac_try;;
21861 esac
21862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21863 (eval "$ac_link") 2>&5
21864 ac_status=$?
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21867 { (case "(($ac_try" in
21868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869 *) ac_try_echo=$ac_try;;
21870 esac
21871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21872 (eval "$ac_try") 2>&5
21873 ac_status=$?
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_sizeof_wchar_t=`cat conftest.val`
21877 else
21878 echo "$as_me: program exited with status $ac_status" >&5
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 ( exit $ac_status )
21883 if test "$ac_cv_type_wchar_t" = yes; then
21884 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21885 See \`config.log' for more details." >&5
21886 echo "$as_me: error: cannot compute sizeof (wchar_t)
21887 See \`config.log' for more details." >&2;}
21888 { (exit 77); exit 77; }; }
21889 else
21890 ac_cv_sizeof_wchar_t=0
21891 fi
21892 fi
21893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21894 fi
21895 rm -f conftest.val
21896 fi
21897 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21898 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21899
21900
21901
21902 cat >>confdefs.h <<_ACEOF
21903 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21904 _ACEOF
21905
21906
21907 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21908 wxUSE_WCHAR_T=yes
21909 else
21910 wxUSE_WCHAR_T=no
21911 fi
21912
21913 { echo "$as_me:$LINENO: checking for va_copy" >&5
21914 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21915 if test "${wx_cv_func_va_copy+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21917 else
21918
21919 cat >conftest.$ac_ext <<_ACEOF
21920
21921 #include <stdarg.h>
21922 void foo(char *f, ...)
21923 {
21924 va_list ap1, ap2;
21925 va_start(ap1, f);
21926 va_copy(ap2, ap1);
21927 va_end(ap2);
21928 va_end(ap1);
21929 }
21930 int main()
21931 {
21932 foo("hi", 17);
21933 return 0;
21934 }
21935 _ACEOF
21936 rm -f conftest.$ac_objext conftest$ac_exeext
21937 if { (ac_try="$ac_link"
21938 case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21941 esac
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_link") 2>conftest.er1
21944 ac_status=$?
21945 grep -v '^ *+' conftest.er1 >conftest.err
21946 rm -f conftest.er1
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest$ac_exeext &&
21953 $as_test_x conftest$ac_exeext; then
21954 wx_cv_func_va_copy=yes
21955 else
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.$ac_ext >&5
21958
21959 wx_cv_func_va_copy=no
21960
21961 fi
21962
21963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21964 conftest$ac_exeext conftest.$ac_ext
21965
21966
21967 fi
21968 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21969 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
21970
21971 if test $wx_cv_func_va_copy = "yes"; then
21972 cat >>confdefs.h <<\_ACEOF
21973 #define HAVE_VA_COPY 1
21974 _ACEOF
21975
21976 else
21977 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21978 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
21979 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21980 echo $ECHO_N "(cached) $ECHO_C" >&6
21981 else
21982
21983 if test "$cross_compiling" = yes; then
21984 wx_cv_type_va_list_lvalue=yes
21985
21986 else
21987 cat >conftest.$ac_ext <<_ACEOF
21988
21989 #include <stdarg.h>
21990 int foo(char *f, ...)
21991 {
21992 va_list ap1, ap2;
21993 va_start(ap1, f);
21994 ap2 = ap1;
21995 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21996 return 1;
21997 va_end(ap2);
21998 va_end(ap1);
21999 return 0;
22000 }
22001 int main()
22002 {
22003 return foo("hi", 17);
22004 }
22005 _ACEOF
22006 rm -f conftest$ac_exeext
22007 if { (ac_try="$ac_link"
22008 case "(($ac_try" in
22009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22010 *) ac_try_echo=$ac_try;;
22011 esac
22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22013 (eval "$ac_link") 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22017 { (case "(($ac_try" in
22018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22019 *) ac_try_echo=$ac_try;;
22020 esac
22021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22022 (eval "$ac_try") 2>&5
22023 ac_status=$?
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; }; then
22026 wx_cv_type_va_list_lvalue=yes
22027 else
22028 echo "$as_me: program exited with status $ac_status" >&5
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.$ac_ext >&5
22031
22032 ( exit $ac_status )
22033 wx_cv_type_va_list_lvalue=no
22034 fi
22035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22036 fi
22037
22038
22039
22040
22041 fi
22042 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22043 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22044
22045 if test $wx_cv_type_va_list_lvalue != "yes"; then
22046 cat >>confdefs.h <<\_ACEOF
22047 #define VA_LIST_IS_ARRAY 1
22048 _ACEOF
22049
22050 fi
22051 fi
22052
22053 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22054
22055 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22056 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22057 if test "${wx_cv_have_variadic_macros+set}" = set; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 else
22060
22061 ac_ext=cpp
22062 ac_cpp='$CXXCPP $CPPFLAGS'
22063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22066
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073
22074 #include <stdio.h>
22075 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22076
22077 int
22078 main ()
22079 {
22080
22081 test("%s %d %p", "test", 1, 0);
22082
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22093 esac
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22096 ac_status=$?
22097 grep -v '^ *+' conftest.er1 >conftest.err
22098 rm -f conftest.er1
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_cxx_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 wx_cv_have_variadic_macros=yes
22106 else
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22109
22110 wx_cv_have_variadic_macros=no
22111
22112 fi
22113
22114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120
22121
22122
22123 fi
22124 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22125 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22126
22127 if test $wx_cv_have_variadic_macros = "yes"; then
22128 cat >>confdefs.h <<\_ACEOF
22129 #define HAVE_VARIADIC_MACROS 1
22130 _ACEOF
22131
22132 fi
22133
22134 fi
22135 # Check whether --enable-largefile was given.
22136 if test "${enable_largefile+set}" = set; then
22137 enableval=$enable_largefile;
22138 fi
22139
22140 if test "$enable_largefile" != no; then
22141 wx_largefile=no
22142
22143 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22144 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22145 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22148
22149 cat >conftest.$ac_ext <<_ACEOF
22150 /* confdefs.h. */
22151 _ACEOF
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 #define _FILE_OFFSET_BITS 64
22156 #include <sys/types.h>
22157 int
22158 main ()
22159 {
22160 typedef struct {
22161 unsigned int field: sizeof(off_t) == 8;
22162 } wxlf;
22163
22164 ;
22165 return 0;
22166 }
22167 _ACEOF
22168 rm -f conftest.$ac_objext
22169 if { (ac_try="$ac_compile"
22170 case "(($ac_try" in
22171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22172 *) ac_try_echo=$ac_try;;
22173 esac
22174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22175 (eval "$ac_compile") 2>conftest.er1
22176 ac_status=$?
22177 grep -v '^ *+' conftest.er1 >conftest.err
22178 rm -f conftest.er1
22179 cat conftest.err >&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); } && {
22182 test -z "$ac_c_werror_flag" ||
22183 test ! -s conftest.err
22184 } && test -s conftest.$ac_objext; then
22185 ac_cv_sys_file_offset_bits=64
22186 else
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22189
22190 ac_cv_sys_file_offset_bits=no
22191 fi
22192
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194
22195
22196 fi
22197 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22198 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22199
22200 if test "$ac_cv_sys_file_offset_bits" != no; then
22201 wx_largefile=yes
22202 cat >>confdefs.h <<_ACEOF
22203 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22204 _ACEOF
22205
22206 fi
22207
22208 if test "x$wx_largefile" != "xyes"; then
22209
22210 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22211 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22212 if test "${ac_cv_sys_large_files+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 else
22215
22216 cat >conftest.$ac_ext <<_ACEOF
22217 /* confdefs.h. */
22218 _ACEOF
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 #define _LARGE_FILES 1
22223 #include <sys/types.h>
22224 int
22225 main ()
22226 {
22227 typedef struct {
22228 unsigned int field: sizeof(off_t) == 8;
22229 } wxlf;
22230
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240 esac
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22243 ac_status=$?
22244 grep -v '^ *+' conftest.er1 >conftest.err
22245 rm -f conftest.er1
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_cv_sys_large_files=1
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 ac_cv_sys_large_files=no
22258 fi
22259
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261
22262
22263 fi
22264 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22265 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22266
22267 if test "$ac_cv_sys_large_files" != no; then
22268 wx_largefile=yes
22269 cat >>confdefs.h <<_ACEOF
22270 #define _LARGE_FILES $ac_cv_sys_large_files
22271 _ACEOF
22272
22273 fi
22274
22275 fi
22276
22277 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22278 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22279 if test "x$wx_largefile" = "xyes"; then
22280 cat >>confdefs.h <<\_ACEOF
22281 #define HAVE_LARGEFILE_SUPPORT 1
22282 _ACEOF
22283
22284 fi
22285 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22286 echo "${ECHO_T}$wx_largefile" >&6; }
22287 fi
22288
22289
22290 if test "x$wx_largefile" = "xyes"; then
22291 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22292 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22293
22294 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22295 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22296 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22297 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22298 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 else
22300
22301 ac_ext=cpp
22302 ac_cpp='$CXXCPP $CPPFLAGS'
22303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22306
22307 cat >conftest.$ac_ext <<_ACEOF
22308 /* confdefs.h. */
22309 _ACEOF
22310 cat confdefs.h >>conftest.$ac_ext
22311 cat >>conftest.$ac_ext <<_ACEOF
22312 /* end confdefs.h. */
22313
22314 int
22315 main ()
22316 {
22317
22318 #ifndef __STDC_EXT__
22319 choke me
22320 #endif
22321
22322 ;
22323 return 0;
22324 }
22325 _ACEOF
22326 rm -f conftest.$ac_objext
22327 if { (ac_try="$ac_compile"
22328 case "(($ac_try" in
22329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22330 *) ac_try_echo=$ac_try;;
22331 esac
22332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22333 (eval "$ac_compile") 2>conftest.er1
22334 ac_status=$?
22335 grep -v '^ *+' conftest.er1 >conftest.err
22336 rm -f conftest.er1
22337 cat conftest.err >&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } && {
22340 test -z "$ac_cxx_werror_flag" ||
22341 test ! -s conftest.err
22342 } && test -s conftest.$ac_objext; then
22343 wx_cv_STDC_EXT_required=no
22344 else
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22347
22348 wx_cv_STDC_EXT_required=yes
22349
22350 fi
22351
22352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22358
22359
22360
22361 fi
22362 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22363 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22364 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22365 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22366 fi
22367 fi
22368 else
22369 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22370 fi
22371 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22372 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22373 if test "${ac_cv_sys_largefile_source+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22375 else
22376 while :; do
22377 cat >conftest.$ac_ext <<_ACEOF
22378 /* confdefs.h. */
22379 _ACEOF
22380 cat confdefs.h >>conftest.$ac_ext
22381 cat >>conftest.$ac_ext <<_ACEOF
22382 /* end confdefs.h. */
22383 #include <stdio.h>
22384 int
22385 main ()
22386 {
22387 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22388 ;
22389 return 0;
22390 }
22391 _ACEOF
22392 rm -f conftest.$ac_objext conftest$ac_exeext
22393 if { (ac_try="$ac_link"
22394 case "(($ac_try" in
22395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396 *) ac_try_echo=$ac_try;;
22397 esac
22398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399 (eval "$ac_link") 2>conftest.er1
22400 ac_status=$?
22401 grep -v '^ *+' conftest.er1 >conftest.err
22402 rm -f conftest.er1
22403 cat conftest.err >&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } && {
22406 test -z "$ac_c_werror_flag" ||
22407 test ! -s conftest.err
22408 } && test -s conftest$ac_exeext &&
22409 $as_test_x conftest$ac_exeext; then
22410 ac_cv_sys_largefile_source=no; break
22411 else
22412 echo "$as_me: failed program was:" >&5
22413 sed 's/^/| /' conftest.$ac_ext >&5
22414
22415
22416 fi
22417
22418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22419 conftest$ac_exeext conftest.$ac_ext
22420 cat >conftest.$ac_ext <<_ACEOF
22421 /* confdefs.h. */
22422 _ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 #define _LARGEFILE_SOURCE 1
22427 #include <stdio.h>
22428 int
22429 main ()
22430 {
22431 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22432 ;
22433 return 0;
22434 }
22435 _ACEOF
22436 rm -f conftest.$ac_objext conftest$ac_exeext
22437 if { (ac_try="$ac_link"
22438 case "(($ac_try" in
22439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22440 *) ac_try_echo=$ac_try;;
22441 esac
22442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22443 (eval "$ac_link") 2>conftest.er1
22444 ac_status=$?
22445 grep -v '^ *+' conftest.er1 >conftest.err
22446 rm -f conftest.er1
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err
22452 } && test -s conftest$ac_exeext &&
22453 $as_test_x conftest$ac_exeext; then
22454 ac_cv_sys_largefile_source=1; break
22455 else
22456 echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.$ac_ext >&5
22458
22459
22460 fi
22461
22462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22463 conftest$ac_exeext conftest.$ac_ext
22464 ac_cv_sys_largefile_source=unknown
22465 break
22466 done
22467 fi
22468 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22469 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22470 case $ac_cv_sys_largefile_source in #(
22471 no | unknown) ;;
22472 *)
22473 cat >>confdefs.h <<_ACEOF
22474 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22475 _ACEOF
22476 ;;
22477 esac
22478 rm -f conftest*
22479
22480 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22481 # in glibc 2.1.3, but that breaks too many other things.
22482 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22483 if test $ac_cv_sys_largefile_source != unknown; then
22484
22485 cat >>confdefs.h <<\_ACEOF
22486 #define HAVE_FSEEKO 1
22487 _ACEOF
22488
22489 fi
22490
22491 if test "$ac_cv_sys_largefile_source" != no; then
22492 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22493 fi
22494 fi
22495
22496 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22497 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22498 if test "${ac_cv_c_bigendian+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 else
22501 ac_cv_c_bigendian=unknown
22502 # See if sys/param.h defines the BYTE_ORDER macro.
22503 cat >conftest.$ac_ext <<_ACEOF
22504 /* confdefs.h. */
22505 _ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509 #include <sys/types.h>
22510 #include <sys/param.h>
22511 int
22512 main ()
22513 {
22514
22515 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22516 bogus endian macros
22517 #endif
22518 ;
22519 return 0;
22520 }
22521 _ACEOF
22522 rm -f conftest.$ac_objext
22523 if { (ac_try="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22527 esac
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22530 ac_status=$?
22531 grep -v '^ *+' conftest.er1 >conftest.err
22532 rm -f conftest.er1
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } && {
22536 test -z "$ac_c_werror_flag" ||
22537 test ! -s conftest.err
22538 } && test -s conftest.$ac_objext; then
22539 # It does; now see whether it defined to BIG_ENDIAN or not.
22540 cat >conftest.$ac_ext <<_ACEOF
22541 /* confdefs.h. */
22542 _ACEOF
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546 #include <sys/types.h>
22547 #include <sys/param.h>
22548 int
22549 main ()
22550 {
22551
22552 #if BYTE_ORDER != BIG_ENDIAN
22553 not big endian
22554 #endif
22555 ;
22556 return 0;
22557 }
22558 _ACEOF
22559 rm -f conftest.$ac_objext
22560 if { (ac_try="$ac_compile"
22561 case "(($ac_try" in
22562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22563 *) ac_try_echo=$ac_try;;
22564 esac
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22566 (eval "$ac_compile") 2>conftest.er1
22567 ac_status=$?
22568 grep -v '^ *+' conftest.er1 >conftest.err
22569 rm -f conftest.er1
22570 cat conftest.err >&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } && {
22573 test -z "$ac_c_werror_flag" ||
22574 test ! -s conftest.err
22575 } && test -s conftest.$ac_objext; then
22576 ac_cv_c_bigendian=yes
22577 else
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22580
22581 ac_cv_c_bigendian=no
22582 fi
22583
22584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589
22590 fi
22591
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22593 if test $ac_cv_c_bigendian = unknown; then
22594 if test "$cross_compiling" = yes; then
22595 ac_cv_c_bigendian=unknown
22596 else
22597 cat >conftest.$ac_ext <<_ACEOF
22598 /* confdefs.h. */
22599 _ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603 main () {
22604 /* Are we little or big endian? From Harbison&Steele. */
22605 union
22606 {
22607 long l;
22608 char c[sizeof (long)];
22609 } u;
22610 u.l = 1;
22611 exit (u.c[sizeof (long) - 1] == 1);
22612 }
22613 _ACEOF
22614 rm -f conftest$ac_exeext
22615 if { (ac_try="$ac_link"
22616 case "(($ac_try" in
22617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618 *) ac_try_echo=$ac_try;;
22619 esac
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621 (eval "$ac_link") 2>&5
22622 ac_status=$?
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22625 { (case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22628 esac
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_try") 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 ac_cv_c_bigendian=no
22635 else
22636 echo "$as_me: program exited with status $ac_status" >&5
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22639
22640 ( exit $ac_status )
22641 ac_cv_c_bigendian=yes
22642 fi
22643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22644 fi
22645
22646
22647 fi
22648 fi
22649 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22650 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22651 if test $ac_cv_c_bigendian = unknown; then
22652 { 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
22653 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;}
22654 fi
22655 if test $ac_cv_c_bigendian = yes; then
22656 cat >>confdefs.h <<\_ACEOF
22657 #define WORDS_BIGENDIAN 1
22658 _ACEOF
22659
22660 fi
22661
22662
22663
22664
22665 ac_ext=cpp
22666 ac_cpp='$CXXCPP $CPPFLAGS'
22667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22670
22671
22672 { echo "$as_me:$LINENO: checking for iostream" >&5
22673 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22674 if test "${ac_cv_header_iostream+set}" = set; then
22675 echo $ECHO_N "(cached) $ECHO_C" >&6
22676 else
22677 cat >conftest.$ac_ext <<_ACEOF
22678 /* confdefs.h. */
22679 _ACEOF
22680 cat confdefs.h >>conftest.$ac_ext
22681 cat >>conftest.$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22683
22684
22685 #include <iostream>
22686 _ACEOF
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22692 esac
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22695 ac_status=$?
22696 grep -v '^ *+' conftest.er1 >conftest.err
22697 rm -f conftest.er1
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } && {
22701 test -z "$ac_cxx_werror_flag" ||
22702 test ! -s conftest.err
22703 } && test -s conftest.$ac_objext; then
22704 ac_cv_header_iostream=yes
22705 else
22706 echo "$as_me: failed program was:" >&5
22707 sed 's/^/| /' conftest.$ac_ext >&5
22708
22709 ac_cv_header_iostream=no
22710 fi
22711
22712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22713 fi
22714 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22715 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22716
22717
22718
22719 if test "$ac_cv_header_iostream" = "yes" ; then
22720 :
22721 else
22722 cat >>confdefs.h <<\_ACEOF
22723 #define wxUSE_IOSTREAMH 1
22724 _ACEOF
22725
22726 fi
22727
22728 ac_ext=c
22729 ac_cpp='$CPP $CPPFLAGS'
22730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22733
22734
22735
22736
22737 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22738 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22739 if test "${wx_cv_cpp_bool+set}" = set; then
22740 echo $ECHO_N "(cached) $ECHO_C" >&6
22741 else
22742
22743
22744 ac_ext=cpp
22745 ac_cpp='$CXXCPP $CPPFLAGS'
22746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22749
22750
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757
22758
22759 int
22760 main ()
22761 {
22762
22763 bool b = true;
22764
22765 return 0;
22766
22767 ;
22768 return 0;
22769 }
22770 _ACEOF
22771 rm -f conftest.$ac_objext
22772 if { (ac_try="$ac_compile"
22773 case "(($ac_try" in
22774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22775 *) ac_try_echo=$ac_try;;
22776 esac
22777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22778 (eval "$ac_compile") 2>conftest.er1
22779 ac_status=$?
22780 grep -v '^ *+' conftest.er1 >conftest.err
22781 rm -f conftest.er1
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } && {
22785 test -z "$ac_cxx_werror_flag" ||
22786 test ! -s conftest.err
22787 } && test -s conftest.$ac_objext; then
22788
22789 wx_cv_cpp_bool=yes
22790
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795
22796 wx_cv_cpp_bool=no
22797
22798
22799 fi
22800
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802
22803 ac_ext=c
22804 ac_cpp='$CPP $CPPFLAGS'
22805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22808
22809
22810 fi
22811 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22812 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22813
22814 if test "$wx_cv_cpp_bool" = "yes"; then
22815 cat >>confdefs.h <<\_ACEOF
22816 #define HAVE_BOOL 1
22817 _ACEOF
22818
22819 fi
22820
22821
22822
22823 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22824 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22825 if test "${wx_cv_explicit+set}" = set; then
22826 echo $ECHO_N "(cached) $ECHO_C" >&6
22827 else
22828
22829
22830 ac_ext=cpp
22831 ac_cpp='$CXXCPP $CPPFLAGS'
22832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22835
22836
22837 cat >conftest.$ac_ext <<_ACEOF
22838 /* confdefs.h. */
22839 _ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22843
22844 class Foo { public: explicit Foo(int) {} };
22845
22846 int
22847 main ()
22848 {
22849
22850 return 0;
22851
22852 ;
22853 return 0;
22854 }
22855 _ACEOF
22856 rm -f conftest.$ac_objext
22857 if { (ac_try="$ac_compile"
22858 case "(($ac_try" in
22859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22860 *) ac_try_echo=$ac_try;;
22861 esac
22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && {
22870 test -z "$ac_cxx_werror_flag" ||
22871 test ! -s conftest.err
22872 } && test -s conftest.$ac_objext; then
22873
22874 cat >conftest.$ac_ext <<_ACEOF
22875 /* confdefs.h. */
22876 _ACEOF
22877 cat confdefs.h >>conftest.$ac_ext
22878 cat >>conftest.$ac_ext <<_ACEOF
22879 /* end confdefs.h. */
22880
22881 class Foo { public: explicit Foo(int) {} };
22882 static void TakeFoo(const Foo& foo) { }
22883
22884 int
22885 main ()
22886 {
22887
22888 TakeFoo(17);
22889 return 0;
22890
22891 ;
22892 return 0;
22893 }
22894 _ACEOF
22895 rm -f conftest.$ac_objext
22896 if { (ac_try="$ac_compile"
22897 case "(($ac_try" in
22898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22899 *) ac_try_echo=$ac_try;;
22900 esac
22901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22902 (eval "$ac_compile") 2>conftest.er1
22903 ac_status=$?
22904 grep -v '^ *+' conftest.er1 >conftest.err
22905 rm -f conftest.er1
22906 cat conftest.err >&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } && {
22909 test -z "$ac_cxx_werror_flag" ||
22910 test ! -s conftest.err
22911 } && test -s conftest.$ac_objext; then
22912 wx_cv_explicit=no
22913 else
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22916
22917 wx_cv_explicit=yes
22918
22919 fi
22920
22921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22922
22923 else
22924 echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.$ac_ext >&5
22926
22927 wx_cv_explicit=no
22928
22929 fi
22930
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22932
22933 ac_ext=c
22934 ac_cpp='$CPP $CPPFLAGS'
22935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22938
22939
22940 fi
22941 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22942 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22943
22944 if test "$wx_cv_explicit" = "yes"; then
22945 cat >>confdefs.h <<\_ACEOF
22946 #define HAVE_EXPLICIT 1
22947 _ACEOF
22948
22949 fi
22950
22951
22952 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22953 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22954 if test "${ac_cv_cxx_const_cast+set}" = set; then
22955 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 else
22957
22958 ac_ext=cpp
22959 ac_cpp='$CXXCPP $CPPFLAGS'
22960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963
22964 cat >conftest.$ac_ext <<_ACEOF
22965 /* confdefs.h. */
22966 _ACEOF
22967 cat confdefs.h >>conftest.$ac_ext
22968 cat >>conftest.$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22970
22971 int
22972 main ()
22973 {
22974 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22975 ;
22976 return 0;
22977 }
22978 _ACEOF
22979 rm -f conftest.$ac_objext
22980 if { (ac_try="$ac_compile"
22981 case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22984 esac
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_compile") 2>conftest.er1
22987 ac_status=$?
22988 grep -v '^ *+' conftest.er1 >conftest.err
22989 rm -f conftest.er1
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && {
22993 test -z "$ac_cxx_werror_flag" ||
22994 test ! -s conftest.err
22995 } && test -s conftest.$ac_objext; then
22996 ac_cv_cxx_const_cast=yes
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001 ac_cv_cxx_const_cast=no
23002 fi
23003
23004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23005 ac_ext=c
23006 ac_cpp='$CPP $CPPFLAGS'
23007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23010
23011
23012 fi
23013 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23014 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23015 if test "$ac_cv_cxx_const_cast" = yes; then
23016
23017 cat >>confdefs.h <<\_ACEOF
23018 #define HAVE_CONST_CAST
23019 _ACEOF
23020
23021 fi
23022
23023 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23024 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23025 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 else
23028
23029 ac_ext=cpp
23030 ac_cpp='$CXXCPP $CPPFLAGS'
23031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23034
23035 cat >conftest.$ac_ext <<_ACEOF
23036 /* confdefs.h. */
23037 _ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 #include <typeinfo>
23042 class Base { public : Base () {} virtual void f () = 0;};
23043 class Derived : public Base { public : Derived () {} virtual void f () {} };
23044 class Unrelated { public : Unrelated () {} };
23045 int g (Unrelated&) { return 0; }
23046 int
23047 main ()
23048 {
23049
23050 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23051 ;
23052 return 0;
23053 }
23054 _ACEOF
23055 rm -f conftest.$ac_objext
23056 if { (ac_try="$ac_compile"
23057 case "(($ac_try" in
23058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059 *) ac_try_echo=$ac_try;;
23060 esac
23061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062 (eval "$ac_compile") 2>conftest.er1
23063 ac_status=$?
23064 grep -v '^ *+' conftest.er1 >conftest.err
23065 rm -f conftest.er1
23066 cat conftest.err >&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } && {
23069 test -z "$ac_cxx_werror_flag" ||
23070 test ! -s conftest.err
23071 } && test -s conftest.$ac_objext; then
23072 ac_cv_cxx_reinterpret_cast=yes
23073 else
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23076
23077 ac_cv_cxx_reinterpret_cast=no
23078 fi
23079
23080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23081 ac_ext=c
23082 ac_cpp='$CPP $CPPFLAGS'
23083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23086
23087
23088 fi
23089 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23090 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23091 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23092
23093 cat >>confdefs.h <<\_ACEOF
23094 #define HAVE_REINTERPRET_CAST
23095 _ACEOF
23096
23097 fi
23098
23099 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23100 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23101 if test "${ac_cv_cxx_static_cast+set}" = set; then
23102 echo $ECHO_N "(cached) $ECHO_C" >&6
23103 else
23104
23105 ac_ext=cpp
23106 ac_cpp='$CXXCPP $CPPFLAGS'
23107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23110
23111 cat >conftest.$ac_ext <<_ACEOF
23112 /* confdefs.h. */
23113 _ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 #include <typeinfo>
23118 class Base { public : Base () {} virtual void f () = 0; };
23119 class Derived : public Base { public : Derived () {} virtual void f () {} };
23120 int g (Derived&) { return 0; }
23121 int
23122 main ()
23123 {
23124
23125 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23126 ;
23127 return 0;
23128 }
23129 _ACEOF
23130 rm -f conftest.$ac_objext
23131 if { (ac_try="$ac_compile"
23132 case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23135 esac
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23138 ac_status=$?
23139 grep -v '^ *+' conftest.er1 >conftest.err
23140 rm -f conftest.er1
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } && {
23144 test -z "$ac_cxx_werror_flag" ||
23145 test ! -s conftest.err
23146 } && test -s conftest.$ac_objext; then
23147 ac_cv_cxx_static_cast=yes
23148 else
23149 echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.$ac_ext >&5
23151
23152 ac_cv_cxx_static_cast=no
23153 fi
23154
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 ac_ext=c
23157 ac_cpp='$CPP $CPPFLAGS'
23158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23161
23162
23163 fi
23164 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23165 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23166 if test "$ac_cv_cxx_static_cast" = yes; then
23167
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_STATIC_CAST
23170 _ACEOF
23171
23172 fi
23173
23174
23175 if test "x$SUNCXX" = xyes; then
23176 CXXFLAGS="-features=tmplife $CXXFLAGS"
23177 fi
23178
23179 if test "x$SUNCC" = xyes; then
23180 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23181 fi
23182
23183 if test "x$SGICC" = "xyes"; then
23184 CFLAGS="-woff 3970 $CFLAGS"
23185 fi
23186 if test "x$SGICXX" = "xyes"; then
23187 CXXFLAGS="-woff 3970 $CXXFLAGS"
23188 fi
23189
23190 if test "x$HPCC" = "xyes"; then
23191 CFLAGS="+W 2011,2450 $CFLAGS"
23192 fi
23193 if test "x$HPCXX" = "xyes"; then
23194 CXXFLAGS="+W 2340 $CXXFLAGS"
23195 fi
23196
23197 if test "x$COMPAQCXX" = "xyes"; then
23198 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23199 fi
23200
23201 ac_ext=cpp
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207
23208 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23209 if test "$wxUSE_UNICODE" = "yes"; then
23210 std_string="std::wstring"
23211 char_type="wchar_t"
23212 else
23213 std_string="std::string"
23214 char_type="char"
23215 fi
23216
23217 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23218 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23219 if test "${wx_cv_class_stdstring+set}" = set; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23221 else
23222
23223 cat >conftest.$ac_ext <<_ACEOF
23224 /* confdefs.h. */
23225 _ACEOF
23226 cat confdefs.h >>conftest.$ac_ext
23227 cat >>conftest.$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23229 #include <string>
23230 int
23231 main ()
23232 {
23233 $std_string foo;
23234 ;
23235 return 0;
23236 }
23237 _ACEOF
23238 rm -f conftest.$ac_objext
23239 if { (ac_try="$ac_compile"
23240 case "(($ac_try" in
23241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23242 *) ac_try_echo=$ac_try;;
23243 esac
23244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23245 (eval "$ac_compile") 2>conftest.er1
23246 ac_status=$?
23247 grep -v '^ *+' conftest.er1 >conftest.err
23248 rm -f conftest.er1
23249 cat conftest.err >&5
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); } && {
23252 test -z "$ac_cxx_werror_flag" ||
23253 test ! -s conftest.err
23254 } && test -s conftest.$ac_objext; then
23255 wx_cv_class_stdstring=yes
23256 else
23257 echo "$as_me: failed program was:" >&5
23258 sed 's/^/| /' conftest.$ac_ext >&5
23259
23260 wx_cv_class_stdstring=no
23261
23262 fi
23263
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23265
23266
23267 fi
23268 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23269 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23270
23271 if test "$wx_cv_class_stdstring" = yes; then
23272 if test "$wxUSE_UNICODE" = "yes"; then
23273 cat >>confdefs.h <<\_ACEOF
23274 #define HAVE_STD_WSTRING 1
23275 _ACEOF
23276
23277 fi
23278 else
23279 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23280 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23281 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23283 else
23284
23285 cat >conftest.$ac_ext <<_ACEOF
23286 /* confdefs.h. */
23287 _ACEOF
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291
23292 #ifdef HAVE_WCHAR_H
23293 # ifdef __CYGWIN__
23294 # include <stddef.h>
23295 # endif
23296 # include <wchar.h>
23297 #endif
23298 #ifdef HAVE_STDLIB_H
23299 # include <stdlib.h>
23300 #endif
23301 #include <stdio.h>
23302 #include <string>
23303
23304 int
23305 main ()
23306 {
23307 std::basic_string<$char_type> foo;
23308 const $char_type* dummy = foo.c_str();
23309 ;
23310 return 0;
23311 }
23312 _ACEOF
23313 rm -f conftest.$ac_objext
23314 if { (ac_try="$ac_compile"
23315 case "(($ac_try" in
23316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23317 *) ac_try_echo=$ac_try;;
23318 esac
23319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23320 (eval "$ac_compile") 2>conftest.er1
23321 ac_status=$?
23322 grep -v '^ *+' conftest.er1 >conftest.err
23323 rm -f conftest.er1
23324 cat conftest.err >&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); } && {
23327 test -z "$ac_cxx_werror_flag" ||
23328 test ! -s conftest.err
23329 } && test -s conftest.$ac_objext; then
23330 wx_cv_class_stdbasicstring=yes
23331 else
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23334
23335 wx_cv_class_stdbasicstring=no
23336
23337 fi
23338
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340
23341
23342 fi
23343 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23344 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23345
23346 if test "$wx_cv_class_stdbasicstring" != yes; then
23347 if test "$wxUSE_STL" = "yes"; then
23348 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23349 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23350 { (exit 1); exit 1; }; }
23351 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23352 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23353 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23354 { (exit 1); exit 1; }; }
23355 else
23356 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23357 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23358 wxUSE_STD_STRING=no
23359 fi
23360 fi
23361 fi
23362 fi
23363
23364 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23365 { echo "$as_me:$LINENO: checking for std::istream" >&5
23366 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23367 if test "${ac_cv_type_std__istream+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23369 else
23370 cat >conftest.$ac_ext <<_ACEOF
23371 /* confdefs.h. */
23372 _ACEOF
23373 cat confdefs.h >>conftest.$ac_ext
23374 cat >>conftest.$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23376 #include <iostream>
23377
23378 typedef std::istream ac__type_new_;
23379 int
23380 main ()
23381 {
23382 if ((ac__type_new_ *) 0)
23383 return 0;
23384 if (sizeof (ac__type_new_))
23385 return 0;
23386 ;
23387 return 0;
23388 }
23389 _ACEOF
23390 rm -f conftest.$ac_objext
23391 if { (ac_try="$ac_compile"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23395 esac
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_compile") 2>conftest.er1
23398 ac_status=$?
23399 grep -v '^ *+' conftest.er1 >conftest.err
23400 rm -f conftest.er1
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_cxx_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest.$ac_objext; then
23407 ac_cv_type_std__istream=yes
23408 else
23409 echo "$as_me: failed program was:" >&5
23410 sed 's/^/| /' conftest.$ac_ext >&5
23411
23412 ac_cv_type_std__istream=no
23413 fi
23414
23415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23416 fi
23417 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23418 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23419 if test $ac_cv_type_std__istream = yes; then
23420
23421 cat >>confdefs.h <<_ACEOF
23422 #define HAVE_STD__ISTREAM 1
23423 _ACEOF
23424
23425
23426 else
23427 wxUSE_STD_IOSTREAM=no
23428 fi
23429 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23430 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23431 if test "${ac_cv_type_std__ostream+set}" = set; then
23432 echo $ECHO_N "(cached) $ECHO_C" >&6
23433 else
23434 cat >conftest.$ac_ext <<_ACEOF
23435 /* confdefs.h. */
23436 _ACEOF
23437 cat confdefs.h >>conftest.$ac_ext
23438 cat >>conftest.$ac_ext <<_ACEOF
23439 /* end confdefs.h. */
23440 #include <iostream>
23441
23442 typedef std::ostream ac__type_new_;
23443 int
23444 main ()
23445 {
23446 if ((ac__type_new_ *) 0)
23447 return 0;
23448 if (sizeof (ac__type_new_))
23449 return 0;
23450 ;
23451 return 0;
23452 }
23453 _ACEOF
23454 rm -f conftest.$ac_objext
23455 if { (ac_try="$ac_compile"
23456 case "(($ac_try" in
23457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23458 *) ac_try_echo=$ac_try;;
23459 esac
23460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23461 (eval "$ac_compile") 2>conftest.er1
23462 ac_status=$?
23463 grep -v '^ *+' conftest.er1 >conftest.err
23464 rm -f conftest.er1
23465 cat conftest.err >&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); } && {
23468 test -z "$ac_cxx_werror_flag" ||
23469 test ! -s conftest.err
23470 } && test -s conftest.$ac_objext; then
23471 ac_cv_type_std__ostream=yes
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23475
23476 ac_cv_type_std__ostream=no
23477 fi
23478
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 fi
23481 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23482 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23483 if test $ac_cv_type_std__ostream = yes; then
23484
23485 cat >>confdefs.h <<_ACEOF
23486 #define HAVE_STD__OSTREAM 1
23487 _ACEOF
23488
23489
23490 else
23491 wxUSE_STD_IOSTREAM=no
23492 fi
23493
23494
23495 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23496 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23497 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23498 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23499 { (exit 1); exit 1; }; }
23500 else
23501 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23502 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23503 fi
23504 fi
23505 fi
23506
23507 if test "$wxUSE_STL" = "yes"; then
23508 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23509 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23510 if test "${wx_cv_lib_stl+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 #include <string>
23520 #include <functional>
23521 #include <algorithm>
23522 #include <vector>
23523 #include <list>
23524 int
23525 main ()
23526 {
23527 std::vector<int> moo;
23528 std::list<int> foo;
23529 std::vector<int>::iterator it =
23530 std::find_if(moo.begin(), moo.end(),
23531 std::bind2nd(std::less<int>(), 3));
23532 ;
23533 return 0;
23534 }
23535 _ACEOF
23536 rm -f conftest.$ac_objext
23537 if { (ac_try="$ac_compile"
23538 case "(($ac_try" in
23539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23540 *) ac_try_echo=$ac_try;;
23541 esac
23542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23543 (eval "$ac_compile") 2>conftest.er1
23544 ac_status=$?
23545 grep -v '^ *+' conftest.er1 >conftest.err
23546 rm -f conftest.er1
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } && {
23550 test -z "$ac_cxx_werror_flag" ||
23551 test ! -s conftest.err
23552 } && test -s conftest.$ac_objext; then
23553 wx_cv_lib_stl=yes
23554 else
23555 echo "$as_me: failed program was:" >&5
23556 sed 's/^/| /' conftest.$ac_ext >&5
23557
23558 wx_cv_lib_stl=no
23559
23560 fi
23561
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23563
23564 fi
23565 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23566 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23567
23568 if test "$wx_cv_lib_stl" != yes; then
23569 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23570 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23571 { (exit 1); exit 1; }; }
23572 fi
23573
23574 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23575 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23576 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 else
23579 cat >conftest.$ac_ext <<_ACEOF
23580 /* confdefs.h. */
23581 _ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23585 #include <string>
23586 int
23587 main ()
23588 {
23589 std::string foo, bar;
23590 foo.compare(bar);
23591 foo.compare(1, 1, bar);
23592 foo.compare(1, 1, bar, 1, 1);
23593 foo.compare("");
23594 foo.compare(1, 1, "");
23595 foo.compare(1, 1, "", 2);
23596 ;
23597 return 0;
23598 }
23599 _ACEOF
23600 rm -f conftest.$ac_objext
23601 if { (ac_try="$ac_compile"
23602 case "(($ac_try" in
23603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23605 esac
23606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_compile") 2>conftest.er1
23608 ac_status=$?
23609 grep -v '^ *+' conftest.er1 >conftest.err
23610 rm -f conftest.er1
23611 cat conftest.err >&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } && {
23614 test -z "$ac_cxx_werror_flag" ||
23615 test ! -s conftest.err
23616 } && test -s conftest.$ac_objext; then
23617 wx_cv_func_stdstring_compare=yes
23618 else
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.$ac_ext >&5
23621
23622 wx_cv_func_stdstring_compare=no
23623
23624 fi
23625
23626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23627
23628 fi
23629 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23630 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23631
23632 if test "$wx_cv_func_stdstring_compare" = yes; then
23633 cat >>confdefs.h <<\_ACEOF
23634 #define HAVE_STD_STRING_COMPARE 1
23635 _ACEOF
23636
23637 fi
23638
23639 { echo "$as_me:$LINENO: checking for hash_map" >&5
23640 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23641 if test "${ac_cv_header_hash_map+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23644 cat >conftest.$ac_ext <<_ACEOF
23645 /* confdefs.h. */
23646 _ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23650
23651
23652
23653 #include <hash_map>
23654 _ACEOF
23655 rm -f conftest.$ac_objext
23656 if { (ac_try="$ac_compile"
23657 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659 *) ac_try_echo=$ac_try;;
23660 esac
23661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662 (eval "$ac_compile") 2>conftest.er1
23663 ac_status=$?
23664 grep -v '^ *+' conftest.er1 >conftest.err
23665 rm -f conftest.er1
23666 cat conftest.err >&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } && {
23669 test -z "$ac_cxx_werror_flag" ||
23670 test ! -s conftest.err
23671 } && test -s conftest.$ac_objext; then
23672 ac_cv_header_hash_map=yes
23673 else
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23676
23677 ac_cv_header_hash_map=no
23678 fi
23679
23680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 fi
23682 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23683 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23684 if test $ac_cv_header_hash_map = yes; then
23685 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23686 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23687 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 else
23690 cat >conftest.$ac_ext <<_ACEOF
23691 /* confdefs.h. */
23692 _ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 #include <hash_map>
23697 #include <hash_set>
23698 int
23699 main ()
23700 {
23701 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23702 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23703 ;
23704 return 0;
23705 }
23706 _ACEOF
23707 rm -f conftest.$ac_objext
23708 if { (ac_try="$ac_compile"
23709 case "(($ac_try" in
23710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23711 *) ac_try_echo=$ac_try;;
23712 esac
23713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23714 (eval "$ac_compile") 2>conftest.er1
23715 ac_status=$?
23716 grep -v '^ *+' conftest.er1 >conftest.err
23717 rm -f conftest.er1
23718 cat conftest.err >&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } && {
23721 test -z "$ac_cxx_werror_flag" ||
23722 test ! -s conftest.err
23723 } && test -s conftest.$ac_objext; then
23724 wx_cv_class_stdhashmapset=yes
23725 else
23726 echo "$as_me: failed program was:" >&5
23727 sed 's/^/| /' conftest.$ac_ext >&5
23728
23729 wx_cv_class_stdhashmapset=no
23730 fi
23731
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733
23734
23735 fi
23736 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23737 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23738 fi
23739
23740
23741
23742 if test "$wx_cv_class_stdhashmapset" = yes; then
23743 cat >>confdefs.h <<\_ACEOF
23744 #define HAVE_HASH_MAP 1
23745 _ACEOF
23746
23747 cat >>confdefs.h <<\_ACEOF
23748 #define HAVE_STD_HASH_MAP 1
23749 _ACEOF
23750
23751 fi
23752
23753 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23754 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23755 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23756 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 else
23758 cat >conftest.$ac_ext <<_ACEOF
23759 /* confdefs.h. */
23760 _ACEOF
23761 cat confdefs.h >>conftest.$ac_ext
23762 cat >>conftest.$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23764
23765
23766
23767 #include <ext/hash_map>
23768 _ACEOF
23769 rm -f conftest.$ac_objext
23770 if { (ac_try="$ac_compile"
23771 case "(($ac_try" in
23772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23773 *) ac_try_echo=$ac_try;;
23774 esac
23775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23776 (eval "$ac_compile") 2>conftest.er1
23777 ac_status=$?
23778 grep -v '^ *+' conftest.er1 >conftest.err
23779 rm -f conftest.er1
23780 cat conftest.err >&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } && {
23783 test -z "$ac_cxx_werror_flag" ||
23784 test ! -s conftest.err
23785 } && test -s conftest.$ac_objext; then
23786 ac_cv_header_ext_hash_map=yes
23787 else
23788 echo "$as_me: failed program was:" >&5
23789 sed 's/^/| /' conftest.$ac_ext >&5
23790
23791 ac_cv_header_ext_hash_map=no
23792 fi
23793
23794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795 fi
23796 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23797 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23798 if test $ac_cv_header_ext_hash_map = yes; then
23799 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23800 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23801 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <ext/hash_map>
23811 #include <ext/hash_set>
23812 int
23813 main ()
23814 {
23815 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23816 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23817 ;
23818 return 0;
23819 }
23820 _ACEOF
23821 rm -f conftest.$ac_objext
23822 if { (ac_try="$ac_compile"
23823 case "(($ac_try" in
23824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23825 *) ac_try_echo=$ac_try;;
23826 esac
23827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23828 (eval "$ac_compile") 2>conftest.er1
23829 ac_status=$?
23830 grep -v '^ *+' conftest.er1 >conftest.err
23831 rm -f conftest.er1
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } && {
23835 test -z "$ac_cxx_werror_flag" ||
23836 test ! -s conftest.err
23837 } && test -s conftest.$ac_objext; then
23838 wx_cv_class_gnuhashmapset=yes
23839 else
23840 echo "$as_me: failed program was:" >&5
23841 sed 's/^/| /' conftest.$ac_ext >&5
23842
23843 wx_cv_class_gnuhashmapset=no
23844 fi
23845
23846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23847
23848
23849 fi
23850 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23851 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23852 fi
23853
23854
23855
23856 if test "$wx_cv_class_gnuhashmapset" = yes; then
23857 cat >>confdefs.h <<\_ACEOF
23858 #define HAVE_EXT_HASH_MAP 1
23859 _ACEOF
23860
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_GNU_CXX_HASH_MAP 1
23863 _ACEOF
23864
23865 fi
23866 fi
23867
23868 ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873
23874
23875
23876 SEARCH_INCLUDE="\
23877 /usr/local/include \
23878 \
23879 /usr/Motif-2.1/include \
23880 /usr/Motif-1.2/include \
23881 /usr/include/Motif1.2 \
23882 \
23883 /usr/dt/include \
23884 /usr/openwin/include \
23885 \
23886 /usr/include/Xm \
23887 \
23888 /usr/X11R6/include \
23889 /usr/X11R6.4/include \
23890 /usr/X11R5/include \
23891 /usr/X11R4/include \
23892 \
23893 /usr/include/X11R6 \
23894 /usr/include/X11R5 \
23895 /usr/include/X11R4 \
23896 \
23897 /usr/local/X11R6/include \
23898 /usr/local/X11R5/include \
23899 /usr/local/X11R4/include \
23900 \
23901 /usr/local/include/X11R6 \
23902 /usr/local/include/X11R5 \
23903 /usr/local/include/X11R4 \
23904 \
23905 /usr/X11/include \
23906 /usr/include/X11 \
23907 /usr/local/X11/include \
23908 /usr/local/include/X11 \
23909 \
23910 /usr/XFree86/include/X11 \
23911 /usr/pkg/include \
23912 \
23913 /usr/openwin/share/include"
23914
23915 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23916 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23917
23918 case "${host}" in
23919 *-*-irix6* )
23920 if test "${wx_cv_std_libpath+set}" = set; then
23921 echo $ECHO_N "(cached) $ECHO_C" >&6
23922 else
23923
23924 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23925 for e in a so sl dylib dll.a; do
23926 libc="$d/libc.$e"
23927 if test -f $libc; then
23928 save_LIBS="$LIBS"
23929 LIBS="$libc"
23930 cat >conftest.$ac_ext <<_ACEOF
23931 int main() { return 0; }
23932 _ACEOF
23933 rm -f conftest.$ac_objext conftest$ac_exeext
23934 if { (ac_try="$ac_link"
23935 case "(($ac_try" in
23936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23937 *) ac_try_echo=$ac_try;;
23938 esac
23939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23940 (eval "$ac_link") 2>conftest.er1
23941 ac_status=$?
23942 grep -v '^ *+' conftest.er1 >conftest.err
23943 rm -f conftest.er1
23944 cat conftest.err >&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); } && {
23947 test -z "$ac_c_werror_flag" ||
23948 test ! -s conftest.err
23949 } && test -s conftest$ac_exeext &&
23950 $as_test_x conftest$ac_exeext; then
23951 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23952 else
23953 echo "$as_me: failed program was:" >&5
23954 sed 's/^/| /' conftest.$ac_ext >&5
23955
23956
23957 fi
23958
23959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23960 conftest$ac_exeext conftest.$ac_ext
23961 LIBS="$save_LIBS"
23962 if test "x$wx_cv_std_libpath" != "x"; then
23963 break 2
23964 fi
23965 fi
23966 done
23967 done
23968 if test "x$wx_cv_std_libpath" = "x"; then
23969 wx_cv_std_libpath="lib"
23970 fi
23971
23972
23973 fi
23974
23975 ;;
23976
23977 *-*-solaris2* )
23978 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23979 wx_cv_std_libpath="lib/64"
23980 else
23981 wx_cv_std_libpath="lib"
23982 fi
23983 ;;
23984
23985 *-*-linux* )
23986 if test "$ac_cv_sizeof_void_p" = 8 -a \
23987 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23988 wx_cv_std_libpath="lib64"
23989 else
23990 wx_cv_std_libpath="lib"
23991 fi
23992 ;;
23993
23994 *)
23995 wx_cv_std_libpath="lib";
23996 ;;
23997 esac
23998
23999 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24000 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24001
24002 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24003
24004 if test "$build" != "$host" -a "$GCC" = yes; then
24005 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24006 cross_root=`dirname $cross_root`
24007 cross_root=`dirname $cross_root`
24008
24009 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24010 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24011 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24012
24013 if test -z "$PKG_CONFIG_PATH"; then
24014 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24015 export PKG_CONFIG_PATH
24016 fi
24017
24018 if test -z "$x_includes" -o "$x_includes" = NONE; then
24019
24020 ac_find_includes=
24021 for ac_dir in $SEARCH_INCLUDE /usr/include;
24022 do
24023 if test -f "$ac_dir/X11/Intrinsic.h"; then
24024 ac_find_includes=$ac_dir
24025 break
24026 fi
24027 done
24028
24029 x_includes=$ac_find_includes
24030 fi
24031 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24032
24033 ac_find_libraries=
24034 for ac_dir in $SEARCH_LIB;
24035 do
24036 for ac_extension in a so sl dylib dll.a; do
24037 if test -f "$ac_dir/libXt.$ac_extension"; then
24038 ac_find_libraries=$ac_dir
24039 break 2
24040 fi
24041 done
24042 done
24043
24044 x_libraries=$ac_find_libraries
24045 fi
24046 fi
24047 fi
24048
24049
24050 cat >confcache <<\_ACEOF
24051 # This file is a shell script that caches the results of configure
24052 # tests run on this system so they can be shared between configure
24053 # scripts and configure runs, see configure's option --config-cache.
24054 # It is not useful on other systems. If it contains results you don't
24055 # want to keep, you may remove or edit it.
24056 #
24057 # config.status only pays attention to the cache file if you give it
24058 # the --recheck option to rerun configure.
24059 #
24060 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24061 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24062 # following values.
24063
24064 _ACEOF
24065
24066 # The following way of writing the cache mishandles newlines in values,
24067 # but we know of no workaround that is simple, portable, and efficient.
24068 # So, we kill variables containing newlines.
24069 # Ultrix sh set writes to stderr and can't be redirected directly,
24070 # and sets the high bit in the cache file unless we assign to the vars.
24071 (
24072 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24073 eval ac_val=\$$ac_var
24074 case $ac_val in #(
24075 *${as_nl}*)
24076 case $ac_var in #(
24077 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24078 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24079 esac
24080 case $ac_var in #(
24081 _ | IFS | as_nl) ;; #(
24082 *) $as_unset $ac_var ;;
24083 esac ;;
24084 esac
24085 done
24086
24087 (set) 2>&1 |
24088 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24089 *${as_nl}ac_space=\ *)
24090 # `set' does not quote correctly, so add quotes (double-quote
24091 # substitution turns \\\\ into \\, and sed turns \\ into \).
24092 sed -n \
24093 "s/'/'\\\\''/g;
24094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24095 ;; #(
24096 *)
24097 # `set' quotes correctly as required by POSIX, so do not add quotes.
24098 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24099 ;;
24100 esac |
24101 sort
24102 ) |
24103 sed '
24104 /^ac_cv_env_/b end
24105 t clear
24106 :clear
24107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24108 t end
24109 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24110 :end' >>confcache
24111 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24112 if test -w "$cache_file"; then
24113 test "x$cache_file" != "x/dev/null" &&
24114 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24115 echo "$as_me: updating cache $cache_file" >&6;}
24116 cat confcache >$cache_file
24117 else
24118 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24119 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24120 fi
24121 fi
24122 rm -f confcache
24123
24124 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24125 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24126 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24127 if test "${wx_cv_lib_glibc21+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24129 else
24130
24131 cat >conftest.$ac_ext <<_ACEOF
24132 /* confdefs.h. */
24133 _ACEOF
24134 cat confdefs.h >>conftest.$ac_ext
24135 cat >>conftest.$ac_ext <<_ACEOF
24136 /* end confdefs.h. */
24137 #include <features.h>
24138 int
24139 main ()
24140 {
24141
24142 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24143 not glibc 2.1
24144 #endif
24145
24146 ;
24147 return 0;
24148 }
24149 _ACEOF
24150 rm -f conftest.$ac_objext
24151 if { (ac_try="$ac_compile"
24152 case "(($ac_try" in
24153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24154 *) ac_try_echo=$ac_try;;
24155 esac
24156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24157 (eval "$ac_compile") 2>conftest.er1
24158 ac_status=$?
24159 grep -v '^ *+' conftest.er1 >conftest.err
24160 rm -f conftest.er1
24161 cat conftest.err >&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } && {
24164 test -z "$ac_c_werror_flag" ||
24165 test ! -s conftest.err
24166 } && test -s conftest.$ac_objext; then
24167
24168 wx_cv_lib_glibc21=yes
24169
24170 else
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24173
24174
24175 wx_cv_lib_glibc21=no
24176
24177
24178 fi
24179
24180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24181
24182 fi
24183 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24184 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24185 if test "$wx_cv_lib_glibc21" = "yes"; then
24186 cat >>confdefs.h <<\_ACEOF
24187 #define wxHAVE_GLIBC2 1
24188 _ACEOF
24189
24190 fi
24191 fi
24192
24193 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24194 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24195 cat >>confdefs.h <<\_ACEOF
24196 #define _GNU_SOURCE 1
24197 _ACEOF
24198
24199 fi
24200 fi
24201
24202 have_cos=0
24203 have_floor=0
24204
24205 for ac_func in cos
24206 do
24207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24210 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24212 else
24213 cat >conftest.$ac_ext <<_ACEOF
24214 /* confdefs.h. */
24215 _ACEOF
24216 cat confdefs.h >>conftest.$ac_ext
24217 cat >>conftest.$ac_ext <<_ACEOF
24218 /* end confdefs.h. */
24219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24221 #define $ac_func innocuous_$ac_func
24222
24223 /* System header to define __stub macros and hopefully few prototypes,
24224 which can conflict with char $ac_func (); below.
24225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24226 <limits.h> exists even on freestanding compilers. */
24227
24228 #ifdef __STDC__
24229 # include <limits.h>
24230 #else
24231 # include <assert.h>
24232 #endif
24233
24234 #undef $ac_func
24235
24236 /* Override any GCC internal prototype to avoid an error.
24237 Use char because int might match the return type of a GCC
24238 builtin and then its argument prototype would still apply. */
24239 #ifdef __cplusplus
24240 extern "C"
24241 #endif
24242 char $ac_func ();
24243 /* The GNU C library defines this for functions which it implements
24244 to always fail with ENOSYS. Some functions are actually named
24245 something starting with __ and the normal name is an alias. */
24246 #if defined __stub_$ac_func || defined __stub___$ac_func
24247 choke me
24248 #endif
24249
24250 int
24251 main ()
24252 {
24253 return $ac_func ();
24254 ;
24255 return 0;
24256 }
24257 _ACEOF
24258 rm -f conftest.$ac_objext conftest$ac_exeext
24259 if { (ac_try="$ac_link"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24263 esac
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_link") 2>conftest.er1
24266 ac_status=$?
24267 grep -v '^ *+' conftest.er1 >conftest.err
24268 rm -f conftest.er1
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_c_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest$ac_exeext &&
24275 $as_test_x conftest$ac_exeext; then
24276 eval "$as_ac_var=yes"
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 eval "$as_ac_var=no"
24282 fi
24283
24284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24285 conftest$ac_exeext conftest.$ac_ext
24286 fi
24287 ac_res=`eval echo '${'$as_ac_var'}'`
24288 { echo "$as_me:$LINENO: result: $ac_res" >&5
24289 echo "${ECHO_T}$ac_res" >&6; }
24290 if test `eval echo '${'$as_ac_var'}'` = yes; then
24291 cat >>confdefs.h <<_ACEOF
24292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24293 _ACEOF
24294 have_cos=1
24295 fi
24296 done
24297
24298
24299 for ac_func in floor
24300 do
24301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24302 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24304 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24305 echo $ECHO_N "(cached) $ECHO_C" >&6
24306 else
24307 cat >conftest.$ac_ext <<_ACEOF
24308 /* confdefs.h. */
24309 _ACEOF
24310 cat confdefs.h >>conftest.$ac_ext
24311 cat >>conftest.$ac_ext <<_ACEOF
24312 /* end confdefs.h. */
24313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24315 #define $ac_func innocuous_$ac_func
24316
24317 /* System header to define __stub macros and hopefully few prototypes,
24318 which can conflict with char $ac_func (); below.
24319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24320 <limits.h> exists even on freestanding compilers. */
24321
24322 #ifdef __STDC__
24323 # include <limits.h>
24324 #else
24325 # include <assert.h>
24326 #endif
24327
24328 #undef $ac_func
24329
24330 /* Override any GCC internal prototype to avoid an error.
24331 Use char because int might match the return type of a GCC
24332 builtin and then its argument prototype would still apply. */
24333 #ifdef __cplusplus
24334 extern "C"
24335 #endif
24336 char $ac_func ();
24337 /* The GNU C library defines this for functions which it implements
24338 to always fail with ENOSYS. Some functions are actually named
24339 something starting with __ and the normal name is an alias. */
24340 #if defined __stub_$ac_func || defined __stub___$ac_func
24341 choke me
24342 #endif
24343
24344 int
24345 main ()
24346 {
24347 return $ac_func ();
24348 ;
24349 return 0;
24350 }
24351 _ACEOF
24352 rm -f conftest.$ac_objext conftest$ac_exeext
24353 if { (ac_try="$ac_link"
24354 case "(($ac_try" in
24355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24356 *) ac_try_echo=$ac_try;;
24357 esac
24358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24359 (eval "$ac_link") 2>conftest.er1
24360 ac_status=$?
24361 grep -v '^ *+' conftest.er1 >conftest.err
24362 rm -f conftest.er1
24363 cat conftest.err >&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); } && {
24366 test -z "$ac_c_werror_flag" ||
24367 test ! -s conftest.err
24368 } && test -s conftest$ac_exeext &&
24369 $as_test_x conftest$ac_exeext; then
24370 eval "$as_ac_var=yes"
24371 else
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24374
24375 eval "$as_ac_var=no"
24376 fi
24377
24378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24379 conftest$ac_exeext conftest.$ac_ext
24380 fi
24381 ac_res=`eval echo '${'$as_ac_var'}'`
24382 { echo "$as_me:$LINENO: result: $ac_res" >&5
24383 echo "${ECHO_T}$ac_res" >&6; }
24384 if test `eval echo '${'$as_ac_var'}'` = yes; then
24385 cat >>confdefs.h <<_ACEOF
24386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24387 _ACEOF
24388 have_floor=1
24389 fi
24390 done
24391
24392 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24393 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24394 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24395 { echo "$as_me:$LINENO: result: yes" >&5
24396 echo "${ECHO_T}yes" >&6; }
24397 else
24398 { echo "$as_me:$LINENO: result: no" >&5
24399 echo "${ECHO_T}no" >&6; }
24400 LIBS="$LIBS -lm"
24401 # use different functions to avoid configure caching
24402 have_sin=0
24403 have_ceil=0
24404
24405 for ac_func in sin
24406 do
24407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 else
24413 cat >conftest.$ac_ext <<_ACEOF
24414 /* confdefs.h. */
24415 _ACEOF
24416 cat confdefs.h >>conftest.$ac_ext
24417 cat >>conftest.$ac_ext <<_ACEOF
24418 /* end confdefs.h. */
24419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24421 #define $ac_func innocuous_$ac_func
24422
24423 /* System header to define __stub macros and hopefully few prototypes,
24424 which can conflict with char $ac_func (); below.
24425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24426 <limits.h> exists even on freestanding compilers. */
24427
24428 #ifdef __STDC__
24429 # include <limits.h>
24430 #else
24431 # include <assert.h>
24432 #endif
24433
24434 #undef $ac_func
24435
24436 /* Override any GCC internal prototype to avoid an error.
24437 Use char because int might match the return type of a GCC
24438 builtin and then its argument prototype would still apply. */
24439 #ifdef __cplusplus
24440 extern "C"
24441 #endif
24442 char $ac_func ();
24443 /* The GNU C library defines this for functions which it implements
24444 to always fail with ENOSYS. Some functions are actually named
24445 something starting with __ and the normal name is an alias. */
24446 #if defined __stub_$ac_func || defined __stub___$ac_func
24447 choke me
24448 #endif
24449
24450 int
24451 main ()
24452 {
24453 return $ac_func ();
24454 ;
24455 return 0;
24456 }
24457 _ACEOF
24458 rm -f conftest.$ac_objext conftest$ac_exeext
24459 if { (ac_try="$ac_link"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24463 esac
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_link") 2>conftest.er1
24466 ac_status=$?
24467 grep -v '^ *+' conftest.er1 >conftest.err
24468 rm -f conftest.er1
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } && {
24472 test -z "$ac_c_werror_flag" ||
24473 test ! -s conftest.err
24474 } && test -s conftest$ac_exeext &&
24475 $as_test_x conftest$ac_exeext; then
24476 eval "$as_ac_var=yes"
24477 else
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.$ac_ext >&5
24480
24481 eval "$as_ac_var=no"
24482 fi
24483
24484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24485 conftest$ac_exeext conftest.$ac_ext
24486 fi
24487 ac_res=`eval echo '${'$as_ac_var'}'`
24488 { echo "$as_me:$LINENO: result: $ac_res" >&5
24489 echo "${ECHO_T}$ac_res" >&6; }
24490 if test `eval echo '${'$as_ac_var'}'` = yes; then
24491 cat >>confdefs.h <<_ACEOF
24492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24493 _ACEOF
24494 have_sin=1
24495 fi
24496 done
24497
24498
24499 for ac_func in ceil
24500 do
24501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24506 else
24507 cat >conftest.$ac_ext <<_ACEOF
24508 /* confdefs.h. */
24509 _ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24515 #define $ac_func innocuous_$ac_func
24516
24517 /* System header to define __stub macros and hopefully few prototypes,
24518 which can conflict with char $ac_func (); below.
24519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24520 <limits.h> exists even on freestanding compilers. */
24521
24522 #ifdef __STDC__
24523 # include <limits.h>
24524 #else
24525 # include <assert.h>
24526 #endif
24527
24528 #undef $ac_func
24529
24530 /* Override any GCC internal prototype to avoid an error.
24531 Use char because int might match the return type of a GCC
24532 builtin and then its argument prototype would still apply. */
24533 #ifdef __cplusplus
24534 extern "C"
24535 #endif
24536 char $ac_func ();
24537 /* The GNU C library defines this for functions which it implements
24538 to always fail with ENOSYS. Some functions are actually named
24539 something starting with __ and the normal name is an alias. */
24540 #if defined __stub_$ac_func || defined __stub___$ac_func
24541 choke me
24542 #endif
24543
24544 int
24545 main ()
24546 {
24547 return $ac_func ();
24548 ;
24549 return 0;
24550 }
24551 _ACEOF
24552 rm -f conftest.$ac_objext conftest$ac_exeext
24553 if { (ac_try="$ac_link"
24554 case "(($ac_try" in
24555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24556 *) ac_try_echo=$ac_try;;
24557 esac
24558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24559 (eval "$ac_link") 2>conftest.er1
24560 ac_status=$?
24561 grep -v '^ *+' conftest.er1 >conftest.err
24562 rm -f conftest.er1
24563 cat conftest.err >&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); } && {
24566 test -z "$ac_c_werror_flag" ||
24567 test ! -s conftest.err
24568 } && test -s conftest$ac_exeext &&
24569 $as_test_x conftest$ac_exeext; then
24570 eval "$as_ac_var=yes"
24571 else
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.$ac_ext >&5
24574
24575 eval "$as_ac_var=no"
24576 fi
24577
24578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24579 conftest$ac_exeext conftest.$ac_ext
24580 fi
24581 ac_res=`eval echo '${'$as_ac_var'}'`
24582 { echo "$as_me:$LINENO: result: $ac_res" >&5
24583 echo "${ECHO_T}$ac_res" >&6; }
24584 if test `eval echo '${'$as_ac_var'}'` = yes; then
24585 cat >>confdefs.h <<_ACEOF
24586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24587 _ACEOF
24588 have_ceil=1
24589 fi
24590 done
24591
24592 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24593 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24594 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24595 { echo "$as_me:$LINENO: result: yes" >&5
24596 echo "${ECHO_T}yes" >&6; }
24597 else
24598 { echo "$as_me:$LINENO: result: no" >&5
24599 echo "${ECHO_T}no" >&6; }
24600 # not sure we should warn the user, crash, etc.
24601 fi
24602 fi
24603
24604 ac_ext=cpp
24605 ac_cpp='$CXXCPP $CPPFLAGS'
24606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24609
24610 if test "wxUSE_UNICODE" = "yes"; then
24611
24612 for wx_func in wcstoull
24613 do
24614 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24615 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24616 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 else
24619
24620 cat >conftest.$ac_ext <<_ACEOF
24621
24622 /* confdefs.h. */
24623 _ACEOF
24624 cat confdefs.h >>conftest.$ac_ext
24625 cat >>conftest.$ac_ext <<_ACEOF
24626 /* end confdefs.h. */
24627
24628
24629 $ac_includes_default
24630
24631 int
24632 main ()
24633 {
24634
24635 #ifndef $wx_func
24636 &$wx_func;
24637 #endif
24638
24639
24640 ;
24641 return 0;
24642 }
24643
24644 _ACEOF
24645 rm -f conftest.$ac_objext conftest$ac_exeext
24646 if { (ac_try="$ac_link"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24650 esac
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_link") 2>conftest.er1
24653 ac_status=$?
24654 grep -v '^ *+' conftest.er1 >conftest.err
24655 rm -f conftest.er1
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_cxx_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest$ac_exeext &&
24662 $as_test_x conftest$ac_exeext; then
24663 eval wx_cv_func_$wx_func=yes
24664 else
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.$ac_ext >&5
24667
24668 eval wx_cv_func_$wx_func=no
24669 fi
24670
24671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24672 conftest$ac_exeext conftest.$ac_ext
24673
24674 fi
24675 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24676 { echo "$as_me:$LINENO: result: $ac_res" >&5
24677 echo "${ECHO_T}$ac_res" >&6; }
24678
24679 if eval test \$wx_cv_func_$wx_func = yes
24680 then
24681 cat >>confdefs.h <<_ACEOF
24682 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24683 _ACEOF
24684
24685
24686 else
24687 :
24688
24689 fi
24690 done
24691
24692 else
24693
24694 for wx_func in strtoull
24695 do
24696 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24697 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24698 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 else
24701
24702 cat >conftest.$ac_ext <<_ACEOF
24703
24704 /* confdefs.h. */
24705 _ACEOF
24706 cat confdefs.h >>conftest.$ac_ext
24707 cat >>conftest.$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24709
24710
24711 $ac_includes_default
24712
24713 int
24714 main ()
24715 {
24716
24717 #ifndef $wx_func
24718 &$wx_func;
24719 #endif
24720
24721
24722 ;
24723 return 0;
24724 }
24725
24726 _ACEOF
24727 rm -f conftest.$ac_objext conftest$ac_exeext
24728 if { (ac_try="$ac_link"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24732 esac
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_link") 2>conftest.er1
24735 ac_status=$?
24736 grep -v '^ *+' conftest.er1 >conftest.err
24737 rm -f conftest.er1
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_cxx_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest$ac_exeext &&
24744 $as_test_x conftest$ac_exeext; then
24745 eval wx_cv_func_$wx_func=yes
24746 else
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24749
24750 eval wx_cv_func_$wx_func=no
24751 fi
24752
24753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24754 conftest$ac_exeext conftest.$ac_ext
24755
24756 fi
24757 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24758 { echo "$as_me:$LINENO: result: $ac_res" >&5
24759 echo "${ECHO_T}$ac_res" >&6; }
24760
24761 if eval test \$wx_cv_func_$wx_func = yes
24762 then
24763 cat >>confdefs.h <<_ACEOF
24764 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24765 _ACEOF
24766
24767
24768 else
24769 :
24770
24771 fi
24772 done
24773
24774 fi
24775 ac_ext=c
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24780
24781
24782
24783
24784 if test "$wxUSE_REGEX" != "no"; then
24785 cat >>confdefs.h <<\_ACEOF
24786 #define wxUSE_REGEX 1
24787 _ACEOF
24788
24789
24790 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24791 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24792 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24793 wxUSE_REGEX=builtin
24794 fi
24795
24796 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24797 { echo "$as_me:$LINENO: checking for regex.h" >&5
24798 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24799 if test "${ac_cv_header_regex_h+set}" = set; then
24800 echo $ECHO_N "(cached) $ECHO_C" >&6
24801 else
24802 cat >conftest.$ac_ext <<_ACEOF
24803 /* confdefs.h. */
24804 _ACEOF
24805 cat confdefs.h >>conftest.$ac_ext
24806 cat >>conftest.$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24808
24809
24810 #include <regex.h>
24811 _ACEOF
24812 rm -f conftest.$ac_objext
24813 if { (ac_try="$ac_compile"
24814 case "(($ac_try" in
24815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24816 *) ac_try_echo=$ac_try;;
24817 esac
24818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24819 (eval "$ac_compile") 2>conftest.er1
24820 ac_status=$?
24821 grep -v '^ *+' conftest.er1 >conftest.err
24822 rm -f conftest.er1
24823 cat conftest.err >&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } && {
24826 test -z "$ac_c_werror_flag" ||
24827 test ! -s conftest.err
24828 } && test -s conftest.$ac_objext; then
24829 ac_cv_header_regex_h=yes
24830 else
24831 echo "$as_me: failed program was:" >&5
24832 sed 's/^/| /' conftest.$ac_ext >&5
24833
24834 ac_cv_header_regex_h=no
24835 fi
24836
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 fi
24839 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24840 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24841 if test $ac_cv_header_regex_h = yes; then
24842
24843
24844 for ac_func in regcomp re_search
24845 do
24846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24850 echo $ECHO_N "(cached) $ECHO_C" >&6
24851 else
24852 cat >conftest.$ac_ext <<_ACEOF
24853 /* confdefs.h. */
24854 _ACEOF
24855 cat confdefs.h >>conftest.$ac_ext
24856 cat >>conftest.$ac_ext <<_ACEOF
24857 /* end confdefs.h. */
24858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24860 #define $ac_func innocuous_$ac_func
24861
24862 /* System header to define __stub macros and hopefully few prototypes,
24863 which can conflict with char $ac_func (); below.
24864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24865 <limits.h> exists even on freestanding compilers. */
24866
24867 #ifdef __STDC__
24868 # include <limits.h>
24869 #else
24870 # include <assert.h>
24871 #endif
24872
24873 #undef $ac_func
24874
24875 /* Override any GCC internal prototype to avoid an error.
24876 Use char because int might match the return type of a GCC
24877 builtin and then its argument prototype would still apply. */
24878 #ifdef __cplusplus
24879 extern "C"
24880 #endif
24881 char $ac_func ();
24882 /* The GNU C library defines this for functions which it implements
24883 to always fail with ENOSYS. Some functions are actually named
24884 something starting with __ and the normal name is an alias. */
24885 #if defined __stub_$ac_func || defined __stub___$ac_func
24886 choke me
24887 #endif
24888
24889 int
24890 main ()
24891 {
24892 return $ac_func ();
24893 ;
24894 return 0;
24895 }
24896 _ACEOF
24897 rm -f conftest.$ac_objext conftest$ac_exeext
24898 if { (ac_try="$ac_link"
24899 case "(($ac_try" in
24900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24901 *) ac_try_echo=$ac_try;;
24902 esac
24903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24904 (eval "$ac_link") 2>conftest.er1
24905 ac_status=$?
24906 grep -v '^ *+' conftest.er1 >conftest.err
24907 rm -f conftest.er1
24908 cat conftest.err >&5
24909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910 (exit $ac_status); } && {
24911 test -z "$ac_c_werror_flag" ||
24912 test ! -s conftest.err
24913 } && test -s conftest$ac_exeext &&
24914 $as_test_x conftest$ac_exeext; then
24915 eval "$as_ac_var=yes"
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24919
24920 eval "$as_ac_var=no"
24921 fi
24922
24923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24924 conftest$ac_exeext conftest.$ac_ext
24925 fi
24926 ac_res=`eval echo '${'$as_ac_var'}'`
24927 { echo "$as_me:$LINENO: result: $ac_res" >&5
24928 echo "${ECHO_T}$ac_res" >&6; }
24929 if test `eval echo '${'$as_ac_var'}'` = yes; then
24930 cat >>confdefs.h <<_ACEOF
24931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24932 _ACEOF
24933
24934 fi
24935 done
24936
24937 fi
24938
24939
24940
24941 if test "x$ac_cv_func_regcomp" != "xyes"; then
24942 if test "$wxUSE_REGEX" = "sys" ; then
24943 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24944 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24945 { (exit 1); exit 1; }; }
24946 else
24947 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24948 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24949 wxUSE_REGEX=builtin
24950 fi
24951 else
24952 wxUSE_REGEX=sys
24953 cat >>confdefs.h <<\_ACEOF
24954 #define WX_NO_REGEX_ADVANCED 1
24955 _ACEOF
24956
24957 fi
24958 fi
24959 fi
24960
24961
24962 ZLIB_LINK=
24963 if test "$wxUSE_ZLIB" != "no" ; then
24964 cat >>confdefs.h <<\_ACEOF
24965 #define wxUSE_ZLIB 1
24966 _ACEOF
24967
24968
24969 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24970 if test "$USE_DARWIN" = 1; then
24971 system_zlib_h_ok="yes"
24972 else
24973 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24974 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24975 if test "${ac_cv_header_zlib_h+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 else
24978 if test "$cross_compiling" = yes; then
24979 unset ac_cv_header_zlib_h
24980
24981 else
24982 cat >conftest.$ac_ext <<_ACEOF
24983 /* confdefs.h. */
24984 _ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24988
24989 #include <zlib.h>
24990 #include <stdio.h>
24991
24992 int main()
24993 {
24994 FILE *f=fopen("conftestval", "w");
24995 if (!f) exit(1);
24996 fprintf(f, "%s",
24997 ZLIB_VERSION[0] == '1' &&
24998 (ZLIB_VERSION[2] > '1' ||
24999 (ZLIB_VERSION[2] == '1' &&
25000 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25001 exit(0);
25002 }
25003
25004 _ACEOF
25005 rm -f conftest$ac_exeext
25006 if { (ac_try="$ac_link"
25007 case "(($ac_try" in
25008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25009 *) ac_try_echo=$ac_try;;
25010 esac
25011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25012 (eval "$ac_link") 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25016 { (case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25019 esac
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_try") 2>&5
25022 ac_status=$?
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; }; then
25025 ac_cv_header_zlib_h=`cat conftestval`
25026 else
25027 echo "$as_me: program exited with status $ac_status" >&5
25028 echo "$as_me: failed program was:" >&5
25029 sed 's/^/| /' conftest.$ac_ext >&5
25030
25031 ( exit $ac_status )
25032 ac_cv_header_zlib_h=no
25033 fi
25034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25035 fi
25036
25037
25038
25039 fi
25040 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25041 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25042 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25043 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25044 if test "${ac_cv_header_zlib_h+set}" = set; then
25045 echo $ECHO_N "(cached) $ECHO_C" >&6
25046 else
25047 cat >conftest.$ac_ext <<_ACEOF
25048 /* confdefs.h. */
25049 _ACEOF
25050 cat confdefs.h >>conftest.$ac_ext
25051 cat >>conftest.$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25053
25054
25055 #include <zlib.h>
25056 _ACEOF
25057 rm -f conftest.$ac_objext
25058 if { (ac_try="$ac_compile"
25059 case "(($ac_try" in
25060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25061 *) ac_try_echo=$ac_try;;
25062 esac
25063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25064 (eval "$ac_compile") 2>conftest.er1
25065 ac_status=$?
25066 grep -v '^ *+' conftest.er1 >conftest.err
25067 rm -f conftest.er1
25068 cat conftest.err >&5
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); } && {
25071 test -z "$ac_c_werror_flag" ||
25072 test ! -s conftest.err
25073 } && test -s conftest.$ac_objext; then
25074 ac_cv_header_zlib_h=yes
25075 else
25076 echo "$as_me: failed program was:" >&5
25077 sed 's/^/| /' conftest.$ac_ext >&5
25078
25079 ac_cv_header_zlib_h=no
25080 fi
25081
25082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25083 fi
25084 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25085 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25086
25087
25088
25089 system_zlib_h_ok=$ac_cv_header_zlib_h
25090 fi
25091
25092 if test "$system_zlib_h_ok" = "yes"; then
25093 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25094 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25095 if test "${ac_cv_lib_z_deflate+set}" = set; then
25096 echo $ECHO_N "(cached) $ECHO_C" >&6
25097 else
25098 ac_check_lib_save_LIBS=$LIBS
25099 LIBS="-lz $LIBS"
25100 cat >conftest.$ac_ext <<_ACEOF
25101 /* confdefs.h. */
25102 _ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106
25107 /* Override any GCC internal prototype to avoid an error.
25108 Use char because int might match the return type of a GCC
25109 builtin and then its argument prototype would still apply. */
25110 #ifdef __cplusplus
25111 extern "C"
25112 #endif
25113 char deflate ();
25114 int
25115 main ()
25116 {
25117 return deflate ();
25118 ;
25119 return 0;
25120 }
25121 _ACEOF
25122 rm -f conftest.$ac_objext conftest$ac_exeext
25123 if { (ac_try="$ac_link"
25124 case "(($ac_try" in
25125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25127 esac
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_link") 2>conftest.er1
25130 ac_status=$?
25131 grep -v '^ *+' conftest.er1 >conftest.err
25132 rm -f conftest.er1
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } && {
25136 test -z "$ac_c_werror_flag" ||
25137 test ! -s conftest.err
25138 } && test -s conftest$ac_exeext &&
25139 $as_test_x conftest$ac_exeext; then
25140 ac_cv_lib_z_deflate=yes
25141 else
25142 echo "$as_me: failed program was:" >&5
25143 sed 's/^/| /' conftest.$ac_ext >&5
25144
25145 ac_cv_lib_z_deflate=no
25146 fi
25147
25148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25149 conftest$ac_exeext conftest.$ac_ext
25150 LIBS=$ac_check_lib_save_LIBS
25151 fi
25152 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25153 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25154 if test $ac_cv_lib_z_deflate = yes; then
25155 ZLIB_LINK=" -lz"
25156 fi
25157
25158 fi
25159
25160 if test "x$ZLIB_LINK" = "x" ; then
25161 if test "$wxUSE_ZLIB" = "sys" ; then
25162 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25163 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25164 { (exit 1); exit 1; }; }
25165 else
25166 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25167 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25168 wxUSE_ZLIB=builtin
25169 fi
25170 else
25171 wxUSE_ZLIB=sys
25172 fi
25173 fi
25174 fi
25175
25176
25177 PNG_LINK=
25178 if test "$wxUSE_LIBPNG" != "no" ; then
25179 cat >>confdefs.h <<\_ACEOF
25180 #define wxUSE_LIBPNG 1
25181 _ACEOF
25182
25183
25184 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25185 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25186 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25187 wxUSE_LIBPNG=sys
25188 fi
25189
25190 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25191 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25192 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25193 wxUSE_LIBPNG=builtin
25194 fi
25195
25196 if test "$wxUSE_MGL" != 1 ; then
25197 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25198 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25199 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25200 if test "${ac_cv_header_png_h+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25202 else
25203 if test "$cross_compiling" = yes; then
25204 unset ac_cv_header_png_h
25205
25206 else
25207 cat >conftest.$ac_ext <<_ACEOF
25208 /* confdefs.h. */
25209 _ACEOF
25210 cat confdefs.h >>conftest.$ac_ext
25211 cat >>conftest.$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25213
25214 #include <png.h>
25215 #include <stdio.h>
25216
25217 int main()
25218 {
25219 FILE *f=fopen("conftestval", "w");
25220 if (!f) exit(1);
25221 fprintf(f, "%s",
25222 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25223 exit(0);
25224 }
25225
25226 _ACEOF
25227 rm -f conftest$ac_exeext
25228 if { (ac_try="$ac_link"
25229 case "(($ac_try" in
25230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25231 *) ac_try_echo=$ac_try;;
25232 esac
25233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25234 (eval "$ac_link") 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25238 { (case "(($ac_try" in
25239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25240 *) ac_try_echo=$ac_try;;
25241 esac
25242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25243 (eval "$ac_try") 2>&5
25244 ac_status=$?
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); }; }; then
25247 ac_cv_header_png_h=`cat conftestval`
25248 else
25249 echo "$as_me: program exited with status $ac_status" >&5
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 ( exit $ac_status )
25254 ac_cv_header_png_h=no
25255 fi
25256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25257 fi
25258
25259
25260
25261 fi
25262 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25263 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25264 { echo "$as_me:$LINENO: checking for png.h" >&5
25265 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25266 if test "${ac_cv_header_png_h+set}" = set; then
25267 echo $ECHO_N "(cached) $ECHO_C" >&6
25268 else
25269 cat >conftest.$ac_ext <<_ACEOF
25270 /* confdefs.h. */
25271 _ACEOF
25272 cat confdefs.h >>conftest.$ac_ext
25273 cat >>conftest.$ac_ext <<_ACEOF
25274 /* end confdefs.h. */
25275
25276
25277 #include <png.h>
25278 _ACEOF
25279 rm -f conftest.$ac_objext
25280 if { (ac_try="$ac_compile"
25281 case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25284 esac
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_compile") 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_c_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest.$ac_objext; then
25296 ac_cv_header_png_h=yes
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 ac_cv_header_png_h=no
25302 fi
25303
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305 fi
25306 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25307 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25308
25309
25310
25311 if test "$ac_cv_header_png_h" = "yes"; then
25312 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25313 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25314 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 else
25317 ac_check_lib_save_LIBS=$LIBS
25318 LIBS="-lpng -lz -lm $LIBS"
25319 cat >conftest.$ac_ext <<_ACEOF
25320 /* confdefs.h. */
25321 _ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325
25326 /* Override any GCC internal prototype to avoid an error.
25327 Use char because int might match the return type of a GCC
25328 builtin and then its argument prototype would still apply. */
25329 #ifdef __cplusplus
25330 extern "C"
25331 #endif
25332 char png_check_sig ();
25333 int
25334 main ()
25335 {
25336 return png_check_sig ();
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 rm -f conftest.$ac_objext conftest$ac_exeext
25342 if { (ac_try="$ac_link"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25346 esac
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_link") 2>conftest.er1
25349 ac_status=$?
25350 grep -v '^ *+' conftest.er1 >conftest.err
25351 rm -f conftest.er1
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_c_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest$ac_exeext &&
25358 $as_test_x conftest$ac_exeext; then
25359 ac_cv_lib_png_png_check_sig=yes
25360 else
25361 echo "$as_me: failed program was:" >&5
25362 sed 's/^/| /' conftest.$ac_ext >&5
25363
25364 ac_cv_lib_png_png_check_sig=no
25365 fi
25366
25367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25368 conftest$ac_exeext conftest.$ac_ext
25369 LIBS=$ac_check_lib_save_LIBS
25370 fi
25371 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25372 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25373 if test $ac_cv_lib_png_png_check_sig = yes; then
25374 PNG_LINK=" -lpng -lz"
25375 fi
25376
25377 fi
25378
25379 if test "x$PNG_LINK" = "x" ; then
25380 if test "$wxUSE_LIBPNG" = "sys" ; then
25381 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25382 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25383 { (exit 1); exit 1; }; }
25384 else
25385 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25386 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25387 wxUSE_LIBPNG=builtin
25388 fi
25389 else
25390 wxUSE_LIBPNG=sys
25391 fi
25392 fi
25393 fi
25394
25395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25396 fi
25397
25398
25399 JPEG_LINK=
25400 if test "$wxUSE_LIBJPEG" != "no" ; then
25401 cat >>confdefs.h <<\_ACEOF
25402 #define wxUSE_LIBJPEG 1
25403 _ACEOF
25404
25405
25406 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25407 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25408 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25409 wxUSE_LIBJPEG=sys
25410 fi
25411
25412 if test "$wxUSE_MGL" != 1 ; then
25413 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25414 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25415 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25416 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25417 echo $ECHO_N "(cached) $ECHO_C" >&6
25418 else
25419 cat >conftest.$ac_ext <<_ACEOF
25420 /* confdefs.h. */
25421 _ACEOF
25422 cat confdefs.h >>conftest.$ac_ext
25423 cat >>conftest.$ac_ext <<_ACEOF
25424 /* end confdefs.h. */
25425
25426 #undef HAVE_STDLIB_H
25427 #include <stdio.h>
25428 #include <jpeglib.h>
25429
25430 int
25431 main ()
25432 {
25433
25434
25435 ;
25436 return 0;
25437 }
25438 _ACEOF
25439 rm -f conftest.$ac_objext
25440 if { (ac_try="$ac_compile"
25441 case "(($ac_try" in
25442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25443 *) ac_try_echo=$ac_try;;
25444 esac
25445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25446 (eval "$ac_compile") 2>conftest.er1
25447 ac_status=$?
25448 grep -v '^ *+' conftest.er1 >conftest.err
25449 rm -f conftest.er1
25450 cat conftest.err >&5
25451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452 (exit $ac_status); } && {
25453 test -z "$ac_c_werror_flag" ||
25454 test ! -s conftest.err
25455 } && test -s conftest.$ac_objext; then
25456 ac_cv_header_jpeglib_h=yes
25457 else
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.$ac_ext >&5
25460
25461 ac_cv_header_jpeglib_h=no
25462
25463 fi
25464
25465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25466
25467 fi
25468
25469 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25470 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25471
25472 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25473 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25474 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25475 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 else
25478 ac_check_lib_save_LIBS=$LIBS
25479 LIBS="-ljpeg $LIBS"
25480 cat >conftest.$ac_ext <<_ACEOF
25481 /* confdefs.h. */
25482 _ACEOF
25483 cat confdefs.h >>conftest.$ac_ext
25484 cat >>conftest.$ac_ext <<_ACEOF
25485 /* end confdefs.h. */
25486
25487 /* Override any GCC internal prototype to avoid an error.
25488 Use char because int might match the return type of a GCC
25489 builtin and then its argument prototype would still apply. */
25490 #ifdef __cplusplus
25491 extern "C"
25492 #endif
25493 char jpeg_read_header ();
25494 int
25495 main ()
25496 {
25497 return jpeg_read_header ();
25498 ;
25499 return 0;
25500 }
25501 _ACEOF
25502 rm -f conftest.$ac_objext conftest$ac_exeext
25503 if { (ac_try="$ac_link"
25504 case "(($ac_try" in
25505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25506 *) ac_try_echo=$ac_try;;
25507 esac
25508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25509 (eval "$ac_link") 2>conftest.er1
25510 ac_status=$?
25511 grep -v '^ *+' conftest.er1 >conftest.err
25512 rm -f conftest.er1
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } && {
25516 test -z "$ac_c_werror_flag" ||
25517 test ! -s conftest.err
25518 } && test -s conftest$ac_exeext &&
25519 $as_test_x conftest$ac_exeext; then
25520 ac_cv_lib_jpeg_jpeg_read_header=yes
25521 else
25522 echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.$ac_ext >&5
25524
25525 ac_cv_lib_jpeg_jpeg_read_header=no
25526 fi
25527
25528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25529 conftest$ac_exeext conftest.$ac_ext
25530 LIBS=$ac_check_lib_save_LIBS
25531 fi
25532 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25533 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25534 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25535 JPEG_LINK=" -ljpeg"
25536 fi
25537
25538 fi
25539
25540 if test "x$JPEG_LINK" = "x" ; then
25541 if test "$wxUSE_LIBJPEG" = "sys" ; then
25542 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25543 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25544 { (exit 1); exit 1; }; }
25545 else
25546 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25547 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25548 wxUSE_LIBJPEG=builtin
25549 fi
25550 else
25551 wxUSE_LIBJPEG=sys
25552
25553 if test "$wxUSE_MSW" = 1; then
25554 { echo "$as_me:$LINENO: checking for boolean" >&5
25555 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25556 if test "${ac_cv_type_boolean+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25558 else
25559 cat >conftest.$ac_ext <<_ACEOF
25560 /* confdefs.h. */
25561 _ACEOF
25562 cat confdefs.h >>conftest.$ac_ext
25563 cat >>conftest.$ac_ext <<_ACEOF
25564 /* end confdefs.h. */
25565 #include <windows.h>
25566
25567 typedef boolean ac__type_new_;
25568 int
25569 main ()
25570 {
25571 if ((ac__type_new_ *) 0)
25572 return 0;
25573 if (sizeof (ac__type_new_))
25574 return 0;
25575 ;
25576 return 0;
25577 }
25578 _ACEOF
25579 rm -f conftest.$ac_objext
25580 if { (ac_try="$ac_compile"
25581 case "(($ac_try" in
25582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25583 *) ac_try_echo=$ac_try;;
25584 esac
25585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25586 (eval "$ac_compile") 2>conftest.er1
25587 ac_status=$?
25588 grep -v '^ *+' conftest.er1 >conftest.err
25589 rm -f conftest.er1
25590 cat conftest.err >&5
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); } && {
25593 test -z "$ac_c_werror_flag" ||
25594 test ! -s conftest.err
25595 } && test -s conftest.$ac_objext; then
25596 ac_cv_type_boolean=yes
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601 ac_cv_type_boolean=no
25602 fi
25603
25604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605 fi
25606 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25607 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25608 if test $ac_cv_type_boolean = yes; then
25609
25610 cat >>confdefs.h <<_ACEOF
25611 #define HAVE_BOOLEAN 1
25612 _ACEOF
25613
25614
25615 { echo "$as_me:$LINENO: checking for boolean" >&5
25616 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25617 if test "${ac_cv_type_boolean+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 else
25620 cat >conftest.$ac_ext <<_ACEOF
25621 /* confdefs.h. */
25622 _ACEOF
25623 cat confdefs.h >>conftest.$ac_ext
25624 cat >>conftest.$ac_ext <<_ACEOF
25625 /* end confdefs.h. */
25626
25627 #undef HAVE_BOOLEAN
25628 #include <stdio.h>
25629 #include <jpeglib.h>
25630
25631
25632 typedef boolean ac__type_new_;
25633 int
25634 main ()
25635 {
25636 if ((ac__type_new_ *) 0)
25637 return 0;
25638 if (sizeof (ac__type_new_))
25639 return 0;
25640 ;
25641 return 0;
25642 }
25643 _ACEOF
25644 rm -f conftest.$ac_objext
25645 if { (ac_try="$ac_compile"
25646 case "(($ac_try" in
25647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25648 *) ac_try_echo=$ac_try;;
25649 esac
25650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25651 (eval "$ac_compile") 2>conftest.er1
25652 ac_status=$?
25653 grep -v '^ *+' conftest.er1 >conftest.err
25654 rm -f conftest.er1
25655 cat conftest.err >&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); } && {
25658 test -z "$ac_c_werror_flag" ||
25659 test ! -s conftest.err
25660 } && test -s conftest.$ac_objext; then
25661 ac_cv_type_boolean=yes
25662 else
25663 echo "$as_me: failed program was:" >&5
25664 sed 's/^/| /' conftest.$ac_ext >&5
25665
25666 ac_cv_type_boolean=no
25667 fi
25668
25669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670 fi
25671 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25672 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25673
25674 # The cast to long int works around a bug in the HP C Compiler
25675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25676 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25677 # This bug is HP SR number 8606223364.
25678 { echo "$as_me:$LINENO: checking size of boolean" >&5
25679 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25680 if test "${ac_cv_sizeof_boolean+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 else
25683 if test "$cross_compiling" = yes; then
25684 # Depending upon the size, compute the lo and hi bounds.
25685 cat >conftest.$ac_ext <<_ACEOF
25686 /* confdefs.h. */
25687 _ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25691
25692 #undef HAVE_BOOLEAN
25693 #include <stdio.h>
25694 #include <jpeglib.h>
25695
25696
25697 typedef boolean ac__type_sizeof_;
25698 int
25699 main ()
25700 {
25701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25702 test_array [0] = 0
25703
25704 ;
25705 return 0;
25706 }
25707 _ACEOF
25708 rm -f conftest.$ac_objext
25709 if { (ac_try="$ac_compile"
25710 case "(($ac_try" in
25711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25712 *) ac_try_echo=$ac_try;;
25713 esac
25714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25715 (eval "$ac_compile") 2>conftest.er1
25716 ac_status=$?
25717 grep -v '^ *+' conftest.er1 >conftest.err
25718 rm -f conftest.er1
25719 cat conftest.err >&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } && {
25722 test -z "$ac_c_werror_flag" ||
25723 test ! -s conftest.err
25724 } && test -s conftest.$ac_objext; then
25725 ac_lo=0 ac_mid=0
25726 while :; do
25727 cat >conftest.$ac_ext <<_ACEOF
25728 /* confdefs.h. */
25729 _ACEOF
25730 cat confdefs.h >>conftest.$ac_ext
25731 cat >>conftest.$ac_ext <<_ACEOF
25732 /* end confdefs.h. */
25733
25734 #undef HAVE_BOOLEAN
25735 #include <stdio.h>
25736 #include <jpeglib.h>
25737
25738
25739 typedef boolean ac__type_sizeof_;
25740 int
25741 main ()
25742 {
25743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25744 test_array [0] = 0
25745
25746 ;
25747 return 0;
25748 }
25749 _ACEOF
25750 rm -f conftest.$ac_objext
25751 if { (ac_try="$ac_compile"
25752 case "(($ac_try" in
25753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25754 *) ac_try_echo=$ac_try;;
25755 esac
25756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25757 (eval "$ac_compile") 2>conftest.er1
25758 ac_status=$?
25759 grep -v '^ *+' conftest.er1 >conftest.err
25760 rm -f conftest.er1
25761 cat conftest.err >&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && {
25764 test -z "$ac_c_werror_flag" ||
25765 test ! -s conftest.err
25766 } && test -s conftest.$ac_objext; then
25767 ac_hi=$ac_mid; break
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25771
25772 ac_lo=`expr $ac_mid + 1`
25773 if test $ac_lo -le $ac_mid; then
25774 ac_lo= ac_hi=
25775 break
25776 fi
25777 ac_mid=`expr 2 '*' $ac_mid + 1`
25778 fi
25779
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 done
25782 else
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25785
25786 cat >conftest.$ac_ext <<_ACEOF
25787 /* confdefs.h. */
25788 _ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25792
25793 #undef HAVE_BOOLEAN
25794 #include <stdio.h>
25795 #include <jpeglib.h>
25796
25797
25798 typedef boolean ac__type_sizeof_;
25799 int
25800 main ()
25801 {
25802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25803 test_array [0] = 0
25804
25805 ;
25806 return 0;
25807 }
25808 _ACEOF
25809 rm -f conftest.$ac_objext
25810 if { (ac_try="$ac_compile"
25811 case "(($ac_try" in
25812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25813 *) ac_try_echo=$ac_try;;
25814 esac
25815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25816 (eval "$ac_compile") 2>conftest.er1
25817 ac_status=$?
25818 grep -v '^ *+' conftest.er1 >conftest.err
25819 rm -f conftest.er1
25820 cat conftest.err >&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } && {
25823 test -z "$ac_c_werror_flag" ||
25824 test ! -s conftest.err
25825 } && test -s conftest.$ac_objext; then
25826 ac_hi=-1 ac_mid=-1
25827 while :; do
25828 cat >conftest.$ac_ext <<_ACEOF
25829 /* confdefs.h. */
25830 _ACEOF
25831 cat confdefs.h >>conftest.$ac_ext
25832 cat >>conftest.$ac_ext <<_ACEOF
25833 /* end confdefs.h. */
25834
25835 #undef HAVE_BOOLEAN
25836 #include <stdio.h>
25837 #include <jpeglib.h>
25838
25839
25840 typedef boolean ac__type_sizeof_;
25841 int
25842 main ()
25843 {
25844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25845 test_array [0] = 0
25846
25847 ;
25848 return 0;
25849 }
25850 _ACEOF
25851 rm -f conftest.$ac_objext
25852 if { (ac_try="$ac_compile"
25853 case "(($ac_try" in
25854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25855 *) ac_try_echo=$ac_try;;
25856 esac
25857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25858 (eval "$ac_compile") 2>conftest.er1
25859 ac_status=$?
25860 grep -v '^ *+' conftest.er1 >conftest.err
25861 rm -f conftest.er1
25862 cat conftest.err >&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } && {
25865 test -z "$ac_c_werror_flag" ||
25866 test ! -s conftest.err
25867 } && test -s conftest.$ac_objext; then
25868 ac_lo=$ac_mid; break
25869 else
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873 ac_hi=`expr '(' $ac_mid ')' - 1`
25874 if test $ac_mid -le $ac_hi; then
25875 ac_lo= ac_hi=
25876 break
25877 fi
25878 ac_mid=`expr 2 '*' $ac_mid`
25879 fi
25880
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25882 done
25883 else
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.$ac_ext >&5
25886
25887 ac_lo= ac_hi=
25888 fi
25889
25890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 fi
25892
25893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25894 # Binary search between lo and hi bounds.
25895 while test "x$ac_lo" != "x$ac_hi"; do
25896 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25897 cat >conftest.$ac_ext <<_ACEOF
25898 /* confdefs.h. */
25899 _ACEOF
25900 cat confdefs.h >>conftest.$ac_ext
25901 cat >>conftest.$ac_ext <<_ACEOF
25902 /* end confdefs.h. */
25903
25904 #undef HAVE_BOOLEAN
25905 #include <stdio.h>
25906 #include <jpeglib.h>
25907
25908
25909 typedef boolean ac__type_sizeof_;
25910 int
25911 main ()
25912 {
25913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25914 test_array [0] = 0
25915
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 rm -f conftest.$ac_objext
25921 if { (ac_try="$ac_compile"
25922 case "(($ac_try" in
25923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924 *) ac_try_echo=$ac_try;;
25925 esac
25926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25927 (eval "$ac_compile") 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } && {
25934 test -z "$ac_c_werror_flag" ||
25935 test ! -s conftest.err
25936 } && test -s conftest.$ac_objext; then
25937 ac_hi=$ac_mid
25938 else
25939 echo "$as_me: failed program was:" >&5
25940 sed 's/^/| /' conftest.$ac_ext >&5
25941
25942 ac_lo=`expr '(' $ac_mid ')' + 1`
25943 fi
25944
25945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25946 done
25947 case $ac_lo in
25948 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25949 '') if test "$ac_cv_type_boolean" = yes; then
25950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25951 See \`config.log' for more details." >&5
25952 echo "$as_me: error: cannot compute sizeof (boolean)
25953 See \`config.log' for more details." >&2;}
25954 { (exit 77); exit 77; }; }
25955 else
25956 ac_cv_sizeof_boolean=0
25957 fi ;;
25958 esac
25959 else
25960 cat >conftest.$ac_ext <<_ACEOF
25961 /* confdefs.h. */
25962 _ACEOF
25963 cat confdefs.h >>conftest.$ac_ext
25964 cat >>conftest.$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25966
25967 #undef HAVE_BOOLEAN
25968 #include <stdio.h>
25969 #include <jpeglib.h>
25970
25971
25972 typedef boolean ac__type_sizeof_;
25973 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25974 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25975 #include <stdio.h>
25976 #include <stdlib.h>
25977 int
25978 main ()
25979 {
25980
25981 FILE *f = fopen ("conftest.val", "w");
25982 if (! f)
25983 return 1;
25984 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25985 {
25986 long int i = longval ();
25987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25988 return 1;
25989 fprintf (f, "%ld\n", i);
25990 }
25991 else
25992 {
25993 unsigned long int i = ulongval ();
25994 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25995 return 1;
25996 fprintf (f, "%lu\n", i);
25997 }
25998 return ferror (f) || fclose (f) != 0;
25999
26000 ;
26001 return 0;
26002 }
26003 _ACEOF
26004 rm -f conftest$ac_exeext
26005 if { (ac_try="$ac_link"
26006 case "(($ac_try" in
26007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26008 *) ac_try_echo=$ac_try;;
26009 esac
26010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26011 (eval "$ac_link") 2>&5
26012 ac_status=$?
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26015 { (case "(($ac_try" in
26016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26017 *) ac_try_echo=$ac_try;;
26018 esac
26019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26020 (eval "$ac_try") 2>&5
26021 ac_status=$?
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); }; }; then
26024 ac_cv_sizeof_boolean=`cat conftest.val`
26025 else
26026 echo "$as_me: program exited with status $ac_status" >&5
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26029
26030 ( exit $ac_status )
26031 if test "$ac_cv_type_boolean" = yes; then
26032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26033 See \`config.log' for more details." >&5
26034 echo "$as_me: error: cannot compute sizeof (boolean)
26035 See \`config.log' for more details." >&2;}
26036 { (exit 77); exit 77; }; }
26037 else
26038 ac_cv_sizeof_boolean=0
26039 fi
26040 fi
26041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26042 fi
26043 rm -f conftest.val
26044 fi
26045 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26046 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26047
26048
26049
26050 cat >>confdefs.h <<_ACEOF
26051 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26052 _ACEOF
26053
26054
26055 cat >>confdefs.h <<_ACEOF
26056 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26057 _ACEOF
26058
26059
26060 fi
26061
26062 fi
26063 fi
26064 fi
26065 fi
26066 fi
26067
26068
26069 TIFF_LINK=
26070 TIFF_PREREQ_LINKS=-lm
26071 if test "$wxUSE_LIBTIFF" != "no" ; then
26072 cat >>confdefs.h <<\_ACEOF
26073 #define wxUSE_LIBTIFF 1
26074 _ACEOF
26075
26076
26077 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26078 if test "$wxUSE_LIBJPEG" = "sys"; then
26079 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26080 fi
26081 if test "$wxUSE_ZLIB" = "sys"; then
26082 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26083 fi
26084 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26085 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26086 if test "${ac_cv_header_tiffio_h+set}" = set; then
26087 echo $ECHO_N "(cached) $ECHO_C" >&6
26088 else
26089 cat >conftest.$ac_ext <<_ACEOF
26090 /* confdefs.h. */
26091 _ACEOF
26092 cat confdefs.h >>conftest.$ac_ext
26093 cat >>conftest.$ac_ext <<_ACEOF
26094 /* end confdefs.h. */
26095
26096
26097
26098 #include <tiffio.h>
26099 _ACEOF
26100 rm -f conftest.$ac_objext
26101 if { (ac_try="$ac_compile"
26102 case "(($ac_try" in
26103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26104 *) ac_try_echo=$ac_try;;
26105 esac
26106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_compile") 2>conftest.er1
26108 ac_status=$?
26109 grep -v '^ *+' conftest.er1 >conftest.err
26110 rm -f conftest.er1
26111 cat conftest.err >&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } && {
26114 test -z "$ac_c_werror_flag" ||
26115 test ! -s conftest.err
26116 } && test -s conftest.$ac_objext; then
26117 ac_cv_header_tiffio_h=yes
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122 ac_cv_header_tiffio_h=no
26123 fi
26124
26125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26126 fi
26127 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26128 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26129 if test $ac_cv_header_tiffio_h = yes; then
26130
26131 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26132 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26133 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26134 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 else
26136 ac_check_lib_save_LIBS=$LIBS
26137 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26138 cat >conftest.$ac_ext <<_ACEOF
26139 /* confdefs.h. */
26140 _ACEOF
26141 cat confdefs.h >>conftest.$ac_ext
26142 cat >>conftest.$ac_ext <<_ACEOF
26143 /* end confdefs.h. */
26144
26145 /* Override any GCC internal prototype to avoid an error.
26146 Use char because int might match the return type of a GCC
26147 builtin and then its argument prototype would still apply. */
26148 #ifdef __cplusplus
26149 extern "C"
26150 #endif
26151 char TIFFError ();
26152 int
26153 main ()
26154 {
26155 return TIFFError ();
26156 ;
26157 return 0;
26158 }
26159 _ACEOF
26160 rm -f conftest.$ac_objext conftest$ac_exeext
26161 if { (ac_try="$ac_link"
26162 case "(($ac_try" in
26163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26164 *) ac_try_echo=$ac_try;;
26165 esac
26166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26167 (eval "$ac_link") 2>conftest.er1
26168 ac_status=$?
26169 grep -v '^ *+' conftest.er1 >conftest.err
26170 rm -f conftest.er1
26171 cat conftest.err >&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); } && {
26174 test -z "$ac_c_werror_flag" ||
26175 test ! -s conftest.err
26176 } && test -s conftest$ac_exeext &&
26177 $as_test_x conftest$ac_exeext; then
26178 ac_cv_lib_tiff_TIFFError=yes
26179 else
26180 echo "$as_me: failed program was:" >&5
26181 sed 's/^/| /' conftest.$ac_ext >&5
26182
26183 ac_cv_lib_tiff_TIFFError=no
26184 fi
26185
26186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26187 conftest$ac_exeext conftest.$ac_ext
26188 LIBS=$ac_check_lib_save_LIBS
26189 fi
26190 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26191 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26192 if test $ac_cv_lib_tiff_TIFFError = yes; then
26193 TIFF_LINK=" -ltiff"
26194 fi
26195
26196
26197 fi
26198
26199
26200
26201 if test "x$TIFF_LINK" = "x" ; then
26202 if test "$wxUSE_LIBTIFF" = "sys" ; then
26203 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26204 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26205 { (exit 1); exit 1; }; }
26206 else
26207 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26208 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26209 wxUSE_LIBTIFF=builtin
26210 fi
26211 else
26212 wxUSE_LIBTIFF=sys
26213 fi
26214 fi
26215 fi
26216
26217
26218 if test "$wxUSE_WCHAR_T" != "yes"; then
26219 if test "$wxUSE_EXPAT" != "no"; then
26220 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26221 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26222 wxUSE_EXPAT=no
26223 fi
26224 if test "$wxUSE_XML" != "no"; then
26225 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26226 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26227 wxUSE_XML=no
26228 fi
26229 fi
26230
26231 if test "$wxUSE_EXPAT" != "no"; then
26232 wxUSE_XML=yes
26233 cat >>confdefs.h <<\_ACEOF
26234 #define wxUSE_EXPAT 1
26235 _ACEOF
26236
26237 cat >>confdefs.h <<\_ACEOF
26238 #define wxUSE_XML 1
26239 _ACEOF
26240
26241
26242 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26243 { echo "$as_me:$LINENO: checking for expat.h" >&5
26244 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26245 if test "${ac_cv_header_expat_h+set}" = set; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 else
26248 cat >conftest.$ac_ext <<_ACEOF
26249 /* confdefs.h. */
26250 _ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26254
26255
26256 #include <expat.h>
26257 _ACEOF
26258 rm -f conftest.$ac_objext
26259 if { (ac_try="$ac_compile"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26262 *) ac_try_echo=$ac_try;;
26263 esac
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_compile") 2>conftest.er1
26266 ac_status=$?
26267 grep -v '^ *+' conftest.er1 >conftest.err
26268 rm -f conftest.er1
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest.$ac_objext; then
26275 ac_cv_header_expat_h=yes
26276 else
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26279
26280 ac_cv_header_expat_h=no
26281 fi
26282
26283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 fi
26285 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26286 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26287 if test $ac_cv_header_expat_h = yes; then
26288 found_expat_h=1
26289 fi
26290
26291
26292 if test "x$found_expat_h" = "x1"; then
26293 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26294 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26295 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 else
26298
26299 ac_ext=cpp
26300 ac_cpp='$CXXCPP $CPPFLAGS'
26301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26304
26305 cat >conftest.$ac_ext <<_ACEOF
26306 /* confdefs.h. */
26307 _ACEOF
26308 cat confdefs.h >>conftest.$ac_ext
26309 cat >>conftest.$ac_ext <<_ACEOF
26310 /* end confdefs.h. */
26311 #include <expat.h>
26312 int
26313 main ()
26314 {
26315
26316 ;
26317 return 0;
26318 }
26319 _ACEOF
26320 rm -f conftest.$ac_objext
26321 if { (ac_try="$ac_compile"
26322 case "(($ac_try" in
26323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26324 *) ac_try_echo=$ac_try;;
26325 esac
26326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26327 (eval "$ac_compile") 2>conftest.er1
26328 ac_status=$?
26329 grep -v '^ *+' conftest.er1 >conftest.err
26330 rm -f conftest.er1
26331 cat conftest.err >&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } && {
26334 test -z "$ac_cxx_werror_flag" ||
26335 test ! -s conftest.err
26336 } && test -s conftest.$ac_objext; then
26337 wx_cv_expat_is_not_broken=yes
26338 else
26339 echo "$as_me: failed program was:" >&5
26340 sed 's/^/| /' conftest.$ac_ext >&5
26341
26342 wx_cv_expat_is_not_broken=no
26343
26344 fi
26345
26346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26347 ac_ext=c
26348 ac_cpp='$CPP $CPPFLAGS'
26349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26352
26353
26354
26355 fi
26356 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26357 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26358 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26359 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26360 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26361 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26362 echo $ECHO_N "(cached) $ECHO_C" >&6
26363 else
26364 ac_check_lib_save_LIBS=$LIBS
26365 LIBS="-lexpat $LIBS"
26366 cat >conftest.$ac_ext <<_ACEOF
26367 /* confdefs.h. */
26368 _ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372
26373 /* Override any GCC internal prototype to avoid an error.
26374 Use char because int might match the return type of a GCC
26375 builtin and then its argument prototype would still apply. */
26376 #ifdef __cplusplus
26377 extern "C"
26378 #endif
26379 char XML_ParserCreate ();
26380 int
26381 main ()
26382 {
26383 return XML_ParserCreate ();
26384 ;
26385 return 0;
26386 }
26387 _ACEOF
26388 rm -f conftest.$ac_objext conftest$ac_exeext
26389 if { (ac_try="$ac_link"
26390 case "(($ac_try" in
26391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26392 *) ac_try_echo=$ac_try;;
26393 esac
26394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26395 (eval "$ac_link") 2>conftest.er1
26396 ac_status=$?
26397 grep -v '^ *+' conftest.er1 >conftest.err
26398 rm -f conftest.er1
26399 cat conftest.err >&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); } && {
26402 test -z "$ac_c_werror_flag" ||
26403 test ! -s conftest.err
26404 } && test -s conftest$ac_exeext &&
26405 $as_test_x conftest$ac_exeext; then
26406 ac_cv_lib_expat_XML_ParserCreate=yes
26407 else
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.$ac_ext >&5
26410
26411 ac_cv_lib_expat_XML_ParserCreate=no
26412 fi
26413
26414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26415 conftest$ac_exeext conftest.$ac_ext
26416 LIBS=$ac_check_lib_save_LIBS
26417 fi
26418 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26419 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26420 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26421 EXPAT_LINK=" -lexpat"
26422 fi
26423
26424 fi
26425 fi
26426 if test "x$EXPAT_LINK" = "x" ; then
26427 if test "$wxUSE_EXPAT" = "sys" ; then
26428 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26429 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26430 { (exit 1); exit 1; }; }
26431 else
26432 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26433 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26434 wxUSE_EXPAT=builtin
26435 fi
26436 else
26437 wxUSE_EXPAT=sys
26438 fi
26439 fi
26440 if test "$wxUSE_EXPAT" = "builtin" ; then
26441 subdirs="$subdirs src/expat"
26442
26443 fi
26444 fi
26445
26446
26447
26448 if test "$wxUSE_LIBMSPACK" != "no"; then
26449 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26450 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26451 if test "${ac_cv_header_mspack_h+set}" = set; then
26452 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 else
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
26462 #include <mspack.h>
26463 _ACEOF
26464 rm -f conftest.$ac_objext
26465 if { (ac_try="$ac_compile"
26466 case "(($ac_try" in
26467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26468 *) ac_try_echo=$ac_try;;
26469 esac
26470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26471 (eval "$ac_compile") 2>conftest.er1
26472 ac_status=$?
26473 grep -v '^ *+' conftest.er1 >conftest.err
26474 rm -f conftest.er1
26475 cat conftest.err >&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } && {
26478 test -z "$ac_c_werror_flag" ||
26479 test ! -s conftest.err
26480 } && test -s conftest.$ac_objext; then
26481 ac_cv_header_mspack_h=yes
26482 else
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26485
26486 ac_cv_header_mspack_h=no
26487 fi
26488
26489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26490 fi
26491 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26492 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26493 if test $ac_cv_header_mspack_h = yes; then
26494 found_mspack_h=1
26495 fi
26496
26497
26498 if test "x$found_mspack_h" = "x1"; then
26499 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26500 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26501 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26502 echo $ECHO_N "(cached) $ECHO_C" >&6
26503 else
26504 ac_check_lib_save_LIBS=$LIBS
26505 LIBS="-lmspack $LIBS"
26506 cat >conftest.$ac_ext <<_ACEOF
26507 /* confdefs.h. */
26508 _ACEOF
26509 cat confdefs.h >>conftest.$ac_ext
26510 cat >>conftest.$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26512
26513 /* Override any GCC internal prototype to avoid an error.
26514 Use char because int might match the return type of a GCC
26515 builtin and then its argument prototype would still apply. */
26516 #ifdef __cplusplus
26517 extern "C"
26518 #endif
26519 char mspack_create_chm_decompressor ();
26520 int
26521 main ()
26522 {
26523 return mspack_create_chm_decompressor ();
26524 ;
26525 return 0;
26526 }
26527 _ACEOF
26528 rm -f conftest.$ac_objext conftest$ac_exeext
26529 if { (ac_try="$ac_link"
26530 case "(($ac_try" in
26531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26532 *) ac_try_echo=$ac_try;;
26533 esac
26534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26535 (eval "$ac_link") 2>conftest.er1
26536 ac_status=$?
26537 grep -v '^ *+' conftest.er1 >conftest.err
26538 rm -f conftest.er1
26539 cat conftest.err >&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); } && {
26542 test -z "$ac_c_werror_flag" ||
26543 test ! -s conftest.err
26544 } && test -s conftest$ac_exeext &&
26545 $as_test_x conftest$ac_exeext; then
26546 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26547 else
26548 echo "$as_me: failed program was:" >&5
26549 sed 's/^/| /' conftest.$ac_ext >&5
26550
26551 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26552 fi
26553
26554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26555 conftest$ac_exeext conftest.$ac_ext
26556 LIBS=$ac_check_lib_save_LIBS
26557 fi
26558 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26559 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26560 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26561 MSPACK_LINK=" -lmspack"
26562 fi
26563
26564 fi
26565 if test "x$MSPACK_LINK" = "x" ; then
26566 wxUSE_LIBMSPACK=no
26567 fi
26568 fi
26569
26570 if test "$wxUSE_LIBMSPACK" != "no"; then
26571 cat >>confdefs.h <<\_ACEOF
26572 #define wxUSE_LIBMSPACK 1
26573 _ACEOF
26574
26575 fi
26576
26577
26578
26579 AFMINSTALL=
26580 WIN32INSTALL=
26581
26582 TOOLKIT=
26583 TOOLKIT_INCLUDE=
26584 WIDGET_SET=
26585
26586 if test "$USE_WIN32" = 1 ; then
26587 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26588 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26589 if test "${ac_cv_header_w32api_h+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 else
26592 cat >conftest.$ac_ext <<_ACEOF
26593 /* confdefs.h. */
26594 _ACEOF
26595 cat confdefs.h >>conftest.$ac_ext
26596 cat >>conftest.$ac_ext <<_ACEOF
26597 /* end confdefs.h. */
26598
26599
26600 #include <w32api.h>
26601 _ACEOF
26602 rm -f conftest.$ac_objext
26603 if { (ac_try="$ac_compile"
26604 case "(($ac_try" in
26605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26606 *) ac_try_echo=$ac_try;;
26607 esac
26608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26609 (eval "$ac_compile") 2>conftest.er1
26610 ac_status=$?
26611 grep -v '^ *+' conftest.er1 >conftest.err
26612 rm -f conftest.er1
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } && {
26616 test -z "$ac_c_werror_flag" ||
26617 test ! -s conftest.err
26618 } && test -s conftest.$ac_objext; then
26619 ac_cv_header_w32api_h=yes
26620 else
26621 echo "$as_me: failed program was:" >&5
26622 sed 's/^/| /' conftest.$ac_ext >&5
26623
26624 ac_cv_header_w32api_h=no
26625 fi
26626
26627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26628 fi
26629 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26630 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26631
26632
26633 { echo "$as_me:$LINENO: checking for windows.h" >&5
26634 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26635 if test "${ac_cv_header_windows_h+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26637 else
26638 cat >conftest.$ac_ext <<_ACEOF
26639 /* confdefs.h. */
26640 _ACEOF
26641 cat confdefs.h >>conftest.$ac_ext
26642 cat >>conftest.$ac_ext <<_ACEOF
26643 /* end confdefs.h. */
26644
26645
26646 #include <windows.h>
26647 _ACEOF
26648 rm -f conftest.$ac_objext
26649 if { (ac_try="$ac_compile"
26650 case "(($ac_try" in
26651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26652 *) ac_try_echo=$ac_try;;
26653 esac
26654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26655 (eval "$ac_compile") 2>conftest.er1
26656 ac_status=$?
26657 grep -v '^ *+' conftest.er1 >conftest.err
26658 rm -f conftest.er1
26659 cat conftest.err >&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); } && {
26662 test -z "$ac_c_werror_flag" ||
26663 test ! -s conftest.err
26664 } && test -s conftest.$ac_objext; then
26665 ac_cv_header_windows_h=yes
26666 else
26667 echo "$as_me: failed program was:" >&5
26668 sed 's/^/| /' conftest.$ac_ext >&5
26669
26670 ac_cv_header_windows_h=no
26671 fi
26672
26673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26674 fi
26675 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26676 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26677 if test $ac_cv_header_windows_h = yes; then
26678 :
26679 else
26680
26681 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26682 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26683 { (exit 1); exit 1; }; }
26684
26685 fi
26686
26687
26688
26689 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26690
26691 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26692 LIBS="$LIBS -loleacc"
26693 fi
26694
26695 case "${host}" in
26696 *-*-cygwin* )
26697 LIBS="$LIBS -lkernel32 -luser32"
26698 esac
26699
26700 if test "$wxUSE_ODBC" = "sys" ; then
26701 wxUSE_ODBC = "yes"
26702 fi
26703 if test "$wxUSE_ODBC" = "yes" ; then
26704 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26705 cat >>confdefs.h <<\_ACEOF
26706 #define wxUSE_ODBC 1
26707 _ACEOF
26708
26709 fi
26710
26711 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26712 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26713
26714 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26715
26716 WIN32INSTALL=win32install
26717
26718 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26719 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26720 if test "${ac_cv_header_pbt_h+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 else
26723 cat >conftest.$ac_ext <<_ACEOF
26724 /* confdefs.h. */
26725 _ACEOF
26726 cat confdefs.h >>conftest.$ac_ext
26727 cat >>conftest.$ac_ext <<_ACEOF
26728 /* end confdefs.h. */
26729
26730
26731 #include <pbt.h>
26732 _ACEOF
26733 rm -f conftest.$ac_objext
26734 if { (ac_try="$ac_compile"
26735 case "(($ac_try" in
26736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26737 *) ac_try_echo=$ac_try;;
26738 esac
26739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26740 (eval "$ac_compile") 2>conftest.er1
26741 ac_status=$?
26742 grep -v '^ *+' conftest.er1 >conftest.err
26743 rm -f conftest.er1
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } && {
26747 test -z "$ac_c_werror_flag" ||
26748 test ! -s conftest.err
26749 } && test -s conftest.$ac_objext; then
26750 ac_cv_header_pbt_h=yes
26751 else
26752 echo "$as_me: failed program was:" >&5
26753 sed 's/^/| /' conftest.$ac_ext >&5
26754
26755 ac_cv_header_pbt_h=no
26756 fi
26757
26758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26759 fi
26760 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26761 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26762 if test $ac_cv_header_pbt_h = yes; then
26763 :
26764 else
26765 cat >>confdefs.h <<\_ACEOF
26766 #define NEED_PBT_H 1
26767 _ACEOF
26768
26769 fi
26770
26771
26772 fi
26773
26774 if test "$wxUSE_GUI" = "yes"; then
26775 USE_GUI=1
26776
26777 GUI_TK_LIBRARY=
26778
26779 WXGTK12=
26780 WXGTK127=
26781 WXGTK20=
26782 WXGPE=
26783
26784 if test "$wxUSE_COCOA" = 1 ; then
26785 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26786 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26787 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26788 wxUSE_PRINTING_ARCHITECTURE=no
26789 fi
26790 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26791 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26792 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26793 wxUSE_DRAG_AND_DROP=no
26794 fi
26795 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26796 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26797 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26798 wxUSE_DRAGIMAGE=no
26799 fi
26800 fi
26801
26802 if test "$wxUSE_MSW" = 1 ; then
26803 TOOLKIT=MSW
26804 GUIDIST=MSW_DIST
26805
26806 case "${host}" in
26807 *-*-mingw32* )
26808 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26809 esac
26810 fi
26811
26812 if test "$wxUSE_GTK" = 1; then
26813 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26814 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26815
26816 gtk_version_cached=1
26817 if test "${wx_cv_lib_gtk+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26819 else
26820
26821 gtk_version_cached=0
26822 { echo "$as_me:$LINENO: result: " >&5
26823 echo "${ECHO_T}" >&6; }
26824
26825 GTK_MODULES=
26826 if test "$wxUSE_THREADS" = "yes"; then
26827 GTK_MODULES=gthread
26828 fi
26829
26830 wx_cv_lib_gtk=
26831 if test "x$wxGTK_VERSION" != "x1"
26832 then
26833 case "${host}" in
26834 *-*-solaris2* )
26835 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26836 enable_gtktest=no
26837 fi
26838 esac
26839
26840 # Check whether --enable-gtktest was given.
26841 if test "${enable_gtktest+set}" = set; then
26842 enableval=$enable_gtktest;
26843 else
26844 enable_gtktest=yes
26845 fi
26846
26847
26848 pkg_config_args=gtk+-2.0
26849 for module in . $GTK_MODULES
26850 do
26851 case "$module" in
26852 gthread)
26853 pkg_config_args="$pkg_config_args gthread-2.0"
26854 ;;
26855 esac
26856 done
26857
26858 no_gtk=""
26859
26860 # Extract the first word of "pkg-config", so it can be a program name with args.
26861 set dummy pkg-config; ac_word=$2
26862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26865 echo $ECHO_N "(cached) $ECHO_C" >&6
26866 else
26867 case $PKG_CONFIG in
26868 [\\/]* | ?:[\\/]*)
26869 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26870 ;;
26871 *)
26872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26873 for as_dir in $PATH
26874 do
26875 IFS=$as_save_IFS
26876 test -z "$as_dir" && as_dir=.
26877 for ac_exec_ext in '' $ac_executable_extensions; do
26878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26879 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26881 break 2
26882 fi
26883 done
26884 done
26885 IFS=$as_save_IFS
26886
26887 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26888 ;;
26889 esac
26890 fi
26891 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26892 if test -n "$PKG_CONFIG"; then
26893 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26894 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26895 else
26896 { echo "$as_me:$LINENO: result: no" >&5
26897 echo "${ECHO_T}no" >&6; }
26898 fi
26899
26900
26901
26902 if test x$PKG_CONFIG != xno ; then
26903 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26904 :
26905 else
26906 echo "*** pkg-config too old; version 0.7 or better required."
26907 no_gtk=yes
26908 PKG_CONFIG=no
26909 fi
26910 else
26911 no_gtk=yes
26912 fi
26913
26914 min_gtk_version=2.0.0
26915 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26916 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
26917
26918 if test x$PKG_CONFIG != xno ; then
26919 ## don't try to run the test against uninstalled libtool libs
26920 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26921 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26922 enable_gtktest=no
26923 fi
26924
26925 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26926 :
26927 else
26928 no_gtk=yes
26929 fi
26930 fi
26931
26932 if test x"$no_gtk" = x ; then
26933 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26934 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26935 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26937 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26939 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26941 if test "x$enable_gtktest" = "xyes" ; then
26942 ac_save_CFLAGS="$CFLAGS"
26943 ac_save_LIBS="$LIBS"
26944 CFLAGS="$CFLAGS $GTK_CFLAGS"
26945 LIBS="$GTK_LIBS $LIBS"
26946 rm -f conf.gtktest
26947 if test "$cross_compiling" = yes; then
26948 echo $ac_n "cross compiling; assumed OK... $ac_c"
26949 else
26950 cat >conftest.$ac_ext <<_ACEOF
26951 /* confdefs.h. */
26952 _ACEOF
26953 cat confdefs.h >>conftest.$ac_ext
26954 cat >>conftest.$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26956
26957 #include <gtk/gtk.h>
26958 #include <stdio.h>
26959 #include <stdlib.h>
26960
26961 int
26962 main ()
26963 {
26964 int major, minor, micro;
26965 char *tmp_version;
26966
26967 system ("touch conf.gtktest");
26968
26969 /* HP/UX 9 (%@#!) writes to sscanf strings */
26970 tmp_version = g_strdup("$min_gtk_version");
26971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26972 printf("%s, bad version string\n", "$min_gtk_version");
26973 exit(1);
26974 }
26975
26976 if ((gtk_major_version != $gtk_config_major_version) ||
26977 (gtk_minor_version != $gtk_config_minor_version) ||
26978 (gtk_micro_version != $gtk_config_micro_version))
26979 {
26980 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26981 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26982 gtk_major_version, gtk_minor_version, gtk_micro_version);
26983 printf ("*** was found! If pkg-config was correct, then it is best\n");
26984 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26985 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26986 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26987 printf("*** required on your system.\n");
26988 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26989 printf("*** to point to the correct configuration files\n");
26990 }
26991 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26992 (gtk_minor_version != GTK_MINOR_VERSION) ||
26993 (gtk_micro_version != GTK_MICRO_VERSION))
26994 {
26995 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26996 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26997 printf("*** library (version %d.%d.%d)\n",
26998 gtk_major_version, gtk_minor_version, gtk_micro_version);
26999 }
27000 else
27001 {
27002 if ((gtk_major_version > major) ||
27003 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27004 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27005 {
27006 return 0;
27007 }
27008 else
27009 {
27010 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27011 gtk_major_version, gtk_minor_version, gtk_micro_version);
27012 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27013 major, minor, micro);
27014 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27015 printf("***\n");
27016 printf("*** If you have already installed a sufficiently new version, this error\n");
27017 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27018 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27019 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27020 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27021 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27022 printf("*** so that the correct libraries are found at run-time))\n");
27023 }
27024 }
27025 return 1;
27026 }
27027
27028 _ACEOF
27029 rm -f conftest$ac_exeext
27030 if { (ac_try="$ac_link"
27031 case "(($ac_try" in
27032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27033 *) ac_try_echo=$ac_try;;
27034 esac
27035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27036 (eval "$ac_link") 2>&5
27037 ac_status=$?
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27040 { (case "(($ac_try" in
27041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27042 *) ac_try_echo=$ac_try;;
27043 esac
27044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27045 (eval "$ac_try") 2>&5
27046 ac_status=$?
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); }; }; then
27049 :
27050 else
27051 echo "$as_me: program exited with status $ac_status" >&5
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27054
27055 ( exit $ac_status )
27056 no_gtk=yes
27057 fi
27058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27059 fi
27060
27061
27062 CFLAGS="$ac_save_CFLAGS"
27063 LIBS="$ac_save_LIBS"
27064 fi
27065 fi
27066 if test "x$no_gtk" = x ; then
27067 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27068 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27069 wx_cv_lib_gtk=2.0
27070 else
27071 { echo "$as_me:$LINENO: result: no" >&5
27072 echo "${ECHO_T}no" >&6; }
27073 if test "$PKG_CONFIG" = "no" ; then
27074 echo "*** A new enough version of pkg-config was not found."
27075 echo "*** See http://pkgconfig.sourceforge.net"
27076 else
27077 if test -f conf.gtktest ; then
27078 :
27079 else
27080 echo "*** Could not run GTK+ test program, checking why..."
27081 ac_save_CFLAGS="$CFLAGS"
27082 ac_save_LIBS="$LIBS"
27083 CFLAGS="$CFLAGS $GTK_CFLAGS"
27084 LIBS="$LIBS $GTK_LIBS"
27085 cat >conftest.$ac_ext <<_ACEOF
27086 /* confdefs.h. */
27087 _ACEOF
27088 cat confdefs.h >>conftest.$ac_ext
27089 cat >>conftest.$ac_ext <<_ACEOF
27090 /* end confdefs.h. */
27091
27092 #include <gtk/gtk.h>
27093 #include <stdio.h>
27094
27095 int
27096 main ()
27097 {
27098 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27099 ;
27100 return 0;
27101 }
27102 _ACEOF
27103 rm -f conftest.$ac_objext conftest$ac_exeext
27104 if { (ac_try="$ac_link"
27105 case "(($ac_try" in
27106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27107 *) ac_try_echo=$ac_try;;
27108 esac
27109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27110 (eval "$ac_link") 2>conftest.er1
27111 ac_status=$?
27112 grep -v '^ *+' conftest.er1 >conftest.err
27113 rm -f conftest.er1
27114 cat conftest.err >&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); } && {
27117 test -z "$ac_c_werror_flag" ||
27118 test ! -s conftest.err
27119 } && test -s conftest$ac_exeext &&
27120 $as_test_x conftest$ac_exeext; then
27121 echo "*** The test program compiled, but did not run. This usually means"
27122 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27123 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27124 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27125 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27126 echo "*** is required on your system"
27127 echo "***"
27128 echo "*** If you have an old version installed, it is best to remove it, although"
27129 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27130 else
27131 echo "$as_me: failed program was:" >&5
27132 sed 's/^/| /' conftest.$ac_ext >&5
27133
27134 echo "*** The test program failed to compile or link. See the file config.log for the"
27135 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27136 fi
27137
27138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27139 conftest$ac_exeext conftest.$ac_ext
27140 CFLAGS="$ac_save_CFLAGS"
27141 LIBS="$ac_save_LIBS"
27142 fi
27143 fi
27144 GTK_CFLAGS=""
27145 GTK_LIBS=""
27146 :
27147 fi
27148
27149
27150 rm -f conf.gtktest
27151
27152
27153 case "${host}" in
27154 *-*-solaris2* )
27155 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27156 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27157 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27158 fi
27159 if test "$wxUSE_SHARED" != "yes"; then
27160 GTK_LIBS="$GTK_LIBS -lX11"
27161 fi
27162 esac
27163 fi
27164
27165 if test -z "$wx_cv_lib_gtk"; then
27166 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27167
27168 # Check whether --with-gtk-prefix was given.
27169 if test "${with_gtk_prefix+set}" = set; then
27170 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27171 else
27172 gtk_config_prefix=""
27173 fi
27174
27175
27176 # Check whether --with-gtk-exec-prefix was given.
27177 if test "${with_gtk_exec_prefix+set}" = set; then
27178 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27179 else
27180 gtk_config_exec_prefix=""
27181 fi
27182
27183 # Check whether --enable-gtktest was given.
27184 if test "${enable_gtktest+set}" = set; then
27185 enableval=$enable_gtktest;
27186 else
27187 enable_gtktest=yes
27188 fi
27189
27190
27191 for module in . $GTK_MODULES
27192 do
27193 case "$module" in
27194 gthread)
27195 gtk_config_args="$gtk_config_args gthread"
27196 ;;
27197 esac
27198 done
27199
27200 if test x$gtk_config_exec_prefix != x ; then
27201 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27202 if test x${GTK_CONFIG+set} != xset ; then
27203 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27204 fi
27205 fi
27206 if test x$gtk_config_prefix != x ; then
27207 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27208 if test x${GTK_CONFIG+set} != xset ; then
27209 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27210 fi
27211 fi
27212
27213 # Extract the first word of "gtk-config", so it can be a program name with args.
27214 set dummy gtk-config; ac_word=$2
27215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27217 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220 case $GTK_CONFIG in
27221 [\\/]* | ?:[\\/]*)
27222 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27223 ;;
27224 *)
27225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27226 for as_dir in $PATH
27227 do
27228 IFS=$as_save_IFS
27229 test -z "$as_dir" && as_dir=.
27230 for ac_exec_ext in '' $ac_executable_extensions; do
27231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27232 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27234 break 2
27235 fi
27236 done
27237 done
27238 IFS=$as_save_IFS
27239
27240 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27241 ;;
27242 esac
27243 fi
27244 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27245 if test -n "$GTK_CONFIG"; then
27246 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27247 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27248 else
27249 { echo "$as_me:$LINENO: result: no" >&5
27250 echo "${ECHO_T}no" >&6; }
27251 fi
27252
27253
27254 min_gtk_version=1.2.7
27255 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27256 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27257 no_gtk=""
27258 if test "$GTK_CONFIG" = "no" ; then
27259 no_gtk=yes
27260 else
27261 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27262 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27263 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27265 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27266 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27267 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27268 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27269 if test "x$enable_gtktest" = "xyes" ; then
27270 ac_save_CFLAGS="$CFLAGS"
27271 ac_save_LIBS="$LIBS"
27272 CFLAGS="$CFLAGS $GTK_CFLAGS"
27273 LIBS="$GTK_LIBS $LIBS"
27274 rm -f conf.gtktest
27275 if test "$cross_compiling" = yes; then
27276 echo $ac_n "cross compiling; assumed OK... $ac_c"
27277 else
27278 cat >conftest.$ac_ext <<_ACEOF
27279 /* confdefs.h. */
27280 _ACEOF
27281 cat confdefs.h >>conftest.$ac_ext
27282 cat >>conftest.$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27284
27285 #include <gtk/gtk.h>
27286 #include <stdio.h>
27287 #include <stdlib.h>
27288
27289 int
27290 main ()
27291 {
27292 int major, minor, micro;
27293 char *tmp_version;
27294
27295 system ("touch conf.gtktest");
27296
27297 /* HP/UX 9 (%@#!) writes to sscanf strings */
27298 tmp_version = g_strdup("$min_gtk_version");
27299 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27300 printf("%s, bad version string\n", "$min_gtk_version");
27301 exit(1);
27302 }
27303
27304 if ((gtk_major_version != $gtk_config_major_version) ||
27305 (gtk_minor_version != $gtk_config_minor_version) ||
27306 (gtk_micro_version != $gtk_config_micro_version))
27307 {
27308 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27309 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27310 gtk_major_version, gtk_minor_version, gtk_micro_version);
27311 printf ("*** was found! If gtk-config was correct, then it is best\n");
27312 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27313 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27314 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27315 printf("*** required on your system.\n");
27316 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27317 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27318 printf("*** before re-running configure\n");
27319 }
27320 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27321 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27322 (gtk_minor_version != GTK_MINOR_VERSION) ||
27323 (gtk_micro_version != GTK_MICRO_VERSION))
27324 {
27325 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27326 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27327 printf("*** library (version %d.%d.%d)\n",
27328 gtk_major_version, gtk_minor_version, gtk_micro_version);
27329 }
27330 #endif /* defined (GTK_MAJOR_VERSION) ... */
27331 else
27332 {
27333 if ((gtk_major_version > major) ||
27334 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27335 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27336 {
27337 return 0;
27338 }
27339 else
27340 {
27341 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27342 gtk_major_version, gtk_minor_version, gtk_micro_version);
27343 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27344 major, minor, micro);
27345 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27346 printf("***\n");
27347 printf("*** If you have already installed a sufficiently new version, this error\n");
27348 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27349 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27350 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27351 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27352 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27353 printf("*** so that the correct libraries are found at run-time))\n");
27354 }
27355 }
27356 return 1;
27357 }
27358
27359 _ACEOF
27360 rm -f conftest$ac_exeext
27361 if { (ac_try="$ac_link"
27362 case "(($ac_try" in
27363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27364 *) ac_try_echo=$ac_try;;
27365 esac
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_link") 2>&5
27368 ac_status=$?
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27371 { (case "(($ac_try" in
27372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27373 *) ac_try_echo=$ac_try;;
27374 esac
27375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27376 (eval "$ac_try") 2>&5
27377 ac_status=$?
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27380 :
27381 else
27382 echo "$as_me: program exited with status $ac_status" >&5
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27385
27386 ( exit $ac_status )
27387 no_gtk=yes
27388 fi
27389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27390 fi
27391
27392
27393 CFLAGS="$ac_save_CFLAGS"
27394 LIBS="$ac_save_LIBS"
27395 fi
27396 fi
27397 if test "x$no_gtk" = x ; then
27398 { echo "$as_me:$LINENO: result: yes" >&5
27399 echo "${ECHO_T}yes" >&6; }
27400 wx_cv_lib_gtk=1.2.7
27401 else
27402 { echo "$as_me:$LINENO: result: no" >&5
27403 echo "${ECHO_T}no" >&6; }
27404 if test "$GTK_CONFIG" = "no" ; then
27405 echo "*** The gtk-config script installed by GTK could not be found"
27406 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27407 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27408 echo "*** full path to gtk-config."
27409 else
27410 if test -f conf.gtktest ; then
27411 :
27412 else
27413 echo "*** Could not run GTK test program, checking why..."
27414 CFLAGS="$CFLAGS $GTK_CFLAGS"
27415 LIBS="$LIBS $GTK_LIBS"
27416 cat >conftest.$ac_ext <<_ACEOF
27417 /* confdefs.h. */
27418 _ACEOF
27419 cat confdefs.h >>conftest.$ac_ext
27420 cat >>conftest.$ac_ext <<_ACEOF
27421 /* end confdefs.h. */
27422
27423 #include <gtk/gtk.h>
27424 #include <stdio.h>
27425
27426 int
27427 main ()
27428 {
27429 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27430 ;
27431 return 0;
27432 }
27433 _ACEOF
27434 rm -f conftest.$ac_objext conftest$ac_exeext
27435 if { (ac_try="$ac_link"
27436 case "(($ac_try" in
27437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27438 *) ac_try_echo=$ac_try;;
27439 esac
27440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27441 (eval "$ac_link") 2>conftest.er1
27442 ac_status=$?
27443 grep -v '^ *+' conftest.er1 >conftest.err
27444 rm -f conftest.er1
27445 cat conftest.err >&5
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); } && {
27448 test -z "$ac_c_werror_flag" ||
27449 test ! -s conftest.err
27450 } && test -s conftest$ac_exeext &&
27451 $as_test_x conftest$ac_exeext; then
27452 echo "*** The test program compiled, but did not run. This usually means"
27453 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27454 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27455 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27456 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27457 echo "*** is required on your system"
27458 echo "***"
27459 echo "*** If you have an old version installed, it is best to remove it, although"
27460 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27461 echo "***"
27462 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27463 echo "*** came with the system with the command"
27464 echo "***"
27465 echo "*** rpm --erase --nodeps gtk gtk-devel"
27466 else
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27469
27470 echo "*** The test program failed to compile or link. See the file config.log for the"
27471 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27472 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27473 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27474 fi
27475
27476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27477 conftest$ac_exeext conftest.$ac_ext
27478 CFLAGS="$ac_save_CFLAGS"
27479 LIBS="$ac_save_LIBS"
27480 fi
27481 fi
27482 GTK_CFLAGS=""
27483 GTK_LIBS=""
27484 :
27485 fi
27486
27487
27488 rm -f conf.gtktest
27489
27490
27491 if test -z "$wx_cv_lib_gtk"; then
27492
27493 # Check whether --with-gtk-prefix was given.
27494 if test "${with_gtk_prefix+set}" = set; then
27495 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27496 else
27497 gtk_config_prefix=""
27498 fi
27499
27500
27501 # Check whether --with-gtk-exec-prefix was given.
27502 if test "${with_gtk_exec_prefix+set}" = set; then
27503 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27504 else
27505 gtk_config_exec_prefix=""
27506 fi
27507
27508 # Check whether --enable-gtktest was given.
27509 if test "${enable_gtktest+set}" = set; then
27510 enableval=$enable_gtktest;
27511 else
27512 enable_gtktest=yes
27513 fi
27514
27515
27516 for module in . $GTK_MODULES
27517 do
27518 case "$module" in
27519 gthread)
27520 gtk_config_args="$gtk_config_args gthread"
27521 ;;
27522 esac
27523 done
27524
27525 if test x$gtk_config_exec_prefix != x ; then
27526 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27527 if test x${GTK_CONFIG+set} != xset ; then
27528 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27529 fi
27530 fi
27531 if test x$gtk_config_prefix != x ; then
27532 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27533 if test x${GTK_CONFIG+set} != xset ; then
27534 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27535 fi
27536 fi
27537
27538 # Extract the first word of "gtk-config", so it can be a program name with args.
27539 set dummy gtk-config; ac_word=$2
27540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27542 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 else
27545 case $GTK_CONFIG in
27546 [\\/]* | ?:[\\/]*)
27547 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27548 ;;
27549 *)
27550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27551 for as_dir in $PATH
27552 do
27553 IFS=$as_save_IFS
27554 test -z "$as_dir" && as_dir=.
27555 for ac_exec_ext in '' $ac_executable_extensions; do
27556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27557 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27559 break 2
27560 fi
27561 done
27562 done
27563 IFS=$as_save_IFS
27564
27565 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27566 ;;
27567 esac
27568 fi
27569 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27570 if test -n "$GTK_CONFIG"; then
27571 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27572 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27573 else
27574 { echo "$as_me:$LINENO: result: no" >&5
27575 echo "${ECHO_T}no" >&6; }
27576 fi
27577
27578
27579 min_gtk_version=1.2.3
27580 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27581 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27582 no_gtk=""
27583 if test "$GTK_CONFIG" = "no" ; then
27584 no_gtk=yes
27585 else
27586 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27587 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27588 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27589 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27590 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27591 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27592 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27594 if test "x$enable_gtktest" = "xyes" ; then
27595 ac_save_CFLAGS="$CFLAGS"
27596 ac_save_LIBS="$LIBS"
27597 CFLAGS="$CFLAGS $GTK_CFLAGS"
27598 LIBS="$GTK_LIBS $LIBS"
27599 rm -f conf.gtktest
27600 if test "$cross_compiling" = yes; then
27601 echo $ac_n "cross compiling; assumed OK... $ac_c"
27602 else
27603 cat >conftest.$ac_ext <<_ACEOF
27604 /* confdefs.h. */
27605 _ACEOF
27606 cat confdefs.h >>conftest.$ac_ext
27607 cat >>conftest.$ac_ext <<_ACEOF
27608 /* end confdefs.h. */
27609
27610 #include <gtk/gtk.h>
27611 #include <stdio.h>
27612 #include <stdlib.h>
27613
27614 int
27615 main ()
27616 {
27617 int major, minor, micro;
27618 char *tmp_version;
27619
27620 system ("touch conf.gtktest");
27621
27622 /* HP/UX 9 (%@#!) writes to sscanf strings */
27623 tmp_version = g_strdup("$min_gtk_version");
27624 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27625 printf("%s, bad version string\n", "$min_gtk_version");
27626 exit(1);
27627 }
27628
27629 if ((gtk_major_version != $gtk_config_major_version) ||
27630 (gtk_minor_version != $gtk_config_minor_version) ||
27631 (gtk_micro_version != $gtk_config_micro_version))
27632 {
27633 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27634 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27635 gtk_major_version, gtk_minor_version, gtk_micro_version);
27636 printf ("*** was found! If gtk-config was correct, then it is best\n");
27637 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27638 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27639 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27640 printf("*** required on your system.\n");
27641 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27642 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27643 printf("*** before re-running configure\n");
27644 }
27645 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27646 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27647 (gtk_minor_version != GTK_MINOR_VERSION) ||
27648 (gtk_micro_version != GTK_MICRO_VERSION))
27649 {
27650 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27651 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27652 printf("*** library (version %d.%d.%d)\n",
27653 gtk_major_version, gtk_minor_version, gtk_micro_version);
27654 }
27655 #endif /* defined (GTK_MAJOR_VERSION) ... */
27656 else
27657 {
27658 if ((gtk_major_version > major) ||
27659 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27660 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27661 {
27662 return 0;
27663 }
27664 else
27665 {
27666 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27667 gtk_major_version, gtk_minor_version, gtk_micro_version);
27668 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27669 major, minor, micro);
27670 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27671 printf("***\n");
27672 printf("*** If you have already installed a sufficiently new version, this error\n");
27673 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27674 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27675 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27676 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27677 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27678 printf("*** so that the correct libraries are found at run-time))\n");
27679 }
27680 }
27681 return 1;
27682 }
27683
27684 _ACEOF
27685 rm -f conftest$ac_exeext
27686 if { (ac_try="$ac_link"
27687 case "(($ac_try" in
27688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27689 *) ac_try_echo=$ac_try;;
27690 esac
27691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27692 (eval "$ac_link") 2>&5
27693 ac_status=$?
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27696 { (case "(($ac_try" in
27697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27698 *) ac_try_echo=$ac_try;;
27699 esac
27700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27701 (eval "$ac_try") 2>&5
27702 ac_status=$?
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); }; }; then
27705 :
27706 else
27707 echo "$as_me: program exited with status $ac_status" >&5
27708 echo "$as_me: failed program was:" >&5
27709 sed 's/^/| /' conftest.$ac_ext >&5
27710
27711 ( exit $ac_status )
27712 no_gtk=yes
27713 fi
27714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27715 fi
27716
27717
27718 CFLAGS="$ac_save_CFLAGS"
27719 LIBS="$ac_save_LIBS"
27720 fi
27721 fi
27722 if test "x$no_gtk" = x ; then
27723 { echo "$as_me:$LINENO: result: yes" >&5
27724 echo "${ECHO_T}yes" >&6; }
27725 wx_cv_lib_gtk=1.2.3
27726 else
27727 { echo "$as_me:$LINENO: result: no" >&5
27728 echo "${ECHO_T}no" >&6; }
27729 if test "$GTK_CONFIG" = "no" ; then
27730 echo "*** The gtk-config script installed by GTK could not be found"
27731 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27732 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27733 echo "*** full path to gtk-config."
27734 else
27735 if test -f conf.gtktest ; then
27736 :
27737 else
27738 echo "*** Could not run GTK test program, checking why..."
27739 CFLAGS="$CFLAGS $GTK_CFLAGS"
27740 LIBS="$LIBS $GTK_LIBS"
27741 cat >conftest.$ac_ext <<_ACEOF
27742 /* confdefs.h. */
27743 _ACEOF
27744 cat confdefs.h >>conftest.$ac_ext
27745 cat >>conftest.$ac_ext <<_ACEOF
27746 /* end confdefs.h. */
27747
27748 #include <gtk/gtk.h>
27749 #include <stdio.h>
27750
27751 int
27752 main ()
27753 {
27754 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27755 ;
27756 return 0;
27757 }
27758 _ACEOF
27759 rm -f conftest.$ac_objext conftest$ac_exeext
27760 if { (ac_try="$ac_link"
27761 case "(($ac_try" in
27762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27763 *) ac_try_echo=$ac_try;;
27764 esac
27765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27766 (eval "$ac_link") 2>conftest.er1
27767 ac_status=$?
27768 grep -v '^ *+' conftest.er1 >conftest.err
27769 rm -f conftest.er1
27770 cat conftest.err >&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); } && {
27773 test -z "$ac_c_werror_flag" ||
27774 test ! -s conftest.err
27775 } && test -s conftest$ac_exeext &&
27776 $as_test_x conftest$ac_exeext; then
27777 echo "*** The test program compiled, but did not run. This usually means"
27778 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27779 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27780 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27781 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27782 echo "*** is required on your system"
27783 echo "***"
27784 echo "*** If you have an old version installed, it is best to remove it, although"
27785 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27786 echo "***"
27787 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27788 echo "*** came with the system with the command"
27789 echo "***"
27790 echo "*** rpm --erase --nodeps gtk gtk-devel"
27791 else
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27794
27795 echo "*** The test program failed to compile or link. See the file config.log for the"
27796 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27797 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27798 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27799 fi
27800
27801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27802 conftest$ac_exeext conftest.$ac_ext
27803 CFLAGS="$ac_save_CFLAGS"
27804 LIBS="$ac_save_LIBS"
27805 fi
27806 fi
27807 GTK_CFLAGS=""
27808 GTK_LIBS=""
27809 :
27810 fi
27811
27812
27813 rm -f conf.gtktest
27814
27815 fi
27816 fi
27817 fi
27818
27819 if test -z "$wx_cv_lib_gtk"; then
27820 wx_cv_lib_gtk=none
27821 else
27822 wx_cv_cflags_gtk=$GTK_CFLAGS
27823 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27824 fi
27825
27826
27827 fi
27828
27829
27830 if test "$gtk_version_cached" = 1; then
27831 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27832 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27833 fi
27834
27835 case "$wx_cv_lib_gtk" in
27836 2.0) WXGTK20=1
27837 TOOLKIT_VERSION=2
27838 ;;
27839 1.2.7) WXGTK127=1
27840 WXGTK12=1
27841 ;;
27842 1.2.3) WXGTK12=1
27843 ;;
27844 *) { { echo "$as_me:$LINENO: error:
27845 The development files for GTK+ were not found. For GTK+ 2, please
27846 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27847 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27848 and that the version is 1.2.3 or above. Also check that the
27849 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27850 --libs' are in the LD_LIBRARY_PATH or equivalent.
27851 " >&5
27852 echo "$as_me: error:
27853 The development files for GTK+ were not found. For GTK+ 2, please
27854 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27855 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27856 and that the version is 1.2.3 or above. Also check that the
27857 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27858 --libs' are in the LD_LIBRARY_PATH or equivalent.
27859 " >&2;}
27860 { (exit 1); exit 1; }; }
27861 ;;
27862 esac
27863
27864 if test "$WXGTK20" = 1; then
27865 save_CFLAGS="$CFLAGS"
27866 save_LIBS="$LIBS"
27867 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27868 LIBS="$LIBS $wx_cv_libs_gtk"
27869
27870 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27871 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27872 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27873 echo $ECHO_N "(cached) $ECHO_C" >&6
27874 else
27875 cat >conftest.$ac_ext <<_ACEOF
27876 /* confdefs.h. */
27877 _ACEOF
27878 cat confdefs.h >>conftest.$ac_ext
27879 cat >>conftest.$ac_ext <<_ACEOF
27880 /* end confdefs.h. */
27881 #include <gtk/gtk.h>
27882
27883 int
27884 main ()
27885 {
27886 #ifndef gtk_icon_size_lookup
27887 (void) gtk_icon_size_lookup;
27888 #endif
27889
27890 ;
27891 return 0;
27892 }
27893 _ACEOF
27894 rm -f conftest.$ac_objext
27895 if { (ac_try="$ac_compile"
27896 case "(($ac_try" in
27897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27898 *) ac_try_echo=$ac_try;;
27899 esac
27900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27901 (eval "$ac_compile") 2>conftest.er1
27902 ac_status=$?
27903 grep -v '^ *+' conftest.er1 >conftest.err
27904 rm -f conftest.er1
27905 cat conftest.err >&5
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); } && {
27908 test -z "$ac_c_werror_flag" ||
27909 test ! -s conftest.err
27910 } && test -s conftest.$ac_objext; then
27911 ac_cv_have_decl_gtk_icon_size_lookup=yes
27912 else
27913 echo "$as_me: failed program was:" >&5
27914 sed 's/^/| /' conftest.$ac_ext >&5
27915
27916 ac_cv_have_decl_gtk_icon_size_lookup=no
27917 fi
27918
27919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27920 fi
27921 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27922 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27923 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27924
27925 cat >>confdefs.h <<_ACEOF
27926 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27927 _ACEOF
27928
27929
27930 else
27931 cat >>confdefs.h <<_ACEOF
27932 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27933 _ACEOF
27934
27935 cat >>confdefs.h <<\_ACEOF
27936 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27937 _ACEOF
27938
27939 fi
27940
27941
27942
27943
27944 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27945 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27946 cat >conftest.$ac_ext <<_ACEOF
27947 /* confdefs.h. */
27948 _ACEOF
27949 cat confdefs.h >>conftest.$ac_ext
27950 cat >>conftest.$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27952
27953 #include <gtk/gtk.h>
27954
27955 int
27956 main ()
27957 {
27958
27959 #if !GTK_CHECK_VERSION(2,10,0)
27960 Not GTK+ 2.10
27961 #endif
27962
27963 ;
27964 return 0;
27965 }
27966 _ACEOF
27967 rm -f conftest.$ac_objext
27968 if { (ac_try="$ac_compile"
27969 case "(($ac_try" in
27970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27971 *) ac_try_echo=$ac_try;;
27972 esac
27973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27974 (eval "$ac_compile") 2>conftest.er1
27975 ac_status=$?
27976 grep -v '^ *+' conftest.er1 >conftest.err
27977 rm -f conftest.er1
27978 cat conftest.err >&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } && {
27981 test -z "$ac_c_werror_flag" ||
27982 test ! -s conftest.err
27983 } && test -s conftest.$ac_objext; then
27984
27985 cat >>confdefs.h <<\_ACEOF
27986 #define __WXGTK210__ 1
27987 _ACEOF
27988
27989 cat >>confdefs.h <<\_ACEOF
27990 #define __WXGTK26__ 1
27991 _ACEOF
27992
27993 cat >>confdefs.h <<\_ACEOF
27994 #define __WXGTK24__ 1
27995 _ACEOF
27996
27997 { echo "$as_me:$LINENO: result: yes" >&5
27998 echo "${ECHO_T}yes" >&6; }
27999 ac_wxgtk210=1
28000
28001 else
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28004
28005
28006 { echo "$as_me:$LINENO: result: no" >&5
28007 echo "${ECHO_T}no" >&6; }
28008 ac_wxgtk210=0
28009
28010 fi
28011
28012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28013
28014 if test "$ac_wxgtk210" = 0; then
28015 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28016 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28017 cat >conftest.$ac_ext <<_ACEOF
28018 /* confdefs.h. */
28019 _ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28023
28024 #include <gtk/gtk.h>
28025
28026 int
28027 main ()
28028 {
28029
28030 #if !GTK_CHECK_VERSION(2,6,0)
28031 Not GTK+ 2.6
28032 #endif
28033
28034 ;
28035 return 0;
28036 }
28037 _ACEOF
28038 rm -f conftest.$ac_objext
28039 if { (ac_try="$ac_compile"
28040 case "(($ac_try" in
28041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28043 esac
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_compile") 2>conftest.er1
28046 ac_status=$?
28047 grep -v '^ *+' conftest.er1 >conftest.err
28048 rm -f conftest.er1
28049 cat conftest.err >&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } && {
28052 test -z "$ac_c_werror_flag" ||
28053 test ! -s conftest.err
28054 } && test -s conftest.$ac_objext; then
28055
28056 cat >>confdefs.h <<\_ACEOF
28057 #define __WXGTK26__ 1
28058 _ACEOF
28059
28060 cat >>confdefs.h <<\_ACEOF
28061 #define __WXGTK24__ 1
28062 _ACEOF
28063
28064 { echo "$as_me:$LINENO: result: yes" >&5
28065 echo "${ECHO_T}yes" >&6; }
28066 ac_wxgtk26=1
28067
28068 else
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28071
28072
28073 { echo "$as_me:$LINENO: result: no" >&5
28074 echo "${ECHO_T}no" >&6; }
28075 ac_wxgtk26=0
28076
28077 fi
28078
28079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28080 fi
28081
28082 if test "$ac_wxgtk26" = 0; then
28083 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28084 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28085 cat >conftest.$ac_ext <<_ACEOF
28086 /* confdefs.h. */
28087 _ACEOF
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28091
28092 #include <gtk/gtk.h>
28093
28094 int
28095 main ()
28096 {
28097
28098 #if !GTK_CHECK_VERSION(2,4,0)
28099 Not GTK+ 2.4
28100 #endif
28101
28102 ;
28103 return 0;
28104 }
28105 _ACEOF
28106 rm -f conftest.$ac_objext
28107 if { (ac_try="$ac_compile"
28108 case "(($ac_try" in
28109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28110 *) ac_try_echo=$ac_try;;
28111 esac
28112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113 (eval "$ac_compile") 2>conftest.er1
28114 ac_status=$?
28115 grep -v '^ *+' conftest.er1 >conftest.err
28116 rm -f conftest.er1
28117 cat conftest.err >&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } && {
28120 test -z "$ac_c_werror_flag" ||
28121 test ! -s conftest.err
28122 } && test -s conftest.$ac_objext; then
28123
28124 cat >>confdefs.h <<\_ACEOF
28125 #define __WXGTK24__ 1
28126 _ACEOF
28127
28128 { echo "$as_me:$LINENO: result: yes" >&5
28129 echo "${ECHO_T}yes" >&6; }
28130
28131 else
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.$ac_ext >&5
28134
28135
28136 { echo "$as_me:$LINENO: result: no" >&5
28137 echo "${ECHO_T}no" >&6; }
28138
28139 fi
28140
28141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28142 fi
28143
28144 CFLAGS="$save_CFLAGS"
28145 LIBS="$save_LIBS"
28146 else
28147 if test "$wxUSE_UNICODE" = "yes"; then
28148 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28149 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28150 wxUSE_UNICODE=no
28151 fi
28152
28153 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28154 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28155 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28157 else
28158 ac_check_lib_save_LIBS=$LIBS
28159 LIBS="-lgdk $LIBS"
28160 cat >conftest.$ac_ext <<_ACEOF
28161 /* confdefs.h. */
28162 _ACEOF
28163 cat confdefs.h >>conftest.$ac_ext
28164 cat >>conftest.$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28166
28167 /* Override any GCC internal prototype to avoid an error.
28168 Use char because int might match the return type of a GCC
28169 builtin and then its argument prototype would still apply. */
28170 #ifdef __cplusplus
28171 extern "C"
28172 #endif
28173 char gdk_im_open ();
28174 int
28175 main ()
28176 {
28177 return gdk_im_open ();
28178 ;
28179 return 0;
28180 }
28181 _ACEOF
28182 rm -f conftest.$ac_objext conftest$ac_exeext
28183 if { (ac_try="$ac_link"
28184 case "(($ac_try" in
28185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28186 *) ac_try_echo=$ac_try;;
28187 esac
28188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28189 (eval "$ac_link") 2>conftest.er1
28190 ac_status=$?
28191 grep -v '^ *+' conftest.er1 >conftest.err
28192 rm -f conftest.er1
28193 cat conftest.err >&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } && {
28196 test -z "$ac_c_werror_flag" ||
28197 test ! -s conftest.err
28198 } && test -s conftest$ac_exeext &&
28199 $as_test_x conftest$ac_exeext; then
28200 ac_cv_lib_gdk_gdk_im_open=yes
28201 else
28202 echo "$as_me: failed program was:" >&5
28203 sed 's/^/| /' conftest.$ac_ext >&5
28204
28205 ac_cv_lib_gdk_gdk_im_open=no
28206 fi
28207
28208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28209 conftest$ac_exeext conftest.$ac_ext
28210 LIBS=$ac_check_lib_save_LIBS
28211 fi
28212 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28213 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28214 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28215 cat >>confdefs.h <<\_ACEOF
28216 #define HAVE_XIM 1
28217 _ACEOF
28218
28219 fi
28220
28221
28222 if test "$USE_DARWIN" != 1; then
28223
28224 for ac_func in poll
28225 do
28226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28230 echo $ECHO_N "(cached) $ECHO_C" >&6
28231 else
28232 cat >conftest.$ac_ext <<_ACEOF
28233 /* confdefs.h. */
28234 _ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h. */
28238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28240 #define $ac_func innocuous_$ac_func
28241
28242 /* System header to define __stub macros and hopefully few prototypes,
28243 which can conflict with char $ac_func (); below.
28244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28245 <limits.h> exists even on freestanding compilers. */
28246
28247 #ifdef __STDC__
28248 # include <limits.h>
28249 #else
28250 # include <assert.h>
28251 #endif
28252
28253 #undef $ac_func
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 $ac_func ();
28262 /* The GNU C library defines this for functions which it implements
28263 to always fail with ENOSYS. Some functions are actually named
28264 something starting with __ and the normal name is an alias. */
28265 #if defined __stub_$ac_func || defined __stub___$ac_func
28266 choke me
28267 #endif
28268
28269 int
28270 main ()
28271 {
28272 return $ac_func ();
28273 ;
28274 return 0;
28275 }
28276 _ACEOF
28277 rm -f conftest.$ac_objext conftest$ac_exeext
28278 if { (ac_try="$ac_link"
28279 case "(($ac_try" in
28280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28281 *) ac_try_echo=$ac_try;;
28282 esac
28283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28284 (eval "$ac_link") 2>conftest.er1
28285 ac_status=$?
28286 grep -v '^ *+' conftest.er1 >conftest.err
28287 rm -f conftest.er1
28288 cat conftest.err >&5
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); } && {
28291 test -z "$ac_c_werror_flag" ||
28292 test ! -s conftest.err
28293 } && test -s conftest$ac_exeext &&
28294 $as_test_x conftest$ac_exeext; then
28295 eval "$as_ac_var=yes"
28296 else
28297 echo "$as_me: failed program was:" >&5
28298 sed 's/^/| /' conftest.$ac_ext >&5
28299
28300 eval "$as_ac_var=no"
28301 fi
28302
28303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28304 conftest$ac_exeext conftest.$ac_ext
28305 fi
28306 ac_res=`eval echo '${'$as_ac_var'}'`
28307 { echo "$as_me:$LINENO: result: $ac_res" >&5
28308 echo "${ECHO_T}$ac_res" >&6; }
28309 if test `eval echo '${'$as_ac_var'}'` = yes; then
28310 cat >>confdefs.h <<_ACEOF
28311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28312 _ACEOF
28313
28314 fi
28315 done
28316
28317 fi
28318 fi
28319
28320 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28321 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28322
28323 AFMINSTALL=afminstall
28324 TOOLKIT=GTK
28325 GUIDIST=GTK_DIST
28326
28327 if test "$wxUSE_GPE" = "yes"; then
28328 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28329 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28330
28331 ac_find_libraries=
28332 for ac_dir in $SEARCH_LIB;
28333 do
28334 for ac_extension in a so sl dylib dll.a; do
28335 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28336 ac_find_libraries=$ac_dir
28337 break 2
28338 fi
28339 done
28340 done
28341
28342 if test "$ac_find_libraries" != "" ; then
28343
28344 if test "$ac_find_libraries" = "default location"; then
28345 ac_path_to_link=""
28346 else
28347 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28348 result=$?
28349 if test $result = 0; then
28350 ac_path_to_link=""
28351 else
28352 ac_path_to_link=" -L$ac_find_libraries"
28353 fi
28354 fi
28355
28356 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28357 WXGPE=1
28358 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28359 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28360 else
28361 { echo "$as_me:$LINENO: result: not found" >&5
28362 echo "${ECHO_T}not found" >&6; }
28363 fi
28364
28365 fi
28366 fi
28367
28368 if test "$wxUSE_MGL" = 1; then
28369 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28370 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28371 if test "x$MGL_ROOT" = x ; then
28372 { echo "$as_me:$LINENO: result: not found" >&5
28373 echo "${ECHO_T}not found" >&6; }
28374 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28375 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28376 { (exit 1); exit 1; }; }
28377 else
28378 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28379 echo "${ECHO_T}$MGL_ROOT" >&6; }
28380 fi
28381
28382 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28383 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28384 case "${host}" in
28385 *-*-linux* )
28386 if test "x$wxUSE_SHARED" = xyes ; then
28387 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28388 else
28389 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28390 fi
28391 ;;
28392 *-pc-msdosdjgpp )
28393 mgl_os_candidates="dos32/dj2"
28394 ;;
28395 *)
28396 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28397 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28398 { (exit 1); exit 1; }; }
28399 esac
28400
28401 mgl_lib_type=""
28402 mgl_os=""
28403
28404 for mgl_os_i in $mgl_os_candidates ; do
28405 if test "x$mgl_os" = x ; then
28406 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28407 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28408 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28409 mgl_lib_type=debug
28410 mgl_os=$mgl_os_i
28411 fi
28412 fi
28413 if test "x$mgl_lib_type" = x ; then
28414 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28415 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28416 mgl_lib_type=release
28417 mgl_os=$mgl_os_i
28418 fi
28419 fi
28420 fi
28421 done
28422
28423 if test "x$mgl_os" = x ; then
28424 { echo "$as_me:$LINENO: result: not found" >&5
28425 echo "${ECHO_T}not found" >&6; }
28426 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28427 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28428 { (exit 1); exit 1; }; }
28429 fi
28430 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28431 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28432
28433 wxUSE_UNIVERSAL="yes"
28434
28435 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28436 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28437
28438 AFMINSTALL=afminstall
28439 TOOLKIT=MGL
28440 GUIDIST=MGL_DIST
28441 fi
28442
28443 if test "$wxUSE_DFB" = 1; then
28444
28445
28446 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28447 if test -n "$ac_tool_prefix"; then
28448 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28449 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28452 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28453 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 else
28455 case $PKG_CONFIG in
28456 [\\/]* | ?:[\\/]*)
28457 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28458 ;;
28459 *)
28460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28461 for as_dir in $PATH
28462 do
28463 IFS=$as_save_IFS
28464 test -z "$as_dir" && as_dir=.
28465 for ac_exec_ext in '' $ac_executable_extensions; do
28466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28467 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28469 break 2
28470 fi
28471 done
28472 done
28473 IFS=$as_save_IFS
28474
28475 ;;
28476 esac
28477 fi
28478 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28479 if test -n "$PKG_CONFIG"; then
28480 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28481 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28482 else
28483 { echo "$as_me:$LINENO: result: no" >&5
28484 echo "${ECHO_T}no" >&6; }
28485 fi
28486
28487
28488 fi
28489 if test -z "$ac_cv_path_PKG_CONFIG"; then
28490 ac_pt_PKG_CONFIG=$PKG_CONFIG
28491 # Extract the first word of "pkg-config", so it can be a program name with args.
28492 set dummy pkg-config; ac_word=$2
28493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28495 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28496 echo $ECHO_N "(cached) $ECHO_C" >&6
28497 else
28498 case $ac_pt_PKG_CONFIG in
28499 [\\/]* | ?:[\\/]*)
28500 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28501 ;;
28502 *)
28503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28504 for as_dir in $PATH
28505 do
28506 IFS=$as_save_IFS
28507 test -z "$as_dir" && as_dir=.
28508 for ac_exec_ext in '' $ac_executable_extensions; do
28509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28510 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28512 break 2
28513 fi
28514 done
28515 done
28516 IFS=$as_save_IFS
28517
28518 ;;
28519 esac
28520 fi
28521 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28522 if test -n "$ac_pt_PKG_CONFIG"; then
28523 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28524 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28525 else
28526 { echo "$as_me:$LINENO: result: no" >&5
28527 echo "${ECHO_T}no" >&6; }
28528 fi
28529
28530 if test "x$ac_pt_PKG_CONFIG" = x; then
28531 PKG_CONFIG=""
28532 else
28533 case $cross_compiling:$ac_tool_warned in
28534 yes:)
28535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28536 whose name does not start with the host triplet. If you think this
28537 configuration is useful to you, please write to autoconf@gnu.org." >&5
28538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28539 whose name does not start with the host triplet. If you think this
28540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28541 ac_tool_warned=yes ;;
28542 esac
28543 PKG_CONFIG=$ac_pt_PKG_CONFIG
28544 fi
28545 else
28546 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28547 fi
28548
28549 fi
28550 if test -n "$PKG_CONFIG"; then
28551 _pkg_min_version=0.9.0
28552 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28553 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28554 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28555 { echo "$as_me:$LINENO: result: yes" >&5
28556 echo "${ECHO_T}yes" >&6; }
28557 else
28558 { echo "$as_me:$LINENO: result: no" >&5
28559 echo "${ECHO_T}no" >&6; }
28560 PKG_CONFIG=""
28561 fi
28562
28563 fi
28564
28565
28566 pkg_failed=no
28567 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28568 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28569
28570 if test -n "$PKG_CONFIG"; then
28571 if test -n "$DIRECTFB_CFLAGS"; then
28572 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28573 else
28574 if test -n "$PKG_CONFIG" && \
28575 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28576 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28577 ac_status=$?
28578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579 (exit $ac_status); }; then
28580 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28581 else
28582 pkg_failed=yes
28583 fi
28584 fi
28585 else
28586 pkg_failed=untried
28587 fi
28588 if test -n "$PKG_CONFIG"; then
28589 if test -n "$DIRECTFB_LIBS"; then
28590 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28591 else
28592 if test -n "$PKG_CONFIG" && \
28593 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28594 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28595 ac_status=$?
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; then
28598 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28599 else
28600 pkg_failed=yes
28601 fi
28602 fi
28603 else
28604 pkg_failed=untried
28605 fi
28606
28607
28608
28609 if test $pkg_failed = yes; then
28610
28611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28612 _pkg_short_errors_supported=yes
28613 else
28614 _pkg_short_errors_supported=no
28615 fi
28616 if test $_pkg_short_errors_supported = yes; then
28617 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28618 else
28619 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28620 fi
28621 # Put the nasty error message in config.log where it belongs
28622 echo "$DIRECTFB_PKG_ERRORS" >&5
28623
28624
28625 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28626 echo "$as_me: error: DirectFB not found." >&2;}
28627 { (exit 1); exit 1; }; }
28628
28629
28630 elif test $pkg_failed = untried; then
28631
28632 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28633 echo "$as_me: error: DirectFB not found." >&2;}
28634 { (exit 1); exit 1; }; }
28635
28636
28637 else
28638 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28639 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28640 { echo "$as_me:$LINENO: result: yes" >&5
28641 echo "${ECHO_T}yes" >&6; }
28642
28643 wxUSE_UNIVERSAL="yes"
28644 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28645 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28646 TOOLKIT=DFB
28647 GUIDIST=DFB_DIST
28648
28649 fi
28650 fi
28651
28652 if test "$wxUSE_MICROWIN" = 1; then
28653 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28654 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28655 if test "x$MICROWINDOWS" = x ; then
28656 { echo "$as_me:$LINENO: result: not found" >&5
28657 echo "${ECHO_T}not found" >&6; }
28658 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28659 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28660 { (exit 1); exit 1; }; }
28661 else
28662 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28663 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28664 fi
28665
28666 if test -f $MICROWINDOWS/lib/libmwin.a; then
28667 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28668 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28669 else
28670 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28671 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28672 { (exit 1); exit 1; }; }
28673 fi
28674
28675 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28676 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28677
28678 wxUSE_UNIVERSAL="yes"
28679
28680 AFMINSTALL=afminstall
28681 TOOLKIT=MICROWIN
28682 GUIDIST=MICROWIN_DIST
28683
28684 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28685 fi
28686
28687 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28688 { echo "$as_me:$LINENO: checking for X" >&5
28689 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28690
28691
28692 # Check whether --with-x was given.
28693 if test "${with_x+set}" = set; then
28694 withval=$with_x;
28695 fi
28696
28697 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28698 if test "x$with_x" = xno; then
28699 # The user explicitly disabled X.
28700 have_x=disabled
28701 else
28702 case $x_includes,$x_libraries in #(
28703 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28704 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28705 { (exit 1); exit 1; }; };; #(
28706 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28707 echo $ECHO_N "(cached) $ECHO_C" >&6
28708 else
28709 # One or both of the vars are not set, and there is no cached value.
28710 ac_x_includes=no ac_x_libraries=no
28711 rm -f -r conftest.dir
28712 if mkdir conftest.dir; then
28713 cd conftest.dir
28714 cat >Imakefile <<'_ACEOF'
28715 incroot:
28716 @echo incroot='${INCROOT}'
28717 usrlibdir:
28718 @echo usrlibdir='${USRLIBDIR}'
28719 libdir:
28720 @echo libdir='${LIBDIR}'
28721 _ACEOF
28722 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28724 for ac_var in incroot usrlibdir libdir; do
28725 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28726 done
28727 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28728 for ac_extension in a so sl; do
28729 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28730 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28731 ac_im_usrlibdir=$ac_im_libdir; break
28732 fi
28733 done
28734 # Screen out bogus values from the imake configuration. They are
28735 # bogus both because they are the default anyway, and because
28736 # using them would break gcc on systems where it needs fixed includes.
28737 case $ac_im_incroot in
28738 /usr/include) ac_x_includes= ;;
28739 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28740 esac
28741 case $ac_im_usrlibdir in
28742 /usr/lib | /lib) ;;
28743 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28744 esac
28745 fi
28746 cd ..
28747 rm -f -r conftest.dir
28748 fi
28749
28750 # Standard set of common directories for X headers.
28751 # Check X11 before X11Rn because it is often a symlink to the current release.
28752 ac_x_header_dirs='
28753 /usr/X11/include
28754 /usr/X11R6/include
28755 /usr/X11R5/include
28756 /usr/X11R4/include
28757
28758 /usr/include/X11
28759 /usr/include/X11R6
28760 /usr/include/X11R5
28761 /usr/include/X11R4
28762
28763 /usr/local/X11/include
28764 /usr/local/X11R6/include
28765 /usr/local/X11R5/include
28766 /usr/local/X11R4/include
28767
28768 /usr/local/include/X11
28769 /usr/local/include/X11R6
28770 /usr/local/include/X11R5
28771 /usr/local/include/X11R4
28772
28773 /usr/X386/include
28774 /usr/x386/include
28775 /usr/XFree86/include/X11
28776
28777 /usr/include
28778 /usr/local/include
28779 /usr/unsupported/include
28780 /usr/athena/include
28781 /usr/local/x11r5/include
28782 /usr/lpp/Xamples/include
28783
28784 /usr/openwin/include
28785 /usr/openwin/share/include'
28786
28787 if test "$ac_x_includes" = no; then
28788 # Guess where to find include files, by looking for Xlib.h.
28789 # First, try using that file with no special directory specified.
28790 cat >conftest.$ac_ext <<_ACEOF
28791 /* confdefs.h. */
28792 _ACEOF
28793 cat confdefs.h >>conftest.$ac_ext
28794 cat >>conftest.$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28796 #include <X11/Xlib.h>
28797 _ACEOF
28798 if { (ac_try="$ac_cpp conftest.$ac_ext"
28799 case "(($ac_try" in
28800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28801 *) ac_try_echo=$ac_try;;
28802 esac
28803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28805 ac_status=$?
28806 grep -v '^ *+' conftest.er1 >conftest.err
28807 rm -f conftest.er1
28808 cat conftest.err >&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); } >/dev/null && {
28811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28812 test ! -s conftest.err
28813 }; then
28814 # We can compile using X headers with no special include directory.
28815 ac_x_includes=
28816 else
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.$ac_ext >&5
28819
28820 for ac_dir in $ac_x_header_dirs; do
28821 if test -r "$ac_dir/X11/Xlib.h"; then
28822 ac_x_includes=$ac_dir
28823 break
28824 fi
28825 done
28826 fi
28827
28828 rm -f conftest.err conftest.$ac_ext
28829 fi # $ac_x_includes = no
28830
28831 if test "$ac_x_libraries" = no; then
28832 # Check for the libraries.
28833 # See if we find them without any special options.
28834 # Don't add to $LIBS permanently.
28835 ac_save_LIBS=$LIBS
28836 LIBS="-lX11 $LIBS"
28837 cat >conftest.$ac_ext <<_ACEOF
28838 /* confdefs.h. */
28839 _ACEOF
28840 cat confdefs.h >>conftest.$ac_ext
28841 cat >>conftest.$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843 #include <X11/Xlib.h>
28844 int
28845 main ()
28846 {
28847 XrmInitialize ()
28848 ;
28849 return 0;
28850 }
28851 _ACEOF
28852 rm -f conftest.$ac_objext conftest$ac_exeext
28853 if { (ac_try="$ac_link"
28854 case "(($ac_try" in
28855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28856 *) ac_try_echo=$ac_try;;
28857 esac
28858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28859 (eval "$ac_link") 2>conftest.er1
28860 ac_status=$?
28861 grep -v '^ *+' conftest.er1 >conftest.err
28862 rm -f conftest.er1
28863 cat conftest.err >&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); } && {
28866 test -z "$ac_c_werror_flag" ||
28867 test ! -s conftest.err
28868 } && test -s conftest$ac_exeext &&
28869 $as_test_x conftest$ac_exeext; then
28870 LIBS=$ac_save_LIBS
28871 # We can link X programs with no special library path.
28872 ac_x_libraries=
28873 else
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28876
28877 LIBS=$ac_save_LIBS
28878 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28879 do
28880 # Don't even attempt the hair of trying to link an X program!
28881 for ac_extension in a so sl; do
28882 if test -r "$ac_dir/libX11.$ac_extension"; then
28883 ac_x_libraries=$ac_dir
28884 break 2
28885 fi
28886 done
28887 done
28888 fi
28889
28890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28891 conftest$ac_exeext conftest.$ac_ext
28892 fi # $ac_x_libraries = no
28893
28894 case $ac_x_includes,$ac_x_libraries in #(
28895 no,* | *,no | *\'*)
28896 # Didn't find X, or a directory has "'" in its name.
28897 ac_cv_have_x="have_x=no";; #(
28898 *)
28899 # Record where we found X for the cache.
28900 ac_cv_have_x="have_x=yes\
28901 ac_x_includes='$ac_x_includes'\
28902 ac_x_libraries='$ac_x_libraries'"
28903 esac
28904 fi
28905 ;; #(
28906 *) have_x=yes;;
28907 esac
28908 eval "$ac_cv_have_x"
28909 fi # $with_x != no
28910
28911 if test "$have_x" != yes; then
28912 { echo "$as_me:$LINENO: result: $have_x" >&5
28913 echo "${ECHO_T}$have_x" >&6; }
28914 no_x=yes
28915 else
28916 # If each of the values was on the command line, it overrides each guess.
28917 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28918 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28919 # Update the cache value to reflect the command line values.
28920 ac_cv_have_x="have_x=yes\
28921 ac_x_includes='$x_includes'\
28922 ac_x_libraries='$x_libraries'"
28923 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28924 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28925 fi
28926
28927 if test "$no_x" = yes; then
28928 # Not all programs may use this symbol, but it does not hurt to define it.
28929
28930 cat >>confdefs.h <<\_ACEOF
28931 #define X_DISPLAY_MISSING 1
28932 _ACEOF
28933
28934 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28935 else
28936 if test -n "$x_includes"; then
28937 X_CFLAGS="$X_CFLAGS -I$x_includes"
28938 fi
28939
28940 # It would also be nice to do this for all -L options, not just this one.
28941 if test -n "$x_libraries"; then
28942 X_LIBS="$X_LIBS -L$x_libraries"
28943 # For Solaris; some versions of Sun CC require a space after -R and
28944 # others require no space. Words are not sufficient . . . .
28945 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28946 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28947 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28948 ac_xsave_c_werror_flag=$ac_c_werror_flag
28949 ac_c_werror_flag=yes
28950 cat >conftest.$ac_ext <<_ACEOF
28951 /* confdefs.h. */
28952 _ACEOF
28953 cat confdefs.h >>conftest.$ac_ext
28954 cat >>conftest.$ac_ext <<_ACEOF
28955 /* end confdefs.h. */
28956
28957 int
28958 main ()
28959 {
28960
28961 ;
28962 return 0;
28963 }
28964 _ACEOF
28965 rm -f conftest.$ac_objext conftest$ac_exeext
28966 if { (ac_try="$ac_link"
28967 case "(($ac_try" in
28968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28969 *) ac_try_echo=$ac_try;;
28970 esac
28971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28972 (eval "$ac_link") 2>conftest.er1
28973 ac_status=$?
28974 grep -v '^ *+' conftest.er1 >conftest.err
28975 rm -f conftest.er1
28976 cat conftest.err >&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); } && {
28979 test -z "$ac_c_werror_flag" ||
28980 test ! -s conftest.err
28981 } && test -s conftest$ac_exeext &&
28982 $as_test_x conftest$ac_exeext; then
28983 { echo "$as_me:$LINENO: result: no" >&5
28984 echo "${ECHO_T}no" >&6; }
28985 X_LIBS="$X_LIBS -R$x_libraries"
28986 else
28987 echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.$ac_ext >&5
28989
28990 LIBS="$ac_xsave_LIBS -R $x_libraries"
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997
28998 int
28999 main ()
29000 {
29001
29002 ;
29003 return 0;
29004 }
29005 _ACEOF
29006 rm -f conftest.$ac_objext conftest$ac_exeext
29007 if { (ac_try="$ac_link"
29008 case "(($ac_try" in
29009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29010 *) ac_try_echo=$ac_try;;
29011 esac
29012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29013 (eval "$ac_link") 2>conftest.er1
29014 ac_status=$?
29015 grep -v '^ *+' conftest.er1 >conftest.err
29016 rm -f conftest.er1
29017 cat conftest.err >&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } && {
29020 test -z "$ac_c_werror_flag" ||
29021 test ! -s conftest.err
29022 } && test -s conftest$ac_exeext &&
29023 $as_test_x conftest$ac_exeext; then
29024 { echo "$as_me:$LINENO: result: yes" >&5
29025 echo "${ECHO_T}yes" >&6; }
29026 X_LIBS="$X_LIBS -R $x_libraries"
29027 else
29028 echo "$as_me: failed program was:" >&5
29029 sed 's/^/| /' conftest.$ac_ext >&5
29030
29031 { echo "$as_me:$LINENO: result: neither works" >&5
29032 echo "${ECHO_T}neither works" >&6; }
29033 fi
29034
29035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29036 conftest$ac_exeext conftest.$ac_ext
29037 fi
29038
29039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29040 conftest$ac_exeext conftest.$ac_ext
29041 ac_c_werror_flag=$ac_xsave_c_werror_flag
29042 LIBS=$ac_xsave_LIBS
29043 fi
29044
29045 # Check for system-dependent libraries X programs must link with.
29046 # Do this before checking for the system-independent R6 libraries
29047 # (-lICE), since we may need -lsocket or whatever for X linking.
29048
29049 if test "$ISC" = yes; then
29050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29051 else
29052 # Martyn Johnson says this is needed for Ultrix, if the X
29053 # libraries were built with DECnet support. And Karl Berry says
29054 # the Alpha needs dnet_stub (dnet does not exist).
29055 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29056 cat >conftest.$ac_ext <<_ACEOF
29057 /* confdefs.h. */
29058 _ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062
29063 /* Override any GCC internal prototype to avoid an error.
29064 Use char because int might match the return type of a GCC
29065 builtin and then its argument prototype would still apply. */
29066 #ifdef __cplusplus
29067 extern "C"
29068 #endif
29069 char XOpenDisplay ();
29070 int
29071 main ()
29072 {
29073 return XOpenDisplay ();
29074 ;
29075 return 0;
29076 }
29077 _ACEOF
29078 rm -f conftest.$ac_objext conftest$ac_exeext
29079 if { (ac_try="$ac_link"
29080 case "(($ac_try" in
29081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29082 *) ac_try_echo=$ac_try;;
29083 esac
29084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29085 (eval "$ac_link") 2>conftest.er1
29086 ac_status=$?
29087 grep -v '^ *+' conftest.er1 >conftest.err
29088 rm -f conftest.er1
29089 cat conftest.err >&5
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); } && {
29092 test -z "$ac_c_werror_flag" ||
29093 test ! -s conftest.err
29094 } && test -s conftest$ac_exeext &&
29095 $as_test_x conftest$ac_exeext; then
29096 :
29097 else
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29100
29101 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29102 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29103 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29104 echo $ECHO_N "(cached) $ECHO_C" >&6
29105 else
29106 ac_check_lib_save_LIBS=$LIBS
29107 LIBS="-ldnet $LIBS"
29108 cat >conftest.$ac_ext <<_ACEOF
29109 /* confdefs.h. */
29110 _ACEOF
29111 cat confdefs.h >>conftest.$ac_ext
29112 cat >>conftest.$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29114
29115 /* Override any GCC internal prototype to avoid an error.
29116 Use char because int might match the return type of a GCC
29117 builtin and then its argument prototype would still apply. */
29118 #ifdef __cplusplus
29119 extern "C"
29120 #endif
29121 char dnet_ntoa ();
29122 int
29123 main ()
29124 {
29125 return dnet_ntoa ();
29126 ;
29127 return 0;
29128 }
29129 _ACEOF
29130 rm -f conftest.$ac_objext conftest$ac_exeext
29131 if { (ac_try="$ac_link"
29132 case "(($ac_try" in
29133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29134 *) ac_try_echo=$ac_try;;
29135 esac
29136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29137 (eval "$ac_link") 2>conftest.er1
29138 ac_status=$?
29139 grep -v '^ *+' conftest.er1 >conftest.err
29140 rm -f conftest.er1
29141 cat conftest.err >&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } && {
29144 test -z "$ac_c_werror_flag" ||
29145 test ! -s conftest.err
29146 } && test -s conftest$ac_exeext &&
29147 $as_test_x conftest$ac_exeext; then
29148 ac_cv_lib_dnet_dnet_ntoa=yes
29149 else
29150 echo "$as_me: failed program was:" >&5
29151 sed 's/^/| /' conftest.$ac_ext >&5
29152
29153 ac_cv_lib_dnet_dnet_ntoa=no
29154 fi
29155
29156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29157 conftest$ac_exeext conftest.$ac_ext
29158 LIBS=$ac_check_lib_save_LIBS
29159 fi
29160 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29161 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29162 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29164 fi
29165
29166 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29167 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29168 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29169 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29170 echo $ECHO_N "(cached) $ECHO_C" >&6
29171 else
29172 ac_check_lib_save_LIBS=$LIBS
29173 LIBS="-ldnet_stub $LIBS"
29174 cat >conftest.$ac_ext <<_ACEOF
29175 /* confdefs.h. */
29176 _ACEOF
29177 cat confdefs.h >>conftest.$ac_ext
29178 cat >>conftest.$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29180
29181 /* Override any GCC internal prototype to avoid an error.
29182 Use char because int might match the return type of a GCC
29183 builtin and then its argument prototype would still apply. */
29184 #ifdef __cplusplus
29185 extern "C"
29186 #endif
29187 char dnet_ntoa ();
29188 int
29189 main ()
29190 {
29191 return dnet_ntoa ();
29192 ;
29193 return 0;
29194 }
29195 _ACEOF
29196 rm -f conftest.$ac_objext conftest$ac_exeext
29197 if { (ac_try="$ac_link"
29198 case "(($ac_try" in
29199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29200 *) ac_try_echo=$ac_try;;
29201 esac
29202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29203 (eval "$ac_link") 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } && {
29210 test -z "$ac_c_werror_flag" ||
29211 test ! -s conftest.err
29212 } && test -s conftest$ac_exeext &&
29213 $as_test_x conftest$ac_exeext; then
29214 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29215 else
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.$ac_ext >&5
29218
29219 ac_cv_lib_dnet_stub_dnet_ntoa=no
29220 fi
29221
29222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29223 conftest$ac_exeext conftest.$ac_ext
29224 LIBS=$ac_check_lib_save_LIBS
29225 fi
29226 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29227 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29228 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29229 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29230 fi
29231
29232 fi
29233 fi
29234
29235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29236 conftest$ac_exeext conftest.$ac_ext
29237 LIBS="$ac_xsave_LIBS"
29238
29239 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29240 # to get the SysV transport functions.
29241 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29242 # needs -lnsl.
29243 # The nsl library prevents programs from opening the X display
29244 # on Irix 5.2, according to T.E. Dickey.
29245 # The functions gethostbyname, getservbyname, and inet_addr are
29246 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29247 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29248 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29249 if test "${ac_cv_func_gethostbyname+set}" = set; then
29250 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 else
29252 cat >conftest.$ac_ext <<_ACEOF
29253 /* confdefs.h. */
29254 _ACEOF
29255 cat confdefs.h >>conftest.$ac_ext
29256 cat >>conftest.$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29258 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29260 #define gethostbyname innocuous_gethostbyname
29261
29262 /* System header to define __stub macros and hopefully few prototypes,
29263 which can conflict with char gethostbyname (); below.
29264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29265 <limits.h> exists even on freestanding compilers. */
29266
29267 #ifdef __STDC__
29268 # include <limits.h>
29269 #else
29270 # include <assert.h>
29271 #endif
29272
29273 #undef gethostbyname
29274
29275 /* Override any GCC internal prototype to avoid an error.
29276 Use char because int might match the return type of a GCC
29277 builtin and then its argument prototype would still apply. */
29278 #ifdef __cplusplus
29279 extern "C"
29280 #endif
29281 char gethostbyname ();
29282 /* The GNU C library defines this for functions which it implements
29283 to always fail with ENOSYS. Some functions are actually named
29284 something starting with __ and the normal name is an alias. */
29285 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29286 choke me
29287 #endif
29288
29289 int
29290 main ()
29291 {
29292 return gethostbyname ();
29293 ;
29294 return 0;
29295 }
29296 _ACEOF
29297 rm -f conftest.$ac_objext conftest$ac_exeext
29298 if { (ac_try="$ac_link"
29299 case "(($ac_try" in
29300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29301 *) ac_try_echo=$ac_try;;
29302 esac
29303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29304 (eval "$ac_link") 2>conftest.er1
29305 ac_status=$?
29306 grep -v '^ *+' conftest.er1 >conftest.err
29307 rm -f conftest.er1
29308 cat conftest.err >&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } && {
29311 test -z "$ac_c_werror_flag" ||
29312 test ! -s conftest.err
29313 } && test -s conftest$ac_exeext &&
29314 $as_test_x conftest$ac_exeext; then
29315 ac_cv_func_gethostbyname=yes
29316 else
29317 echo "$as_me: failed program was:" >&5
29318 sed 's/^/| /' conftest.$ac_ext >&5
29319
29320 ac_cv_func_gethostbyname=no
29321 fi
29322
29323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29324 conftest$ac_exeext conftest.$ac_ext
29325 fi
29326 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29327 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29328
29329 if test $ac_cv_func_gethostbyname = no; then
29330 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29331 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29332 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29333 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 else
29335 ac_check_lib_save_LIBS=$LIBS
29336 LIBS="-lnsl $LIBS"
29337 cat >conftest.$ac_ext <<_ACEOF
29338 /* confdefs.h. */
29339 _ACEOF
29340 cat confdefs.h >>conftest.$ac_ext
29341 cat >>conftest.$ac_ext <<_ACEOF
29342 /* end confdefs.h. */
29343
29344 /* Override any GCC internal prototype to avoid an error.
29345 Use char because int might match the return type of a GCC
29346 builtin and then its argument prototype would still apply. */
29347 #ifdef __cplusplus
29348 extern "C"
29349 #endif
29350 char gethostbyname ();
29351 int
29352 main ()
29353 {
29354 return gethostbyname ();
29355 ;
29356 return 0;
29357 }
29358 _ACEOF
29359 rm -f conftest.$ac_objext conftest$ac_exeext
29360 if { (ac_try="$ac_link"
29361 case "(($ac_try" in
29362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29363 *) ac_try_echo=$ac_try;;
29364 esac
29365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29366 (eval "$ac_link") 2>conftest.er1
29367 ac_status=$?
29368 grep -v '^ *+' conftest.er1 >conftest.err
29369 rm -f conftest.er1
29370 cat conftest.err >&5
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); } && {
29373 test -z "$ac_c_werror_flag" ||
29374 test ! -s conftest.err
29375 } && test -s conftest$ac_exeext &&
29376 $as_test_x conftest$ac_exeext; then
29377 ac_cv_lib_nsl_gethostbyname=yes
29378 else
29379 echo "$as_me: failed program was:" >&5
29380 sed 's/^/| /' conftest.$ac_ext >&5
29381
29382 ac_cv_lib_nsl_gethostbyname=no
29383 fi
29384
29385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29386 conftest$ac_exeext conftest.$ac_ext
29387 LIBS=$ac_check_lib_save_LIBS
29388 fi
29389 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29390 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29391 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29393 fi
29394
29395 if test $ac_cv_lib_nsl_gethostbyname = no; then
29396 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29397 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29398 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29399 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 else
29401 ac_check_lib_save_LIBS=$LIBS
29402 LIBS="-lbsd $LIBS"
29403 cat >conftest.$ac_ext <<_ACEOF
29404 /* confdefs.h. */
29405 _ACEOF
29406 cat confdefs.h >>conftest.$ac_ext
29407 cat >>conftest.$ac_ext <<_ACEOF
29408 /* end confdefs.h. */
29409
29410 /* Override any GCC internal prototype to avoid an error.
29411 Use char because int might match the return type of a GCC
29412 builtin and then its argument prototype would still apply. */
29413 #ifdef __cplusplus
29414 extern "C"
29415 #endif
29416 char gethostbyname ();
29417 int
29418 main ()
29419 {
29420 return gethostbyname ();
29421 ;
29422 return 0;
29423 }
29424 _ACEOF
29425 rm -f conftest.$ac_objext conftest$ac_exeext
29426 if { (ac_try="$ac_link"
29427 case "(($ac_try" in
29428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29429 *) ac_try_echo=$ac_try;;
29430 esac
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_link") 2>conftest.er1
29433 ac_status=$?
29434 grep -v '^ *+' conftest.er1 >conftest.err
29435 rm -f conftest.er1
29436 cat conftest.err >&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); } && {
29439 test -z "$ac_c_werror_flag" ||
29440 test ! -s conftest.err
29441 } && test -s conftest$ac_exeext &&
29442 $as_test_x conftest$ac_exeext; then
29443 ac_cv_lib_bsd_gethostbyname=yes
29444 else
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29447
29448 ac_cv_lib_bsd_gethostbyname=no
29449 fi
29450
29451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29452 conftest$ac_exeext conftest.$ac_ext
29453 LIBS=$ac_check_lib_save_LIBS
29454 fi
29455 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29456 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29457 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29459 fi
29460
29461 fi
29462 fi
29463
29464 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29465 # socket/setsockopt and other routines are undefined under SCO ODT
29466 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29467 # on later versions), says Simon Leinen: it contains gethostby*
29468 # variants that don't use the name server (or something). -lsocket
29469 # must be given before -lnsl if both are needed. We assume that
29470 # if connect needs -lnsl, so does gethostbyname.
29471 { echo "$as_me:$LINENO: checking for connect" >&5
29472 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29473 if test "${ac_cv_func_connect+set}" = set; then
29474 echo $ECHO_N "(cached) $ECHO_C" >&6
29475 else
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29484 #define connect innocuous_connect
29485
29486 /* System header to define __stub macros and hopefully few prototypes,
29487 which can conflict with char connect (); below.
29488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29489 <limits.h> exists even on freestanding compilers. */
29490
29491 #ifdef __STDC__
29492 # include <limits.h>
29493 #else
29494 # include <assert.h>
29495 #endif
29496
29497 #undef connect
29498
29499 /* Override any GCC internal prototype to avoid an error.
29500 Use char because int might match the return type of a GCC
29501 builtin and then its argument prototype would still apply. */
29502 #ifdef __cplusplus
29503 extern "C"
29504 #endif
29505 char connect ();
29506 /* The GNU C library defines this for functions which it implements
29507 to always fail with ENOSYS. Some functions are actually named
29508 something starting with __ and the normal name is an alias. */
29509 #if defined __stub_connect || defined __stub___connect
29510 choke me
29511 #endif
29512
29513 int
29514 main ()
29515 {
29516 return connect ();
29517 ;
29518 return 0;
29519 }
29520 _ACEOF
29521 rm -f conftest.$ac_objext conftest$ac_exeext
29522 if { (ac_try="$ac_link"
29523 case "(($ac_try" in
29524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29525 *) ac_try_echo=$ac_try;;
29526 esac
29527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29528 (eval "$ac_link") 2>conftest.er1
29529 ac_status=$?
29530 grep -v '^ *+' conftest.er1 >conftest.err
29531 rm -f conftest.er1
29532 cat conftest.err >&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } && {
29535 test -z "$ac_c_werror_flag" ||
29536 test ! -s conftest.err
29537 } && test -s conftest$ac_exeext &&
29538 $as_test_x conftest$ac_exeext; then
29539 ac_cv_func_connect=yes
29540 else
29541 echo "$as_me: failed program was:" >&5
29542 sed 's/^/| /' conftest.$ac_ext >&5
29543
29544 ac_cv_func_connect=no
29545 fi
29546
29547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29548 conftest$ac_exeext conftest.$ac_ext
29549 fi
29550 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29551 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29552
29553 if test $ac_cv_func_connect = no; then
29554 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29555 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29556 if test "${ac_cv_lib_socket_connect+set}" = set; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 else
29559 ac_check_lib_save_LIBS=$LIBS
29560 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h. */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29567
29568 /* Override any GCC internal prototype to avoid an error.
29569 Use char because int might match the return type of a GCC
29570 builtin and then its argument prototype would still apply. */
29571 #ifdef __cplusplus
29572 extern "C"
29573 #endif
29574 char connect ();
29575 int
29576 main ()
29577 {
29578 return connect ();
29579 ;
29580 return 0;
29581 }
29582 _ACEOF
29583 rm -f conftest.$ac_objext conftest$ac_exeext
29584 if { (ac_try="$ac_link"
29585 case "(($ac_try" in
29586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587 *) ac_try_echo=$ac_try;;
29588 esac
29589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_link") 2>conftest.er1
29591 ac_status=$?
29592 grep -v '^ *+' conftest.er1 >conftest.err
29593 rm -f conftest.er1
29594 cat conftest.err >&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); } && {
29597 test -z "$ac_c_werror_flag" ||
29598 test ! -s conftest.err
29599 } && test -s conftest$ac_exeext &&
29600 $as_test_x conftest$ac_exeext; then
29601 ac_cv_lib_socket_connect=yes
29602 else
29603 echo "$as_me: failed program was:" >&5
29604 sed 's/^/| /' conftest.$ac_ext >&5
29605
29606 ac_cv_lib_socket_connect=no
29607 fi
29608
29609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29610 conftest$ac_exeext conftest.$ac_ext
29611 LIBS=$ac_check_lib_save_LIBS
29612 fi
29613 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29614 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29615 if test $ac_cv_lib_socket_connect = yes; then
29616 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29617 fi
29618
29619 fi
29620
29621 # Guillermo Gomez says -lposix is necessary on A/UX.
29622 { echo "$as_me:$LINENO: checking for remove" >&5
29623 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29624 if test "${ac_cv_func_remove+set}" = set; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29626 else
29627 cat >conftest.$ac_ext <<_ACEOF
29628 /* confdefs.h. */
29629 _ACEOF
29630 cat confdefs.h >>conftest.$ac_ext
29631 cat >>conftest.$ac_ext <<_ACEOF
29632 /* end confdefs.h. */
29633 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29635 #define remove innocuous_remove
29636
29637 /* System header to define __stub macros and hopefully few prototypes,
29638 which can conflict with char remove (); below.
29639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29640 <limits.h> exists even on freestanding compilers. */
29641
29642 #ifdef __STDC__
29643 # include <limits.h>
29644 #else
29645 # include <assert.h>
29646 #endif
29647
29648 #undef remove
29649
29650 /* Override any GCC internal prototype to avoid an error.
29651 Use char because int might match the return type of a GCC
29652 builtin and then its argument prototype would still apply. */
29653 #ifdef __cplusplus
29654 extern "C"
29655 #endif
29656 char remove ();
29657 /* The GNU C library defines this for functions which it implements
29658 to always fail with ENOSYS. Some functions are actually named
29659 something starting with __ and the normal name is an alias. */
29660 #if defined __stub_remove || defined __stub___remove
29661 choke me
29662 #endif
29663
29664 int
29665 main ()
29666 {
29667 return remove ();
29668 ;
29669 return 0;
29670 }
29671 _ACEOF
29672 rm -f conftest.$ac_objext conftest$ac_exeext
29673 if { (ac_try="$ac_link"
29674 case "(($ac_try" in
29675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29676 *) ac_try_echo=$ac_try;;
29677 esac
29678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29679 (eval "$ac_link") 2>conftest.er1
29680 ac_status=$?
29681 grep -v '^ *+' conftest.er1 >conftest.err
29682 rm -f conftest.er1
29683 cat conftest.err >&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } && {
29686 test -z "$ac_c_werror_flag" ||
29687 test ! -s conftest.err
29688 } && test -s conftest$ac_exeext &&
29689 $as_test_x conftest$ac_exeext; then
29690 ac_cv_func_remove=yes
29691 else
29692 echo "$as_me: failed program was:" >&5
29693 sed 's/^/| /' conftest.$ac_ext >&5
29694
29695 ac_cv_func_remove=no
29696 fi
29697
29698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29699 conftest$ac_exeext conftest.$ac_ext
29700 fi
29701 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29702 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29703
29704 if test $ac_cv_func_remove = no; then
29705 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29706 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29707 if test "${ac_cv_lib_posix_remove+set}" = set; then
29708 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 else
29710 ac_check_lib_save_LIBS=$LIBS
29711 LIBS="-lposix $LIBS"
29712 cat >conftest.$ac_ext <<_ACEOF
29713 /* confdefs.h. */
29714 _ACEOF
29715 cat confdefs.h >>conftest.$ac_ext
29716 cat >>conftest.$ac_ext <<_ACEOF
29717 /* end confdefs.h. */
29718
29719 /* Override any GCC internal prototype to avoid an error.
29720 Use char because int might match the return type of a GCC
29721 builtin and then its argument prototype would still apply. */
29722 #ifdef __cplusplus
29723 extern "C"
29724 #endif
29725 char remove ();
29726 int
29727 main ()
29728 {
29729 return remove ();
29730 ;
29731 return 0;
29732 }
29733 _ACEOF
29734 rm -f conftest.$ac_objext conftest$ac_exeext
29735 if { (ac_try="$ac_link"
29736 case "(($ac_try" in
29737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29738 *) ac_try_echo=$ac_try;;
29739 esac
29740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29741 (eval "$ac_link") 2>conftest.er1
29742 ac_status=$?
29743 grep -v '^ *+' conftest.er1 >conftest.err
29744 rm -f conftest.er1
29745 cat conftest.err >&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } && {
29748 test -z "$ac_c_werror_flag" ||
29749 test ! -s conftest.err
29750 } && test -s conftest$ac_exeext &&
29751 $as_test_x conftest$ac_exeext; then
29752 ac_cv_lib_posix_remove=yes
29753 else
29754 echo "$as_me: failed program was:" >&5
29755 sed 's/^/| /' conftest.$ac_ext >&5
29756
29757 ac_cv_lib_posix_remove=no
29758 fi
29759
29760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29761 conftest$ac_exeext conftest.$ac_ext
29762 LIBS=$ac_check_lib_save_LIBS
29763 fi
29764 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29765 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29766 if test $ac_cv_lib_posix_remove = yes; then
29767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29768 fi
29769
29770 fi
29771
29772 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29773 { echo "$as_me:$LINENO: checking for shmat" >&5
29774 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29775 if test "${ac_cv_func_shmat+set}" = set; then
29776 echo $ECHO_N "(cached) $ECHO_C" >&6
29777 else
29778 cat >conftest.$ac_ext <<_ACEOF
29779 /* confdefs.h. */
29780 _ACEOF
29781 cat confdefs.h >>conftest.$ac_ext
29782 cat >>conftest.$ac_ext <<_ACEOF
29783 /* end confdefs.h. */
29784 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29786 #define shmat innocuous_shmat
29787
29788 /* System header to define __stub macros and hopefully few prototypes,
29789 which can conflict with char shmat (); below.
29790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29791 <limits.h> exists even on freestanding compilers. */
29792
29793 #ifdef __STDC__
29794 # include <limits.h>
29795 #else
29796 # include <assert.h>
29797 #endif
29798
29799 #undef shmat
29800
29801 /* Override any GCC internal prototype to avoid an error.
29802 Use char because int might match the return type of a GCC
29803 builtin and then its argument prototype would still apply. */
29804 #ifdef __cplusplus
29805 extern "C"
29806 #endif
29807 char shmat ();
29808 /* The GNU C library defines this for functions which it implements
29809 to always fail with ENOSYS. Some functions are actually named
29810 something starting with __ and the normal name is an alias. */
29811 #if defined __stub_shmat || defined __stub___shmat
29812 choke me
29813 #endif
29814
29815 int
29816 main ()
29817 {
29818 return shmat ();
29819 ;
29820 return 0;
29821 }
29822 _ACEOF
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29828 esac
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 ac_cv_func_shmat=yes
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846 ac_cv_func_shmat=no
29847 fi
29848
29849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29850 conftest$ac_exeext conftest.$ac_ext
29851 fi
29852 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29853 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29854
29855 if test $ac_cv_func_shmat = no; then
29856 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29857 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29858 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29859 echo $ECHO_N "(cached) $ECHO_C" >&6
29860 else
29861 ac_check_lib_save_LIBS=$LIBS
29862 LIBS="-lipc $LIBS"
29863 cat >conftest.$ac_ext <<_ACEOF
29864 /* confdefs.h. */
29865 _ACEOF
29866 cat confdefs.h >>conftest.$ac_ext
29867 cat >>conftest.$ac_ext <<_ACEOF
29868 /* end confdefs.h. */
29869
29870 /* Override any GCC internal prototype to avoid an error.
29871 Use char because int might match the return type of a GCC
29872 builtin and then its argument prototype would still apply. */
29873 #ifdef __cplusplus
29874 extern "C"
29875 #endif
29876 char shmat ();
29877 int
29878 main ()
29879 {
29880 return shmat ();
29881 ;
29882 return 0;
29883 }
29884 _ACEOF
29885 rm -f conftest.$ac_objext conftest$ac_exeext
29886 if { (ac_try="$ac_link"
29887 case "(($ac_try" in
29888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29889 *) ac_try_echo=$ac_try;;
29890 esac
29891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29892 (eval "$ac_link") 2>conftest.er1
29893 ac_status=$?
29894 grep -v '^ *+' conftest.er1 >conftest.err
29895 rm -f conftest.er1
29896 cat conftest.err >&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } && {
29899 test -z "$ac_c_werror_flag" ||
29900 test ! -s conftest.err
29901 } && test -s conftest$ac_exeext &&
29902 $as_test_x conftest$ac_exeext; then
29903 ac_cv_lib_ipc_shmat=yes
29904 else
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.$ac_ext >&5
29907
29908 ac_cv_lib_ipc_shmat=no
29909 fi
29910
29911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29912 conftest$ac_exeext conftest.$ac_ext
29913 LIBS=$ac_check_lib_save_LIBS
29914 fi
29915 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29916 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29917 if test $ac_cv_lib_ipc_shmat = yes; then
29918 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29919 fi
29920
29921 fi
29922 fi
29923
29924 # Check for libraries that X11R6 Xt/Xaw programs need.
29925 ac_save_LDFLAGS=$LDFLAGS
29926 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29927 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29928 # check for ICE first), but we must link in the order -lSM -lICE or
29929 # we get undefined symbols. So assume we have SM if we have ICE.
29930 # These have to be linked with before -lX11, unlike the other
29931 # libraries we check for below, so use a different variable.
29932 # John Interrante, Karl Berry
29933 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29934 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29935 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29936 echo $ECHO_N "(cached) $ECHO_C" >&6
29937 else
29938 ac_check_lib_save_LIBS=$LIBS
29939 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29940 cat >conftest.$ac_ext <<_ACEOF
29941 /* confdefs.h. */
29942 _ACEOF
29943 cat confdefs.h >>conftest.$ac_ext
29944 cat >>conftest.$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29946
29947 /* Override any GCC internal prototype to avoid an error.
29948 Use char because int might match the return type of a GCC
29949 builtin and then its argument prototype would still apply. */
29950 #ifdef __cplusplus
29951 extern "C"
29952 #endif
29953 char IceConnectionNumber ();
29954 int
29955 main ()
29956 {
29957 return IceConnectionNumber ();
29958 ;
29959 return 0;
29960 }
29961 _ACEOF
29962 rm -f conftest.$ac_objext conftest$ac_exeext
29963 if { (ac_try="$ac_link"
29964 case "(($ac_try" in
29965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29966 *) ac_try_echo=$ac_try;;
29967 esac
29968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29969 (eval "$ac_link") 2>conftest.er1
29970 ac_status=$?
29971 grep -v '^ *+' conftest.er1 >conftest.err
29972 rm -f conftest.er1
29973 cat conftest.err >&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } && {
29976 test -z "$ac_c_werror_flag" ||
29977 test ! -s conftest.err
29978 } && test -s conftest$ac_exeext &&
29979 $as_test_x conftest$ac_exeext; then
29980 ac_cv_lib_ICE_IceConnectionNumber=yes
29981 else
29982 echo "$as_me: failed program was:" >&5
29983 sed 's/^/| /' conftest.$ac_ext >&5
29984
29985 ac_cv_lib_ICE_IceConnectionNumber=no
29986 fi
29987
29988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29989 conftest$ac_exeext conftest.$ac_ext
29990 LIBS=$ac_check_lib_save_LIBS
29991 fi
29992 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29993 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29994 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29995 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29996 fi
29997
29998 LDFLAGS=$ac_save_LDFLAGS
29999
30000 fi
30001
30002
30003 if test "$no_x" = "yes"; then
30004 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30005 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30006 { (exit 1); exit 1; }; }
30007 fi
30008
30009 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30010 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30011 AFMINSTALL=afminstall
30012 COMPILED_X_PROGRAM=0
30013
30014 fi
30015
30016 if test "$wxUSE_X11" = 1; then
30017 if test "$wxUSE_NANOX" = "yes"; then
30018 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30019 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30020 if test "x$MICROWIN" = x ; then
30021 { echo "$as_me:$LINENO: result: not found" >&5
30022 echo "${ECHO_T}not found" >&6; }
30023 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30024 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30025 { (exit 1); exit 1; }; }
30026 else
30027 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30028 echo "${ECHO_T}$MICROWIN" >&6; }
30029 cat >>confdefs.h <<\_ACEOF
30030 #define wxUSE_NANOX 1
30031 _ACEOF
30032
30033 fi
30034 fi
30035
30036 if test "$wxUSE_UNICODE" = "yes"; then
30037
30038
30039 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30040 if test -n "$ac_tool_prefix"; then
30041 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30042 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30045 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30046 echo $ECHO_N "(cached) $ECHO_C" >&6
30047 else
30048 case $PKG_CONFIG in
30049 [\\/]* | ?:[\\/]*)
30050 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30051 ;;
30052 *)
30053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30054 for as_dir in $PATH
30055 do
30056 IFS=$as_save_IFS
30057 test -z "$as_dir" && as_dir=.
30058 for ac_exec_ext in '' $ac_executable_extensions; do
30059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30060 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30062 break 2
30063 fi
30064 done
30065 done
30066 IFS=$as_save_IFS
30067
30068 ;;
30069 esac
30070 fi
30071 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30072 if test -n "$PKG_CONFIG"; then
30073 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30074 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30075 else
30076 { echo "$as_me:$LINENO: result: no" >&5
30077 echo "${ECHO_T}no" >&6; }
30078 fi
30079
30080
30081 fi
30082 if test -z "$ac_cv_path_PKG_CONFIG"; then
30083 ac_pt_PKG_CONFIG=$PKG_CONFIG
30084 # Extract the first word of "pkg-config", so it can be a program name with args.
30085 set dummy pkg-config; ac_word=$2
30086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30088 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30089 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 else
30091 case $ac_pt_PKG_CONFIG in
30092 [\\/]* | ?:[\\/]*)
30093 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30094 ;;
30095 *)
30096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30097 for as_dir in $PATH
30098 do
30099 IFS=$as_save_IFS
30100 test -z "$as_dir" && as_dir=.
30101 for ac_exec_ext in '' $ac_executable_extensions; do
30102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30103 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30105 break 2
30106 fi
30107 done
30108 done
30109 IFS=$as_save_IFS
30110
30111 ;;
30112 esac
30113 fi
30114 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30115 if test -n "$ac_pt_PKG_CONFIG"; then
30116 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30117 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30118 else
30119 { echo "$as_me:$LINENO: result: no" >&5
30120 echo "${ECHO_T}no" >&6; }
30121 fi
30122
30123 if test "x$ac_pt_PKG_CONFIG" = x; then
30124 PKG_CONFIG=""
30125 else
30126 case $cross_compiling:$ac_tool_warned in
30127 yes:)
30128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30129 whose name does not start with the host triplet. If you think this
30130 configuration is useful to you, please write to autoconf@gnu.org." >&5
30131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30132 whose name does not start with the host triplet. If you think this
30133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30134 ac_tool_warned=yes ;;
30135 esac
30136 PKG_CONFIG=$ac_pt_PKG_CONFIG
30137 fi
30138 else
30139 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30140 fi
30141
30142 fi
30143 if test -n "$PKG_CONFIG"; then
30144 _pkg_min_version=0.9.0
30145 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30146 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30147 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30148 { echo "$as_me:$LINENO: result: yes" >&5
30149 echo "${ECHO_T}yes" >&6; }
30150 else
30151 { echo "$as_me:$LINENO: result: no" >&5
30152 echo "${ECHO_T}no" >&6; }
30153 PKG_CONFIG=""
30154 fi
30155
30156 fi
30157
30158
30159 pkg_failed=no
30160 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30161 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30162
30163 if test -n "$PKG_CONFIG"; then
30164 if test -n "$PANGOX_CFLAGS"; then
30165 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30166 else
30167 if test -n "$PKG_CONFIG" && \
30168 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30169 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30170 ac_status=$?
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); }; then
30173 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30174 else
30175 pkg_failed=yes
30176 fi
30177 fi
30178 else
30179 pkg_failed=untried
30180 fi
30181 if test -n "$PKG_CONFIG"; then
30182 if test -n "$PANGOX_LIBS"; then
30183 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30184 else
30185 if test -n "$PKG_CONFIG" && \
30186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30187 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30188 ac_status=$?
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); }; then
30191 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30192 else
30193 pkg_failed=yes
30194 fi
30195 fi
30196 else
30197 pkg_failed=untried
30198 fi
30199
30200
30201
30202 if test $pkg_failed = yes; then
30203
30204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30205 _pkg_short_errors_supported=yes
30206 else
30207 _pkg_short_errors_supported=no
30208 fi
30209 if test $_pkg_short_errors_supported = yes; then
30210 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30211 else
30212 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30213 fi
30214 # Put the nasty error message in config.log where it belongs
30215 echo "$PANGOX_PKG_ERRORS" >&5
30216
30217
30218 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30219 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30220 { (exit 1); exit 1; }; }
30221
30222
30223 elif test $pkg_failed = untried; then
30224
30225 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30226 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30227 { (exit 1); exit 1; }; }
30228
30229
30230 else
30231 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30232 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30233 { echo "$as_me:$LINENO: result: yes" >&5
30234 echo "${ECHO_T}yes" >&6; }
30235
30236 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30237 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30239
30240 fi
30241
30242 pkg_failed=no
30243 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30244 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30245
30246 if test -n "$PKG_CONFIG"; then
30247 if test -n "$PANGOFT2_CFLAGS"; then
30248 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30249 else
30250 if test -n "$PKG_CONFIG" && \
30251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30252 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30253 ac_status=$?
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; then
30256 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30257 else
30258 pkg_failed=yes
30259 fi
30260 fi
30261 else
30262 pkg_failed=untried
30263 fi
30264 if test -n "$PKG_CONFIG"; then
30265 if test -n "$PANGOFT2_LIBS"; then
30266 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30267 else
30268 if test -n "$PKG_CONFIG" && \
30269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30270 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30271 ac_status=$?
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; then
30274 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30275 else
30276 pkg_failed=yes
30277 fi
30278 fi
30279 else
30280 pkg_failed=untried
30281 fi
30282
30283
30284
30285 if test $pkg_failed = yes; then
30286
30287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30288 _pkg_short_errors_supported=yes
30289 else
30290 _pkg_short_errors_supported=no
30291 fi
30292 if test $_pkg_short_errors_supported = yes; then
30293 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30294 else
30295 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30296 fi
30297 # Put the nasty error message in config.log where it belongs
30298 echo "$PANGOFT2_PKG_ERRORS" >&5
30299
30300
30301 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30302 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30303 wxUSE_PRINTING_ARCHITECTURE="no"
30304
30305
30306 elif test $pkg_failed = untried; then
30307
30308 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30309 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30310 wxUSE_PRINTING_ARCHITECTURE="no"
30311
30312
30313 else
30314 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30315 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30316 { echo "$as_me:$LINENO: result: yes" >&5
30317 echo "${ECHO_T}yes" >&6; }
30318
30319 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30320 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30321 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30322
30323 fi
30324
30325 pkg_failed=no
30326 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30327 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30328
30329 if test -n "$PKG_CONFIG"; then
30330 if test -n "$PANGOXFT_CFLAGS"; then
30331 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30332 else
30333 if test -n "$PKG_CONFIG" && \
30334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30335 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30336 ac_status=$?
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); }; then
30339 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30340 else
30341 pkg_failed=yes
30342 fi
30343 fi
30344 else
30345 pkg_failed=untried
30346 fi
30347 if test -n "$PKG_CONFIG"; then
30348 if test -n "$PANGOXFT_LIBS"; then
30349 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30350 else
30351 if test -n "$PKG_CONFIG" && \
30352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30353 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30354 ac_status=$?
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; then
30357 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30358 else
30359 pkg_failed=yes
30360 fi
30361 fi
30362 else
30363 pkg_failed=untried
30364 fi
30365
30366
30367
30368 if test $pkg_failed = yes; then
30369
30370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30371 _pkg_short_errors_supported=yes
30372 else
30373 _pkg_short_errors_supported=no
30374 fi
30375 if test $_pkg_short_errors_supported = yes; then
30376 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30377 else
30378 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30379 fi
30380 # Put the nasty error message in config.log where it belongs
30381 echo "$PANGOXFT_PKG_ERRORS" >&5
30382
30383
30384 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30385 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30386
30387
30388 elif test $pkg_failed = untried; then
30389
30390 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30391 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30392
30393
30394 else
30395 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30396 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30397 { echo "$as_me:$LINENO: result: yes" >&5
30398 echo "${ECHO_T}yes" >&6; }
30399
30400 cat >>confdefs.h <<\_ACEOF
30401 #define HAVE_PANGO_XFT 1
30402 _ACEOF
30403
30404 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30405 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30407
30408 fi
30409 save_LIBS="$LIBS"
30410 LIBS="$LIBS $PANGOX_LIBS"
30411
30412 for ac_func in pango_font_family_is_monospace
30413 do
30414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30417 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30418 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 else
30420 cat >conftest.$ac_ext <<_ACEOF
30421 /* confdefs.h. */
30422 _ACEOF
30423 cat confdefs.h >>conftest.$ac_ext
30424 cat >>conftest.$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30428 #define $ac_func innocuous_$ac_func
30429
30430 /* System header to define __stub macros and hopefully few prototypes,
30431 which can conflict with char $ac_func (); below.
30432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30433 <limits.h> exists even on freestanding compilers. */
30434
30435 #ifdef __STDC__
30436 # include <limits.h>
30437 #else
30438 # include <assert.h>
30439 #endif
30440
30441 #undef $ac_func
30442
30443 /* Override any GCC internal prototype to avoid an error.
30444 Use char because int might match the return type of a GCC
30445 builtin and then its argument prototype would still apply. */
30446 #ifdef __cplusplus
30447 extern "C"
30448 #endif
30449 char $ac_func ();
30450 /* The GNU C library defines this for functions which it implements
30451 to always fail with ENOSYS. Some functions are actually named
30452 something starting with __ and the normal name is an alias. */
30453 #if defined __stub_$ac_func || defined __stub___$ac_func
30454 choke me
30455 #endif
30456
30457 int
30458 main ()
30459 {
30460 return $ac_func ();
30461 ;
30462 return 0;
30463 }
30464 _ACEOF
30465 rm -f conftest.$ac_objext conftest$ac_exeext
30466 if { (ac_try="$ac_link"
30467 case "(($ac_try" in
30468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30469 *) ac_try_echo=$ac_try;;
30470 esac
30471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30472 (eval "$ac_link") 2>conftest.er1
30473 ac_status=$?
30474 grep -v '^ *+' conftest.er1 >conftest.err
30475 rm -f conftest.er1
30476 cat conftest.err >&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } && {
30479 test -z "$ac_c_werror_flag" ||
30480 test ! -s conftest.err
30481 } && test -s conftest$ac_exeext &&
30482 $as_test_x conftest$ac_exeext; then
30483 eval "$as_ac_var=yes"
30484 else
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.$ac_ext >&5
30487
30488 eval "$as_ac_var=no"
30489 fi
30490
30491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30492 conftest$ac_exeext conftest.$ac_ext
30493 fi
30494 ac_res=`eval echo '${'$as_ac_var'}'`
30495 { echo "$as_me:$LINENO: result: $ac_res" >&5
30496 echo "${ECHO_T}$ac_res" >&6; }
30497 if test `eval echo '${'$as_ac_var'}'` = yes; then
30498 cat >>confdefs.h <<_ACEOF
30499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30500 _ACEOF
30501
30502 fi
30503 done
30504
30505 LIBS="$save_LIBS"
30506 fi
30507
30508 wxUSE_UNIVERSAL="yes"
30509
30510 if test "$wxUSE_NANOX" = "yes"; then
30511 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30512 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"
30513 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30514 else
30515 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30516 fi
30517
30518 TOOLKIT=X11
30519 GUIDIST=X11_DIST
30520 fi
30521
30522 if test "$wxUSE_MOTIF" = 1; then
30523 if test "$wxUSE_UNICODE" = "yes"; then
30524 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30525 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30526 { (exit 1); exit 1; }; }
30527 fi
30528
30529 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30530 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30531
30532 ac_find_includes=
30533 for ac_dir in $SEARCH_INCLUDE /usr/include;
30534 do
30535 if test -f "$ac_dir/Xm/Xm.h"; then
30536 ac_find_includes=$ac_dir
30537 break
30538 fi
30539 done
30540
30541 if test "$ac_find_includes" != "" ; then
30542 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30543 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30544
30545 if test "x$ac_find_includes" = "x/usr/include"; then
30546 ac_path_to_include=""
30547 else
30548 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30549 result=$?
30550 if test $result = 0; then
30551 ac_path_to_include=""
30552 else
30553 ac_path_to_include=" -I$ac_find_includes"
30554 fi
30555 fi
30556
30557 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30558 else
30559 save_CFLAGS=$CFLAGS
30560 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30561
30562 cat >conftest.$ac_ext <<_ACEOF
30563 /* confdefs.h. */
30564 _ACEOF
30565 cat confdefs.h >>conftest.$ac_ext
30566 cat >>conftest.$ac_ext <<_ACEOF
30567 /* end confdefs.h. */
30568
30569 #include <Xm/Xm.h>
30570
30571 int
30572 main ()
30573 {
30574
30575 int version;
30576 version = xmUseVersion;
30577
30578 ;
30579 return 0;
30580 }
30581 _ACEOF
30582 rm -f conftest.$ac_objext
30583 if { (ac_try="$ac_compile"
30584 case "(($ac_try" in
30585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30586 *) ac_try_echo=$ac_try;;
30587 esac
30588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30589 (eval "$ac_compile") 2>conftest.er1
30590 ac_status=$?
30591 grep -v '^ *+' conftest.er1 >conftest.err
30592 rm -f conftest.er1
30593 cat conftest.err >&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } && {
30596 test -z "$ac_c_werror_flag" ||
30597 test ! -s conftest.err
30598 } && test -s conftest.$ac_objext; then
30599
30600 { echo "$as_me:$LINENO: result: found in default search path" >&5
30601 echo "${ECHO_T}found in default search path" >&6; }
30602 COMPILED_X_PROGRAM=1
30603
30604 else
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.$ac_ext >&5
30607
30608
30609 { echo "$as_me:$LINENO: result: no" >&5
30610 echo "${ECHO_T}no" >&6; }
30611 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30612 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30613 { (exit 1); exit 1; }; }
30614
30615
30616 fi
30617
30618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30619
30620 CFLAGS=$save_CFLAGS
30621 fi
30622
30623
30624 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30625 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30626
30627 ac_find_libraries=
30628 for ac_dir in $SEARCH_LIB;
30629 do
30630 for ac_extension in a so sl dylib dll.a; do
30631 if test -f "$ac_dir/libXm.$ac_extension"; then
30632 ac_find_libraries=$ac_dir
30633 break 2
30634 fi
30635 done
30636 done
30637
30638
30639 if test "x$ac_find_libraries" != "x" ; then
30640 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30641 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30642
30643
30644 if test "$ac_find_libraries" = "default location"; then
30645 ac_path_to_link=""
30646 else
30647 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30648 result=$?
30649 if test $result = 0; then
30650 ac_path_to_link=""
30651 else
30652 ac_path_to_link=" -L$ac_find_libraries"
30653 fi
30654 fi
30655
30656 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30657 else
30658 save_CFLAGS=$CFLAGS
30659 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30660 save_LIBS="$LIBS"
30661 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30662
30663 cat >conftest.$ac_ext <<_ACEOF
30664 /* confdefs.h. */
30665 _ACEOF
30666 cat confdefs.h >>conftest.$ac_ext
30667 cat >>conftest.$ac_ext <<_ACEOF
30668 /* end confdefs.h. */
30669
30670 #include <Xm/Xm.h>
30671
30672 int
30673 main ()
30674 {
30675
30676 int version;
30677 version = xmUseVersion;
30678
30679 ;
30680 return 0;
30681 }
30682 _ACEOF
30683 rm -f conftest.$ac_objext conftest$ac_exeext
30684 if { (ac_try="$ac_link"
30685 case "(($ac_try" in
30686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30687 *) ac_try_echo=$ac_try;;
30688 esac
30689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30690 (eval "$ac_link") 2>conftest.er1
30691 ac_status=$?
30692 grep -v '^ *+' conftest.er1 >conftest.err
30693 rm -f conftest.er1
30694 cat conftest.err >&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); } && {
30697 test -z "$ac_c_werror_flag" ||
30698 test ! -s conftest.err
30699 } && test -s conftest$ac_exeext &&
30700 $as_test_x conftest$ac_exeext; then
30701
30702 { echo "$as_me:$LINENO: result: found in default search path" >&5
30703 echo "${ECHO_T}found in default search path" >&6; }
30704 COMPILED_X_PROGRAM=1
30705
30706 else
30707 echo "$as_me: failed program was:" >&5
30708 sed 's/^/| /' conftest.$ac_ext >&5
30709
30710
30711 { echo "$as_me:$LINENO: result: no" >&5
30712 echo "${ECHO_T}no" >&6; }
30713 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30714 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30715 { (exit 1); exit 1; }; }
30716
30717
30718 fi
30719
30720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30721 conftest$ac_exeext conftest.$ac_ext
30722
30723 CFLAGS=$save_CFLAGS
30724 LIBS="$save_LIBS"
30725 fi
30726
30727 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30728 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30729 libp_link=""
30730 libsm_ice_link=""
30731 libs_found=0
30732 for libp in "" " -lXp"; do
30733 if test "$libs_found" = "0"; then
30734 for libsm_ice in "" " -lSM -lICE"; do
30735 if test "$libs_found" = "0"; then
30736 save_LIBS="$LIBS"
30737 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30738 save_CFLAGS=$CFLAGS
30739 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30740
30741 cat >conftest.$ac_ext <<_ACEOF
30742 /* confdefs.h. */
30743 _ACEOF
30744 cat confdefs.h >>conftest.$ac_ext
30745 cat >>conftest.$ac_ext <<_ACEOF
30746 /* end confdefs.h. */
30747
30748 #include <Xm/Xm.h>
30749 #include <Xm/List.h>
30750
30751 int
30752 main ()
30753 {
30754
30755 XmString string = NULL;
30756 Widget w = NULL;
30757 int position = 0;
30758 XmListAddItem(w, string, position);
30759
30760 ;
30761 return 0;
30762 }
30763 _ACEOF
30764 rm -f conftest.$ac_objext conftest$ac_exeext
30765 if { (ac_try="$ac_link"
30766 case "(($ac_try" in
30767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30768 *) ac_try_echo=$ac_try;;
30769 esac
30770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30771 (eval "$ac_link") 2>conftest.er1
30772 ac_status=$?
30773 grep -v '^ *+' conftest.er1 >conftest.err
30774 rm -f conftest.er1
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } && {
30778 test -z "$ac_c_werror_flag" ||
30779 test ! -s conftest.err
30780 } && test -s conftest$ac_exeext &&
30781 $as_test_x conftest$ac_exeext; then
30782
30783 libp_link="$libp"
30784 libsm_ice_link="$libsm_ice"
30785 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30786 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30787 libs_found=1
30788
30789 else
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30792
30793
30794
30795 fi
30796
30797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30798 conftest$ac_exeext conftest.$ac_ext
30799
30800 LIBS="$save_LIBS"
30801 CFLAGS=$save_CFLAGS
30802 fi
30803 done
30804 fi
30805 done
30806
30807 if test "$libs_found" = "0"; then
30808 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30809 echo "${ECHO_T}can't find the right libraries" >&6; }
30810 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30811 echo "$as_me: error: can't link a simple motif program" >&2;}
30812 { (exit 1); exit 1; }; }
30813 fi
30814
30815 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30816 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30817 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30819 else
30820 ac_check_lib_save_LIBS=$LIBS
30821 LIBS="-lSgm $LIBS"
30822 cat >conftest.$ac_ext <<_ACEOF
30823 /* confdefs.h. */
30824 _ACEOF
30825 cat confdefs.h >>conftest.$ac_ext
30826 cat >>conftest.$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30828
30829 /* Override any GCC internal prototype to avoid an error.
30830 Use char because int might match the return type of a GCC
30831 builtin and then its argument prototype would still apply. */
30832 #ifdef __cplusplus
30833 extern "C"
30834 #endif
30835 char SgCreateList ();
30836 int
30837 main ()
30838 {
30839 return SgCreateList ();
30840 ;
30841 return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (ac_try="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30849 esac
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30852 ac_status=$?
30853 grep -v '^ *+' conftest.er1 >conftest.err
30854 rm -f conftest.er1
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest$ac_exeext &&
30861 $as_test_x conftest$ac_exeext; then
30862 ac_cv_lib_Sgm_SgCreateList=yes
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867 ac_cv_lib_Sgm_SgCreateList=no
30868 fi
30869
30870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30871 conftest$ac_exeext conftest.$ac_ext
30872 LIBS=$ac_check_lib_save_LIBS
30873 fi
30874 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30875 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30876 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30877 libsgm_link=" -lSgm"
30878 fi
30879
30880
30881 save_CFLAGS=$CFLAGS
30882 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30883
30884 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30885 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30886 if test "${wx_cv_lib_motif2+set}" = set; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30888 else
30889 cat >conftest.$ac_ext <<_ACEOF
30890 /* confdefs.h. */
30891 _ACEOF
30892 cat confdefs.h >>conftest.$ac_ext
30893 cat >>conftest.$ac_ext <<_ACEOF
30894 /* end confdefs.h. */
30895
30896 #include <Xm/Xm.h>
30897
30898 int
30899 main ()
30900 {
30901
30902 #if XmVersion < 2000
30903 Not Motif 2
30904 #endif
30905
30906 ;
30907 return 0;
30908 }
30909 _ACEOF
30910 rm -f conftest.$ac_objext
30911 if { (ac_try="$ac_compile"
30912 case "(($ac_try" in
30913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30914 *) ac_try_echo=$ac_try;;
30915 esac
30916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30917 (eval "$ac_compile") 2>conftest.er1
30918 ac_status=$?
30919 grep -v '^ *+' conftest.er1 >conftest.err
30920 rm -f conftest.er1
30921 cat conftest.err >&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } && {
30924 test -z "$ac_c_werror_flag" ||
30925 test ! -s conftest.err
30926 } && test -s conftest.$ac_objext; then
30927 wx_cv_lib_motif2="yes"
30928 else
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.$ac_ext >&5
30931
30932 wx_cv_lib_motif2="no"
30933 fi
30934
30935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30936 fi
30937 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30938 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30939 if test "$wx_cv_lib_motif2" = "yes"; then
30940 cat >>confdefs.h <<\_ACEOF
30941 #define __WXMOTIF20__ 1
30942 _ACEOF
30943
30944 else
30945 cat >>confdefs.h <<\_ACEOF
30946 #define __WXMOTIF20__ 0
30947 _ACEOF
30948
30949 fi
30950
30951 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30952 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30953 if test "${wx_cv_lib_lesstif+set}" = set; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30955 else
30956 cat >conftest.$ac_ext <<_ACEOF
30957 /* confdefs.h. */
30958 _ACEOF
30959 cat confdefs.h >>conftest.$ac_ext
30960 cat >>conftest.$ac_ext <<_ACEOF
30961 /* end confdefs.h. */
30962
30963 #include <Xm/Xm.h>
30964
30965 int
30966 main ()
30967 {
30968
30969 #if !defined(LesstifVersion) || LesstifVersion <= 0
30970 Not Lesstif
30971 #endif
30972
30973 ;
30974 return 0;
30975 }
30976 _ACEOF
30977 rm -f conftest.$ac_objext
30978 if { (ac_try="$ac_compile"
30979 case "(($ac_try" in
30980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30981 *) ac_try_echo=$ac_try;;
30982 esac
30983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30984 (eval "$ac_compile") 2>conftest.er1
30985 ac_status=$?
30986 grep -v '^ *+' conftest.er1 >conftest.err
30987 rm -f conftest.er1
30988 cat conftest.err >&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } && {
30991 test -z "$ac_c_werror_flag" ||
30992 test ! -s conftest.err
30993 } && test -s conftest.$ac_objext; then
30994 wx_cv_lib_lesstif="yes"
30995 else
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.$ac_ext >&5
30998
30999 wx_cv_lib_lesstif="no"
31000 fi
31001
31002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31003
31004 fi
31005 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31006 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31007 if test "$wx_cv_lib_lesstif" = "yes"; then
31008 cat >>confdefs.h <<\_ACEOF
31009 #define __WXLESSTIF__ 1
31010 _ACEOF
31011
31012 else
31013 cat >>confdefs.h <<\_ACEOF
31014 #define __WXLESSTIF__ 0
31015 _ACEOF
31016
31017 fi
31018
31019 CFLAGS=$save_CFLAGS
31020
31021 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31022 TOOLKIT=MOTIF
31023 GUIDIST=MOTIF_DIST
31024 fi
31025
31026 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31027 if test "$wxUSE_LIBXPM" = "sys"; then
31028 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31029 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31030
31031 ac_find_libraries=
31032 for ac_dir in $SEARCH_LIB;
31033 do
31034 for ac_extension in a so sl dylib dll.a; do
31035 if test -f "$ac_dir/libXpm.$ac_extension"; then
31036 ac_find_libraries=$ac_dir
31037 break 2
31038 fi
31039 done
31040 done
31041
31042 if test "$ac_find_libraries" != "" ; then
31043
31044 if test "$ac_find_libraries" = "default location"; then
31045 ac_path_to_link=""
31046 else
31047 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31048 result=$?
31049 if test $result = 0; then
31050 ac_path_to_link=""
31051 else
31052 ac_path_to_link=" -L$ac_find_libraries"
31053 fi
31054 fi
31055
31056 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31057 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31058 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31059
31060 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31061 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31062 if test "${wx_cv_x11_xpm_h+set}" = set; then
31063 echo $ECHO_N "(cached) $ECHO_C" >&6
31064 else
31065
31066 save_CFLAGS=$CFLAGS
31067 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31068
31069 cat >conftest.$ac_ext <<_ACEOF
31070 /* confdefs.h. */
31071 _ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31075
31076 #include <X11/xpm.h>
31077
31078 int
31079 main ()
31080 {
31081
31082 int version;
31083 version = XpmLibraryVersion();
31084
31085 ;
31086 return 0;
31087 }
31088 _ACEOF
31089 rm -f conftest.$ac_objext
31090 if { (ac_try="$ac_compile"
31091 case "(($ac_try" in
31092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31093 *) ac_try_echo=$ac_try;;
31094 esac
31095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31096 (eval "$ac_compile") 2>conftest.er1
31097 ac_status=$?
31098 grep -v '^ *+' conftest.er1 >conftest.err
31099 rm -f conftest.er1
31100 cat conftest.err >&5
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); } && {
31103 test -z "$ac_c_werror_flag" ||
31104 test ! -s conftest.err
31105 } && test -s conftest.$ac_objext; then
31106 wx_cv_x11_xpm_h=yes
31107 else
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.$ac_ext >&5
31110
31111 wx_cv_x11_xpm_h=no
31112
31113 fi
31114
31115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31116
31117 CFLAGS=$save_CFLAGS
31118
31119
31120 fi
31121 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31122 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31123
31124 if test $wx_cv_x11_xpm_h = "yes"; then
31125 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31126 cat >>confdefs.h <<\_ACEOF
31127 #define wxHAVE_LIB_XPM 1
31128 _ACEOF
31129
31130 else
31131 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31132 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31133 fi
31134 fi
31135
31136 fi
31137
31138 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31139 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31140 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31141 echo $ECHO_N "(cached) $ECHO_C" >&6
31142 else
31143 ac_check_lib_save_LIBS=$LIBS
31144 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31145 cat >conftest.$ac_ext <<_ACEOF
31146 /* confdefs.h. */
31147 _ACEOF
31148 cat confdefs.h >>conftest.$ac_ext
31149 cat >>conftest.$ac_ext <<_ACEOF
31150 /* end confdefs.h. */
31151
31152 /* Override any GCC internal prototype to avoid an error.
31153 Use char because int might match the return type of a GCC
31154 builtin and then its argument prototype would still apply. */
31155 #ifdef __cplusplus
31156 extern "C"
31157 #endif
31158 char XShapeQueryExtension ();
31159 int
31160 main ()
31161 {
31162 return XShapeQueryExtension ();
31163 ;
31164 return 0;
31165 }
31166 _ACEOF
31167 rm -f conftest.$ac_objext conftest$ac_exeext
31168 if { (ac_try="$ac_link"
31169 case "(($ac_try" in
31170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31171 *) ac_try_echo=$ac_try;;
31172 esac
31173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31174 (eval "$ac_link") 2>conftest.er1
31175 ac_status=$?
31176 grep -v '^ *+' conftest.er1 >conftest.err
31177 rm -f conftest.er1
31178 cat conftest.err >&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } && {
31181 test -z "$ac_c_werror_flag" ||
31182 test ! -s conftest.err
31183 } && test -s conftest$ac_exeext &&
31184 $as_test_x conftest$ac_exeext; then
31185 ac_cv_lib_Xext_XShapeQueryExtension=yes
31186 else
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31189
31190 ac_cv_lib_Xext_XShapeQueryExtension=no
31191 fi
31192
31193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31194 conftest$ac_exeext conftest.$ac_ext
31195 LIBS=$ac_check_lib_save_LIBS
31196 fi
31197 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31198 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31199 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31200
31201 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31202 wxHAVE_XEXT_LIB=1
31203
31204 fi
31205
31206
31207 if test "$wxHAVE_XEXT_LIB" = 1; then
31208 save_CFLAGS="$CFLAGS"
31209 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31210
31211 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31212 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31213 cat >conftest.$ac_ext <<_ACEOF
31214 /* confdefs.h. */
31215 _ACEOF
31216 cat confdefs.h >>conftest.$ac_ext
31217 cat >>conftest.$ac_ext <<_ACEOF
31218 /* end confdefs.h. */
31219
31220 #include <X11/Xlib.h>
31221 #include <X11/extensions/shape.h>
31222
31223 int
31224 main ()
31225 {
31226
31227 int dummy1, dummy2;
31228 XShapeQueryExtension((Display*)NULL,
31229 (int*)NULL, (int*)NULL);
31230
31231 ;
31232 return 0;
31233 }
31234 _ACEOF
31235 rm -f conftest.$ac_objext
31236 if { (ac_try="$ac_compile"
31237 case "(($ac_try" in
31238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31239 *) ac_try_echo=$ac_try;;
31240 esac
31241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31242 (eval "$ac_compile") 2>conftest.er1
31243 ac_status=$?
31244 grep -v '^ *+' conftest.er1 >conftest.err
31245 rm -f conftest.er1
31246 cat conftest.err >&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); } && {
31249 test -z "$ac_c_werror_flag" ||
31250 test ! -s conftest.err
31251 } && test -s conftest.$ac_objext; then
31252
31253 cat >>confdefs.h <<\_ACEOF
31254 #define HAVE_XSHAPE 1
31255 _ACEOF
31256
31257 { echo "$as_me:$LINENO: result: found" >&5
31258 echo "${ECHO_T}found" >&6; }
31259
31260 else
31261 echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.$ac_ext >&5
31263
31264
31265 { echo "$as_me:$LINENO: result: not found" >&5
31266 echo "${ECHO_T}not found" >&6; }
31267
31268 fi
31269
31270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31271 CFLAGS="$save_CFLAGS"
31272
31273 fi
31274 fi
31275
31276 if test "$wxUSE_MAC" = 1; then
31277 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31278 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31279 if test "$GCC" = yes; then
31280 { echo "$as_me:$LINENO: result: gcc" >&5
31281 echo "${ECHO_T}gcc" >&6; }
31282 CPPFLAGS_PASCAL="-fpascal-strings"
31283 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31284 { echo "$as_me:$LINENO: result: xlc" >&5
31285 echo "${ECHO_T}xlc" >&6; }
31286 CPPFLAGS_PASCAL="-qmacpstr"
31287 else
31288 { echo "$as_me:$LINENO: result: none" >&5
31289 echo "${ECHO_T}none" >&6; }
31290 fi
31291
31292 if test "x$wxUSE_UNIX" = "xyes"; then
31293 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31294 else
31295 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31296 fi
31297
31298 TOOLKIT=MAC
31299 GUIDIST=MACX_DIST
31300 WXBASEPORT="_carbon"
31301 fi
31302
31303 if test "$wxUSE_COCOA" = 1; then
31304 TOOLKIT=COCOA
31305 GUIDIST=COCOA_DIST
31306 fi
31307
31308 if test "$wxUSE_PM" = 1; then
31309 TOOLKIT=PM
31310 GUIDIST=PM_DIST
31311 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31312 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31313 if test "${wx_cv_spbcdata+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31315 else
31316
31317 cat >conftest.$ac_ext <<_ACEOF
31318 /* confdefs.h. */
31319 _ACEOF
31320 cat confdefs.h >>conftest.$ac_ext
31321 cat >>conftest.$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323
31324 #define INCL_PM
31325 #include <os2.h>
31326
31327 int
31328 main ()
31329 {
31330
31331 SPBCDATA test;
31332
31333 ;
31334 return 0;
31335 }
31336 _ACEOF
31337 rm -f conftest.$ac_objext
31338 if { (ac_try="$ac_compile"
31339 case "(($ac_try" in
31340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31341 *) ac_try_echo=$ac_try;;
31342 esac
31343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31344 (eval "$ac_compile") 2>conftest.er1
31345 ac_status=$?
31346 grep -v '^ *+' conftest.er1 >conftest.err
31347 rm -f conftest.er1
31348 cat conftest.err >&5
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); } && {
31351 test -z "$ac_c_werror_flag" ||
31352 test ! -s conftest.err
31353 } && test -s conftest.$ac_objext; then
31354 wx_cv_spbcdata=yes
31355 else
31356 echo "$as_me: failed program was:" >&5
31357 sed 's/^/| /' conftest.$ac_ext >&5
31358
31359 wx_cv_spbcdata=no
31360
31361 fi
31362
31363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31364
31365
31366 fi
31367 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31368 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31369
31370 if test $wx_cv_spbcdata = "yes"; then
31371 cat >>confdefs.h <<\_ACEOF
31372 #define HAVE_SPBCDATA 1
31373 _ACEOF
31374
31375 fi
31376 fi
31377
31378 if test "$TOOLKIT" = "PM" ; then
31379 TOOLKIT_DIR="os2"
31380 else
31381 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31382 fi
31383
31384 if test "$wxUSE_UNIVERSAL" = "yes"; then
31385 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31386 WIDGET_SET=univ
31387 fi
31388
31389 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31390 DISTDIR="wx\$(TOOLKIT)"
31391 else
31392 USE_GUI=0
31393
31394 TOOLKIT_DIR="base"
31395
31396 if test "$USE_WIN32" = 1 ; then
31397 TOOLKIT="MSW"
31398 fi
31399
31400 GUIDIST="BASE_DIST"
31401 DISTDIR="wxBase"
31402 fi
31403
31404
31405 if test "$wxUSE_GUI" = "yes"; then
31406 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31407 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31408 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31409 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31410 echo $ECHO_N "(cached) $ECHO_C" >&6
31411 else
31412 cat >conftest.$ac_ext <<_ACEOF
31413 /* confdefs.h. */
31414 _ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418
31419
31420 #include <X11/Xlib.h>
31421 _ACEOF
31422 rm -f conftest.$ac_objext
31423 if { (ac_try="$ac_compile"
31424 case "(($ac_try" in
31425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31426 *) ac_try_echo=$ac_try;;
31427 esac
31428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31429 (eval "$ac_compile") 2>conftest.er1
31430 ac_status=$?
31431 grep -v '^ *+' conftest.er1 >conftest.err
31432 rm -f conftest.er1
31433 cat conftest.err >&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); } && {
31436 test -z "$ac_c_werror_flag" ||
31437 test ! -s conftest.err
31438 } && test -s conftest.$ac_objext; then
31439 ac_cv_header_X11_Xlib_h=yes
31440 else
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.$ac_ext >&5
31443
31444 ac_cv_header_X11_Xlib_h=no
31445 fi
31446
31447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31448 fi
31449 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31450 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31451
31452
31453 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31454 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31455 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31456 echo $ECHO_N "(cached) $ECHO_C" >&6
31457 else
31458 cat >conftest.$ac_ext <<_ACEOF
31459 /* confdefs.h. */
31460 _ACEOF
31461 cat confdefs.h >>conftest.$ac_ext
31462 cat >>conftest.$ac_ext <<_ACEOF
31463 /* end confdefs.h. */
31464
31465 #if HAVE_X11_XLIB_H
31466 #include <X11/Xlib.h>
31467 #endif
31468
31469
31470 #include <X11/XKBlib.h>
31471 _ACEOF
31472 rm -f conftest.$ac_objext
31473 if { (ac_try="$ac_compile"
31474 case "(($ac_try" in
31475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31476 *) ac_try_echo=$ac_try;;
31477 esac
31478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31479 (eval "$ac_compile") 2>conftest.er1
31480 ac_status=$?
31481 grep -v '^ *+' conftest.er1 >conftest.err
31482 rm -f conftest.er1
31483 cat conftest.err >&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } && {
31486 test -z "$ac_c_werror_flag" ||
31487 test ! -s conftest.err
31488 } && test -s conftest.$ac_objext; then
31489 ac_cv_header_X11_XKBlib_h=yes
31490 else
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494 ac_cv_header_X11_XKBlib_h=no
31495 fi
31496
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 fi
31499 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31500 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31501
31502
31503 fi
31504 fi
31505
31506
31507
31508 IODBC_C_SRC=""
31509
31510
31511 if test "$TOOLKIT" != "MSW" ; then
31512
31513 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31514
31515 { echo "$as_me:$LINENO: checking for sql.h" >&5
31516 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31517 if test "${ac_cv_header_sql_h+set}" = set; then
31518 echo $ECHO_N "(cached) $ECHO_C" >&6
31519 else
31520 cat >conftest.$ac_ext <<_ACEOF
31521 /* confdefs.h. */
31522 _ACEOF
31523 cat confdefs.h >>conftest.$ac_ext
31524 cat >>conftest.$ac_ext <<_ACEOF
31525 /* end confdefs.h. */
31526
31527
31528 #include <sql.h>
31529 _ACEOF
31530 rm -f conftest.$ac_objext
31531 if { (ac_try="$ac_compile"
31532 case "(($ac_try" in
31533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31534 *) ac_try_echo=$ac_try;;
31535 esac
31536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31537 (eval "$ac_compile") 2>conftest.er1
31538 ac_status=$?
31539 grep -v '^ *+' conftest.er1 >conftest.err
31540 rm -f conftest.er1
31541 cat conftest.err >&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); } && {
31544 test -z "$ac_c_werror_flag" ||
31545 test ! -s conftest.err
31546 } && test -s conftest.$ac_objext; then
31547 ac_cv_header_sql_h=yes
31548 else
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.$ac_ext >&5
31551
31552 ac_cv_header_sql_h=no
31553 fi
31554
31555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31556 fi
31557 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31558 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31559 if test $ac_cv_header_sql_h = yes; then
31560 found_sql_h=1
31561 fi
31562
31563
31564 if test "x$found_sql_h" = "x1" ; then
31565 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31566 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31567 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31568 echo $ECHO_N "(cached) $ECHO_C" >&6
31569 else
31570 ac_check_lib_save_LIBS=$LIBS
31571 LIBS="-liodbc $LIBS"
31572 cat >conftest.$ac_ext <<_ACEOF
31573 /* confdefs.h. */
31574 _ACEOF
31575 cat confdefs.h >>conftest.$ac_ext
31576 cat >>conftest.$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578
31579 /* Override any GCC internal prototype to avoid an error.
31580 Use char because int might match the return type of a GCC
31581 builtin and then its argument prototype would still apply. */
31582 #ifdef __cplusplus
31583 extern "C"
31584 #endif
31585 char SQLAllocEnv ();
31586 int
31587 main ()
31588 {
31589 return SQLAllocEnv ();
31590 ;
31591 return 0;
31592 }
31593 _ACEOF
31594 rm -f conftest.$ac_objext conftest$ac_exeext
31595 if { (ac_try="$ac_link"
31596 case "(($ac_try" in
31597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31598 *) ac_try_echo=$ac_try;;
31599 esac
31600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31601 (eval "$ac_link") 2>conftest.er1
31602 ac_status=$?
31603 grep -v '^ *+' conftest.er1 >conftest.err
31604 rm -f conftest.er1
31605 cat conftest.err >&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } && {
31608 test -z "$ac_c_werror_flag" ||
31609 test ! -s conftest.err
31610 } && test -s conftest$ac_exeext &&
31611 $as_test_x conftest$ac_exeext; then
31612 ac_cv_lib_iodbc_SQLAllocEnv=yes
31613 else
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.$ac_ext >&5
31616
31617 ac_cv_lib_iodbc_SQLAllocEnv=no
31618 fi
31619
31620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31621 conftest$ac_exeext conftest.$ac_ext
31622 LIBS=$ac_check_lib_save_LIBS
31623 fi
31624 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31625 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31626 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31627 ODBC_LINK=" -liodbc"
31628 else
31629
31630 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31631 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31632 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31633 echo $ECHO_N "(cached) $ECHO_C" >&6
31634 else
31635 ac_check_lib_save_LIBS=$LIBS
31636 LIBS="-lunixodbc $LIBS"
31637 cat >conftest.$ac_ext <<_ACEOF
31638 /* confdefs.h. */
31639 _ACEOF
31640 cat confdefs.h >>conftest.$ac_ext
31641 cat >>conftest.$ac_ext <<_ACEOF
31642 /* end confdefs.h. */
31643
31644 /* Override any GCC internal prototype to avoid an error.
31645 Use char because int might match the return type of a GCC
31646 builtin and then its argument prototype would still apply. */
31647 #ifdef __cplusplus
31648 extern "C"
31649 #endif
31650 char SQLAllocEnv ();
31651 int
31652 main ()
31653 {
31654 return SQLAllocEnv ();
31655 ;
31656 return 0;
31657 }
31658 _ACEOF
31659 rm -f conftest.$ac_objext conftest$ac_exeext
31660 if { (ac_try="$ac_link"
31661 case "(($ac_try" in
31662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31663 *) ac_try_echo=$ac_try;;
31664 esac
31665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31666 (eval "$ac_link") 2>conftest.er1
31667 ac_status=$?
31668 grep -v '^ *+' conftest.er1 >conftest.err
31669 rm -f conftest.er1
31670 cat conftest.err >&5
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); } && {
31673 test -z "$ac_c_werror_flag" ||
31674 test ! -s conftest.err
31675 } && test -s conftest$ac_exeext &&
31676 $as_test_x conftest$ac_exeext; then
31677 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31678 else
31679 echo "$as_me: failed program was:" >&5
31680 sed 's/^/| /' conftest.$ac_ext >&5
31681
31682 ac_cv_lib_unixodbc_SQLAllocEnv=no
31683 fi
31684
31685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31686 conftest$ac_exeext conftest.$ac_ext
31687 LIBS=$ac_check_lib_save_LIBS
31688 fi
31689 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31690 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31691 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31692 ODBC_LINK=" -lunixodbc"
31693 else
31694
31695 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31696 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31697 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31699 else
31700 ac_check_lib_save_LIBS=$LIBS
31701 LIBS="-lodbc $LIBS"
31702 cat >conftest.$ac_ext <<_ACEOF
31703 /* confdefs.h. */
31704 _ACEOF
31705 cat confdefs.h >>conftest.$ac_ext
31706 cat >>conftest.$ac_ext <<_ACEOF
31707 /* end confdefs.h. */
31708
31709 /* Override any GCC internal prototype to avoid an error.
31710 Use char because int might match the return type of a GCC
31711 builtin and then its argument prototype would still apply. */
31712 #ifdef __cplusplus
31713 extern "C"
31714 #endif
31715 char SQLAllocEnv ();
31716 int
31717 main ()
31718 {
31719 return SQLAllocEnv ();
31720 ;
31721 return 0;
31722 }
31723 _ACEOF
31724 rm -f conftest.$ac_objext conftest$ac_exeext
31725 if { (ac_try="$ac_link"
31726 case "(($ac_try" in
31727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31728 *) ac_try_echo=$ac_try;;
31729 esac
31730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31731 (eval "$ac_link") 2>conftest.er1
31732 ac_status=$?
31733 grep -v '^ *+' conftest.er1 >conftest.err
31734 rm -f conftest.er1
31735 cat conftest.err >&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); } && {
31738 test -z "$ac_c_werror_flag" ||
31739 test ! -s conftest.err
31740 } && test -s conftest$ac_exeext &&
31741 $as_test_x conftest$ac_exeext; then
31742 ac_cv_lib_odbc_SQLAllocEnv=yes
31743 else
31744 echo "$as_me: failed program was:" >&5
31745 sed 's/^/| /' conftest.$ac_ext >&5
31746
31747 ac_cv_lib_odbc_SQLAllocEnv=no
31748 fi
31749
31750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31751 conftest$ac_exeext conftest.$ac_ext
31752 LIBS=$ac_check_lib_save_LIBS
31753 fi
31754 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31755 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31756 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31757 ODBC_LINK=" -lodbc"
31758 fi
31759
31760
31761 fi
31762
31763
31764 fi
31765
31766 fi
31767 if test "x$ODBC_LINK" = "x" ; then
31768 if test "$wxUSE_ODBC" = "sys" ; then
31769 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31770 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31771 { (exit 1); exit 1; }; }
31772 else
31773 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31774 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31775 wxUSE_ODBC=builtin
31776 fi
31777 else
31778 wxUSE_ODBC=sys
31779 fi
31780 fi
31781
31782 if test "$wxUSE_ODBC" = "builtin" ; then
31783 cat >>confdefs.h <<\_ACEOF
31784 #define wxUSE_BUILTIN_IODBC 1
31785 _ACEOF
31786
31787 fi
31788 fi
31789
31790 if test "$wxUSE_ODBC" != "no" ; then
31791 cat >>confdefs.h <<\_ACEOF
31792 #define wxUSE_ODBC 1
31793 _ACEOF
31794
31795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31796
31797 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31798 fi
31799
31800
31801 if test "$wxUSE_DISPLAY" = "yes"; then
31802 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31803 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31804 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31805
31806 ac_find_libraries=
31807 for ac_dir in $SEARCH_LIB;
31808 do
31809 for ac_extension in a so sl dylib dll.a; do
31810 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31811 ac_find_libraries=$ac_dir
31812 break 2
31813 fi
31814 done
31815 done
31816
31817 if test "$ac_find_libraries" != "" ; then
31818
31819 if test "$ac_find_libraries" = "default location"; then
31820 ac_path_to_link=""
31821 else
31822 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31823 result=$?
31824 if test $result = 0; then
31825 ac_path_to_link=""
31826 else
31827 ac_path_to_link=" -L$ac_find_libraries"
31828 fi
31829 fi
31830
31831 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31832 LDFLAGS="$LDFLAGS $ac_path_to_link"
31833 fi
31834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31835 { echo "$as_me:$LINENO: result: yes" >&5
31836 echo "${ECHO_T}yes" >&6; }
31837
31838 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31839 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31840
31841 ac_find_libraries=
31842 for ac_dir in $SEARCH_LIB;
31843 do
31844 for ac_extension in a so sl dylib dll.a; do
31845 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31846 ac_find_libraries=$ac_dir
31847 break 2
31848 fi
31849 done
31850 done
31851
31852 if test "$ac_find_libraries" != "" ; then
31853 { echo "$as_me:$LINENO: result: yes" >&5
31854 echo "${ECHO_T}yes" >&6; }
31855 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31856 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31857 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31858 echo $ECHO_N "(cached) $ECHO_C" >&6
31859 else
31860 cat >conftest.$ac_ext <<_ACEOF
31861 /* confdefs.h. */
31862 _ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31866
31867 #if HAVE_X11_XLIB_H
31868 #include <X11/Xlib.h>
31869 #endif
31870
31871
31872 #include <X11/extensions/xf86vmode.h>
31873 _ACEOF
31874 rm -f conftest.$ac_objext
31875 if { (ac_try="$ac_compile"
31876 case "(($ac_try" in
31877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31878 *) ac_try_echo=$ac_try;;
31879 esac
31880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31881 (eval "$ac_compile") 2>conftest.er1
31882 ac_status=$?
31883 grep -v '^ *+' conftest.er1 >conftest.err
31884 rm -f conftest.er1
31885 cat conftest.err >&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } && {
31888 test -z "$ac_c_werror_flag" ||
31889 test ! -s conftest.err
31890 } && test -s conftest.$ac_objext; then
31891 ac_cv_header_X11_extensions_xf86vmode_h=yes
31892 else
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.$ac_ext >&5
31895
31896 ac_cv_header_X11_extensions_xf86vmode_h=no
31897 fi
31898
31899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31900 fi
31901 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31902 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31903 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31904
31905 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31906
31907 fi
31908
31909
31910 else
31911 { echo "$as_me:$LINENO: result: no" >&5
31912 echo "${ECHO_T}no" >&6; }
31913 fi
31914
31915 else
31916 { echo "$as_me:$LINENO: result: no" >&5
31917 echo "${ECHO_T}no" >&6; }
31918 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31919 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31920 wxUSE_DISPLAY="no"
31921 fi
31922 elif test "$wxUSE_MSW" = 1; then
31923 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31924 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31925 if test "${ac_cv_header_ddraw_h+set}" = set; then
31926 echo $ECHO_N "(cached) $ECHO_C" >&6
31927 else
31928 cat >conftest.$ac_ext <<_ACEOF
31929 /* confdefs.h. */
31930 _ACEOF
31931 cat confdefs.h >>conftest.$ac_ext
31932 cat >>conftest.$ac_ext <<_ACEOF
31933 /* end confdefs.h. */
31934 #include <windows.h>
31935
31936 #include <ddraw.h>
31937 _ACEOF
31938 rm -f conftest.$ac_objext
31939 if { (ac_try="$ac_compile"
31940 case "(($ac_try" in
31941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31942 *) ac_try_echo=$ac_try;;
31943 esac
31944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31945 (eval "$ac_compile") 2>conftest.er1
31946 ac_status=$?
31947 grep -v '^ *+' conftest.er1 >conftest.err
31948 rm -f conftest.er1
31949 cat conftest.err >&5
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); } && {
31952 test -z "$ac_c_werror_flag" ||
31953 test ! -s conftest.err
31954 } && test -s conftest.$ac_objext; then
31955 ac_cv_header_ddraw_h=yes
31956 else
31957 echo "$as_me: failed program was:" >&5
31958 sed 's/^/| /' conftest.$ac_ext >&5
31959
31960 ac_cv_header_ddraw_h=no
31961 fi
31962
31963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31964 fi
31965 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31966 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31967
31968
31969 fi
31970 fi
31971
31972 if test "$wxUSE_DETECT_SM" = "yes"; then
31973 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31974 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31975 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31976
31977 ac_find_libraries=
31978 for ac_dir in $SEARCH_LIB;
31979 do
31980 for ac_extension in a so sl dylib dll.a; do
31981 if test -f "$ac_dir/libSM.$ac_extension"; then
31982 ac_find_libraries=$ac_dir
31983 break 2
31984 fi
31985 done
31986 done
31987
31988 if test "$ac_find_libraries" != "" ; then
31989
31990 if test "$ac_find_libraries" = "default location"; then
31991 ac_path_to_link=""
31992 else
31993 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31994 result=$?
31995 if test $result = 0; then
31996 ac_path_to_link=""
31997 else
31998 ac_path_to_link=" -L$ac_find_libraries"
31999 fi
32000 fi
32001
32002 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32003 LDFLAGS="$LDFLAGS $ac_path_to_link"
32004 fi
32005 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32006 { echo "$as_me:$LINENO: result: yes" >&5
32007 echo "${ECHO_T}yes" >&6; }
32008 else
32009 { echo "$as_me:$LINENO: result: no" >&5
32010 echo "${ECHO_T}no" >&6; }
32011 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32012 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32013 wxUSE_DETECT_SM="no"
32014 fi
32015 else
32016 wxUSE_DETECT_SM="no"
32017 fi
32018 fi
32019
32020
32021
32022 USE_OPENGL=0
32023 if test "$wxUSE_OPENGL" = "yes"; then
32024 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32025 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32026 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32027 wxUSE_OPENGL="no"
32028 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32029 OPENGL_LIBS="-framework OpenGL -framework AGL"
32030 elif test "$wxUSE_MSW" = 1; then
32031 OPENGL_LIBS="-lopengl32 -lglu32"
32032 else
32033 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32034 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32035
32036 ac_find_includes=
32037 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32038 do
32039 if test -f "$ac_dir/GL/gl.h"; then
32040 ac_find_includes=$ac_dir
32041 break
32042 fi
32043 done
32044
32045 if test "$ac_find_includes" != "" ; then
32046 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32047 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32048
32049 if test "x$ac_find_includes" = "x/usr/include"; then
32050 ac_path_to_include=""
32051 else
32052 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32053 result=$?
32054 if test $result = 0; then
32055 ac_path_to_include=""
32056 else
32057 ac_path_to_include=" -I$ac_find_includes"
32058 fi
32059 fi
32060
32061 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32062 else
32063 { echo "$as_me:$LINENO: result: not found" >&5
32064 echo "${ECHO_T}not found" >&6; }
32065 fi
32066
32067 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32068 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32069 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32070 echo $ECHO_N "(cached) $ECHO_C" >&6
32071 else
32072 cat >conftest.$ac_ext <<_ACEOF
32073 /* confdefs.h. */
32074 _ACEOF
32075 cat confdefs.h >>conftest.$ac_ext
32076 cat >>conftest.$ac_ext <<_ACEOF
32077 /* end confdefs.h. */
32078
32079
32080 #include <GL/gl.h>
32081 _ACEOF
32082 rm -f conftest.$ac_objext
32083 if { (ac_try="$ac_compile"
32084 case "(($ac_try" in
32085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32086 *) ac_try_echo=$ac_try;;
32087 esac
32088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32089 (eval "$ac_compile") 2>conftest.er1
32090 ac_status=$?
32091 grep -v '^ *+' conftest.er1 >conftest.err
32092 rm -f conftest.er1
32093 cat conftest.err >&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } && {
32096 test -z "$ac_c_werror_flag" ||
32097 test ! -s conftest.err
32098 } && test -s conftest.$ac_objext; then
32099 ac_cv_header_GL_gl_h=yes
32100 else
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32103
32104 ac_cv_header_GL_gl_h=no
32105 fi
32106
32107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32108 fi
32109 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32110 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32111 if test $ac_cv_header_GL_gl_h = yes; then
32112
32113 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32114 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32115 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32116 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 fi
32119 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32120 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32121 else
32122 # Is the header compilable?
32123 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32124 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32125 cat >conftest.$ac_ext <<_ACEOF
32126 /* confdefs.h. */
32127 _ACEOF
32128 cat confdefs.h >>conftest.$ac_ext
32129 cat >>conftest.$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32131 $ac_includes_default
32132 #include <GL/glu.h>
32133 _ACEOF
32134 rm -f conftest.$ac_objext
32135 if { (ac_try="$ac_compile"
32136 case "(($ac_try" in
32137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32138 *) ac_try_echo=$ac_try;;
32139 esac
32140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32141 (eval "$ac_compile") 2>conftest.er1
32142 ac_status=$?
32143 grep -v '^ *+' conftest.er1 >conftest.err
32144 rm -f conftest.er1
32145 cat conftest.err >&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } && {
32148 test -z "$ac_c_werror_flag" ||
32149 test ! -s conftest.err
32150 } && test -s conftest.$ac_objext; then
32151 ac_header_compiler=yes
32152 else
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32155
32156 ac_header_compiler=no
32157 fi
32158
32159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32160 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32161 echo "${ECHO_T}$ac_header_compiler" >&6; }
32162
32163 # Is the header present?
32164 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32165 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32166 cat >conftest.$ac_ext <<_ACEOF
32167 /* confdefs.h. */
32168 _ACEOF
32169 cat confdefs.h >>conftest.$ac_ext
32170 cat >>conftest.$ac_ext <<_ACEOF
32171 /* end confdefs.h. */
32172 #include <GL/glu.h>
32173 _ACEOF
32174 if { (ac_try="$ac_cpp conftest.$ac_ext"
32175 case "(($ac_try" in
32176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32177 *) ac_try_echo=$ac_try;;
32178 esac
32179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32181 ac_status=$?
32182 grep -v '^ *+' conftest.er1 >conftest.err
32183 rm -f conftest.er1
32184 cat conftest.err >&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } >/dev/null && {
32187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32188 test ! -s conftest.err
32189 }; then
32190 ac_header_preproc=yes
32191 else
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32194
32195 ac_header_preproc=no
32196 fi
32197
32198 rm -f conftest.err conftest.$ac_ext
32199 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32200 echo "${ECHO_T}$ac_header_preproc" >&6; }
32201
32202 # So? What about this header?
32203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32204 yes:no: )
32205 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32206 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32207 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32208 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32209 ac_header_preproc=yes
32210 ;;
32211 no:yes:* )
32212 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32213 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32214 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32215 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32216 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32217 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32218 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32219 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32220 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32221 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32222 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32223 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32224 ( cat <<\_ASBOX
32225 ## ----------------------------------------- ##
32226 ## Report this to wx-dev@lists.wxwidgets.org ##
32227 ## ----------------------------------------- ##
32228 _ASBOX
32229 ) | sed "s/^/$as_me: WARNING: /" >&2
32230 ;;
32231 esac
32232 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32233 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32234 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 else
32237 ac_cv_header_GL_glu_h=$ac_header_preproc
32238 fi
32239 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32240 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32241
32242 fi
32243 if test $ac_cv_header_GL_glu_h = yes; then
32244
32245 found_gl=0
32246
32247 { echo "$as_me:$LINENO: checking for -lGL" >&5
32248 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32249
32250 ac_find_libraries=
32251 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32252 do
32253 for ac_extension in a so sl dylib dll.a; do
32254 if test -f "$ac_dir/libGL.$ac_extension"; then
32255 ac_find_libraries=$ac_dir
32256 break 2
32257 fi
32258 done
32259 done
32260
32261 if test "$ac_find_libraries" != "" ; then
32262 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32263 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32264
32265
32266 if test "$ac_find_libraries" = "default location"; then
32267 ac_path_to_link=""
32268 else
32269 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32270 result=$?
32271 if test $result = 0; then
32272 ac_path_to_link=""
32273 else
32274 ac_path_to_link=" -L$ac_find_libraries"
32275 fi
32276 fi
32277
32278 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32279 LDFLAGS_GL="$ac_path_to_link"
32280 fi
32281
32282 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32283 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32284
32285 ac_find_libraries=
32286 for ac_dir in $SEARCH_LIB;
32287 do
32288 for ac_extension in a so sl dylib dll.a; do
32289 if test -f "$ac_dir/libGLU.$ac_extension"; then
32290 ac_find_libraries=$ac_dir
32291 break 2
32292 fi
32293 done
32294 done
32295
32296 if test "$ac_find_libraries" != "" ; then
32297
32298 if test "$ac_find_libraries" = "default location"; then
32299 ac_path_to_link=""
32300 else
32301 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32302 result=$?
32303 if test $result = 0; then
32304 ac_path_to_link=""
32305 else
32306 ac_path_to_link=" -L$ac_find_libraries"
32307 fi
32308 fi
32309
32310 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32311 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32312 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32313 fi
32314
32315 found_gl=1
32316 OPENGL_LIBS="-lGL -lGLU"
32317 { echo "$as_me:$LINENO: result: yes" >&5
32318 echo "${ECHO_T}yes" >&6; }
32319 else
32320 { echo "$as_me:$LINENO: result: no" >&5
32321 echo "${ECHO_T}no" >&6; }
32322 fi
32323 else
32324 { echo "$as_me:$LINENO: result: no" >&5
32325 echo "${ECHO_T}no" >&6; }
32326 fi
32327
32328 if test "$found_gl" != 1; then
32329 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32330 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32331
32332 ac_find_libraries=
32333 for ac_dir in $SEARCH_LIB;
32334 do
32335 for ac_extension in a so sl dylib dll.a; do
32336 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32337 ac_find_libraries=$ac_dir
32338 break 2
32339 fi
32340 done
32341 done
32342
32343 if test "$ac_find_libraries" != "" ; then
32344
32345 if test "$ac_find_libraries" = "default location"; then
32346 ac_path_to_link=""
32347 else
32348 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32349 result=$?
32350 if test $result = 0; then
32351 ac_path_to_link=""
32352 else
32353 ac_path_to_link=" -L$ac_find_libraries"
32354 fi
32355 fi
32356
32357 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32358 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32359 { echo "$as_me:$LINENO: result: yes" >&5
32360 echo "${ECHO_T}yes" >&6; }
32361 else
32362 { echo "$as_me:$LINENO: result: no" >&5
32363 echo "${ECHO_T}no" >&6; }
32364 fi
32365 fi
32366
32367 fi
32368
32369
32370
32371 fi
32372
32373
32374
32375 if test "x$OPENGL_LIBS" = "x"; then
32376 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32377 echo "$as_me: error: OpenGL libraries not available" >&2;}
32378 { (exit 1); exit 1; }; }
32379 fi
32380 fi
32381
32382 if test "$wxUSE_OPENGL" = "yes"; then
32383 USE_OPENGL=1
32384 cat >>confdefs.h <<\_ACEOF
32385 #define wxUSE_OPENGL 1
32386 _ACEOF
32387
32388 cat >>confdefs.h <<\_ACEOF
32389 #define wxUSE_GLCANVAS 1
32390 _ACEOF
32391
32392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32393 fi
32394 fi
32395
32396
32397 if test -n "$TOOLKIT" ; then
32398 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32399 fi
32400
32401
32402
32403 if test "$wxUSE_SHARED" = "yes"; then
32404 case "${host}" in
32405 *-pc-msdosdjgpp )
32406 wxUSE_SHARED=no
32407 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32408 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32409 ;;
32410 esac
32411 fi
32412
32413 if test "$wxUSE_SHARED" = "yes"; then
32414
32415
32416 case "${host}" in
32417 *-*-cygwin* | *-*-mingw* )
32418 wx_cv_version_script=no
32419 ;;
32420
32421 *)
32422 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32423 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32424 if test "${wx_cv_version_script+set}" = set; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 else
32427
32428 echo "VER_1 { *; };" >conftest.sym
32429 echo "int main() { return 0; }" >conftest.cpp
32430
32431 if { ac_try='
32432 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32433 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } ; then
32439 if test -s conftest.stderr ; then
32440 wx_cv_version_script=no
32441 else
32442 wx_cv_version_script=yes
32443 fi
32444 else
32445 wx_cv_version_script=no
32446 fi
32447
32448 if test $wx_cv_version_script = yes
32449 then
32450 echo "struct B { virtual ~B() { } }; \
32451 struct D : public B { }; \
32452 void F() { D d; }" > conftest.cpp
32453
32454 if { ac_try='
32455 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32456 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32458 (eval $ac_try) 2>&5
32459 ac_status=$?
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); }; } &&
32462 { ac_try='
32463 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32464 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32467 ac_status=$?
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; }
32470 then
32471 if { ac_try='
32472 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32473 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32476 ac_status=$?
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; }
32479 then
32480 wx_cv_version_script=yes
32481 else
32482 wx_cv_version_script=no
32483 fi
32484 fi
32485 fi
32486
32487 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32488 rm -f conftest1.output conftest2.output conftest3.output
32489
32490 fi
32491 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32492 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32493
32494 if test $wx_cv_version_script = yes ; then
32495 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32496 fi
32497 ;;
32498 esac
32499
32500
32501 case "${host}" in
32502 *-*-linux* | *-*-gnu* )
32503 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32504 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32505 ;;
32506
32507 *-*-solaris2* )
32508 if test "$GCC" = yes ; then
32509 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32510
32511 saveLdflags="$LDFLAGS"
32512 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32513 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32514 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32515 cat >conftest.$ac_ext <<_ACEOF
32516 /* confdefs.h. */
32517 _ACEOF
32518 cat confdefs.h >>conftest.$ac_ext
32519 cat >>conftest.$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32521
32522 int
32523 main ()
32524 {
32525
32526 ;
32527 return 0;
32528 }
32529 _ACEOF
32530 rm -f conftest.$ac_objext conftest$ac_exeext
32531 if { (ac_try="$ac_link"
32532 case "(($ac_try" in
32533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32535 esac
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_link") 2>conftest.er1
32538 ac_status=$?
32539 grep -v '^ *+' conftest.er1 >conftest.err
32540 rm -f conftest.er1
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest$ac_exeext &&
32547 $as_test_x conftest$ac_exeext; then
32548
32549 { echo "$as_me:$LINENO: result: yes" >&5
32550 echo "${ECHO_T}yes" >&6; }
32551 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32552 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32553
32554 else
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32557
32558
32559 { echo "$as_me:$LINENO: result: no" >&5
32560 echo "${ECHO_T}no" >&6; }
32561 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32562 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32563 LDFLAGS="$saveLdflags -Wl,-R,/"
32564 cat >conftest.$ac_ext <<_ACEOF
32565 /* confdefs.h. */
32566 _ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570
32571 int
32572 main ()
32573 {
32574
32575 ;
32576 return 0;
32577 }
32578 _ACEOF
32579 rm -f conftest.$ac_objext conftest$ac_exeext
32580 if { (ac_try="$ac_link"
32581 case "(($ac_try" in
32582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32583 *) ac_try_echo=$ac_try;;
32584 esac
32585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32586 (eval "$ac_link") 2>conftest.er1
32587 ac_status=$?
32588 grep -v '^ *+' conftest.er1 >conftest.err
32589 rm -f conftest.er1
32590 cat conftest.err >&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); } && {
32593 test -z "$ac_c_werror_flag" ||
32594 test ! -s conftest.err
32595 } && test -s conftest$ac_exeext &&
32596 $as_test_x conftest$ac_exeext; then
32597
32598 { echo "$as_me:$LINENO: result: yes" >&5
32599 echo "${ECHO_T}yes" >&6; }
32600 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32601 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32602
32603 else
32604 echo "$as_me: failed program was:" >&5
32605 sed 's/^/| /' conftest.$ac_ext >&5
32606
32607
32608 { echo "$as_me:$LINENO: result: no" >&5
32609 echo "${ECHO_T}no" >&6; }
32610
32611 fi
32612
32613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32614 conftest$ac_exeext conftest.$ac_ext
32615
32616 fi
32617
32618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32619 conftest$ac_exeext conftest.$ac_ext
32620 LDFLAGS="$saveLdflags"
32621 else
32622 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32623 WXCONFIG_RPATH="-R\$libdir"
32624 fi
32625 ;;
32626
32627 *-*-darwin* )
32628 install_name_tool=`which install_name_tool`
32629 if test "$install_name_tool" -a -x "$install_name_tool"; then
32630 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32631 cat <<EOF >change-install-names
32632 #!/bin/sh
32633 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32634 inst_cmd="install_name_tool "
32635 for i in \${libnames} ; do
32636 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32637 done
32638 \${inst_cmd} \${3}
32639 EOF
32640 chmod +x change-install-names
32641 fi
32642 ;;
32643
32644 *-*-cygwin* | *-*-mingw32* )
32645 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32646 ;;
32647
32648 *-*-hpux* )
32649 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32650 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32651 ;;
32652
32653 esac
32654
32655 if test $wxUSE_RPATH = "no"; then
32656 SAMPLES_RPATH_FLAG=''
32657 SAMPLES_RPATH_POSTLINK=''
32658 WXCONFIG_RPATH=''
32659 fi
32660
32661 SHARED=1
32662
32663 else
32664
32665 config_linkage_component="-static"
32666 SHARED=0
32667
32668 fi
32669
32670
32671 UNICODE=0
32672 lib_unicode_suffix=
32673 WX_CHARTYPE="ansi"
32674 if test "$wxUSE_UNICODE" = "yes"; then
32675 lib_unicode_suffix=u
32676 WX_CHARTYPE="unicode"
32677 UNICODE=1
32678 fi
32679
32680 lib_debug_suffix=
32681 WX_DEBUGTYPE="release"
32682 DEBUG_FLAG=0
32683 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32684 lib_debug_suffix=d
32685 WX_DEBUGTYPE="debug"
32686 DEBUG_FLAG=1
32687 fi
32688
32689 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32690 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32691
32692 DEBUG_INFO=0
32693 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32694 DEBUG_INFO=1
32695 fi
32696
32697 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32698
32699 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32700
32701 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32702
32703 if test "$cross_compiling" = "yes"; then
32704 HOST_SUFFIX="-$host_alias"
32705 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32706 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32707 fi
32708
32709 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32710 if test "${TOOLKIT_DIR}" = "os2"; then
32711 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32712 else
32713 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32714 fi
32715
32716
32717
32718 if test "$wxUSE_COCOA" = 1; then
32719
32720 ac_ext=c
32721 ac_cpp='$CPP $CPPFLAGS'
32722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32725
32726 ac_ext=m
32727
32728 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32729 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32730 cat >conftest.$ac_ext <<_ACEOF
32731 /* confdefs.h. */
32732 _ACEOF
32733 cat confdefs.h >>conftest.$ac_ext
32734 cat >>conftest.$ac_ext <<_ACEOF
32735 /* end confdefs.h. */
32736 #include <AppKit/NSEvent.h>
32737 #include <CoreFoundation/CoreFoundation.h>
32738
32739 int
32740 main ()
32741 {
32742
32743 ;
32744 return 0;
32745 }
32746 _ACEOF
32747 rm -f conftest.$ac_objext
32748 if { (ac_try="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32751 *) ac_try_echo=$ac_try;;
32752 esac
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32755 ac_status=$?
32756 grep -v '^ *+' conftest.er1 >conftest.err
32757 rm -f conftest.er1
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && {
32761 test -z "$ac_c_werror_flag" ||
32762 test ! -s conftest.err
32763 } && test -s conftest.$ac_objext; then
32764 { echo "$as_me:$LINENO: result: no" >&5
32765 echo "${ECHO_T}no" >&6; }
32766 else
32767 echo "$as_me: failed program was:" >&5
32768 sed 's/^/| /' conftest.$ac_ext >&5
32769
32770 { echo "$as_me:$LINENO: result: yes" >&5
32771 echo "${ECHO_T}yes" >&6; }
32772 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32773 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32774 cat >conftest.$ac_ext <<_ACEOF
32775 /* confdefs.h. */
32776 _ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 #define __Point__ 1
32781 #include <AppKit/NSEvent.h>
32782 #include <CoreFoundation/CoreFoundation.h>
32783
32784 int
32785 main ()
32786 {
32787
32788 ;
32789 return 0;
32790 }
32791 _ACEOF
32792 rm -f conftest.$ac_objext
32793 if { (ac_try="$ac_compile"
32794 case "(($ac_try" in
32795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32796 *) ac_try_echo=$ac_try;;
32797 esac
32798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32799 (eval "$ac_compile") 2>conftest.er1
32800 ac_status=$?
32801 grep -v '^ *+' conftest.er1 >conftest.err
32802 rm -f conftest.er1
32803 cat conftest.err >&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } && {
32806 test -z "$ac_c_werror_flag" ||
32807 test ! -s conftest.err
32808 } && test -s conftest.$ac_objext; then
32809 { echo "$as_me:$LINENO: result: yes" >&5
32810 echo "${ECHO_T}yes" >&6; }
32811 cat >>confdefs.h <<\_ACEOF
32812 #define __Point__ 1
32813 _ACEOF
32814
32815
32816 else
32817 echo "$as_me: failed program was:" >&5
32818 sed 's/^/| /' conftest.$ac_ext >&5
32819
32820 { { echo "$as_me:$LINENO: error: no
32821 See \`config.log' for more details." >&5
32822 echo "$as_me: error: no
32823 See \`config.log' for more details." >&2;}
32824 { (exit 1); exit 1; }; }
32825
32826 fi
32827
32828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32829
32830 fi
32831
32832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32833 ac_ext=c
32834 ac_cpp='$CPP $CPPFLAGS'
32835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32838
32839 fi
32840
32841 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32842 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32843 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32844
32845 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32846
32847 # Extract the first word of "Rez", so it can be a program name with args.
32848 set dummy Rez; ac_word=$2
32849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32851 if test "${ac_cv_prog_REZ+set}" = set; then
32852 echo $ECHO_N "(cached) $ECHO_C" >&6
32853 else
32854 if test -n "$REZ"; then
32855 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32856 else
32857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32858 for as_dir in $PATH
32859 do
32860 IFS=$as_save_IFS
32861 test -z "$as_dir" && as_dir=.
32862 for ac_exec_ext in '' $ac_executable_extensions; do
32863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32864 ac_cv_prog_REZ="Rez"
32865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32866 break 2
32867 fi
32868 done
32869 done
32870 IFS=$as_save_IFS
32871
32872 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32873 fi
32874 fi
32875 REZ=$ac_cv_prog_REZ
32876 if test -n "$REZ"; then
32877 { echo "$as_me:$LINENO: result: $REZ" >&5
32878 echo "${ECHO_T}$REZ" >&6; }
32879 else
32880 { echo "$as_me:$LINENO: result: no" >&5
32881 echo "${ECHO_T}no" >&6; }
32882 fi
32883
32884
32885 # Extract the first word of "DeRez", so it can be a program name with args.
32886 set dummy DeRez; ac_word=$2
32887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32889 if test "${ac_cv_prog_DEREZ+set}" = set; then
32890 echo $ECHO_N "(cached) $ECHO_C" >&6
32891 else
32892 if test -n "$DEREZ"; then
32893 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32894 else
32895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32896 for as_dir in $PATH
32897 do
32898 IFS=$as_save_IFS
32899 test -z "$as_dir" && as_dir=.
32900 for ac_exec_ext in '' $ac_executable_extensions; do
32901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32902 ac_cv_prog_DEREZ="DeRez"
32903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32904 break 2
32905 fi
32906 done
32907 done
32908 IFS=$as_save_IFS
32909
32910 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32911 fi
32912 fi
32913 DEREZ=$ac_cv_prog_DEREZ
32914 if test -n "$DEREZ"; then
32915 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32916 echo "${ECHO_T}$DEREZ" >&6; }
32917 else
32918 { echo "$as_me:$LINENO: result: no" >&5
32919 echo "${ECHO_T}no" >&6; }
32920 fi
32921
32922
32923 # Extract the first word of "SetFile", so it can be a program name with args.
32924 set dummy SetFile; ac_word=$2
32925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32927 if test "${ac_cv_prog_SETFILE+set}" = set; then
32928 echo $ECHO_N "(cached) $ECHO_C" >&6
32929 else
32930 if test -n "$SETFILE"; then
32931 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32932 else
32933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32934 for as_dir in $PATH
32935 do
32936 IFS=$as_save_IFS
32937 test -z "$as_dir" && as_dir=.
32938 for ac_exec_ext in '' $ac_executable_extensions; do
32939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32940 ac_cv_prog_SETFILE="SetFile"
32941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32942 break 2
32943 fi
32944 done
32945 done
32946 IFS=$as_save_IFS
32947
32948 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32949 fi
32950 fi
32951 SETFILE=$ac_cv_prog_SETFILE
32952 if test -n "$SETFILE"; then
32953 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32954 echo "${ECHO_T}$SETFILE" >&6; }
32955 else
32956 { echo "$as_me:$LINENO: result: no" >&5
32957 echo "${ECHO_T}no" >&6; }
32958 fi
32959
32960
32961
32962 MACSETFILE="\$(SETFILE)"
32963
32964 if test "$wxUSE_MAC" = 1; then
32965 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32966 RESCOMP="$REZ"
32967 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32968 else
32969 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32970 RESCOMP="echo -n \| $REZ"
32971 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32972 fi
32973
32974 else
32975 MACSETFILE="@true"
32976
32977 if test "$wxUSE_PM" = 1; then
32978 RESCOMP="emxbind"
32979 WXCONFIG_RESFLAGS="-ep"
32980
32981 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32982 else
32983 POSTLINK_COMMAND="@true"
32984 fi
32985
32986 fi
32987
32988
32989
32990 { echo "$as_me:$LINENO: checking for mode_t" >&5
32991 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32992 if test "${ac_cv_type_mode_t+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32994 else
32995 cat >conftest.$ac_ext <<_ACEOF
32996 /* confdefs.h. */
32997 _ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001 $ac_includes_default
33002 typedef mode_t ac__type_new_;
33003 int
33004 main ()
33005 {
33006 if ((ac__type_new_ *) 0)
33007 return 0;
33008 if (sizeof (ac__type_new_))
33009 return 0;
33010 ;
33011 return 0;
33012 }
33013 _ACEOF
33014 rm -f conftest.$ac_objext
33015 if { (ac_try="$ac_compile"
33016 case "(($ac_try" in
33017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33018 *) ac_try_echo=$ac_try;;
33019 esac
33020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33021 (eval "$ac_compile") 2>conftest.er1
33022 ac_status=$?
33023 grep -v '^ *+' conftest.er1 >conftest.err
33024 rm -f conftest.er1
33025 cat conftest.err >&5
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); } && {
33028 test -z "$ac_c_werror_flag" ||
33029 test ! -s conftest.err
33030 } && test -s conftest.$ac_objext; then
33031 ac_cv_type_mode_t=yes
33032 else
33033 echo "$as_me: failed program was:" >&5
33034 sed 's/^/| /' conftest.$ac_ext >&5
33035
33036 ac_cv_type_mode_t=no
33037 fi
33038
33039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33040 fi
33041 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33042 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33043 if test $ac_cv_type_mode_t = yes; then
33044 :
33045 else
33046
33047 cat >>confdefs.h <<_ACEOF
33048 #define mode_t int
33049 _ACEOF
33050
33051 fi
33052
33053 { echo "$as_me:$LINENO: checking for off_t" >&5
33054 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33055 if test "${ac_cv_type_off_t+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33057 else
33058 cat >conftest.$ac_ext <<_ACEOF
33059 /* confdefs.h. */
33060 _ACEOF
33061 cat confdefs.h >>conftest.$ac_ext
33062 cat >>conftest.$ac_ext <<_ACEOF
33063 /* end confdefs.h. */
33064 $ac_includes_default
33065 typedef off_t ac__type_new_;
33066 int
33067 main ()
33068 {
33069 if ((ac__type_new_ *) 0)
33070 return 0;
33071 if (sizeof (ac__type_new_))
33072 return 0;
33073 ;
33074 return 0;
33075 }
33076 _ACEOF
33077 rm -f conftest.$ac_objext
33078 if { (ac_try="$ac_compile"
33079 case "(($ac_try" in
33080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33081 *) ac_try_echo=$ac_try;;
33082 esac
33083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33084 (eval "$ac_compile") 2>conftest.er1
33085 ac_status=$?
33086 grep -v '^ *+' conftest.er1 >conftest.err
33087 rm -f conftest.er1
33088 cat conftest.err >&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); } && {
33091 test -z "$ac_c_werror_flag" ||
33092 test ! -s conftest.err
33093 } && test -s conftest.$ac_objext; then
33094 ac_cv_type_off_t=yes
33095 else
33096 echo "$as_me: failed program was:" >&5
33097 sed 's/^/| /' conftest.$ac_ext >&5
33098
33099 ac_cv_type_off_t=no
33100 fi
33101
33102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33103 fi
33104 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33105 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33106 if test $ac_cv_type_off_t = yes; then
33107 :
33108 else
33109
33110 cat >>confdefs.h <<_ACEOF
33111 #define off_t long int
33112 _ACEOF
33113
33114 fi
33115
33116 { echo "$as_me:$LINENO: checking for pid_t" >&5
33117 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33118 if test "${ac_cv_type_pid_t+set}" = set; then
33119 echo $ECHO_N "(cached) $ECHO_C" >&6
33120 else
33121 cat >conftest.$ac_ext <<_ACEOF
33122 /* confdefs.h. */
33123 _ACEOF
33124 cat confdefs.h >>conftest.$ac_ext
33125 cat >>conftest.$ac_ext <<_ACEOF
33126 /* end confdefs.h. */
33127 $ac_includes_default
33128 typedef pid_t ac__type_new_;
33129 int
33130 main ()
33131 {
33132 if ((ac__type_new_ *) 0)
33133 return 0;
33134 if (sizeof (ac__type_new_))
33135 return 0;
33136 ;
33137 return 0;
33138 }
33139 _ACEOF
33140 rm -f conftest.$ac_objext
33141 if { (ac_try="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33144 *) ac_try_echo=$ac_try;;
33145 esac
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33148 ac_status=$?
33149 grep -v '^ *+' conftest.er1 >conftest.err
33150 rm -f conftest.er1
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.$ac_objext; then
33157 ac_cv_type_pid_t=yes
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162 ac_cv_type_pid_t=no
33163 fi
33164
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33166 fi
33167 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33168 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33169 if test $ac_cv_type_pid_t = yes; then
33170 :
33171 else
33172
33173 cat >>confdefs.h <<_ACEOF
33174 #define pid_t int
33175 _ACEOF
33176
33177 fi
33178
33179 { echo "$as_me:$LINENO: checking for size_t" >&5
33180 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33181 if test "${ac_cv_type_size_t+set}" = set; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33183 else
33184 cat >conftest.$ac_ext <<_ACEOF
33185 /* confdefs.h. */
33186 _ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190 $ac_includes_default
33191 typedef size_t ac__type_new_;
33192 int
33193 main ()
33194 {
33195 if ((ac__type_new_ *) 0)
33196 return 0;
33197 if (sizeof (ac__type_new_))
33198 return 0;
33199 ;
33200 return 0;
33201 }
33202 _ACEOF
33203 rm -f conftest.$ac_objext
33204 if { (ac_try="$ac_compile"
33205 case "(($ac_try" in
33206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33207 *) ac_try_echo=$ac_try;;
33208 esac
33209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33210 (eval "$ac_compile") 2>conftest.er1
33211 ac_status=$?
33212 grep -v '^ *+' conftest.er1 >conftest.err
33213 rm -f conftest.er1
33214 cat conftest.err >&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); } && {
33217 test -z "$ac_c_werror_flag" ||
33218 test ! -s conftest.err
33219 } && test -s conftest.$ac_objext; then
33220 ac_cv_type_size_t=yes
33221 else
33222 echo "$as_me: failed program was:" >&5
33223 sed 's/^/| /' conftest.$ac_ext >&5
33224
33225 ac_cv_type_size_t=no
33226 fi
33227
33228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33229 fi
33230 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33231 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33232 if test $ac_cv_type_size_t = yes; then
33233 :
33234 else
33235
33236 cat >>confdefs.h <<_ACEOF
33237 #define size_t unsigned int
33238 _ACEOF
33239
33240 fi
33241
33242 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33243 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33244 if test "${ac_cv_type_uid_t+set}" = set; then
33245 echo $ECHO_N "(cached) $ECHO_C" >&6
33246 else
33247 cat >conftest.$ac_ext <<_ACEOF
33248 /* confdefs.h. */
33249 _ACEOF
33250 cat confdefs.h >>conftest.$ac_ext
33251 cat >>conftest.$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33253 #include <sys/types.h>
33254
33255 _ACEOF
33256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33257 $EGREP "uid_t" >/dev/null 2>&1; then
33258 ac_cv_type_uid_t=yes
33259 else
33260 ac_cv_type_uid_t=no
33261 fi
33262 rm -f conftest*
33263
33264 fi
33265 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33266 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33267 if test $ac_cv_type_uid_t = no; then
33268
33269 cat >>confdefs.h <<\_ACEOF
33270 #define uid_t int
33271 _ACEOF
33272
33273
33274 cat >>confdefs.h <<\_ACEOF
33275 #define gid_t int
33276 _ACEOF
33277
33278 fi
33279
33280
33281 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33282 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33283 if test "${ac_cv_type_ssize_t+set}" = set; then
33284 echo $ECHO_N "(cached) $ECHO_C" >&6
33285 else
33286 cat >conftest.$ac_ext <<_ACEOF
33287 /* confdefs.h. */
33288 _ACEOF
33289 cat confdefs.h >>conftest.$ac_ext
33290 cat >>conftest.$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33292 $ac_includes_default
33293 typedef ssize_t ac__type_new_;
33294 int
33295 main ()
33296 {
33297 if ((ac__type_new_ *) 0)
33298 return 0;
33299 if (sizeof (ac__type_new_))
33300 return 0;
33301 ;
33302 return 0;
33303 }
33304 _ACEOF
33305 rm -f conftest.$ac_objext
33306 if { (ac_try="$ac_compile"
33307 case "(($ac_try" in
33308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33309 *) ac_try_echo=$ac_try;;
33310 esac
33311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33312 (eval "$ac_compile") 2>conftest.er1
33313 ac_status=$?
33314 grep -v '^ *+' conftest.er1 >conftest.err
33315 rm -f conftest.er1
33316 cat conftest.err >&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); } && {
33319 test -z "$ac_c_werror_flag" ||
33320 test ! -s conftest.err
33321 } && test -s conftest.$ac_objext; then
33322 ac_cv_type_ssize_t=yes
33323 else
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33326
33327 ac_cv_type_ssize_t=no
33328 fi
33329
33330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33331 fi
33332 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33333 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33334 if test $ac_cv_type_ssize_t = yes; then
33335
33336 cat >>confdefs.h <<_ACEOF
33337 #define HAVE_SSIZE_T 1
33338 _ACEOF
33339
33340
33341 fi
33342
33343
33344 ac_ext=cpp
33345 ac_cpp='$CXXCPP $CPPFLAGS'
33346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33349 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33350 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33351 if test "${wx_cv_size_t_is_uint+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 else
33354
33355 cat >conftest.$ac_ext <<_ACEOF
33356 /* confdefs.h. */
33357 _ACEOF
33358 cat confdefs.h >>conftest.$ac_ext
33359 cat >>conftest.$ac_ext <<_ACEOF
33360 /* end confdefs.h. */
33361 #include <stddef.h>
33362 int
33363 main ()
33364 {
33365
33366 return 0; }
33367
33368 struct Foo { void foo(size_t); void foo(unsigned int); };
33369
33370 int bar() {
33371
33372 ;
33373 return 0;
33374 }
33375 _ACEOF
33376 rm -f conftest.$ac_objext
33377 if { (ac_try="$ac_compile"
33378 case "(($ac_try" in
33379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33380 *) ac_try_echo=$ac_try;;
33381 esac
33382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33383 (eval "$ac_compile") 2>conftest.er1
33384 ac_status=$?
33385 grep -v '^ *+' conftest.er1 >conftest.err
33386 rm -f conftest.er1
33387 cat conftest.err >&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); } && {
33390 test -z "$ac_cxx_werror_flag" ||
33391 test ! -s conftest.err
33392 } && test -s conftest.$ac_objext; then
33393 wx_cv_size_t_is_uint=no
33394 else
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.$ac_ext >&5
33397
33398 wx_cv_size_t_is_uint=yes
33399
33400 fi
33401
33402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33403
33404
33405 fi
33406 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33407 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33408
33409 if test "$wx_cv_size_t_is_uint" = "yes"; then
33410 cat >>confdefs.h <<\_ACEOF
33411 #define wxSIZE_T_IS_UINT 1
33412 _ACEOF
33413
33414 else
33415 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33416 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33417 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 else
33420 cat >conftest.$ac_ext <<_ACEOF
33421 /* confdefs.h. */
33422 _ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426 #include <stddef.h>
33427 int
33428 main ()
33429 {
33430
33431 return 0; }
33432
33433 struct Foo { void foo(size_t); void foo(unsigned long); };
33434
33435 int bar() {
33436
33437 ;
33438 return 0;
33439 }
33440 _ACEOF
33441 rm -f conftest.$ac_objext
33442 if { (ac_try="$ac_compile"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33446 esac
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_compile") 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_cxx_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest.$ac_objext; then
33458 wx_cv_size_t_is_ulong=no
33459 else
33460 echo "$as_me: failed program was:" >&5
33461 sed 's/^/| /' conftest.$ac_ext >&5
33462
33463 wx_cv_size_t_is_ulong=yes
33464
33465 fi
33466
33467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33468
33469 fi
33470 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33471 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33472
33473 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33474 cat >>confdefs.h <<\_ACEOF
33475 #define wxSIZE_T_IS_ULONG 1
33476 _ACEOF
33477
33478 fi
33479 fi
33480
33481 ac_ext=c
33482 ac_cpp='$CPP $CPPFLAGS'
33483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33486
33487
33488 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33489 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33490 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33491 echo $ECHO_N "(cached) $ECHO_C" >&6
33492 else
33493
33494 cat >conftest.$ac_ext <<_ACEOF
33495 /* confdefs.h. */
33496 _ACEOF
33497 cat confdefs.h >>conftest.$ac_ext
33498 cat >>conftest.$ac_ext <<_ACEOF
33499 /* end confdefs.h. */
33500 #include <pwd.h>
33501 int
33502 main ()
33503 {
33504
33505 char *p;
33506 struct passwd *pw;
33507 p = pw->pw_gecos;
33508
33509 ;
33510 return 0;
33511 }
33512 _ACEOF
33513 rm -f conftest.$ac_objext
33514 if { (ac_try="$ac_compile"
33515 case "(($ac_try" in
33516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33517 *) ac_try_echo=$ac_try;;
33518 esac
33519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33520 (eval "$ac_compile") 2>conftest.er1
33521 ac_status=$?
33522 grep -v '^ *+' conftest.er1 >conftest.err
33523 rm -f conftest.er1
33524 cat conftest.err >&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } && {
33527 test -z "$ac_c_werror_flag" ||
33528 test ! -s conftest.err
33529 } && test -s conftest.$ac_objext; then
33530
33531 wx_cv_struct_pw_gecos=yes
33532
33533 else
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.$ac_ext >&5
33536
33537
33538 wx_cv_struct_pw_gecos=no
33539
33540
33541 fi
33542
33543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33544
33545
33546 fi
33547 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33548 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33549
33550 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33551 cat >>confdefs.h <<\_ACEOF
33552 #define HAVE_PW_GECOS 1
33553 _ACEOF
33554
33555 fi
33556
33557
33558 if test "$wxUSE_WCHAR_T" = "yes"; then
33559 cat >>confdefs.h <<\_ACEOF
33560 #define wxUSE_WCHAR_T 1
33561 _ACEOF
33562
33563
33564 WCSLEN_FOUND=0
33565 WCHAR_LINK=
33566
33567 for ac_func in wcslen
33568 do
33569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33572 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33573 echo $ECHO_N "(cached) $ECHO_C" >&6
33574 else
33575 cat >conftest.$ac_ext <<_ACEOF
33576 /* confdefs.h. */
33577 _ACEOF
33578 cat confdefs.h >>conftest.$ac_ext
33579 cat >>conftest.$ac_ext <<_ACEOF
33580 /* end confdefs.h. */
33581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33583 #define $ac_func innocuous_$ac_func
33584
33585 /* System header to define __stub macros and hopefully few prototypes,
33586 which can conflict with char $ac_func (); below.
33587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33588 <limits.h> exists even on freestanding compilers. */
33589
33590 #ifdef __STDC__
33591 # include <limits.h>
33592 #else
33593 # include <assert.h>
33594 #endif
33595
33596 #undef $ac_func
33597
33598 /* Override any GCC internal prototype to avoid an error.
33599 Use char because int might match the return type of a GCC
33600 builtin and then its argument prototype would still apply. */
33601 #ifdef __cplusplus
33602 extern "C"
33603 #endif
33604 char $ac_func ();
33605 /* The GNU C library defines this for functions which it implements
33606 to always fail with ENOSYS. Some functions are actually named
33607 something starting with __ and the normal name is an alias. */
33608 #if defined __stub_$ac_func || defined __stub___$ac_func
33609 choke me
33610 #endif
33611
33612 int
33613 main ()
33614 {
33615 return $ac_func ();
33616 ;
33617 return 0;
33618 }
33619 _ACEOF
33620 rm -f conftest.$ac_objext conftest$ac_exeext
33621 if { (ac_try="$ac_link"
33622 case "(($ac_try" in
33623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33624 *) ac_try_echo=$ac_try;;
33625 esac
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_link") 2>conftest.er1
33628 ac_status=$?
33629 grep -v '^ *+' conftest.er1 >conftest.err
33630 rm -f conftest.er1
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_c_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest$ac_exeext &&
33637 $as_test_x conftest$ac_exeext; then
33638 eval "$as_ac_var=yes"
33639 else
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.$ac_ext >&5
33642
33643 eval "$as_ac_var=no"
33644 fi
33645
33646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33647 conftest$ac_exeext conftest.$ac_ext
33648 fi
33649 ac_res=`eval echo '${'$as_ac_var'}'`
33650 { echo "$as_me:$LINENO: result: $ac_res" >&5
33651 echo "${ECHO_T}$ac_res" >&6; }
33652 if test `eval echo '${'$as_ac_var'}'` = yes; then
33653 cat >>confdefs.h <<_ACEOF
33654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33655 _ACEOF
33656 WCSLEN_FOUND=1
33657 fi
33658 done
33659
33660
33661 if test "$WCSLEN_FOUND" = 0; then
33662 if test "$TOOLKIT" = "MSW"; then
33663 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33664 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33665 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 else
33668 ac_check_lib_save_LIBS=$LIBS
33669 LIBS="-lmsvcrt $LIBS"
33670 cat >conftest.$ac_ext <<_ACEOF
33671 /* confdefs.h. */
33672 _ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33676
33677 /* Override any GCC internal prototype to avoid an error.
33678 Use char because int might match the return type of a GCC
33679 builtin and then its argument prototype would still apply. */
33680 #ifdef __cplusplus
33681 extern "C"
33682 #endif
33683 char wcslen ();
33684 int
33685 main ()
33686 {
33687 return wcslen ();
33688 ;
33689 return 0;
33690 }
33691 _ACEOF
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (ac_try="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33696 *) ac_try_echo=$ac_try;;
33697 esac
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33700 ac_status=$?
33701 grep -v '^ *+' conftest.er1 >conftest.err
33702 rm -f conftest.er1
33703 cat conftest.err >&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_c_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest$ac_exeext &&
33709 $as_test_x conftest$ac_exeext; then
33710 ac_cv_lib_msvcrt_wcslen=yes
33711 else
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.$ac_ext >&5
33714
33715 ac_cv_lib_msvcrt_wcslen=no
33716 fi
33717
33718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33719 conftest$ac_exeext conftest.$ac_ext
33720 LIBS=$ac_check_lib_save_LIBS
33721 fi
33722 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33723 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33724 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33725 WCHAR_OK=1
33726 fi
33727
33728 else
33729 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33730 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33731 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33732 echo $ECHO_N "(cached) $ECHO_C" >&6
33733 else
33734 ac_check_lib_save_LIBS=$LIBS
33735 LIBS="-lw $LIBS"
33736 cat >conftest.$ac_ext <<_ACEOF
33737 /* confdefs.h. */
33738 _ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742
33743 /* Override any GCC internal prototype to avoid an error.
33744 Use char because int might match the return type of a GCC
33745 builtin and then its argument prototype would still apply. */
33746 #ifdef __cplusplus
33747 extern "C"
33748 #endif
33749 char wcslen ();
33750 int
33751 main ()
33752 {
33753 return wcslen ();
33754 ;
33755 return 0;
33756 }
33757 _ACEOF
33758 rm -f conftest.$ac_objext conftest$ac_exeext
33759 if { (ac_try="$ac_link"
33760 case "(($ac_try" in
33761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33762 *) ac_try_echo=$ac_try;;
33763 esac
33764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33765 (eval "$ac_link") 2>conftest.er1
33766 ac_status=$?
33767 grep -v '^ *+' conftest.er1 >conftest.err
33768 rm -f conftest.er1
33769 cat conftest.err >&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); } && {
33772 test -z "$ac_c_werror_flag" ||
33773 test ! -s conftest.err
33774 } && test -s conftest$ac_exeext &&
33775 $as_test_x conftest$ac_exeext; then
33776 ac_cv_lib_w_wcslen=yes
33777 else
33778 echo "$as_me: failed program was:" >&5
33779 sed 's/^/| /' conftest.$ac_ext >&5
33780
33781 ac_cv_lib_w_wcslen=no
33782 fi
33783
33784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33785 conftest$ac_exeext conftest.$ac_ext
33786 LIBS=$ac_check_lib_save_LIBS
33787 fi
33788 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33789 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33790 if test $ac_cv_lib_w_wcslen = yes; then
33791
33792 WCHAR_LINK=" -lw"
33793 WCSLEN_FOUND=1
33794
33795 fi
33796
33797 fi
33798 fi
33799
33800 if test "$WCSLEN_FOUND" = 1; then
33801 cat >>confdefs.h <<\_ACEOF
33802 #define HAVE_WCSLEN 1
33803 _ACEOF
33804
33805 fi
33806
33807 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33808 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33809 fi
33810
33811 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33812 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33813 if test "${ac_cv_type_mbstate_t+set}" = set; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33815 else
33816 cat >conftest.$ac_ext <<_ACEOF
33817 /* confdefs.h. */
33818 _ACEOF
33819 cat confdefs.h >>conftest.$ac_ext
33820 cat >>conftest.$ac_ext <<_ACEOF
33821 /* end confdefs.h. */
33822 #include <wchar.h>
33823
33824 typedef mbstate_t ac__type_new_;
33825 int
33826 main ()
33827 {
33828 if ((ac__type_new_ *) 0)
33829 return 0;
33830 if (sizeof (ac__type_new_))
33831 return 0;
33832 ;
33833 return 0;
33834 }
33835 _ACEOF
33836 rm -f conftest.$ac_objext
33837 if { (ac_try="$ac_compile"
33838 case "(($ac_try" in
33839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33840 *) ac_try_echo=$ac_try;;
33841 esac
33842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33843 (eval "$ac_compile") 2>conftest.er1
33844 ac_status=$?
33845 grep -v '^ *+' conftest.er1 >conftest.err
33846 rm -f conftest.er1
33847 cat conftest.err >&5
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); } && {
33850 test -z "$ac_c_werror_flag" ||
33851 test ! -s conftest.err
33852 } && test -s conftest.$ac_objext; then
33853 ac_cv_type_mbstate_t=yes
33854 else
33855 echo "$as_me: failed program was:" >&5
33856 sed 's/^/| /' conftest.$ac_ext >&5
33857
33858 ac_cv_type_mbstate_t=no
33859 fi
33860
33861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33862 fi
33863 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33864 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33865 if test $ac_cv_type_mbstate_t = yes; then
33866
33867 cat >>confdefs.h <<_ACEOF
33868 #define HAVE_MBSTATE_T 1
33869 _ACEOF
33870
33871
33872 for ac_func in wcsrtombs
33873 do
33874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33878 echo $ECHO_N "(cached) $ECHO_C" >&6
33879 else
33880 cat >conftest.$ac_ext <<_ACEOF
33881 /* confdefs.h. */
33882 _ACEOF
33883 cat confdefs.h >>conftest.$ac_ext
33884 cat >>conftest.$ac_ext <<_ACEOF
33885 /* end confdefs.h. */
33886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33888 #define $ac_func innocuous_$ac_func
33889
33890 /* System header to define __stub macros and hopefully few prototypes,
33891 which can conflict with char $ac_func (); below.
33892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33893 <limits.h> exists even on freestanding compilers. */
33894
33895 #ifdef __STDC__
33896 # include <limits.h>
33897 #else
33898 # include <assert.h>
33899 #endif
33900
33901 #undef $ac_func
33902
33903 /* Override any GCC internal prototype to avoid an error.
33904 Use char because int might match the return type of a GCC
33905 builtin and then its argument prototype would still apply. */
33906 #ifdef __cplusplus
33907 extern "C"
33908 #endif
33909 char $ac_func ();
33910 /* The GNU C library defines this for functions which it implements
33911 to always fail with ENOSYS. Some functions are actually named
33912 something starting with __ and the normal name is an alias. */
33913 #if defined __stub_$ac_func || defined __stub___$ac_func
33914 choke me
33915 #endif
33916
33917 int
33918 main ()
33919 {
33920 return $ac_func ();
33921 ;
33922 return 0;
33923 }
33924 _ACEOF
33925 rm -f conftest.$ac_objext conftest$ac_exeext
33926 if { (ac_try="$ac_link"
33927 case "(($ac_try" in
33928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33929 *) ac_try_echo=$ac_try;;
33930 esac
33931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33932 (eval "$ac_link") 2>conftest.er1
33933 ac_status=$?
33934 grep -v '^ *+' conftest.er1 >conftest.err
33935 rm -f conftest.er1
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } && {
33939 test -z "$ac_c_werror_flag" ||
33940 test ! -s conftest.err
33941 } && test -s conftest$ac_exeext &&
33942 $as_test_x conftest$ac_exeext; then
33943 eval "$as_ac_var=yes"
33944 else
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.$ac_ext >&5
33947
33948 eval "$as_ac_var=no"
33949 fi
33950
33951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33952 conftest$ac_exeext conftest.$ac_ext
33953 fi
33954 ac_res=`eval echo '${'$as_ac_var'}'`
33955 { echo "$as_me:$LINENO: result: $ac_res" >&5
33956 echo "${ECHO_T}$ac_res" >&6; }
33957 if test `eval echo '${'$as_ac_var'}'` = yes; then
33958 cat >>confdefs.h <<_ACEOF
33959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33960 _ACEOF
33961
33962 fi
33963 done
33964
33965 fi
33966
33967 else
33968 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33969 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33970 fi
33971
33972
33973
33974 for ac_func in snprintf vsnprintf
33975 do
33976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33980 echo $ECHO_N "(cached) $ECHO_C" >&6
33981 else
33982 cat >conftest.$ac_ext <<_ACEOF
33983 /* confdefs.h. */
33984 _ACEOF
33985 cat confdefs.h >>conftest.$ac_ext
33986 cat >>conftest.$ac_ext <<_ACEOF
33987 /* end confdefs.h. */
33988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33990 #define $ac_func innocuous_$ac_func
33991
33992 /* System header to define __stub macros and hopefully few prototypes,
33993 which can conflict with char $ac_func (); below.
33994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33995 <limits.h> exists even on freestanding compilers. */
33996
33997 #ifdef __STDC__
33998 # include <limits.h>
33999 #else
34000 # include <assert.h>
34001 #endif
34002
34003 #undef $ac_func
34004
34005 /* Override any GCC internal prototype to avoid an error.
34006 Use char because int might match the return type of a GCC
34007 builtin and then its argument prototype would still apply. */
34008 #ifdef __cplusplus
34009 extern "C"
34010 #endif
34011 char $ac_func ();
34012 /* The GNU C library defines this for functions which it implements
34013 to always fail with ENOSYS. Some functions are actually named
34014 something starting with __ and the normal name is an alias. */
34015 #if defined __stub_$ac_func || defined __stub___$ac_func
34016 choke me
34017 #endif
34018
34019 int
34020 main ()
34021 {
34022 return $ac_func ();
34023 ;
34024 return 0;
34025 }
34026 _ACEOF
34027 rm -f conftest.$ac_objext conftest$ac_exeext
34028 if { (ac_try="$ac_link"
34029 case "(($ac_try" in
34030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34031 *) ac_try_echo=$ac_try;;
34032 esac
34033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34034 (eval "$ac_link") 2>conftest.er1
34035 ac_status=$?
34036 grep -v '^ *+' conftest.er1 >conftest.err
34037 rm -f conftest.er1
34038 cat conftest.err >&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } && {
34041 test -z "$ac_c_werror_flag" ||
34042 test ! -s conftest.err
34043 } && test -s conftest$ac_exeext &&
34044 $as_test_x conftest$ac_exeext; then
34045 eval "$as_ac_var=yes"
34046 else
34047 echo "$as_me: failed program was:" >&5
34048 sed 's/^/| /' conftest.$ac_ext >&5
34049
34050 eval "$as_ac_var=no"
34051 fi
34052
34053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34054 conftest$ac_exeext conftest.$ac_ext
34055 fi
34056 ac_res=`eval echo '${'$as_ac_var'}'`
34057 { echo "$as_me:$LINENO: result: $ac_res" >&5
34058 echo "${ECHO_T}$ac_res" >&6; }
34059 if test `eval echo '${'$as_ac_var'}'` = yes; then
34060 cat >>confdefs.h <<_ACEOF
34061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34062 _ACEOF
34063
34064 fi
34065 done
34066
34067
34068 if test "$ac_cv_func_vsnprintf" = "yes"; then
34069 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34070 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34071 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34073 else
34074
34075 cat >conftest.$ac_ext <<_ACEOF
34076 /* confdefs.h. */
34077 _ACEOF
34078 cat confdefs.h >>conftest.$ac_ext
34079 cat >>conftest.$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34081
34082 #include <stdio.h>
34083 #include <stdarg.h>
34084 #ifdef __MSL__
34085 #if __MSL__ >= 0x6000
34086 namespace std {}
34087 using namespace std;
34088 #endif
34089 #endif
34090
34091 int
34092 main ()
34093 {
34094
34095 char *buf;
34096 va_list ap;
34097 vsnprintf(buf, 10u, "%s", ap);
34098
34099 ;
34100 return 0;
34101 }
34102 _ACEOF
34103 rm -f conftest.$ac_objext
34104 if { (ac_try="$ac_compile"
34105 case "(($ac_try" in
34106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34107 *) ac_try_echo=$ac_try;;
34108 esac
34109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34110 (eval "$ac_compile") 2>conftest.er1
34111 ac_status=$?
34112 grep -v '^ *+' conftest.er1 >conftest.err
34113 rm -f conftest.er1
34114 cat conftest.err >&5
34115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34116 (exit $ac_status); } && {
34117 test -z "$ac_c_werror_flag" ||
34118 test ! -s conftest.err
34119 } && test -s conftest.$ac_objext; then
34120 wx_cv_func_vsnprintf_decl=yes
34121 else
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.$ac_ext >&5
34124
34125 wx_cv_func_vsnprintf_decl=no
34126
34127 fi
34128
34129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34130
34131
34132 fi
34133 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34134 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34135
34136 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34137 cat >>confdefs.h <<\_ACEOF
34138 #define HAVE_VSNPRINTF_DECL 1
34139 _ACEOF
34140
34141
34142 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34143 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34144 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 else
34147
34148 cat >conftest.$ac_ext <<_ACEOF
34149 /* confdefs.h. */
34150 _ACEOF
34151 cat confdefs.h >>conftest.$ac_ext
34152 cat >>conftest.$ac_ext <<_ACEOF
34153 /* end confdefs.h. */
34154
34155 #include <stdio.h>
34156 #include <stdarg.h>
34157 #ifdef __MSL__
34158 #if __MSL__ >= 0x6000
34159 namespace std {}
34160 using namespace std;
34161 #endif
34162 #endif
34163
34164 int
34165 main ()
34166 {
34167
34168 char *buf;
34169 va_list ap;
34170 const char *fmt = "%s";
34171 vsnprintf(buf, 10u, fmt, ap);
34172
34173 ;
34174 return 0;
34175 }
34176 _ACEOF
34177 rm -f conftest.$ac_objext
34178 if { (ac_try="$ac_compile"
34179 case "(($ac_try" in
34180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34181 *) ac_try_echo=$ac_try;;
34182 esac
34183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34184 (eval "$ac_compile") 2>conftest.er1
34185 ac_status=$?
34186 grep -v '^ *+' conftest.er1 >conftest.err
34187 rm -f conftest.er1
34188 cat conftest.err >&5
34189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34190 (exit $ac_status); } && {
34191 test -z "$ac_c_werror_flag" ||
34192 test ! -s conftest.err
34193 } && test -s conftest.$ac_objext; then
34194 wx_cv_func_broken_vsnprintf_decl=no
34195 else
34196 echo "$as_me: failed program was:" >&5
34197 sed 's/^/| /' conftest.$ac_ext >&5
34198
34199 wx_cv_func_broken_vsnprintf_decl=yes
34200
34201 fi
34202
34203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34204
34205
34206 fi
34207 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34208 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34209
34210 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34211 cat >>confdefs.h <<\_ACEOF
34212 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34213 _ACEOF
34214
34215 fi
34216 fi
34217 fi
34218
34219 if test "$ac_cv_func_snprintf" = "yes"; then
34220 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34221 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34222 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34224 else
34225
34226 cat >conftest.$ac_ext <<_ACEOF
34227 /* confdefs.h. */
34228 _ACEOF
34229 cat confdefs.h >>conftest.$ac_ext
34230 cat >>conftest.$ac_ext <<_ACEOF
34231 /* end confdefs.h. */
34232
34233 #include <stdio.h>
34234 #include <stdarg.h>
34235 #ifdef __MSL__
34236 #if __MSL__ >= 0x6000
34237 namespace std {}
34238 using namespace std;
34239 #endif
34240 #endif
34241
34242 int
34243 main ()
34244 {
34245
34246 char *buf;
34247 snprintf(buf, 10u, "%s", "wx");
34248
34249 ;
34250 return 0;
34251 }
34252 _ACEOF
34253 rm -f conftest.$ac_objext
34254 if { (ac_try="$ac_compile"
34255 case "(($ac_try" in
34256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34257 *) ac_try_echo=$ac_try;;
34258 esac
34259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34260 (eval "$ac_compile") 2>conftest.er1
34261 ac_status=$?
34262 grep -v '^ *+' conftest.er1 >conftest.err
34263 rm -f conftest.er1
34264 cat conftest.err >&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } && {
34267 test -z "$ac_c_werror_flag" ||
34268 test ! -s conftest.err
34269 } && test -s conftest.$ac_objext; then
34270 wx_cv_func_snprintf_decl=yes
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 wx_cv_func_snprintf_decl=no
34276
34277 fi
34278
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34280
34281
34282 fi
34283 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34284 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34285
34286 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34287 cat >>confdefs.h <<\_ACEOF
34288 #define HAVE_SNPRINTF_DECL 1
34289 _ACEOF
34290
34291
34292 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34293 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34294 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34296 else
34297
34298 cat >conftest.$ac_ext <<_ACEOF
34299 /* confdefs.h. */
34300 _ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304
34305 #include <stdio.h>
34306 #include <stdarg.h>
34307 #ifdef __MSL__
34308 #if __MSL__ >= 0x6000
34309 namespace std {}
34310 using namespace std;
34311 #endif
34312 #endif
34313
34314 int
34315 main ()
34316 {
34317
34318 char *buf;
34319 const char *fmt = "%s";
34320 snprintf(buf, 10u, fmt, "wx");
34321
34322 ;
34323 return 0;
34324 }
34325 _ACEOF
34326 rm -f conftest.$ac_objext
34327 if { (ac_try="$ac_compile"
34328 case "(($ac_try" in
34329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34330 *) ac_try_echo=$ac_try;;
34331 esac
34332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34333 (eval "$ac_compile") 2>conftest.er1
34334 ac_status=$?
34335 grep -v '^ *+' conftest.er1 >conftest.err
34336 rm -f conftest.er1
34337 cat conftest.err >&5
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); } && {
34340 test -z "$ac_c_werror_flag" ||
34341 test ! -s conftest.err
34342 } && test -s conftest.$ac_objext; then
34343 wx_cv_func_broken_snprintf_decl=no
34344 else
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.$ac_ext >&5
34347
34348 wx_cv_func_broken_snprintf_decl=yes
34349
34350 fi
34351
34352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34353
34354
34355 fi
34356 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34357 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34358
34359 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34360 cat >>confdefs.h <<\_ACEOF
34361 #define HAVE_BROKEN_SNPRINTF_DECL 1
34362 _ACEOF
34363
34364 fi
34365 fi
34366
34367 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34368
34369 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34370 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34371 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34372 echo $ECHO_N "(cached) $ECHO_C" >&6
34373 else
34374
34375 if test "$cross_compiling" = yes; then
34376
34377 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34378 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34379 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34380 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34381 wx_cv_func_snprintf_pos_params=no
34382
34383
34384 else
34385 cat >conftest.$ac_ext <<_ACEOF
34386 /* confdefs.h. */
34387 _ACEOF
34388 cat confdefs.h >>conftest.$ac_ext
34389 cat >>conftest.$ac_ext <<_ACEOF
34390 /* end confdefs.h. */
34391
34392 #include <stdio.h>
34393
34394 int main (void)
34395 {
34396 char buffer[128];
34397 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34398 if (strcmp ("2 3 1", buffer) == 0)
34399 exit (0);
34400 exit (1);
34401 }
34402
34403 _ACEOF
34404 rm -f conftest$ac_exeext
34405 if { (ac_try="$ac_link"
34406 case "(($ac_try" in
34407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34408 *) ac_try_echo=$ac_try;;
34409 esac
34410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34411 (eval "$ac_link") 2>&5
34412 ac_status=$?
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34415 { (case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34417 *) ac_try_echo=$ac_try;;
34418 esac
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_try") 2>&5
34421 ac_status=$?
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; }; then
34424 wx_cv_func_snprintf_pos_params=no
34425 else
34426 echo "$as_me: program exited with status $ac_status" >&5
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.$ac_ext >&5
34429
34430 ( exit $ac_status )
34431 wx_cv_func_snprintf_pos_params=yes
34432 fi
34433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34434 fi
34435
34436
34437
34438
34439 fi
34440 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34441 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34442
34443 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34444 cat >>confdefs.h <<\_ACEOF
34445 #define HAVE_UNIX98_PRINTF 1
34446 _ACEOF
34447
34448 fi
34449 fi
34450 fi
34451
34452 if test "$wxUSE_UNICODE" = yes; then
34453
34454
34455 for ac_func in swprintf
34456 do
34457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34461 echo $ECHO_N "(cached) $ECHO_C" >&6
34462 else
34463 cat >conftest.$ac_ext <<_ACEOF
34464 /* confdefs.h. */
34465 _ACEOF
34466 cat confdefs.h >>conftest.$ac_ext
34467 cat >>conftest.$ac_ext <<_ACEOF
34468 /* end confdefs.h. */
34469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34471 #define $ac_func innocuous_$ac_func
34472
34473 /* System header to define __stub macros and hopefully few prototypes,
34474 which can conflict with char $ac_func (); below.
34475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34476 <limits.h> exists even on freestanding compilers. */
34477
34478 #ifdef __STDC__
34479 # include <limits.h>
34480 #else
34481 # include <assert.h>
34482 #endif
34483
34484 #undef $ac_func
34485
34486 /* Override any GCC internal prototype to avoid an error.
34487 Use char because int might match the return type of a GCC
34488 builtin and then its argument prototype would still apply. */
34489 #ifdef __cplusplus
34490 extern "C"
34491 #endif
34492 char $ac_func ();
34493 /* The GNU C library defines this for functions which it implements
34494 to always fail with ENOSYS. Some functions are actually named
34495 something starting with __ and the normal name is an alias. */
34496 #if defined __stub_$ac_func || defined __stub___$ac_func
34497 choke me
34498 #endif
34499
34500 int
34501 main ()
34502 {
34503 return $ac_func ();
34504 ;
34505 return 0;
34506 }
34507 _ACEOF
34508 rm -f conftest.$ac_objext conftest$ac_exeext
34509 if { (ac_try="$ac_link"
34510 case "(($ac_try" in
34511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34512 *) ac_try_echo=$ac_try;;
34513 esac
34514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34515 (eval "$ac_link") 2>conftest.er1
34516 ac_status=$?
34517 grep -v '^ *+' conftest.er1 >conftest.err
34518 rm -f conftest.er1
34519 cat conftest.err >&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } && {
34522 test -z "$ac_c_werror_flag" ||
34523 test ! -s conftest.err
34524 } && test -s conftest$ac_exeext &&
34525 $as_test_x conftest$ac_exeext; then
34526 eval "$as_ac_var=yes"
34527 else
34528 echo "$as_me: failed program was:" >&5
34529 sed 's/^/| /' conftest.$ac_ext >&5
34530
34531 eval "$as_ac_var=no"
34532 fi
34533
34534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34535 conftest$ac_exeext conftest.$ac_ext
34536 fi
34537 ac_res=`eval echo '${'$as_ac_var'}'`
34538 { echo "$as_me:$LINENO: result: $ac_res" >&5
34539 echo "${ECHO_T}$ac_res" >&6; }
34540 if test `eval echo '${'$as_ac_var'}'` = yes; then
34541 cat >>confdefs.h <<_ACEOF
34542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34543 _ACEOF
34544
34545 fi
34546 done
34547
34548
34549 if test "$ac_cv_func_swprintf" = "yes"; then
34550 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34551 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34552 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34555
34556 cat >conftest.$ac_ext <<_ACEOF
34557 /* confdefs.h. */
34558 _ACEOF
34559 cat confdefs.h >>conftest.$ac_ext
34560 cat >>conftest.$ac_ext <<_ACEOF
34561 /* end confdefs.h. */
34562
34563 #include <stdio.h>
34564 #include <stdarg.h>
34565 #include <wchar.h>
34566
34567 int
34568 main ()
34569 {
34570
34571 wchar_t *buf;
34572 const wchar_t *fmt = L"test";
34573 swprintf(buf, 10u, fmt);
34574
34575 ;
34576 return 0;
34577 }
34578 _ACEOF
34579 rm -f conftest.$ac_objext
34580 if { (ac_try="$ac_compile"
34581 case "(($ac_try" in
34582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34583 *) ac_try_echo=$ac_try;;
34584 esac
34585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34586 (eval "$ac_compile") 2>conftest.er1
34587 ac_status=$?
34588 grep -v '^ *+' conftest.er1 >conftest.err
34589 rm -f conftest.er1
34590 cat conftest.err >&5
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); } && {
34593 test -z "$ac_c_werror_flag" ||
34594 test ! -s conftest.err
34595 } && test -s conftest.$ac_objext; then
34596 wx_cv_func_broken_swprintf_decl=no
34597 else
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34600
34601 wx_cv_func_broken_swprintf_decl=yes
34602
34603 fi
34604
34605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34606
34607
34608 fi
34609 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34610 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34611
34612 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34613 cat >>confdefs.h <<\_ACEOF
34614 #define HAVE_BROKEN_SWPRINTF_DECL 1
34615 _ACEOF
34616
34617 fi
34618 fi
34619
34620 wchar_headers="#include <stdio.h>
34621 #include <wchar.h>"
34622 case "${host}" in
34623 *-*-solaris2* )
34624 { echo "$as_me:$LINENO: checking for widec.h" >&5
34625 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34626 if test "${ac_cv_header_widec_h+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
34628 else
34629 cat >conftest.$ac_ext <<_ACEOF
34630 /* confdefs.h. */
34631 _ACEOF
34632 cat confdefs.h >>conftest.$ac_ext
34633 cat >>conftest.$ac_ext <<_ACEOF
34634 /* end confdefs.h. */
34635 $ac_includes_default
34636
34637 #include <widec.h>
34638 _ACEOF
34639 rm -f conftest.$ac_objext
34640 if { (ac_try="$ac_compile"
34641 case "(($ac_try" in
34642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34643 *) ac_try_echo=$ac_try;;
34644 esac
34645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34646 (eval "$ac_compile") 2>conftest.er1
34647 ac_status=$?
34648 grep -v '^ *+' conftest.er1 >conftest.err
34649 rm -f conftest.er1
34650 cat conftest.err >&5
34651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); } && {
34653 test -z "$ac_c_werror_flag" ||
34654 test ! -s conftest.err
34655 } && test -s conftest.$ac_objext; then
34656 ac_cv_header_widec_h=yes
34657 else
34658 echo "$as_me: failed program was:" >&5
34659 sed 's/^/| /' conftest.$ac_ext >&5
34660
34661 ac_cv_header_widec_h=no
34662 fi
34663
34664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34665 fi
34666 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34667 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34668
34669
34670 if test "$ac_cv_header_widec_h" = "yes"; then
34671 wchar_headers="$wchar_headers
34672 #include <widec.h>"
34673 fi
34674 esac
34675
34676
34677 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34678 do
34679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34681 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34683 else
34684
34685 cat >conftest.$ac_ext <<_ACEOF
34686
34687 /* confdefs.h. */
34688 _ACEOF
34689 cat confdefs.h >>conftest.$ac_ext
34690 cat >>conftest.$ac_ext <<_ACEOF
34691 /* end confdefs.h. */
34692
34693 $wchar_headers
34694 $ac_includes_default
34695
34696 int
34697 main ()
34698 {
34699
34700 #ifndef $wx_func
34701 &$wx_func;
34702 #endif
34703
34704
34705 ;
34706 return 0;
34707 }
34708
34709 _ACEOF
34710 rm -f conftest.$ac_objext conftest$ac_exeext
34711 if { (ac_try="$ac_link"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34714 *) ac_try_echo=$ac_try;;
34715 esac
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_link") 2>conftest.er1
34718 ac_status=$?
34719 grep -v '^ *+' conftest.er1 >conftest.err
34720 rm -f conftest.er1
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest$ac_exeext &&
34727 $as_test_x conftest$ac_exeext; then
34728 eval wx_cv_func_$wx_func=yes
34729 else
34730 echo "$as_me: failed program was:" >&5
34731 sed 's/^/| /' conftest.$ac_ext >&5
34732
34733 eval wx_cv_func_$wx_func=no
34734 fi
34735
34736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34737 conftest$ac_exeext conftest.$ac_ext
34738
34739 fi
34740 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34741 { echo "$as_me:$LINENO: result: $ac_res" >&5
34742 echo "${ECHO_T}$ac_res" >&6; }
34743
34744 if eval test \$wx_cv_func_$wx_func = yes
34745 then
34746 cat >>confdefs.h <<_ACEOF
34747 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34748 _ACEOF
34749
34750
34751 else
34752 :
34753
34754 fi
34755 done
34756
34757
34758 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34759 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34760 cat >conftest.$ac_ext <<_ACEOF
34761 /* confdefs.h. */
34762 _ACEOF
34763 cat confdefs.h >>conftest.$ac_ext
34764 cat >>conftest.$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34766 #include <wchar.h>
34767 int
34768 main ()
34769 {
34770 &_vsnwprintf;
34771 ;
34772 return 0;
34773 }
34774 _ACEOF
34775 rm -f conftest.$ac_objext
34776 if { (ac_try="$ac_compile"
34777 case "(($ac_try" in
34778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34779 *) ac_try_echo=$ac_try;;
34780 esac
34781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34782 (eval "$ac_compile") 2>conftest.er1
34783 ac_status=$?
34784 grep -v '^ *+' conftest.er1 >conftest.err
34785 rm -f conftest.er1
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } && {
34789 test -z "$ac_c_werror_flag" ||
34790 test ! -s conftest.err
34791 } && test -s conftest.$ac_objext; then
34792 { echo "$as_me:$LINENO: result: yes" >&5
34793 echo "${ECHO_T}yes" >&6; }
34794 cat >>confdefs.h <<\_ACEOF
34795 #define HAVE__VSNWPRINTF 1
34796 _ACEOF
34797
34798 else
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.$ac_ext >&5
34801
34802 { echo "$as_me:$LINENO: result: no" >&5
34803 echo "${ECHO_T}no" >&6; }
34804 fi
34805
34806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34807 fi
34808
34809 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34810
34811 for wx_func in fnmatch
34812 do
34813 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34814 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34815 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 else
34818
34819 cat >conftest.$ac_ext <<_ACEOF
34820
34821 /* confdefs.h. */
34822 _ACEOF
34823 cat confdefs.h >>conftest.$ac_ext
34824 cat >>conftest.$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34826
34827 #include <fnmatch.h>
34828 $ac_includes_default
34829
34830 int
34831 main ()
34832 {
34833
34834 #ifndef $wx_func
34835 &$wx_func;
34836 #endif
34837
34838
34839 ;
34840 return 0;
34841 }
34842
34843 _ACEOF
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (ac_try="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34848 *) ac_try_echo=$ac_try;;
34849 esac
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34852 ac_status=$?
34853 grep -v '^ *+' conftest.er1 >conftest.err
34854 rm -f conftest.er1
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest$ac_exeext &&
34861 $as_test_x conftest$ac_exeext; then
34862 eval wx_cv_func_$wx_func=yes
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34866
34867 eval wx_cv_func_$wx_func=no
34868 fi
34869
34870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34871 conftest$ac_exeext conftest.$ac_ext
34872
34873 fi
34874 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34875 { echo "$as_me:$LINENO: result: $ac_res" >&5
34876 echo "${ECHO_T}$ac_res" >&6; }
34877
34878 if eval test \$wx_cv_func_$wx_func = yes
34879 then
34880 cat >>confdefs.h <<_ACEOF
34881 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34882 _ACEOF
34883
34884
34885 else
34886 :
34887
34888 fi
34889 done
34890
34891 fi
34892
34893 if test "$wxUSE_FILE" = "yes"; then
34894
34895 for wx_func in fsync
34896 do
34897 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34898 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34899 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34901 else
34902
34903 cat >conftest.$ac_ext <<_ACEOF
34904
34905 /* confdefs.h. */
34906 _ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34910
34911
34912 $ac_includes_default
34913
34914 int
34915 main ()
34916 {
34917
34918 #ifndef $wx_func
34919 &$wx_func;
34920 #endif
34921
34922
34923 ;
34924 return 0;
34925 }
34926
34927 _ACEOF
34928 rm -f conftest.$ac_objext conftest$ac_exeext
34929 if { (ac_try="$ac_link"
34930 case "(($ac_try" in
34931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34932 *) ac_try_echo=$ac_try;;
34933 esac
34934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34935 (eval "$ac_link") 2>conftest.er1
34936 ac_status=$?
34937 grep -v '^ *+' conftest.er1 >conftest.err
34938 rm -f conftest.er1
34939 cat conftest.err >&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } && {
34942 test -z "$ac_c_werror_flag" ||
34943 test ! -s conftest.err
34944 } && test -s conftest$ac_exeext &&
34945 $as_test_x conftest$ac_exeext; then
34946 eval wx_cv_func_$wx_func=yes
34947 else
34948 echo "$as_me: failed program was:" >&5
34949 sed 's/^/| /' conftest.$ac_ext >&5
34950
34951 eval wx_cv_func_$wx_func=no
34952 fi
34953
34954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34955 conftest$ac_exeext conftest.$ac_ext
34956
34957 fi
34958 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34959 { echo "$as_me:$LINENO: result: $ac_res" >&5
34960 echo "${ECHO_T}$ac_res" >&6; }
34961
34962 if eval test \$wx_cv_func_$wx_func = yes
34963 then
34964 cat >>confdefs.h <<_ACEOF
34965 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34966 _ACEOF
34967
34968
34969 else
34970 :
34971
34972 fi
34973 done
34974
34975 fi
34976
34977
34978 for wx_func in round
34979 do
34980 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34981 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34982 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34984 else
34985
34986 cat >conftest.$ac_ext <<_ACEOF
34987
34988 /* confdefs.h. */
34989 _ACEOF
34990 cat confdefs.h >>conftest.$ac_ext
34991 cat >>conftest.$ac_ext <<_ACEOF
34992 /* end confdefs.h. */
34993
34994 #include <math.h>
34995 $ac_includes_default
34996
34997 int
34998 main ()
34999 {
35000
35001 #ifndef $wx_func
35002 &$wx_func;
35003 #endif
35004
35005
35006 ;
35007 return 0;
35008 }
35009
35010 _ACEOF
35011 rm -f conftest.$ac_objext conftest$ac_exeext
35012 if { (ac_try="$ac_link"
35013 case "(($ac_try" in
35014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35015 *) ac_try_echo=$ac_try;;
35016 esac
35017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35018 (eval "$ac_link") 2>conftest.er1
35019 ac_status=$?
35020 grep -v '^ *+' conftest.er1 >conftest.err
35021 rm -f conftest.er1
35022 cat conftest.err >&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); } && {
35025 test -z "$ac_c_werror_flag" ||
35026 test ! -s conftest.err
35027 } && test -s conftest$ac_exeext &&
35028 $as_test_x conftest$ac_exeext; then
35029 eval wx_cv_func_$wx_func=yes
35030 else
35031 echo "$as_me: failed program was:" >&5
35032 sed 's/^/| /' conftest.$ac_ext >&5
35033
35034 eval wx_cv_func_$wx_func=no
35035 fi
35036
35037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35038 conftest$ac_exeext conftest.$ac_ext
35039
35040 fi
35041 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35042 { echo "$as_me:$LINENO: result: $ac_res" >&5
35043 echo "${ECHO_T}$ac_res" >&6; }
35044
35045 if eval test \$wx_cv_func_$wx_func = yes
35046 then
35047 cat >>confdefs.h <<_ACEOF
35048 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35049 _ACEOF
35050
35051
35052 else
35053 :
35054
35055 fi
35056 done
35057
35058
35059 if test "$TOOLKIT" != "MSW"; then
35060
35061
35062
35063
35064
35065 # Check whether --with-libiconv-prefix was given.
35066 if test "${with_libiconv_prefix+set}" = set; then
35067 withval=$with_libiconv_prefix;
35068 for dir in `echo "$withval" | tr : ' '`; do
35069 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35070 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35071 done
35072
35073 fi
35074
35075
35076 { echo "$as_me:$LINENO: checking for iconv" >&5
35077 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35078 if test "${am_cv_func_iconv+set}" = set; then
35079 echo $ECHO_N "(cached) $ECHO_C" >&6
35080 else
35081
35082 am_cv_func_iconv="no, consider installing GNU libiconv"
35083 am_cv_lib_iconv=no
35084 cat >conftest.$ac_ext <<_ACEOF
35085 /* confdefs.h. */
35086 _ACEOF
35087 cat confdefs.h >>conftest.$ac_ext
35088 cat >>conftest.$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35090 #include <stdlib.h>
35091 #include <iconv.h>
35092 int
35093 main ()
35094 {
35095 iconv_t cd = iconv_open("","");
35096 iconv(cd,NULL,NULL,NULL,NULL);
35097 iconv_close(cd);
35098 ;
35099 return 0;
35100 }
35101 _ACEOF
35102 rm -f conftest.$ac_objext conftest$ac_exeext
35103 if { (ac_try="$ac_link"
35104 case "(($ac_try" in
35105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35106 *) ac_try_echo=$ac_try;;
35107 esac
35108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35109 (eval "$ac_link") 2>conftest.er1
35110 ac_status=$?
35111 grep -v '^ *+' conftest.er1 >conftest.err
35112 rm -f conftest.er1
35113 cat conftest.err >&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); } && {
35116 test -z "$ac_c_werror_flag" ||
35117 test ! -s conftest.err
35118 } && test -s conftest$ac_exeext &&
35119 $as_test_x conftest$ac_exeext; then
35120 am_cv_func_iconv=yes
35121 else
35122 echo "$as_me: failed program was:" >&5
35123 sed 's/^/| /' conftest.$ac_ext >&5
35124
35125
35126 fi
35127
35128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35129 conftest$ac_exeext conftest.$ac_ext
35130 if test "$am_cv_func_iconv" != yes; then
35131 am_save_LIBS="$LIBS"
35132 LIBS="$LIBS -liconv"
35133 cat >conftest.$ac_ext <<_ACEOF
35134 /* confdefs.h. */
35135 _ACEOF
35136 cat confdefs.h >>conftest.$ac_ext
35137 cat >>conftest.$ac_ext <<_ACEOF
35138 /* end confdefs.h. */
35139 #include <stdlib.h>
35140 #include <iconv.h>
35141 int
35142 main ()
35143 {
35144 iconv_t cd = iconv_open("","");
35145 iconv(cd,NULL,NULL,NULL,NULL);
35146 iconv_close(cd);
35147 ;
35148 return 0;
35149 }
35150 _ACEOF
35151 rm -f conftest.$ac_objext conftest$ac_exeext
35152 if { (ac_try="$ac_link"
35153 case "(($ac_try" in
35154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35155 *) ac_try_echo=$ac_try;;
35156 esac
35157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35158 (eval "$ac_link") 2>conftest.er1
35159 ac_status=$?
35160 grep -v '^ *+' conftest.er1 >conftest.err
35161 rm -f conftest.er1
35162 cat conftest.err >&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); } && {
35165 test -z "$ac_c_werror_flag" ||
35166 test ! -s conftest.err
35167 } && test -s conftest$ac_exeext &&
35168 $as_test_x conftest$ac_exeext; then
35169 am_cv_lib_iconv=yes
35170 am_cv_func_iconv=yes
35171 else
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.$ac_ext >&5
35174
35175
35176 fi
35177
35178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35179 conftest$ac_exeext conftest.$ac_ext
35180 LIBS="$am_save_LIBS"
35181 fi
35182
35183 fi
35184 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35185 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35186 if test "$am_cv_func_iconv" = yes; then
35187
35188 cat >>confdefs.h <<\_ACEOF
35189 #define HAVE_ICONV 1
35190 _ACEOF
35191
35192 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35193 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35194 if test "${wx_cv_func_iconv_const+set}" = set; then
35195 echo $ECHO_N "(cached) $ECHO_C" >&6
35196 else
35197 cat >conftest.$ac_ext <<_ACEOF
35198 /* confdefs.h. */
35199 _ACEOF
35200 cat confdefs.h >>conftest.$ac_ext
35201 cat >>conftest.$ac_ext <<_ACEOF
35202 /* end confdefs.h. */
35203
35204 #include <stdlib.h>
35205 #include <iconv.h>
35206 extern
35207 #ifdef __cplusplus
35208 "C"
35209 #endif
35210 #if defined(__STDC__) || defined(__cplusplus)
35211 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35212 #else
35213 size_t iconv();
35214 #endif
35215
35216 int
35217 main ()
35218 {
35219
35220 ;
35221 return 0;
35222 }
35223 _ACEOF
35224 rm -f conftest.$ac_objext
35225 if { (ac_try="$ac_compile"
35226 case "(($ac_try" in
35227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35228 *) ac_try_echo=$ac_try;;
35229 esac
35230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35231 (eval "$ac_compile") 2>conftest.er1
35232 ac_status=$?
35233 grep -v '^ *+' conftest.er1 >conftest.err
35234 rm -f conftest.er1
35235 cat conftest.err >&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); } && {
35238 test -z "$ac_c_werror_flag" ||
35239 test ! -s conftest.err
35240 } && test -s conftest.$ac_objext; then
35241 wx_cv_func_iconv_const="no"
35242 else
35243 echo "$as_me: failed program was:" >&5
35244 sed 's/^/| /' conftest.$ac_ext >&5
35245
35246 wx_cv_func_iconv_const="yes"
35247
35248 fi
35249
35250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35251
35252 fi
35253 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35254 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35255
35256 iconv_const=
35257 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35258 iconv_const="const"
35259 fi
35260
35261
35262 cat >>confdefs.h <<_ACEOF
35263 #define ICONV_CONST $iconv_const
35264 _ACEOF
35265
35266 fi
35267 LIBICONV=
35268 if test "$am_cv_lib_iconv" = yes; then
35269 LIBICONV="-liconv"
35270 fi
35271
35272
35273 LIBS="$LIBICONV $LIBS"
35274
35275 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35276
35277 for ac_func in sigaction
35278 do
35279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35282 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35293 #define $ac_func innocuous_$ac_func
35294
35295 /* System header to define __stub macros and hopefully few prototypes,
35296 which can conflict with char $ac_func (); below.
35297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35298 <limits.h> exists even on freestanding compilers. */
35299
35300 #ifdef __STDC__
35301 # include <limits.h>
35302 #else
35303 # include <assert.h>
35304 #endif
35305
35306 #undef $ac_func
35307
35308 /* Override any GCC internal prototype to avoid an error.
35309 Use char because int might match the return type of a GCC
35310 builtin and then its argument prototype would still apply. */
35311 #ifdef __cplusplus
35312 extern "C"
35313 #endif
35314 char $ac_func ();
35315 /* The GNU C library defines this for functions which it implements
35316 to always fail with ENOSYS. Some functions are actually named
35317 something starting with __ and the normal name is an alias. */
35318 #if defined __stub_$ac_func || defined __stub___$ac_func
35319 choke me
35320 #endif
35321
35322 int
35323 main ()
35324 {
35325 return $ac_func ();
35326 ;
35327 return 0;
35328 }
35329 _ACEOF
35330 rm -f conftest.$ac_objext conftest$ac_exeext
35331 if { (ac_try="$ac_link"
35332 case "(($ac_try" in
35333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35334 *) ac_try_echo=$ac_try;;
35335 esac
35336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35337 (eval "$ac_link") 2>conftest.er1
35338 ac_status=$?
35339 grep -v '^ *+' conftest.er1 >conftest.err
35340 rm -f conftest.er1
35341 cat conftest.err >&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } && {
35344 test -z "$ac_c_werror_flag" ||
35345 test ! -s conftest.err
35346 } && test -s conftest$ac_exeext &&
35347 $as_test_x conftest$ac_exeext; then
35348 eval "$as_ac_var=yes"
35349 else
35350 echo "$as_me: failed program was:" >&5
35351 sed 's/^/| /' conftest.$ac_ext >&5
35352
35353 eval "$as_ac_var=no"
35354 fi
35355
35356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35357 conftest$ac_exeext conftest.$ac_ext
35358 fi
35359 ac_res=`eval echo '${'$as_ac_var'}'`
35360 { echo "$as_me:$LINENO: result: $ac_res" >&5
35361 echo "${ECHO_T}$ac_res" >&6; }
35362 if test `eval echo '${'$as_ac_var'}'` = yes; then
35363 cat >>confdefs.h <<_ACEOF
35364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35365 _ACEOF
35366
35367 fi
35368 done
35369
35370
35371 if test "$ac_cv_func_sigaction" = "no"; then
35372 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35373 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35374 wxUSE_ON_FATAL_EXCEPTION=no
35375 fi
35376
35377 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35378 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35379 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35380 if test "${wx_cv_type_sa_handler+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35382 else
35383
35384 ac_ext=cpp
35385 ac_cpp='$CXXCPP $CPPFLAGS'
35386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35389
35390 cat >conftest.$ac_ext <<_ACEOF
35391 /* confdefs.h. */
35392 _ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 #include <signal.h>
35397 int
35398 main ()
35399 {
35400
35401 extern void testSigHandler(int);
35402
35403 struct sigaction sa;
35404 sa.sa_handler = testSigHandler;
35405
35406 ;
35407 return 0;
35408 }
35409 _ACEOF
35410 rm -f conftest.$ac_objext
35411 if { (ac_try="$ac_compile"
35412 case "(($ac_try" in
35413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35414 *) ac_try_echo=$ac_try;;
35415 esac
35416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35417 (eval "$ac_compile") 2>conftest.er1
35418 ac_status=$?
35419 grep -v '^ *+' conftest.er1 >conftest.err
35420 rm -f conftest.er1
35421 cat conftest.err >&5
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); } && {
35424 test -z "$ac_cxx_werror_flag" ||
35425 test ! -s conftest.err
35426 } && test -s conftest.$ac_objext; then
35427
35428 wx_cv_type_sa_handler=int
35429
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35433
35434
35435 wx_cv_type_sa_handler=void
35436
35437 fi
35438
35439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35440 ac_ext=c
35441 ac_cpp='$CPP $CPPFLAGS'
35442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35445
35446
35447 fi
35448 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35449 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35450
35451 cat >>confdefs.h <<_ACEOF
35452 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35453 _ACEOF
35454
35455 fi
35456 fi
35457
35458 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35459 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35460 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35461 if test "${wx_cv_func_backtrace+set}" = set; then
35462 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 else
35464
35465 ac_ext=cpp
35466 ac_cpp='$CXXCPP $CPPFLAGS'
35467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35470
35471 cat >conftest.$ac_ext <<_ACEOF
35472 /* confdefs.h. */
35473 _ACEOF
35474 cat confdefs.h >>conftest.$ac_ext
35475 cat >>conftest.$ac_ext <<_ACEOF
35476 /* end confdefs.h. */
35477 #include <execinfo.h>
35478 int
35479 main ()
35480 {
35481
35482 void *trace[1];
35483 char **messages;
35484
35485 backtrace(trace, 1);
35486 messages = backtrace_symbols(trace, 1);
35487
35488 ;
35489 return 0;
35490 }
35491 _ACEOF
35492 rm -f conftest.$ac_objext
35493 if { (ac_try="$ac_compile"
35494 case "(($ac_try" in
35495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35496 *) ac_try_echo=$ac_try;;
35497 esac
35498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35499 (eval "$ac_compile") 2>conftest.er1
35500 ac_status=$?
35501 grep -v '^ *+' conftest.er1 >conftest.err
35502 rm -f conftest.er1
35503 cat conftest.err >&5
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); } && {
35506 test -z "$ac_cxx_werror_flag" ||
35507 test ! -s conftest.err
35508 } && test -s conftest.$ac_objext; then
35509 wx_cv_func_backtrace=yes
35510 else
35511 echo "$as_me: failed program was:" >&5
35512 sed 's/^/| /' conftest.$ac_ext >&5
35513
35514 wx_cv_func_backtrace=no
35515
35516 fi
35517
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 ac_ext=c
35520 ac_cpp='$CPP $CPPFLAGS'
35521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524
35525
35526
35527 fi
35528 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35529 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35530
35531
35532 if test "$wx_cv_func_backtrace" = "no"; then
35533 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35534 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35535 wxUSE_STACKWALKER=no
35536 else
35537 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35538 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35539 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35540 echo $ECHO_N "(cached) $ECHO_C" >&6
35541 else
35542
35543 ac_ext=cpp
35544 ac_cpp='$CXXCPP $CPPFLAGS'
35545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35548
35549 cat >conftest.$ac_ext <<_ACEOF
35550 /* confdefs.h. */
35551 _ACEOF
35552 cat confdefs.h >>conftest.$ac_ext
35553 cat >>conftest.$ac_ext <<_ACEOF
35554 /* end confdefs.h. */
35555 #include <cxxabi.h>
35556 int
35557 main ()
35558 {
35559
35560 int rc;
35561 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35562
35563 ;
35564 return 0;
35565 }
35566 _ACEOF
35567 rm -f conftest.$ac_objext conftest$ac_exeext
35568 if { (ac_try="$ac_link"
35569 case "(($ac_try" in
35570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35571 *) ac_try_echo=$ac_try;;
35572 esac
35573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35574 (eval "$ac_link") 2>conftest.er1
35575 ac_status=$?
35576 grep -v '^ *+' conftest.er1 >conftest.err
35577 rm -f conftest.er1
35578 cat conftest.err >&5
35579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580 (exit $ac_status); } && {
35581 test -z "$ac_cxx_werror_flag" ||
35582 test ! -s conftest.err
35583 } && test -s conftest$ac_exeext &&
35584 $as_test_x conftest$ac_exeext; then
35585 wx_cv_func_cxa_demangle=yes
35586 else
35587 echo "$as_me: failed program was:" >&5
35588 sed 's/^/| /' conftest.$ac_ext >&5
35589
35590 wx_cv_func_cxa_demangle=no
35591
35592 fi
35593
35594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35595 conftest$ac_exeext conftest.$ac_ext
35596 ac_ext=c
35597 ac_cpp='$CPP $CPPFLAGS'
35598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35601
35602
35603
35604 fi
35605 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35606 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35607
35608 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35609 cat >>confdefs.h <<\_ACEOF
35610 #define HAVE_CXA_DEMANGLE 1
35611 _ACEOF
35612
35613 fi
35614 fi
35615 fi
35616
35617 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35618 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35619 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35620 wxUSE_STACKWALKER=no
35621 fi
35622
35623
35624
35625
35626 for ac_func in mkstemp mktemp
35627 do
35628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35629 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 else
35634 cat >conftest.$ac_ext <<_ACEOF
35635 /* confdefs.h. */
35636 _ACEOF
35637 cat confdefs.h >>conftest.$ac_ext
35638 cat >>conftest.$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35642 #define $ac_func innocuous_$ac_func
35643
35644 /* System header to define __stub macros and hopefully few prototypes,
35645 which can conflict with char $ac_func (); below.
35646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35647 <limits.h> exists even on freestanding compilers. */
35648
35649 #ifdef __STDC__
35650 # include <limits.h>
35651 #else
35652 # include <assert.h>
35653 #endif
35654
35655 #undef $ac_func
35656
35657 /* Override any GCC internal prototype to avoid an error.
35658 Use char because int might match the return type of a GCC
35659 builtin and then its argument prototype would still apply. */
35660 #ifdef __cplusplus
35661 extern "C"
35662 #endif
35663 char $ac_func ();
35664 /* The GNU C library defines this for functions which it implements
35665 to always fail with ENOSYS. Some functions are actually named
35666 something starting with __ and the normal name is an alias. */
35667 #if defined __stub_$ac_func || defined __stub___$ac_func
35668 choke me
35669 #endif
35670
35671 int
35672 main ()
35673 {
35674 return $ac_func ();
35675 ;
35676 return 0;
35677 }
35678 _ACEOF
35679 rm -f conftest.$ac_objext conftest$ac_exeext
35680 if { (ac_try="$ac_link"
35681 case "(($ac_try" in
35682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35683 *) ac_try_echo=$ac_try;;
35684 esac
35685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35686 (eval "$ac_link") 2>conftest.er1
35687 ac_status=$?
35688 grep -v '^ *+' conftest.er1 >conftest.err
35689 rm -f conftest.er1
35690 cat conftest.err >&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); } && {
35693 test -z "$ac_c_werror_flag" ||
35694 test ! -s conftest.err
35695 } && test -s conftest$ac_exeext &&
35696 $as_test_x conftest$ac_exeext; then
35697 eval "$as_ac_var=yes"
35698 else
35699 echo "$as_me: failed program was:" >&5
35700 sed 's/^/| /' conftest.$ac_ext >&5
35701
35702 eval "$as_ac_var=no"
35703 fi
35704
35705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35706 conftest$ac_exeext conftest.$ac_ext
35707 fi
35708 ac_res=`eval echo '${'$as_ac_var'}'`
35709 { echo "$as_me:$LINENO: result: $ac_res" >&5
35710 echo "${ECHO_T}$ac_res" >&6; }
35711 if test `eval echo '${'$as_ac_var'}'` = yes; then
35712 cat >>confdefs.h <<_ACEOF
35713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35714 _ACEOF
35715 break
35716 fi
35717 done
35718
35719
35720 { echo "$as_me:$LINENO: checking for statfs" >&5
35721 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35722 if test "${wx_cv_func_statfs+set}" = set; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 else
35725 cat >conftest.$ac_ext <<_ACEOF
35726 /* confdefs.h. */
35727 _ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35731
35732 #if defined(__BSD__)
35733 #include <sys/param.h>
35734 #include <sys/mount.h>
35735 #else
35736 #include <sys/vfs.h>
35737 #endif
35738
35739 int
35740 main ()
35741 {
35742
35743 long l;
35744 struct statfs fs;
35745 statfs("/", &fs);
35746 l = fs.f_bsize;
35747 l += fs.f_blocks;
35748 l += fs.f_bavail;
35749
35750 ;
35751 return 0;
35752 }
35753 _ACEOF
35754 rm -f conftest.$ac_objext
35755 if { (ac_try="$ac_compile"
35756 case "(($ac_try" in
35757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35758 *) ac_try_echo=$ac_try;;
35759 esac
35760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35761 (eval "$ac_compile") 2>conftest.er1
35762 ac_status=$?
35763 grep -v '^ *+' conftest.er1 >conftest.err
35764 rm -f conftest.er1
35765 cat conftest.err >&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } && {
35768 test -z "$ac_c_werror_flag" ||
35769 test ! -s conftest.err
35770 } && test -s conftest.$ac_objext; then
35771 wx_cv_func_statfs=yes
35772 else
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35775
35776 wx_cv_func_statfs=no
35777
35778 fi
35779
35780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35781
35782 fi
35783 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35784 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35785
35786 if test "$wx_cv_func_statfs" = "yes"; then
35787 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35788 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35789 if test "${wx_cv_func_statfs_decl+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792 ac_ext=cpp
35793 ac_cpp='$CXXCPP $CPPFLAGS'
35794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35797
35798 cat >conftest.$ac_ext <<_ACEOF
35799 /* confdefs.h. */
35800 _ACEOF
35801 cat confdefs.h >>conftest.$ac_ext
35802 cat >>conftest.$ac_ext <<_ACEOF
35803 /* end confdefs.h. */
35804
35805 #if defined(__BSD__)
35806 #include <sys/param.h>
35807 #include <sys/mount.h>
35808 #else
35809 #include <sys/vfs.h>
35810 #endif
35811
35812 int
35813 main ()
35814 {
35815
35816 struct statfs fs;
35817 statfs("", &fs);
35818
35819 ;
35820 return 0;
35821 }
35822 _ACEOF
35823 rm -f conftest.$ac_objext
35824 if { (ac_try="$ac_compile"
35825 case "(($ac_try" in
35826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35827 *) ac_try_echo=$ac_try;;
35828 esac
35829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35830 (eval "$ac_compile") 2>conftest.er1
35831 ac_status=$?
35832 grep -v '^ *+' conftest.er1 >conftest.err
35833 rm -f conftest.er1
35834 cat conftest.err >&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } && {
35837 test -z "$ac_cxx_werror_flag" ||
35838 test ! -s conftest.err
35839 } && test -s conftest.$ac_objext; then
35840 wx_cv_func_statfs_decl=yes
35841 else
35842 echo "$as_me: failed program was:" >&5
35843 sed 's/^/| /' conftest.$ac_ext >&5
35844
35845 wx_cv_func_statfs_decl=no
35846
35847 fi
35848
35849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35850 ac_ext=c
35851 ac_cpp='$CPP $CPPFLAGS'
35852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35855
35856
35857 fi
35858 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35859 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35860
35861 if test "$wx_cv_func_statfs_decl" = "yes"; then
35862 cat >>confdefs.h <<\_ACEOF
35863 #define HAVE_STATFS_DECL 1
35864 _ACEOF
35865
35866 fi
35867
35868 wx_cv_type_statvfs_t="struct statfs"
35869 cat >>confdefs.h <<\_ACEOF
35870 #define HAVE_STATFS 1
35871 _ACEOF
35872
35873 else
35874 { echo "$as_me:$LINENO: checking for statvfs" >&5
35875 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35876 if test "${wx_cv_func_statvfs+set}" = set; then
35877 echo $ECHO_N "(cached) $ECHO_C" >&6
35878 else
35879 cat >conftest.$ac_ext <<_ACEOF
35880 /* confdefs.h. */
35881 _ACEOF
35882 cat confdefs.h >>conftest.$ac_ext
35883 cat >>conftest.$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35885
35886 #include <stddef.h>
35887 #include <sys/statvfs.h>
35888
35889 int
35890 main ()
35891 {
35892
35893 statvfs("/", NULL);
35894
35895 ;
35896 return 0;
35897 }
35898 _ACEOF
35899 rm -f conftest.$ac_objext
35900 if { (ac_try="$ac_compile"
35901 case "(($ac_try" in
35902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35903 *) ac_try_echo=$ac_try;;
35904 esac
35905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35906 (eval "$ac_compile") 2>conftest.er1
35907 ac_status=$?
35908 grep -v '^ *+' conftest.er1 >conftest.err
35909 rm -f conftest.er1
35910 cat conftest.err >&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); } && {
35913 test -z "$ac_c_werror_flag" ||
35914 test ! -s conftest.err
35915 } && test -s conftest.$ac_objext; then
35916 wx_cv_func_statvfs=yes
35917 else
35918 echo "$as_me: failed program was:" >&5
35919 sed 's/^/| /' conftest.$ac_ext >&5
35920
35921 wx_cv_func_statvfs=no
35922
35923 fi
35924
35925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35926
35927 fi
35928 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35929 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35930
35931 if test "$wx_cv_func_statvfs" = "yes"; then
35932 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35933 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35934 if test "${wx_cv_type_statvfs_t+set}" = set; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 else
35937 ac_ext=cpp
35938 ac_cpp='$CXXCPP $CPPFLAGS'
35939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35942
35943 cat >conftest.$ac_ext <<_ACEOF
35944 /* confdefs.h. */
35945 _ACEOF
35946 cat confdefs.h >>conftest.$ac_ext
35947 cat >>conftest.$ac_ext <<_ACEOF
35948 /* end confdefs.h. */
35949
35950 #include <sys/statvfs.h>
35951
35952 int
35953 main ()
35954 {
35955
35956 long l;
35957 statvfs_t fs;
35958 statvfs("/", &fs);
35959 l = fs.f_bsize;
35960 l += fs.f_blocks;
35961 l += fs.f_bavail;
35962
35963 ;
35964 return 0;
35965 }
35966 _ACEOF
35967 rm -f conftest.$ac_objext
35968 if { (ac_try="$ac_compile"
35969 case "(($ac_try" in
35970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35971 *) ac_try_echo=$ac_try;;
35972 esac
35973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35974 (eval "$ac_compile") 2>conftest.er1
35975 ac_status=$?
35976 grep -v '^ *+' conftest.er1 >conftest.err
35977 rm -f conftest.er1
35978 cat conftest.err >&5
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); } && {
35981 test -z "$ac_cxx_werror_flag" ||
35982 test ! -s conftest.err
35983 } && test -s conftest.$ac_objext; then
35984 wx_cv_type_statvfs_t=statvfs_t
35985 else
35986 echo "$as_me: failed program was:" >&5
35987 sed 's/^/| /' conftest.$ac_ext >&5
35988
35989
35990 cat >conftest.$ac_ext <<_ACEOF
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996
35997 #include <sys/statvfs.h>
35998
35999 int
36000 main ()
36001 {
36002
36003 long l;
36004 struct statvfs fs;
36005 statvfs("/", &fs);
36006 l = fs.f_bsize;
36007 l += fs.f_blocks;
36008 l += fs.f_bavail;
36009
36010 ;
36011 return 0;
36012 }
36013 _ACEOF
36014 rm -f conftest.$ac_objext
36015 if { (ac_try="$ac_compile"
36016 case "(($ac_try" in
36017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36019 esac
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_compile") 2>conftest.er1
36022 ac_status=$?
36023 grep -v '^ *+' conftest.er1 >conftest.err
36024 rm -f conftest.er1
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_cxx_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest.$ac_objext; then
36031 wx_cv_type_statvfs_t="struct statvfs"
36032 else
36033 echo "$as_me: failed program was:" >&5
36034 sed 's/^/| /' conftest.$ac_ext >&5
36035
36036 wx_cv_type_statvfs_t="unknown"
36037
36038 fi
36039
36040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36041
36042
36043 fi
36044
36045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36046 ac_ext=c
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36051
36052
36053 fi
36054 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36055 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36056
36057 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36058 cat >>confdefs.h <<\_ACEOF
36059 #define HAVE_STATVFS 1
36060 _ACEOF
36061
36062 fi
36063 else
36064 wx_cv_type_statvfs_t="unknown"
36065 fi
36066 fi
36067
36068 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36069 cat >>confdefs.h <<_ACEOF
36070 #define WX_STATFS_T $wx_cv_type_statvfs_t
36071 _ACEOF
36072
36073 else
36074 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36075 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36076 fi
36077
36078 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36079
36080
36081 for ac_func in fcntl flock
36082 do
36083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36087 echo $ECHO_N "(cached) $ECHO_C" >&6
36088 else
36089 cat >conftest.$ac_ext <<_ACEOF
36090 /* confdefs.h. */
36091 _ACEOF
36092 cat confdefs.h >>conftest.$ac_ext
36093 cat >>conftest.$ac_ext <<_ACEOF
36094 /* end confdefs.h. */
36095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36097 #define $ac_func innocuous_$ac_func
36098
36099 /* System header to define __stub macros and hopefully few prototypes,
36100 which can conflict with char $ac_func (); below.
36101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36102 <limits.h> exists even on freestanding compilers. */
36103
36104 #ifdef __STDC__
36105 # include <limits.h>
36106 #else
36107 # include <assert.h>
36108 #endif
36109
36110 #undef $ac_func
36111
36112 /* Override any GCC internal prototype to avoid an error.
36113 Use char because int might match the return type of a GCC
36114 builtin and then its argument prototype would still apply. */
36115 #ifdef __cplusplus
36116 extern "C"
36117 #endif
36118 char $ac_func ();
36119 /* The GNU C library defines this for functions which it implements
36120 to always fail with ENOSYS. Some functions are actually named
36121 something starting with __ and the normal name is an alias. */
36122 #if defined __stub_$ac_func || defined __stub___$ac_func
36123 choke me
36124 #endif
36125
36126 int
36127 main ()
36128 {
36129 return $ac_func ();
36130 ;
36131 return 0;
36132 }
36133 _ACEOF
36134 rm -f conftest.$ac_objext conftest$ac_exeext
36135 if { (ac_try="$ac_link"
36136 case "(($ac_try" in
36137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36138 *) ac_try_echo=$ac_try;;
36139 esac
36140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36141 (eval "$ac_link") 2>conftest.er1
36142 ac_status=$?
36143 grep -v '^ *+' conftest.er1 >conftest.err
36144 rm -f conftest.er1
36145 cat conftest.err >&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); } && {
36148 test -z "$ac_c_werror_flag" ||
36149 test ! -s conftest.err
36150 } && test -s conftest$ac_exeext &&
36151 $as_test_x conftest$ac_exeext; then
36152 eval "$as_ac_var=yes"
36153 else
36154 echo "$as_me: failed program was:" >&5
36155 sed 's/^/| /' conftest.$ac_ext >&5
36156
36157 eval "$as_ac_var=no"
36158 fi
36159
36160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36161 conftest$ac_exeext conftest.$ac_ext
36162 fi
36163 ac_res=`eval echo '${'$as_ac_var'}'`
36164 { echo "$as_me:$LINENO: result: $ac_res" >&5
36165 echo "${ECHO_T}$ac_res" >&6; }
36166 if test `eval echo '${'$as_ac_var'}'` = yes; then
36167 cat >>confdefs.h <<_ACEOF
36168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36169 _ACEOF
36170 break
36171 fi
36172 done
36173
36174
36175 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36176 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36177 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36178 wxUSE_SNGLINST_CHECKER=no
36179 fi
36180 fi
36181
36182
36183 for ac_func in timegm
36184 do
36185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36188 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36189 echo $ECHO_N "(cached) $ECHO_C" >&6
36190 else
36191 cat >conftest.$ac_ext <<_ACEOF
36192 /* confdefs.h. */
36193 _ACEOF
36194 cat confdefs.h >>conftest.$ac_ext
36195 cat >>conftest.$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36199 #define $ac_func innocuous_$ac_func
36200
36201 /* System header to define __stub macros and hopefully few prototypes,
36202 which can conflict with char $ac_func (); below.
36203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36204 <limits.h> exists even on freestanding compilers. */
36205
36206 #ifdef __STDC__
36207 # include <limits.h>
36208 #else
36209 # include <assert.h>
36210 #endif
36211
36212 #undef $ac_func
36213
36214 /* Override any GCC internal prototype to avoid an error.
36215 Use char because int might match the return type of a GCC
36216 builtin and then its argument prototype would still apply. */
36217 #ifdef __cplusplus
36218 extern "C"
36219 #endif
36220 char $ac_func ();
36221 /* The GNU C library defines this for functions which it implements
36222 to always fail with ENOSYS. Some functions are actually named
36223 something starting with __ and the normal name is an alias. */
36224 #if defined __stub_$ac_func || defined __stub___$ac_func
36225 choke me
36226 #endif
36227
36228 int
36229 main ()
36230 {
36231 return $ac_func ();
36232 ;
36233 return 0;
36234 }
36235 _ACEOF
36236 rm -f conftest.$ac_objext conftest$ac_exeext
36237 if { (ac_try="$ac_link"
36238 case "(($ac_try" in
36239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36240 *) ac_try_echo=$ac_try;;
36241 esac
36242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36243 (eval "$ac_link") 2>conftest.er1
36244 ac_status=$?
36245 grep -v '^ *+' conftest.er1 >conftest.err
36246 rm -f conftest.er1
36247 cat conftest.err >&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } && {
36250 test -z "$ac_c_werror_flag" ||
36251 test ! -s conftest.err
36252 } && test -s conftest$ac_exeext &&
36253 $as_test_x conftest$ac_exeext; then
36254 eval "$as_ac_var=yes"
36255 else
36256 echo "$as_me: failed program was:" >&5
36257 sed 's/^/| /' conftest.$ac_ext >&5
36258
36259 eval "$as_ac_var=no"
36260 fi
36261
36262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36263 conftest$ac_exeext conftest.$ac_ext
36264 fi
36265 ac_res=`eval echo '${'$as_ac_var'}'`
36266 { echo "$as_me:$LINENO: result: $ac_res" >&5
36267 echo "${ECHO_T}$ac_res" >&6; }
36268 if test `eval echo '${'$as_ac_var'}'` = yes; then
36269 cat >>confdefs.h <<_ACEOF
36270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36271 _ACEOF
36272
36273 fi
36274 done
36275
36276
36277
36278
36279 for ac_func in putenv setenv
36280 do
36281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36285 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 else
36287 cat >conftest.$ac_ext <<_ACEOF
36288 /* confdefs.h. */
36289 _ACEOF
36290 cat confdefs.h >>conftest.$ac_ext
36291 cat >>conftest.$ac_ext <<_ACEOF
36292 /* end confdefs.h. */
36293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36295 #define $ac_func innocuous_$ac_func
36296
36297 /* System header to define __stub macros and hopefully few prototypes,
36298 which can conflict with char $ac_func (); below.
36299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36300 <limits.h> exists even on freestanding compilers. */
36301
36302 #ifdef __STDC__
36303 # include <limits.h>
36304 #else
36305 # include <assert.h>
36306 #endif
36307
36308 #undef $ac_func
36309
36310 /* Override any GCC internal prototype to avoid an error.
36311 Use char because int might match the return type of a GCC
36312 builtin and then its argument prototype would still apply. */
36313 #ifdef __cplusplus
36314 extern "C"
36315 #endif
36316 char $ac_func ();
36317 /* The GNU C library defines this for functions which it implements
36318 to always fail with ENOSYS. Some functions are actually named
36319 something starting with __ and the normal name is an alias. */
36320 #if defined __stub_$ac_func || defined __stub___$ac_func
36321 choke me
36322 #endif
36323
36324 int
36325 main ()
36326 {
36327 return $ac_func ();
36328 ;
36329 return 0;
36330 }
36331 _ACEOF
36332 rm -f conftest.$ac_objext conftest$ac_exeext
36333 if { (ac_try="$ac_link"
36334 case "(($ac_try" in
36335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36336 *) ac_try_echo=$ac_try;;
36337 esac
36338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36339 (eval "$ac_link") 2>conftest.er1
36340 ac_status=$?
36341 grep -v '^ *+' conftest.er1 >conftest.err
36342 rm -f conftest.er1
36343 cat conftest.err >&5
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); } && {
36346 test -z "$ac_c_werror_flag" ||
36347 test ! -s conftest.err
36348 } && test -s conftest$ac_exeext &&
36349 $as_test_x conftest$ac_exeext; then
36350 eval "$as_ac_var=yes"
36351 else
36352 echo "$as_me: failed program was:" >&5
36353 sed 's/^/| /' conftest.$ac_ext >&5
36354
36355 eval "$as_ac_var=no"
36356 fi
36357
36358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36359 conftest$ac_exeext conftest.$ac_ext
36360 fi
36361 ac_res=`eval echo '${'$as_ac_var'}'`
36362 { echo "$as_me:$LINENO: result: $ac_res" >&5
36363 echo "${ECHO_T}$ac_res" >&6; }
36364 if test `eval echo '${'$as_ac_var'}'` = yes; then
36365 cat >>confdefs.h <<_ACEOF
36366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36367 _ACEOF
36368 break
36369 fi
36370 done
36371
36372
36373 HAVE_SOME_SLEEP_FUNC=0
36374 if test "$USE_BEOS" = 1; then
36375 cat >>confdefs.h <<\_ACEOF
36376 #define HAVE_SLEEP 1
36377 _ACEOF
36378
36379 HAVE_SOME_SLEEP_FUNC=1
36380 fi
36381
36382 if test "$USE_DARWIN" = 1; then
36383 cat >>confdefs.h <<\_ACEOF
36384 #define HAVE_USLEEP 1
36385 _ACEOF
36386
36387 HAVE_SOME_SLEEP_FUNC=1
36388 fi
36389
36390 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36391 POSIX4_LINK=
36392
36393 for ac_func in nanosleep
36394 do
36395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36398 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36400 else
36401 cat >conftest.$ac_ext <<_ACEOF
36402 /* confdefs.h. */
36403 _ACEOF
36404 cat confdefs.h >>conftest.$ac_ext
36405 cat >>conftest.$ac_ext <<_ACEOF
36406 /* end confdefs.h. */
36407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36409 #define $ac_func innocuous_$ac_func
36410
36411 /* System header to define __stub macros and hopefully few prototypes,
36412 which can conflict with char $ac_func (); below.
36413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36414 <limits.h> exists even on freestanding compilers. */
36415
36416 #ifdef __STDC__
36417 # include <limits.h>
36418 #else
36419 # include <assert.h>
36420 #endif
36421
36422 #undef $ac_func
36423
36424 /* Override any GCC internal prototype to avoid an error.
36425 Use char because int might match the return type of a GCC
36426 builtin and then its argument prototype would still apply. */
36427 #ifdef __cplusplus
36428 extern "C"
36429 #endif
36430 char $ac_func ();
36431 /* The GNU C library defines this for functions which it implements
36432 to always fail with ENOSYS. Some functions are actually named
36433 something starting with __ and the normal name is an alias. */
36434 #if defined __stub_$ac_func || defined __stub___$ac_func
36435 choke me
36436 #endif
36437
36438 int
36439 main ()
36440 {
36441 return $ac_func ();
36442 ;
36443 return 0;
36444 }
36445 _ACEOF
36446 rm -f conftest.$ac_objext conftest$ac_exeext
36447 if { (ac_try="$ac_link"
36448 case "(($ac_try" in
36449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36451 esac
36452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_link") 2>conftest.er1
36454 ac_status=$?
36455 grep -v '^ *+' conftest.er1 >conftest.err
36456 rm -f conftest.er1
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_c_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest$ac_exeext &&
36463 $as_test_x conftest$ac_exeext; then
36464 eval "$as_ac_var=yes"
36465 else
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.$ac_ext >&5
36468
36469 eval "$as_ac_var=no"
36470 fi
36471
36472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36473 conftest$ac_exeext conftest.$ac_ext
36474 fi
36475 ac_res=`eval echo '${'$as_ac_var'}'`
36476 { echo "$as_me:$LINENO: result: $ac_res" >&5
36477 echo "${ECHO_T}$ac_res" >&6; }
36478 if test `eval echo '${'$as_ac_var'}'` = yes; then
36479 cat >>confdefs.h <<_ACEOF
36480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36481 _ACEOF
36482 cat >>confdefs.h <<\_ACEOF
36483 #define HAVE_NANOSLEEP 1
36484 _ACEOF
36485
36486 else
36487
36488 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36489 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36490 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36491 echo $ECHO_N "(cached) $ECHO_C" >&6
36492 else
36493 ac_check_lib_save_LIBS=$LIBS
36494 LIBS="-lposix4 $LIBS"
36495 cat >conftest.$ac_ext <<_ACEOF
36496 /* confdefs.h. */
36497 _ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36501
36502 /* Override any GCC internal prototype to avoid an error.
36503 Use char because int might match the return type of a GCC
36504 builtin and then its argument prototype would still apply. */
36505 #ifdef __cplusplus
36506 extern "C"
36507 #endif
36508 char nanosleep ();
36509 int
36510 main ()
36511 {
36512 return nanosleep ();
36513 ;
36514 return 0;
36515 }
36516 _ACEOF
36517 rm -f conftest.$ac_objext conftest$ac_exeext
36518 if { (ac_try="$ac_link"
36519 case "(($ac_try" in
36520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36521 *) ac_try_echo=$ac_try;;
36522 esac
36523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36524 (eval "$ac_link") 2>conftest.er1
36525 ac_status=$?
36526 grep -v '^ *+' conftest.er1 >conftest.err
36527 rm -f conftest.er1
36528 cat conftest.err >&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } && {
36531 test -z "$ac_c_werror_flag" ||
36532 test ! -s conftest.err
36533 } && test -s conftest$ac_exeext &&
36534 $as_test_x conftest$ac_exeext; then
36535 ac_cv_lib_posix4_nanosleep=yes
36536 else
36537 echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.$ac_ext >&5
36539
36540 ac_cv_lib_posix4_nanosleep=no
36541 fi
36542
36543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36544 conftest$ac_exeext conftest.$ac_ext
36545 LIBS=$ac_check_lib_save_LIBS
36546 fi
36547 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36548 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36549 if test $ac_cv_lib_posix4_nanosleep = yes; then
36550
36551 cat >>confdefs.h <<\_ACEOF
36552 #define HAVE_NANOSLEEP 1
36553 _ACEOF
36554
36555 POSIX4_LINK=" -lposix4"
36556
36557 else
36558
36559
36560 for wx_func in usleep
36561 do
36562 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36563 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36564 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36565 echo $ECHO_N "(cached) $ECHO_C" >&6
36566 else
36567
36568 cat >conftest.$ac_ext <<_ACEOF
36569
36570 /* confdefs.h. */
36571 _ACEOF
36572 cat confdefs.h >>conftest.$ac_ext
36573 cat >>conftest.$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36575
36576
36577 $ac_includes_default
36578
36579 int
36580 main ()
36581 {
36582
36583 #ifndef $wx_func
36584 &$wx_func;
36585 #endif
36586
36587
36588 ;
36589 return 0;
36590 }
36591
36592 _ACEOF
36593 rm -f conftest.$ac_objext conftest$ac_exeext
36594 if { (ac_try="$ac_link"
36595 case "(($ac_try" in
36596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36597 *) ac_try_echo=$ac_try;;
36598 esac
36599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36600 (eval "$ac_link") 2>conftest.er1
36601 ac_status=$?
36602 grep -v '^ *+' conftest.er1 >conftest.err
36603 rm -f conftest.er1
36604 cat conftest.err >&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); } && {
36607 test -z "$ac_c_werror_flag" ||
36608 test ! -s conftest.err
36609 } && test -s conftest$ac_exeext &&
36610 $as_test_x conftest$ac_exeext; then
36611 eval wx_cv_func_$wx_func=yes
36612 else
36613 echo "$as_me: failed program was:" >&5
36614 sed 's/^/| /' conftest.$ac_ext >&5
36615
36616 eval wx_cv_func_$wx_func=no
36617 fi
36618
36619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36620 conftest$ac_exeext conftest.$ac_ext
36621
36622 fi
36623 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36624 { echo "$as_me:$LINENO: result: $ac_res" >&5
36625 echo "${ECHO_T}$ac_res" >&6; }
36626
36627 if eval test \$wx_cv_func_$wx_func = yes
36628 then
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36631 _ACEOF
36632
36633
36634 else
36635 :
36636 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36637 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36638
36639 fi
36640 done
36641
36642
36643
36644 fi
36645
36646
36647
36648 fi
36649 done
36650
36651 fi
36652
36653
36654 for wx_func in uname
36655 do
36656 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36657 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36658 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36659 echo $ECHO_N "(cached) $ECHO_C" >&6
36660 else
36661
36662 cat >conftest.$ac_ext <<_ACEOF
36663
36664 /* confdefs.h. */
36665 _ACEOF
36666 cat confdefs.h >>conftest.$ac_ext
36667 cat >>conftest.$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36669
36670 #include <sys/utsname.h>
36671 $ac_includes_default
36672
36673 int
36674 main ()
36675 {
36676
36677 #ifndef $wx_func
36678 &$wx_func;
36679 #endif
36680
36681
36682 ;
36683 return 0;
36684 }
36685
36686 _ACEOF
36687 rm -f conftest.$ac_objext conftest$ac_exeext
36688 if { (ac_try="$ac_link"
36689 case "(($ac_try" in
36690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36691 *) ac_try_echo=$ac_try;;
36692 esac
36693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36694 (eval "$ac_link") 2>conftest.er1
36695 ac_status=$?
36696 grep -v '^ *+' conftest.er1 >conftest.err
36697 rm -f conftest.er1
36698 cat conftest.err >&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } && {
36701 test -z "$ac_c_werror_flag" ||
36702 test ! -s conftest.err
36703 } && test -s conftest$ac_exeext &&
36704 $as_test_x conftest$ac_exeext; then
36705 eval wx_cv_func_$wx_func=yes
36706 else
36707 echo "$as_me: failed program was:" >&5
36708 sed 's/^/| /' conftest.$ac_ext >&5
36709
36710 eval wx_cv_func_$wx_func=no
36711 fi
36712
36713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36714 conftest$ac_exeext conftest.$ac_ext
36715
36716 fi
36717 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36718 { echo "$as_me:$LINENO: result: $ac_res" >&5
36719 echo "${ECHO_T}$ac_res" >&6; }
36720
36721 if eval test \$wx_cv_func_$wx_func = yes
36722 then
36723 cat >>confdefs.h <<_ACEOF
36724 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36725 _ACEOF
36726
36727
36728 else
36729 :
36730
36731 fi
36732 done
36733
36734 if test "$wx_cv_func_uname" != yes; then
36735
36736 for wx_func in gethostname
36737 do
36738 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36740 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 else
36743
36744 cat >conftest.$ac_ext <<_ACEOF
36745
36746 /* confdefs.h. */
36747 _ACEOF
36748 cat confdefs.h >>conftest.$ac_ext
36749 cat >>conftest.$ac_ext <<_ACEOF
36750 /* end confdefs.h. */
36751
36752
36753 $ac_includes_default
36754
36755 int
36756 main ()
36757 {
36758
36759 #ifndef $wx_func
36760 &$wx_func;
36761 #endif
36762
36763
36764 ;
36765 return 0;
36766 }
36767
36768 _ACEOF
36769 rm -f conftest.$ac_objext conftest$ac_exeext
36770 if { (ac_try="$ac_link"
36771 case "(($ac_try" in
36772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36773 *) ac_try_echo=$ac_try;;
36774 esac
36775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36776 (eval "$ac_link") 2>conftest.er1
36777 ac_status=$?
36778 grep -v '^ *+' conftest.er1 >conftest.err
36779 rm -f conftest.er1
36780 cat conftest.err >&5
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); } && {
36783 test -z "$ac_c_werror_flag" ||
36784 test ! -s conftest.err
36785 } && test -s conftest$ac_exeext &&
36786 $as_test_x conftest$ac_exeext; then
36787 eval wx_cv_func_$wx_func=yes
36788 else
36789 echo "$as_me: failed program was:" >&5
36790 sed 's/^/| /' conftest.$ac_ext >&5
36791
36792 eval wx_cv_func_$wx_func=no
36793 fi
36794
36795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36796 conftest$ac_exeext conftest.$ac_ext
36797
36798 fi
36799 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36800 { echo "$as_me:$LINENO: result: $ac_res" >&5
36801 echo "${ECHO_T}$ac_res" >&6; }
36802
36803 if eval test \$wx_cv_func_$wx_func = yes
36804 then
36805 cat >>confdefs.h <<_ACEOF
36806 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36807 _ACEOF
36808
36809
36810 else
36811 :
36812
36813 fi
36814 done
36815
36816 fi
36817
36818
36819 for wx_func in strtok_r
36820 do
36821 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36822 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36823 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36826
36827 cat >conftest.$ac_ext <<_ACEOF
36828
36829 /* confdefs.h. */
36830 _ACEOF
36831 cat confdefs.h >>conftest.$ac_ext
36832 cat >>conftest.$ac_ext <<_ACEOF
36833 /* end confdefs.h. */
36834
36835 #define _REENTRANT
36836 $ac_includes_default
36837
36838 int
36839 main ()
36840 {
36841
36842 #ifndef $wx_func
36843 &$wx_func;
36844 #endif
36845
36846
36847 ;
36848 return 0;
36849 }
36850
36851 _ACEOF
36852 rm -f conftest.$ac_objext conftest$ac_exeext
36853 if { (ac_try="$ac_link"
36854 case "(($ac_try" in
36855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36856 *) ac_try_echo=$ac_try;;
36857 esac
36858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36859 (eval "$ac_link") 2>conftest.er1
36860 ac_status=$?
36861 grep -v '^ *+' conftest.er1 >conftest.err
36862 rm -f conftest.er1
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } && {
36866 test -z "$ac_c_werror_flag" ||
36867 test ! -s conftest.err
36868 } && test -s conftest$ac_exeext &&
36869 $as_test_x conftest$ac_exeext; then
36870 eval wx_cv_func_$wx_func=yes
36871 else
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36874
36875 eval wx_cv_func_$wx_func=no
36876 fi
36877
36878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36879 conftest$ac_exeext conftest.$ac_ext
36880
36881 fi
36882 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36883 { echo "$as_me:$LINENO: result: $ac_res" >&5
36884 echo "${ECHO_T}$ac_res" >&6; }
36885
36886 if eval test \$wx_cv_func_$wx_func = yes
36887 then
36888 cat >>confdefs.h <<_ACEOF
36889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36890 _ACEOF
36891
36892
36893 else
36894 :
36895
36896 fi
36897 done
36898
36899
36900 INET_LINK=
36901
36902 for ac_func in inet_addr
36903 do
36904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36905 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36907 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 else
36910 cat >conftest.$ac_ext <<_ACEOF
36911 /* confdefs.h. */
36912 _ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36918 #define $ac_func innocuous_$ac_func
36919
36920 /* System header to define __stub macros and hopefully few prototypes,
36921 which can conflict with char $ac_func (); below.
36922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36923 <limits.h> exists even on freestanding compilers. */
36924
36925 #ifdef __STDC__
36926 # include <limits.h>
36927 #else
36928 # include <assert.h>
36929 #endif
36930
36931 #undef $ac_func
36932
36933 /* Override any GCC internal prototype to avoid an error.
36934 Use char because int might match the return type of a GCC
36935 builtin and then its argument prototype would still apply. */
36936 #ifdef __cplusplus
36937 extern "C"
36938 #endif
36939 char $ac_func ();
36940 /* The GNU C library defines this for functions which it implements
36941 to always fail with ENOSYS. Some functions are actually named
36942 something starting with __ and the normal name is an alias. */
36943 #if defined __stub_$ac_func || defined __stub___$ac_func
36944 choke me
36945 #endif
36946
36947 int
36948 main ()
36949 {
36950 return $ac_func ();
36951 ;
36952 return 0;
36953 }
36954 _ACEOF
36955 rm -f conftest.$ac_objext conftest$ac_exeext
36956 if { (ac_try="$ac_link"
36957 case "(($ac_try" in
36958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36959 *) ac_try_echo=$ac_try;;
36960 esac
36961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36962 (eval "$ac_link") 2>conftest.er1
36963 ac_status=$?
36964 grep -v '^ *+' conftest.er1 >conftest.err
36965 rm -f conftest.er1
36966 cat conftest.err >&5
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); } && {
36969 test -z "$ac_c_werror_flag" ||
36970 test ! -s conftest.err
36971 } && test -s conftest$ac_exeext &&
36972 $as_test_x conftest$ac_exeext; then
36973 eval "$as_ac_var=yes"
36974 else
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.$ac_ext >&5
36977
36978 eval "$as_ac_var=no"
36979 fi
36980
36981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36982 conftest$ac_exeext conftest.$ac_ext
36983 fi
36984 ac_res=`eval echo '${'$as_ac_var'}'`
36985 { echo "$as_me:$LINENO: result: $ac_res" >&5
36986 echo "${ECHO_T}$ac_res" >&6; }
36987 if test `eval echo '${'$as_ac_var'}'` = yes; then
36988 cat >>confdefs.h <<_ACEOF
36989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36990 _ACEOF
36991 cat >>confdefs.h <<\_ACEOF
36992 #define HAVE_INET_ADDR 1
36993 _ACEOF
36994
36995 else
36996
36997 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36998 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
36999 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37000 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 else
37002 ac_check_lib_save_LIBS=$LIBS
37003 LIBS="-lnsl $LIBS"
37004 cat >conftest.$ac_ext <<_ACEOF
37005 /* confdefs.h. */
37006 _ACEOF
37007 cat confdefs.h >>conftest.$ac_ext
37008 cat >>conftest.$ac_ext <<_ACEOF
37009 /* end confdefs.h. */
37010
37011 /* Override any GCC internal prototype to avoid an error.
37012 Use char because int might match the return type of a GCC
37013 builtin and then its argument prototype would still apply. */
37014 #ifdef __cplusplus
37015 extern "C"
37016 #endif
37017 char inet_addr ();
37018 int
37019 main ()
37020 {
37021 return inet_addr ();
37022 ;
37023 return 0;
37024 }
37025 _ACEOF
37026 rm -f conftest.$ac_objext conftest$ac_exeext
37027 if { (ac_try="$ac_link"
37028 case "(($ac_try" in
37029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37030 *) ac_try_echo=$ac_try;;
37031 esac
37032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37033 (eval "$ac_link") 2>conftest.er1
37034 ac_status=$?
37035 grep -v '^ *+' conftest.er1 >conftest.err
37036 rm -f conftest.er1
37037 cat conftest.err >&5
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); } && {
37040 test -z "$ac_c_werror_flag" ||
37041 test ! -s conftest.err
37042 } && test -s conftest$ac_exeext &&
37043 $as_test_x conftest$ac_exeext; then
37044 ac_cv_lib_nsl_inet_addr=yes
37045 else
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37048
37049 ac_cv_lib_nsl_inet_addr=no
37050 fi
37051
37052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37053 conftest$ac_exeext conftest.$ac_ext
37054 LIBS=$ac_check_lib_save_LIBS
37055 fi
37056 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37057 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37058 if test $ac_cv_lib_nsl_inet_addr = yes; then
37059 INET_LINK="nsl"
37060 else
37061
37062 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37063 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37064 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37065 echo $ECHO_N "(cached) $ECHO_C" >&6
37066 else
37067 ac_check_lib_save_LIBS=$LIBS
37068 LIBS="-lresolv $LIBS"
37069 cat >conftest.$ac_ext <<_ACEOF
37070 /* confdefs.h. */
37071 _ACEOF
37072 cat confdefs.h >>conftest.$ac_ext
37073 cat >>conftest.$ac_ext <<_ACEOF
37074 /* end confdefs.h. */
37075
37076 /* Override any GCC internal prototype to avoid an error.
37077 Use char because int might match the return type of a GCC
37078 builtin and then its argument prototype would still apply. */
37079 #ifdef __cplusplus
37080 extern "C"
37081 #endif
37082 char inet_addr ();
37083 int
37084 main ()
37085 {
37086 return inet_addr ();
37087 ;
37088 return 0;
37089 }
37090 _ACEOF
37091 rm -f conftest.$ac_objext conftest$ac_exeext
37092 if { (ac_try="$ac_link"
37093 case "(($ac_try" in
37094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37095 *) ac_try_echo=$ac_try;;
37096 esac
37097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37098 (eval "$ac_link") 2>conftest.er1
37099 ac_status=$?
37100 grep -v '^ *+' conftest.er1 >conftest.err
37101 rm -f conftest.er1
37102 cat conftest.err >&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); } && {
37105 test -z "$ac_c_werror_flag" ||
37106 test ! -s conftest.err
37107 } && test -s conftest$ac_exeext &&
37108 $as_test_x conftest$ac_exeext; then
37109 ac_cv_lib_resolv_inet_addr=yes
37110 else
37111 echo "$as_me: failed program was:" >&5
37112 sed 's/^/| /' conftest.$ac_ext >&5
37113
37114 ac_cv_lib_resolv_inet_addr=no
37115 fi
37116
37117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37118 conftest$ac_exeext conftest.$ac_ext
37119 LIBS=$ac_check_lib_save_LIBS
37120 fi
37121 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37122 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37123 if test $ac_cv_lib_resolv_inet_addr = yes; then
37124 INET_LINK="resolv"
37125 else
37126
37127 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37128 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37129 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37130 echo $ECHO_N "(cached) $ECHO_C" >&6
37131 else
37132 ac_check_lib_save_LIBS=$LIBS
37133 LIBS="-lsocket $LIBS"
37134 cat >conftest.$ac_ext <<_ACEOF
37135 /* confdefs.h. */
37136 _ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37140
37141 /* Override any GCC internal prototype to avoid an error.
37142 Use char because int might match the return type of a GCC
37143 builtin and then its argument prototype would still apply. */
37144 #ifdef __cplusplus
37145 extern "C"
37146 #endif
37147 char inet_addr ();
37148 int
37149 main ()
37150 {
37151 return inet_addr ();
37152 ;
37153 return 0;
37154 }
37155 _ACEOF
37156 rm -f conftest.$ac_objext conftest$ac_exeext
37157 if { (ac_try="$ac_link"
37158 case "(($ac_try" in
37159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37160 *) ac_try_echo=$ac_try;;
37161 esac
37162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37163 (eval "$ac_link") 2>conftest.er1
37164 ac_status=$?
37165 grep -v '^ *+' conftest.er1 >conftest.err
37166 rm -f conftest.er1
37167 cat conftest.err >&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } && {
37170 test -z "$ac_c_werror_flag" ||
37171 test ! -s conftest.err
37172 } && test -s conftest$ac_exeext &&
37173 $as_test_x conftest$ac_exeext; then
37174 ac_cv_lib_socket_inet_addr=yes
37175 else
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.$ac_ext >&5
37178
37179 ac_cv_lib_socket_inet_addr=no
37180 fi
37181
37182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37183 conftest$ac_exeext conftest.$ac_ext
37184 LIBS=$ac_check_lib_save_LIBS
37185 fi
37186 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37187 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37188 if test $ac_cv_lib_socket_inet_addr = yes; then
37189 INET_LINK="socket"
37190
37191 fi
37192
37193
37194
37195 fi
37196
37197
37198
37199 fi
37200
37201
37202
37203 fi
37204 done
37205
37206
37207
37208 for ac_func in inet_aton
37209 do
37210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37213 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 else
37216 cat >conftest.$ac_ext <<_ACEOF
37217 /* confdefs.h. */
37218 _ACEOF
37219 cat confdefs.h >>conftest.$ac_ext
37220 cat >>conftest.$ac_ext <<_ACEOF
37221 /* end confdefs.h. */
37222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37224 #define $ac_func innocuous_$ac_func
37225
37226 /* System header to define __stub macros and hopefully few prototypes,
37227 which can conflict with char $ac_func (); below.
37228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37229 <limits.h> exists even on freestanding compilers. */
37230
37231 #ifdef __STDC__
37232 # include <limits.h>
37233 #else
37234 # include <assert.h>
37235 #endif
37236
37237 #undef $ac_func
37238
37239 /* Override any GCC internal prototype to avoid an error.
37240 Use char because int might match the return type of a GCC
37241 builtin and then its argument prototype would still apply. */
37242 #ifdef __cplusplus
37243 extern "C"
37244 #endif
37245 char $ac_func ();
37246 /* The GNU C library defines this for functions which it implements
37247 to always fail with ENOSYS. Some functions are actually named
37248 something starting with __ and the normal name is an alias. */
37249 #if defined __stub_$ac_func || defined __stub___$ac_func
37250 choke me
37251 #endif
37252
37253 int
37254 main ()
37255 {
37256 return $ac_func ();
37257 ;
37258 return 0;
37259 }
37260 _ACEOF
37261 rm -f conftest.$ac_objext conftest$ac_exeext
37262 if { (ac_try="$ac_link"
37263 case "(($ac_try" in
37264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37265 *) ac_try_echo=$ac_try;;
37266 esac
37267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37268 (eval "$ac_link") 2>conftest.er1
37269 ac_status=$?
37270 grep -v '^ *+' conftest.er1 >conftest.err
37271 rm -f conftest.er1
37272 cat conftest.err >&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); } && {
37275 test -z "$ac_c_werror_flag" ||
37276 test ! -s conftest.err
37277 } && test -s conftest$ac_exeext &&
37278 $as_test_x conftest$ac_exeext; then
37279 eval "$as_ac_var=yes"
37280 else
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.$ac_ext >&5
37283
37284 eval "$as_ac_var=no"
37285 fi
37286
37287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37288 conftest$ac_exeext conftest.$ac_ext
37289 fi
37290 ac_res=`eval echo '${'$as_ac_var'}'`
37291 { echo "$as_me:$LINENO: result: $ac_res" >&5
37292 echo "${ECHO_T}$ac_res" >&6; }
37293 if test `eval echo '${'$as_ac_var'}'` = yes; then
37294 cat >>confdefs.h <<_ACEOF
37295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37296 _ACEOF
37297 cat >>confdefs.h <<\_ACEOF
37298 #define HAVE_INET_ATON 1
37299 _ACEOF
37300
37301 else
37302
37303 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37304 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37305 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37306 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 else
37309 ac_check_lib_save_LIBS=$LIBS
37310 LIBS="-l$INET_LINK $LIBS"
37311 cat >conftest.$ac_ext <<_ACEOF
37312 /* confdefs.h. */
37313 _ACEOF
37314 cat confdefs.h >>conftest.$ac_ext
37315 cat >>conftest.$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37317
37318 /* Override any GCC internal prototype to avoid an error.
37319 Use char because int might match the return type of a GCC
37320 builtin and then its argument prototype would still apply. */
37321 #ifdef __cplusplus
37322 extern "C"
37323 #endif
37324 char inet_aton ();
37325 int
37326 main ()
37327 {
37328 return inet_aton ();
37329 ;
37330 return 0;
37331 }
37332 _ACEOF
37333 rm -f conftest.$ac_objext conftest$ac_exeext
37334 if { (ac_try="$ac_link"
37335 case "(($ac_try" in
37336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37337 *) ac_try_echo=$ac_try;;
37338 esac
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_link") 2>conftest.er1
37341 ac_status=$?
37342 grep -v '^ *+' conftest.er1 >conftest.err
37343 rm -f conftest.er1
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest$ac_exeext &&
37350 $as_test_x conftest$ac_exeext; then
37351 eval "$as_ac_Lib=yes"
37352 else
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356 eval "$as_ac_Lib=no"
37357 fi
37358
37359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37360 conftest$ac_exeext conftest.$ac_ext
37361 LIBS=$ac_check_lib_save_LIBS
37362 fi
37363 ac_res=`eval echo '${'$as_ac_Lib'}'`
37364 { echo "$as_me:$LINENO: result: $ac_res" >&5
37365 echo "${ECHO_T}$ac_res" >&6; }
37366 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37367 cat >>confdefs.h <<\_ACEOF
37368 #define HAVE_INET_ATON 1
37369 _ACEOF
37370
37371 fi
37372
37373
37374 fi
37375 done
37376
37377
37378 if test "x$INET_LINK" != "x"; then
37379 cat >>confdefs.h <<\_ACEOF
37380 #define HAVE_INET_ADDR 1
37381 _ACEOF
37382
37383 INET_LINK=" -l$INET_LINK"
37384 fi
37385
37386
37387 for wx_func in fdopen
37388 do
37389 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37390 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37391 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37392 echo $ECHO_N "(cached) $ECHO_C" >&6
37393 else
37394
37395 cat >conftest.$ac_ext <<_ACEOF
37396
37397 /* confdefs.h. */
37398 _ACEOF
37399 cat confdefs.h >>conftest.$ac_ext
37400 cat >>conftest.$ac_ext <<_ACEOF
37401 /* end confdefs.h. */
37402
37403
37404 $ac_includes_default
37405
37406 int
37407 main ()
37408 {
37409
37410 #ifndef $wx_func
37411 &$wx_func;
37412 #endif
37413
37414
37415 ;
37416 return 0;
37417 }
37418
37419 _ACEOF
37420 rm -f conftest.$ac_objext conftest$ac_exeext
37421 if { (ac_try="$ac_link"
37422 case "(($ac_try" in
37423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37424 *) ac_try_echo=$ac_try;;
37425 esac
37426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37427 (eval "$ac_link") 2>conftest.er1
37428 ac_status=$?
37429 grep -v '^ *+' conftest.er1 >conftest.err
37430 rm -f conftest.er1
37431 cat conftest.err >&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); } && {
37434 test -z "$ac_c_werror_flag" ||
37435 test ! -s conftest.err
37436 } && test -s conftest$ac_exeext &&
37437 $as_test_x conftest$ac_exeext; then
37438 eval wx_cv_func_$wx_func=yes
37439 else
37440 echo "$as_me: failed program was:" >&5
37441 sed 's/^/| /' conftest.$ac_ext >&5
37442
37443 eval wx_cv_func_$wx_func=no
37444 fi
37445
37446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37447 conftest$ac_exeext conftest.$ac_ext
37448
37449 fi
37450 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37451 { echo "$as_me:$LINENO: result: $ac_res" >&5
37452 echo "${ECHO_T}$ac_res" >&6; }
37453
37454 if eval test \$wx_cv_func_$wx_func = yes
37455 then
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37458 _ACEOF
37459
37460
37461 else
37462 :
37463
37464 fi
37465 done
37466
37467
37468 fi
37469
37470
37471
37472 cat >confcache <<\_ACEOF
37473 # This file is a shell script that caches the results of configure
37474 # tests run on this system so they can be shared between configure
37475 # scripts and configure runs, see configure's option --config-cache.
37476 # It is not useful on other systems. If it contains results you don't
37477 # want to keep, you may remove or edit it.
37478 #
37479 # config.status only pays attention to the cache file if you give it
37480 # the --recheck option to rerun configure.
37481 #
37482 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37483 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37484 # following values.
37485
37486 _ACEOF
37487
37488 # The following way of writing the cache mishandles newlines in values,
37489 # but we know of no workaround that is simple, portable, and efficient.
37490 # So, we kill variables containing newlines.
37491 # Ultrix sh set writes to stderr and can't be redirected directly,
37492 # and sets the high bit in the cache file unless we assign to the vars.
37493 (
37494 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37495 eval ac_val=\$$ac_var
37496 case $ac_val in #(
37497 *${as_nl}*)
37498 case $ac_var in #(
37499 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37500 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37501 esac
37502 case $ac_var in #(
37503 _ | IFS | as_nl) ;; #(
37504 *) $as_unset $ac_var ;;
37505 esac ;;
37506 esac
37507 done
37508
37509 (set) 2>&1 |
37510 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37511 *${as_nl}ac_space=\ *)
37512 # `set' does not quote correctly, so add quotes (double-quote
37513 # substitution turns \\\\ into \\, and sed turns \\ into \).
37514 sed -n \
37515 "s/'/'\\\\''/g;
37516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37517 ;; #(
37518 *)
37519 # `set' quotes correctly as required by POSIX, so do not add quotes.
37520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37521 ;;
37522 esac |
37523 sort
37524 ) |
37525 sed '
37526 /^ac_cv_env_/b end
37527 t clear
37528 :clear
37529 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37530 t end
37531 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37532 :end' >>confcache
37533 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37534 if test -w "$cache_file"; then
37535 test "x$cache_file" != "x/dev/null" &&
37536 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37537 echo "$as_me: updating cache $cache_file" >&6;}
37538 cat confcache >$cache_file
37539 else
37540 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37541 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37542 fi
37543 fi
37544 rm -f confcache
37545
37546
37547 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37548
37549
37550 THREADS_LINK=
37551 THREADS_CFLAGS=
37552
37553 if test "$wxUSE_THREADS" = "yes" ; then
37554 if test "$USE_BEOS" = 1; then
37555 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37556 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37557 wxUSE_THREADS="no"
37558 fi
37559 fi
37560
37561 if test "$wxUSE_THREADS" = "yes" ; then
37562
37563
37564 THREAD_OPTS="-pthread"
37565 case "${host}" in
37566 *-*-solaris2* | *-*-sunos4* )
37567 if test "x$GCC" = "xyes"; then
37568 THREAD_OPTS="-pthreads $THREAD_OPTS"
37569 else
37570 THREAD_OPTS="-mt $THREAD_OPTS"
37571 fi
37572 ;;
37573 *-*-freebsd*)
37574 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37575 ;;
37576 *-*-darwin* | *-*-cygwin* )
37577 THREAD_OPTS=""
37578 ;;
37579 *-*-aix*)
37580 THREAD_OPTS="pthreads"
37581 ;;
37582 *-hp-hpux* )
37583 if test "x$GCC" = "xyes"; then
37584 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37585 THREAD_OPTS=""
37586 else
37587 THREAD_OPTS="-mt"
37588 fi
37589 ;;
37590
37591 *-*-irix* )
37592 if test "x$GCC" = "xyes"; then
37593 THREAD_OPTS=""
37594 fi
37595 ;;
37596
37597 *-*-*UnixWare*)
37598 if test "x$GCC" != "xyes"; then
37599 THREAD_OPTS="-Ethread"
37600 fi
37601 ;;
37602 esac
37603
37604 THREAD_OPTS="$THREAD_OPTS pthread none"
37605
37606 THREADS_OK=no
37607 for flag in $THREAD_OPTS; do
37608 case $flag in
37609 none)
37610 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37611 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37612 ;;
37613
37614 -*)
37615 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37616 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37617 THREADS_CFLAGS="$flag"
37618 ;;
37619
37620 *)
37621 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37622 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37623 THREADS_LINK="-l$flag"
37624 ;;
37625 esac
37626
37627 save_LIBS="$LIBS"
37628 save_CFLAGS="$CFLAGS"
37629 LIBS="$THREADS_LINK $LIBS"
37630 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37631
37632 cat >conftest.$ac_ext <<_ACEOF
37633 /* confdefs.h. */
37634 _ACEOF
37635 cat confdefs.h >>conftest.$ac_ext
37636 cat >>conftest.$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37638 #include <pthread.h>
37639 int
37640 main ()
37641 {
37642 pthread_create(0,0,0,0);
37643 ;
37644 return 0;
37645 }
37646 _ACEOF
37647 rm -f conftest.$ac_objext conftest$ac_exeext
37648 if { (ac_try="$ac_link"
37649 case "(($ac_try" in
37650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37651 *) ac_try_echo=$ac_try;;
37652 esac
37653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37654 (eval "$ac_link") 2>conftest.er1
37655 ac_status=$?
37656 grep -v '^ *+' conftest.er1 >conftest.err
37657 rm -f conftest.er1
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } && {
37661 test -z "$ac_c_werror_flag" ||
37662 test ! -s conftest.err
37663 } && test -s conftest$ac_exeext &&
37664 $as_test_x conftest$ac_exeext; then
37665 THREADS_OK=yes
37666 else
37667 echo "$as_me: failed program was:" >&5
37668 sed 's/^/| /' conftest.$ac_ext >&5
37669
37670
37671 fi
37672
37673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37674 conftest$ac_exeext conftest.$ac_ext
37675
37676 LIBS="$save_LIBS"
37677 CFLAGS="$save_CFLAGS"
37678
37679 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37680 echo "${ECHO_T}$THREADS_OK" >&6; }
37681 if test "x$THREADS_OK" = "xyes"; then
37682 break;
37683 fi
37684
37685 THREADS_LINK=""
37686 THREADS_CFLAGS=""
37687 done
37688
37689 if test "x$THREADS_OK" != "xyes"; then
37690 wxUSE_THREADS=no
37691 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37692 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37693 else
37694 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37695 LIBS="$THREADS_LINK $LIBS"
37696
37697 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37698 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37699 flag=no
37700 case "${host}" in
37701 *-aix*)
37702 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37703 flag="-D_THREAD_SAFE"
37704 ;;
37705 *-freebsd*)
37706 flag="-D_THREAD_SAFE"
37707 ;;
37708 *-hp-hpux* )
37709 flag="-D_REENTRANT"
37710 if test "x$GCC" != "xyes"; then
37711 flag="$flag -D_RWSTD_MULTI_THREAD"
37712 fi
37713 ;;
37714 *solaris* | alpha*-osf*)
37715 flag="-D_REENTRANT"
37716 ;;
37717 esac
37718 { echo "$as_me:$LINENO: result: ${flag}" >&5
37719 echo "${ECHO_T}${flag}" >&6; }
37720 if test "x$flag" != xno; then
37721 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37722 fi
37723
37724 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37725 fi
37726 fi
37727
37728 if test "$wxUSE_THREADS" = "yes" ; then
37729
37730 for ac_func in thr_setconcurrency
37731 do
37732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738 cat >conftest.$ac_ext <<_ACEOF
37739 /* confdefs.h. */
37740 _ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37746 #define $ac_func innocuous_$ac_func
37747
37748 /* System header to define __stub macros and hopefully few prototypes,
37749 which can conflict with char $ac_func (); below.
37750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751 <limits.h> exists even on freestanding compilers. */
37752
37753 #ifdef __STDC__
37754 # include <limits.h>
37755 #else
37756 # include <assert.h>
37757 #endif
37758
37759 #undef $ac_func
37760
37761 /* Override any GCC internal prototype to avoid an error.
37762 Use char because int might match the return type of a GCC
37763 builtin and then its argument prototype would still apply. */
37764 #ifdef __cplusplus
37765 extern "C"
37766 #endif
37767 char $ac_func ();
37768 /* The GNU C library defines this for functions which it implements
37769 to always fail with ENOSYS. Some functions are actually named
37770 something starting with __ and the normal name is an alias. */
37771 #if defined __stub_$ac_func || defined __stub___$ac_func
37772 choke me
37773 #endif
37774
37775 int
37776 main ()
37777 {
37778 return $ac_func ();
37779 ;
37780 return 0;
37781 }
37782 _ACEOF
37783 rm -f conftest.$ac_objext conftest$ac_exeext
37784 if { (ac_try="$ac_link"
37785 case "(($ac_try" in
37786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37787 *) ac_try_echo=$ac_try;;
37788 esac
37789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37790 (eval "$ac_link") 2>conftest.er1
37791 ac_status=$?
37792 grep -v '^ *+' conftest.er1 >conftest.err
37793 rm -f conftest.er1
37794 cat conftest.err >&5
37795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796 (exit $ac_status); } && {
37797 test -z "$ac_c_werror_flag" ||
37798 test ! -s conftest.err
37799 } && test -s conftest$ac_exeext &&
37800 $as_test_x conftest$ac_exeext; then
37801 eval "$as_ac_var=yes"
37802 else
37803 echo "$as_me: failed program was:" >&5
37804 sed 's/^/| /' conftest.$ac_ext >&5
37805
37806 eval "$as_ac_var=no"
37807 fi
37808
37809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37810 conftest$ac_exeext conftest.$ac_ext
37811 fi
37812 ac_res=`eval echo '${'$as_ac_var'}'`
37813 { echo "$as_me:$LINENO: result: $ac_res" >&5
37814 echo "${ECHO_T}$ac_res" >&6; }
37815 if test `eval echo '${'$as_ac_var'}'` = yes; then
37816 cat >>confdefs.h <<_ACEOF
37817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37818 _ACEOF
37819
37820 fi
37821 done
37822
37823
37824 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37825 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37826 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37827 echo $ECHO_N "(cached) $ECHO_C" >&6
37828 else
37829
37830 cat >conftest.$ac_ext <<_ACEOF
37831 /* confdefs.h. */
37832 _ACEOF
37833 cat confdefs.h >>conftest.$ac_ext
37834 cat >>conftest.$ac_ext <<_ACEOF
37835 /* end confdefs.h. */
37836 #include <pthread.h>
37837 void ThreadCleanupFunc(void *p);
37838
37839 int
37840 main ()
37841 {
37842
37843 void *p;
37844 pthread_cleanup_push(ThreadCleanupFunc, p);
37845 pthread_cleanup_pop(0);
37846
37847 ;
37848 return 0;
37849 }
37850 _ACEOF
37851 rm -f conftest.$ac_objext
37852 if { (ac_try="$ac_compile"
37853 case "(($ac_try" in
37854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37855 *) ac_try_echo=$ac_try;;
37856 esac
37857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37858 (eval "$ac_compile") 2>conftest.er1
37859 ac_status=$?
37860 grep -v '^ *+' conftest.er1 >conftest.err
37861 rm -f conftest.er1
37862 cat conftest.err >&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); } && {
37865 test -z "$ac_c_werror_flag" ||
37866 test ! -s conftest.err
37867 } && test -s conftest.$ac_objext; then
37868
37869 wx_cv_func_pthread_cleanup=yes
37870
37871 else
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.$ac_ext >&5
37874
37875
37876 wx_cv_func_pthread_cleanup=no
37877
37878
37879 fi
37880
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37882
37883 fi
37884 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37885 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37886 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define wxHAVE_PTHREAD_CLEANUP 1
37889 _ACEOF
37890
37891 fi
37892
37893 { echo "$as_me:$LINENO: checking for sched.h" >&5
37894 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37895 if test "${ac_cv_header_sched_h+set}" = set; then
37896 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 else
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904 $ac_includes_default
37905
37906 #include <sched.h>
37907 _ACEOF
37908 rm -f conftest.$ac_objext
37909 if { (ac_try="$ac_compile"
37910 case "(($ac_try" in
37911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37912 *) ac_try_echo=$ac_try;;
37913 esac
37914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37915 (eval "$ac_compile") 2>conftest.er1
37916 ac_status=$?
37917 grep -v '^ *+' conftest.er1 >conftest.err
37918 rm -f conftest.er1
37919 cat conftest.err >&5
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); } && {
37922 test -z "$ac_c_werror_flag" ||
37923 test ! -s conftest.err
37924 } && test -s conftest.$ac_objext; then
37925 ac_cv_header_sched_h=yes
37926 else
37927 echo "$as_me: failed program was:" >&5
37928 sed 's/^/| /' conftest.$ac_ext >&5
37929
37930 ac_cv_header_sched_h=no
37931 fi
37932
37933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37934 fi
37935 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37936 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37937
37938
37939 if test "$ac_cv_header_sched_h" = "yes"; then
37940 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37941 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37942 if test "${ac_cv_func_sched_yield+set}" = set; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define sched_yield innocuous_sched_yield
37954
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char sched_yield (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37959
37960 #ifdef __STDC__
37961 # include <limits.h>
37962 #else
37963 # include <assert.h>
37964 #endif
37965
37966 #undef sched_yield
37967
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37971 #ifdef __cplusplus
37972 extern "C"
37973 #endif
37974 char sched_yield ();
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_sched_yield || defined __stub___sched_yield
37979 choke me
37980 #endif
37981
37982 int
37983 main ()
37984 {
37985 return sched_yield ();
37986 ;
37987 return 0;
37988 }
37989 _ACEOF
37990 rm -f conftest.$ac_objext conftest$ac_exeext
37991 if { (ac_try="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37994 *) ac_try_echo=$ac_try;;
37995 esac
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37998 ac_status=$?
37999 grep -v '^ *+' conftest.er1 >conftest.err
38000 rm -f conftest.er1
38001 cat conftest.err >&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest$ac_exeext &&
38007 $as_test_x conftest$ac_exeext; then
38008 ac_cv_func_sched_yield=yes
38009 else
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38012
38013 ac_cv_func_sched_yield=no
38014 fi
38015
38016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38017 conftest$ac_exeext conftest.$ac_ext
38018 fi
38019 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38020 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38021 if test $ac_cv_func_sched_yield = yes; then
38022 cat >>confdefs.h <<\_ACEOF
38023 #define HAVE_SCHED_YIELD 1
38024 _ACEOF
38025
38026 else
38027
38028 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38029 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38030 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 else
38033 ac_check_lib_save_LIBS=$LIBS
38034 LIBS="-lposix4 $LIBS"
38035 cat >conftest.$ac_ext <<_ACEOF
38036 /* confdefs.h. */
38037 _ACEOF
38038 cat confdefs.h >>conftest.$ac_ext
38039 cat >>conftest.$ac_ext <<_ACEOF
38040 /* end confdefs.h. */
38041
38042 /* Override any GCC internal prototype to avoid an error.
38043 Use char because int might match the return type of a GCC
38044 builtin and then its argument prototype would still apply. */
38045 #ifdef __cplusplus
38046 extern "C"
38047 #endif
38048 char sched_yield ();
38049 int
38050 main ()
38051 {
38052 return sched_yield ();
38053 ;
38054 return 0;
38055 }
38056 _ACEOF
38057 rm -f conftest.$ac_objext conftest$ac_exeext
38058 if { (ac_try="$ac_link"
38059 case "(($ac_try" in
38060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38061 *) ac_try_echo=$ac_try;;
38062 esac
38063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38064 (eval "$ac_link") 2>conftest.er1
38065 ac_status=$?
38066 grep -v '^ *+' conftest.er1 >conftest.err
38067 rm -f conftest.er1
38068 cat conftest.err >&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); } && {
38071 test -z "$ac_c_werror_flag" ||
38072 test ! -s conftest.err
38073 } && test -s conftest$ac_exeext &&
38074 $as_test_x conftest$ac_exeext; then
38075 ac_cv_lib_posix4_sched_yield=yes
38076 else
38077 echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.$ac_ext >&5
38079
38080 ac_cv_lib_posix4_sched_yield=no
38081 fi
38082
38083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38084 conftest$ac_exeext conftest.$ac_ext
38085 LIBS=$ac_check_lib_save_LIBS
38086 fi
38087 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38088 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38089 if test $ac_cv_lib_posix4_sched_yield = yes; then
38090 cat >>confdefs.h <<\_ACEOF
38091 #define HAVE_SCHED_YIELD 1
38092 _ACEOF
38093 POSIX4_LINK=" -lposix4"
38094 else
38095 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38096 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38097
38098 fi
38099
38100
38101
38102 fi
38103
38104 fi
38105
38106 HAVE_PRIOR_FUNCS=0
38107 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38108 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38109 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38110 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 else
38112 cat >conftest.$ac_ext <<_ACEOF
38113 /* confdefs.h. */
38114 _ACEOF
38115 cat confdefs.h >>conftest.$ac_ext
38116 cat >>conftest.$ac_ext <<_ACEOF
38117 /* end confdefs.h. */
38118 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38120 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38121
38122 /* System header to define __stub macros and hopefully few prototypes,
38123 which can conflict with char pthread_attr_getschedpolicy (); below.
38124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38125 <limits.h> exists even on freestanding compilers. */
38126
38127 #ifdef __STDC__
38128 # include <limits.h>
38129 #else
38130 # include <assert.h>
38131 #endif
38132
38133 #undef pthread_attr_getschedpolicy
38134
38135 /* Override any GCC internal prototype to avoid an error.
38136 Use char because int might match the return type of a GCC
38137 builtin and then its argument prototype would still apply. */
38138 #ifdef __cplusplus
38139 extern "C"
38140 #endif
38141 char pthread_attr_getschedpolicy ();
38142 /* The GNU C library defines this for functions which it implements
38143 to always fail with ENOSYS. Some functions are actually named
38144 something starting with __ and the normal name is an alias. */
38145 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38146 choke me
38147 #endif
38148
38149 int
38150 main ()
38151 {
38152 return pthread_attr_getschedpolicy ();
38153 ;
38154 return 0;
38155 }
38156 _ACEOF
38157 rm -f conftest.$ac_objext conftest$ac_exeext
38158 if { (ac_try="$ac_link"
38159 case "(($ac_try" in
38160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38161 *) ac_try_echo=$ac_try;;
38162 esac
38163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38164 (eval "$ac_link") 2>conftest.er1
38165 ac_status=$?
38166 grep -v '^ *+' conftest.er1 >conftest.err
38167 rm -f conftest.er1
38168 cat conftest.err >&5
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); } && {
38171 test -z "$ac_c_werror_flag" ||
38172 test ! -s conftest.err
38173 } && test -s conftest$ac_exeext &&
38174 $as_test_x conftest$ac_exeext; then
38175 ac_cv_func_pthread_attr_getschedpolicy=yes
38176 else
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.$ac_ext >&5
38179
38180 ac_cv_func_pthread_attr_getschedpolicy=no
38181 fi
38182
38183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38184 conftest$ac_exeext conftest.$ac_ext
38185 fi
38186 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38187 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38188 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38189 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38190 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38191 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38193 else
38194 cat >conftest.$ac_ext <<_ACEOF
38195 /* confdefs.h. */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38202 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38203
38204 /* System header to define __stub macros and hopefully few prototypes,
38205 which can conflict with char pthread_attr_setschedparam (); below.
38206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38207 <limits.h> exists even on freestanding compilers. */
38208
38209 #ifdef __STDC__
38210 # include <limits.h>
38211 #else
38212 # include <assert.h>
38213 #endif
38214
38215 #undef pthread_attr_setschedparam
38216
38217 /* Override any GCC internal prototype to avoid an error.
38218 Use char because int might match the return type of a GCC
38219 builtin and then its argument prototype would still apply. */
38220 #ifdef __cplusplus
38221 extern "C"
38222 #endif
38223 char pthread_attr_setschedparam ();
38224 /* The GNU C library defines this for functions which it implements
38225 to always fail with ENOSYS. Some functions are actually named
38226 something starting with __ and the normal name is an alias. */
38227 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38228 choke me
38229 #endif
38230
38231 int
38232 main ()
38233 {
38234 return pthread_attr_setschedparam ();
38235 ;
38236 return 0;
38237 }
38238 _ACEOF
38239 rm -f conftest.$ac_objext conftest$ac_exeext
38240 if { (ac_try="$ac_link"
38241 case "(($ac_try" in
38242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38243 *) ac_try_echo=$ac_try;;
38244 esac
38245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38246 (eval "$ac_link") 2>conftest.er1
38247 ac_status=$?
38248 grep -v '^ *+' conftest.er1 >conftest.err
38249 rm -f conftest.er1
38250 cat conftest.err >&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } && {
38253 test -z "$ac_c_werror_flag" ||
38254 test ! -s conftest.err
38255 } && test -s conftest$ac_exeext &&
38256 $as_test_x conftest$ac_exeext; then
38257 ac_cv_func_pthread_attr_setschedparam=yes
38258 else
38259 echo "$as_me: failed program was:" >&5
38260 sed 's/^/| /' conftest.$ac_ext >&5
38261
38262 ac_cv_func_pthread_attr_setschedparam=no
38263 fi
38264
38265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38266 conftest$ac_exeext conftest.$ac_ext
38267 fi
38268 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38269 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38270 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38271 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38272 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38273 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 else
38276 cat >conftest.$ac_ext <<_ACEOF
38277 /* confdefs.h. */
38278 _ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38284 #define sched_get_priority_max innocuous_sched_get_priority_max
38285
38286 /* System header to define __stub macros and hopefully few prototypes,
38287 which can conflict with char sched_get_priority_max (); below.
38288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38289 <limits.h> exists even on freestanding compilers. */
38290
38291 #ifdef __STDC__
38292 # include <limits.h>
38293 #else
38294 # include <assert.h>
38295 #endif
38296
38297 #undef sched_get_priority_max
38298
38299 /* Override any GCC internal prototype to avoid an error.
38300 Use char because int might match the return type of a GCC
38301 builtin and then its argument prototype would still apply. */
38302 #ifdef __cplusplus
38303 extern "C"
38304 #endif
38305 char sched_get_priority_max ();
38306 /* The GNU C library defines this for functions which it implements
38307 to always fail with ENOSYS. Some functions are actually named
38308 something starting with __ and the normal name is an alias. */
38309 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38310 choke me
38311 #endif
38312
38313 int
38314 main ()
38315 {
38316 return sched_get_priority_max ();
38317 ;
38318 return 0;
38319 }
38320 _ACEOF
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38326 esac
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38329 ac_status=$?
38330 grep -v '^ *+' conftest.er1 >conftest.err
38331 rm -f conftest.er1
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 ac_cv_func_sched_get_priority_max=yes
38340 else
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38343
38344 ac_cv_func_sched_get_priority_max=no
38345 fi
38346
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38349 fi
38350 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38351 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38352 if test $ac_cv_func_sched_get_priority_max = yes; then
38353 HAVE_PRIOR_FUNCS=1
38354 else
38355 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38356 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38357 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38358 echo $ECHO_N "(cached) $ECHO_C" >&6
38359 else
38360 ac_check_lib_save_LIBS=$LIBS
38361 LIBS="-lposix4 $LIBS"
38362 cat >conftest.$ac_ext <<_ACEOF
38363 /* confdefs.h. */
38364 _ACEOF
38365 cat confdefs.h >>conftest.$ac_ext
38366 cat >>conftest.$ac_ext <<_ACEOF
38367 /* end confdefs.h. */
38368
38369 /* Override any GCC internal prototype to avoid an error.
38370 Use char because int might match the return type of a GCC
38371 builtin and then its argument prototype would still apply. */
38372 #ifdef __cplusplus
38373 extern "C"
38374 #endif
38375 char sched_get_priority_max ();
38376 int
38377 main ()
38378 {
38379 return sched_get_priority_max ();
38380 ;
38381 return 0;
38382 }
38383 _ACEOF
38384 rm -f conftest.$ac_objext conftest$ac_exeext
38385 if { (ac_try="$ac_link"
38386 case "(($ac_try" in
38387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38388 *) ac_try_echo=$ac_try;;
38389 esac
38390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38391 (eval "$ac_link") 2>conftest.er1
38392 ac_status=$?
38393 grep -v '^ *+' conftest.er1 >conftest.err
38394 rm -f conftest.er1
38395 cat conftest.err >&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } && {
38398 test -z "$ac_c_werror_flag" ||
38399 test ! -s conftest.err
38400 } && test -s conftest$ac_exeext &&
38401 $as_test_x conftest$ac_exeext; then
38402 ac_cv_lib_posix4_sched_get_priority_max=yes
38403 else
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.$ac_ext >&5
38406
38407 ac_cv_lib_posix4_sched_get_priority_max=no
38408 fi
38409
38410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38411 conftest$ac_exeext conftest.$ac_ext
38412 LIBS=$ac_check_lib_save_LIBS
38413 fi
38414 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38415 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38416 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38417
38418 HAVE_PRIOR_FUNCS=1
38419 POSIX4_LINK=" -lposix4"
38420
38421 fi
38422
38423
38424 fi
38425
38426
38427 fi
38428
38429
38430 fi
38431
38432
38433 if test "$HAVE_PRIOR_FUNCS" = 1; then
38434 cat >>confdefs.h <<\_ACEOF
38435 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38436 _ACEOF
38437
38438 else
38439 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38440 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38441 fi
38442
38443 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38444 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38445 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38448 cat >conftest.$ac_ext <<_ACEOF
38449 /* confdefs.h. */
38450 _ACEOF
38451 cat confdefs.h >>conftest.$ac_ext
38452 cat >>conftest.$ac_ext <<_ACEOF
38453 /* end confdefs.h. */
38454 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38456 #define pthread_cancel innocuous_pthread_cancel
38457
38458 /* System header to define __stub macros and hopefully few prototypes,
38459 which can conflict with char pthread_cancel (); below.
38460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38461 <limits.h> exists even on freestanding compilers. */
38462
38463 #ifdef __STDC__
38464 # include <limits.h>
38465 #else
38466 # include <assert.h>
38467 #endif
38468
38469 #undef pthread_cancel
38470
38471 /* Override any GCC internal prototype to avoid an error.
38472 Use char because int might match the return type of a GCC
38473 builtin and then its argument prototype would still apply. */
38474 #ifdef __cplusplus
38475 extern "C"
38476 #endif
38477 char pthread_cancel ();
38478 /* The GNU C library defines this for functions which it implements
38479 to always fail with ENOSYS. Some functions are actually named
38480 something starting with __ and the normal name is an alias. */
38481 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38482 choke me
38483 #endif
38484
38485 int
38486 main ()
38487 {
38488 return pthread_cancel ();
38489 ;
38490 return 0;
38491 }
38492 _ACEOF
38493 rm -f conftest.$ac_objext conftest$ac_exeext
38494 if { (ac_try="$ac_link"
38495 case "(($ac_try" in
38496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38497 *) ac_try_echo=$ac_try;;
38498 esac
38499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38500 (eval "$ac_link") 2>conftest.er1
38501 ac_status=$?
38502 grep -v '^ *+' conftest.er1 >conftest.err
38503 rm -f conftest.er1
38504 cat conftest.err >&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } && {
38507 test -z "$ac_c_werror_flag" ||
38508 test ! -s conftest.err
38509 } && test -s conftest$ac_exeext &&
38510 $as_test_x conftest$ac_exeext; then
38511 ac_cv_func_pthread_cancel=yes
38512 else
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38515
38516 ac_cv_func_pthread_cancel=no
38517 fi
38518
38519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38520 conftest$ac_exeext conftest.$ac_ext
38521 fi
38522 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38523 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38524 if test $ac_cv_func_pthread_cancel = yes; then
38525 cat >>confdefs.h <<\_ACEOF
38526 #define HAVE_PTHREAD_CANCEL 1
38527 _ACEOF
38528
38529 else
38530 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38531 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38532 fi
38533
38534
38535 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38536 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38537 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38538 echo $ECHO_N "(cached) $ECHO_C" >&6
38539 else
38540 cat >conftest.$ac_ext <<_ACEOF
38541 /* confdefs.h. */
38542 _ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38548 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38549
38550 /* System header to define __stub macros and hopefully few prototypes,
38551 which can conflict with char pthread_mutex_timedlock (); below.
38552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38553 <limits.h> exists even on freestanding compilers. */
38554
38555 #ifdef __STDC__
38556 # include <limits.h>
38557 #else
38558 # include <assert.h>
38559 #endif
38560
38561 #undef pthread_mutex_timedlock
38562
38563 /* Override any GCC internal prototype to avoid an error.
38564 Use char because int might match the return type of a GCC
38565 builtin and then its argument prototype would still apply. */
38566 #ifdef __cplusplus
38567 extern "C"
38568 #endif
38569 char pthread_mutex_timedlock ();
38570 /* The GNU C library defines this for functions which it implements
38571 to always fail with ENOSYS. Some functions are actually named
38572 something starting with __ and the normal name is an alias. */
38573 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38574 choke me
38575 #endif
38576
38577 int
38578 main ()
38579 {
38580 return pthread_mutex_timedlock ();
38581 ;
38582 return 0;
38583 }
38584 _ACEOF
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (ac_try="$ac_link"
38587 case "(($ac_try" in
38588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38589 *) ac_try_echo=$ac_try;;
38590 esac
38591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38592 (eval "$ac_link") 2>conftest.er1
38593 ac_status=$?
38594 grep -v '^ *+' conftest.er1 >conftest.err
38595 rm -f conftest.er1
38596 cat conftest.err >&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } && {
38599 test -z "$ac_c_werror_flag" ||
38600 test ! -s conftest.err
38601 } && test -s conftest$ac_exeext &&
38602 $as_test_x conftest$ac_exeext; then
38603 ac_cv_func_pthread_mutex_timedlock=yes
38604 else
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38607
38608 ac_cv_func_pthread_mutex_timedlock=no
38609 fi
38610
38611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38612 conftest$ac_exeext conftest.$ac_ext
38613 fi
38614 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38615 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38616 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38617 cat >>confdefs.h <<\_ACEOF
38618 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38619 _ACEOF
38620
38621 else
38622 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38623 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38624 fi
38625
38626
38627 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38628 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38629 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 else
38632 cat >conftest.$ac_ext <<_ACEOF
38633 /* confdefs.h. */
38634 _ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38638 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38640 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38641
38642 /* System header to define __stub macros and hopefully few prototypes,
38643 which can conflict with char pthread_attr_setstacksize (); below.
38644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38645 <limits.h> exists even on freestanding compilers. */
38646
38647 #ifdef __STDC__
38648 # include <limits.h>
38649 #else
38650 # include <assert.h>
38651 #endif
38652
38653 #undef pthread_attr_setstacksize
38654
38655 /* Override any GCC internal prototype to avoid an error.
38656 Use char because int might match the return type of a GCC
38657 builtin and then its argument prototype would still apply. */
38658 #ifdef __cplusplus
38659 extern "C"
38660 #endif
38661 char pthread_attr_setstacksize ();
38662 /* The GNU C library defines this for functions which it implements
38663 to always fail with ENOSYS. Some functions are actually named
38664 something starting with __ and the normal name is an alias. */
38665 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38666 choke me
38667 #endif
38668
38669 int
38670 main ()
38671 {
38672 return pthread_attr_setstacksize ();
38673 ;
38674 return 0;
38675 }
38676 _ACEOF
38677 rm -f conftest.$ac_objext conftest$ac_exeext
38678 if { (ac_try="$ac_link"
38679 case "(($ac_try" in
38680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38681 *) ac_try_echo=$ac_try;;
38682 esac
38683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38684 (eval "$ac_link") 2>conftest.er1
38685 ac_status=$?
38686 grep -v '^ *+' conftest.er1 >conftest.err
38687 rm -f conftest.er1
38688 cat conftest.err >&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); } && {
38691 test -z "$ac_c_werror_flag" ||
38692 test ! -s conftest.err
38693 } && test -s conftest$ac_exeext &&
38694 $as_test_x conftest$ac_exeext; then
38695 ac_cv_func_pthread_attr_setstacksize=yes
38696 else
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38699
38700 ac_cv_func_pthread_attr_setstacksize=no
38701 fi
38702
38703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38704 conftest$ac_exeext conftest.$ac_ext
38705 fi
38706 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38707 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38708 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38709 cat >>confdefs.h <<\_ACEOF
38710 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38711 _ACEOF
38712
38713 fi
38714
38715
38716
38717 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38718 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38719 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 else
38722
38723 cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h. */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 #include <pthread.h>
38730 int
38731 main ()
38732 {
38733
38734 pthread_mutexattr_t attr;
38735 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38736
38737 ;
38738 return 0;
38739 }
38740 _ACEOF
38741 rm -f conftest.$ac_objext
38742 if { (ac_try="$ac_compile"
38743 case "(($ac_try" in
38744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38745 *) ac_try_echo=$ac_try;;
38746 esac
38747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38748 (eval "$ac_compile") 2>conftest.er1
38749 ac_status=$?
38750 grep -v '^ *+' conftest.er1 >conftest.err
38751 rm -f conftest.er1
38752 cat conftest.err >&5
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); } && {
38755 test -z "$ac_c_werror_flag" ||
38756 test ! -s conftest.err
38757 } && test -s conftest.$ac_objext; then
38758 wx_cv_type_pthread_mutexattr_t=yes
38759 else
38760 echo "$as_me: failed program was:" >&5
38761 sed 's/^/| /' conftest.$ac_ext >&5
38762
38763 wx_cv_type_pthread_mutexattr_t=no
38764
38765 fi
38766
38767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38768
38769 fi
38770 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38771 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38772
38773 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38774 cat >>confdefs.h <<\_ACEOF
38775 #define HAVE_PTHREAD_MUTEXATTR_T 1
38776 _ACEOF
38777
38778
38779 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38780 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38781 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38782 echo $ECHO_N "(cached) $ECHO_C" >&6
38783 else
38784
38785 cat >conftest.$ac_ext <<_ACEOF
38786 /* confdefs.h. */
38787 _ACEOF
38788 cat confdefs.h >>conftest.$ac_ext
38789 cat >>conftest.$ac_ext <<_ACEOF
38790 /* end confdefs.h. */
38791 #include <pthread.h>
38792 int
38793 main ()
38794 {
38795
38796 pthread_mutexattr_t attr;
38797 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38798
38799 ;
38800 return 0;
38801 }
38802 _ACEOF
38803 rm -f conftest.$ac_objext
38804 if { (ac_try="$ac_compile"
38805 case "(($ac_try" in
38806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38807 *) ac_try_echo=$ac_try;;
38808 esac
38809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38810 (eval "$ac_compile") 2>conftest.er1
38811 ac_status=$?
38812 grep -v '^ *+' conftest.er1 >conftest.err
38813 rm -f conftest.er1
38814 cat conftest.err >&5
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); } && {
38817 test -z "$ac_c_werror_flag" ||
38818 test ! -s conftest.err
38819 } && test -s conftest.$ac_objext; then
38820 wx_cv_func_pthread_mutexattr_settype_decl=yes
38821 else
38822 echo "$as_me: failed program was:" >&5
38823 sed 's/^/| /' conftest.$ac_ext >&5
38824
38825 wx_cv_func_pthread_mutexattr_settype_decl=no
38826
38827 fi
38828
38829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38830
38831 fi
38832 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38833 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38834 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38837 _ACEOF
38838
38839 fi
38840 else
38841 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38842 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38843 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 else
38846
38847 cat >conftest.$ac_ext <<_ACEOF
38848 /* confdefs.h. */
38849 _ACEOF
38850 cat confdefs.h >>conftest.$ac_ext
38851 cat >>conftest.$ac_ext <<_ACEOF
38852 /* end confdefs.h. */
38853 #include <pthread.h>
38854 int
38855 main ()
38856 {
38857
38858 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38859
38860 ;
38861 return 0;
38862 }
38863 _ACEOF
38864 rm -f conftest.$ac_objext
38865 if { (ac_try="$ac_compile"
38866 case "(($ac_try" in
38867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38868 *) ac_try_echo=$ac_try;;
38869 esac
38870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38871 (eval "$ac_compile") 2>conftest.er1
38872 ac_status=$?
38873 grep -v '^ *+' conftest.er1 >conftest.err
38874 rm -f conftest.er1
38875 cat conftest.err >&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } && {
38878 test -z "$ac_c_werror_flag" ||
38879 test ! -s conftest.err
38880 } && test -s conftest.$ac_objext; then
38881
38882 wx_cv_type_pthread_rec_mutex_init=yes
38883
38884 else
38885 echo "$as_me: failed program was:" >&5
38886 sed 's/^/| /' conftest.$ac_ext >&5
38887
38888
38889 wx_cv_type_pthread_rec_mutex_init=no
38890
38891
38892 fi
38893
38894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38895
38896 fi
38897 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38898 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38899 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38900 cat >>confdefs.h <<\_ACEOF
38901 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38902 _ACEOF
38903
38904 else
38905 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38906 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38907 fi
38908 fi
38909 fi
38910
38911 else
38912 if test "$wxUSE_THREADS" = "yes" ; then
38913 case "${host}" in
38914 *-*-mingw32* )
38915 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38916 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38917 if test "${wx_cv_cflags_mthread+set}" = set; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920
38921 CFLAGS_OLD="$CFLAGS"
38922 CFLAGS="-mthreads $CFLAGS"
38923 cat >conftest.$ac_ext <<_ACEOF
38924 /* confdefs.h. */
38925 _ACEOF
38926 cat confdefs.h >>conftest.$ac_ext
38927 cat >>conftest.$ac_ext <<_ACEOF
38928 /* end confdefs.h. */
38929
38930 int
38931 main ()
38932 {
38933
38934 ;
38935 return 0;
38936 }
38937 _ACEOF
38938 rm -f conftest.$ac_objext
38939 if { (ac_try="$ac_compile"
38940 case "(($ac_try" in
38941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38942 *) ac_try_echo=$ac_try;;
38943 esac
38944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38945 (eval "$ac_compile") 2>conftest.er1
38946 ac_status=$?
38947 grep -v '^ *+' conftest.er1 >conftest.err
38948 rm -f conftest.er1
38949 cat conftest.err >&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); } && {
38952 test -z "$ac_c_werror_flag" ||
38953 test ! -s conftest.err
38954 } && test -s conftest.$ac_objext; then
38955 wx_cv_cflags_mthread=yes
38956 else
38957 echo "$as_me: failed program was:" >&5
38958 sed 's/^/| /' conftest.$ac_ext >&5
38959
38960 wx_cv_cflags_mthread=no
38961
38962 fi
38963
38964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38965
38966
38967 fi
38968 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38969 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38970
38971 if test "$wx_cv_cflags_mthread" = "yes"; then
38972 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38973 LDFLAGS="$LDFLAGS -mthreads"
38974 else
38975 CFLAGS="$CFLAGS_OLD"
38976 fi
38977 ;;
38978 *-pc-os2*emx )
38979 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38980 LDFLAGS="$LDFLAGS -Zmt"
38981 ;;
38982 esac
38983 fi
38984 fi
38985
38986 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38987 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38988 if test "${ac_cv_func_localtime_r+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 else
38991 cat >conftest.$ac_ext <<_ACEOF
38992 /* confdefs.h. */
38993 _ACEOF
38994 cat confdefs.h >>conftest.$ac_ext
38995 cat >>conftest.$ac_ext <<_ACEOF
38996 /* end confdefs.h. */
38997 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38999 #define localtime_r innocuous_localtime_r
39000
39001 /* System header to define __stub macros and hopefully few prototypes,
39002 which can conflict with char localtime_r (); below.
39003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39004 <limits.h> exists even on freestanding compilers. */
39005
39006 #ifdef __STDC__
39007 # include <limits.h>
39008 #else
39009 # include <assert.h>
39010 #endif
39011
39012 #undef localtime_r
39013
39014 /* Override any GCC internal prototype to avoid an error.
39015 Use char because int might match the return type of a GCC
39016 builtin and then its argument prototype would still apply. */
39017 #ifdef __cplusplus
39018 extern "C"
39019 #endif
39020 char localtime_r ();
39021 /* The GNU C library defines this for functions which it implements
39022 to always fail with ENOSYS. Some functions are actually named
39023 something starting with __ and the normal name is an alias. */
39024 #if defined __stub_localtime_r || defined __stub___localtime_r
39025 choke me
39026 #endif
39027
39028 int
39029 main ()
39030 {
39031 return localtime_r ();
39032 ;
39033 return 0;
39034 }
39035 _ACEOF
39036 rm -f conftest.$ac_objext conftest$ac_exeext
39037 if { (ac_try="$ac_link"
39038 case "(($ac_try" in
39039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39040 *) ac_try_echo=$ac_try;;
39041 esac
39042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39043 (eval "$ac_link") 2>conftest.er1
39044 ac_status=$?
39045 grep -v '^ *+' conftest.er1 >conftest.err
39046 rm -f conftest.er1
39047 cat conftest.err >&5
39048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049 (exit $ac_status); } && {
39050 test -z "$ac_c_werror_flag" ||
39051 test ! -s conftest.err
39052 } && test -s conftest$ac_exeext &&
39053 $as_test_x conftest$ac_exeext; then
39054 ac_cv_func_localtime_r=yes
39055 else
39056 echo "$as_me: failed program was:" >&5
39057 sed 's/^/| /' conftest.$ac_ext >&5
39058
39059 ac_cv_func_localtime_r=no
39060 fi
39061
39062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39063 conftest$ac_exeext conftest.$ac_ext
39064 fi
39065 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39066 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39067 if test $ac_cv_func_localtime_r = yes; then
39068 cat >>confdefs.h <<\_ACEOF
39069 #define HAVE_LOCALTIME_R 1
39070 _ACEOF
39071
39072 fi
39073
39074 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39075 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39076 if test "${ac_cv_func_gmtime_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 gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39087 #define gmtime_r innocuous_gmtime_r
39088
39089 /* System header to define __stub macros and hopefully few prototypes,
39090 which can conflict with char gmtime_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 gmtime_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 gmtime_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_gmtime_r || defined __stub___gmtime_r
39113 choke me
39114 #endif
39115
39116 int
39117 main ()
39118 {
39119 return gmtime_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_gmtime_r=yes
39143 else
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.$ac_ext >&5
39146
39147 ac_cv_func_gmtime_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_gmtime_r" >&5
39154 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39155 if test $ac_cv_func_gmtime_r = yes; then
39156 cat >>confdefs.h <<\_ACEOF
39157 #define HAVE_GMTIME_R 1
39158 _ACEOF
39159
39160 fi
39161
39162 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39163 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39164 if test "${ac_cv_func_readdir_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 readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39175 #define readdir_r innocuous_readdir_r
39176
39177 /* System header to define __stub macros and hopefully few prototypes,
39178 which can conflict with char readdir_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 readdir_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 readdir_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_readdir_r || defined __stub___readdir_r
39201 choke me
39202 #endif
39203
39204 int
39205 main ()
39206 {
39207 return readdir_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_readdir_r=yes
39231 else
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.$ac_ext >&5
39234
39235 ac_cv_func_readdir_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_readdir_r" >&5
39242 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39243 if test $ac_cv_func_readdir_r = yes; then
39244 cat >>confdefs.h <<\_ACEOF
39245 #define HAVE_READDIR_R 1
39246 _ACEOF
39247
39248 fi
39249
39250
39251
39252
39253 ac_ext=c
39254 ac_cpp='$CPP $CPPFLAGS'
39255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39258
39259 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39260 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39261
39262 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39263 echo $ECHO_N "(cached) $ECHO_C" >&6
39264 else
39265
39266
39267
39268 ac_cv_func_which_gethostbyname_r=unknown
39269
39270 #
39271 # ONE ARGUMENT (sanity check)
39272 #
39273
39274 # This should fail, as there is no variant of gethostbyname_r() that takes
39275 # a single argument. If it actually compiles, then we can assume that
39276 # netdb.h is not declaring the function, and the compiler is thereby
39277 # assuming an implicit prototype. In which case, we're out of luck.
39278 #
39279 cat >conftest.$ac_ext <<_ACEOF
39280 /* confdefs.h. */
39281 _ACEOF
39282 cat confdefs.h >>conftest.$ac_ext
39283 cat >>conftest.$ac_ext <<_ACEOF
39284 /* end confdefs.h. */
39285 #include <netdb.h>
39286 int
39287 main ()
39288 {
39289
39290 char *name = "www.gnu.org";
39291 (void)gethostbyname_r(name) /* ; */
39292
39293 ;
39294 return 0;
39295 }
39296 _ACEOF
39297 rm -f conftest.$ac_objext
39298 if { (ac_try="$ac_compile"
39299 case "(($ac_try" in
39300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39301 *) ac_try_echo=$ac_try;;
39302 esac
39303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39304 (eval "$ac_compile") 2>conftest.er1
39305 ac_status=$?
39306 grep -v '^ *+' conftest.er1 >conftest.err
39307 rm -f conftest.er1
39308 cat conftest.err >&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); } && {
39311 test -z "$ac_c_werror_flag" ||
39312 test ! -s conftest.err
39313 } && test -s conftest.$ac_objext; then
39314 ac_cv_func_which_gethostbyname_r=no
39315 else
39316 echo "$as_me: failed program was:" >&5
39317 sed 's/^/| /' conftest.$ac_ext >&5
39318
39319
39320 fi
39321
39322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39323
39324 #
39325 # SIX ARGUMENTS
39326 # (e.g. Linux)
39327 #
39328
39329 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39330
39331 cat >conftest.$ac_ext <<_ACEOF
39332 /* confdefs.h. */
39333 _ACEOF
39334 cat confdefs.h >>conftest.$ac_ext
39335 cat >>conftest.$ac_ext <<_ACEOF
39336 /* end confdefs.h. */
39337 #include <netdb.h>
39338 int
39339 main ()
39340 {
39341
39342 char *name = "www.gnu.org";
39343 struct hostent ret, *retp;
39344 char buf[1024];
39345 int buflen = 1024;
39346 int my_h_errno;
39347 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39348
39349 ;
39350 return 0;
39351 }
39352 _ACEOF
39353 rm -f conftest.$ac_objext
39354 if { (ac_try="$ac_compile"
39355 case "(($ac_try" in
39356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39357 *) ac_try_echo=$ac_try;;
39358 esac
39359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39360 (eval "$ac_compile") 2>conftest.er1
39361 ac_status=$?
39362 grep -v '^ *+' conftest.er1 >conftest.err
39363 rm -f conftest.er1
39364 cat conftest.err >&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); } && {
39367 test -z "$ac_c_werror_flag" ||
39368 test ! -s conftest.err
39369 } && test -s conftest.$ac_objext; then
39370 ac_cv_func_which_gethostbyname_r=six
39371 else
39372 echo "$as_me: failed program was:" >&5
39373 sed 's/^/| /' conftest.$ac_ext >&5
39374
39375
39376 fi
39377
39378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39379
39380 fi
39381
39382 #
39383 # FIVE ARGUMENTS
39384 # (e.g. Solaris)
39385 #
39386
39387 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39388
39389 cat >conftest.$ac_ext <<_ACEOF
39390 /* confdefs.h. */
39391 _ACEOF
39392 cat confdefs.h >>conftest.$ac_ext
39393 cat >>conftest.$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39395 #include <netdb.h>
39396 int
39397 main ()
39398 {
39399
39400 char *name = "www.gnu.org";
39401 struct hostent ret;
39402 char buf[1024];
39403 int buflen = 1024;
39404 int my_h_errno;
39405 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39406
39407 ;
39408 return 0;
39409 }
39410 _ACEOF
39411 rm -f conftest.$ac_objext
39412 if { (ac_try="$ac_compile"
39413 case "(($ac_try" in
39414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39415 *) ac_try_echo=$ac_try;;
39416 esac
39417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39418 (eval "$ac_compile") 2>conftest.er1
39419 ac_status=$?
39420 grep -v '^ *+' conftest.er1 >conftest.err
39421 rm -f conftest.er1
39422 cat conftest.err >&5
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); } && {
39425 test -z "$ac_c_werror_flag" ||
39426 test ! -s conftest.err
39427 } && test -s conftest.$ac_objext; then
39428 ac_cv_func_which_gethostbyname_r=five
39429 else
39430 echo "$as_me: failed program was:" >&5
39431 sed 's/^/| /' conftest.$ac_ext >&5
39432
39433
39434 fi
39435
39436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39437
39438 fi
39439
39440 #
39441 # THREE ARGUMENTS
39442 # (e.g. AIX, HP-UX, Tru64)
39443 #
39444
39445 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39446
39447 cat >conftest.$ac_ext <<_ACEOF
39448 /* confdefs.h. */
39449 _ACEOF
39450 cat confdefs.h >>conftest.$ac_ext
39451 cat >>conftest.$ac_ext <<_ACEOF
39452 /* end confdefs.h. */
39453 #include <netdb.h>
39454 int
39455 main ()
39456 {
39457
39458 char *name = "www.gnu.org";
39459 struct hostent ret;
39460 struct hostent_data data;
39461 (void)gethostbyname_r(name, &ret, &data) /* ; */
39462
39463 ;
39464 return 0;
39465 }
39466 _ACEOF
39467 rm -f conftest.$ac_objext
39468 if { (ac_try="$ac_compile"
39469 case "(($ac_try" in
39470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39471 *) ac_try_echo=$ac_try;;
39472 esac
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_compile") 2>conftest.er1
39475 ac_status=$?
39476 grep -v '^ *+' conftest.er1 >conftest.err
39477 rm -f conftest.er1
39478 cat conftest.err >&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } && {
39481 test -z "$ac_c_werror_flag" ||
39482 test ! -s conftest.err
39483 } && test -s conftest.$ac_objext; then
39484 ac_cv_func_which_gethostbyname_r=three
39485 else
39486 echo "$as_me: failed program was:" >&5
39487 sed 's/^/| /' conftest.$ac_ext >&5
39488
39489
39490 fi
39491
39492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39493
39494 fi
39495
39496
39497
39498 fi
39499
39500 case "$ac_cv_func_which_gethostbyname_r" in
39501 three)
39502 { echo "$as_me:$LINENO: result: three" >&5
39503 echo "${ECHO_T}three" >&6; }
39504 cat >>confdefs.h <<\_ACEOF
39505 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39506 _ACEOF
39507
39508 ;;
39509
39510 five)
39511 { echo "$as_me:$LINENO: result: five" >&5
39512 echo "${ECHO_T}five" >&6; }
39513 cat >>confdefs.h <<\_ACEOF
39514 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39515 _ACEOF
39516
39517 ;;
39518
39519 six)
39520 { echo "$as_me:$LINENO: result: six" >&5
39521 echo "${ECHO_T}six" >&6; }
39522 cat >>confdefs.h <<\_ACEOF
39523 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39524 _ACEOF
39525
39526 ;;
39527
39528 no)
39529 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39530 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39531 ;;
39532
39533 unknown)
39534 { echo "$as_me:$LINENO: result: can't tell" >&5
39535 echo "${ECHO_T}can't tell" >&6; }
39536 ;;
39537
39538 *)
39539 { { echo "$as_me:$LINENO: error: internal error" >&5
39540 echo "$as_me: error: internal error" >&2;}
39541 { (exit 1); exit 1; }; }
39542 ;;
39543 esac
39544
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39550
39551
39552
39553 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39554 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39555 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39556 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39557 if test "${ac_cv_func_gethostbyname+set}" = set; then
39558 echo $ECHO_N "(cached) $ECHO_C" >&6
39559 else
39560 cat >conftest.$ac_ext <<_ACEOF
39561 /* confdefs.h. */
39562 _ACEOF
39563 cat confdefs.h >>conftest.$ac_ext
39564 cat >>conftest.$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39566 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39568 #define gethostbyname innocuous_gethostbyname
39569
39570 /* System header to define __stub macros and hopefully few prototypes,
39571 which can conflict with char gethostbyname (); below.
39572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39573 <limits.h> exists even on freestanding compilers. */
39574
39575 #ifdef __STDC__
39576 # include <limits.h>
39577 #else
39578 # include <assert.h>
39579 #endif
39580
39581 #undef gethostbyname
39582
39583 /* Override any GCC internal prototype to avoid an error.
39584 Use char because int might match the return type of a GCC
39585 builtin and then its argument prototype would still apply. */
39586 #ifdef __cplusplus
39587 extern "C"
39588 #endif
39589 char gethostbyname ();
39590 /* The GNU C library defines this for functions which it implements
39591 to always fail with ENOSYS. Some functions are actually named
39592 something starting with __ and the normal name is an alias. */
39593 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39594 choke me
39595 #endif
39596
39597 int
39598 main ()
39599 {
39600 return gethostbyname ();
39601 ;
39602 return 0;
39603 }
39604 _ACEOF
39605 rm -f conftest.$ac_objext conftest$ac_exeext
39606 if { (ac_try="$ac_link"
39607 case "(($ac_try" in
39608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39609 *) ac_try_echo=$ac_try;;
39610 esac
39611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39612 (eval "$ac_link") 2>conftest.er1
39613 ac_status=$?
39614 grep -v '^ *+' conftest.er1 >conftest.err
39615 rm -f conftest.er1
39616 cat conftest.err >&5
39617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39618 (exit $ac_status); } && {
39619 test -z "$ac_c_werror_flag" ||
39620 test ! -s conftest.err
39621 } && test -s conftest$ac_exeext &&
39622 $as_test_x conftest$ac_exeext; then
39623 ac_cv_func_gethostbyname=yes
39624 else
39625 echo "$as_me: failed program was:" >&5
39626 sed 's/^/| /' conftest.$ac_ext >&5
39627
39628 ac_cv_func_gethostbyname=no
39629 fi
39630
39631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39632 conftest$ac_exeext conftest.$ac_ext
39633 fi
39634 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39635 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39636 if test $ac_cv_func_gethostbyname = yes; then
39637 cat >>confdefs.h <<\_ACEOF
39638 #define HAVE_GETHOSTBYNAME 1
39639 _ACEOF
39640
39641 fi
39642
39643 fi
39644 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39645 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 else
39649
39650 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39651 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39652 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39653 echo $ECHO_N "(cached) $ECHO_C" >&6
39654 else
39655 cat >conftest.$ac_ext <<_ACEOF
39656 /* confdefs.h. */
39657 _ACEOF
39658 cat confdefs.h >>conftest.$ac_ext
39659 cat >>conftest.$ac_ext <<_ACEOF
39660 /* end confdefs.h. */
39661 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39663 #define getservbyname_r innocuous_getservbyname_r
39664
39665 /* System header to define __stub macros and hopefully few prototypes,
39666 which can conflict with char getservbyname_r (); below.
39667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39668 <limits.h> exists even on freestanding compilers. */
39669
39670 #ifdef __STDC__
39671 # include <limits.h>
39672 #else
39673 # include <assert.h>
39674 #endif
39675
39676 #undef getservbyname_r
39677
39678 /* Override any GCC internal prototype to avoid an error.
39679 Use char because int might match the return type of a GCC
39680 builtin and then its argument prototype would still apply. */
39681 #ifdef __cplusplus
39682 extern "C"
39683 #endif
39684 char getservbyname_r ();
39685 /* The GNU C library defines this for functions which it implements
39686 to always fail with ENOSYS. Some functions are actually named
39687 something starting with __ and the normal name is an alias. */
39688 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39689 choke me
39690 #endif
39691
39692 int
39693 main ()
39694 {
39695 return getservbyname_r ();
39696 ;
39697 return 0;
39698 }
39699 _ACEOF
39700 rm -f conftest.$ac_objext conftest$ac_exeext
39701 if { (ac_try="$ac_link"
39702 case "(($ac_try" in
39703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39704 *) ac_try_echo=$ac_try;;
39705 esac
39706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39707 (eval "$ac_link") 2>conftest.er1
39708 ac_status=$?
39709 grep -v '^ *+' conftest.er1 >conftest.err
39710 rm -f conftest.er1
39711 cat conftest.err >&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); } && {
39714 test -z "$ac_c_werror_flag" ||
39715 test ! -s conftest.err
39716 } && test -s conftest$ac_exeext &&
39717 $as_test_x conftest$ac_exeext; then
39718 ac_cv_func_getservbyname_r=yes
39719 else
39720 echo "$as_me: failed program was:" >&5
39721 sed 's/^/| /' conftest.$ac_ext >&5
39722
39723 ac_cv_func_getservbyname_r=no
39724 fi
39725
39726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39727 conftest$ac_exeext conftest.$ac_ext
39728 fi
39729 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39730 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39731 if test $ac_cv_func_getservbyname_r = yes; then
39732
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739
39740 # include <netdb.h>
39741
39742 int
39743 main ()
39744 {
39745
39746
39747 char *name;
39748 char *proto;
39749 struct servent *se;
39750 struct servent_data data;
39751 (void) getservbyname_r(name, proto, se, &data);
39752
39753
39754 ;
39755 return 0;
39756 }
39757 _ACEOF
39758 rm -f conftest.$ac_objext
39759 if { (ac_try="$ac_compile"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39763 esac
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_compile") 2>conftest.er1
39766 ac_status=$?
39767 grep -v '^ *+' conftest.er1 >conftest.err
39768 rm -f conftest.er1
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest.$ac_objext; then
39775 ac_cv_func_which_getservbyname_r=four
39776 else
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.$ac_ext >&5
39779
39780
39781 cat >conftest.$ac_ext <<_ACEOF
39782 /* confdefs.h. */
39783 _ACEOF
39784 cat confdefs.h >>conftest.$ac_ext
39785 cat >>conftest.$ac_ext <<_ACEOF
39786 /* end confdefs.h. */
39787
39788 # include <netdb.h>
39789
39790 int
39791 main ()
39792 {
39793
39794 char *name;
39795 char *proto;
39796 struct servent *se, *res;
39797 char buffer[2048];
39798 int buflen = 2048;
39799 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39800
39801 ;
39802 return 0;
39803 }
39804 _ACEOF
39805 rm -f conftest.$ac_objext
39806 if { (ac_try="$ac_compile"
39807 case "(($ac_try" in
39808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39809 *) ac_try_echo=$ac_try;;
39810 esac
39811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39812 (eval "$ac_compile") 2>conftest.er1
39813 ac_status=$?
39814 grep -v '^ *+' conftest.er1 >conftest.err
39815 rm -f conftest.er1
39816 cat conftest.err >&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); } && {
39819 test -z "$ac_c_werror_flag" ||
39820 test ! -s conftest.err
39821 } && test -s conftest.$ac_objext; then
39822 ac_cv_func_which_getservbyname_r=six
39823 else
39824 echo "$as_me: failed program was:" >&5
39825 sed 's/^/| /' conftest.$ac_ext >&5
39826
39827
39828 cat >conftest.$ac_ext <<_ACEOF
39829 /* confdefs.h. */
39830 _ACEOF
39831 cat confdefs.h >>conftest.$ac_ext
39832 cat >>conftest.$ac_ext <<_ACEOF
39833 /* end confdefs.h. */
39834
39835 # include <netdb.h>
39836
39837 int
39838 main ()
39839 {
39840
39841 char *name;
39842 char *proto;
39843 struct servent *se;
39844 char buffer[2048];
39845 int buflen = 2048;
39846 (void) getservbyname_r(name, proto, se, buffer, buflen)
39847
39848 ;
39849 return 0;
39850 }
39851 _ACEOF
39852 rm -f conftest.$ac_objext
39853 if { (ac_try="$ac_compile"
39854 case "(($ac_try" in
39855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39856 *) ac_try_echo=$ac_try;;
39857 esac
39858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39859 (eval "$ac_compile") 2>conftest.er1
39860 ac_status=$?
39861 grep -v '^ *+' conftest.er1 >conftest.err
39862 rm -f conftest.er1
39863 cat conftest.err >&5
39864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39865 (exit $ac_status); } && {
39866 test -z "$ac_c_werror_flag" ||
39867 test ! -s conftest.err
39868 } && test -s conftest.$ac_objext; then
39869 ac_cv_func_which_getservbyname_r=five
39870 else
39871 echo "$as_me: failed program was:" >&5
39872 sed 's/^/| /' conftest.$ac_ext >&5
39873
39874 ac_cv_func_which_getservbyname_r=no
39875 fi
39876
39877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39878
39879
39880
39881
39882 fi
39883
39884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39885
39886
39887 fi
39888
39889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39890
39891 else
39892 ac_cv_func_which_getservbyname_r=no
39893 fi
39894
39895 fi
39896 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39897 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39898
39899 if test $ac_cv_func_which_getservbyname_r = six; then
39900 cat >>confdefs.h <<\_ACEOF
39901 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39902 _ACEOF
39903
39904 elif test $ac_cv_func_which_getservbyname_r = five; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39907 _ACEOF
39908
39909 elif test $ac_cv_func_which_getservbyname_r = four; then
39910 cat >>confdefs.h <<\_ACEOF
39911 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39912 _ACEOF
39913
39914
39915 fi
39916
39917
39918 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39919 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39920
39921 for ac_func in getservbyname
39922 do
39923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39927 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 else
39929 cat >conftest.$ac_ext <<_ACEOF
39930 /* confdefs.h. */
39931 _ACEOF
39932 cat confdefs.h >>conftest.$ac_ext
39933 cat >>conftest.$ac_ext <<_ACEOF
39934 /* end confdefs.h. */
39935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39937 #define $ac_func innocuous_$ac_func
39938
39939 /* System header to define __stub macros and hopefully few prototypes,
39940 which can conflict with char $ac_func (); below.
39941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39942 <limits.h> exists even on freestanding compilers. */
39943
39944 #ifdef __STDC__
39945 # include <limits.h>
39946 #else
39947 # include <assert.h>
39948 #endif
39949
39950 #undef $ac_func
39951
39952 /* Override any GCC internal prototype to avoid an error.
39953 Use char because int might match the return type of a GCC
39954 builtin and then its argument prototype would still apply. */
39955 #ifdef __cplusplus
39956 extern "C"
39957 #endif
39958 char $ac_func ();
39959 /* The GNU C library defines this for functions which it implements
39960 to always fail with ENOSYS. Some functions are actually named
39961 something starting with __ and the normal name is an alias. */
39962 #if defined __stub_$ac_func || defined __stub___$ac_func
39963 choke me
39964 #endif
39965
39966 int
39967 main ()
39968 {
39969 return $ac_func ();
39970 ;
39971 return 0;
39972 }
39973 _ACEOF
39974 rm -f conftest.$ac_objext conftest$ac_exeext
39975 if { (ac_try="$ac_link"
39976 case "(($ac_try" in
39977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39978 *) ac_try_echo=$ac_try;;
39979 esac
39980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39981 (eval "$ac_link") 2>conftest.er1
39982 ac_status=$?
39983 grep -v '^ *+' conftest.er1 >conftest.err
39984 rm -f conftest.er1
39985 cat conftest.err >&5
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); } && {
39988 test -z "$ac_c_werror_flag" ||
39989 test ! -s conftest.err
39990 } && test -s conftest$ac_exeext &&
39991 $as_test_x conftest$ac_exeext; then
39992 eval "$as_ac_var=yes"
39993 else
39994 echo "$as_me: failed program was:" >&5
39995 sed 's/^/| /' conftest.$ac_ext >&5
39996
39997 eval "$as_ac_var=no"
39998 fi
39999
40000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40001 conftest$ac_exeext conftest.$ac_ext
40002 fi
40003 ac_res=`eval echo '${'$as_ac_var'}'`
40004 { echo "$as_me:$LINENO: result: $ac_res" >&5
40005 echo "${ECHO_T}$ac_res" >&6; }
40006 if test `eval echo '${'$as_ac_var'}'` = yes; then
40007 cat >>confdefs.h <<_ACEOF
40008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40009 _ACEOF
40010 cat >>confdefs.h <<\_ACEOF
40011 #define HAVE_GETSERVBYNAME 1
40012 _ACEOF
40013
40014 fi
40015 done
40016
40017 fi
40018
40019 if test "$wxUSE_THREADS" = "yes"; then
40020 cat >>confdefs.h <<\_ACEOF
40021 #define wxUSE_THREADS 1
40022 _ACEOF
40023
40024
40025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40026 else
40027 if test "$wx_cv_func_strtok_r" = "yes"; then
40028 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40029 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40030 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40031 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40032 { echo "$as_me:$LINENO: result: yes" >&5
40033 echo "${ECHO_T}yes" >&6; }
40034 else
40035 { echo "$as_me:$LINENO: result: no" >&5
40036 echo "${ECHO_T}no" >&6; }
40037 fi
40038 fi
40039 fi
40040
40041 if test "$WXGTK20" = 1 ; then
40042 cat >>confdefs.h <<_ACEOF
40043 #define __WXGTK20__ $WXGTK20
40044 _ACEOF
40045
40046 WXGTK12=1
40047 fi
40048
40049 if test "$WXGTK12" = 1 ; then
40050 cat >>confdefs.h <<_ACEOF
40051 #define __WXGTK12__ $WXGTK12
40052 _ACEOF
40053
40054 fi
40055
40056 if test "$WXGTK127" = 1 ; then
40057 cat >>confdefs.h <<_ACEOF
40058 #define __WXGTK127__ $WXGTK127
40059 _ACEOF
40060
40061 fi
40062
40063 if test "$WXGPE" = 1 ; then
40064 cat >>confdefs.h <<_ACEOF
40065 #define __WXGPE__ $WXGPE
40066 _ACEOF
40067
40068 fi
40069
40070 DEBUG_CFLAGS=
40071 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40072 DEBUG_CFLAGS="-g"
40073 wxUSE_OPTIMISE=no
40074 fi
40075
40076 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40077 wxUSE_DEBUG_INFO=yes
40078 if test "$GCC" = yes; then
40079 DEBUG_CFLAGS="-ggdb"
40080 fi
40081 fi
40082
40083 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40084 cat >>confdefs.h <<\_ACEOF
40085 #define WXDEBUG 1
40086 _ACEOF
40087
40088 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40089 else
40090 if test "$wxUSE_GTK" = 1 ; then
40091 if test "x$wxGTK_VERSION" = "x1" ; then
40092 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40093 fi
40094 fi
40095 fi
40096
40097 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define wxUSE_MEMORY_TRACING 1
40100 _ACEOF
40101
40102 cat >>confdefs.h <<\_ACEOF
40103 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40104 _ACEOF
40105
40106 cat >>confdefs.h <<\_ACEOF
40107 #define wxUSE_DEBUG_NEW_ALWAYS 1
40108 _ACEOF
40109
40110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40111 fi
40112
40113 if test "$wxUSE_DMALLOC" = "yes" ; then
40114 DMALLOC_LIBS="-ldmallocthcxx"
40115 fi
40116
40117 PROFILE_FLAGS=
40118 if test "$wxUSE_PROFILE" = "yes" ; then
40119 PROFILE_FLAGS=" -pg"
40120 fi
40121
40122 if test "$GCC" = "yes" ; then
40123 if test "$wxUSE_NO_RTTI" = "yes" ; then
40124 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40125 fi
40126 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40127 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40128 fi
40129 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40130 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40131 fi
40132
40133 case "${host}" in
40134 powerpc*-*-aix* )
40135 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40136 ;;
40137 *-hppa* )
40138 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40139 ;;
40140 esac
40141 fi
40142
40143 OPTIMISE_CFLAGS=
40144 if test "$wxUSE_OPTIMISE" = "no" ; then
40145 if test "$GCC" = yes ; then
40146 OPTIMISE_CFLAGS="-O0"
40147 fi
40148 else
40149 if test "$GCC" = yes ; then
40150 case "${host}" in
40151 *-pc-os2_emx | *-pc-os2-emx )
40152 OPTIMISE_CFLAGS="-O2"
40153 ;;
40154 *)
40155 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40156 ;;
40157 esac
40158 else
40159 OPTIMISE_CFLAGS="-O"
40160 fi
40161 fi
40162
40163
40164 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40165 cat >>confdefs.h <<\_ACEOF
40166 #define WXWIN_COMPATIBILITY_2_6 1
40167 _ACEOF
40168
40169
40170 WXWIN_COMPATIBILITY_2_8="yes"
40171 fi
40172
40173 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40174 cat >>confdefs.h <<\_ACEOF
40175 #define WXWIN_COMPATIBILITY_2_8 1
40176 _ACEOF
40177
40178 fi
40179
40180
40181 if test "$wxUSE_GUI" = "yes"; then
40182 cat >>confdefs.h <<\_ACEOF
40183 #define wxUSE_GUI 1
40184 _ACEOF
40185
40186
40187 fi
40188
40189
40190 if test "$wxUSE_UNIX" = "yes"; then
40191 cat >>confdefs.h <<\_ACEOF
40192 #define wxUSE_UNIX 1
40193 _ACEOF
40194
40195 fi
40196
40197
40198 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40199
40200 HAVE_DL_FUNCS=0
40201 HAVE_SHL_FUNCS=0
40202 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40203 if test "$USE_DARWIN" = 1; then
40204 HAVE_DL_FUNCS=1
40205 elif test "$USE_DOS" = 1; then
40206 HAVE_DL_FUNCS=0
40207 else
40208
40209 for ac_func in dlopen
40210 do
40211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 else
40217 cat >conftest.$ac_ext <<_ACEOF
40218 /* confdefs.h. */
40219 _ACEOF
40220 cat confdefs.h >>conftest.$ac_ext
40221 cat >>conftest.$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40225 #define $ac_func innocuous_$ac_func
40226
40227 /* System header to define __stub macros and hopefully few prototypes,
40228 which can conflict with char $ac_func (); below.
40229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40230 <limits.h> exists even on freestanding compilers. */
40231
40232 #ifdef __STDC__
40233 # include <limits.h>
40234 #else
40235 # include <assert.h>
40236 #endif
40237
40238 #undef $ac_func
40239
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40243 #ifdef __cplusplus
40244 extern "C"
40245 #endif
40246 char $ac_func ();
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined __stub_$ac_func || defined __stub___$ac_func
40251 choke me
40252 #endif
40253
40254 int
40255 main ()
40256 {
40257 return $ac_func ();
40258 ;
40259 return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext conftest$ac_exeext
40263 if { (ac_try="$ac_link"
40264 case "(($ac_try" in
40265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40266 *) ac_try_echo=$ac_try;;
40267 esac
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_link") 2>conftest.er1
40270 ac_status=$?
40271 grep -v '^ *+' conftest.er1 >conftest.err
40272 rm -f conftest.er1
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest$ac_exeext &&
40279 $as_test_x conftest$ac_exeext; then
40280 eval "$as_ac_var=yes"
40281 else
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.$ac_ext >&5
40284
40285 eval "$as_ac_var=no"
40286 fi
40287
40288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40289 conftest$ac_exeext conftest.$ac_ext
40290 fi
40291 ac_res=`eval echo '${'$as_ac_var'}'`
40292 { echo "$as_me:$LINENO: result: $ac_res" >&5
40293 echo "${ECHO_T}$ac_res" >&6; }
40294 if test `eval echo '${'$as_ac_var'}'` = yes; then
40295 cat >>confdefs.h <<_ACEOF
40296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40297 _ACEOF
40298
40299 cat >>confdefs.h <<\_ACEOF
40300 #define HAVE_DLOPEN 1
40301 _ACEOF
40302
40303 HAVE_DL_FUNCS=1
40304
40305 else
40306
40307 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40308 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40309 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40311 else
40312 ac_check_lib_save_LIBS=$LIBS
40313 LIBS="-ldl $LIBS"
40314 cat >conftest.$ac_ext <<_ACEOF
40315 /* confdefs.h. */
40316 _ACEOF
40317 cat confdefs.h >>conftest.$ac_ext
40318 cat >>conftest.$ac_ext <<_ACEOF
40319 /* end confdefs.h. */
40320
40321 /* Override any GCC internal prototype to avoid an error.
40322 Use char because int might match the return type of a GCC
40323 builtin and then its argument prototype would still apply. */
40324 #ifdef __cplusplus
40325 extern "C"
40326 #endif
40327 char dlopen ();
40328 int
40329 main ()
40330 {
40331 return dlopen ();
40332 ;
40333 return 0;
40334 }
40335 _ACEOF
40336 rm -f conftest.$ac_objext conftest$ac_exeext
40337 if { (ac_try="$ac_link"
40338 case "(($ac_try" in
40339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40340 *) ac_try_echo=$ac_try;;
40341 esac
40342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40343 (eval "$ac_link") 2>conftest.er1
40344 ac_status=$?
40345 grep -v '^ *+' conftest.er1 >conftest.err
40346 rm -f conftest.er1
40347 cat conftest.err >&5
40348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40349 (exit $ac_status); } && {
40350 test -z "$ac_c_werror_flag" ||
40351 test ! -s conftest.err
40352 } && test -s conftest$ac_exeext &&
40353 $as_test_x conftest$ac_exeext; then
40354 ac_cv_lib_dl_dlopen=yes
40355 else
40356 echo "$as_me: failed program was:" >&5
40357 sed 's/^/| /' conftest.$ac_ext >&5
40358
40359 ac_cv_lib_dl_dlopen=no
40360 fi
40361
40362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40363 conftest$ac_exeext conftest.$ac_ext
40364 LIBS=$ac_check_lib_save_LIBS
40365 fi
40366 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40367 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40368 if test $ac_cv_lib_dl_dlopen = yes; then
40369
40370 cat >>confdefs.h <<\_ACEOF
40371 #define HAVE_DLOPEN 1
40372 _ACEOF
40373
40374 HAVE_DL_FUNCS=1
40375 DL_LINK=" -ldl$DL_LINK"
40376
40377 else
40378
40379
40380 for ac_func in shl_load
40381 do
40382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40385 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40386 echo $ECHO_N "(cached) $ECHO_C" >&6
40387 else
40388 cat >conftest.$ac_ext <<_ACEOF
40389 /* confdefs.h. */
40390 _ACEOF
40391 cat confdefs.h >>conftest.$ac_ext
40392 cat >>conftest.$ac_ext <<_ACEOF
40393 /* end confdefs.h. */
40394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40396 #define $ac_func innocuous_$ac_func
40397
40398 /* System header to define __stub macros and hopefully few prototypes,
40399 which can conflict with char $ac_func (); below.
40400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40401 <limits.h> exists even on freestanding compilers. */
40402
40403 #ifdef __STDC__
40404 # include <limits.h>
40405 #else
40406 # include <assert.h>
40407 #endif
40408
40409 #undef $ac_func
40410
40411 /* Override any GCC internal prototype to avoid an error.
40412 Use char because int might match the return type of a GCC
40413 builtin and then its argument prototype would still apply. */
40414 #ifdef __cplusplus
40415 extern "C"
40416 #endif
40417 char $ac_func ();
40418 /* The GNU C library defines this for functions which it implements
40419 to always fail with ENOSYS. Some functions are actually named
40420 something starting with __ and the normal name is an alias. */
40421 #if defined __stub_$ac_func || defined __stub___$ac_func
40422 choke me
40423 #endif
40424
40425 int
40426 main ()
40427 {
40428 return $ac_func ();
40429 ;
40430 return 0;
40431 }
40432 _ACEOF
40433 rm -f conftest.$ac_objext conftest$ac_exeext
40434 if { (ac_try="$ac_link"
40435 case "(($ac_try" in
40436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40437 *) ac_try_echo=$ac_try;;
40438 esac
40439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40440 (eval "$ac_link") 2>conftest.er1
40441 ac_status=$?
40442 grep -v '^ *+' conftest.er1 >conftest.err
40443 rm -f conftest.er1
40444 cat conftest.err >&5
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); } && {
40447 test -z "$ac_c_werror_flag" ||
40448 test ! -s conftest.err
40449 } && test -s conftest$ac_exeext &&
40450 $as_test_x conftest$ac_exeext; then
40451 eval "$as_ac_var=yes"
40452 else
40453 echo "$as_me: failed program was:" >&5
40454 sed 's/^/| /' conftest.$ac_ext >&5
40455
40456 eval "$as_ac_var=no"
40457 fi
40458
40459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40460 conftest$ac_exeext conftest.$ac_ext
40461 fi
40462 ac_res=`eval echo '${'$as_ac_var'}'`
40463 { echo "$as_me:$LINENO: result: $ac_res" >&5
40464 echo "${ECHO_T}$ac_res" >&6; }
40465 if test `eval echo '${'$as_ac_var'}'` = yes; then
40466 cat >>confdefs.h <<_ACEOF
40467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40468 _ACEOF
40469
40470 cat >>confdefs.h <<\_ACEOF
40471 #define HAVE_SHL_LOAD 1
40472 _ACEOF
40473
40474 HAVE_SHL_FUNCS=1
40475
40476 else
40477
40478 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40479 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40480 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 else
40483 ac_check_lib_save_LIBS=$LIBS
40484 LIBS="-lshl_load $LIBS"
40485 cat >conftest.$ac_ext <<_ACEOF
40486 /* confdefs.h. */
40487 _ACEOF
40488 cat confdefs.h >>conftest.$ac_ext
40489 cat >>conftest.$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40491
40492 /* Override any GCC internal prototype to avoid an error.
40493 Use char because int might match the return type of a GCC
40494 builtin and then its argument prototype would still apply. */
40495 #ifdef __cplusplus
40496 extern "C"
40497 #endif
40498 char dld ();
40499 int
40500 main ()
40501 {
40502 return dld ();
40503 ;
40504 return 0;
40505 }
40506 _ACEOF
40507 rm -f conftest.$ac_objext conftest$ac_exeext
40508 if { (ac_try="$ac_link"
40509 case "(($ac_try" in
40510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40511 *) ac_try_echo=$ac_try;;
40512 esac
40513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40514 (eval "$ac_link") 2>conftest.er1
40515 ac_status=$?
40516 grep -v '^ *+' conftest.er1 >conftest.err
40517 rm -f conftest.er1
40518 cat conftest.err >&5
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); } && {
40521 test -z "$ac_c_werror_flag" ||
40522 test ! -s conftest.err
40523 } && test -s conftest$ac_exeext &&
40524 $as_test_x conftest$ac_exeext; then
40525 ac_cv_lib_shl_load_dld=yes
40526 else
40527 echo "$as_me: failed program was:" >&5
40528 sed 's/^/| /' conftest.$ac_ext >&5
40529
40530 ac_cv_lib_shl_load_dld=no
40531 fi
40532
40533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40534 conftest$ac_exeext conftest.$ac_ext
40535 LIBS=$ac_check_lib_save_LIBS
40536 fi
40537 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40538 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40539 if test $ac_cv_lib_shl_load_dld = yes; then
40540
40541 HAVE_SHL_FUNCS=1
40542 DL_LINK=" -ldld$DL_LINK"
40543
40544 fi
40545
40546
40547 fi
40548 done
40549
40550
40551 fi
40552
40553
40554 fi
40555 done
40556
40557
40558 if test "$HAVE_DL_FUNCS" = 1; then
40559
40560 for ac_func in dlerror
40561 do
40562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40563 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40565 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40566 echo $ECHO_N "(cached) $ECHO_C" >&6
40567 else
40568 cat >conftest.$ac_ext <<_ACEOF
40569 /* confdefs.h. */
40570 _ACEOF
40571 cat confdefs.h >>conftest.$ac_ext
40572 cat >>conftest.$ac_ext <<_ACEOF
40573 /* end confdefs.h. */
40574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40576 #define $ac_func innocuous_$ac_func
40577
40578 /* System header to define __stub macros and hopefully few prototypes,
40579 which can conflict with char $ac_func (); below.
40580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40581 <limits.h> exists even on freestanding compilers. */
40582
40583 #ifdef __STDC__
40584 # include <limits.h>
40585 #else
40586 # include <assert.h>
40587 #endif
40588
40589 #undef $ac_func
40590
40591 /* Override any GCC internal prototype to avoid an error.
40592 Use char because int might match the return type of a GCC
40593 builtin and then its argument prototype would still apply. */
40594 #ifdef __cplusplus
40595 extern "C"
40596 #endif
40597 char $ac_func ();
40598 /* The GNU C library defines this for functions which it implements
40599 to always fail with ENOSYS. Some functions are actually named
40600 something starting with __ and the normal name is an alias. */
40601 #if defined __stub_$ac_func || defined __stub___$ac_func
40602 choke me
40603 #endif
40604
40605 int
40606 main ()
40607 {
40608 return $ac_func ();
40609 ;
40610 return 0;
40611 }
40612 _ACEOF
40613 rm -f conftest.$ac_objext conftest$ac_exeext
40614 if { (ac_try="$ac_link"
40615 case "(($ac_try" in
40616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40617 *) ac_try_echo=$ac_try;;
40618 esac
40619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40620 (eval "$ac_link") 2>conftest.er1
40621 ac_status=$?
40622 grep -v '^ *+' conftest.er1 >conftest.err
40623 rm -f conftest.er1
40624 cat conftest.err >&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); } && {
40627 test -z "$ac_c_werror_flag" ||
40628 test ! -s conftest.err
40629 } && test -s conftest$ac_exeext &&
40630 $as_test_x conftest$ac_exeext; then
40631 eval "$as_ac_var=yes"
40632 else
40633 echo "$as_me: failed program was:" >&5
40634 sed 's/^/| /' conftest.$ac_ext >&5
40635
40636 eval "$as_ac_var=no"
40637 fi
40638
40639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40640 conftest$ac_exeext conftest.$ac_ext
40641 fi
40642 ac_res=`eval echo '${'$as_ac_var'}'`
40643 { echo "$as_me:$LINENO: result: $ac_res" >&5
40644 echo "${ECHO_T}$ac_res" >&6; }
40645 if test `eval echo '${'$as_ac_var'}'` = yes; then
40646 cat >>confdefs.h <<_ACEOF
40647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40648 _ACEOF
40649 cat >>confdefs.h <<\_ACEOF
40650 #define HAVE_DLERROR 1
40651 _ACEOF
40652
40653 else
40654
40655 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40656 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40657 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40658 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 else
40660 ac_check_lib_save_LIBS=$LIBS
40661 LIBS="-ldl $LIBS"
40662 cat >conftest.$ac_ext <<_ACEOF
40663 /* confdefs.h. */
40664 _ACEOF
40665 cat confdefs.h >>conftest.$ac_ext
40666 cat >>conftest.$ac_ext <<_ACEOF
40667 /* end confdefs.h. */
40668
40669 /* Override any GCC internal prototype to avoid an error.
40670 Use char because int might match the return type of a GCC
40671 builtin and then its argument prototype would still apply. */
40672 #ifdef __cplusplus
40673 extern "C"
40674 #endif
40675 char dlerror ();
40676 int
40677 main ()
40678 {
40679 return dlerror ();
40680 ;
40681 return 0;
40682 }
40683 _ACEOF
40684 rm -f conftest.$ac_objext conftest$ac_exeext
40685 if { (ac_try="$ac_link"
40686 case "(($ac_try" in
40687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40688 *) ac_try_echo=$ac_try;;
40689 esac
40690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40691 (eval "$ac_link") 2>conftest.er1
40692 ac_status=$?
40693 grep -v '^ *+' conftest.er1 >conftest.err
40694 rm -f conftest.er1
40695 cat conftest.err >&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); } && {
40698 test -z "$ac_c_werror_flag" ||
40699 test ! -s conftest.err
40700 } && test -s conftest$ac_exeext &&
40701 $as_test_x conftest$ac_exeext; then
40702 ac_cv_lib_dl_dlerror=yes
40703 else
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.$ac_ext >&5
40706
40707 ac_cv_lib_dl_dlerror=no
40708 fi
40709
40710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40711 conftest$ac_exeext conftest.$ac_ext
40712 LIBS=$ac_check_lib_save_LIBS
40713 fi
40714 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40715 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40716 if test $ac_cv_lib_dl_dlerror = yes; then
40717 cat >>confdefs.h <<\_ACEOF
40718 #define HAVE_DLERROR 1
40719 _ACEOF
40720
40721 fi
40722
40723
40724
40725 fi
40726 done
40727
40728 fi
40729 fi
40730
40731 if test "$HAVE_DL_FUNCS" = 0; then
40732 if test "$HAVE_SHL_FUNCS" = 0; then
40733 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40734 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40735 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40736 wxUSE_DYNAMIC_LOADER=no
40737 wxUSE_DYNLIB_CLASS=no
40738 else
40739 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40740 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40741 fi
40742 fi
40743 fi
40744 fi
40745 fi
40746
40747 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40748 cat >>confdefs.h <<\_ACEOF
40749 #define wxUSE_DYNAMIC_LOADER 1
40750 _ACEOF
40751
40752 fi
40753 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40754 cat >>confdefs.h <<\_ACEOF
40755 #define wxUSE_DYNLIB_CLASS 1
40756 _ACEOF
40757
40758 fi
40759
40760
40761
40762 if test "$wxUSE_PLUGINS" = "yes" ; then
40763 if test "$wxUSE_SHARED" = "no" ; then
40764 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40765 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40766 wxUSE_PLUGINS=no
40767 fi
40768 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40769 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40770 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40771 wxUSE_PLUGINS=no
40772 fi
40773 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40774 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40775 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40776 wxUSE_PLUGINS=no
40777 fi
40778 if test "$wxUSE_PLUGINS" = "yes" ; then
40779 cat >>confdefs.h <<\_ACEOF
40780 #define wxUSE_PLUGINS 1
40781 _ACEOF
40782
40783 fi
40784 fi
40785
40786
40787 if test "$wxUSE_STL" = "yes"; then
40788 cat >>confdefs.h <<\_ACEOF
40789 #define wxUSE_STL 1
40790 _ACEOF
40791
40792 fi
40793
40794 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40795 cat >>confdefs.h <<\_ACEOF
40796 #define wxUSE_APPLE_IEEE 1
40797 _ACEOF
40798
40799 fi
40800
40801 if test "$wxUSE_TIMER" = "yes"; then
40802 cat >>confdefs.h <<\_ACEOF
40803 #define wxUSE_TIMER 1
40804 _ACEOF
40805
40806 fi
40807
40808 if test "$USE_UNIX" = "1" ; then
40809 if test "$wxUSE_MGL" != 1; then
40810 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40811 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40812 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40813 echo $ECHO_N "(cached) $ECHO_C" >&6
40814 else
40815
40816 cat >conftest.$ac_ext <<_ACEOF
40817 /* confdefs.h. */
40818 _ACEOF
40819 cat confdefs.h >>conftest.$ac_ext
40820 cat >>conftest.$ac_ext <<_ACEOF
40821 /* end confdefs.h. */
40822
40823 #include <sys/ioctl.h>
40824 #include <sys/soundcard.h>
40825
40826 int
40827 main ()
40828 {
40829
40830 ioctl(0, SNDCTL_DSP_SPEED, 0);
40831
40832 ;
40833 return 0;
40834 }
40835 _ACEOF
40836 rm -f conftest.$ac_objext conftest$ac_exeext
40837 if { (ac_try="$ac_link"
40838 case "(($ac_try" in
40839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40840 *) ac_try_echo=$ac_try;;
40841 esac
40842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40843 (eval "$ac_link") 2>conftest.er1
40844 ac_status=$?
40845 grep -v '^ *+' conftest.er1 >conftest.err
40846 rm -f conftest.er1
40847 cat conftest.err >&5
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); } && {
40850 test -z "$ac_c_werror_flag" ||
40851 test ! -s conftest.err
40852 } && test -s conftest$ac_exeext &&
40853 $as_test_x conftest$ac_exeext; then
40854 ac_cv_header_sys_soundcard=yes
40855 else
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40858
40859
40860 saveLibs="$LIBS"
40861 LIBS="$saveLibs -lossaudio"
40862 cat >conftest.$ac_ext <<_ACEOF
40863 /* confdefs.h. */
40864 _ACEOF
40865 cat confdefs.h >>conftest.$ac_ext
40866 cat >>conftest.$ac_ext <<_ACEOF
40867 /* end confdefs.h. */
40868
40869 #include <sys/ioctl.h>
40870 #include <sys/soundcard.h>
40871
40872 int
40873 main ()
40874 {
40875
40876 ioctl(0, SNDCTL_DSP_SPEED, 0);
40877
40878 ;
40879 return 0;
40880 }
40881 _ACEOF
40882 rm -f conftest.$ac_objext conftest$ac_exeext
40883 if { (ac_try="$ac_link"
40884 case "(($ac_try" in
40885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40886 *) ac_try_echo=$ac_try;;
40887 esac
40888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40889 (eval "$ac_link") 2>conftest.er1
40890 ac_status=$?
40891 grep -v '^ *+' conftest.er1 >conftest.err
40892 rm -f conftest.er1
40893 cat conftest.err >&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } && {
40896 test -z "$ac_c_werror_flag" ||
40897 test ! -s conftest.err
40898 } && test -s conftest$ac_exeext &&
40899 $as_test_x conftest$ac_exeext; then
40900 ac_cv_header_sys_soundcard=yes
40901 else
40902 echo "$as_me: failed program was:" >&5
40903 sed 's/^/| /' conftest.$ac_ext >&5
40904
40905
40906 LIBS="$saveLibs"
40907 ac_cv_header_sys_soundcard=no
40908
40909
40910 fi
40911
40912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40913 conftest$ac_exeext conftest.$ac_ext
40914
40915
40916 fi
40917
40918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40919 conftest$ac_exeext conftest.$ac_ext
40920
40921 fi
40922 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40923 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40924 fi
40925
40926 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40927 cat >>confdefs.h <<\_ACEOF
40928 #define HAVE_SYS_SOUNDCARD_H 1
40929 _ACEOF
40930
40931 fi
40932 fi
40933
40934 WITH_PLUGIN_SDL=0
40935 if test "$wxUSE_SOUND" = "yes"; then
40936 if test "$USE_UNIX" = "1" ; then
40937 if test "$wxUSE_LIBSDL" != "no"; then
40938
40939 # Check whether --with-sdl-prefix was given.
40940 if test "${with_sdl_prefix+set}" = set; then
40941 withval=$with_sdl_prefix; sdl_prefix="$withval"
40942 else
40943 sdl_prefix=""
40944 fi
40945
40946
40947 # Check whether --with-sdl-exec-prefix was given.
40948 if test "${with_sdl_exec_prefix+set}" = set; then
40949 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40950 else
40951 sdl_exec_prefix=""
40952 fi
40953
40954 # Check whether --enable-sdltest was given.
40955 if test "${enable_sdltest+set}" = set; then
40956 enableval=$enable_sdltest;
40957 else
40958 enable_sdltest=yes
40959 fi
40960
40961
40962 if test x$sdl_exec_prefix != x ; then
40963 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40964 if test x${SDL_CONFIG+set} != xset ; then
40965 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40966 fi
40967 fi
40968 if test x$sdl_prefix != x ; then
40969 sdl_args="$sdl_args --prefix=$sdl_prefix"
40970 if test x${SDL_CONFIG+set} != xset ; then
40971 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40972 fi
40973 fi
40974
40975 if test "x$prefix" != xNONE; then
40976 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40977 fi
40978 # Extract the first word of "sdl-config", so it can be a program name with args.
40979 set dummy sdl-config; ac_word=$2
40980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40982 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40983 echo $ECHO_N "(cached) $ECHO_C" >&6
40984 else
40985 case $SDL_CONFIG in
40986 [\\/]* | ?:[\\/]*)
40987 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40988 ;;
40989 *)
40990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40991 for as_dir in $PATH
40992 do
40993 IFS=$as_save_IFS
40994 test -z "$as_dir" && as_dir=.
40995 for ac_exec_ext in '' $ac_executable_extensions; do
40996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40997 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40999 break 2
41000 fi
41001 done
41002 done
41003 IFS=$as_save_IFS
41004
41005 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41006 ;;
41007 esac
41008 fi
41009 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41010 if test -n "$SDL_CONFIG"; then
41011 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41012 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41013 else
41014 { echo "$as_me:$LINENO: result: no" >&5
41015 echo "${ECHO_T}no" >&6; }
41016 fi
41017
41018
41019 min_sdl_version=1.2.0
41020 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41021 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41022 no_sdl=""
41023 if test "$SDL_CONFIG" = "no" ; then
41024 no_sdl=yes
41025 else
41026 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41027 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41028
41029 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41031 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41033 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41035 if test "x$enable_sdltest" = "xyes" ; then
41036 ac_save_CFLAGS="$CFLAGS"
41037 ac_save_CXXFLAGS="$CXXFLAGS"
41038 ac_save_LIBS="$LIBS"
41039 CFLAGS="$CFLAGS $SDL_CFLAGS"
41040 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41041 LIBS="$LIBS $SDL_LIBS"
41042 rm -f conf.sdltest
41043 if test "$cross_compiling" = yes; then
41044 echo $ac_n "cross compiling; assumed OK... $ac_c"
41045 else
41046 cat >conftest.$ac_ext <<_ACEOF
41047 /* confdefs.h. */
41048 _ACEOF
41049 cat confdefs.h >>conftest.$ac_ext
41050 cat >>conftest.$ac_ext <<_ACEOF
41051 /* end confdefs.h. */
41052
41053 #include <stdio.h>
41054 #include <stdlib.h>
41055 #include <string.h>
41056 #include "SDL.h"
41057
41058 char*
41059 my_strdup (char *str)
41060 {
41061 char *new_str;
41062
41063 if (str)
41064 {
41065 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41066 strcpy (new_str, str);
41067 }
41068 else
41069 new_str = NULL;
41070
41071 return new_str;
41072 }
41073
41074 int main (int argc, char *argv[])
41075 {
41076 int major, minor, micro;
41077 char *tmp_version;
41078
41079 /* This hangs on some systems (?)
41080 system ("touch conf.sdltest");
41081 */
41082 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41083
41084 /* HP/UX 9 (%@#!) writes to sscanf strings */
41085 tmp_version = my_strdup("$min_sdl_version");
41086 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41087 printf("%s, bad version string\n", "$min_sdl_version");
41088 exit(1);
41089 }
41090
41091 if (($sdl_major_version > major) ||
41092 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41093 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41094 {
41095 return 0;
41096 }
41097 else
41098 {
41099 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41100 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41101 printf("*** best to upgrade to the required version.\n");
41102 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41103 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41104 printf("*** config.cache before re-running configure\n");
41105 return 1;
41106 }
41107 }
41108
41109
41110 _ACEOF
41111 rm -f conftest$ac_exeext
41112 if { (ac_try="$ac_link"
41113 case "(($ac_try" in
41114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41115 *) ac_try_echo=$ac_try;;
41116 esac
41117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41118 (eval "$ac_link") 2>&5
41119 ac_status=$?
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41122 { (case "(($ac_try" in
41123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41124 *) ac_try_echo=$ac_try;;
41125 esac
41126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41127 (eval "$ac_try") 2>&5
41128 ac_status=$?
41129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41130 (exit $ac_status); }; }; then
41131 :
41132 else
41133 echo "$as_me: program exited with status $ac_status" >&5
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41136
41137 ( exit $ac_status )
41138 no_sdl=yes
41139 fi
41140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41141 fi
41142
41143
41144 CFLAGS="$ac_save_CFLAGS"
41145 CXXFLAGS="$ac_save_CXXFLAGS"
41146 LIBS="$ac_save_LIBS"
41147 fi
41148 fi
41149 if test "x$no_sdl" = x ; then
41150 { echo "$as_me:$LINENO: result: yes" >&5
41151 echo "${ECHO_T}yes" >&6; }
41152
41153 EXTRALIBS_SDL="$SDL_LIBS"
41154 CFLAGS="$SDL_CFLAGS $CFLAGS"
41155 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41156 cat >>confdefs.h <<\_ACEOF
41157 #define wxUSE_LIBSDL 1
41158 _ACEOF
41159
41160
41161 else
41162 { echo "$as_me:$LINENO: result: no" >&5
41163 echo "${ECHO_T}no" >&6; }
41164 if test "$SDL_CONFIG" = "no" ; then
41165 echo "*** The sdl-config script installed by SDL could not be found"
41166 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41167 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41168 echo "*** full path to sdl-config."
41169 else
41170 if test -f conf.sdltest ; then
41171 :
41172 else
41173 echo "*** Could not run SDL test program, checking why..."
41174 CFLAGS="$CFLAGS $SDL_CFLAGS"
41175 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41176 LIBS="$LIBS $SDL_LIBS"
41177 cat >conftest.$ac_ext <<_ACEOF
41178 /* confdefs.h. */
41179 _ACEOF
41180 cat confdefs.h >>conftest.$ac_ext
41181 cat >>conftest.$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41183
41184 #include <stdio.h>
41185 #include "SDL.h"
41186
41187 int main(int argc, char *argv[])
41188 { return 0; }
41189 #undef main
41190 #define main K_and_R_C_main
41191
41192 int
41193 main ()
41194 {
41195 return 0;
41196 ;
41197 return 0;
41198 }
41199 _ACEOF
41200 rm -f conftest.$ac_objext conftest$ac_exeext
41201 if { (ac_try="$ac_link"
41202 case "(($ac_try" in
41203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41204 *) ac_try_echo=$ac_try;;
41205 esac
41206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41207 (eval "$ac_link") 2>conftest.er1
41208 ac_status=$?
41209 grep -v '^ *+' conftest.er1 >conftest.err
41210 rm -f conftest.er1
41211 cat conftest.err >&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } && {
41214 test -z "$ac_c_werror_flag" ||
41215 test ! -s conftest.err
41216 } && test -s conftest$ac_exeext &&
41217 $as_test_x conftest$ac_exeext; then
41218 echo "*** The test program compiled, but did not run. This usually means"
41219 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41220 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41221 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41222 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41223 echo "*** is required on your system"
41224 echo "***"
41225 echo "*** If you have an old version installed, it is best to remove it, although"
41226 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41227 else
41228 echo "$as_me: failed program was:" >&5
41229 sed 's/^/| /' conftest.$ac_ext >&5
41230
41231 echo "*** The test program failed to compile or link. See the file config.log for the"
41232 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41233 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41234 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41235 fi
41236
41237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41238 conftest$ac_exeext conftest.$ac_ext
41239 CFLAGS="$ac_save_CFLAGS"
41240 CXXFLAGS="$ac_save_CXXFLAGS"
41241 LIBS="$ac_save_LIBS"
41242 fi
41243 fi
41244 SDL_CFLAGS=""
41245 SDL_LIBS=""
41246 wxUSE_LIBSDL="no"
41247 fi
41248
41249
41250 rm -f conf.sdltest
41251
41252 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41253 WITH_PLUGIN_SDL=1
41254 fi
41255 fi
41256 else
41257 if test "$wxUSE_MGL" = 1; then
41258 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41259 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41260 wxUSE_SOUND="no"
41261 fi
41262 fi
41263 fi
41264
41265 if test "$wxUSE_SOUND" = "yes"; then
41266 cat >>confdefs.h <<\_ACEOF
41267 #define wxUSE_SOUND 1
41268 _ACEOF
41269
41270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41271 fi
41272
41273 if test "$WXGTK20" = 1; then
41274
41275
41276 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41277 if test -n "$ac_tool_prefix"; then
41278 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41279 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41283 echo $ECHO_N "(cached) $ECHO_C" >&6
41284 else
41285 case $PKG_CONFIG in
41286 [\\/]* | ?:[\\/]*)
41287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41288 ;;
41289 *)
41290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41291 for as_dir in $PATH
41292 do
41293 IFS=$as_save_IFS
41294 test -z "$as_dir" && as_dir=.
41295 for ac_exec_ext in '' $ac_executable_extensions; do
41296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41297 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41299 break 2
41300 fi
41301 done
41302 done
41303 IFS=$as_save_IFS
41304
41305 ;;
41306 esac
41307 fi
41308 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41309 if test -n "$PKG_CONFIG"; then
41310 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41311 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41312 else
41313 { echo "$as_me:$LINENO: result: no" >&5
41314 echo "${ECHO_T}no" >&6; }
41315 fi
41316
41317
41318 fi
41319 if test -z "$ac_cv_path_PKG_CONFIG"; then
41320 ac_pt_PKG_CONFIG=$PKG_CONFIG
41321 # Extract the first word of "pkg-config", so it can be a program name with args.
41322 set dummy pkg-config; ac_word=$2
41323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41325 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41326 echo $ECHO_N "(cached) $ECHO_C" >&6
41327 else
41328 case $ac_pt_PKG_CONFIG in
41329 [\\/]* | ?:[\\/]*)
41330 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41331 ;;
41332 *)
41333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41334 for as_dir in $PATH
41335 do
41336 IFS=$as_save_IFS
41337 test -z "$as_dir" && as_dir=.
41338 for ac_exec_ext in '' $ac_executable_extensions; do
41339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41340 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41342 break 2
41343 fi
41344 done
41345 done
41346 IFS=$as_save_IFS
41347
41348 ;;
41349 esac
41350 fi
41351 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41352 if test -n "$ac_pt_PKG_CONFIG"; then
41353 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41354 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41355 else
41356 { echo "$as_me:$LINENO: result: no" >&5
41357 echo "${ECHO_T}no" >&6; }
41358 fi
41359
41360 if test "x$ac_pt_PKG_CONFIG" = x; then
41361 PKG_CONFIG=""
41362 else
41363 case $cross_compiling:$ac_tool_warned in
41364 yes:)
41365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41366 whose name does not start with the host triplet. If you think this
41367 configuration is useful to you, please write to autoconf@gnu.org." >&5
41368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41369 whose name does not start with the host triplet. If you think this
41370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41371 ac_tool_warned=yes ;;
41372 esac
41373 PKG_CONFIG=$ac_pt_PKG_CONFIG
41374 fi
41375 else
41376 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41377 fi
41378
41379 fi
41380 if test -n "$PKG_CONFIG"; then
41381 _pkg_min_version=0.9.0
41382 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41383 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41384 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41385 { echo "$as_me:$LINENO: result: yes" >&5
41386 echo "${ECHO_T}yes" >&6; }
41387 else
41388 { echo "$as_me:$LINENO: result: no" >&5
41389 echo "${ECHO_T}no" >&6; }
41390 PKG_CONFIG=""
41391 fi
41392
41393 fi
41394
41395 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41396 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41397
41398
41399 pkg_failed=no
41400 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41401 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41402
41403 if test -n "$PKG_CONFIG"; then
41404 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41405 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41406 else
41407 if test -n "$PKG_CONFIG" && \
41408 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41409 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41410 ac_status=$?
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; then
41413 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41414 else
41415 pkg_failed=yes
41416 fi
41417 fi
41418 else
41419 pkg_failed=untried
41420 fi
41421 if test -n "$PKG_CONFIG"; then
41422 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41423 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41424 else
41425 if test -n "$PKG_CONFIG" && \
41426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41427 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41428 ac_status=$?
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); }; then
41431 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41432 else
41433 pkg_failed=yes
41434 fi
41435 fi
41436 else
41437 pkg_failed=untried
41438 fi
41439
41440
41441
41442 if test $pkg_failed = yes; then
41443
41444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41445 _pkg_short_errors_supported=yes
41446 else
41447 _pkg_short_errors_supported=no
41448 fi
41449 if test $_pkg_short_errors_supported = yes; then
41450 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41451 else
41452 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41453 fi
41454 # Put the nasty error message in config.log where it belongs
41455 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41456
41457
41458 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41459 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41460 wxUSE_LIBGNOMEPRINT="no"
41461
41462
41463 elif test $pkg_failed = untried; then
41464
41465 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41466 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41467 wxUSE_LIBGNOMEPRINT="no"
41468
41469
41470 else
41471 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41472 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41473 { echo "$as_me:$LINENO: result: yes" >&5
41474 echo "${ECHO_T}yes" >&6; }
41475
41476 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41477 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41478 cat >>confdefs.h <<\_ACEOF
41479 #define wxUSE_LIBGNOMEPRINT 1
41480 _ACEOF
41481
41482
41483 fi
41484 fi
41485 fi
41486
41487 if test "$wxUSE_MIMETYPE" = "yes" ; then
41488 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41489
41490
41491 pkg_failed=no
41492 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41493 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41494
41495 if test -n "$PKG_CONFIG"; then
41496 if test -n "$GNOMEVFS_CFLAGS"; then
41497 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41498 else
41499 if test -n "$PKG_CONFIG" && \
41500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41501 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41502 ac_status=$?
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); }; then
41505 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41506 else
41507 pkg_failed=yes
41508 fi
41509 fi
41510 else
41511 pkg_failed=untried
41512 fi
41513 if test -n "$PKG_CONFIG"; then
41514 if test -n "$GNOMEVFS_LIBS"; then
41515 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41516 else
41517 if test -n "$PKG_CONFIG" && \
41518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41519 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41520 ac_status=$?
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; then
41523 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41524 else
41525 pkg_failed=yes
41526 fi
41527 fi
41528 else
41529 pkg_failed=untried
41530 fi
41531
41532
41533
41534 if test $pkg_failed = yes; then
41535
41536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41537 _pkg_short_errors_supported=yes
41538 else
41539 _pkg_short_errors_supported=no
41540 fi
41541 if test $_pkg_short_errors_supported = yes; then
41542 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41543 else
41544 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41545 fi
41546 # Put the nasty error message in config.log where it belongs
41547 echo "$GNOMEVFS_PKG_ERRORS" >&5
41548
41549
41550 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41551 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41552 wxUSE_LIBGNOMEVFS="no"
41553
41554
41555 elif test $pkg_failed = untried; then
41556
41557 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41558 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41559 wxUSE_LIBGNOMEVFS="no"
41560
41561
41562 else
41563 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41564 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41565 { echo "$as_me:$LINENO: result: yes" >&5
41566 echo "${ECHO_T}yes" >&6; }
41567
41568 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41569 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41570 cat >>confdefs.h <<\_ACEOF
41571 #define wxUSE_LIBGNOMEVFS 1
41572 _ACEOF
41573
41574
41575 fi
41576 fi
41577 fi
41578
41579 if test "$wxUSE_LIBHILDON" = "yes" ; then
41580
41581 pkg_failed=no
41582 { echo "$as_me:$LINENO: checking for HILDON" >&5
41583 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41584
41585 if test -n "$PKG_CONFIG"; then
41586 if test -n "$HILDON_CFLAGS"; then
41587 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41588 else
41589 if test -n "$PKG_CONFIG" && \
41590 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41591 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41592 ac_status=$?
41593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594 (exit $ac_status); }; then
41595 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41596 else
41597 pkg_failed=yes
41598 fi
41599 fi
41600 else
41601 pkg_failed=untried
41602 fi
41603 if test -n "$PKG_CONFIG"; then
41604 if test -n "$HILDON_LIBS"; then
41605 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41606 else
41607 if test -n "$PKG_CONFIG" && \
41608 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41609 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41610 ac_status=$?
41611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612 (exit $ac_status); }; then
41613 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41614 else
41615 pkg_failed=yes
41616 fi
41617 fi
41618 else
41619 pkg_failed=untried
41620 fi
41621
41622
41623
41624 if test $pkg_failed = yes; then
41625
41626 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41627 _pkg_short_errors_supported=yes
41628 else
41629 _pkg_short_errors_supported=no
41630 fi
41631 if test $_pkg_short_errors_supported = yes; then
41632 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41633 else
41634 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41635 fi
41636 # Put the nasty error message in config.log where it belongs
41637 echo "$HILDON_PKG_ERRORS" >&5
41638
41639
41640 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41641 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41642 wxUSE_LIBHILDON="no"
41643
41644
41645 elif test $pkg_failed = untried; then
41646
41647 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41648 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41649 wxUSE_LIBHILDON="no"
41650
41651
41652 else
41653 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41654 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41655 { echo "$as_me:$LINENO: result: yes" >&5
41656 echo "${ECHO_T}yes" >&6; }
41657
41658 EXTRALIBS_HILDON="$HILDON_LIBS"
41659 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41660 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41661 cat >>confdefs.h <<\_ACEOF
41662 #define wxUSE_LIBHILDON 1
41663 _ACEOF
41664
41665
41666 fi
41667 fi
41668 fi
41669
41670 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41671 cat >>confdefs.h <<\_ACEOF
41672 #define wxUSE_CMDLINE_PARSER 1
41673 _ACEOF
41674
41675 fi
41676
41677 if test "$wxUSE_STOPWATCH" = "yes"; then
41678 cat >>confdefs.h <<\_ACEOF
41679 #define wxUSE_STOPWATCH 1
41680 _ACEOF
41681
41682 fi
41683
41684 if test "$wxUSE_DATETIME" = "yes"; then
41685 cat >>confdefs.h <<\_ACEOF
41686 #define wxUSE_DATETIME 1
41687 _ACEOF
41688
41689 fi
41690
41691 if test "$wxUSE_FILE" = "yes"; then
41692 cat >>confdefs.h <<\_ACEOF
41693 #define wxUSE_FILE 1
41694 _ACEOF
41695
41696 fi
41697
41698 if test "$wxUSE_FFILE" = "yes"; then
41699 cat >>confdefs.h <<\_ACEOF
41700 #define wxUSE_FFILE 1
41701 _ACEOF
41702
41703 fi
41704
41705 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41706 if test "$wxUSE_STREAMS" != yes; then
41707 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41708 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41709 wxUSE_ARCHIVE_STREAMS=no
41710 else
41711 cat >>confdefs.h <<\_ACEOF
41712 #define wxUSE_ARCHIVE_STREAMS 1
41713 _ACEOF
41714
41715 fi
41716 fi
41717
41718 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41719 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41720 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41721 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41722 elif test "$wxUSE_ZLIB" = "no"; then
41723 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41724 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41725 else
41726 cat >>confdefs.h <<\_ACEOF
41727 #define wxUSE_ZIPSTREAM 1
41728 _ACEOF
41729
41730 fi
41731 fi
41732
41733 if test "$wxUSE_TARSTREAM" = "yes"; then
41734 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41735 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41736 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41737 else
41738 cat >>confdefs.h <<\_ACEOF
41739 #define wxUSE_TARSTREAM 1
41740 _ACEOF
41741
41742 fi
41743 fi
41744
41745 if test "$wxUSE_FILESYSTEM" = "yes"; then
41746 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41747 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41748 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41749 wxUSE_FILESYSTEM=no
41750 else
41751 cat >>confdefs.h <<\_ACEOF
41752 #define wxUSE_FILESYSTEM 1
41753 _ACEOF
41754
41755 fi
41756 fi
41757
41758 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41759 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41760 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41761 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41762 else
41763 cat >>confdefs.h <<\_ACEOF
41764 #define wxUSE_FS_ARCHIVE 1
41765 _ACEOF
41766
41767 fi
41768 fi
41769
41770 if test "$wxUSE_FS_ZIP" = "yes"; then
41771 if test "$wxUSE_FS_ARCHIVE" != yes; then
41772 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41773 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41774 else
41775 cat >>confdefs.h <<\_ACEOF
41776 #define wxUSE_FS_ZIP 1
41777 _ACEOF
41778
41779 fi
41780 fi
41781
41782 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41783 if test "$USE_UNIX" != 1; then
41784 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41785 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41786 wxUSE_ON_FATAL_EXCEPTION=no
41787 else
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_ON_FATAL_EXCEPTION 1
41790 _ACEOF
41791
41792 fi
41793 fi
41794
41795 if test "$wxUSE_STACKWALKER" = "yes"; then
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_STACKWALKER 1
41798 _ACEOF
41799
41800 fi
41801
41802 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41803 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41804 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41805 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41806 wxUSE_DEBUGREPORT=no
41807 else
41808 cat >>confdefs.h <<\_ACEOF
41809 #define wxUSE_DEBUGREPORT 1
41810 _ACEOF
41811
41812 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41814 fi
41815 fi
41816 fi
41817
41818 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41819 cat >>confdefs.h <<\_ACEOF
41820 #define wxUSE_SNGLINST_CHECKER 1
41821 _ACEOF
41822
41823 fi
41824
41825 if test "$wxUSE_BUSYINFO" = "yes"; then
41826 cat >>confdefs.h <<\_ACEOF
41827 #define wxUSE_BUSYINFO 1
41828 _ACEOF
41829
41830 fi
41831
41832 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41833 cat >>confdefs.h <<\_ACEOF
41834 #define wxUSE_STD_IOSTREAM 1
41835 _ACEOF
41836
41837 fi
41838
41839 if test "$wxUSE_STD_STRING" = "yes"; then
41840 cat >>confdefs.h <<\_ACEOF
41841 #define wxUSE_STD_STRING 1
41842 _ACEOF
41843
41844 fi
41845
41846 if test "$wxUSE_STDPATHS" = "yes"; then
41847 cat >>confdefs.h <<\_ACEOF
41848 #define wxUSE_STDPATHS 1
41849 _ACEOF
41850
41851 fi
41852
41853 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41854 cat >>confdefs.h <<\_ACEOF
41855 #define wxUSE_TEXTBUFFER 1
41856 _ACEOF
41857
41858 fi
41859
41860 if test "$wxUSE_TEXTFILE" = "yes"; then
41861 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41862 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41863 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41864 else
41865 cat >>confdefs.h <<\_ACEOF
41866 #define wxUSE_TEXTFILE 1
41867 _ACEOF
41868
41869 fi
41870 fi
41871
41872 if test "$wxUSE_CONFIG" = "yes" ; then
41873 if test "$wxUSE_TEXTFILE" != "yes"; then
41874 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41875 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41876 else
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_CONFIG 1
41879 _ACEOF
41880
41881 cat >>confdefs.h <<\_ACEOF
41882 #define wxUSE_CONFIG_NATIVE 1
41883 _ACEOF
41884
41885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41886 fi
41887 fi
41888
41889 if test "$wxUSE_INTL" = "yes" ; then
41890 if test "$wxUSE_FILE" != "yes"; then
41891 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41892 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41893 else
41894 cat >>confdefs.h <<\_ACEOF
41895 #define wxUSE_INTL 1
41896 _ACEOF
41897
41898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41899 GUIDIST="$GUIDIST INTL_DIST"
41900 fi
41901 fi
41902
41903 if test "$wxUSE_LOG" = "yes"; then
41904 cat >>confdefs.h <<\_ACEOF
41905 #define wxUSE_LOG 1
41906 _ACEOF
41907
41908
41909 if test "$wxUSE_LOGGUI" = "yes"; then
41910 cat >>confdefs.h <<\_ACEOF
41911 #define wxUSE_LOGGUI 1
41912 _ACEOF
41913
41914 fi
41915
41916 if test "$wxUSE_LOGWINDOW" = "yes"; then
41917 cat >>confdefs.h <<\_ACEOF
41918 #define wxUSE_LOGWINDOW 1
41919 _ACEOF
41920
41921 fi
41922
41923 if test "$wxUSE_LOGDIALOG" = "yes"; then
41924 cat >>confdefs.h <<\_ACEOF
41925 #define wxUSE_LOG_DIALOG 1
41926 _ACEOF
41927
41928 fi
41929
41930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41931 fi
41932
41933 if test "$wxUSE_LONGLONG" = "yes"; then
41934 cat >>confdefs.h <<\_ACEOF
41935 #define wxUSE_LONGLONG 1
41936 _ACEOF
41937
41938 fi
41939
41940 if test "$wxUSE_GEOMETRY" = "yes"; then
41941 cat >>confdefs.h <<\_ACEOF
41942 #define wxUSE_GEOMETRY 1
41943 _ACEOF
41944
41945 fi
41946
41947 if test "$wxUSE_STREAMS" = "yes" ; then
41948 cat >>confdefs.h <<\_ACEOF
41949 #define wxUSE_STREAMS 1
41950 _ACEOF
41951
41952 fi
41953
41954 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41955 cat >>confdefs.h <<\_ACEOF
41956 #define wxUSE_PRINTF_POS_PARAMS 1
41957 _ACEOF
41958
41959 fi
41960
41961
41962
41963 if test "$wxUSE_DATETIME" = "yes"; then
41964
41965 for ac_func in strptime
41966 do
41967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41971 echo $ECHO_N "(cached) $ECHO_C" >&6
41972 else
41973 cat >conftest.$ac_ext <<_ACEOF
41974 /* confdefs.h. */
41975 _ACEOF
41976 cat confdefs.h >>conftest.$ac_ext
41977 cat >>conftest.$ac_ext <<_ACEOF
41978 /* end confdefs.h. */
41979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41981 #define $ac_func innocuous_$ac_func
41982
41983 /* System header to define __stub macros and hopefully few prototypes,
41984 which can conflict with char $ac_func (); below.
41985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41986 <limits.h> exists even on freestanding compilers. */
41987
41988 #ifdef __STDC__
41989 # include <limits.h>
41990 #else
41991 # include <assert.h>
41992 #endif
41993
41994 #undef $ac_func
41995
41996 /* Override any GCC internal prototype to avoid an error.
41997 Use char because int might match the return type of a GCC
41998 builtin and then its argument prototype would still apply. */
41999 #ifdef __cplusplus
42000 extern "C"
42001 #endif
42002 char $ac_func ();
42003 /* The GNU C library defines this for functions which it implements
42004 to always fail with ENOSYS. Some functions are actually named
42005 something starting with __ and the normal name is an alias. */
42006 #if defined __stub_$ac_func || defined __stub___$ac_func
42007 choke me
42008 #endif
42009
42010 int
42011 main ()
42012 {
42013 return $ac_func ();
42014 ;
42015 return 0;
42016 }
42017 _ACEOF
42018 rm -f conftest.$ac_objext conftest$ac_exeext
42019 if { (ac_try="$ac_link"
42020 case "(($ac_try" in
42021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42022 *) ac_try_echo=$ac_try;;
42023 esac
42024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42025 (eval "$ac_link") 2>conftest.er1
42026 ac_status=$?
42027 grep -v '^ *+' conftest.er1 >conftest.err
42028 rm -f conftest.er1
42029 cat conftest.err >&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); } && {
42032 test -z "$ac_c_werror_flag" ||
42033 test ! -s conftest.err
42034 } && test -s conftest$ac_exeext &&
42035 $as_test_x conftest$ac_exeext; then
42036 eval "$as_ac_var=yes"
42037 else
42038 echo "$as_me: failed program was:" >&5
42039 sed 's/^/| /' conftest.$ac_ext >&5
42040
42041 eval "$as_ac_var=no"
42042 fi
42043
42044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42045 conftest$ac_exeext conftest.$ac_ext
42046 fi
42047 ac_res=`eval echo '${'$as_ac_var'}'`
42048 { echo "$as_me:$LINENO: result: $ac_res" >&5
42049 echo "${ECHO_T}$ac_res" >&6; }
42050 if test `eval echo '${'$as_ac_var'}'` = yes; then
42051 cat >>confdefs.h <<_ACEOF
42052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42053 _ACEOF
42054
42055 fi
42056 done
42057
42058 if test "$ac_cv_func_strptime" = "yes"; then
42059 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42060 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42061 if test "${wx_cv_func_strptime_decl+set}" = set; then
42062 echo $ECHO_N "(cached) $ECHO_C" >&6
42063 else
42064
42065 ac_ext=cpp
42066 ac_cpp='$CXXCPP $CPPFLAGS'
42067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42070
42071 cat >conftest.$ac_ext <<_ACEOF
42072 /* confdefs.h. */
42073 _ACEOF
42074 cat confdefs.h >>conftest.$ac_ext
42075 cat >>conftest.$ac_ext <<_ACEOF
42076 /* end confdefs.h. */
42077
42078 #include <time.h>
42079
42080 int
42081 main ()
42082 {
42083
42084 struct tm t;
42085 strptime("foo", "bar", &t);
42086
42087 ;
42088 return 0;
42089 }
42090 _ACEOF
42091 rm -f conftest.$ac_objext
42092 if { (ac_try="$ac_compile"
42093 case "(($ac_try" in
42094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42095 *) ac_try_echo=$ac_try;;
42096 esac
42097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42098 (eval "$ac_compile") 2>conftest.er1
42099 ac_status=$?
42100 grep -v '^ *+' conftest.er1 >conftest.err
42101 rm -f conftest.er1
42102 cat conftest.err >&5
42103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42104 (exit $ac_status); } && {
42105 test -z "$ac_cxx_werror_flag" ||
42106 test ! -s conftest.err
42107 } && test -s conftest.$ac_objext; then
42108 wx_cv_func_strptime_decl=yes
42109 else
42110 echo "$as_me: failed program was:" >&5
42111 sed 's/^/| /' conftest.$ac_ext >&5
42112
42113 wx_cv_func_strptime_decl=no
42114
42115 fi
42116
42117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42118 ac_ext=c
42119 ac_cpp='$CPP $CPPFLAGS'
42120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42123
42124
42125
42126 fi
42127 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42128 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42129 fi
42130 if test "$wx_cv_func_strptime_decl" = "yes"; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define HAVE_STRPTIME_DECL 1
42133 _ACEOF
42134
42135 fi
42136
42137 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42138 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42139 if test "${wx_cv_var_timezone+set}" = set; then
42140 echo $ECHO_N "(cached) $ECHO_C" >&6
42141 else
42142
42143 ac_ext=cpp
42144 ac_cpp='$CXXCPP $CPPFLAGS'
42145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42148
42149 cat >conftest.$ac_ext <<_ACEOF
42150 /* confdefs.h. */
42151 _ACEOF
42152 cat confdefs.h >>conftest.$ac_ext
42153 cat >>conftest.$ac_ext <<_ACEOF
42154 /* end confdefs.h. */
42155
42156 #include <time.h>
42157
42158 int
42159 main ()
42160 {
42161
42162 int tz;
42163 tz = timezone;
42164
42165 ;
42166 return 0;
42167 }
42168 _ACEOF
42169 rm -f conftest.$ac_objext
42170 if { (ac_try="$ac_compile"
42171 case "(($ac_try" in
42172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42173 *) ac_try_echo=$ac_try;;
42174 esac
42175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42176 (eval "$ac_compile") 2>conftest.er1
42177 ac_status=$?
42178 grep -v '^ *+' conftest.er1 >conftest.err
42179 rm -f conftest.er1
42180 cat conftest.err >&5
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); } && {
42183 test -z "$ac_cxx_werror_flag" ||
42184 test ! -s conftest.err
42185 } && test -s conftest.$ac_objext; then
42186
42187 wx_cv_var_timezone=timezone
42188
42189 else
42190 echo "$as_me: failed program was:" >&5
42191 sed 's/^/| /' conftest.$ac_ext >&5
42192
42193
42194 cat >conftest.$ac_ext <<_ACEOF
42195 /* confdefs.h. */
42196 _ACEOF
42197 cat confdefs.h >>conftest.$ac_ext
42198 cat >>conftest.$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42200
42201 #include <time.h>
42202
42203 int
42204 main ()
42205 {
42206
42207 int tz;
42208 tz = _timezone;
42209
42210 ;
42211 return 0;
42212 }
42213 _ACEOF
42214 rm -f conftest.$ac_objext
42215 if { (ac_try="$ac_compile"
42216 case "(($ac_try" in
42217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42218 *) ac_try_echo=$ac_try;;
42219 esac
42220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 (eval "$ac_compile") 2>conftest.er1
42222 ac_status=$?
42223 grep -v '^ *+' conftest.er1 >conftest.err
42224 rm -f conftest.er1
42225 cat conftest.err >&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } && {
42228 test -z "$ac_cxx_werror_flag" ||
42229 test ! -s conftest.err
42230 } && test -s conftest.$ac_objext; then
42231
42232 wx_cv_var_timezone=_timezone
42233
42234 else
42235 echo "$as_me: failed program was:" >&5
42236 sed 's/^/| /' conftest.$ac_ext >&5
42237
42238
42239 cat >conftest.$ac_ext <<_ACEOF
42240 /* confdefs.h. */
42241 _ACEOF
42242 cat confdefs.h >>conftest.$ac_ext
42243 cat >>conftest.$ac_ext <<_ACEOF
42244 /* end confdefs.h. */
42245
42246 #include <time.h>
42247
42248 int
42249 main ()
42250 {
42251
42252 int tz;
42253 tz = __timezone;
42254
42255 ;
42256 return 0;
42257 }
42258 _ACEOF
42259 rm -f conftest.$ac_objext
42260 if { (ac_try="$ac_compile"
42261 case "(($ac_try" in
42262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42263 *) ac_try_echo=$ac_try;;
42264 esac
42265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42266 (eval "$ac_compile") 2>conftest.er1
42267 ac_status=$?
42268 grep -v '^ *+' conftest.er1 >conftest.err
42269 rm -f conftest.er1
42270 cat conftest.err >&5
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); } && {
42273 test -z "$ac_cxx_werror_flag" ||
42274 test ! -s conftest.err
42275 } && test -s conftest.$ac_objext; then
42276
42277 wx_cv_var_timezone=__timezone
42278
42279 else
42280 echo "$as_me: failed program was:" >&5
42281 sed 's/^/| /' conftest.$ac_ext >&5
42282
42283
42284 if test "$USE_DOS" = 0 ; then
42285 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42286 echo "$as_me: WARNING: no timezone variable" >&2;}
42287 fi
42288
42289
42290 fi
42291
42292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42293
42294
42295 fi
42296
42297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42298
42299
42300 fi
42301
42302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42303 ac_ext=c
42304 ac_cpp='$CPP $CPPFLAGS'
42305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42308
42309
42310
42311 fi
42312 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42313 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42314
42315 if test "x$wx_cv_var_timezone" != x ; then
42316 cat >>confdefs.h <<_ACEOF
42317 #define WX_TIMEZONE $wx_cv_var_timezone
42318 _ACEOF
42319
42320 fi
42321
42322
42323 for ac_func in localtime
42324 do
42325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42329 echo $ECHO_N "(cached) $ECHO_C" >&6
42330 else
42331 cat >conftest.$ac_ext <<_ACEOF
42332 /* confdefs.h. */
42333 _ACEOF
42334 cat confdefs.h >>conftest.$ac_ext
42335 cat >>conftest.$ac_ext <<_ACEOF
42336 /* end confdefs.h. */
42337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42339 #define $ac_func innocuous_$ac_func
42340
42341 /* System header to define __stub macros and hopefully few prototypes,
42342 which can conflict with char $ac_func (); below.
42343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42344 <limits.h> exists even on freestanding compilers. */
42345
42346 #ifdef __STDC__
42347 # include <limits.h>
42348 #else
42349 # include <assert.h>
42350 #endif
42351
42352 #undef $ac_func
42353
42354 /* Override any GCC internal prototype to avoid an error.
42355 Use char because int might match the return type of a GCC
42356 builtin and then its argument prototype would still apply. */
42357 #ifdef __cplusplus
42358 extern "C"
42359 #endif
42360 char $ac_func ();
42361 /* The GNU C library defines this for functions which it implements
42362 to always fail with ENOSYS. Some functions are actually named
42363 something starting with __ and the normal name is an alias. */
42364 #if defined __stub_$ac_func || defined __stub___$ac_func
42365 choke me
42366 #endif
42367
42368 int
42369 main ()
42370 {
42371 return $ac_func ();
42372 ;
42373 return 0;
42374 }
42375 _ACEOF
42376 rm -f conftest.$ac_objext conftest$ac_exeext
42377 if { (ac_try="$ac_link"
42378 case "(($ac_try" in
42379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42380 *) ac_try_echo=$ac_try;;
42381 esac
42382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42383 (eval "$ac_link") 2>conftest.er1
42384 ac_status=$?
42385 grep -v '^ *+' conftest.er1 >conftest.err
42386 rm -f conftest.er1
42387 cat conftest.err >&5
42388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42389 (exit $ac_status); } && {
42390 test -z "$ac_c_werror_flag" ||
42391 test ! -s conftest.err
42392 } && test -s conftest$ac_exeext &&
42393 $as_test_x conftest$ac_exeext; then
42394 eval "$as_ac_var=yes"
42395 else
42396 echo "$as_me: failed program was:" >&5
42397 sed 's/^/| /' conftest.$ac_ext >&5
42398
42399 eval "$as_ac_var=no"
42400 fi
42401
42402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42403 conftest$ac_exeext conftest.$ac_ext
42404 fi
42405 ac_res=`eval echo '${'$as_ac_var'}'`
42406 { echo "$as_me:$LINENO: result: $ac_res" >&5
42407 echo "${ECHO_T}$ac_res" >&6; }
42408 if test `eval echo '${'$as_ac_var'}'` = yes; then
42409 cat >>confdefs.h <<_ACEOF
42410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42411 _ACEOF
42412
42413 fi
42414 done
42415
42416
42417 if test "$ac_cv_func_localtime" = "yes"; then
42418 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42419 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42420 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42422 else
42423
42424 cat >conftest.$ac_ext <<_ACEOF
42425 /* confdefs.h. */
42426 _ACEOF
42427 cat confdefs.h >>conftest.$ac_ext
42428 cat >>conftest.$ac_ext <<_ACEOF
42429 /* end confdefs.h. */
42430
42431 #include <time.h>
42432
42433 int
42434 main ()
42435 {
42436
42437 struct tm tm;
42438 tm.tm_gmtoff++;
42439
42440 ;
42441 return 0;
42442 }
42443 _ACEOF
42444 rm -f conftest.$ac_objext
42445 if { (ac_try="$ac_compile"
42446 case "(($ac_try" in
42447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42448 *) ac_try_echo=$ac_try;;
42449 esac
42450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42451 (eval "$ac_compile") 2>conftest.er1
42452 ac_status=$?
42453 grep -v '^ *+' conftest.er1 >conftest.err
42454 rm -f conftest.er1
42455 cat conftest.err >&5
42456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42457 (exit $ac_status); } && {
42458 test -z "$ac_c_werror_flag" ||
42459 test ! -s conftest.err
42460 } && test -s conftest.$ac_objext; then
42461
42462 wx_cv_struct_tm_has_gmtoff=yes
42463
42464 else
42465 echo "$as_me: failed program was:" >&5
42466 sed 's/^/| /' conftest.$ac_ext >&5
42467
42468 wx_cv_struct_tm_has_gmtoff=no
42469
42470 fi
42471
42472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42473
42474 fi
42475 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42476 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42477 fi
42478
42479 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42480 cat >>confdefs.h <<\_ACEOF
42481 #define WX_GMTOFF_IN_TM 1
42482 _ACEOF
42483
42484 fi
42485
42486
42487
42488 for ac_func in gettimeofday ftime
42489 do
42490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42491 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42493 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42495 else
42496 cat >conftest.$ac_ext <<_ACEOF
42497 /* confdefs.h. */
42498 _ACEOF
42499 cat confdefs.h >>conftest.$ac_ext
42500 cat >>conftest.$ac_ext <<_ACEOF
42501 /* end confdefs.h. */
42502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42504 #define $ac_func innocuous_$ac_func
42505
42506 /* System header to define __stub macros and hopefully few prototypes,
42507 which can conflict with char $ac_func (); below.
42508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42509 <limits.h> exists even on freestanding compilers. */
42510
42511 #ifdef __STDC__
42512 # include <limits.h>
42513 #else
42514 # include <assert.h>
42515 #endif
42516
42517 #undef $ac_func
42518
42519 /* Override any GCC internal prototype to avoid an error.
42520 Use char because int might match the return type of a GCC
42521 builtin and then its argument prototype would still apply. */
42522 #ifdef __cplusplus
42523 extern "C"
42524 #endif
42525 char $ac_func ();
42526 /* The GNU C library defines this for functions which it implements
42527 to always fail with ENOSYS. Some functions are actually named
42528 something starting with __ and the normal name is an alias. */
42529 #if defined __stub_$ac_func || defined __stub___$ac_func
42530 choke me
42531 #endif
42532
42533 int
42534 main ()
42535 {
42536 return $ac_func ();
42537 ;
42538 return 0;
42539 }
42540 _ACEOF
42541 rm -f conftest.$ac_objext conftest$ac_exeext
42542 if { (ac_try="$ac_link"
42543 case "(($ac_try" in
42544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42545 *) ac_try_echo=$ac_try;;
42546 esac
42547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42548 (eval "$ac_link") 2>conftest.er1
42549 ac_status=$?
42550 grep -v '^ *+' conftest.er1 >conftest.err
42551 rm -f conftest.er1
42552 cat conftest.err >&5
42553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 (exit $ac_status); } && {
42555 test -z "$ac_c_werror_flag" ||
42556 test ! -s conftest.err
42557 } && test -s conftest$ac_exeext &&
42558 $as_test_x conftest$ac_exeext; then
42559 eval "$as_ac_var=yes"
42560 else
42561 echo "$as_me: failed program was:" >&5
42562 sed 's/^/| /' conftest.$ac_ext >&5
42563
42564 eval "$as_ac_var=no"
42565 fi
42566
42567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42568 conftest$ac_exeext conftest.$ac_ext
42569 fi
42570 ac_res=`eval echo '${'$as_ac_var'}'`
42571 { echo "$as_me:$LINENO: result: $ac_res" >&5
42572 echo "${ECHO_T}$ac_res" >&6; }
42573 if test `eval echo '${'$as_ac_var'}'` = yes; then
42574 cat >>confdefs.h <<_ACEOF
42575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42576 _ACEOF
42577 break
42578 fi
42579 done
42580
42581
42582 if test "$ac_cv_func_gettimeofday" = "yes"; then
42583 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42584 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42585 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42586 echo $ECHO_N "(cached) $ECHO_C" >&6
42587 else
42588
42589 cat >conftest.$ac_ext <<_ACEOF
42590 /* confdefs.h. */
42591 _ACEOF
42592 cat confdefs.h >>conftest.$ac_ext
42593 cat >>conftest.$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42595
42596 #include <sys/time.h>
42597 #include <unistd.h>
42598
42599 int
42600 main ()
42601 {
42602
42603 struct timeval tv;
42604 gettimeofday(&tv, NULL);
42605
42606 ;
42607 return 0;
42608 }
42609 _ACEOF
42610 rm -f conftest.$ac_objext
42611 if { (ac_try="$ac_compile"
42612 case "(($ac_try" in
42613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42614 *) ac_try_echo=$ac_try;;
42615 esac
42616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42617 (eval "$ac_compile") 2>conftest.er1
42618 ac_status=$?
42619 grep -v '^ *+' conftest.er1 >conftest.err
42620 rm -f conftest.er1
42621 cat conftest.err >&5
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); } && {
42624 test -z "$ac_c_werror_flag" ||
42625 test ! -s conftest.err
42626 } && test -s conftest.$ac_objext; then
42627 wx_cv_func_gettimeofday_has_2_args=yes
42628 else
42629 echo "$as_me: failed program was:" >&5
42630 sed 's/^/| /' conftest.$ac_ext >&5
42631
42632 cat >conftest.$ac_ext <<_ACEOF
42633 /* confdefs.h. */
42634 _ACEOF
42635 cat confdefs.h >>conftest.$ac_ext
42636 cat >>conftest.$ac_ext <<_ACEOF
42637 /* end confdefs.h. */
42638
42639 #include <sys/time.h>
42640 #include <unistd.h>
42641
42642 int
42643 main ()
42644 {
42645
42646 struct timeval tv;
42647 gettimeofday(&tv);
42648
42649 ;
42650 return 0;
42651 }
42652 _ACEOF
42653 rm -f conftest.$ac_objext
42654 if { (ac_try="$ac_compile"
42655 case "(($ac_try" in
42656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42657 *) ac_try_echo=$ac_try;;
42658 esac
42659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42660 (eval "$ac_compile") 2>conftest.er1
42661 ac_status=$?
42662 grep -v '^ *+' conftest.er1 >conftest.err
42663 rm -f conftest.er1
42664 cat conftest.err >&5
42665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42666 (exit $ac_status); } && {
42667 test -z "$ac_c_werror_flag" ||
42668 test ! -s conftest.err
42669 } && test -s conftest.$ac_objext; then
42670 wx_cv_func_gettimeofday_has_2_args=no
42671 else
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675
42676 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42677 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42678 wx_cv_func_gettimeofday_has_2_args=unknown
42679
42680
42681 fi
42682
42683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42684
42685 fi
42686
42687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42688
42689 fi
42690 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42691 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42692
42693 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42694 cat >>confdefs.h <<\_ACEOF
42695 #define WX_GETTIMEOFDAY_NO_TZ 1
42696 _ACEOF
42697
42698 fi
42699 fi
42700
42701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42702 fi
42703
42704
42705 if test "$wxUSE_SOCKETS" = "yes"; then
42706 if test "$wxUSE_MGL" = "1"; then
42707 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42708 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42709 wxUSE_SOCKETS="no"
42710 fi
42711 fi
42712
42713 if test "$wxUSE_SOCKETS" = "yes"; then
42714 if test "$TOOLKIT" != "MSW"; then
42715 { echo "$as_me:$LINENO: checking for socket" >&5
42716 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42717 if test "${ac_cv_func_socket+set}" = set; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42719 else
42720 cat >conftest.$ac_ext <<_ACEOF
42721 /* confdefs.h. */
42722 _ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42726 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42728 #define socket innocuous_socket
42729
42730 /* System header to define __stub macros and hopefully few prototypes,
42731 which can conflict with char socket (); below.
42732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42733 <limits.h> exists even on freestanding compilers. */
42734
42735 #ifdef __STDC__
42736 # include <limits.h>
42737 #else
42738 # include <assert.h>
42739 #endif
42740
42741 #undef socket
42742
42743 /* Override any GCC internal prototype to avoid an error.
42744 Use char because int might match the return type of a GCC
42745 builtin and then its argument prototype would still apply. */
42746 #ifdef __cplusplus
42747 extern "C"
42748 #endif
42749 char socket ();
42750 /* The GNU C library defines this for functions which it implements
42751 to always fail with ENOSYS. Some functions are actually named
42752 something starting with __ and the normal name is an alias. */
42753 #if defined __stub_socket || defined __stub___socket
42754 choke me
42755 #endif
42756
42757 int
42758 main ()
42759 {
42760 return socket ();
42761 ;
42762 return 0;
42763 }
42764 _ACEOF
42765 rm -f conftest.$ac_objext conftest$ac_exeext
42766 if { (ac_try="$ac_link"
42767 case "(($ac_try" in
42768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42769 *) ac_try_echo=$ac_try;;
42770 esac
42771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42772 (eval "$ac_link") 2>conftest.er1
42773 ac_status=$?
42774 grep -v '^ *+' conftest.er1 >conftest.err
42775 rm -f conftest.er1
42776 cat conftest.err >&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); } && {
42779 test -z "$ac_c_werror_flag" ||
42780 test ! -s conftest.err
42781 } && test -s conftest$ac_exeext &&
42782 $as_test_x conftest$ac_exeext; then
42783 ac_cv_func_socket=yes
42784 else
42785 echo "$as_me: failed program was:" >&5
42786 sed 's/^/| /' conftest.$ac_ext >&5
42787
42788 ac_cv_func_socket=no
42789 fi
42790
42791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42792 conftest$ac_exeext conftest.$ac_ext
42793 fi
42794 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42795 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42796 if test $ac_cv_func_socket = yes; then
42797 :
42798 else
42799
42800 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42801 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42802 if test "${ac_cv_lib_socket_socket+set}" = set; then
42803 echo $ECHO_N "(cached) $ECHO_C" >&6
42804 else
42805 ac_check_lib_save_LIBS=$LIBS
42806 LIBS="-lsocket $LIBS"
42807 cat >conftest.$ac_ext <<_ACEOF
42808 /* confdefs.h. */
42809 _ACEOF
42810 cat confdefs.h >>conftest.$ac_ext
42811 cat >>conftest.$ac_ext <<_ACEOF
42812 /* end confdefs.h. */
42813
42814 /* Override any GCC internal prototype to avoid an error.
42815 Use char because int might match the return type of a GCC
42816 builtin and then its argument prototype would still apply. */
42817 #ifdef __cplusplus
42818 extern "C"
42819 #endif
42820 char socket ();
42821 int
42822 main ()
42823 {
42824 return socket ();
42825 ;
42826 return 0;
42827 }
42828 _ACEOF
42829 rm -f conftest.$ac_objext conftest$ac_exeext
42830 if { (ac_try="$ac_link"
42831 case "(($ac_try" in
42832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42833 *) ac_try_echo=$ac_try;;
42834 esac
42835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42836 (eval "$ac_link") 2>conftest.er1
42837 ac_status=$?
42838 grep -v '^ *+' conftest.er1 >conftest.err
42839 rm -f conftest.er1
42840 cat conftest.err >&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); } && {
42843 test -z "$ac_c_werror_flag" ||
42844 test ! -s conftest.err
42845 } && test -s conftest$ac_exeext &&
42846 $as_test_x conftest$ac_exeext; then
42847 ac_cv_lib_socket_socket=yes
42848 else
42849 echo "$as_me: failed program was:" >&5
42850 sed 's/^/| /' conftest.$ac_ext >&5
42851
42852 ac_cv_lib_socket_socket=no
42853 fi
42854
42855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42856 conftest$ac_exeext conftest.$ac_ext
42857 LIBS=$ac_check_lib_save_LIBS
42858 fi
42859 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42860 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42861 if test $ac_cv_lib_socket_socket = yes; then
42862 if test "$INET_LINK" != " -lsocket"; then
42863 INET_LINK="$INET_LINK -lsocket"
42864 fi
42865 else
42866
42867 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42868 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42869 wxUSE_SOCKETS=no
42870
42871
42872 fi
42873
42874
42875
42876 fi
42877
42878 fi
42879 fi
42880
42881 if test "$wxUSE_SOCKETS" = "yes" ; then
42882 if test "$TOOLKIT" != "MSW"; then
42883 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42884 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42885 if test "${wx_cv_type_getsockname3+set}" = set; then
42886 echo $ECHO_N "(cached) $ECHO_C" >&6
42887 else
42888
42889 ac_ext=cpp
42890 ac_cpp='$CXXCPP $CPPFLAGS'
42891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42894
42895 cat >conftest.$ac_ext <<_ACEOF
42896 /* confdefs.h. */
42897 _ACEOF
42898 cat confdefs.h >>conftest.$ac_ext
42899 cat >>conftest.$ac_ext <<_ACEOF
42900 /* end confdefs.h. */
42901
42902 #include <sys/types.h>
42903 #include <sys/socket.h>
42904
42905 int
42906 main ()
42907 {
42908
42909 socklen_t len;
42910 getsockname(0, 0, &len);
42911
42912 ;
42913 return 0;
42914 }
42915 _ACEOF
42916 rm -f conftest.$ac_objext
42917 if { (ac_try="$ac_compile"
42918 case "(($ac_try" in
42919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42920 *) ac_try_echo=$ac_try;;
42921 esac
42922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42923 (eval "$ac_compile") 2>conftest.er1
42924 ac_status=$?
42925 grep -v '^ *+' conftest.er1 >conftest.err
42926 rm -f conftest.er1
42927 cat conftest.err >&5
42928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42929 (exit $ac_status); } && {
42930 test -z "$ac_cxx_werror_flag" ||
42931 test ! -s conftest.err
42932 } && test -s conftest.$ac_objext; then
42933 wx_cv_type_getsockname3=socklen_t
42934 else
42935 echo "$as_me: failed program was:" >&5
42936 sed 's/^/| /' conftest.$ac_ext >&5
42937
42938
42939 CFLAGS_OLD="$CFLAGS"
42940 if test "$GCC" = yes ; then
42941 CFLAGS="-Werror $CFLAGS"
42942 fi
42943
42944 cat >conftest.$ac_ext <<_ACEOF
42945 /* confdefs.h. */
42946 _ACEOF
42947 cat confdefs.h >>conftest.$ac_ext
42948 cat >>conftest.$ac_ext <<_ACEOF
42949 /* end confdefs.h. */
42950
42951 #include <sys/types.h>
42952 #include <sys/socket.h>
42953
42954 int
42955 main ()
42956 {
42957
42958 size_t len;
42959 getsockname(0, 0, &len);
42960
42961 ;
42962 return 0;
42963 }
42964 _ACEOF
42965 rm -f conftest.$ac_objext
42966 if { (ac_try="$ac_compile"
42967 case "(($ac_try" in
42968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42969 *) ac_try_echo=$ac_try;;
42970 esac
42971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42972 (eval "$ac_compile") 2>conftest.er1
42973 ac_status=$?
42974 grep -v '^ *+' conftest.er1 >conftest.err
42975 rm -f conftest.er1
42976 cat conftest.err >&5
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } && {
42979 test -z "$ac_cxx_werror_flag" ||
42980 test ! -s conftest.err
42981 } && test -s conftest.$ac_objext; then
42982 wx_cv_type_getsockname3=size_t
42983 else
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.$ac_ext >&5
42986
42987 cat >conftest.$ac_ext <<_ACEOF
42988 /* confdefs.h. */
42989 _ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42993
42994 #include <sys/types.h>
42995 #include <sys/socket.h>
42996
42997 int
42998 main ()
42999 {
43000
43001 int len;
43002 getsockname(0, 0, &len);
43003
43004 ;
43005 return 0;
43006 }
43007 _ACEOF
43008 rm -f conftest.$ac_objext
43009 if { (ac_try="$ac_compile"
43010 case "(($ac_try" in
43011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43012 *) ac_try_echo=$ac_try;;
43013 esac
43014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43015 (eval "$ac_compile") 2>conftest.er1
43016 ac_status=$?
43017 grep -v '^ *+' conftest.er1 >conftest.err
43018 rm -f conftest.er1
43019 cat conftest.err >&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } && {
43022 test -z "$ac_cxx_werror_flag" ||
43023 test ! -s conftest.err
43024 } && test -s conftest.$ac_objext; then
43025 wx_cv_type_getsockname3=int
43026 else
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.$ac_ext >&5
43029
43030 wx_cv_type_getsockname3=unknown
43031
43032 fi
43033
43034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43035
43036 fi
43037
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039
43040 CFLAGS="$CFLAGS_OLD"
43041
43042
43043 fi
43044
43045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43046 ac_ext=c
43047 ac_cpp='$CPP $CPPFLAGS'
43048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43051
43052
43053 fi
43054 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43055 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43056
43057 if test "$wx_cv_type_getsockname3" = "unknown"; then
43058 wxUSE_SOCKETS=no
43059 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43060 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43061 else
43062 cat >>confdefs.h <<_ACEOF
43063 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43064 _ACEOF
43065
43066 fi
43067 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43068 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43069 if test "${wx_cv_type_getsockopt5+set}" = set; then
43070 echo $ECHO_N "(cached) $ECHO_C" >&6
43071 else
43072
43073 ac_ext=cpp
43074 ac_cpp='$CXXCPP $CPPFLAGS'
43075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43078
43079 cat >conftest.$ac_ext <<_ACEOF
43080 /* confdefs.h. */
43081 _ACEOF
43082 cat confdefs.h >>conftest.$ac_ext
43083 cat >>conftest.$ac_ext <<_ACEOF
43084 /* end confdefs.h. */
43085
43086 #include <sys/types.h>
43087 #include <sys/socket.h>
43088
43089 int
43090 main ()
43091 {
43092
43093 socklen_t len;
43094 getsockopt(0, 0, 0, 0, &len);
43095
43096 ;
43097 return 0;
43098 }
43099 _ACEOF
43100 rm -f conftest.$ac_objext
43101 if { (ac_try="$ac_compile"
43102 case "(($ac_try" in
43103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43104 *) ac_try_echo=$ac_try;;
43105 esac
43106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43107 (eval "$ac_compile") 2>conftest.er1
43108 ac_status=$?
43109 grep -v '^ *+' conftest.er1 >conftest.err
43110 rm -f conftest.er1
43111 cat conftest.err >&5
43112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43113 (exit $ac_status); } && {
43114 test -z "$ac_cxx_werror_flag" ||
43115 test ! -s conftest.err
43116 } && test -s conftest.$ac_objext; then
43117 wx_cv_type_getsockopt5=socklen_t
43118 else
43119 echo "$as_me: failed program was:" >&5
43120 sed 's/^/| /' conftest.$ac_ext >&5
43121
43122
43123 cat >conftest.$ac_ext <<_ACEOF
43124 /* confdefs.h. */
43125 _ACEOF
43126 cat confdefs.h >>conftest.$ac_ext
43127 cat >>conftest.$ac_ext <<_ACEOF
43128 /* end confdefs.h. */
43129
43130 #include <sys/types.h>
43131 #include <sys/socket.h>
43132
43133 int
43134 main ()
43135 {
43136
43137 size_t len;
43138 getsockopt(0, 0, 0, 0, &len);
43139
43140 ;
43141 return 0;
43142 }
43143 _ACEOF
43144 rm -f conftest.$ac_objext
43145 if { (ac_try="$ac_compile"
43146 case "(($ac_try" in
43147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43148 *) ac_try_echo=$ac_try;;
43149 esac
43150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43151 (eval "$ac_compile") 2>conftest.er1
43152 ac_status=$?
43153 grep -v '^ *+' conftest.er1 >conftest.err
43154 rm -f conftest.er1
43155 cat conftest.err >&5
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); } && {
43158 test -z "$ac_cxx_werror_flag" ||
43159 test ! -s conftest.err
43160 } && test -s conftest.$ac_objext; then
43161 wx_cv_type_getsockopt5=size_t
43162 else
43163 echo "$as_me: failed program was:" >&5
43164 sed 's/^/| /' conftest.$ac_ext >&5
43165
43166 cat >conftest.$ac_ext <<_ACEOF
43167 /* confdefs.h. */
43168 _ACEOF
43169 cat confdefs.h >>conftest.$ac_ext
43170 cat >>conftest.$ac_ext <<_ACEOF
43171 /* end confdefs.h. */
43172
43173 #include <sys/types.h>
43174 #include <sys/socket.h>
43175
43176 int
43177 main ()
43178 {
43179
43180 int len;
43181 getsockopt(0, 0, 0, 0, &len);
43182
43183 ;
43184 return 0;
43185 }
43186 _ACEOF
43187 rm -f conftest.$ac_objext
43188 if { (ac_try="$ac_compile"
43189 case "(($ac_try" in
43190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43191 *) ac_try_echo=$ac_try;;
43192 esac
43193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43194 (eval "$ac_compile") 2>conftest.er1
43195 ac_status=$?
43196 grep -v '^ *+' conftest.er1 >conftest.err
43197 rm -f conftest.er1
43198 cat conftest.err >&5
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); } && {
43201 test -z "$ac_cxx_werror_flag" ||
43202 test ! -s conftest.err
43203 } && test -s conftest.$ac_objext; then
43204 wx_cv_type_getsockopt5=int
43205 else
43206 echo "$as_me: failed program was:" >&5
43207 sed 's/^/| /' conftest.$ac_ext >&5
43208
43209 wx_cv_type_getsockopt5=unknown
43210
43211 fi
43212
43213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43214
43215 fi
43216
43217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43218
43219
43220 fi
43221
43222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43223 ac_ext=c
43224 ac_cpp='$CPP $CPPFLAGS'
43225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43228
43229
43230 fi
43231 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43232 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43233
43234 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43235 wxUSE_SOCKETS=no
43236 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43237 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43238 else
43239 cat >>confdefs.h <<_ACEOF
43240 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43241 _ACEOF
43242
43243 fi
43244 fi
43245 fi
43246
43247 if test "$wxUSE_SOCKETS" = "yes" ; then
43248 cat >>confdefs.h <<\_ACEOF
43249 #define wxUSE_SOCKETS 1
43250 _ACEOF
43251
43252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43253 fi
43254
43255 if test "$wxUSE_PROTOCOL" = "yes"; then
43256 if test "$wxUSE_SOCKETS" != "yes"; then
43257 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43258 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43259 wxUSE_PROTOCOL=no
43260 fi
43261 fi
43262
43263 if test "$wxUSE_PROTOCOL" = "yes"; then
43264 cat >>confdefs.h <<\_ACEOF
43265 #define wxUSE_PROTOCOL 1
43266 _ACEOF
43267
43268
43269 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_PROTOCOL_HTTP 1
43272 _ACEOF
43273
43274 fi
43275 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43276 cat >>confdefs.h <<\_ACEOF
43277 #define wxUSE_PROTOCOL_FTP 1
43278 _ACEOF
43279
43280 fi
43281 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43282 cat >>confdefs.h <<\_ACEOF
43283 #define wxUSE_PROTOCOL_FILE 1
43284 _ACEOF
43285
43286 fi
43287 else
43288 if test "$wxUSE_FS_INET" = "yes"; then
43289 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43290 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43291 wxUSE_FS_INET="no"
43292 fi
43293 fi
43294
43295 if test "$wxUSE_URL" = "yes"; then
43296 if test "$wxUSE_PROTOCOL" != "yes"; then
43297 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43298 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43299 wxUSE_URL=no
43300 fi
43301 if test "$wxUSE_URL" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_URL 1
43304 _ACEOF
43305
43306 fi
43307 fi
43308
43309 if test "$wxUSE_VARIANT" = "yes"; then
43310 cat >>confdefs.h <<\_ACEOF
43311 #define wxUSE_VARIANT 1
43312 _ACEOF
43313
43314 fi
43315
43316 if test "$wxUSE_FS_INET" = "yes"; then
43317 cat >>confdefs.h <<\_ACEOF
43318 #define wxUSE_FS_INET 1
43319 _ACEOF
43320
43321 fi
43322
43323
43324 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43325 wxUSE_JOYSTICK=no
43326
43327 if test "$TOOLKIT" = "MSW"; then
43328 wxUSE_JOYSTICK=yes
43329
43330 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43331 if test "$USE_DARWIN" = 1; then
43332 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43333 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43334 ac_ext=cpp
43335 ac_cpp='$CXXCPP $CPPFLAGS'
43336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43339
43340 cat >conftest.$ac_ext <<_ACEOF
43341 /* confdefs.h. */
43342 _ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43346 #include <IOKit/hid/IOHIDLib.h>
43347 int
43348 main ()
43349 {
43350 IOHIDQueueInterface *qi = NULL;
43351 IOHIDCallbackFunction cb = NULL;
43352 qi->setEventCallout(NULL, cb, NULL, NULL);
43353 ;
43354 return 0;
43355 }
43356 _ACEOF
43357 rm -f conftest.$ac_objext
43358 if { (ac_try="$ac_compile"
43359 case "(($ac_try" in
43360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43361 *) ac_try_echo=$ac_try;;
43362 esac
43363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43364 (eval "$ac_compile") 2>conftest.er1
43365 ac_status=$?
43366 grep -v '^ *+' conftest.er1 >conftest.err
43367 rm -f conftest.er1
43368 cat conftest.err >&5
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); } && {
43371 test -z "$ac_cxx_werror_flag" ||
43372 test ! -s conftest.err
43373 } && test -s conftest.$ac_objext; then
43374 wxUSE_JOYSTICK=yes
43375
43376 else
43377 echo "$as_me: failed program was:" >&5
43378 sed 's/^/| /' conftest.$ac_ext >&5
43379
43380
43381 fi
43382
43383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43384 ac_ext=c
43385 ac_cpp='$CPP $CPPFLAGS'
43386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389
43390 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43391 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43392 fi
43393
43394 else
43395 if test "$wxUSE_MGL" != "1"; then
43396 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43397 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43398 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43399 echo $ECHO_N "(cached) $ECHO_C" >&6
43400 else
43401 cat >conftest.$ac_ext <<_ACEOF
43402 /* confdefs.h. */
43403 _ACEOF
43404 cat confdefs.h >>conftest.$ac_ext
43405 cat >>conftest.$ac_ext <<_ACEOF
43406 /* end confdefs.h. */
43407 $ac_includes_default
43408
43409 #include <linux/joystick.h>
43410 _ACEOF
43411 rm -f conftest.$ac_objext
43412 if { (ac_try="$ac_compile"
43413 case "(($ac_try" in
43414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43415 *) ac_try_echo=$ac_try;;
43416 esac
43417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43418 (eval "$ac_compile") 2>conftest.er1
43419 ac_status=$?
43420 grep -v '^ *+' conftest.er1 >conftest.err
43421 rm -f conftest.er1
43422 cat conftest.err >&5
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); } && {
43425 test -z "$ac_c_werror_flag" ||
43426 test ! -s conftest.err
43427 } && test -s conftest.$ac_objext; then
43428 ac_cv_header_linux_joystick_h=yes
43429 else
43430 echo "$as_me: failed program was:" >&5
43431 sed 's/^/| /' conftest.$ac_ext >&5
43432
43433 ac_cv_header_linux_joystick_h=no
43434 fi
43435
43436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43437 fi
43438 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43439 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43440 if test $ac_cv_header_linux_joystick_h = yes; then
43441 wxUSE_JOYSTICK=yes
43442 fi
43443
43444
43445 fi
43446 fi
43447
43448 if test "$wxUSE_JOYSTICK" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_JOYSTICK 1
43451 _ACEOF
43452
43453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43454 else
43455 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43456 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43457 fi
43458 fi
43459
43460
43461
43462 if test "$wxUSE_FONTMAP" = "yes" ; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_FONTMAP 1
43465 _ACEOF
43466
43467 fi
43468
43469 if test "$wxUSE_UNICODE" = "yes" ; then
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_UNICODE 1
43472 _ACEOF
43473
43474
43475 if test "$USE_WIN32" != 1; then
43476 wxUSE_UNICODE_MSLU=no
43477 fi
43478
43479 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43480 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43481 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43482 if test "${ac_cv_lib_unicows_main+set}" = set; then
43483 echo $ECHO_N "(cached) $ECHO_C" >&6
43484 else
43485 ac_check_lib_save_LIBS=$LIBS
43486 LIBS="-lunicows $LIBS"
43487 cat >conftest.$ac_ext <<_ACEOF
43488 /* confdefs.h. */
43489 _ACEOF
43490 cat confdefs.h >>conftest.$ac_ext
43491 cat >>conftest.$ac_ext <<_ACEOF
43492 /* end confdefs.h. */
43493
43494
43495 int
43496 main ()
43497 {
43498 return main ();
43499 ;
43500 return 0;
43501 }
43502 _ACEOF
43503 rm -f conftest.$ac_objext conftest$ac_exeext
43504 if { (ac_try="$ac_link"
43505 case "(($ac_try" in
43506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43507 *) ac_try_echo=$ac_try;;
43508 esac
43509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43510 (eval "$ac_link") 2>conftest.er1
43511 ac_status=$?
43512 grep -v '^ *+' conftest.er1 >conftest.err
43513 rm -f conftest.er1
43514 cat conftest.err >&5
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); } && {
43517 test -z "$ac_c_werror_flag" ||
43518 test ! -s conftest.err
43519 } && test -s conftest$ac_exeext &&
43520 $as_test_x conftest$ac_exeext; then
43521 ac_cv_lib_unicows_main=yes
43522 else
43523 echo "$as_me: failed program was:" >&5
43524 sed 's/^/| /' conftest.$ac_ext >&5
43525
43526 ac_cv_lib_unicows_main=no
43527 fi
43528
43529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43530 conftest$ac_exeext conftest.$ac_ext
43531 LIBS=$ac_check_lib_save_LIBS
43532 fi
43533 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43534 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43535 if test $ac_cv_lib_unicows_main = yes; then
43536
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_UNICODE_MSLU 1
43539 _ACEOF
43540
43541
43542 else
43543
43544 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43545 Applications will only run on Windows NT/2000/XP!" >&5
43546 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43547 Applications will only run on Windows NT/2000/XP!" >&2;}
43548 wxUSE_UNICODE_MSLU=no
43549
43550 fi
43551
43552 fi
43553 fi
43554
43555 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43556 cat >>confdefs.h <<\_ACEOF
43557 #define wxUSE_EXPERIMENTAL_PRINTF 1
43558 _ACEOF
43559
43560 fi
43561
43562
43563 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43564 cat >>confdefs.h <<\_ACEOF
43565 #define wxUSE_POSTSCRIPT 1
43566 _ACEOF
43567
43568 fi
43569
43570 cat >>confdefs.h <<\_ACEOF
43571 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43572 _ACEOF
43573
43574
43575 cat >>confdefs.h <<\_ACEOF
43576 #define wxUSE_NORMALIZED_PS_FONTS 1
43577 _ACEOF
43578
43579
43580
43581 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43582 cat >>confdefs.h <<\_ACEOF
43583 #define wxUSE_CONSTRAINTS 1
43584 _ACEOF
43585
43586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43587 fi
43588
43589 if test "$wxUSE_MDI" = "yes"; then
43590 cat >>confdefs.h <<\_ACEOF
43591 #define wxUSE_MDI 1
43592 _ACEOF
43593
43594
43595 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43596 cat >>confdefs.h <<\_ACEOF
43597 #define wxUSE_MDI_ARCHITECTURE 1
43598 _ACEOF
43599
43600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43601 fi
43602 fi
43603
43604 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43605 cat >>confdefs.h <<\_ACEOF
43606 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43607 _ACEOF
43608
43609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43610 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43612 fi
43613 fi
43614
43615 if test "$wxUSE_HELP" = "yes"; then
43616 cat >>confdefs.h <<\_ACEOF
43617 #define wxUSE_HELP 1
43618 _ACEOF
43619
43620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43621
43622 if test "$wxUSE_MSW" = 1; then
43623 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define wxUSE_MS_HTML_HELP 1
43626 _ACEOF
43627
43628 fi
43629 fi
43630
43631 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43632 if test "$wxUSE_HTML" = "yes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define wxUSE_WXHTML_HELP 1
43635 _ACEOF
43636
43637 else
43638 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43639 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43640 wxUSE_WXHTML_HELP=no
43641 fi
43642 fi
43643 fi
43644
43645 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43646 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43647 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43648 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43649 else
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_PRINTING_ARCHITECTURE 1
43652 _ACEOF
43653
43654 fi
43655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43656 fi
43657
43658
43659
43660 if test "$wxUSE_METAFILE" = "yes"; then
43661 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43662 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43663 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43664 wxUSE_METAFILE=no
43665 fi
43666 fi
43667
43668
43669 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43670 -o "$wxUSE_CLIPBOARD" = "yes" \
43671 -o "$wxUSE_OLE" = "yes" \
43672 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43673 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43674 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43675 if test "${ac_cv_header_ole2_h+set}" = set; then
43676 echo $ECHO_N "(cached) $ECHO_C" >&6
43677 else
43678 cat >conftest.$ac_ext <<_ACEOF
43679 /* confdefs.h. */
43680 _ACEOF
43681 cat confdefs.h >>conftest.$ac_ext
43682 cat >>conftest.$ac_ext <<_ACEOF
43683 /* end confdefs.h. */
43684
43685
43686 #include <ole2.h>
43687 _ACEOF
43688 rm -f conftest.$ac_objext
43689 if { (ac_try="$ac_compile"
43690 case "(($ac_try" in
43691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43692 *) ac_try_echo=$ac_try;;
43693 esac
43694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43695 (eval "$ac_compile") 2>conftest.er1
43696 ac_status=$?
43697 grep -v '^ *+' conftest.er1 >conftest.err
43698 rm -f conftest.er1
43699 cat conftest.err >&5
43700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43701 (exit $ac_status); } && {
43702 test -z "$ac_c_werror_flag" ||
43703 test ! -s conftest.err
43704 } && test -s conftest.$ac_objext; then
43705 ac_cv_header_ole2_h=yes
43706 else
43707 echo "$as_me: failed program was:" >&5
43708 sed 's/^/| /' conftest.$ac_ext >&5
43709
43710 ac_cv_header_ole2_h=no
43711 fi
43712
43713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43714 fi
43715 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43716 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43717
43718
43719
43720 if test "$ac_cv_header_ole2_h" = "yes" ; then
43721 if test "$GCC" = yes ; then
43722 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43723 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43724 cat >conftest.$ac_ext <<_ACEOF
43725 /* confdefs.h. */
43726 _ACEOF
43727 cat confdefs.h >>conftest.$ac_ext
43728 cat >>conftest.$ac_ext <<_ACEOF
43729 /* end confdefs.h. */
43730 #include <windows.h>
43731 #include <ole2.h>
43732 int
43733 main ()
43734 {
43735
43736 ;
43737 return 0;
43738 }
43739 _ACEOF
43740 rm -f conftest.$ac_objext
43741 if { (ac_try="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43744 *) ac_try_echo=$ac_try;;
43745 esac
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43748 ac_status=$?
43749 grep -v '^ *+' conftest.er1 >conftest.err
43750 rm -f conftest.er1
43751 cat conftest.err >&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_c_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.$ac_objext; then
43757 { echo "$as_me:$LINENO: result: no" >&5
43758 echo "${ECHO_T}no" >&6; }
43759 else
43760 echo "$as_me: failed program was:" >&5
43761 sed 's/^/| /' conftest.$ac_ext >&5
43762
43763 { echo "$as_me:$LINENO: result: yes" >&5
43764 echo "${ECHO_T}yes" >&6; }
43765 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43766 fi
43767
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43770 if test "$wxUSE_OLE" = "yes" ; then
43771 cat >>confdefs.h <<\_ACEOF
43772 #define wxUSE_OLE 1
43773 _ACEOF
43774
43775 cat >>confdefs.h <<\_ACEOF
43776 #define wxUSE_OLE_AUTOMATION 1
43777 _ACEOF
43778
43779 cat >>confdefs.h <<\_ACEOF
43780 #define wxUSE_ACTIVEX 1
43781 _ACEOF
43782
43783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43784 fi
43785 fi
43786
43787 if test "$wxUSE_DATAOBJ" = "yes" ; then
43788 cat >>confdefs.h <<\_ACEOF
43789 #define wxUSE_DATAOBJ 1
43790 _ACEOF
43791
43792 fi
43793 else
43794 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43795 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43796
43797 wxUSE_CLIPBOARD=no
43798 wxUSE_DRAG_AND_DROP=no
43799 wxUSE_DATAOBJ=no
43800 wxUSE_OLE=no
43801 fi
43802
43803 if test "$wxUSE_METAFILE" = "yes"; then
43804 cat >>confdefs.h <<\_ACEOF
43805 #define wxUSE_METAFILE 1
43806 _ACEOF
43807
43808
43809 cat >>confdefs.h <<\_ACEOF
43810 #define wxUSE_ENH_METAFILE 1
43811 _ACEOF
43812
43813 fi
43814 fi
43815
43816 if test "$wxUSE_IPC" = "yes"; then
43817 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43818 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43819 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43820 wxUSE_IPC=no
43821 fi
43822
43823 if test "$wxUSE_IPC" = "yes"; then
43824 cat >>confdefs.h <<\_ACEOF
43825 #define wxUSE_IPC 1
43826 _ACEOF
43827
43828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43829 fi
43830 fi
43831
43832 if test "$wxUSE_DATAOBJ" = "yes"; then
43833 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43834 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43835 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43836 wxUSE_DATAOBJ=no
43837 else
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_DATAOBJ 1
43840 _ACEOF
43841
43842 fi
43843 else
43844 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43845 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43846 wxUSE_CLIPBOARD=no
43847 wxUSE_DRAG_AND_DROP=no
43848 fi
43849
43850 if test "$wxUSE_CLIPBOARD" = "yes"; then
43851 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43852 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43853 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43854 wxUSE_CLIPBOARD=no
43855 fi
43856
43857 if test "$wxUSE_CLIPBOARD" = "yes"; then
43858 cat >>confdefs.h <<\_ACEOF
43859 #define wxUSE_CLIPBOARD 1
43860 _ACEOF
43861
43862 fi
43863 fi
43864
43865 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43866 if test "$wxUSE_GTK" = 1; then
43867 if test "$WXGTK12" != 1; then
43868 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43869 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43870 wxUSE_DRAG_AND_DROP=no
43871 fi
43872 fi
43873
43874 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43875 "$wxUSE_DFB" = 1; then
43876 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43877 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43878 wxUSE_DRAG_AND_DROP=no
43879 fi
43880
43881 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43882 cat >>confdefs.h <<\_ACEOF
43883 #define wxUSE_DRAG_AND_DROP 1
43884 _ACEOF
43885
43886 fi
43887
43888 fi
43889
43890 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43892 fi
43893
43894 if test "$wxUSE_SPLINES" = "yes" ; then
43895 cat >>confdefs.h <<\_ACEOF
43896 #define wxUSE_SPLINES 1
43897 _ACEOF
43898
43899 fi
43900
43901 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43902 cat >>confdefs.h <<\_ACEOF
43903 #define wxUSE_MOUSEWHEEL 1
43904 _ACEOF
43905
43906 fi
43907
43908
43909 USES_CONTROLS=0
43910 if test "$wxUSE_CONTROLS" = "yes"; then
43911 USES_CONTROLS=1
43912 fi
43913
43914 if test "$wxUSE_ACCEL" = "yes"; then
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_ACCEL 1
43917 _ACEOF
43918
43919 USES_CONTROLS=1
43920 fi
43921
43922 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_ANIMATIONCTRL 1
43925 _ACEOF
43926
43927 USES_CONTROLS=1
43928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43929 fi
43930
43931 if test "$wxUSE_BUTTON" = "yes"; then
43932 cat >>confdefs.h <<\_ACEOF
43933 #define wxUSE_BUTTON 1
43934 _ACEOF
43935
43936 USES_CONTROLS=1
43937 fi
43938
43939 if test "$wxUSE_BMPBUTTON" = "yes"; then
43940 cat >>confdefs.h <<\_ACEOF
43941 #define wxUSE_BMPBUTTON 1
43942 _ACEOF
43943
43944 USES_CONTROLS=1
43945 fi
43946
43947 if test "$wxUSE_CALCTRL" = "yes"; then
43948 cat >>confdefs.h <<\_ACEOF
43949 #define wxUSE_CALENDARCTRL 1
43950 _ACEOF
43951
43952 USES_CONTROLS=1
43953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43954 fi
43955
43956 if test "$wxUSE_CARET" = "yes"; then
43957 cat >>confdefs.h <<\_ACEOF
43958 #define wxUSE_CARET 1
43959 _ACEOF
43960
43961 USES_CONTROLS=1
43962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43963 fi
43964
43965 if test "$wxUSE_COLLPANE" = "yes"; then
43966 cat >>confdefs.h <<\_ACEOF
43967 #define wxUSE_COLLPANE 1
43968 _ACEOF
43969
43970 USES_CONTROLS=1
43971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
43972 fi
43973
43974 if test "$wxUSE_COMBOBOX" = "yes"; then
43975 cat >>confdefs.h <<\_ACEOF
43976 #define wxUSE_COMBOBOX 1
43977 _ACEOF
43978
43979 USES_CONTROLS=1
43980 fi
43981
43982 if test "$wxUSE_COMBOCTRL" = "yes"; then
43983 cat >>confdefs.h <<\_ACEOF
43984 #define wxUSE_COMBOCTRL 1
43985 _ACEOF
43986
43987 USES_CONTROLS=1
43988 fi
43989
43990 if test "$wxUSE_CHOICE" = "yes"; then
43991 cat >>confdefs.h <<\_ACEOF
43992 #define wxUSE_CHOICE 1
43993 _ACEOF
43994
43995 USES_CONTROLS=1
43996 fi
43997
43998 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43999 cat >>confdefs.h <<\_ACEOF
44000 #define wxUSE_CHOICEBOOK 1
44001 _ACEOF
44002
44003 USES_CONTROLS=1
44004 fi
44005
44006 if test "$wxUSE_CHECKBOX" = "yes"; then
44007 cat >>confdefs.h <<\_ACEOF
44008 #define wxUSE_CHECKBOX 1
44009 _ACEOF
44010
44011 USES_CONTROLS=1
44012 fi
44013
44014 if test "$wxUSE_CHECKLST" = "yes"; then
44015 cat >>confdefs.h <<\_ACEOF
44016 #define wxUSE_CHECKLISTBOX 1
44017 _ACEOF
44018
44019 USES_CONTROLS=1
44020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44021 fi
44022
44023 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44024 cat >>confdefs.h <<\_ACEOF
44025 #define wxUSE_COLOURPICKERCTRL 1
44026 _ACEOF
44027
44028 USES_CONTROLS=1
44029 fi
44030
44031 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44032 cat >>confdefs.h <<\_ACEOF
44033 #define wxUSE_DATEPICKCTRL 1
44034 _ACEOF
44035
44036 USES_CONTROLS=1
44037 fi
44038
44039 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44040 cat >>confdefs.h <<\_ACEOF
44041 #define wxUSE_DIRPICKERCTRL 1
44042 _ACEOF
44043
44044 USES_CONTROLS=1
44045 fi
44046
44047 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define wxUSE_FILEPICKERCTRL 1
44050 _ACEOF
44051
44052 USES_CONTROLS=1
44053 fi
44054
44055 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_FONTPICKERCTRL 1
44058 _ACEOF
44059
44060 USES_CONTROLS=1
44061 fi
44062
44063 if test "$wxUSE_DISPLAY" = "yes"; then
44064 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44065 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44066 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44067 wxUSE_DISPLAY=no
44068 else
44069 cat >>confdefs.h <<\_ACEOF
44070 #define wxUSE_DISPLAY 1
44071 _ACEOF
44072
44073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44074 fi
44075 fi
44076
44077 if test "$wxUSE_DETECT_SM" = "yes"; then
44078 cat >>confdefs.h <<\_ACEOF
44079 #define wxUSE_DETECT_SM 1
44080 _ACEOF
44081
44082 fi
44083
44084 if test "$wxUSE_GAUGE" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_GAUGE 1
44087 _ACEOF
44088
44089 USES_CONTROLS=1
44090 fi
44091
44092 if test "$wxUSE_GRID" = "yes"; then
44093 cat >>confdefs.h <<\_ACEOF
44094 #define wxUSE_GRID 1
44095 _ACEOF
44096
44097 USES_CONTROLS=1
44098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44099 fi
44100
44101 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_HYPERLINKCTRL 1
44104 _ACEOF
44105
44106 USES_CONTROLS=1
44107 fi
44108
44109 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_BITMAPCOMBOBOX 1
44112 _ACEOF
44113
44114 USES_CONTROLS=1
44115 fi
44116
44117 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_DATAVIEWCTRL 1
44120 _ACEOF
44121
44122 USES_CONTROLS=1
44123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44124 fi
44125
44126 if test "$wxUSE_IMAGLIST" = "yes"; then
44127 cat >>confdefs.h <<\_ACEOF
44128 #define wxUSE_IMAGLIST 1
44129 _ACEOF
44130
44131 fi
44132
44133 if test "$wxUSE_LISTBOOK" = "yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_LISTBOOK 1
44136 _ACEOF
44137
44138 USES_CONTROLS=1
44139 fi
44140
44141 if test "$wxUSE_LISTBOX" = "yes"; then
44142 cat >>confdefs.h <<\_ACEOF
44143 #define wxUSE_LISTBOX 1
44144 _ACEOF
44145
44146 USES_CONTROLS=1
44147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44148 fi
44149
44150 if test "$wxUSE_LISTCTRL" = "yes"; then
44151 if test "$wxUSE_IMAGLIST" = "yes"; then
44152 cat >>confdefs.h <<\_ACEOF
44153 #define wxUSE_LISTCTRL 1
44154 _ACEOF
44155
44156 USES_CONTROLS=1
44157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44158 else
44159 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44160 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44161 fi
44162 fi
44163
44164 if test "$wxUSE_NOTEBOOK" = "yes"; then
44165 cat >>confdefs.h <<\_ACEOF
44166 #define wxUSE_NOTEBOOK 1
44167 _ACEOF
44168
44169 USES_CONTROLS=1
44170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44171 fi
44172
44173 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44174 cat >>confdefs.h <<\_ACEOF
44175 #define wxUSE_ODCOMBOBOX 1
44176 _ACEOF
44177
44178 USES_CONTROLS=1
44179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44180 fi
44181
44182
44183 if test "$wxUSE_RADIOBOX" = "yes"; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_RADIOBOX 1
44186 _ACEOF
44187
44188 USES_CONTROLS=1
44189 fi
44190
44191 if test "$wxUSE_RADIOBTN" = "yes"; then
44192 cat >>confdefs.h <<\_ACEOF
44193 #define wxUSE_RADIOBTN 1
44194 _ACEOF
44195
44196 USES_CONTROLS=1
44197 fi
44198
44199 if test "$wxUSE_SASH" = "yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_SASH 1
44202 _ACEOF
44203
44204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44205 fi
44206
44207 if test "$wxUSE_SCROLLBAR" = "yes"; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_SCROLLBAR 1
44210 _ACEOF
44211
44212 USES_CONTROLS=1
44213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44214 fi
44215
44216 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_SEARCHCTRL 1
44219 _ACEOF
44220
44221 USES_CONTROLS=1
44222 fi
44223
44224 if test "$wxUSE_SLIDER" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_SLIDER 1
44227 _ACEOF
44228
44229 USES_CONTROLS=1
44230 fi
44231
44232 if test "$wxUSE_SPINBTN" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_SPINBTN 1
44235 _ACEOF
44236
44237 USES_CONTROLS=1
44238 fi
44239
44240 if test "$wxUSE_SPINCTRL" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define wxUSE_SPINCTRL 1
44243 _ACEOF
44244
44245 USES_CONTROLS=1
44246 fi
44247
44248 if test "$wxUSE_SPLITTER" = "yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_SPLITTER 1
44251 _ACEOF
44252
44253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44254 fi
44255
44256 if test "$wxUSE_STATBMP" = "yes"; then
44257 cat >>confdefs.h <<\_ACEOF
44258 #define wxUSE_STATBMP 1
44259 _ACEOF
44260
44261 USES_CONTROLS=1
44262 fi
44263
44264 if test "$wxUSE_STATBOX" = "yes"; then
44265 cat >>confdefs.h <<\_ACEOF
44266 #define wxUSE_STATBOX 1
44267 _ACEOF
44268
44269 USES_CONTROLS=1
44270 fi
44271
44272 if test "$wxUSE_STATTEXT" = "yes"; then
44273 cat >>confdefs.h <<\_ACEOF
44274 #define wxUSE_STATTEXT 1
44275 _ACEOF
44276
44277 USES_CONTROLS=1
44278 fi
44279
44280 if test "$wxUSE_STATLINE" = "yes"; then
44281 cat >>confdefs.h <<\_ACEOF
44282 #define wxUSE_STATLINE 1
44283 _ACEOF
44284
44285 USES_CONTROLS=1
44286 fi
44287
44288 if test "$wxUSE_STATUSBAR" = "yes"; then
44289 cat >>confdefs.h <<\_ACEOF
44290 #define wxUSE_NATIVE_STATUSBAR 1
44291 _ACEOF
44292
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_STATUSBAR 1
44295 _ACEOF
44296
44297 USES_CONTROLS=1
44298
44299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44300 fi
44301
44302 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44303 cat >>confdefs.h <<\_ACEOF
44304 #define wxUSE_TAB_DIALOG 1
44305 _ACEOF
44306
44307 fi
44308
44309 if test "$wxUSE_TEXTCTRL" = "yes"; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_TEXTCTRL 1
44312 _ACEOF
44313
44314 USES_CONTROLS=1
44315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44316 fi
44317
44318 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44319 if test "$wxUSE_COCOA" = 1 ; then
44320 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44321 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44322 wxUSE_TOGGLEBTN=no
44323 fi
44324
44325 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_TOGGLEBTN 1
44328 _ACEOF
44329
44330 USES_CONTROLS=1
44331 fi
44332 fi
44333
44334 if test "$wxUSE_TOOLBAR" = "yes"; then
44335 cat >>confdefs.h <<\_ACEOF
44336 #define wxUSE_TOOLBAR 1
44337 _ACEOF
44338
44339 USES_CONTROLS=1
44340
44341 if test "$wxUSE_UNIVERSAL" = "yes"; then
44342 wxUSE_TOOLBAR_NATIVE="no"
44343 else
44344 wxUSE_TOOLBAR_NATIVE="yes"
44345 cat >>confdefs.h <<\_ACEOF
44346 #define wxUSE_TOOLBAR_NATIVE 1
44347 _ACEOF
44348
44349 fi
44350
44351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44352 fi
44353
44354 if test "$wxUSE_TOOLTIPS" = "yes"; then
44355 if test "$wxUSE_MOTIF" = 1; then
44356 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44357 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44358 else
44359 if test "$wxUSE_UNIVERSAL" = "yes"; then
44360 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44361 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44362 else
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_TOOLTIPS 1
44365 _ACEOF
44366
44367 fi
44368 fi
44369 fi
44370
44371 if test "$wxUSE_TREEBOOK" = "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_TREEBOOK 1
44374 _ACEOF
44375
44376 USES_CONTROLS=1
44377 fi
44378
44379 if test "$wxUSE_TOOLBOOK" = "yes"; then
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_TOOLBOOK 1
44382 _ACEOF
44383
44384 USES_CONTROLS=1
44385 fi
44386
44387 if test "$wxUSE_TREECTRL" = "yes"; then
44388 if test "$wxUSE_IMAGLIST" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_TREECTRL 1
44391 _ACEOF
44392
44393 USES_CONTROLS=1
44394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44395 else
44396 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44397 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44398 fi
44399 fi
44400
44401 if test "$wxUSE_POPUPWIN" = "yes"; then
44402 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44403 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44404 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44405 else
44406 if test "$wxUSE_PM" = 1; then
44407 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44408 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44409 else
44410 cat >>confdefs.h <<\_ACEOF
44411 #define wxUSE_POPUPWIN 1
44412 _ACEOF
44413
44414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44415
44416 USES_CONTROLS=1
44417 fi
44418 fi
44419 fi
44420
44421 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44422 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44423 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44424 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44425 else
44426 cat >>confdefs.h <<\_ACEOF
44427 #define wxUSE_DIALUP_MANAGER 1
44428 _ACEOF
44429
44430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44431 fi
44432 fi
44433
44434 if test "$wxUSE_TIPWINDOW" = "yes"; then
44435 if test "$wxUSE_PM" = 1; then
44436 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44437 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44438 else
44439 cat >>confdefs.h <<\_ACEOF
44440 #define wxUSE_TIPWINDOW 1
44441 _ACEOF
44442
44443 fi
44444 fi
44445
44446 if test "$USES_CONTROLS" = 1; then
44447 cat >>confdefs.h <<\_ACEOF
44448 #define wxUSE_CONTROLS 1
44449 _ACEOF
44450
44451 fi
44452
44453
44454 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44455 cat >>confdefs.h <<\_ACEOF
44456 #define wxUSE_ACCESSIBILITY 1
44457 _ACEOF
44458
44459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44460 fi
44461
44462 if test "$wxUSE_DC_CACHEING" = "yes"; then
44463 cat >>confdefs.h <<\_ACEOF
44464 #define wxUSE_DC_CACHEING 1
44465 _ACEOF
44466
44467 fi
44468
44469 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44470 cat >>confdefs.h <<\_ACEOF
44471 #define wxUSE_DRAGIMAGE 1
44472 _ACEOF
44473
44474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44475 fi
44476
44477 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44478 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44479 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44480 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44481 else
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_EXCEPTIONS 1
44484 _ACEOF
44485
44486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44487 fi
44488 fi
44489
44490 USE_HTML=0
44491 if test "$wxUSE_HTML" = "yes"; then
44492 cat >>confdefs.h <<\_ACEOF
44493 #define wxUSE_HTML 1
44494 _ACEOF
44495
44496 USE_HTML=1
44497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44498 if test "$wxUSE_MAC" = 1; then
44499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44500 fi
44501 fi
44502 if test "$wxUSE_WEBKIT" = "yes"; then
44503 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44504 old_CPPFLAGS="$CPPFLAGS"
44505 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44506 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44507 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44508 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44509 echo $ECHO_N "(cached) $ECHO_C" >&6
44510 else
44511 cat >conftest.$ac_ext <<_ACEOF
44512 /* confdefs.h. */
44513 _ACEOF
44514 cat confdefs.h >>conftest.$ac_ext
44515 cat >>conftest.$ac_ext <<_ACEOF
44516 /* end confdefs.h. */
44517
44518 #include <Carbon/Carbon.h>
44519 #include <WebKit/WebKit.h>
44520
44521
44522 #include <WebKit/HIWebView.h>
44523 _ACEOF
44524 rm -f conftest.$ac_objext
44525 if { (ac_try="$ac_compile"
44526 case "(($ac_try" in
44527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44528 *) ac_try_echo=$ac_try;;
44529 esac
44530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44531 (eval "$ac_compile") 2>conftest.er1
44532 ac_status=$?
44533 grep -v '^ *+' conftest.er1 >conftest.err
44534 rm -f conftest.er1
44535 cat conftest.err >&5
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); } && {
44538 test -z "$ac_c_werror_flag" ||
44539 test ! -s conftest.err
44540 } && test -s conftest.$ac_objext; then
44541 ac_cv_header_WebKit_HIWebView_h=yes
44542 else
44543 echo "$as_me: failed program was:" >&5
44544 sed 's/^/| /' conftest.$ac_ext >&5
44545
44546 ac_cv_header_WebKit_HIWebView_h=no
44547 fi
44548
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 fi
44551 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44552 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44553 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44554
44555 cat >>confdefs.h <<\_ACEOF
44556 #define wxUSE_WEBKIT 1
44557 _ACEOF
44558
44559 WEBKIT_LINK="-framework WebKit"
44560
44561 else
44562
44563 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44564 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44565 wxUSE_WEBKIT=no
44566
44567 fi
44568
44569
44570 CPPFLAGS="$old_CPPFLAGS"
44571 elif test "$wxUSE_COCOA" = 1; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_WEBKIT 1
44574 _ACEOF
44575
44576 else
44577 wxUSE_WEBKIT=no
44578 fi
44579 fi
44580
44581 USE_XRC=0
44582 if test "$wxUSE_XRC" = "yes"; then
44583 if test "$wxUSE_XML" != "yes"; then
44584 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44585 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44586 wxUSE_XRC=no
44587 else
44588 cat >>confdefs.h <<\_ACEOF
44589 #define wxUSE_XRC 1
44590 _ACEOF
44591
44592 USE_XRC=1
44593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44594 fi
44595 fi
44596
44597 USE_AUI=0
44598 if test "$wxUSE_AUI" = "yes"; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_AUI 1
44601 _ACEOF
44602
44603 USE_AUI=1
44604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44605 fi
44606
44607 USE_STC=0
44608 if test "$wxUSE_STC" = "yes"; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_STC 1
44611 _ACEOF
44612
44613 USE_STC=1
44614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44615 fi
44616
44617 if test "$wxUSE_MENUS" = "yes"; then
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_MENUS 1
44620 _ACEOF
44621
44622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44623 fi
44624
44625 if test "$wxUSE_METAFILE" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_METAFILE 1
44628 _ACEOF
44629
44630 fi
44631
44632 if test "$wxUSE_MIMETYPE" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_MIMETYPE 1
44635 _ACEOF
44636
44637 fi
44638
44639 if test "$wxUSE_MINIFRAME" = "yes"; then
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_MINIFRAME 1
44642 _ACEOF
44643
44644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44645 fi
44646
44647 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44648 cat >>confdefs.h <<\_ACEOF
44649 #define wxUSE_SYSTEM_OPTIONS 1
44650 _ACEOF
44651
44652 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44653 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44655 fi
44656 fi
44657
44658
44659 if test "$wxUSE_VALIDATORS" = "yes"; then
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_VALIDATORS 1
44662 _ACEOF
44663
44664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44665 fi
44666
44667 if test "$wxUSE_PALETTE" = "yes" ; then
44668 if test "$wxUSE_DFB" = 1; then
44669 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44670 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44671 wxUSE_PALETTE=no
44672 else
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_PALETTE 1
44675 _ACEOF
44676
44677 fi
44678 fi
44679
44680 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44681 LIBS=" -lunicows $LIBS"
44682 fi
44683
44684 USE_RICHTEXT=0
44685 if test "$wxUSE_RICHTEXT" = "yes"; then
44686 cat >>confdefs.h <<\_ACEOF
44687 #define wxUSE_RICHTEXT 1
44688 _ACEOF
44689
44690 USE_RICHTEXT=1
44691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44692 fi
44693
44694
44695 if test "$wxUSE_IMAGE" = "yes" ; then
44696 cat >>confdefs.h <<\_ACEOF
44697 #define wxUSE_IMAGE 1
44698 _ACEOF
44699
44700
44701 if test "$wxUSE_GIF" = "yes" ; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_GIF 1
44704 _ACEOF
44705
44706 fi
44707
44708 if test "$wxUSE_PCX" = "yes" ; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_PCX 1
44711 _ACEOF
44712
44713 fi
44714
44715 if test "$wxUSE_TGA" = "yes" ; then
44716 cat >>confdefs.h <<\_ACEOF
44717 #define wxUSE_TGA 1
44718 _ACEOF
44719
44720 fi
44721
44722 if test "$wxUSE_IFF" = "yes" ; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_IFF 1
44725 _ACEOF
44726
44727 fi
44728
44729 if test "$wxUSE_PNM" = "yes" ; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_PNM 1
44732 _ACEOF
44733
44734 fi
44735
44736 if test "$wxUSE_XPM" = "yes" ; then
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_XPM 1
44739 _ACEOF
44740
44741 fi
44742
44743 if test "$wxUSE_ICO_CUR" = "yes" ; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_ICO_CUR 1
44746 _ACEOF
44747
44748 fi
44749 fi
44750
44751
44752 if test "$wxUSE_ABOUTDLG" = "yes"; then
44753 cat >>confdefs.h <<\_ACEOF
44754 #define wxUSE_ABOUTDLG 1
44755 _ACEOF
44756
44757 fi
44758
44759 if test "$wxUSE_CHOICEDLG" = "yes"; then
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_CHOICEDLG 1
44762 _ACEOF
44763
44764 fi
44765
44766 if test "$wxUSE_COLOURDLG" = "yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_COLOURDLG 1
44769 _ACEOF
44770
44771 fi
44772
44773 if test "$wxUSE_FILEDLG" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_FILEDLG 1
44776 _ACEOF
44777
44778 fi
44779
44780 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_FINDREPLDLG 1
44783 _ACEOF
44784
44785 fi
44786
44787 if test "$wxUSE_FONTDLG" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_FONTDLG 1
44790 _ACEOF
44791
44792 fi
44793
44794 if test "$wxUSE_DIRDLG" = "yes"; then
44795 if test "$wxUSE_TREECTRL" != "yes"; then
44796 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44797 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44798 else
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_DIRDLG 1
44801 _ACEOF
44802
44803 fi
44804 fi
44805
44806 if test "$wxUSE_MSGDLG" = "yes"; then
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_MSGDLG 1
44809 _ACEOF
44810
44811 fi
44812
44813 if test "$wxUSE_NUMBERDLG" = "yes"; then
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_NUMBERDLG 1
44816 _ACEOF
44817
44818 fi
44819
44820 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44821 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44822 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44823 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44824 else
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_PROGRESSDLG 1
44827 _ACEOF
44828
44829 fi
44830 fi
44831
44832 if test "$wxUSE_SPLASH" = "yes"; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_SPLASH 1
44835 _ACEOF
44836
44837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44838 fi
44839
44840 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44841 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44842 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44843 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44844 else
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_STARTUP_TIPS 1
44847 _ACEOF
44848
44849 fi
44850 fi
44851
44852 if test "$wxUSE_TEXTDLG" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_TEXTDLG 1
44855 _ACEOF
44856
44857 fi
44858
44859 if test "$wxUSE_WIZARDDLG" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_WIZARDDLG 1
44862 _ACEOF
44863
44864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44865 fi
44866
44867
44868 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44869 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_GRAPHICS_CONTEXT 1
44872 _ACEOF
44873
44874 elif test "$wxUSE_GTK" != 1; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_GRAPHICS_CONTEXT 1
44877 _ACEOF
44878
44879 else
44880
44881 pkg_failed=no
44882 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44883 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44884
44885 if test -n "$PKG_CONFIG"; then
44886 if test -n "$CAIRO_CFLAGS"; then
44887 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44888 else
44889 if test -n "$PKG_CONFIG" && \
44890 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44891 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44892 ac_status=$?
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); }; then
44895 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44896 else
44897 pkg_failed=yes
44898 fi
44899 fi
44900 else
44901 pkg_failed=untried
44902 fi
44903 if test -n "$PKG_CONFIG"; then
44904 if test -n "$CAIRO_LIBS"; then
44905 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44906 else
44907 if test -n "$PKG_CONFIG" && \
44908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44909 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44910 ac_status=$?
44911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44912 (exit $ac_status); }; then
44913 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44914 else
44915 pkg_failed=yes
44916 fi
44917 fi
44918 else
44919 pkg_failed=untried
44920 fi
44921
44922
44923
44924 if test $pkg_failed = yes; then
44925
44926 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44927 _pkg_short_errors_supported=yes
44928 else
44929 _pkg_short_errors_supported=no
44930 fi
44931 if test $_pkg_short_errors_supported = yes; then
44932 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44933 else
44934 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44935 fi
44936 # Put the nasty error message in config.log where it belongs
44937 echo "$CAIRO_PKG_ERRORS" >&5
44938
44939 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44940 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44941
44942 elif test $pkg_failed = untried; then
44943 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44944 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44945
44946 else
44947 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44948 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44949 { echo "$as_me:$LINENO: result: yes" >&5
44950 echo "${ECHO_T}yes" >&6; }
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_GRAPHICS_CONTEXT 1
44953 _ACEOF
44954
44955 fi
44956 fi
44957 fi
44958
44959
44960 USE_MEDIA=0
44961
44962 if test "$wxUSE_MEDIACTRL" = "yes"; then
44963 USE_MEDIA=1
44964
44965 if test "$wxUSE_GTK" = 1; then
44966 wxUSE_GSTREAMER="no"
44967
44968 GST_VERSION_MAJOR=0
44969 GST_VERSION_MINOR=10
44970 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44971
44972 if test "$wxUSE_GSTREAMER8" = "no"; then
44973
44974 pkg_failed=no
44975 { echo "$as_me:$LINENO: checking for GST" >&5
44976 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44977
44978 if test -n "$PKG_CONFIG"; then
44979 if test -n "$GST_CFLAGS"; then
44980 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44981 else
44982 if test -n "$PKG_CONFIG" && \
44983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44984 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44985 ac_status=$?
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); }; then
44988 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44989 else
44990 pkg_failed=yes
44991 fi
44992 fi
44993 else
44994 pkg_failed=untried
44995 fi
44996 if test -n "$PKG_CONFIG"; then
44997 if test -n "$GST_LIBS"; then
44998 pkg_cv_GST_LIBS="$GST_LIBS"
44999 else
45000 if test -n "$PKG_CONFIG" && \
45001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45002 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45003 ac_status=$?
45004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45005 (exit $ac_status); }; then
45006 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45007 else
45008 pkg_failed=yes
45009 fi
45010 fi
45011 else
45012 pkg_failed=untried
45013 fi
45014
45015
45016
45017 if test $pkg_failed = yes; then
45018
45019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45020 _pkg_short_errors_supported=yes
45021 else
45022 _pkg_short_errors_supported=no
45023 fi
45024 if test $_pkg_short_errors_supported = yes; then
45025 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45026 else
45027 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45028 fi
45029 # Put the nasty error message in config.log where it belongs
45030 echo "$GST_PKG_ERRORS" >&5
45031
45032
45033 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45034 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45035 GST_VERSION_MINOR=8
45036
45037
45038 elif test $pkg_failed = untried; then
45039
45040 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45041 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45042 GST_VERSION_MINOR=8
45043
45044
45045 else
45046 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45047 GST_LIBS=$pkg_cv_GST_LIBS
45048 { echo "$as_me:$LINENO: result: yes" >&5
45049 echo "${ECHO_T}yes" >&6; }
45050
45051 wxUSE_GSTREAMER="yes"
45052 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45053
45054 fi
45055 else
45056 GST_VERSION_MINOR=8
45057 fi
45058
45059 if test $GST_VERSION_MINOR = "8"; then
45060 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45061
45062 pkg_failed=no
45063 { echo "$as_me:$LINENO: checking for GST" >&5
45064 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45065
45066 if test -n "$PKG_CONFIG"; then
45067 if test -n "$GST_CFLAGS"; then
45068 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45069 else
45070 if test -n "$PKG_CONFIG" && \
45071 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45072 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45073 ac_status=$?
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; then
45076 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45077 else
45078 pkg_failed=yes
45079 fi
45080 fi
45081 else
45082 pkg_failed=untried
45083 fi
45084 if test -n "$PKG_CONFIG"; then
45085 if test -n "$GST_LIBS"; then
45086 pkg_cv_GST_LIBS="$GST_LIBS"
45087 else
45088 if test -n "$PKG_CONFIG" && \
45089 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45090 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45091 ac_status=$?
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); }; then
45094 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45095 else
45096 pkg_failed=yes
45097 fi
45098 fi
45099 else
45100 pkg_failed=untried
45101 fi
45102
45103
45104
45105 if test $pkg_failed = yes; then
45106
45107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45108 _pkg_short_errors_supported=yes
45109 else
45110 _pkg_short_errors_supported=no
45111 fi
45112 if test $_pkg_short_errors_supported = yes; then
45113 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45114 else
45115 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45116 fi
45117 # Put the nasty error message in config.log where it belongs
45118 echo "$GST_PKG_ERRORS" >&5
45119
45120
45121 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45122 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45123
45124 elif test $pkg_failed = untried; then
45125
45126 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45127 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45128
45129 else
45130 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45131 GST_LIBS=$pkg_cv_GST_LIBS
45132 { echo "$as_me:$LINENO: result: yes" >&5
45133 echo "${ECHO_T}yes" >&6; }
45134 wxUSE_GSTREAMER="yes"
45135 fi
45136 fi
45137
45138
45139 if test "$wxUSE_GSTREAMER" = "yes"; then
45140 case "${host}" in
45141 *-*-solaris2* )
45142 if "$GCC" = yes; then
45143 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45144 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45145 fi
45146 esac
45147
45148 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45149 LIBS="$GST_LIBS $LIBS"
45150
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_GSTREAMER 1
45153 _ACEOF
45154
45155 else
45156 USE_MEDIA=0
45157 fi
45158 fi
45159
45160 if test $USE_MEDIA = 1; then
45161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_MEDIACTRL 1
45164 _ACEOF
45165
45166 fi
45167 fi
45168
45169
45170 if test "$cross_compiling" = "yes"; then
45171 OSINFO="\"$host\""
45172 else
45173 OSINFO=`uname -s -r -m`
45174 OSINFO="\"$OSINFO\""
45175 fi
45176
45177 cat >>confdefs.h <<_ACEOF
45178 #define WXWIN_OS_DESCRIPTION $OSINFO
45179 _ACEOF
45180
45181
45182
45183 if test "x$prefix" != "xNONE"; then
45184 wxPREFIX=$prefix
45185 else
45186 wxPREFIX=$ac_default_prefix
45187 fi
45188
45189 cat >>confdefs.h <<_ACEOF
45190 #define wxINSTALL_PREFIX "$wxPREFIX"
45191 _ACEOF
45192
45193
45194
45195
45196 CORE_BASE_LIBS="net base"
45197 CORE_GUI_LIBS="adv core"
45198
45199 if test "$wxUSE_XML" = "yes" ; then
45200 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45201 fi
45202 if test "$wxUSE_ODBC" != "no" ; then
45203 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45204 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45205 fi
45206 if test "$wxUSE_HTML" = "yes" ; then
45207 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45208 fi
45209 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45210 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45211 fi
45212 if test "$wxUSE_XRC" = "yes" ; then
45213 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45214 fi
45215 if test "$wxUSE_AUI" = "yes" ; then
45216 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45217 fi
45218 if test "$wxUSE_STC" = "yes" ; then
45219 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45220 fi
45221
45222 if test "$wxUSE_GUI" != "yes"; then
45223 CORE_GUI_LIBS=""
45224 fi
45225
45226
45227
45228
45229
45230
45231 if test "$wxUSE_MAC" = 1 ; then
45232 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45233 if test "$USE_DARWIN" = 1; then
45234 LDFLAGS="$LDFLAGS -framework QuickTime"
45235 else
45236 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45237 fi
45238 fi
45239 if test "$USE_DARWIN" = 1; then
45240 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45241 else
45242 LDFLAGS="$LDFLAGS -lCarbonLib"
45243 fi
45244 fi
45245 if test "$wxUSE_COCOA" = 1 ; then
45246 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45247 if test "$wxUSE_MEDIACTRL" = "yes"; then
45248 LDFLAGS="$LDFLAGS -framework QuickTime"
45249 fi
45250 fi
45251 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45252 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45253 fi
45254
45255 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45256
45257 if test "$wxUSE_GUI" = "yes"; then
45258
45259
45260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45261 dynamic erase event exec font image minimal mobile \
45262 mobile/wxedit mobile/styles propsize render \
45263 rotate shaped svg taborder vscroll widgets"
45264
45265 if test "$wxUSE_MONOLITHIC" != "yes"; then
45266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45267 fi
45268 if test "$TOOLKIT" = "MSW"; then
45269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45270 if test "$wxUSE_UNIVERSAL" != "yes"; then
45271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45272 fi
45273 fi
45274 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45276 fi
45277 else
45278 SAMPLES_SUBDIRS="console"
45279 fi
45280
45281
45282 if test "x$INTELCC" = "xyes" ; then
45283 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45284 elif test "$GCC" = yes ; then
45285 CWARNINGS="-Wall -Wundef"
45286 fi
45287
45288 if test "x$INTELCXX" = "xyes" ; then
45289 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45290 elif test "$GXX" = yes ; then
45291 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45292 fi
45293
45294
45295 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45296 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45297
45298
45299 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45300 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45301 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45302 $CPPFLAGS `
45303
45304 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45305 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45306 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45307
45308 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45309
45310
45311 if test "x$MWCC" = "xyes"; then
45312
45313 CC="$CC -cwd source -I-"
45314 CXX="$CXX -cwd source -I-"
45315 fi
45316
45317
45318 LIBS=`echo $LIBS`
45319 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45320 EXTRALIBS_XML="$EXPAT_LINK"
45321 EXTRALIBS_HTML="$MSPACK_LINK"
45322 EXTRALIBS_ODBC="$ODBC_LINK"
45323 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45324 if test "$wxUSE_GUI" = "yes"; then
45325 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45326 fi
45327 if test "$wxUSE_OPENGL" = "yes"; then
45328 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45329 fi
45330
45331 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45332
45333 WXCONFIG_LIBS="$LIBS"
45334
45335 if test "$wxUSE_REGEX" = "builtin" ; then
45336 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45337 fi
45338 if test "$wxUSE_EXPAT" = "builtin" ; then
45339 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45340 fi
45341 if test "$wxUSE_ODBC" = "builtin" ; then
45342 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45343 fi
45344 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45345 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45346 fi
45347 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45348 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45349 fi
45350 if test "$wxUSE_LIBPNG" = "builtin" ; then
45351 wxconfig_3rdparty="png $wxconfig_3rdparty"
45352 fi
45353 if test "$wxUSE_ZLIB" = "builtin" ; then
45354 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45355 fi
45356
45357 for i in $wxconfig_3rdparty ; do
45358 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45359 done
45360
45361
45362 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45363 WXUNIV=1
45364
45365 case "$wxUNIV_THEMES" in
45366 ''|all)
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_ALL_THEMES 1
45369 _ACEOF
45370
45371 ;;
45372
45373 *)
45374 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45375 cat >>confdefs.h <<_ACEOF
45376 #define wxUSE_THEME_$t 1
45377 _ACEOF
45378
45379 done
45380 esac
45381 else
45382 WXUNIV=0
45383 fi
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393 if test $wxUSE_MONOLITHIC = "yes" ; then
45394 MONOLITHIC=1
45395 else
45396 MONOLITHIC=0
45397 fi
45398
45399 if test $wxUSE_PLUGINS = "yes" ; then
45400 USE_PLUGINS=1
45401 else
45402 USE_PLUGINS=0
45403 fi
45404
45405 if test $wxUSE_ODBC != "no" ; then
45406 USE_ODBC=1
45407 else
45408 USE_ODBC=0
45409 fi
45410
45411 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45412 USE_QA=1
45413 else
45414 USE_QA=0
45415 fi
45416
45417 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45418 OFFICIAL_BUILD=1
45419 else
45420 OFFICIAL_BUILD=0
45421 fi
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45448
45449
45450
45451
45452
45453
45454
45455
45456 case "$TOOLKIT" in
45457 GTK)
45458 TOOLKIT_DESC="GTK+"
45459 if test "$WXGTK20" = 1; then
45460 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45461 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45462 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45463 fi
45464 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45465 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45466 fi
45467 if test "$wxUSE_LIBHILDON" = "yes"; then
45468 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45469 fi
45470
45471 if test "$TOOLKIT_EXTRA" != ""; then
45472 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45473 fi
45474 fi
45475 ;;
45476
45477 ?*)
45478 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45479 ;;
45480
45481 *)
45482 TOOLKIT_DESC="base only"
45483 ;;
45484 esac
45485
45486 if test "$wxUSE_WINE" = "yes"; then
45487 BAKEFILE_FORCE_PLATFORM=win32
45488 fi
45489
45490 if test "$wxUSE_MAC" = 1 ; then
45491 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45492 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45493 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45494 else
45495 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45496 fi
45497 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45498 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45499 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45500 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45501 bk_use_pch=no
45502 fi
45503 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45504 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45505 fi
45506
45507 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45508 then
45509 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45510 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45511 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45512 echo $ECHO_N "(cached) $ECHO_C" >&6
45513 else
45514
45515 echo '#include <stdio.h>
45516 const wchar_t test_var[] = L"awidetest";' > conftest.h
45517
45518 echo '#include "conftest.h"
45519 int main()
45520 {
45521 printf("%ls", test_var);
45522 return 0;
45523 }' > conftest.cpp
45524
45525 wx_cv_gcc_pch_bug="pch not supported"
45526
45527 if $CXX conftest.h >/dev/null 2>&1
45528 then
45529 wx_cv_gcc_pch_bug=
45530
45531 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45532 then
45533 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45534 grep awidetest >/dev/null
45535 then
45536 wx_cv_gcc_pch_bug=no
45537 else
45538 wx_cv_gcc_pch_bug=yes
45539 fi
45540 fi
45541 fi
45542
45543 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45544
45545 fi
45546 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45547 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45548
45549 if test "$wx_cv_gcc_pch_bug" = yes; then
45550 bk_use_pch=no
45551 fi
45552 fi
45553
45554
45555
45556
45557 if test "x$BAKEFILE_HOST" = "x"; then
45558 if test "x${host}" = "x" ; then
45559 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45560 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45561 { (exit 1); exit 1; }; }
45562 fi
45563
45564 BAKEFILE_HOST="${host}"
45565 fi
45566
45567 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45568
45569 if test -n "$ac_tool_prefix"; then
45570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45574 if test "${ac_cv_prog_RANLIB+set}" = set; then
45575 echo $ECHO_N "(cached) $ECHO_C" >&6
45576 else
45577 if test -n "$RANLIB"; then
45578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45579 else
45580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45581 for as_dir in $PATH
45582 do
45583 IFS=$as_save_IFS
45584 test -z "$as_dir" && as_dir=.
45585 for ac_exec_ext in '' $ac_executable_extensions; do
45586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45589 break 2
45590 fi
45591 done
45592 done
45593 IFS=$as_save_IFS
45594
45595 fi
45596 fi
45597 RANLIB=$ac_cv_prog_RANLIB
45598 if test -n "$RANLIB"; then
45599 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45600 echo "${ECHO_T}$RANLIB" >&6; }
45601 else
45602 { echo "$as_me:$LINENO: result: no" >&5
45603 echo "${ECHO_T}no" >&6; }
45604 fi
45605
45606
45607 fi
45608 if test -z "$ac_cv_prog_RANLIB"; then
45609 ac_ct_RANLIB=$RANLIB
45610 # Extract the first word of "ranlib", so it can be a program name with args.
45611 set dummy ranlib; ac_word=$2
45612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45614 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45615 echo $ECHO_N "(cached) $ECHO_C" >&6
45616 else
45617 if test -n "$ac_ct_RANLIB"; then
45618 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45619 else
45620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45621 for as_dir in $PATH
45622 do
45623 IFS=$as_save_IFS
45624 test -z "$as_dir" && as_dir=.
45625 for ac_exec_ext in '' $ac_executable_extensions; do
45626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45627 ac_cv_prog_ac_ct_RANLIB="ranlib"
45628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45629 break 2
45630 fi
45631 done
45632 done
45633 IFS=$as_save_IFS
45634
45635 fi
45636 fi
45637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45638 if test -n "$ac_ct_RANLIB"; then
45639 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45640 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45641 else
45642 { echo "$as_me:$LINENO: result: no" >&5
45643 echo "${ECHO_T}no" >&6; }
45644 fi
45645
45646 if test "x$ac_ct_RANLIB" = x; then
45647 RANLIB=":"
45648 else
45649 case $cross_compiling:$ac_tool_warned in
45650 yes:)
45651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45652 whose name does not start with the host triplet. If you think this
45653 configuration is useful to you, please write to autoconf@gnu.org." >&5
45654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45655 whose name does not start with the host triplet. If you think this
45656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45657 ac_tool_warned=yes ;;
45658 esac
45659 RANLIB=$ac_ct_RANLIB
45660 fi
45661 else
45662 RANLIB="$ac_cv_prog_RANLIB"
45663 fi
45664
45665 # Find a good install program. We prefer a C program (faster),
45666 # so one script is as good as another. But avoid the broken or
45667 # incompatible versions:
45668 # SysV /etc/install, /usr/sbin/install
45669 # SunOS /usr/etc/install
45670 # IRIX /sbin/install
45671 # AIX /bin/install
45672 # AmigaOS /C/install, which installs bootblocks on floppy discs
45673 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45674 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45675 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45676 # OS/2's system install, which has a completely different semantic
45677 # ./install, which can be erroneously created by make from ./install.sh.
45678 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45679 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45680 if test -z "$INSTALL"; then
45681 if test "${ac_cv_path_install+set}" = set; then
45682 echo $ECHO_N "(cached) $ECHO_C" >&6
45683 else
45684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45685 for as_dir in $PATH
45686 do
45687 IFS=$as_save_IFS
45688 test -z "$as_dir" && as_dir=.
45689 # Account for people who put trailing slashes in PATH elements.
45690 case $as_dir/ in
45691 ./ | .// | /cC/* | \
45692 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45693 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45694 /usr/ucb/* ) ;;
45695 *)
45696 # OSF1 and SCO ODT 3.0 have their own names for install.
45697 # Don't use installbsd from OSF since it installs stuff as root
45698 # by default.
45699 for ac_prog in ginstall scoinst install; do
45700 for ac_exec_ext in '' $ac_executable_extensions; do
45701 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45702 if test $ac_prog = install &&
45703 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45704 # AIX install. It has an incompatible calling convention.
45705 :
45706 elif test $ac_prog = install &&
45707 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45708 # program-specific install script used by HP pwplus--don't use.
45709 :
45710 else
45711 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45712 break 3
45713 fi
45714 fi
45715 done
45716 done
45717 ;;
45718 esac
45719 done
45720 IFS=$as_save_IFS
45721
45722
45723 fi
45724 if test "${ac_cv_path_install+set}" = set; then
45725 INSTALL=$ac_cv_path_install
45726 else
45727 # As a last resort, use the slow shell script. Don't cache a
45728 # value for INSTALL within a source directory, because that will
45729 # break other packages using the cache if that directory is
45730 # removed, or if the value is a relative name.
45731 INSTALL=$ac_install_sh
45732 fi
45733 fi
45734 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45735 echo "${ECHO_T}$INSTALL" >&6; }
45736
45737 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45738 # It thinks the first close brace ends the variable substitution.
45739 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45740
45741 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45742
45743 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45744
45745 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45746 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45747 LN_S=$as_ln_s
45748 if test "$LN_S" = "ln -s"; then
45749 { echo "$as_me:$LINENO: result: yes" >&5
45750 echo "${ECHO_T}yes" >&6; }
45751 else
45752 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45753 echo "${ECHO_T}no, using $LN_S" >&6; }
45754 fi
45755
45756
45757 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45759 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45760 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45761 echo $ECHO_N "(cached) $ECHO_C" >&6
45762 else
45763 cat >conftest.make <<\_ACEOF
45764 SHELL = /bin/sh
45765 all:
45766 @echo '@@@%%%=$(MAKE)=@@@%%%'
45767 _ACEOF
45768 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45770 *@@@%%%=?*=@@@%%%*)
45771 eval ac_cv_prog_make_${ac_make}_set=yes;;
45772 *)
45773 eval ac_cv_prog_make_${ac_make}_set=no;;
45774 esac
45775 rm -f conftest.make
45776 fi
45777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45778 { echo "$as_me:$LINENO: result: yes" >&5
45779 echo "${ECHO_T}yes" >&6; }
45780 SET_MAKE=
45781 else
45782 { echo "$as_me:$LINENO: result: no" >&5
45783 echo "${ECHO_T}no" >&6; }
45784 SET_MAKE="MAKE=${MAKE-make}"
45785 fi
45786
45787
45788
45789 if test "x$SUNCXX" = "xyes"; then
45790 AR=$CXX
45791 AROPTIONS="-xar -o"
45792
45793 elif test "x$SGICC" = "xyes"; then
45794 AR=$CXX
45795 AROPTIONS="-ar -o"
45796
45797 else
45798 if test -n "$ac_tool_prefix"; then
45799 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45800 set dummy ${ac_tool_prefix}ar; ac_word=$2
45801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45803 if test "${ac_cv_prog_AR+set}" = set; then
45804 echo $ECHO_N "(cached) $ECHO_C" >&6
45805 else
45806 if test -n "$AR"; then
45807 ac_cv_prog_AR="$AR" # Let the user override the test.
45808 else
45809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45810 for as_dir in $PATH
45811 do
45812 IFS=$as_save_IFS
45813 test -z "$as_dir" && as_dir=.
45814 for ac_exec_ext in '' $ac_executable_extensions; do
45815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45816 ac_cv_prog_AR="${ac_tool_prefix}ar"
45817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45818 break 2
45819 fi
45820 done
45821 done
45822 IFS=$as_save_IFS
45823
45824 fi
45825 fi
45826 AR=$ac_cv_prog_AR
45827 if test -n "$AR"; then
45828 { echo "$as_me:$LINENO: result: $AR" >&5
45829 echo "${ECHO_T}$AR" >&6; }
45830 else
45831 { echo "$as_me:$LINENO: result: no" >&5
45832 echo "${ECHO_T}no" >&6; }
45833 fi
45834
45835
45836 fi
45837 if test -z "$ac_cv_prog_AR"; then
45838 ac_ct_AR=$AR
45839 # Extract the first word of "ar", so it can be a program name with args.
45840 set dummy ar; ac_word=$2
45841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45845 else
45846 if test -n "$ac_ct_AR"; then
45847 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45848 else
45849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45850 for as_dir in $PATH
45851 do
45852 IFS=$as_save_IFS
45853 test -z "$as_dir" && as_dir=.
45854 for ac_exec_ext in '' $ac_executable_extensions; do
45855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45856 ac_cv_prog_ac_ct_AR="ar"
45857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45858 break 2
45859 fi
45860 done
45861 done
45862 IFS=$as_save_IFS
45863
45864 fi
45865 fi
45866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45867 if test -n "$ac_ct_AR"; then
45868 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45869 echo "${ECHO_T}$ac_ct_AR" >&6; }
45870 else
45871 { echo "$as_me:$LINENO: result: no" >&5
45872 echo "${ECHO_T}no" >&6; }
45873 fi
45874
45875 if test "x$ac_ct_AR" = x; then
45876 AR="ar"
45877 else
45878 case $cross_compiling:$ac_tool_warned in
45879 yes:)
45880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45881 whose name does not start with the host triplet. If you think this
45882 configuration is useful to you, please write to autoconf@gnu.org." >&5
45883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45884 whose name does not start with the host triplet. If you think this
45885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45886 ac_tool_warned=yes ;;
45887 esac
45888 AR=$ac_ct_AR
45889 fi
45890 else
45891 AR="$ac_cv_prog_AR"
45892 fi
45893
45894 AROPTIONS=rcu
45895 fi
45896
45897
45898 if test -n "$ac_tool_prefix"; then
45899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45900 set dummy ${ac_tool_prefix}strip; ac_word=$2
45901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45903 if test "${ac_cv_prog_STRIP+set}" = set; then
45904 echo $ECHO_N "(cached) $ECHO_C" >&6
45905 else
45906 if test -n "$STRIP"; then
45907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45908 else
45909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45910 for as_dir in $PATH
45911 do
45912 IFS=$as_save_IFS
45913 test -z "$as_dir" && as_dir=.
45914 for ac_exec_ext in '' $ac_executable_extensions; do
45915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45918 break 2
45919 fi
45920 done
45921 done
45922 IFS=$as_save_IFS
45923
45924 fi
45925 fi
45926 STRIP=$ac_cv_prog_STRIP
45927 if test -n "$STRIP"; then
45928 { echo "$as_me:$LINENO: result: $STRIP" >&5
45929 echo "${ECHO_T}$STRIP" >&6; }
45930 else
45931 { echo "$as_me:$LINENO: result: no" >&5
45932 echo "${ECHO_T}no" >&6; }
45933 fi
45934
45935
45936 fi
45937 if test -z "$ac_cv_prog_STRIP"; then
45938 ac_ct_STRIP=$STRIP
45939 # Extract the first word of "strip", so it can be a program name with args.
45940 set dummy strip; ac_word=$2
45941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45943 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45944 echo $ECHO_N "(cached) $ECHO_C" >&6
45945 else
45946 if test -n "$ac_ct_STRIP"; then
45947 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45948 else
45949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45950 for as_dir in $PATH
45951 do
45952 IFS=$as_save_IFS
45953 test -z "$as_dir" && as_dir=.
45954 for ac_exec_ext in '' $ac_executable_extensions; do
45955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45956 ac_cv_prog_ac_ct_STRIP="strip"
45957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45958 break 2
45959 fi
45960 done
45961 done
45962 IFS=$as_save_IFS
45963
45964 fi
45965 fi
45966 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45967 if test -n "$ac_ct_STRIP"; then
45968 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45969 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45970 else
45971 { echo "$as_me:$LINENO: result: no" >&5
45972 echo "${ECHO_T}no" >&6; }
45973 fi
45974
45975 if test "x$ac_ct_STRIP" = x; then
45976 STRIP=":"
45977 else
45978 case $cross_compiling:$ac_tool_warned in
45979 yes:)
45980 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45981 whose name does not start with the host triplet. If you think this
45982 configuration is useful to you, please write to autoconf@gnu.org." >&5
45983 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45984 whose name does not start with the host triplet. If you think this
45985 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45986 ac_tool_warned=yes ;;
45987 esac
45988 STRIP=$ac_ct_STRIP
45989 fi
45990 else
45991 STRIP="$ac_cv_prog_STRIP"
45992 fi
45993
45994 if test -n "$ac_tool_prefix"; then
45995 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45996 set dummy ${ac_tool_prefix}nm; ac_word=$2
45997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45999 if test "${ac_cv_prog_NM+set}" = set; then
46000 echo $ECHO_N "(cached) $ECHO_C" >&6
46001 else
46002 if test -n "$NM"; then
46003 ac_cv_prog_NM="$NM" # Let the user override the test.
46004 else
46005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46006 for as_dir in $PATH
46007 do
46008 IFS=$as_save_IFS
46009 test -z "$as_dir" && as_dir=.
46010 for ac_exec_ext in '' $ac_executable_extensions; do
46011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46012 ac_cv_prog_NM="${ac_tool_prefix}nm"
46013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46014 break 2
46015 fi
46016 done
46017 done
46018 IFS=$as_save_IFS
46019
46020 fi
46021 fi
46022 NM=$ac_cv_prog_NM
46023 if test -n "$NM"; then
46024 { echo "$as_me:$LINENO: result: $NM" >&5
46025 echo "${ECHO_T}$NM" >&6; }
46026 else
46027 { echo "$as_me:$LINENO: result: no" >&5
46028 echo "${ECHO_T}no" >&6; }
46029 fi
46030
46031
46032 fi
46033 if test -z "$ac_cv_prog_NM"; then
46034 ac_ct_NM=$NM
46035 # Extract the first word of "nm", so it can be a program name with args.
46036 set dummy nm; ac_word=$2
46037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46039 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46040 echo $ECHO_N "(cached) $ECHO_C" >&6
46041 else
46042 if test -n "$ac_ct_NM"; then
46043 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46044 else
46045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46046 for as_dir in $PATH
46047 do
46048 IFS=$as_save_IFS
46049 test -z "$as_dir" && as_dir=.
46050 for ac_exec_ext in '' $ac_executable_extensions; do
46051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46052 ac_cv_prog_ac_ct_NM="nm"
46053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46054 break 2
46055 fi
46056 done
46057 done
46058 IFS=$as_save_IFS
46059
46060 fi
46061 fi
46062 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46063 if test -n "$ac_ct_NM"; then
46064 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46065 echo "${ECHO_T}$ac_ct_NM" >&6; }
46066 else
46067 { echo "$as_me:$LINENO: result: no" >&5
46068 echo "${ECHO_T}no" >&6; }
46069 fi
46070
46071 if test "x$ac_ct_NM" = x; then
46072 NM=":"
46073 else
46074 case $cross_compiling:$ac_tool_warned in
46075 yes:)
46076 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46077 whose name does not start with the host triplet. If you think this
46078 configuration is useful to you, please write to autoconf@gnu.org." >&5
46079 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46080 whose name does not start with the host triplet. If you think this
46081 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46082 ac_tool_warned=yes ;;
46083 esac
46084 NM=$ac_ct_NM
46085 fi
46086 else
46087 NM="$ac_cv_prog_NM"
46088 fi
46089
46090
46091 case ${BAKEFILE_HOST} in
46092 *-hp-hpux* )
46093 INSTALL_DIR="mkdir -p"
46094 ;;
46095 * )
46096 INSTALL_DIR='$(INSTALL) -d'
46097 ;;
46098 esac
46099
46100
46101 LDFLAGS_GUI=
46102 case ${BAKEFILE_HOST} in
46103 *-*-cygwin* | *-*-mingw32* )
46104 LDFLAGS_GUI="-mwindows"
46105 esac
46106
46107
46108 fi
46109
46110 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46111 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46112 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46113 echo $ECHO_N "(cached) $ECHO_C" >&6
46114 else
46115
46116 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46117 egrep -s GNU > /dev/null); then
46118 bakefile_cv_prog_makeisgnu="yes"
46119 else
46120 bakefile_cv_prog_makeisgnu="no"
46121 fi
46122
46123 fi
46124 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46125 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46126
46127 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46128 IF_GNU_MAKE=""
46129 else
46130 IF_GNU_MAKE="#"
46131 fi
46132
46133
46134
46135 PLATFORM_UNIX=0
46136 PLATFORM_WIN32=0
46137 PLATFORM_MSDOS=0
46138 PLATFORM_MAC=0
46139 PLATFORM_MACOS=0
46140 PLATFORM_MACOSX=0
46141 PLATFORM_OS2=0
46142 PLATFORM_BEOS=0
46143
46144 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46145 case "${BAKEFILE_HOST}" in
46146 *-*-mingw32* )
46147 PLATFORM_WIN32=1
46148 ;;
46149 *-pc-msdosdjgpp )
46150 PLATFORM_MSDOS=1
46151 ;;
46152 *-pc-os2_emx | *-pc-os2-emx )
46153 PLATFORM_OS2=1
46154 ;;
46155 *-*-darwin* )
46156 PLATFORM_MAC=1
46157 PLATFORM_MACOSX=1
46158 ;;
46159 *-*-beos* )
46160 PLATFORM_BEOS=1
46161 ;;
46162 powerpc-apple-macos* )
46163 PLATFORM_MAC=1
46164 PLATFORM_MACOS=1
46165 ;;
46166 * )
46167 PLATFORM_UNIX=1
46168 ;;
46169 esac
46170 else
46171 case "$BAKEFILE_FORCE_PLATFORM" in
46172 win32 )
46173 PLATFORM_WIN32=1
46174 ;;
46175 msdos )
46176 PLATFORM_MSDOS=1
46177 ;;
46178 os2 )
46179 PLATFORM_OS2=1
46180 ;;
46181 darwin )
46182 PLATFORM_MAC=1
46183 PLATFORM_MACOSX=1
46184 ;;
46185 unix )
46186 PLATFORM_UNIX=1
46187 ;;
46188 beos )
46189 PLATFORM_BEOS=1
46190 ;;
46191 * )
46192 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46193 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46194 { (exit 1); exit 1; }; }
46195 ;;
46196 esac
46197 fi
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208
46209 # Check whether --enable-omf was given.
46210 if test "${enable_omf+set}" = set; then
46211 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46212 fi
46213
46214
46215 case "${BAKEFILE_HOST}" in
46216 *-*-darwin* )
46217 if test "x$GCC" = "xyes"; then
46218 CFLAGS="$CFLAGS -fno-common"
46219 CXXFLAGS="$CXXFLAGS -fno-common"
46220 fi
46221 if test "x$XLCC" = "xyes"; then
46222 CFLAGS="$CFLAGS -qnocommon"
46223 CXXFLAGS="$CXXFLAGS -qnocommon"
46224 fi
46225 ;;
46226
46227 *-pc-os2_emx | *-pc-os2-emx )
46228 if test "x$bk_os2_use_omf" = "xyes" ; then
46229 AR=emxomfar
46230 RANLIB=:
46231 LDFLAGS="-Zomf $LDFLAGS"
46232 CFLAGS="-Zomf $CFLAGS"
46233 CXXFLAGS="-Zomf $CXXFLAGS"
46234 OS2_LIBEXT="lib"
46235 else
46236 OS2_LIBEXT="a"
46237 fi
46238 ;;
46239
46240 i*86-*-beos* )
46241 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46242 ;;
46243 esac
46244
46245
46246 SO_SUFFIX="so"
46247 SO_SUFFIX_MODULE="so"
46248 EXEEXT=""
46249 LIBPREFIX="lib"
46250 LIBEXT=".a"
46251 DLLPREFIX="lib"
46252 DLLPREFIX_MODULE=""
46253 DLLIMP_SUFFIX=""
46254 dlldir="$libdir"
46255
46256 case "${BAKEFILE_HOST}" in
46257 *-hp-hpux* )
46258 SO_SUFFIX="sl"
46259 SO_SUFFIX_MODULE="sl"
46260 ;;
46261 *-*-aix* )
46262 SO_SUFFIX="a"
46263 SO_SUFFIX_MODULE="a"
46264 ;;
46265 *-*-cygwin* )
46266 SO_SUFFIX="dll"
46267 SO_SUFFIX_MODULE="dll"
46268 DLLIMP_SUFFIX="dll.a"
46269 EXEEXT=".exe"
46270 DLLPREFIX="cyg"
46271 dlldir="$bindir"
46272 ;;
46273 *-*-mingw32* )
46274 SO_SUFFIX="dll"
46275 SO_SUFFIX_MODULE="dll"
46276 DLLIMP_SUFFIX="dll.a"
46277 EXEEXT=".exe"
46278 DLLPREFIX=""
46279 dlldir="$bindir"
46280 ;;
46281 *-pc-msdosdjgpp )
46282 EXEEXT=".exe"
46283 DLLPREFIX=""
46284 dlldir="$bindir"
46285 ;;
46286 *-pc-os2_emx | *-pc-os2-emx )
46287 SO_SUFFIX="dll"
46288 SO_SUFFIX_MODULE="dll"
46289 DLLIMP_SUFFIX=$OS2_LIBEXT
46290 EXEEXT=".exe"
46291 DLLPREFIX=""
46292 LIBPREFIX=""
46293 LIBEXT=".$OS2_LIBEXT"
46294 dlldir="$bindir"
46295 ;;
46296 *-*-darwin* )
46297 SO_SUFFIX="dylib"
46298 SO_SUFFIX_MODULE="bundle"
46299 ;;
46300 esac
46301
46302 if test "x$DLLIMP_SUFFIX" = "x" ; then
46303 DLLIMP_SUFFIX="$SO_SUFFIX"
46304 fi
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317 PIC_FLAG=""
46318 if test "x$GCC" = "xyes"; then
46319 PIC_FLAG="-fPIC"
46320 fi
46321
46322 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46323 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46324 WINDOWS_IMPLIB=0
46325
46326 case "${BAKEFILE_HOST}" in
46327 *-hp-hpux* )
46328 if test "x$GCC" != "xyes"; then
46329 LDFLAGS="$LDFLAGS -L/usr/lib"
46330
46331 SHARED_LD_CC="${CC} -b -o"
46332 SHARED_LD_CXX="${CXX} -b -o"
46333 PIC_FLAG="+Z"
46334 fi
46335 ;;
46336
46337 *-*-linux* )
46338 if test "x$GCC" != "xyes"; then
46339 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46340 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46341 if test "${bakefile_cv_prog_icc+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46343 else
46344
46345 cat >conftest.$ac_ext <<_ACEOF
46346 /* confdefs.h. */
46347 _ACEOF
46348 cat confdefs.h >>conftest.$ac_ext
46349 cat >>conftest.$ac_ext <<_ACEOF
46350 /* end confdefs.h. */
46351
46352 int
46353 main ()
46354 {
46355
46356 #ifndef __INTEL_COMPILER
46357 This is not ICC
46358 #endif
46359
46360 ;
46361 return 0;
46362 }
46363 _ACEOF
46364 rm -f conftest.$ac_objext
46365 if { (ac_try="$ac_compile"
46366 case "(($ac_try" in
46367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46368 *) ac_try_echo=$ac_try;;
46369 esac
46370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46371 (eval "$ac_compile") 2>conftest.er1
46372 ac_status=$?
46373 grep -v '^ *+' conftest.er1 >conftest.err
46374 rm -f conftest.er1
46375 cat conftest.err >&5
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); } && {
46378 test -z "$ac_c_werror_flag" ||
46379 test ! -s conftest.err
46380 } && test -s conftest.$ac_objext; then
46381 bakefile_cv_prog_icc=yes
46382 else
46383 echo "$as_me: failed program was:" >&5
46384 sed 's/^/| /' conftest.$ac_ext >&5
46385
46386 bakefile_cv_prog_icc=no
46387
46388 fi
46389
46390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46391
46392 fi
46393 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46394 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46395 if test "$bakefile_cv_prog_icc" = "yes"; then
46396 PIC_FLAG="-KPIC"
46397 fi
46398 fi
46399 ;;
46400
46401 *-*-solaris2* )
46402 if test "x$GCC" != xyes ; then
46403 SHARED_LD_CC="${CC} -G -o"
46404 SHARED_LD_CXX="${CXX} -G -o"
46405 PIC_FLAG="-KPIC"
46406 fi
46407 ;;
46408
46409 *-*-darwin* )
46410
46411 D='$'
46412 cat <<EOF >shared-ld-sh
46413 #!/bin/sh
46414 #-----------------------------------------------------------------------------
46415 #-- Name: distrib/mac/shared-ld-sh
46416 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46417 #-- Author: Gilles Depeyrot
46418 #-- Copyright: (c) 2002 Gilles Depeyrot
46419 #-- Licence: any use permitted
46420 #-----------------------------------------------------------------------------
46421
46422 verbose=0
46423 args=""
46424 objects=""
46425 linking_flag="-dynamiclib"
46426 ldargs="-r -keep_private_externs -nostdlib"
46427
46428 while test ${D}# -gt 0; do
46429 case ${D}1 in
46430
46431 -v)
46432 verbose=1
46433 ;;
46434
46435 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46436 # collect these options and values
46437 args="${D}{args} ${D}1 ${D}2"
46438 shift
46439 ;;
46440
46441 -s|-Wl,*)
46442 # collect these load args
46443 ldargs="${D}{ldargs} ${D}1"
46444 ;;
46445
46446 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46447 # collect these options
46448 args="${D}{args} ${D}1"
46449 ;;
46450
46451 -dynamiclib|-bundle)
46452 linking_flag="${D}1"
46453 ;;
46454
46455 -*)
46456 echo "shared-ld: unhandled option '${D}1'"
46457 exit 1
46458 ;;
46459
46460 *.o | *.a | *.dylib)
46461 # collect object files
46462 objects="${D}{objects} ${D}1"
46463 ;;
46464
46465 *)
46466 echo "shared-ld: unhandled argument '${D}1'"
46467 exit 1
46468 ;;
46469
46470 esac
46471 shift
46472 done
46473
46474 status=0
46475
46476 #
46477 # Link one module containing all the others
46478 #
46479 if test ${D}{verbose} = 1; then
46480 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46481 fi
46482 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46483 status=${D}?
46484
46485 #
46486 # Link the shared library from the single module created, but only if the
46487 # previous command didn't fail:
46488 #
46489 if test ${D}{status} = 0; then
46490 if test ${D}{verbose} = 1; then
46491 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46492 fi
46493 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46494 status=${D}?
46495 fi
46496
46497 #
46498 # Remove intermediate module
46499 #
46500 rm -f master.${D}${D}.o
46501
46502 exit ${D}status
46503 EOF
46504
46505 chmod +x shared-ld-sh
46506
46507 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46508 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46509
46510
46511 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46512 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46513 if test "${bakefile_cv_gcc31+set}" = set; then
46514 echo $ECHO_N "(cached) $ECHO_C" >&6
46515 else
46516
46517 cat >conftest.$ac_ext <<_ACEOF
46518 /* confdefs.h. */
46519 _ACEOF
46520 cat confdefs.h >>conftest.$ac_ext
46521 cat >>conftest.$ac_ext <<_ACEOF
46522 /* end confdefs.h. */
46523
46524 int
46525 main ()
46526 {
46527
46528 #if (__GNUC__ < 3) || \
46529 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46530 This is old gcc
46531 #endif
46532
46533 ;
46534 return 0;
46535 }
46536 _ACEOF
46537 rm -f conftest.$ac_objext
46538 if { (ac_try="$ac_compile"
46539 case "(($ac_try" in
46540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46541 *) ac_try_echo=$ac_try;;
46542 esac
46543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46544 (eval "$ac_compile") 2>conftest.er1
46545 ac_status=$?
46546 grep -v '^ *+' conftest.er1 >conftest.err
46547 rm -f conftest.er1
46548 cat conftest.err >&5
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); } && {
46551 test -z "$ac_c_werror_flag" ||
46552 test ! -s conftest.err
46553 } && test -s conftest.$ac_objext; then
46554
46555 bakefile_cv_gcc31=yes
46556
46557 else
46558 echo "$as_me: failed program was:" >&5
46559 sed 's/^/| /' conftest.$ac_ext >&5
46560
46561
46562 bakefile_cv_gcc31=no
46563
46564
46565 fi
46566
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568
46569 fi
46570 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46571 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46572 if test "$bakefile_cv_gcc31" = "no"; then
46573 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46574 SHARED_LD_CXX="$SHARED_LD_CC"
46575 else
46576 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46577 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46578 fi
46579
46580 if test "x$GCC" == "xyes"; then
46581 PIC_FLAG="-dynamic -fPIC"
46582 fi
46583 if test "x$XLCC" = "xyes"; then
46584 PIC_FLAG="-dynamic -DPIC"
46585 fi
46586 ;;
46587
46588 *-*-aix* )
46589 if test "x$GCC" = "xyes"; then
46590 PIC_FLAG=""
46591
46592 case "${BAKEFILE_HOST}" in
46593 *-*-aix5* )
46594 LD_EXPFULL="-Wl,-bexpfull"
46595 ;;
46596 esac
46597
46598 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46599 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46600 else
46601 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46602 set dummy makeC++SharedLib; ac_word=$2
46603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46605 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46606 echo $ECHO_N "(cached) $ECHO_C" >&6
46607 else
46608 if test -n "$AIX_CXX_LD"; then
46609 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46610 else
46611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46612 for as_dir in $PATH
46613 do
46614 IFS=$as_save_IFS
46615 test -z "$as_dir" && as_dir=.
46616 for ac_exec_ext in '' $ac_executable_extensions; do
46617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46618 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46620 break 2
46621 fi
46622 done
46623 done
46624 IFS=$as_save_IFS
46625
46626 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46627 fi
46628 fi
46629 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46630 if test -n "$AIX_CXX_LD"; then
46631 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46632 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46633 else
46634 { echo "$as_me:$LINENO: result: no" >&5
46635 echo "${ECHO_T}no" >&6; }
46636 fi
46637
46638
46639 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46640 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46641 fi
46642 ;;
46643
46644 *-*-beos* )
46645 SHARED_LD_CC="${LD} -nostart -o"
46646 SHARED_LD_CXX="${LD} -nostart -o"
46647 ;;
46648
46649 *-*-irix* )
46650 if test "x$GCC" != "xyes"; then
46651 PIC_FLAG="-KPIC"
46652 fi
46653 ;;
46654
46655 *-*-cygwin* | *-*-mingw32* )
46656 PIC_FLAG=""
46657 SHARED_LD_CC="\$(CC) -shared -o"
46658 SHARED_LD_CXX="\$(CXX) -shared -o"
46659 WINDOWS_IMPLIB=1
46660 ;;
46661
46662 *-pc-os2_emx | *-pc-os2-emx )
46663 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46664 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46665 PIC_FLAG=""
46666
46667 D='$'
46668 cat <<EOF >dllar.sh
46669 #!/bin/sh
46670 #
46671 # dllar - a tool to build both a .dll and an .a file
46672 # from a set of object (.o) files for EMX/OS2.
46673 #
46674 # Written by Andrew Zabolotny, bit@freya.etu.ru
46675 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46676 #
46677 # This script will accept a set of files on the command line.
46678 # All the public symbols from the .o files will be exported into
46679 # a .DEF file, then linker will be run (through gcc) against them to
46680 # build a shared library consisting of all given .o files. All libraries
46681 # (.a) will be first decompressed into component .o files then act as
46682 # described above. You can optionally give a description (-d "description")
46683 # which will be put into .DLL. To see the list of accepted options (as well
46684 # as command-line format) simply run this program without options. The .DLL
46685 # is built to be imported by name (there is no guarantee that new versions
46686 # of the library you build will have same ordinals for same symbols).
46687 #
46688 # dllar is free software; you can redistribute it and/or modify
46689 # it under the terms of the GNU General Public License as published by
46690 # the Free Software Foundation; either version 2, or (at your option)
46691 # any later version.
46692 #
46693 # dllar is distributed in the hope that it will be useful,
46694 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46695 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46696 # GNU General Public License for more details.
46697 #
46698 # You should have received a copy of the GNU General Public License
46699 # along with dllar; see the file COPYING. If not, write to the Free
46700 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46701 # 02111-1307, USA.
46702
46703 # To successfuly run this program you will need:
46704 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46705 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46706 # - gcc
46707 # (used to build the .dll)
46708 # - emxexp
46709 # (used to create .def file from .o files)
46710 # - emximp
46711 # (used to create .a file from .def file)
46712 # - GNU text utilites (cat, sort, uniq)
46713 # used to process emxexp output
46714 # - GNU file utilities (mv, rm)
46715 # - GNU sed
46716 # - lxlite (optional, see flag below)
46717 # (used for general .dll cleanup)
46718 #
46719
46720 flag_USE_LXLITE=1;
46721
46722 #
46723 # helper functions
46724 # basnam, variant of basename, which does _not_ remove the path, _iff_
46725 # second argument (suffix to remove) is given
46726 basnam(){
46727 case ${D}# in
46728 1)
46729 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46730 ;;
46731 2)
46732 echo ${D}1 | sed 's/'${D}2'${D}//'
46733 ;;
46734 *)
46735 echo "error in basnam ${D}*"
46736 exit 8
46737 ;;
46738 esac
46739 }
46740
46741 # Cleanup temporary files and output
46742 CleanUp() {
46743 cd ${D}curDir
46744 for i in ${D}inputFiles ; do
46745 case ${D}i in
46746 *!)
46747 rm -rf \`basnam ${D}i !\`
46748 ;;
46749 *)
46750 ;;
46751 esac
46752 done
46753
46754 # Kill result in case of failure as there is just to many stupid make/nmake
46755 # things out there which doesn't do this.
46756 if [ ${D}# -eq 0 ]; then
46757 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46758 fi
46759 }
46760
46761 # Print usage and exit script with rc=1.
46762 PrintHelp() {
46763 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46764 echo ' [-name-mangler-script script.sh]'
46765 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46766 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46767 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46768 echo ' [*.o] [*.a]'
46769 echo '*> "output_file" should have no extension.'
46770 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46771 echo ' The import library name is derived from this and is set to "name".a,'
46772 echo ' unless overridden by -import'
46773 echo '*> "importlib_name" should have no extension.'
46774 echo ' If it has the .o, or .a extension, it is automatically removed.'
46775 echo ' This name is used as the import library name and may be longer and'
46776 echo ' more descriptive than the DLL name which has to follow the old '
46777 echo ' 8.3 convention of FAT.'
46778 echo '*> "script.sh may be given to override the output_file name by a'
46779 echo ' different name. It is mainly useful if the regular make process'
46780 echo ' of some package does not take into account OS/2 restriction of'
46781 echo ' DLL name lengths. It takes the importlib name as input and is'
46782 echo ' supposed to procude a shorter name as output. The script should'
46783 echo ' expect to get importlib_name without extension and should produce'
46784 echo ' a (max.) 8 letter name without extension.'
46785 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46786 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46787 echo ' These flags will be put at the start of GCC command line.'
46788 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46789 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46790 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46791 echo ' If the last character of a symbol is "*", all symbols beginning'
46792 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46793 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46794 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46795 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46796 echo ' C runtime DLLs.'
46797 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46798 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46799 echo ' unchanged to GCC at the end of command line.'
46800 echo '*> If you create a DLL from a library and you do not specify -o,'
46801 echo ' the basename for DLL and import library will be set to library name,'
46802 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46803 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46804 echo ' library will be renamed into gcc_s.a.'
46805 echo '--------'
46806 echo 'Example:'
46807 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46808 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46809 CleanUp
46810 exit 1
46811 }
46812
46813 # Execute a command.
46814 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46815 # @Uses Whatever CleanUp() uses.
46816 doCommand() {
46817 echo "${D}*"
46818 eval ${D}*
46819 rcCmd=${D}?
46820
46821 if [ ${D}rcCmd -ne 0 ]; then
46822 echo "command failed, exit code="${D}rcCmd
46823 CleanUp
46824 exit ${D}rcCmd
46825 fi
46826 }
46827
46828 # main routine
46829 # setup globals
46830 cmdLine=${D}*
46831 outFile=""
46832 outimpFile=""
46833 inputFiles=""
46834 renameScript=""
46835 description=""
46836 CC=gcc.exe
46837 CFLAGS="-s -Zcrtdll"
46838 EXTRA_CFLAGS=""
46839 EXPORT_BY_ORDINALS=0
46840 exclude_symbols=""
46841 library_flags=""
46842 curDir=\`pwd\`
46843 curDirS=curDir
46844 case ${D}curDirS in
46845 */)
46846 ;;
46847 *)
46848 curDirS=${D}{curDirS}"/"
46849 ;;
46850 esac
46851 # Parse commandline
46852 libsToLink=0
46853 omfLinking=0
46854 while [ ${D}1 ]; do
46855 case ${D}1 in
46856 -ord*)
46857 EXPORT_BY_ORDINALS=1;
46858 ;;
46859 -o*)
46860 shift
46861 outFile=${D}1
46862 ;;
46863 -i*)
46864 shift
46865 outimpFile=${D}1
46866 ;;
46867 -name-mangler-script)
46868 shift
46869 renameScript=${D}1
46870 ;;
46871 -d*)
46872 shift
46873 description=${D}1
46874 ;;
46875 -f*)
46876 shift
46877 CFLAGS=${D}1
46878 ;;
46879 -c*)
46880 shift
46881 CC=${D}1
46882 ;;
46883 -h*)
46884 PrintHelp
46885 ;;
46886 -ex*)
46887 shift
46888 exclude_symbols=${D}{exclude_symbols}${D}1" "
46889 ;;
46890 -libf*)
46891 shift
46892 library_flags=${D}{library_flags}${D}1" "
46893 ;;
46894 -nocrt*)
46895 CFLAGS="-s"
46896 ;;
46897 -nolxl*)
46898 flag_USE_LXLITE=0
46899 ;;
46900 -* | /*)
46901 case ${D}1 in
46902 -L* | -l*)
46903 libsToLink=1
46904 ;;
46905 -Zomf)
46906 omfLinking=1
46907 ;;
46908 *)
46909 ;;
46910 esac
46911 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46912 ;;
46913 *.dll)
46914 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46915 if [ ${D}omfLinking -eq 1 ]; then
46916 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46917 else
46918 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46919 fi
46920 ;;
46921 *)
46922 found=0;
46923 if [ ${D}libsToLink -ne 0 ]; then
46924 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46925 else
46926 for file in ${D}1 ; do
46927 if [ -f ${D}file ]; then
46928 inputFiles="${D}{inputFiles} ${D}file"
46929 found=1
46930 fi
46931 done
46932 if [ ${D}found -eq 0 ]; then
46933 echo "ERROR: No file(s) found: "${D}1
46934 exit 8
46935 fi
46936 fi
46937 ;;
46938 esac
46939 shift
46940 done # iterate cmdline words
46941
46942 #
46943 if [ -z "${D}inputFiles" ]; then
46944 echo "dllar: no input files"
46945 PrintHelp
46946 fi
46947
46948 # Now extract all .o files from .a files
46949 newInputFiles=""
46950 for file in ${D}inputFiles ; do
46951 case ${D}file in
46952 *.a | *.lib)
46953 case ${D}file in
46954 *.a)
46955 suffix=".a"
46956 AR="ar"
46957 ;;
46958 *.lib)
46959 suffix=".lib"
46960 AR="emxomfar"
46961 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46962 ;;
46963 *)
46964 ;;
46965 esac
46966 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46967 mkdir ${D}dirname
46968 if [ ${D}? -ne 0 ]; then
46969 echo "Failed to create subdirectory ./${D}dirname"
46970 CleanUp
46971 exit 8;
46972 fi
46973 # Append '!' to indicate archive
46974 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46975 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46976 cd ${D}curDir
46977 found=0;
46978 for subfile in ${D}dirname/*.o* ; do
46979 if [ -f ${D}subfile ]; then
46980 found=1
46981 if [ -s ${D}subfile ]; then
46982 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46983 newInputFiles="${D}newInputFiles ${D}subfile"
46984 fi
46985 fi
46986 done
46987 if [ ${D}found -eq 0 ]; then
46988 echo "WARNING: there are no files in archive \\'${D}file\\'"
46989 fi
46990 ;;
46991 *)
46992 newInputFiles="${D}{newInputFiles} ${D}file"
46993 ;;
46994 esac
46995 done
46996 inputFiles="${D}newInputFiles"
46997
46998 # Output filename(s).
46999 do_backup=0;
47000 if [ -z ${D}outFile ]; then
47001 do_backup=1;
47002 set outFile ${D}inputFiles; outFile=${D}2
47003 fi
47004
47005 # If it is an archive, remove the '!' and the '_%' suffixes
47006 case ${D}outFile in
47007 *_%!)
47008 outFile=\`basnam ${D}outFile _%!\`
47009 ;;
47010 *)
47011 ;;
47012 esac
47013 case ${D}outFile in
47014 *.dll)
47015 outFile=\`basnam ${D}outFile .dll\`
47016 ;;
47017 *.DLL)
47018 outFile=\`basnam ${D}outFile .DLL\`
47019 ;;
47020 *.o)
47021 outFile=\`basnam ${D}outFile .o\`
47022 ;;
47023 *.obj)
47024 outFile=\`basnam ${D}outFile .obj\`
47025 ;;
47026 *.a)
47027 outFile=\`basnam ${D}outFile .a\`
47028 ;;
47029 *.lib)
47030 outFile=\`basnam ${D}outFile .lib\`
47031 ;;
47032 *)
47033 ;;
47034 esac
47035 case ${D}outimpFile in
47036 *.a)
47037 outimpFile=\`basnam ${D}outimpFile .a\`
47038 ;;
47039 *.lib)
47040 outimpFile=\`basnam ${D}outimpFile .lib\`
47041 ;;
47042 *)
47043 ;;
47044 esac
47045 if [ -z ${D}outimpFile ]; then
47046 outimpFile=${D}outFile
47047 fi
47048 defFile="${D}{outFile}.def"
47049 arcFile="${D}{outimpFile}.a"
47050 arcFile2="${D}{outimpFile}.lib"
47051
47052 #create ${D}dllFile as something matching 8.3 restrictions,
47053 if [ -z ${D}renameScript ] ; then
47054 dllFile="${D}outFile"
47055 else
47056 dllFile=\`${D}renameScript ${D}outimpFile\`
47057 fi
47058
47059 if [ ${D}do_backup -ne 0 ] ; then
47060 if [ -f ${D}arcFile ] ; then
47061 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47062 fi
47063 if [ -f ${D}arcFile2 ] ; then
47064 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47065 fi
47066 fi
47067
47068 # Extract public symbols from all the object files.
47069 tmpdefFile=${D}{defFile}_%
47070 rm -f ${D}tmpdefFile
47071 for file in ${D}inputFiles ; do
47072 case ${D}file in
47073 *!)
47074 ;;
47075 *)
47076 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47077 ;;
47078 esac
47079 done
47080
47081 # Create the def file.
47082 rm -f ${D}defFile
47083 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47084 dllFile="${D}{dllFile}.dll"
47085 if [ ! -z ${D}description ]; then
47086 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47087 fi
47088 echo "EXPORTS" >> ${D}defFile
47089
47090 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47091 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47092
47093 # Checks if the export is ok or not.
47094 for word in ${D}exclude_symbols; do
47095 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47096 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47097 done
47098
47099
47100 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47101 sed "=" < ${D}tmpdefFile | \\
47102 sed '
47103 N
47104 : loop
47105 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47106 t loop
47107 ' > ${D}{tmpdefFile}%
47108 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47109 else
47110 rm -f ${D}{tmpdefFile}%
47111 fi
47112 cat ${D}tmpdefFile >> ${D}defFile
47113 rm -f ${D}tmpdefFile
47114
47115 # Do linking, create implib, and apply lxlite.
47116 gccCmdl="";
47117 for file in ${D}inputFiles ; do
47118 case ${D}file in
47119 *!)
47120 ;;
47121 *)
47122 gccCmdl="${D}gccCmdl ${D}file"
47123 ;;
47124 esac
47125 done
47126 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47127 touch "${D}{outFile}.dll"
47128
47129 doCommand "emximp -o ${D}arcFile ${D}defFile"
47130 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47131 add_flags="";
47132 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47133 add_flags="-ynd"
47134 fi
47135 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47136 fi
47137 doCommand "emxomf -s -l ${D}arcFile"
47138
47139 # Successful exit.
47140 CleanUp 1
47141 exit 0
47142 EOF
47143
47144 chmod +x dllar.sh
47145 ;;
47146
47147 powerpc-apple-macos* | \
47148 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47149 *-*-mirbsd* | \
47150 *-*-sunos4* | \
47151 *-*-osf* | \
47152 *-*-dgux5* | \
47153 *-*-sysv5* | \
47154 *-pc-msdosdjgpp )
47155 ;;
47156
47157 *)
47158 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47159 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47160 { (exit 1); exit 1; }; }
47161 esac
47162
47163 if test "x$PIC_FLAG" != "x" ; then
47164 PIC_FLAG="$PIC_FLAG -DPIC"
47165 fi
47166
47167 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47168 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47169 fi
47170 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47171 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47172 fi
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182 USE_SOVERSION=0
47183 USE_SOVERLINUX=0
47184 USE_SOVERSOLARIS=0
47185 USE_SOVERCYGWIN=0
47186 USE_SOSYMLINKS=0
47187 USE_MACVERSION=0
47188 SONAME_FLAG=
47189
47190 case "${BAKEFILE_HOST}" in
47191 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47192 SONAME_FLAG="-Wl,-soname,"
47193 USE_SOVERSION=1
47194 USE_SOVERLINUX=1
47195 USE_SOSYMLINKS=1
47196 ;;
47197
47198 *-*-solaris2* )
47199 SONAME_FLAG="-h "
47200 USE_SOVERSION=1
47201 USE_SOVERSOLARIS=1
47202 USE_SOSYMLINKS=1
47203 ;;
47204
47205 *-*-darwin* )
47206 USE_MACVERSION=1
47207 USE_SOVERSION=1
47208 USE_SOSYMLINKS=1
47209 ;;
47210
47211 *-*-cygwin* )
47212 USE_SOVERSION=1
47213 USE_SOVERCYGWIN=1
47214 ;;
47215 esac
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225
47226 # Check whether --enable-dependency-tracking was given.
47227 if test "${enable_dependency_tracking+set}" = set; then
47228 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47229 fi
47230
47231
47232 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47233 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47234
47235 BK_DEPS=""
47236 if test "x$bk_use_trackdeps" = "xno" ; then
47237 DEPS_TRACKING=0
47238 { echo "$as_me:$LINENO: result: disabled" >&5
47239 echo "${ECHO_T}disabled" >&6; }
47240 else
47241 DEPS_TRACKING=1
47242
47243 if test "x$GCC" = "xyes"; then
47244 DEPSMODE=gcc
47245 case "${BAKEFILE_HOST}" in
47246 *-*-darwin* )
47247 DEPSFLAG="-no-cpp-precomp -MMD"
47248 ;;
47249 * )
47250 DEPSFLAG="-MMD"
47251 ;;
47252 esac
47253 { echo "$as_me:$LINENO: result: gcc" >&5
47254 echo "${ECHO_T}gcc" >&6; }
47255 elif test "x$MWCC" = "xyes"; then
47256 DEPSMODE=mwcc
47257 DEPSFLAG="-MM"
47258 { echo "$as_me:$LINENO: result: mwcc" >&5
47259 echo "${ECHO_T}mwcc" >&6; }
47260 elif test "x$SUNCC" = "xyes"; then
47261 DEPSMODE=unixcc
47262 DEPSFLAG="-xM1"
47263 { echo "$as_me:$LINENO: result: Sun cc" >&5
47264 echo "${ECHO_T}Sun cc" >&6; }
47265 elif test "x$SGICC" = "xyes"; then
47266 DEPSMODE=unixcc
47267 DEPSFLAG="-M"
47268 { echo "$as_me:$LINENO: result: SGI cc" >&5
47269 echo "${ECHO_T}SGI cc" >&6; }
47270 elif test "x$HPCC" = "xyes"; then
47271 DEPSMODE=unixcc
47272 DEPSFLAG="+make"
47273 { echo "$as_me:$LINENO: result: HP cc" >&5
47274 echo "${ECHO_T}HP cc" >&6; }
47275 elif test "x$COMPAQCC" = "xyes"; then
47276 DEPSMODE=gcc
47277 DEPSFLAG="-MD"
47278 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47279 echo "${ECHO_T}Compaq cc" >&6; }
47280 else
47281 DEPS_TRACKING=0
47282 { echo "$as_me:$LINENO: result: none" >&5
47283 echo "${ECHO_T}none" >&6; }
47284 fi
47285
47286 if test $DEPS_TRACKING = 1 ; then
47287
47288 D='$'
47289 cat <<EOF >bk-deps
47290 #!/bin/sh
47291
47292 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47293 # script. It is used to track C/C++ files dependencies in portable way.
47294 #
47295 # Permission is given to use this file in any way.
47296
47297 DEPSMODE=${DEPSMODE}
47298 DEPSDIR=.deps
47299 DEPSFLAG="${DEPSFLAG}"
47300
47301 mkdir -p ${D}DEPSDIR
47302
47303 if test ${D}DEPSMODE = gcc ; then
47304 ${D}* ${D}{DEPSFLAG}
47305 status=${D}?
47306 if test ${D}{status} != 0 ; then
47307 exit ${D}{status}
47308 fi
47309 # move created file to the location we want it in:
47310 while test ${D}# -gt 0; do
47311 case "${D}1" in
47312 -o )
47313 shift
47314 objfile=${D}1
47315 ;;
47316 -* )
47317 ;;
47318 * )
47319 srcfile=${D}1
47320 ;;
47321 esac
47322 shift
47323 done
47324 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47325 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47326 if test -f ${D}depfile ; then
47327 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47328 rm -f ${D}depfile
47329 else
47330 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47331 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47332 if test ! -f ${D}depfile ; then
47333 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47334 depfile="${D}objfile.d"
47335 fi
47336 if test -f ${D}depfile ; then
47337 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47338 rm -f ${D}depfile
47339 fi
47340 fi
47341 exit 0
47342 elif test ${D}DEPSMODE = mwcc ; then
47343 ${D}* || exit ${D}?
47344 # Run mwcc again with -MM and redirect into the dep file we want
47345 # NOTE: We can't use shift here because we need ${D}* to be valid
47346 prevarg=
47347 for arg in ${D}* ; do
47348 if test "${D}prevarg" = "-o"; then
47349 objfile=${D}arg
47350 else
47351 case "${D}arg" in
47352 -* )
47353 ;;
47354 * )
47355 srcfile=${D}arg
47356 ;;
47357 esac
47358 fi
47359 prevarg="${D}arg"
47360 done
47361 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47362 exit 0
47363 elif test ${D}DEPSMODE = unixcc; then
47364 ${D}* || exit ${D}?
47365 # Run compiler again with deps flag and redirect into the dep file.
47366 # It doesn't work if the '-o FILE' option is used, but without it the
47367 # dependency file will contain the wrong name for the object. So it is
47368 # removed from the command line, and the dep file is fixed with sed.
47369 cmd=""
47370 while test ${D}# -gt 0; do
47371 case "${D}1" in
47372 -o )
47373 shift
47374 objfile=${D}1
47375 ;;
47376 * )
47377 eval arg${D}#=\\${D}1
47378 cmd="${D}cmd \\${D}arg${D}#"
47379 ;;
47380 esac
47381 shift
47382 done
47383 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47384 exit 0
47385 else
47386 ${D}*
47387 exit ${D}?
47388 fi
47389 EOF
47390
47391 chmod +x bk-deps
47392 BK_DEPS="`pwd`/bk-deps"
47393 fi
47394 fi
47395
47396
47397
47398
47399
47400 case ${BAKEFILE_HOST} in
47401 *-*-cygwin* | *-*-mingw32* )
47402 if test -n "$ac_tool_prefix"; then
47403 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47404 set dummy ${ac_tool_prefix}windres; ac_word=$2
47405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47407 if test "${ac_cv_prog_WINDRES+set}" = set; then
47408 echo $ECHO_N "(cached) $ECHO_C" >&6
47409 else
47410 if test -n "$WINDRES"; then
47411 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47412 else
47413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47414 for as_dir in $PATH
47415 do
47416 IFS=$as_save_IFS
47417 test -z "$as_dir" && as_dir=.
47418 for ac_exec_ext in '' $ac_executable_extensions; do
47419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47420 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47422 break 2
47423 fi
47424 done
47425 done
47426 IFS=$as_save_IFS
47427
47428 fi
47429 fi
47430 WINDRES=$ac_cv_prog_WINDRES
47431 if test -n "$WINDRES"; then
47432 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47433 echo "${ECHO_T}$WINDRES" >&6; }
47434 else
47435 { echo "$as_me:$LINENO: result: no" >&5
47436 echo "${ECHO_T}no" >&6; }
47437 fi
47438
47439
47440 fi
47441 if test -z "$ac_cv_prog_WINDRES"; then
47442 ac_ct_WINDRES=$WINDRES
47443 # Extract the first word of "windres", so it can be a program name with args.
47444 set dummy windres; ac_word=$2
47445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47447 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47448 echo $ECHO_N "(cached) $ECHO_C" >&6
47449 else
47450 if test -n "$ac_ct_WINDRES"; then
47451 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47452 else
47453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47454 for as_dir in $PATH
47455 do
47456 IFS=$as_save_IFS
47457 test -z "$as_dir" && as_dir=.
47458 for ac_exec_ext in '' $ac_executable_extensions; do
47459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47460 ac_cv_prog_ac_ct_WINDRES="windres"
47461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47462 break 2
47463 fi
47464 done
47465 done
47466 IFS=$as_save_IFS
47467
47468 fi
47469 fi
47470 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47471 if test -n "$ac_ct_WINDRES"; then
47472 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47473 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47474 else
47475 { echo "$as_me:$LINENO: result: no" >&5
47476 echo "${ECHO_T}no" >&6; }
47477 fi
47478
47479 if test "x$ac_ct_WINDRES" = x; then
47480 WINDRES=""
47481 else
47482 case $cross_compiling:$ac_tool_warned in
47483 yes:)
47484 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47485 whose name does not start with the host triplet. If you think this
47486 configuration is useful to you, please write to autoconf@gnu.org." >&5
47487 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47488 whose name does not start with the host triplet. If you think this
47489 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47490 ac_tool_warned=yes ;;
47491 esac
47492 WINDRES=$ac_ct_WINDRES
47493 fi
47494 else
47495 WINDRES="$ac_cv_prog_WINDRES"
47496 fi
47497
47498 ;;
47499
47500 *-*-darwin* | powerpc-apple-macos* )
47501 # Extract the first word of "Rez", so it can be a program name with args.
47502 set dummy Rez; ac_word=$2
47503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47505 if test "${ac_cv_prog_REZ+set}" = set; then
47506 echo $ECHO_N "(cached) $ECHO_C" >&6
47507 else
47508 if test -n "$REZ"; then
47509 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47510 else
47511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47512 for as_dir in $PATH
47513 do
47514 IFS=$as_save_IFS
47515 test -z "$as_dir" && as_dir=.
47516 for ac_exec_ext in '' $ac_executable_extensions; do
47517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47518 ac_cv_prog_REZ="Rez"
47519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47520 break 2
47521 fi
47522 done
47523 done
47524 IFS=$as_save_IFS
47525
47526 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47527 fi
47528 fi
47529 REZ=$ac_cv_prog_REZ
47530 if test -n "$REZ"; then
47531 { echo "$as_me:$LINENO: result: $REZ" >&5
47532 echo "${ECHO_T}$REZ" >&6; }
47533 else
47534 { echo "$as_me:$LINENO: result: no" >&5
47535 echo "${ECHO_T}no" >&6; }
47536 fi
47537
47538
47539 # Extract the first word of "SetFile", so it can be a program name with args.
47540 set dummy SetFile; ac_word=$2
47541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47543 if test "${ac_cv_prog_SETFILE+set}" = set; then
47544 echo $ECHO_N "(cached) $ECHO_C" >&6
47545 else
47546 if test -n "$SETFILE"; then
47547 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47548 else
47549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47550 for as_dir in $PATH
47551 do
47552 IFS=$as_save_IFS
47553 test -z "$as_dir" && as_dir=.
47554 for ac_exec_ext in '' $ac_executable_extensions; do
47555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47556 ac_cv_prog_SETFILE="SetFile"
47557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47558 break 2
47559 fi
47560 done
47561 done
47562 IFS=$as_save_IFS
47563
47564 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47565 fi
47566 fi
47567 SETFILE=$ac_cv_prog_SETFILE
47568 if test -n "$SETFILE"; then
47569 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47570 echo "${ECHO_T}$SETFILE" >&6; }
47571 else
47572 { echo "$as_me:$LINENO: result: no" >&5
47573 echo "${ECHO_T}no" >&6; }
47574 fi
47575
47576
47577 ;;
47578 esac
47579
47580
47581
47582
47583
47584
47585 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47586
47587
47588 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47589
47590
47591
47592 # Check whether --enable-precomp-headers was given.
47593 if test "${enable_precomp_headers+set}" = set; then
47594 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47595 fi
47596
47597
47598 GCC_PCH=0
47599 ICC_PCH=0
47600 USE_PCH=0
47601 BK_MAKE_PCH=""
47602
47603 case ${BAKEFILE_HOST} in
47604 *-*-cygwin* )
47605 bk_use_pch="no"
47606 ;;
47607 esac
47608
47609 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47610 if test "x$GCC" = "xyes"; then
47611 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47612 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47613 cat >conftest.$ac_ext <<_ACEOF
47614 /* confdefs.h. */
47615 _ACEOF
47616 cat confdefs.h >>conftest.$ac_ext
47617 cat >>conftest.$ac_ext <<_ACEOF
47618 /* end confdefs.h. */
47619
47620 int
47621 main ()
47622 {
47623
47624 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47625 There is no PCH support
47626 #endif
47627 #if (__GNUC__ < 3)
47628 There is no PCH support
47629 #endif
47630 #if (__GNUC__ == 3) && \
47631 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47632 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47633 ( defined(__INTEL_COMPILER) )
47634 There is no PCH support
47635 #endif
47636
47637 ;
47638 return 0;
47639 }
47640 _ACEOF
47641 rm -f conftest.$ac_objext
47642 if { (ac_try="$ac_compile"
47643 case "(($ac_try" in
47644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47645 *) ac_try_echo=$ac_try;;
47646 esac
47647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47648 (eval "$ac_compile") 2>conftest.er1
47649 ac_status=$?
47650 grep -v '^ *+' conftest.er1 >conftest.err
47651 rm -f conftest.er1
47652 cat conftest.err >&5
47653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654 (exit $ac_status); } && {
47655 test -z "$ac_c_werror_flag" ||
47656 test ! -s conftest.err
47657 } && test -s conftest.$ac_objext; then
47658
47659 { echo "$as_me:$LINENO: result: yes" >&5
47660 echo "${ECHO_T}yes" >&6; }
47661 GCC_PCH=1
47662
47663 else
47664 echo "$as_me: failed program was:" >&5
47665 sed 's/^/| /' conftest.$ac_ext >&5
47666
47667
47668 cat >conftest.$ac_ext <<_ACEOF
47669 /* confdefs.h. */
47670 _ACEOF
47671 cat confdefs.h >>conftest.$ac_ext
47672 cat >>conftest.$ac_ext <<_ACEOF
47673 /* end confdefs.h. */
47674
47675 int
47676 main ()
47677 {
47678
47679 #if !defined(__INTEL_COMPILER) || \
47680 (__INTEL_COMPILER < 800)
47681 There is no PCH support
47682 #endif
47683
47684 ;
47685 return 0;
47686 }
47687 _ACEOF
47688 rm -f conftest.$ac_objext
47689 if { (ac_try="$ac_compile"
47690 case "(($ac_try" in
47691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47692 *) ac_try_echo=$ac_try;;
47693 esac
47694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47695 (eval "$ac_compile") 2>conftest.er1
47696 ac_status=$?
47697 grep -v '^ *+' conftest.er1 >conftest.err
47698 rm -f conftest.er1
47699 cat conftest.err >&5
47700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701 (exit $ac_status); } && {
47702 test -z "$ac_c_werror_flag" ||
47703 test ! -s conftest.err
47704 } && test -s conftest.$ac_objext; then
47705
47706 { echo "$as_me:$LINENO: result: yes" >&5
47707 echo "${ECHO_T}yes" >&6; }
47708 ICC_PCH=1
47709
47710 else
47711 echo "$as_me: failed program was:" >&5
47712 sed 's/^/| /' conftest.$ac_ext >&5
47713
47714
47715 { echo "$as_me:$LINENO: result: no" >&5
47716 echo "${ECHO_T}no" >&6; }
47717
47718 fi
47719
47720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47721
47722 fi
47723
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47726 USE_PCH=1
47727
47728 D='$'
47729 cat <<EOF >bk-make-pch
47730 #!/bin/sh
47731
47732 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47733 # script. It is used to generated precompiled headers.
47734 #
47735 # Permission is given to use this file in any way.
47736
47737 outfile="${D}{1}"
47738 header="${D}{2}"
47739 shift
47740 shift
47741
47742 compiler=""
47743 headerfile=""
47744
47745 while test ${D}{#} -gt 0; do
47746 add_to_cmdline=1
47747 case "${D}{1}" in
47748 -I* )
47749 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47750 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47751 headerfile="${D}{incdir}/${D}{header}"
47752 fi
47753 ;;
47754 -use-pch|-use_pch )
47755 shift
47756 add_to_cmdline=0
47757 ;;
47758 esac
47759 if test ${D}add_to_cmdline = 1 ; then
47760 compiler="${D}{compiler} ${D}{1}"
47761 fi
47762 shift
47763 done
47764
47765 if test "x${D}{headerfile}" = "x" ; then
47766 echo "error: can't find header ${D}{header} in include paths" >&2
47767 else
47768 if test -f ${D}{outfile} ; then
47769 rm -f ${D}{outfile}
47770 else
47771 mkdir -p \`dirname ${D}{outfile}\`
47772 fi
47773 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47774 mkdir -p .deps
47775 if test "x${GCC_PCH}" = "x1" ; then
47776 # can do this because gcc is >= 3.4:
47777 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47778 elif test "x${ICC_PCH}" = "x1" ; then
47779 filename=pch_gen-${D}${D}
47780 file=${D}{filename}.c
47781 dfile=${D}{filename}.d
47782 cat > ${D}file <<EOT
47783 #include "${D}header"
47784 EOT
47785 # using -MF icc complains about differing command lines in creation/use
47786 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47787 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47788 rm -f ${D}file ${D}dfile ${D}{filename}.o
47789 fi
47790 exit ${D}{?}
47791 fi
47792 EOF
47793
47794 chmod +x bk-make-pch
47795 BK_MAKE_PCH="`pwd`/bk-make-pch"
47796 fi
47797 fi
47798 fi
47799
47800
47801
47802
47803
47804 COND_BUILD_DEBUG="#"
47805 if test "x$BUILD" = "xdebug" ; then
47806 COND_BUILD_DEBUG=""
47807 fi
47808
47809 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47810 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47812 fi
47813
47814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47815 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47816 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47817 fi
47818
47819 COND_BUILD_DEBUG_UNICODE_0="#"
47820 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47821 COND_BUILD_DEBUG_UNICODE_0=""
47822 fi
47823
47824 COND_BUILD_DEBUG_UNICODE_1="#"
47825 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47826 COND_BUILD_DEBUG_UNICODE_1=""
47827 fi
47828
47829 COND_BUILD_RELEASE="#"
47830 if test "x$BUILD" = "xrelease" ; then
47831 COND_BUILD_RELEASE=""
47832 fi
47833
47834 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47835 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47836 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47837 fi
47838
47839 COND_BUILD_RELEASE_UNICODE_0="#"
47840 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47841 COND_BUILD_RELEASE_UNICODE_0=""
47842 fi
47843
47844 COND_BUILD_RELEASE_UNICODE_1="#"
47845 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47846 COND_BUILD_RELEASE_UNICODE_1=""
47847 fi
47848
47849 COND_DEBUG_FLAG_1="#"
47850 if test "x$DEBUG_FLAG" = "x1" ; then
47851 COND_DEBUG_FLAG_1=""
47852 fi
47853
47854 COND_DEBUG_INFO_0="#"
47855 if test "x$DEBUG_INFO" = "x0" ; then
47856 COND_DEBUG_INFO_0=""
47857 fi
47858
47859 COND_DEBUG_INFO_1="#"
47860 if test "x$DEBUG_INFO" = "x1" ; then
47861 COND_DEBUG_INFO_1=""
47862 fi
47863
47864 COND_DEPS_TRACKING_0="#"
47865 if test "x$DEPS_TRACKING" = "x0" ; then
47866 COND_DEPS_TRACKING_0=""
47867 fi
47868
47869 COND_DEPS_TRACKING_1="#"
47870 if test "x$DEPS_TRACKING" = "x1" ; then
47871 COND_DEPS_TRACKING_1=""
47872 fi
47873
47874 COND_GCC_PCH_1="#"
47875 if test "x$GCC_PCH" = "x1" ; then
47876 COND_GCC_PCH_1=""
47877 fi
47878
47879 COND_ICC_PCH_1="#"
47880 if test "x$ICC_PCH" = "x1" ; then
47881 COND_ICC_PCH_1=""
47882 fi
47883
47884 COND_MONOLITHIC_0="#"
47885 if test "x$MONOLITHIC" = "x0" ; then
47886 COND_MONOLITHIC_0=""
47887 fi
47888
47889 COND_MONOLITHIC_0_SHARED_0="#"
47890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47891 COND_MONOLITHIC_0_SHARED_0=""
47892 fi
47893
47894 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47896 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47897 fi
47898
47899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47901 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47902 fi
47903
47904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47906 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47907 fi
47908
47909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47912 fi
47913
47914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47917 fi
47918
47919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47922 fi
47923
47924 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47926 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47927 fi
47928
47929 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47931 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47932 fi
47933
47934 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47936 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47937 fi
47938
47939 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47941 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47942 fi
47943
47944 COND_MONOLITHIC_0_SHARED_1="#"
47945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47946 COND_MONOLITHIC_0_SHARED_1=""
47947 fi
47948
47949 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47951 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47952 fi
47953
47954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47957 fi
47958
47959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47962 fi
47963
47964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47967 fi
47968
47969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47971 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47972 fi
47973
47974 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47976 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47977 fi
47978
47979 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47981 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47982 fi
47983
47984 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47986 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47987 fi
47988
47989 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47991 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47992 fi
47993
47994 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47996 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47997 fi
47998
47999 COND_MONOLITHIC_0_USE_AUI_1="#"
48000 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48001 COND_MONOLITHIC_0_USE_AUI_1=""
48002 fi
48003
48004 COND_MONOLITHIC_0_USE_GUI_1="#"
48005 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48006 COND_MONOLITHIC_0_USE_GUI_1=""
48007 fi
48008
48009 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48010 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48011 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48012 fi
48013
48014 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48015 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48016 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48017 fi
48018
48019 COND_MONOLITHIC_0_USE_HTML_1="#"
48020 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48021 COND_MONOLITHIC_0_USE_HTML_1=""
48022 fi
48023
48024 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48025 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48026 COND_MONOLITHIC_0_USE_MEDIA_1=""
48027 fi
48028
48029 COND_MONOLITHIC_0_USE_ODBC_1="#"
48030 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48031 COND_MONOLITHIC_0_USE_ODBC_1=""
48032 fi
48033
48034 COND_MONOLITHIC_0_USE_QA_1="#"
48035 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48036 COND_MONOLITHIC_0_USE_QA_1=""
48037 fi
48038
48039 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48040 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48041 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48042 fi
48043
48044 COND_MONOLITHIC_0_USE_STC_1="#"
48045 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48046 COND_MONOLITHIC_0_USE_STC_1=""
48047 fi
48048
48049 COND_MONOLITHIC_0_USE_XRC_1="#"
48050 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48051 COND_MONOLITHIC_0_USE_XRC_1=""
48052 fi
48053
48054 COND_MONOLITHIC_1="#"
48055 if test "x$MONOLITHIC" = "x1" ; then
48056 COND_MONOLITHIC_1=""
48057 fi
48058
48059 COND_MONOLITHIC_1_SHARED_0="#"
48060 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48061 COND_MONOLITHIC_1_SHARED_0=""
48062 fi
48063
48064 COND_MONOLITHIC_1_SHARED_1="#"
48065 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48066 COND_MONOLITHIC_1_SHARED_1=""
48067 fi
48068
48069 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48070 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48071 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48072 fi
48073
48074 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48075 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48076 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48077 fi
48078
48079 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48080 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48081 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48082 fi
48083
48084 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48085 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48086 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48087 fi
48088
48089 COND_PLATFORM_MACOSX_1="#"
48090 if test "x$PLATFORM_MACOSX" = "x1" ; then
48091 COND_PLATFORM_MACOSX_1=""
48092 fi
48093
48094 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48096 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48097 fi
48098
48099 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48101 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48102 fi
48103
48104 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48105 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48106 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48107 fi
48108
48109 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48110 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48111 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48112 fi
48113
48114 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48115 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48116 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48117 fi
48118
48119 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48120 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48121 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48122 fi
48123
48124 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48125 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48126 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48127 fi
48128
48129 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48130 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48131 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48132 fi
48133
48134 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48135 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48136 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48137 fi
48138
48139 COND_PLATFORM_MACOS_1="#"
48140 if test "x$PLATFORM_MACOS" = "x1" ; then
48141 COND_PLATFORM_MACOS_1=""
48142 fi
48143
48144 COND_PLATFORM_MAC_1="#"
48145 if test "x$PLATFORM_MAC" = "x1" ; then
48146 COND_PLATFORM_MAC_1=""
48147 fi
48148
48149 COND_PLATFORM_MSDOS_0="#"
48150 if test "x$PLATFORM_MSDOS" = "x0" ; then
48151 COND_PLATFORM_MSDOS_0=""
48152 fi
48153
48154 COND_PLATFORM_MSDOS_1="#"
48155 if test "x$PLATFORM_MSDOS" = "x1" ; then
48156 COND_PLATFORM_MSDOS_1=""
48157 fi
48158
48159 COND_PLATFORM_OS2_1="#"
48160 if test "x$PLATFORM_OS2" = "x1" ; then
48161 COND_PLATFORM_OS2_1=""
48162 fi
48163
48164 COND_PLATFORM_UNIX_0="#"
48165 if test "x$PLATFORM_UNIX" = "x0" ; then
48166 COND_PLATFORM_UNIX_0=""
48167 fi
48168
48169 COND_PLATFORM_UNIX_1="#"
48170 if test "x$PLATFORM_UNIX" = "x1" ; then
48171 COND_PLATFORM_UNIX_1=""
48172 fi
48173
48174 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48175 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48176 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48177 fi
48178
48179 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48180 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48181 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48182 fi
48183
48184 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48185 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48186 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48187 fi
48188
48189 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48190 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48191 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48192 fi
48193
48194 COND_PLATFORM_WIN32_0="#"
48195 if test "x$PLATFORM_WIN32" = "x0" ; then
48196 COND_PLATFORM_WIN32_0=""
48197 fi
48198
48199 COND_PLATFORM_WIN32_1="#"
48200 if test "x$PLATFORM_WIN32" = "x1" ; then
48201 COND_PLATFORM_WIN32_1=""
48202 fi
48203
48204 COND_SHARED_0="#"
48205 if test "x$SHARED" = "x0" ; then
48206 COND_SHARED_0=""
48207 fi
48208
48209 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48210 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48211 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48212 fi
48213
48214 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48215 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48216 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48217 fi
48218
48219 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48220 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48221 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48222 fi
48223
48224 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48225 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48226 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48227 fi
48228
48229 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48230 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48231 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48232 fi
48233
48234 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48235 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48236 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48237 fi
48238
48239 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48240 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48241 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48242 fi
48243
48244 COND_SHARED_0_USE_STC_1="#"
48245 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48246 COND_SHARED_0_USE_STC_1=""
48247 fi
48248
48249 COND_SHARED_0_USE_XRC_1="#"
48250 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48251 COND_SHARED_0_USE_XRC_1=""
48252 fi
48253
48254 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48255 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48256 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48257 fi
48258
48259 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48260 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48261 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48262 fi
48263
48264 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48265 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48266 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48267 fi
48268
48269 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48270 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48271 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48272 fi
48273
48274 COND_SHARED_1="#"
48275 if test "x$SHARED" = "x1" ; then
48276 COND_SHARED_1=""
48277 fi
48278
48279 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48280 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48281 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48282 fi
48283
48284 COND_SHARED_1_USE_XRC_1="#"
48285 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48286 COND_SHARED_1_USE_XRC_1=""
48287 fi
48288
48289 COND_TOOLKIT_="#"
48290 if test "x$TOOLKIT" = "x" ; then
48291 COND_TOOLKIT_=""
48292 fi
48293
48294 COND_TOOLKIT_COCOA="#"
48295 if test "x$TOOLKIT" = "xCOCOA" ; then
48296 COND_TOOLKIT_COCOA=""
48297 fi
48298
48299 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48300 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48301 COND_TOOLKIT_COCOA_USE_GUI_1=""
48302 fi
48303
48304 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48305 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48306 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48307 fi
48308
48309 COND_TOOLKIT_DFB="#"
48310 if test "x$TOOLKIT" = "xDFB" ; then
48311 COND_TOOLKIT_DFB=""
48312 fi
48313
48314 COND_TOOLKIT_DFB_USE_GUI_1="#"
48315 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48316 COND_TOOLKIT_DFB_USE_GUI_1=""
48317 fi
48318
48319 COND_TOOLKIT_GTK="#"
48320 if test "x$TOOLKIT" = "xGTK" ; then
48321 COND_TOOLKIT_GTK=""
48322 fi
48323
48324 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48325 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48326 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48327 fi
48328
48329 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48330 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48331 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48332 fi
48333
48334 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48335 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48336 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48337 fi
48338
48339 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48340 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48341 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48342 fi
48343
48344 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48345 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48346 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48347 fi
48348
48349 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48350 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48351 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48352 fi
48353
48354 COND_TOOLKIT_GTK_USE_GUI_1="#"
48355 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48356 COND_TOOLKIT_GTK_USE_GUI_1=""
48357 fi
48358
48359 COND_TOOLKIT_MAC="#"
48360 if test "x$TOOLKIT" = "xMAC" ; then
48361 COND_TOOLKIT_MAC=""
48362 fi
48363
48364 COND_TOOLKIT_MAC_USE_GUI_1="#"
48365 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48366 COND_TOOLKIT_MAC_USE_GUI_1=""
48367 fi
48368
48369 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48370 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48371 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48372 fi
48373
48374 COND_TOOLKIT_MGL="#"
48375 if test "x$TOOLKIT" = "xMGL" ; then
48376 COND_TOOLKIT_MGL=""
48377 fi
48378
48379 COND_TOOLKIT_MGL_USE_GUI_1="#"
48380 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48381 COND_TOOLKIT_MGL_USE_GUI_1=""
48382 fi
48383
48384 COND_TOOLKIT_MOTIF="#"
48385 if test "x$TOOLKIT" = "xMOTIF" ; then
48386 COND_TOOLKIT_MOTIF=""
48387 fi
48388
48389 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48390 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48391 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48392 fi
48393
48394 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48395 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48396 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48397 fi
48398
48399 COND_TOOLKIT_MSW="#"
48400 if test "x$TOOLKIT" = "xMSW" ; then
48401 COND_TOOLKIT_MSW=""
48402 fi
48403
48404 COND_TOOLKIT_MSW_USE_GUI_1="#"
48405 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48406 COND_TOOLKIT_MSW_USE_GUI_1=""
48407 fi
48408
48409 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48410 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48411 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48412 fi
48413
48414 COND_TOOLKIT_MSW_WXUNIV_0="#"
48415 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48416 COND_TOOLKIT_MSW_WXUNIV_0=""
48417 fi
48418
48419 COND_TOOLKIT_PM="#"
48420 if test "x$TOOLKIT" = "xPM" ; then
48421 COND_TOOLKIT_PM=""
48422 fi
48423
48424 COND_TOOLKIT_PM_USE_GUI_1="#"
48425 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48426 COND_TOOLKIT_PM_USE_GUI_1=""
48427 fi
48428
48429 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48430 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48431 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48432 fi
48433
48434 COND_TOOLKIT_WINCE="#"
48435 if test "x$TOOLKIT" = "xWINCE" ; then
48436 COND_TOOLKIT_WINCE=""
48437 fi
48438
48439 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48440 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48441 COND_TOOLKIT_WINCE_USE_GUI_1=""
48442 fi
48443
48444 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48445 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48446 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48447 fi
48448
48449 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48450 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48451 COND_TOOLKIT_WINCE_WXUNIV_0=""
48452 fi
48453
48454 COND_TOOLKIT_X11="#"
48455 if test "x$TOOLKIT" = "xX11" ; then
48456 COND_TOOLKIT_X11=""
48457 fi
48458
48459 COND_TOOLKIT_X11_USE_GUI_1="#"
48460 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48461 COND_TOOLKIT_X11_USE_GUI_1=""
48462 fi
48463
48464 COND_UNICODE_1="#"
48465 if test "x$UNICODE" = "x1" ; then
48466 COND_UNICODE_1=""
48467 fi
48468
48469 COND_USE_EXCEPTIONS_0="#"
48470 if test "x$USE_EXCEPTIONS" = "x0" ; then
48471 COND_USE_EXCEPTIONS_0=""
48472 fi
48473
48474 COND_USE_EXCEPTIONS_1="#"
48475 if test "x$USE_EXCEPTIONS" = "x1" ; then
48476 COND_USE_EXCEPTIONS_1=""
48477 fi
48478
48479 COND_USE_GUI_0="#"
48480 if test "x$USE_GUI" = "x0" ; then
48481 COND_USE_GUI_0=""
48482 fi
48483
48484 COND_USE_GUI_1="#"
48485 if test "x$USE_GUI" = "x1" ; then
48486 COND_USE_GUI_1=""
48487 fi
48488
48489 COND_USE_GUI_1_USE_OPENGL_1="#"
48490 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48491 COND_USE_GUI_1_USE_OPENGL_1=""
48492 fi
48493
48494 COND_USE_GUI_1_WXUNIV_0="#"
48495 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48496 COND_USE_GUI_1_WXUNIV_0=""
48497 fi
48498
48499 COND_USE_GUI_1_WXUNIV_1="#"
48500 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48501 COND_USE_GUI_1_WXUNIV_1=""
48502 fi
48503
48504 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48505 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48506 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48507 fi
48508
48509 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48510 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48511 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48512 fi
48513
48514 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48515 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48516 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48517 fi
48518
48519 COND_USE_ODBC_1="#"
48520 if test "x$USE_ODBC" = "x1" ; then
48521 COND_USE_ODBC_1=""
48522 fi
48523
48524 COND_USE_OPENGL_1="#"
48525 if test "x$USE_OPENGL" = "x1" ; then
48526 COND_USE_OPENGL_1=""
48527 fi
48528
48529 COND_USE_PCH_1="#"
48530 if test "x$USE_PCH" = "x1" ; then
48531 COND_USE_PCH_1=""
48532 fi
48533
48534 COND_USE_PLUGINS_0="#"
48535 if test "x$USE_PLUGINS" = "x0" ; then
48536 COND_USE_PLUGINS_0=""
48537 fi
48538
48539 COND_USE_RTTI_0="#"
48540 if test "x$USE_RTTI" = "x0" ; then
48541 COND_USE_RTTI_0=""
48542 fi
48543
48544 COND_USE_RTTI_1="#"
48545 if test "x$USE_RTTI" = "x1" ; then
48546 COND_USE_RTTI_1=""
48547 fi
48548
48549 COND_USE_SOSYMLINKS_1="#"
48550 if test "x$USE_SOSYMLINKS" = "x1" ; then
48551 COND_USE_SOSYMLINKS_1=""
48552 fi
48553
48554 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48555 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48556 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48557 fi
48558
48559 COND_USE_SOVERLINUX_1="#"
48560 if test "x$USE_SOVERLINUX" = "x1" ; then
48561 COND_USE_SOVERLINUX_1=""
48562 fi
48563
48564 COND_USE_SOVERSION_0="#"
48565 if test "x$USE_SOVERSION" = "x0" ; then
48566 COND_USE_SOVERSION_0=""
48567 fi
48568
48569 COND_USE_SOVERSOLARIS_1="#"
48570 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48571 COND_USE_SOVERSOLARIS_1=""
48572 fi
48573
48574 COND_USE_STC_1="#"
48575 if test "x$USE_STC" = "x1" ; then
48576 COND_USE_STC_1=""
48577 fi
48578
48579 COND_USE_THREADS_0="#"
48580 if test "x$USE_THREADS" = "x0" ; then
48581 COND_USE_THREADS_0=""
48582 fi
48583
48584 COND_USE_THREADS_1="#"
48585 if test "x$USE_THREADS" = "x1" ; then
48586 COND_USE_THREADS_1=""
48587 fi
48588
48589 COND_USE_XRC_1="#"
48590 if test "x$USE_XRC" = "x1" ; then
48591 COND_USE_XRC_1=""
48592 fi
48593
48594 COND_WINDOWS_IMPLIB_1="#"
48595 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48596 COND_WINDOWS_IMPLIB_1=""
48597 fi
48598
48599 COND_WITH_PLUGIN_SDL_1="#"
48600 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48601 COND_WITH_PLUGIN_SDL_1=""
48602 fi
48603
48604 COND_WXUNIV_0="#"
48605 if test "x$WXUNIV" = "x0" ; then
48606 COND_WXUNIV_0=""
48607 fi
48608
48609 COND_WXUNIV_1="#"
48610 if test "x$WXUNIV" = "x1" ; then
48611 COND_WXUNIV_1=""
48612 fi
48613
48614 COND_WXUSE_EXPAT_BUILTIN="#"
48615 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48616 COND_WXUSE_EXPAT_BUILTIN=""
48617 fi
48618
48619 COND_WXUSE_LIBJPEG_BUILTIN="#"
48620 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48621 COND_WXUSE_LIBJPEG_BUILTIN=""
48622 fi
48623
48624 COND_WXUSE_LIBPNG_BUILTIN="#"
48625 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48626 COND_WXUSE_LIBPNG_BUILTIN=""
48627 fi
48628
48629 COND_WXUSE_LIBTIFF_BUILTIN="#"
48630 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48631 COND_WXUSE_LIBTIFF_BUILTIN=""
48632 fi
48633
48634 COND_WXUSE_ODBC_BUILTIN="#"
48635 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48636 COND_WXUSE_ODBC_BUILTIN=""
48637 fi
48638
48639 COND_WXUSE_REGEX_BUILTIN="#"
48640 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48641 COND_WXUSE_REGEX_BUILTIN=""
48642 fi
48643
48644 COND_WXUSE_ZLIB_BUILTIN="#"
48645 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48646 COND_WXUSE_ZLIB_BUILTIN=""
48647 fi
48648
48649
48650
48651 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48652 { { 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
48653 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;}
48654 { (exit 1); exit 1; }; }
48655 fi
48656
48657 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48658 { { 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
48659 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;}
48660 { (exit 1); exit 1; }; }
48661 fi
48662
48663
48664 if test $GCC_PCH = 1
48665 then
48666 if test "$wx_cv_gcc_pch_bug" = yes; then
48667 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48668 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48669 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48670 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48671 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48672 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48673 fi
48674
48675 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48676 fi
48677
48678
48679 if test "$wxUSE_MAC" = 1 ; then
48680 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48681 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48682 mv temp bk-deps
48683 chmod +x bk-deps
48684 fi
48685 fi
48686
48687 if test "$wxUSE_SHARED" = "yes"; then
48688
48689 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48690 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48691
48692 case "${host}" in
48693 *-pc-os2_emx | *-pc-os2-emx )
48694 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48695 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48696 cp -p ${srcdir}/src/os2/dllnames.sh .
48697 cp -p ${srcdir}/src/os2/dllar.sh .
48698 ;;
48699 esac
48700 else
48701
48702 EXE_LINKER="$CXX -o"
48703
48704 fi
48705 if test "$wxUSE_OMF" = "yes"; then
48706 case "${host}" in
48707 *-pc-os2_emx | *-pc-os2-emx )
48708 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48709 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48710 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48711 ;;
48712 esac
48713 fi
48714
48715 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48716
48717 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48780 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48781 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48782 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48784 else
48785 cat >conftest.make <<\_ACEOF
48786 SHELL = /bin/sh
48787 all:
48788 @echo '@@@%%%=$(MAKE)=@@@%%%'
48789 _ACEOF
48790 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48791 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48792 *@@@%%%=?*=@@@%%%*)
48793 eval ac_cv_prog_make_${ac_make}_set=yes;;
48794 *)
48795 eval ac_cv_prog_make_${ac_make}_set=no;;
48796 esac
48797 rm -f conftest.make
48798 fi
48799 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48800 { echo "$as_me:$LINENO: result: yes" >&5
48801 echo "${ECHO_T}yes" >&6; }
48802 SET_MAKE=
48803 else
48804 { echo "$as_me:$LINENO: result: no" >&5
48805 echo "${ECHO_T}no" >&6; }
48806 SET_MAKE="MAKE=${MAKE-make}"
48807 fi
48808
48809
48810
48811 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48812
48813
48814 if test "$USE_WIN32" = 1; then
48815 ac_config_commands="$ac_config_commands
48816 rcdefs.h
48817 "
48818
48819 fi
48820
48821 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48822
48823
48824 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48825
48826
48827 if test "$wx_cv_version_script" = "yes"; then
48828 ac_config_files="$ac_config_files version-script"
48829
48830 fi
48831 ac_config_files="$ac_config_files Makefile"
48832
48833
48834 ac_config_commands="$ac_config_commands wx-config"
48835
48836
48837
48838 if test "$wxWITH_SUBDIRS" != "no"; then
48839 if test "$wxUSE_GUI" = "yes"; then
48840 SUBDIRS="samples demos utils"
48841 else SUBDIRS="samples utils"
48842 fi
48843
48844
48845
48846 # Check whether --with-cppunit-prefix was given.
48847 if test "${with_cppunit_prefix+set}" = set; then
48848 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48849 else
48850 cppunit_config_prefix=""
48851 fi
48852
48853
48854 # Check whether --with-cppunit-exec-prefix was given.
48855 if test "${with_cppunit_exec_prefix+set}" = set; then
48856 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48857 else
48858 cppunit_config_exec_prefix=""
48859 fi
48860
48861
48862 if test x$cppunit_config_exec_prefix != x ; then
48863 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48864 if test x${CPPUNIT_CONFIG+set} != xset ; then
48865 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48866 fi
48867 fi
48868 if test x$cppunit_config_prefix != x ; then
48869 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48870 if test x${CPPUNIT_CONFIG+set} != xset ; then
48871 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48872 fi
48873 fi
48874
48875 # Extract the first word of "cppunit-config", so it can be a program name with args.
48876 set dummy cppunit-config; ac_word=$2
48877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48879 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48880 echo $ECHO_N "(cached) $ECHO_C" >&6
48881 else
48882 case $CPPUNIT_CONFIG in
48883 [\\/]* | ?:[\\/]*)
48884 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48885 ;;
48886 *)
48887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48888 for as_dir in $PATH
48889 do
48890 IFS=$as_save_IFS
48891 test -z "$as_dir" && as_dir=.
48892 for ac_exec_ext in '' $ac_executable_extensions; do
48893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48894 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48896 break 2
48897 fi
48898 done
48899 done
48900 IFS=$as_save_IFS
48901
48902 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48903 ;;
48904 esac
48905 fi
48906 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48907 if test -n "$CPPUNIT_CONFIG"; then
48908 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48909 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48910 else
48911 { echo "$as_me:$LINENO: result: no" >&5
48912 echo "${ECHO_T}no" >&6; }
48913 fi
48914
48915
48916 cppunit_version_min=1.8.0
48917
48918 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48919 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48920 no_cppunit=""
48921 if test "$CPPUNIT_CONFIG" = "no" ; then
48922 { echo "$as_me:$LINENO: result: no" >&5
48923 echo "${ECHO_T}no" >&6; }
48924 no_cppunit=yes
48925 else
48926 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48927 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48928 cppunit_version=`$CPPUNIT_CONFIG --version`
48929
48930 cppunit_major_version=`echo $cppunit_version | \
48931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48932 cppunit_minor_version=`echo $cppunit_version | \
48933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48934 cppunit_micro_version=`echo $cppunit_version | \
48935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48936
48937 cppunit_major_min=`echo $cppunit_version_min | \
48938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48939 if test "x${cppunit_major_min}" = "x" ; then
48940 cppunit_major_min=0
48941 fi
48942
48943 cppunit_minor_min=`echo $cppunit_version_min | \
48944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48945 if test "x${cppunit_minor_min}" = "x" ; then
48946 cppunit_minor_min=0
48947 fi
48948
48949 cppunit_micro_min=`echo $cppunit_version_min | \
48950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48951 if test "x${cppunit_micro_min}" = "x" ; then
48952 cppunit_micro_min=0
48953 fi
48954
48955 cppunit_version_proper=`expr \
48956 $cppunit_major_version \> $cppunit_major_min \| \
48957 $cppunit_major_version \= $cppunit_major_min \& \
48958 $cppunit_minor_version \> $cppunit_minor_min \| \
48959 $cppunit_major_version \= $cppunit_major_min \& \
48960 $cppunit_minor_version \= $cppunit_minor_min \& \
48961 $cppunit_micro_version \>= $cppunit_micro_min `
48962
48963 if test "$cppunit_version_proper" = "1" ; then
48964 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48965 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48966 else
48967 { echo "$as_me:$LINENO: result: no" >&5
48968 echo "${ECHO_T}no" >&6; }
48969 no_cppunit=yes
48970 fi
48971 fi
48972
48973 if test "x$no_cppunit" = x ; then
48974 SUBDIRS="$SUBDIRS tests"
48975 else
48976 CPPUNIT_CFLAGS=""
48977 CPPUNIT_LIBS=""
48978 :
48979 fi
48980
48981
48982
48983
48984
48985 for subdir in `echo $SUBDIRS`; do
48986 if test -d ${srcdir}/${subdir} ; then
48987 if test "$wxUSE_GUI" = "yes"; then
48988 if test ${subdir} = "samples"; then
48989 makefiles="samples/Makefile.in $makefiles"
48990 for sample in `echo $SAMPLES_SUBDIRS`; do
48991 if test -d $srcdir/samples/$sample; then
48992 makefiles="samples/$sample/Makefile.in $makefiles"
48993 fi
48994 done
48995 else
48996 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48997 eval "disabled=\$$disabled_var"
48998 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48999 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49000 fi
49001 else if test ${subdir} = "samples"; then
49002 makefiles="samples/Makefile.in samples/console/Makefile.in"
49003 elif test ${subdir} = "utils"; then
49004 makefiles=""
49005 for util in HelpGen tex2rtf ; do
49006 if test -d $srcdir/utils/$util ; then
49007 makefiles="utils/$util/Makefile.in \
49008 utils/$util/src/Makefile.in \
49009 $makefiles"
49010 fi
49011 done
49012 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49013 fi
49014 fi
49015
49016 for mkin in $makefiles ; do
49017 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49018 ac_config_files="$ac_config_files $mk"
49019
49020 done
49021 fi
49022 done
49023 fi
49024 cat >confcache <<\_ACEOF
49025 # This file is a shell script that caches the results of configure
49026 # tests run on this system so they can be shared between configure
49027 # scripts and configure runs, see configure's option --config-cache.
49028 # It is not useful on other systems. If it contains results you don't
49029 # want to keep, you may remove or edit it.
49030 #
49031 # config.status only pays attention to the cache file if you give it
49032 # the --recheck option to rerun configure.
49033 #
49034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49036 # following values.
49037
49038 _ACEOF
49039
49040 # The following way of writing the cache mishandles newlines in values,
49041 # but we know of no workaround that is simple, portable, and efficient.
49042 # So, we kill variables containing newlines.
49043 # Ultrix sh set writes to stderr and can't be redirected directly,
49044 # and sets the high bit in the cache file unless we assign to the vars.
49045 (
49046 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49047 eval ac_val=\$$ac_var
49048 case $ac_val in #(
49049 *${as_nl}*)
49050 case $ac_var in #(
49051 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49052 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49053 esac
49054 case $ac_var in #(
49055 _ | IFS | as_nl) ;; #(
49056 *) $as_unset $ac_var ;;
49057 esac ;;
49058 esac
49059 done
49060
49061 (set) 2>&1 |
49062 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49063 *${as_nl}ac_space=\ *)
49064 # `set' does not quote correctly, so add quotes (double-quote
49065 # substitution turns \\\\ into \\, and sed turns \\ into \).
49066 sed -n \
49067 "s/'/'\\\\''/g;
49068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49069 ;; #(
49070 *)
49071 # `set' quotes correctly as required by POSIX, so do not add quotes.
49072 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49073 ;;
49074 esac |
49075 sort
49076 ) |
49077 sed '
49078 /^ac_cv_env_/b end
49079 t clear
49080 :clear
49081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49082 t end
49083 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49084 :end' >>confcache
49085 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49086 if test -w "$cache_file"; then
49087 test "x$cache_file" != "x/dev/null" &&
49088 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49089 echo "$as_me: updating cache $cache_file" >&6;}
49090 cat confcache >$cache_file
49091 else
49092 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49093 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49094 fi
49095 fi
49096 rm -f confcache
49097
49098 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49099 # Let make expand exec_prefix.
49100 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49101
49102 DEFS=-DHAVE_CONFIG_H
49103
49104 ac_libobjs=
49105 ac_ltlibobjs=
49106 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49107 # 1. Remove the extension, and $U if already installed.
49108 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49109 ac_i=`echo "$ac_i" | sed "$ac_script"`
49110 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49111 # will be set to the directory where LIBOBJS objects are built.
49112 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49113 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49114 done
49115 LIBOBJS=$ac_libobjs
49116
49117 LTLIBOBJS=$ac_ltlibobjs
49118
49119
49120
49121 : ${CONFIG_STATUS=./config.status}
49122 ac_clean_files_save=$ac_clean_files
49123 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49124 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49125 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49126 cat >$CONFIG_STATUS <<_ACEOF
49127 #! $SHELL
49128 # Generated by $as_me.
49129 # Run this file to recreate the current configuration.
49130 # Compiler output produced by configure, useful for debugging
49131 # configure, is in config.log if it exists.
49132
49133 debug=false
49134 ac_cs_recheck=false
49135 ac_cs_silent=false
49136 SHELL=\${CONFIG_SHELL-$SHELL}
49137 _ACEOF
49138
49139 cat >>$CONFIG_STATUS <<\_ACEOF
49140 ## --------------------- ##
49141 ## M4sh Initialization. ##
49142 ## --------------------- ##
49143
49144 # Be more Bourne compatible
49145 DUALCASE=1; export DUALCASE # for MKS sh
49146 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49147 emulate sh
49148 NULLCMD=:
49149 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49150 # is contrary to our usage. Disable this feature.
49151 alias -g '${1+"$@"}'='"$@"'
49152 setopt NO_GLOB_SUBST
49153 else
49154 case `(set -o) 2>/dev/null` in
49155 *posix*) set -o posix ;;
49156 esac
49157
49158 fi
49159
49160
49161
49162
49163 # PATH needs CR
49164 # Avoid depending upon Character Ranges.
49165 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49166 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49167 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49168 as_cr_digits='0123456789'
49169 as_cr_alnum=$as_cr_Letters$as_cr_digits
49170
49171 # The user is always right.
49172 if test "${PATH_SEPARATOR+set}" != set; then
49173 echo "#! /bin/sh" >conf$$.sh
49174 echo "exit 0" >>conf$$.sh
49175 chmod +x conf$$.sh
49176 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49177 PATH_SEPARATOR=';'
49178 else
49179 PATH_SEPARATOR=:
49180 fi
49181 rm -f conf$$.sh
49182 fi
49183
49184 # Support unset when possible.
49185 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49186 as_unset=unset
49187 else
49188 as_unset=false
49189 fi
49190
49191
49192 # IFS
49193 # We need space, tab and new line, in precisely that order. Quoting is
49194 # there to prevent editors from complaining about space-tab.
49195 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49196 # splitting by setting IFS to empty value.)
49197 as_nl='
49198 '
49199 IFS=" "" $as_nl"
49200
49201 # Find who we are. Look in the path if we contain no directory separator.
49202 case $0 in
49203 *[\\/]* ) as_myself=$0 ;;
49204 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49205 for as_dir in $PATH
49206 do
49207 IFS=$as_save_IFS
49208 test -z "$as_dir" && as_dir=.
49209 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49210 done
49211 IFS=$as_save_IFS
49212
49213 ;;
49214 esac
49215 # We did not find ourselves, most probably we were run as `sh COMMAND'
49216 # in which case we are not to be found in the path.
49217 if test "x$as_myself" = x; then
49218 as_myself=$0
49219 fi
49220 if test ! -f "$as_myself"; then
49221 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49222 { (exit 1); exit 1; }
49223 fi
49224
49225 # Work around bugs in pre-3.0 UWIN ksh.
49226 for as_var in ENV MAIL MAILPATH
49227 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49228 done
49229 PS1='$ '
49230 PS2='> '
49231 PS4='+ '
49232
49233 # NLS nuisances.
49234 for as_var in \
49235 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49236 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49237 LC_TELEPHONE LC_TIME
49238 do
49239 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49240 eval $as_var=C; export $as_var
49241 else
49242 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49243 fi
49244 done
49245
49246 # Required to use basename.
49247 if expr a : '\(a\)' >/dev/null 2>&1 &&
49248 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49249 as_expr=expr
49250 else
49251 as_expr=false
49252 fi
49253
49254 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49255 as_basename=basename
49256 else
49257 as_basename=false
49258 fi
49259
49260
49261 # Name of the executable.
49262 as_me=`$as_basename -- "$0" ||
49263 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49264 X"$0" : 'X\(//\)$' \| \
49265 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49266 echo X/"$0" |
49267 sed '/^.*\/\([^/][^/]*\)\/*$/{
49268 s//\1/
49269 q
49270 }
49271 /^X\/\(\/\/\)$/{
49272 s//\1/
49273 q
49274 }
49275 /^X\/\(\/\).*/{
49276 s//\1/
49277 q
49278 }
49279 s/.*/./; q'`
49280
49281 # CDPATH.
49282 $as_unset CDPATH
49283
49284
49285
49286 as_lineno_1=$LINENO
49287 as_lineno_2=$LINENO
49288 test "x$as_lineno_1" != "x$as_lineno_2" &&
49289 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49290
49291 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49292 # uniformly replaced by the line number. The first 'sed' inserts a
49293 # line-number line after each line using $LINENO; the second 'sed'
49294 # does the real work. The second script uses 'N' to pair each
49295 # line-number line with the line containing $LINENO, and appends
49296 # trailing '-' during substitution so that $LINENO is not a special
49297 # case at line end.
49298 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49299 # scripts with optimization help from Paolo Bonzini. Blame Lee
49300 # E. McMahon (1931-1989) for sed's syntax. :-)
49301 sed -n '
49302 p
49303 /[$]LINENO/=
49304 ' <$as_myself |
49305 sed '
49306 s/[$]LINENO.*/&-/
49307 t lineno
49308 b
49309 :lineno
49310 N
49311 :loop
49312 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49313 t loop
49314 s/-\n.*//
49315 ' >$as_me.lineno &&
49316 chmod +x "$as_me.lineno" ||
49317 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49318 { (exit 1); exit 1; }; }
49319
49320 # Don't try to exec as it changes $[0], causing all sort of problems
49321 # (the dirname of $[0] is not the place where we might find the
49322 # original and so on. Autoconf is especially sensitive to this).
49323 . "./$as_me.lineno"
49324 # Exit status is that of the last command.
49325 exit
49326 }
49327
49328
49329 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49330 as_dirname=dirname
49331 else
49332 as_dirname=false
49333 fi
49334
49335 ECHO_C= ECHO_N= ECHO_T=
49336 case `echo -n x` in
49337 -n*)
49338 case `echo 'x\c'` in
49339 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49340 *) ECHO_C='\c';;
49341 esac;;
49342 *)
49343 ECHO_N='-n';;
49344 esac
49345
49346 if expr a : '\(a\)' >/dev/null 2>&1 &&
49347 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49348 as_expr=expr
49349 else
49350 as_expr=false
49351 fi
49352
49353 rm -f conf$$ conf$$.exe conf$$.file
49354 if test -d conf$$.dir; then
49355 rm -f conf$$.dir/conf$$.file
49356 else
49357 rm -f conf$$.dir
49358 mkdir conf$$.dir
49359 fi
49360 echo >conf$$.file
49361 if ln -s conf$$.file conf$$ 2>/dev/null; then
49362 as_ln_s='ln -s'
49363 # ... but there are two gotchas:
49364 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49365 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49366 # In both cases, we have to default to `cp -p'.
49367 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49368 as_ln_s='cp -p'
49369 elif ln conf$$.file conf$$ 2>/dev/null; then
49370 as_ln_s=ln
49371 else
49372 as_ln_s='cp -p'
49373 fi
49374 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49375 rmdir conf$$.dir 2>/dev/null
49376
49377 if mkdir -p . 2>/dev/null; then
49378 as_mkdir_p=:
49379 else
49380 test -d ./-p && rmdir ./-p
49381 as_mkdir_p=false
49382 fi
49383
49384 if test -x / >/dev/null 2>&1; then
49385 as_test_x='test -x'
49386 else
49387 if ls -dL / >/dev/null 2>&1; then
49388 as_ls_L_option=L
49389 else
49390 as_ls_L_option=
49391 fi
49392 as_test_x='
49393 eval sh -c '\''
49394 if test -d "$1"; then
49395 test -d "$1/.";
49396 else
49397 case $1 in
49398 -*)set "./$1";;
49399 esac;
49400 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49401 ???[sx]*):;;*)false;;esac;fi
49402 '\'' sh
49403 '
49404 fi
49405 as_executable_p=$as_test_x
49406
49407 # Sed expression to map a string onto a valid CPP name.
49408 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49409
49410 # Sed expression to map a string onto a valid variable name.
49411 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49412
49413
49414 exec 6>&1
49415
49416 # Save the log message, to keep $[0] and so on meaningful, and to
49417 # report actual input values of CONFIG_FILES etc. instead of their
49418 # values after options handling.
49419 ac_log="
49420 This file was extended by wxWidgets $as_me 2.9.0, which was
49421 generated by GNU Autoconf 2.61. Invocation command line was
49422
49423 CONFIG_FILES = $CONFIG_FILES
49424 CONFIG_HEADERS = $CONFIG_HEADERS
49425 CONFIG_LINKS = $CONFIG_LINKS
49426 CONFIG_COMMANDS = $CONFIG_COMMANDS
49427 $ $0 $@
49428
49429 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49430 "
49431
49432 _ACEOF
49433
49434 cat >>$CONFIG_STATUS <<_ACEOF
49435 # Files that config.status was made for.
49436 config_files="$ac_config_files"
49437 config_headers="$ac_config_headers"
49438 config_commands="$ac_config_commands"
49439
49440 _ACEOF
49441
49442 cat >>$CONFIG_STATUS <<\_ACEOF
49443 ac_cs_usage="\
49444 \`$as_me' instantiates files from templates according to the
49445 current configuration.
49446
49447 Usage: $0 [OPTIONS] [FILE]...
49448
49449 -h, --help print this help, then exit
49450 -V, --version print version number and configuration settings, then exit
49451 -q, --quiet do not print progress messages
49452 -d, --debug don't remove temporary files
49453 --recheck update $as_me by reconfiguring in the same conditions
49454 --file=FILE[:TEMPLATE]
49455 instantiate the configuration file FILE
49456 --header=FILE[:TEMPLATE]
49457 instantiate the configuration header FILE
49458
49459 Configuration files:
49460 $config_files
49461
49462 Configuration headers:
49463 $config_headers
49464
49465 Configuration commands:
49466 $config_commands
49467
49468 Report bugs to <bug-autoconf@gnu.org>."
49469
49470 _ACEOF
49471 cat >>$CONFIG_STATUS <<_ACEOF
49472 ac_cs_version="\\
49473 wxWidgets config.status 2.9.0
49474 configured by $0, generated by GNU Autoconf 2.61,
49475 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49476
49477 Copyright (C) 2006 Free Software Foundation, Inc.
49478 This config.status script is free software; the Free Software Foundation
49479 gives unlimited permission to copy, distribute and modify it."
49480
49481 ac_pwd='$ac_pwd'
49482 srcdir='$srcdir'
49483 INSTALL='$INSTALL'
49484 _ACEOF
49485
49486 cat >>$CONFIG_STATUS <<\_ACEOF
49487 # If no file are specified by the user, then we need to provide default
49488 # value. By we need to know if files were specified by the user.
49489 ac_need_defaults=:
49490 while test $# != 0
49491 do
49492 case $1 in
49493 --*=*)
49494 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49495 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49496 ac_shift=:
49497 ;;
49498 *)
49499 ac_option=$1
49500 ac_optarg=$2
49501 ac_shift=shift
49502 ;;
49503 esac
49504
49505 case $ac_option in
49506 # Handling of the options.
49507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49508 ac_cs_recheck=: ;;
49509 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49510 echo "$ac_cs_version"; exit ;;
49511 --debug | --debu | --deb | --de | --d | -d )
49512 debug=: ;;
49513 --file | --fil | --fi | --f )
49514 $ac_shift
49515 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49516 ac_need_defaults=false;;
49517 --header | --heade | --head | --hea )
49518 $ac_shift
49519 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49520 ac_need_defaults=false;;
49521 --he | --h)
49522 # Conflict between --help and --header
49523 { echo "$as_me: error: ambiguous option: $1
49524 Try \`$0 --help' for more information." >&2
49525 { (exit 1); exit 1; }; };;
49526 --help | --hel | -h )
49527 echo "$ac_cs_usage"; exit ;;
49528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49529 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49530 ac_cs_silent=: ;;
49531
49532 # This is an error.
49533 -*) { echo "$as_me: error: unrecognized option: $1
49534 Try \`$0 --help' for more information." >&2
49535 { (exit 1); exit 1; }; } ;;
49536
49537 *) ac_config_targets="$ac_config_targets $1"
49538 ac_need_defaults=false ;;
49539
49540 esac
49541 shift
49542 done
49543
49544 ac_configure_extra_args=
49545
49546 if $ac_cs_silent; then
49547 exec 6>/dev/null
49548 ac_configure_extra_args="$ac_configure_extra_args --silent"
49549 fi
49550
49551 _ACEOF
49552 cat >>$CONFIG_STATUS <<_ACEOF
49553 if \$ac_cs_recheck; then
49554 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49555 CONFIG_SHELL=$SHELL
49556 export CONFIG_SHELL
49557 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49558 fi
49559
49560 _ACEOF
49561 cat >>$CONFIG_STATUS <<\_ACEOF
49562 exec 5>>config.log
49563 {
49564 echo
49565 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49566 ## Running $as_me. ##
49567 _ASBOX
49568 echo "$ac_log"
49569 } >&5
49570
49571 _ACEOF
49572 cat >>$CONFIG_STATUS <<_ACEOF
49573 #
49574 # INIT-COMMANDS
49575 #
49576
49577 CPP="$CPP"
49578 infile="$srcdir/include/wx/msw/genrcdefs.h"
49579 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49580
49581
49582 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49583 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49584 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49585 LN_S="${LN_S}"
49586
49587
49588 _ACEOF
49589
49590 cat >>$CONFIG_STATUS <<\_ACEOF
49591
49592 # Handling of arguments.
49593 for ac_config_target in $ac_config_targets
49594 do
49595 case $ac_config_target in
49596 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49597 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49598 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49599 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49600 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49601 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49602 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49603 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49604
49605 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49606 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49607 { (exit 1); exit 1; }; };;
49608 esac
49609 done
49610
49611
49612 # If the user did not use the arguments to specify the items to instantiate,
49613 # then the envvar interface is used. Set only those that are not.
49614 # We use the long form for the default assignment because of an extremely
49615 # bizarre bug on SunOS 4.1.3.
49616 if $ac_need_defaults; then
49617 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49618 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49619 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49620 fi
49621
49622 # Have a temporary directory for convenience. Make it in the build tree
49623 # simply because there is no reason against having it here, and in addition,
49624 # creating and moving files from /tmp can sometimes cause problems.
49625 # Hook for its removal unless debugging.
49626 # Note that there is a small window in which the directory will not be cleaned:
49627 # after its creation but before its name has been assigned to `$tmp'.
49628 $debug ||
49629 {
49630 tmp=
49631 trap 'exit_status=$?
49632 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49633 ' 0
49634 trap '{ (exit 1); exit 1; }' 1 2 13 15
49635 }
49636 # Create a (secure) tmp directory for tmp files.
49637
49638 {
49639 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49640 test -n "$tmp" && test -d "$tmp"
49641 } ||
49642 {
49643 tmp=./conf$$-$RANDOM
49644 (umask 077 && mkdir "$tmp")
49645 } ||
49646 {
49647 echo "$me: cannot create a temporary directory in ." >&2
49648 { (exit 1); exit 1; }
49649 }
49650
49651 #
49652 # Set up the sed scripts for CONFIG_FILES section.
49653 #
49654
49655 # No need to generate the scripts if there are no CONFIG_FILES.
49656 # This happens for instance when ./config.status config.h
49657 if test -n "$CONFIG_FILES"; then
49658
49659 _ACEOF
49660
49661
49662
49663 ac_delim='%!_!# '
49664 for ac_last_try in false false false false false :; do
49665 cat >conf$$subs.sed <<_ACEOF
49666 SHELL!$SHELL$ac_delim
49667 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49668 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49669 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49670 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49671 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49672 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49673 exec_prefix!$exec_prefix$ac_delim
49674 prefix!$prefix$ac_delim
49675 program_transform_name!$program_transform_name$ac_delim
49676 bindir!$bindir$ac_delim
49677 sbindir!$sbindir$ac_delim
49678 libexecdir!$libexecdir$ac_delim
49679 datarootdir!$datarootdir$ac_delim
49680 datadir!$datadir$ac_delim
49681 sysconfdir!$sysconfdir$ac_delim
49682 sharedstatedir!$sharedstatedir$ac_delim
49683 localstatedir!$localstatedir$ac_delim
49684 includedir!$includedir$ac_delim
49685 oldincludedir!$oldincludedir$ac_delim
49686 docdir!$docdir$ac_delim
49687 infodir!$infodir$ac_delim
49688 htmldir!$htmldir$ac_delim
49689 dvidir!$dvidir$ac_delim
49690 pdfdir!$pdfdir$ac_delim
49691 psdir!$psdir$ac_delim
49692 libdir!$libdir$ac_delim
49693 localedir!$localedir$ac_delim
49694 mandir!$mandir$ac_delim
49695 DEFS!$DEFS$ac_delim
49696 ECHO_C!$ECHO_C$ac_delim
49697 ECHO_N!$ECHO_N$ac_delim
49698 ECHO_T!$ECHO_T$ac_delim
49699 LIBS!$LIBS$ac_delim
49700 build_alias!$build_alias$ac_delim
49701 host_alias!$host_alias$ac_delim
49702 target_alias!$target_alias$ac_delim
49703 build!$build$ac_delim
49704 build_cpu!$build_cpu$ac_delim
49705 build_vendor!$build_vendor$ac_delim
49706 build_os!$build_os$ac_delim
49707 host!$host$ac_delim
49708 host_cpu!$host_cpu$ac_delim
49709 host_vendor!$host_vendor$ac_delim
49710 host_os!$host_os$ac_delim
49711 target!$target$ac_delim
49712 target_cpu!$target_cpu$ac_delim
49713 target_vendor!$target_vendor$ac_delim
49714 target_os!$target_os$ac_delim
49715 wx_top_builddir!$wx_top_builddir$ac_delim
49716 CC!$CC$ac_delim
49717 CFLAGS!$CFLAGS$ac_delim
49718 LDFLAGS!$LDFLAGS$ac_delim
49719 CPPFLAGS!$CPPFLAGS$ac_delim
49720 ac_ct_CC!$ac_ct_CC$ac_delim
49721 EXEEXT!$EXEEXT$ac_delim
49722 OBJEXT!$OBJEXT$ac_delim
49723 CPP!$CPP$ac_delim
49724 GREP!$GREP$ac_delim
49725 EGREP!$EGREP$ac_delim
49726 CXX!$CXX$ac_delim
49727 CXXFLAGS!$CXXFLAGS$ac_delim
49728 ac_ct_CXX!$ac_ct_CXX$ac_delim
49729 RANLIB!$RANLIB$ac_delim
49730 AR!$AR$ac_delim
49731 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49732 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49733 INSTALL_DATA!$INSTALL_DATA$ac_delim
49734 STRIP!$STRIP$ac_delim
49735 WINDRES!$WINDRES$ac_delim
49736 DLLTOOL!$DLLTOOL$ac_delim
49737 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49738 LN_S!$LN_S$ac_delim
49739 subdirs!$subdirs$ac_delim
49740 PKG_CONFIG!$PKG_CONFIG$ac_delim
49741 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49742 GTK_LIBS!$GTK_LIBS$ac_delim
49743 GTK_CONFIG!$GTK_CONFIG$ac_delim
49744 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49745 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49746 XMKMF!$XMKMF$ac_delim
49747 X_CFLAGS!$X_CFLAGS$ac_delim
49748 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49749 X_LIBS!$X_LIBS$ac_delim
49750 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49751 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49752 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49753 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49754 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49755 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49756 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49757 REZ!$REZ$ac_delim
49758 DEREZ!$DEREZ$ac_delim
49759 SETFILE!$SETFILE$ac_delim
49760 LIBICONV!$LIBICONV$ac_delim
49761 SDL_CONFIG!$SDL_CONFIG$ac_delim
49762 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49763 _ACEOF
49764
49765 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49766 break
49767 elif $ac_last_try; then
49768 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49769 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49770 { (exit 1); exit 1; }; }
49771 else
49772 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49773 fi
49774 done
49775
49776 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49777 if test -n "$ac_eof"; then
49778 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49779 ac_eof=`expr $ac_eof + 1`
49780 fi
49781
49782 cat >>$CONFIG_STATUS <<_ACEOF
49783 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49785 _ACEOF
49786 sed '
49787 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49788 s/^/s,@/; s/!/@,|#_!!_#|/
49789 :n
49790 t n
49791 s/'"$ac_delim"'$/,g/; t
49792 s/$/\\/; p
49793 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49794 ' >>$CONFIG_STATUS <conf$$subs.sed
49795 rm -f conf$$subs.sed
49796 cat >>$CONFIG_STATUS <<_ACEOF
49797 CEOF$ac_eof
49798 _ACEOF
49799
49800
49801 ac_delim='%!_!# '
49802 for ac_last_try in false false false false false :; do
49803 cat >conf$$subs.sed <<_ACEOF
49804 SDL_LIBS!$SDL_LIBS$ac_delim
49805 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49806 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49807 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49808 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49809 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49810 HILDON_LIBS!$HILDON_LIBS$ac_delim
49811 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49812 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49813 GST_CFLAGS!$GST_CFLAGS$ac_delim
49814 GST_LIBS!$GST_LIBS$ac_delim
49815 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49816 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49817 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49818 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49819 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49820 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49821 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49822 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49823 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49824 VENDOR!$VENDOR$ac_delim
49825 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49826 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49827 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49828 WXUNIV!$WXUNIV$ac_delim
49829 MONOLITHIC!$MONOLITHIC$ac_delim
49830 USE_PLUGINS!$USE_PLUGINS$ac_delim
49831 EXTRALIBS!$EXTRALIBS$ac_delim
49832 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49833 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49834 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49835 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49836 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49837 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49838 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49839 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49840 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49841 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49842 UNICODE!$UNICODE$ac_delim
49843 BUILD!$BUILD$ac_delim
49844 DEBUG_INFO!$DEBUG_INFO$ac_delim
49845 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49846 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49847 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49848 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49849 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49850 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49851 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49852 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49853 SET_MAKE!$SET_MAKE$ac_delim
49854 MAKE_SET!$MAKE_SET$ac_delim
49855 AROPTIONS!$AROPTIONS$ac_delim
49856 NM!$NM$ac_delim
49857 INSTALL_DIR!$INSTALL_DIR$ac_delim
49858 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49859 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49860 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49861 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49862 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49863 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49864 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49865 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49866 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49867 SO_SUFFIX!$SO_SUFFIX$ac_delim
49868 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49869 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49870 LIBPREFIX!$LIBPREFIX$ac_delim
49871 LIBEXT!$LIBEXT$ac_delim
49872 DLLPREFIX!$DLLPREFIX$ac_delim
49873 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49874 dlldir!$dlldir$ac_delim
49875 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49876 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49877 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49878 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49879 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49880 PIC_FLAG!$PIC_FLAG$ac_delim
49881 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49882 USE_SOVERSION!$USE_SOVERSION$ac_delim
49883 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49884 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49885 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49886 USE_MACVERSION!$USE_MACVERSION$ac_delim
49887 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49888 SONAME_FLAG!$SONAME_FLAG$ac_delim
49889 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49890 BK_DEPS!$BK_DEPS$ac_delim
49891 GCC_PCH!$GCC_PCH$ac_delim
49892 ICC_PCH!$ICC_PCH$ac_delim
49893 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49894 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49895 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49897 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49898 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49899 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49900 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49901 _ACEOF
49902
49903 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49904 break
49905 elif $ac_last_try; then
49906 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49907 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49908 { (exit 1); exit 1; }; }
49909 else
49910 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49911 fi
49912 done
49913
49914 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49915 if test -n "$ac_eof"; then
49916 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49917 ac_eof=`expr $ac_eof + 1`
49918 fi
49919
49920 cat >>$CONFIG_STATUS <<_ACEOF
49921 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49923 _ACEOF
49924 sed '
49925 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49926 s/^/s,@/; s/!/@,|#_!!_#|/
49927 :n
49928 t n
49929 s/'"$ac_delim"'$/,g/; t
49930 s/$/\\/; p
49931 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49932 ' >>$CONFIG_STATUS <conf$$subs.sed
49933 rm -f conf$$subs.sed
49934 cat >>$CONFIG_STATUS <<_ACEOF
49935 CEOF$ac_eof
49936 _ACEOF
49937
49938
49939 ac_delim='%!_!# '
49940 for ac_last_try in false false false false false :; do
49941 cat >conf$$subs.sed <<_ACEOF
49942 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49943 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49944 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49945 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49946 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49947 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49948 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49949 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49950 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49951 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49952 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49953 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49954 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49955 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49956 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49957 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49958 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49959 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49960 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49961 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49962 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49963 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49964 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49969 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49970 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49971 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49972 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49973 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49974 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49975 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49976 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49977 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49978 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49979 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49980 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49981 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49982 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49983 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49984 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49985 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49986 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49987 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49988 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49989 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49990 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49991 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49992 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49993 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49994 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49995 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49996 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49997 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49998 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49999 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50000 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50001 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50002 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50003 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50004 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50005 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50006 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50007 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50008 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50009 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50010 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50011 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50012 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50013 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50014 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50015 COND_SHARED_0!$COND_SHARED_0$ac_delim
50016 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50017 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50018 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50019 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50020 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50021 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50022 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50023 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50024 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50025 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50026 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50027 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50028 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50029 COND_SHARED_1!$COND_SHARED_1$ac_delim
50030 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50031 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50032 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50033 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50034 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50035 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50036 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50037 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50038 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50039 _ACEOF
50040
50041 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50042 break
50043 elif $ac_last_try; then
50044 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50045 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50046 { (exit 1); exit 1; }; }
50047 else
50048 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50049 fi
50050 done
50051
50052 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50053 if test -n "$ac_eof"; then
50054 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50055 ac_eof=`expr $ac_eof + 1`
50056 fi
50057
50058 cat >>$CONFIG_STATUS <<_ACEOF
50059 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50061 _ACEOF
50062 sed '
50063 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50064 s/^/s,@/; s/!/@,|#_!!_#|/
50065 :n
50066 t n
50067 s/'"$ac_delim"'$/,g/; t
50068 s/$/\\/; p
50069 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50070 ' >>$CONFIG_STATUS <conf$$subs.sed
50071 rm -f conf$$subs.sed
50072 cat >>$CONFIG_STATUS <<_ACEOF
50073 CEOF$ac_eof
50074 _ACEOF
50075
50076
50077 ac_delim='%!_!# '
50078 for ac_last_try in false false false false false :; do
50079 cat >conf$$subs.sed <<_ACEOF
50080 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50081 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50083 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50084 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50085 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50086 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50087 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50088 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50089 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50090 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50091 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50092 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50093 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50094 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50095 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50096 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50097 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50098 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50099 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50100 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50101 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50102 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50103 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50104 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50105 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50106 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50107 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50108 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50109 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50110 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50111 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50112 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50113 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50114 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50115 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50116 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50117 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50118 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50119 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50120 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50121 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50122 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50123 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50124 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50125 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50126 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50127 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50128 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50129 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50130 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50131 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50132 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50133 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50134 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50135 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50136 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50137 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50138 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50139 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50140 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50141 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50142 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50143 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50144 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50145 SHARED!$SHARED$ac_delim
50146 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50147 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50148 USE_GUI!$USE_GUI$ac_delim
50149 AFMINSTALL!$AFMINSTALL$ac_delim
50150 WIN32INSTALL!$WIN32INSTALL$ac_delim
50151 TOOLKIT!$TOOLKIT$ac_delim
50152 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50153 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50154 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50155 cross_compiling!$cross_compiling$ac_delim
50156 WIDGET_SET!$WIDGET_SET$ac_delim
50157 WX_RELEASE!$WX_RELEASE$ac_delim
50158 WX_VERSION!$WX_VERSION$ac_delim
50159 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50160 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50161 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50162 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50163 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50164 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50165 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50166 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50167 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50168 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50169 EXE_LINKER!$EXE_LINKER$ac_delim
50170 GUIDIST!$GUIDIST$ac_delim
50171 DISTDIR!$DISTDIR$ac_delim
50172 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50173 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50174 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50175 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50176 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50177 RESCOMP!$RESCOMP$ac_delim
50178 _ACEOF
50179
50180 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50181 break
50182 elif $ac_last_try; then
50183 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50184 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50185 { (exit 1); exit 1; }; }
50186 else
50187 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50188 fi
50189 done
50190
50191 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50192 if test -n "$ac_eof"; then
50193 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50194 ac_eof=`expr $ac_eof + 1`
50195 fi
50196
50197 cat >>$CONFIG_STATUS <<_ACEOF
50198 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50200 _ACEOF
50201 sed '
50202 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50203 s/^/s,@/; s/!/@,|#_!!_#|/
50204 :n
50205 t n
50206 s/'"$ac_delim"'$/,g/; t
50207 s/$/\\/; p
50208 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50209 ' >>$CONFIG_STATUS <conf$$subs.sed
50210 rm -f conf$$subs.sed
50211 cat >>$CONFIG_STATUS <<_ACEOF
50212 CEOF$ac_eof
50213 _ACEOF
50214
50215
50216 ac_delim='%!_!# '
50217 for ac_last_try in false false false false false :; do
50218 cat >conf$$subs.sed <<_ACEOF
50219 RESFLAGS!$RESFLAGS$ac_delim
50220 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50221 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50222 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50223 LIBWXMACRES!$LIBWXMACRES$ac_delim
50224 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50225 MACSETFILE!$MACSETFILE$ac_delim
50226 GCC!$GCC$ac_delim
50227 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50228 LIBOBJS!$LIBOBJS$ac_delim
50229 LTLIBOBJS!$LTLIBOBJS$ac_delim
50230 _ACEOF
50231
50232 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
50233 break
50234 elif $ac_last_try; then
50235 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50236 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50237 { (exit 1); exit 1; }; }
50238 else
50239 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50240 fi
50241 done
50242
50243 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50244 if test -n "$ac_eof"; then
50245 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50246 ac_eof=`expr $ac_eof + 1`
50247 fi
50248
50249 cat >>$CONFIG_STATUS <<_ACEOF
50250 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50251 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50252 _ACEOF
50253 sed '
50254 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50255 s/^/s,@/; s/!/@,|#_!!_#|/
50256 :n
50257 t n
50258 s/'"$ac_delim"'$/,g/; t
50259 s/$/\\/; p
50260 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50261 ' >>$CONFIG_STATUS <conf$$subs.sed
50262 rm -f conf$$subs.sed
50263 cat >>$CONFIG_STATUS <<_ACEOF
50264 :end
50265 s/|#_!!_#|//g
50266 CEOF$ac_eof
50267 _ACEOF
50268
50269
50270 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50271 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50272 # trailing colons and then remove the whole line if VPATH becomes empty
50273 # (actually we leave an empty line to preserve line numbers).
50274 if test "x$srcdir" = x.; then
50275 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50276 s/:*\$(srcdir):*/:/
50277 s/:*\${srcdir}:*/:/
50278 s/:*@srcdir@:*/:/
50279 s/^\([^=]*=[ ]*\):*/\1/
50280 s/:*$//
50281 s/^[^=]*=[ ]*$//
50282 }'
50283 fi
50284
50285 cat >>$CONFIG_STATUS <<\_ACEOF
50286 fi # test -n "$CONFIG_FILES"
50287
50288
50289 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50290 do
50291 case $ac_tag in
50292 :[FHLC]) ac_mode=$ac_tag; continue;;
50293 esac
50294 case $ac_mode$ac_tag in
50295 :[FHL]*:*);;
50296 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50297 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50298 { (exit 1); exit 1; }; };;
50299 :[FH]-) ac_tag=-:-;;
50300 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50301 esac
50302 ac_save_IFS=$IFS
50303 IFS=:
50304 set x $ac_tag
50305 IFS=$ac_save_IFS
50306 shift
50307 ac_file=$1
50308 shift
50309
50310 case $ac_mode in
50311 :L) ac_source=$1;;
50312 :[FH])
50313 ac_file_inputs=
50314 for ac_f
50315 do
50316 case $ac_f in
50317 -) ac_f="$tmp/stdin";;
50318 *) # Look for the file first in the build tree, then in the source tree
50319 # (if the path is not absolute). The absolute path cannot be DOS-style,
50320 # because $ac_f cannot contain `:'.
50321 test -f "$ac_f" ||
50322 case $ac_f in
50323 [\\/$]*) false;;
50324 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50325 esac ||
50326 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50327 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50328 { (exit 1); exit 1; }; };;
50329 esac
50330 ac_file_inputs="$ac_file_inputs $ac_f"
50331 done
50332
50333 # Let's still pretend it is `configure' which instantiates (i.e., don't
50334 # use $as_me), people would be surprised to read:
50335 # /* config.h. Generated by config.status. */
50336 configure_input="Generated from "`IFS=:
50337 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50338 if test x"$ac_file" != x-; then
50339 configure_input="$ac_file. $configure_input"
50340 { echo "$as_me:$LINENO: creating $ac_file" >&5
50341 echo "$as_me: creating $ac_file" >&6;}
50342 fi
50343
50344 case $ac_tag in
50345 *:-:* | *:-) cat >"$tmp/stdin";;
50346 esac
50347 ;;
50348 esac
50349
50350 ac_dir=`$as_dirname -- "$ac_file" ||
50351 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50352 X"$ac_file" : 'X\(//\)[^/]' \| \
50353 X"$ac_file" : 'X\(//\)$' \| \
50354 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50355 echo X"$ac_file" |
50356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50357 s//\1/
50358 q
50359 }
50360 /^X\(\/\/\)[^/].*/{
50361 s//\1/
50362 q
50363 }
50364 /^X\(\/\/\)$/{
50365 s//\1/
50366 q
50367 }
50368 /^X\(\/\).*/{
50369 s//\1/
50370 q
50371 }
50372 s/.*/./; q'`
50373 { as_dir="$ac_dir"
50374 case $as_dir in #(
50375 -*) as_dir=./$as_dir;;
50376 esac
50377 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50378 as_dirs=
50379 while :; do
50380 case $as_dir in #(
50381 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50382 *) as_qdir=$as_dir;;
50383 esac
50384 as_dirs="'$as_qdir' $as_dirs"
50385 as_dir=`$as_dirname -- "$as_dir" ||
50386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50387 X"$as_dir" : 'X\(//\)[^/]' \| \
50388 X"$as_dir" : 'X\(//\)$' \| \
50389 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50390 echo X"$as_dir" |
50391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50392 s//\1/
50393 q
50394 }
50395 /^X\(\/\/\)[^/].*/{
50396 s//\1/
50397 q
50398 }
50399 /^X\(\/\/\)$/{
50400 s//\1/
50401 q
50402 }
50403 /^X\(\/\).*/{
50404 s//\1/
50405 q
50406 }
50407 s/.*/./; q'`
50408 test -d "$as_dir" && break
50409 done
50410 test -z "$as_dirs" || eval "mkdir $as_dirs"
50411 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50412 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50413 { (exit 1); exit 1; }; }; }
50414 ac_builddir=.
50415
50416 case "$ac_dir" in
50417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50418 *)
50419 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50420 # A ".." for each directory in $ac_dir_suffix.
50421 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50422 case $ac_top_builddir_sub in
50423 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50424 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50425 esac ;;
50426 esac
50427 ac_abs_top_builddir=$ac_pwd
50428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50429 # for backward compatibility:
50430 ac_top_builddir=$ac_top_build_prefix
50431
50432 case $srcdir in
50433 .) # We are building in place.
50434 ac_srcdir=.
50435 ac_top_srcdir=$ac_top_builddir_sub
50436 ac_abs_top_srcdir=$ac_pwd ;;
50437 [\\/]* | ?:[\\/]* ) # Absolute name.
50438 ac_srcdir=$srcdir$ac_dir_suffix;
50439 ac_top_srcdir=$srcdir
50440 ac_abs_top_srcdir=$srcdir ;;
50441 *) # Relative name.
50442 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50443 ac_top_srcdir=$ac_top_build_prefix$srcdir
50444 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50445 esac
50446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50447
50448
50449 case $ac_mode in
50450 :F)
50451 #
50452 # CONFIG_FILE
50453 #
50454
50455 case $INSTALL in
50456 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50457 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50458 esac
50459 _ACEOF
50460
50461 cat >>$CONFIG_STATUS <<\_ACEOF
50462 # If the template does not know about datarootdir, expand it.
50463 # FIXME: This hack should be removed a few years after 2.60.
50464 ac_datarootdir_hack=; ac_datarootdir_seen=
50465
50466 case `sed -n '/datarootdir/ {
50467 p
50468 q
50469 }
50470 /@datadir@/p
50471 /@docdir@/p
50472 /@infodir@/p
50473 /@localedir@/p
50474 /@mandir@/p
50475 ' $ac_file_inputs` in
50476 *datarootdir*) ac_datarootdir_seen=yes;;
50477 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50478 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50479 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50480 _ACEOF
50481 cat >>$CONFIG_STATUS <<_ACEOF
50482 ac_datarootdir_hack='
50483 s&@datadir@&$datadir&g
50484 s&@docdir@&$docdir&g
50485 s&@infodir@&$infodir&g
50486 s&@localedir@&$localedir&g
50487 s&@mandir@&$mandir&g
50488 s&\\\${datarootdir}&$datarootdir&g' ;;
50489 esac
50490 _ACEOF
50491
50492 # Neutralize VPATH when `$srcdir' = `.'.
50493 # Shell code in configure.ac might set extrasub.
50494 # FIXME: do we really want to maintain this feature?
50495 cat >>$CONFIG_STATUS <<_ACEOF
50496 sed "$ac_vpsub
50497 $extrasub
50498 _ACEOF
50499 cat >>$CONFIG_STATUS <<\_ACEOF
50500 :t
50501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50502 s&@configure_input@&$configure_input&;t t
50503 s&@top_builddir@&$ac_top_builddir_sub&;t t
50504 s&@srcdir@&$ac_srcdir&;t t
50505 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50506 s&@top_srcdir@&$ac_top_srcdir&;t t
50507 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50508 s&@builddir@&$ac_builddir&;t t
50509 s&@abs_builddir@&$ac_abs_builddir&;t t
50510 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50511 s&@INSTALL@&$ac_INSTALL&;t t
50512 $ac_datarootdir_hack
50513 " $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
50514
50515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50516 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50518 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50519 which seems to be undefined. Please make sure it is defined." >&5
50520 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50521 which seems to be undefined. Please make sure it is defined." >&2;}
50522
50523 rm -f "$tmp/stdin"
50524 case $ac_file in
50525 -) cat "$tmp/out"; rm -f "$tmp/out";;
50526 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50527 esac
50528 ;;
50529 :H)
50530 #
50531 # CONFIG_HEADER
50532 #
50533 _ACEOF
50534
50535 # Transform confdefs.h into a sed script `conftest.defines', that
50536 # substitutes the proper values into config.h.in to produce config.h.
50537 rm -f conftest.defines conftest.tail
50538 # First, append a space to every undef/define line, to ease matching.
50539 echo 's/$/ /' >conftest.defines
50540 # Then, protect against being on the right side of a sed subst, or in
50541 # an unquoted here document, in config.status. If some macros were
50542 # called several times there might be several #defines for the same
50543 # symbol, which is useless. But do not sort them, since the last
50544 # AC_DEFINE must be honored.
50545 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50546 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50547 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50548 # PARAMS is the parameter list in the macro definition--in most cases, it's
50549 # just an empty string.
50550 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50551 ac_dB='\\)[ (].*,\\1define\\2'
50552 ac_dC=' '
50553 ac_dD=' ,'
50554
50555 uniq confdefs.h |
50556 sed -n '
50557 t rset
50558 :rset
50559 s/^[ ]*#[ ]*define[ ][ ]*//
50560 t ok
50561 d
50562 :ok
50563 s/[\\&,]/\\&/g
50564 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50565 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50566 ' >>conftest.defines
50567
50568 # Remove the space that was appended to ease matching.
50569 # Then replace #undef with comments. This is necessary, for
50570 # example, in the case of _POSIX_SOURCE, which is predefined and required
50571 # on some systems where configure will not decide to define it.
50572 # (The regexp can be short, since the line contains either #define or #undef.)
50573 echo 's/ $//
50574 s,^[ #]*u.*,/* & */,' >>conftest.defines
50575
50576 # Break up conftest.defines:
50577 ac_max_sed_lines=50
50578
50579 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50580 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50581 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50582 # et cetera.
50583 ac_in='$ac_file_inputs'
50584 ac_out='"$tmp/out1"'
50585 ac_nxt='"$tmp/out2"'
50586
50587 while :
50588 do
50589 # Write a here document:
50590 cat >>$CONFIG_STATUS <<_ACEOF
50591 # First, check the format of the line:
50592 cat >"\$tmp/defines.sed" <<\\CEOF
50593 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50594 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50595 b
50596 :def
50597 _ACEOF
50598 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50599 echo 'CEOF
50600 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50601 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50602 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50603 grep . conftest.tail >/dev/null || break
50604 rm -f conftest.defines
50605 mv conftest.tail conftest.defines
50606 done
50607 rm -f conftest.defines conftest.tail
50608
50609 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50610 cat >>$CONFIG_STATUS <<\_ACEOF
50611 if test x"$ac_file" != x-; then
50612 echo "/* $configure_input */" >"$tmp/config.h"
50613 cat "$ac_result" >>"$tmp/config.h"
50614 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50615 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50616 echo "$as_me: $ac_file is unchanged" >&6;}
50617 else
50618 rm -f $ac_file
50619 mv "$tmp/config.h" $ac_file
50620 fi
50621 else
50622 echo "/* $configure_input */"
50623 cat "$ac_result"
50624 fi
50625 rm -f "$tmp/out12"
50626 ;;
50627
50628 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50629 echo "$as_me: executing $ac_file commands" >&6;}
50630 ;;
50631 esac
50632
50633
50634 case $ac_file$ac_mode in
50635 "rcdefs.h":C)
50636 mkdir -p $outdir &&
50637 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50638 ;;
50639 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50640 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50641 "wx-config":C) rm -f wx-config
50642 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50643 ;;
50644
50645 esac
50646 done # for ac_tag
50647
50648
50649 { (exit 0); exit 0; }
50650 _ACEOF
50651 chmod +x $CONFIG_STATUS
50652 ac_clean_files=$ac_clean_files_save
50653
50654
50655 # configure is writing to config.log, and then calls config.status.
50656 # config.status does its own redirection, appending to config.log.
50657 # Unfortunately, on DOS this fails, as config.log is still kept open
50658 # by configure, so config.status won't be able to write to it; its
50659 # output is simply discarded. So we exec the FD to /dev/null,
50660 # effectively closing config.log, so it can be properly (re)opened and
50661 # appended to by config.status. When coming back to configure, we
50662 # need to make the FD available again.
50663 if test "$no_create" != yes; then
50664 ac_cs_success=:
50665 ac_config_status_args=
50666 test "$silent" = yes &&
50667 ac_config_status_args="$ac_config_status_args --quiet"
50668 exec 5>/dev/null
50669 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50670 exec 5>>config.log
50671 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50672 # would make configure fail if this is the last instruction.
50673 $ac_cs_success || { (exit 1); exit 1; }
50674 fi
50675
50676 #
50677 # CONFIG_SUBDIRS section.
50678 #
50679 if test "$no_recursion" != yes; then
50680
50681 # Remove --cache-file and --srcdir arguments so they do not pile up.
50682 ac_sub_configure_args=
50683 ac_prev=
50684 eval "set x $ac_configure_args"
50685 shift
50686 for ac_arg
50687 do
50688 if test -n "$ac_prev"; then
50689 ac_prev=
50690 continue
50691 fi
50692 case $ac_arg in
50693 -cache-file | --cache-file | --cache-fil | --cache-fi \
50694 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50695 ac_prev=cache_file ;;
50696 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50697 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50698 | --c=*)
50699 ;;
50700 --config-cache | -C)
50701 ;;
50702 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50703 ac_prev=srcdir ;;
50704 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50705 ;;
50706 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50707 ac_prev=prefix ;;
50708 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50709 ;;
50710 *)
50711 case $ac_arg in
50712 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50713 esac
50714 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50715 esac
50716 done
50717
50718 # Always prepend --prefix to ensure using the same prefix
50719 # in subdir configurations.
50720 ac_arg="--prefix=$prefix"
50721 case $ac_arg in
50722 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50723 esac
50724 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50725
50726 # Pass --silent
50727 if test "$silent" = yes; then
50728 ac_sub_configure_args="--silent $ac_sub_configure_args"
50729 fi
50730
50731 ac_popdir=`pwd`
50732 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50733
50734 # Do not complain, so a configure script can configure whichever
50735 # parts of a large source tree are present.
50736 test -d "$srcdir/$ac_dir" || continue
50737
50738 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50739 echo "$as_me:$LINENO: $ac_msg" >&5
50740 echo "$ac_msg" >&6
50741 { as_dir="$ac_dir"
50742 case $as_dir in #(
50743 -*) as_dir=./$as_dir;;
50744 esac
50745 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50746 as_dirs=
50747 while :; do
50748 case $as_dir in #(
50749 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50750 *) as_qdir=$as_dir;;
50751 esac
50752 as_dirs="'$as_qdir' $as_dirs"
50753 as_dir=`$as_dirname -- "$as_dir" ||
50754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50755 X"$as_dir" : 'X\(//\)[^/]' \| \
50756 X"$as_dir" : 'X\(//\)$' \| \
50757 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50758 echo X"$as_dir" |
50759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50760 s//\1/
50761 q
50762 }
50763 /^X\(\/\/\)[^/].*/{
50764 s//\1/
50765 q
50766 }
50767 /^X\(\/\/\)$/{
50768 s//\1/
50769 q
50770 }
50771 /^X\(\/\).*/{
50772 s//\1/
50773 q
50774 }
50775 s/.*/./; q'`
50776 test -d "$as_dir" && break
50777 done
50778 test -z "$as_dirs" || eval "mkdir $as_dirs"
50779 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50780 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50781 { (exit 1); exit 1; }; }; }
50782 ac_builddir=.
50783
50784 case "$ac_dir" in
50785 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50786 *)
50787 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50788 # A ".." for each directory in $ac_dir_suffix.
50789 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50790 case $ac_top_builddir_sub in
50791 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50792 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50793 esac ;;
50794 esac
50795 ac_abs_top_builddir=$ac_pwd
50796 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50797 # for backward compatibility:
50798 ac_top_builddir=$ac_top_build_prefix
50799
50800 case $srcdir in
50801 .) # We are building in place.
50802 ac_srcdir=.
50803 ac_top_srcdir=$ac_top_builddir_sub
50804 ac_abs_top_srcdir=$ac_pwd ;;
50805 [\\/]* | ?:[\\/]* ) # Absolute name.
50806 ac_srcdir=$srcdir$ac_dir_suffix;
50807 ac_top_srcdir=$srcdir
50808 ac_abs_top_srcdir=$srcdir ;;
50809 *) # Relative name.
50810 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50811 ac_top_srcdir=$ac_top_build_prefix$srcdir
50812 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50813 esac
50814 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50815
50816
50817 cd "$ac_dir"
50818
50819 # Check for guested configure; otherwise get Cygnus style configure.
50820 if test -f "$ac_srcdir/configure.gnu"; then
50821 ac_sub_configure=$ac_srcdir/configure.gnu
50822 elif test -f "$ac_srcdir/configure"; then
50823 ac_sub_configure=$ac_srcdir/configure
50824 elif test -f "$ac_srcdir/configure.in"; then
50825 # This should be Cygnus configure.
50826 ac_sub_configure=$ac_aux_dir/configure
50827 else
50828 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50829 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50830 ac_sub_configure=
50831 fi
50832
50833 # The recursion is here.
50834 if test -n "$ac_sub_configure"; then
50835 # Make the cache file name correct relative to the subdirectory.
50836 case $cache_file in
50837 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50838 *) # Relative name.
50839 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50840 esac
50841
50842 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50843 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50844 # The eval makes quoting arguments work.
50845 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50846 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50847 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50848 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50849 { (exit 1); exit 1; }; }
50850 fi
50851
50852 cd "$ac_popdir"
50853 done
50854 fi
50855
50856
50857 echo
50858 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50859 echo ""
50860 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50861 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50862
50863 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50864 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50865 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50866
50867 echo " What level of wxWidgets compatibility should be enabled?"
50868 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50869 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50870
50871 echo " Which libraries should wxWidgets use?"
50872 echo " jpeg ${wxUSE_LIBJPEG-none}"
50873 echo " png ${wxUSE_LIBPNG-none}"
50874 echo " regex ${wxUSE_REGEX}"
50875 echo " tiff ${wxUSE_LIBTIFF-none}"
50876 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50877 echo " xpm ${wxUSE_LIBXPM-none}"
50878 fi
50879 echo " zlib ${wxUSE_ZLIB}"
50880 echo " odbc ${wxUSE_ODBC}"
50881 echo " expat ${wxUSE_EXPAT}"
50882 echo " libmspack ${wxUSE_LIBMSPACK}"
50883 echo " sdl ${wxUSE_LIBSDL}"
50884
50885 echo ""
50886