]> git.saurik.com Git - wxWidgets.git/blob - configure
renamed meaningless IsRealClass() function in CanBeUsedWithXRCCTRL() because this...
[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 EXTRALIBS_ESD
715 SDL_CONFIG
716 SDL_CFLAGS
717 SDL_LIBS
718 LIBGNOMEPRINTUI_CFLAGS
719 LIBGNOMEPRINTUI_LIBS
720 GNOMEVFS_CFLAGS
721 GNOMEVFS_LIBS
722 HILDON_CFLAGS
723 HILDON_LIBS
724 CAIRO_CFLAGS
725 CAIRO_LIBS
726 GST_CFLAGS
727 GST_LIBS
728 CORE_BASE_LIBS
729 CORE_GUI_LIBS
730 wxUSE_ZLIB
731 wxUSE_REGEX
732 wxUSE_EXPAT
733 wxUSE_ODBC
734 wxUSE_LIBJPEG
735 wxUSE_LIBPNG
736 wxUSE_LIBTIFF
737 VENDOR
738 OFFICIAL_BUILD
739 WX_FLAVOUR
740 WX_LIB_FLAVOUR
741 WXUNIV
742 MONOLITHIC
743 USE_PLUGINS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_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_XRC_1
844 COND_MONOLITHIC_0_USE_MEDIA_1
845 COND_MONOLITHIC_0_USE_ODBC_1
846 COND_MONOLITHIC_1
847 COND_MONOLITHIC_1_SHARED_0
848 COND_MONOLITHIC_1_SHARED_1
849 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
850 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
851 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
852 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
853 COND_PLATFORM_MACOSX_1
854 COND_PLATFORM_MACOSX_1_TOOLKIT_
855 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
856 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
859 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
860 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
861 COND_PLATFORM_MACOSX_1_USE_GUI_1
862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
863 COND_PLATFORM_MACOS_1
864 COND_PLATFORM_MAC_1
865 COND_PLATFORM_MSDOS_0
866 COND_PLATFORM_MSDOS_1
867 COND_PLATFORM_OS2_1
868 COND_PLATFORM_UNIX_0
869 COND_PLATFORM_UNIX_1
870 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
872 COND_PLATFORM_UNIX_1_USE_GUI_1
873 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
874 COND_PLATFORM_WIN32_0
875 COND_PLATFORM_WIN32_1
876 COND_SHARED_0
877 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
878 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
879 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
880 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
881 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
883 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
884 COND_SHARED_0_USE_XRC_1
885 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
886 COND_SHARED_0_WXUSE_ODBC_BUILTIN
887 COND_SHARED_0_WXUSE_REGEX_BUILTIN
888 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
889 COND_SHARED_1
890 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_1_USE_XRC_1
892 COND_TOOLKIT_
893 COND_TOOLKIT_COCOA
894 COND_TOOLKIT_COCOA_USE_GUI_1
895 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
896 COND_TOOLKIT_DFB
897 COND_TOOLKIT_DFB_USE_GUI_1
898 COND_TOOLKIT_GTK
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_GTK_USE_GUI_1
906 COND_TOOLKIT_MAC
907 COND_TOOLKIT_MAC_USE_GUI_1
908 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_MGL
910 COND_TOOLKIT_MGL_USE_GUI_1
911 COND_TOOLKIT_MOTIF
912 COND_TOOLKIT_MOTIF_USE_GUI_1
913 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_MSW
915 COND_TOOLKIT_MSW_USE_GUI_1
916 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MSW_WXUNIV_0
918 COND_TOOLKIT_PM
919 COND_TOOLKIT_PM_USE_GUI_1
920 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_WINCE
922 COND_TOOLKIT_WINCE_USE_GUI_1
923 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_WINCE_WXUNIV_0
925 COND_TOOLKIT_X11
926 COND_TOOLKIT_X11_USE_GUI_1
927 COND_UNICODE_1
928 COND_USE_EXCEPTIONS_0
929 COND_USE_EXCEPTIONS_1
930 COND_USE_GUI_0
931 COND_USE_GUI_1
932 COND_USE_GUI_1_WXUNIV_0
933 COND_USE_GUI_1_WXUNIV_1
934 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
935 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
936 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
937 COND_USE_ODBC_1
938 COND_USE_OPENGL_1
939 COND_USE_PCH_1
940 COND_USE_PLUGINS_0
941 COND_USE_RTTI_0
942 COND_USE_RTTI_1
943 COND_USE_SOSYMLINKS_1
944 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
945 COND_USE_SOVERLINUX_1
946 COND_USE_SOVERSION_0
947 COND_USE_SOVERSOLARIS_1
948 COND_USE_THREADS_0
949 COND_USE_THREADS_1
950 COND_USE_XRC_1
951 COND_WINDOWS_IMPLIB_1
952 COND_WITH_PLUGIN_SDL_1
953 COND_WXUNIV_0
954 COND_WXUNIV_1
955 COND_WXUSE_EXPAT_BUILTIN
956 COND_WXUSE_LIBJPEG_BUILTIN
957 COND_WXUSE_LIBPNG_BUILTIN
958 COND_WXUSE_LIBTIFF_BUILTIN
959 COND_WXUSE_ODBC_BUILTIN
960 COND_WXUSE_REGEX_BUILTIN
961 COND_WXUSE_ZLIB_BUILTIN
962 SHARED
963 WX_LIBRARY_BASENAME_NOGUI
964 WX_LIBRARY_BASENAME_GUI
965 USE_GUI
966 AFMINSTALL
967 WIN32INSTALL
968 TOOLKIT
969 TOOLKIT_DIR
970 TOOLCHAIN_NAME
971 TOOLCHAIN_FULLNAME
972 cross_compiling
973 WIDGET_SET
974 WX_RELEASE
975 WX_VERSION
976 WX_SUBVERSION
977 WX_CHARTYPE
978 WX_DEBUGTYPE
979 WXCONFIG_CPPFLAGS
980 WXCONFIG_CFLAGS
981 WXCONFIG_CXXFLAGS
982 WXCONFIG_LIBS
983 WXCONFIG_RPATH
984 WXCONFIG_LDFLAGS_GUI
985 WXCONFIG_RESFLAGS
986 EXE_LINKER
987 GUIDIST
988 DISTDIR
989 SAMPLES_SUBDIRS
990 LDFLAGS_GL
991 OPENGL_LIBS
992 DMALLOC_LIBS
993 WX_VERSION_TAG
994 RESCOMP
995 RESFLAGS
996 RESPROGRAMOBJ
997 WX_RESOURCES_MACOSX_ASCII
998 WX_RESOURCES_MACOSX_DATA
999 LIBWXMACRES
1000 POSTLINK_COMMAND
1001 MACSETFILE
1002 GCC
1003 CPPUNIT_CONFIG
1004 LIBOBJS
1005 LTLIBOBJS'
1006 ac_subst_files=''
1007 ac_precious_vars='build_alias
1008 host_alias
1009 target_alias
1010 CC
1011 CFLAGS
1012 LDFLAGS
1013 LIBS
1014 CPPFLAGS
1015 CPP
1016 CXX
1017 CXXFLAGS
1018 CCC
1019 PKG_CONFIG
1020 DIRECTFB_CFLAGS
1021 DIRECTFB_LIBS
1022 XMKMF
1023 PANGOX_CFLAGS
1024 PANGOX_LIBS
1025 PANGOFT2_CFLAGS
1026 PANGOFT2_LIBS
1027 PANGOXFT_CFLAGS
1028 PANGOXFT_LIBS
1029 LIBGNOMEPRINTUI_CFLAGS
1030 LIBGNOMEPRINTUI_LIBS
1031 GNOMEVFS_CFLAGS
1032 GNOMEVFS_LIBS
1033 HILDON_CFLAGS
1034 HILDON_LIBS
1035 CAIRO_CFLAGS
1036 CAIRO_LIBS
1037 GST_CFLAGS
1038 GST_LIBS'
1039 ac_subdirs_all='src/expat'
1040
1041 # Initialize some variables set by options.
1042 ac_init_help=
1043 ac_init_version=false
1044 # The variables have the same names as the options, with
1045 # dashes changed to underlines.
1046 cache_file=/dev/null
1047 exec_prefix=NONE
1048 no_create=
1049 no_recursion=
1050 prefix=NONE
1051 program_prefix=NONE
1052 program_suffix=NONE
1053 program_transform_name=s,x,x,
1054 silent=
1055 site=
1056 srcdir=
1057 verbose=
1058 x_includes=NONE
1059 x_libraries=NONE
1060
1061 # Installation directory options.
1062 # These are left unexpanded so users can "make install exec_prefix=/foo"
1063 # and all the variables that are supposed to be based on exec_prefix
1064 # by default will actually change.
1065 # Use braces instead of parens because sh, perl, etc. also accept them.
1066 # (The list follows the same order as the GNU Coding Standards.)
1067 bindir='${exec_prefix}/bin'
1068 sbindir='${exec_prefix}/sbin'
1069 libexecdir='${exec_prefix}/libexec'
1070 datarootdir='${prefix}/share'
1071 datadir='${datarootdir}'
1072 sysconfdir='${prefix}/etc'
1073 sharedstatedir='${prefix}/com'
1074 localstatedir='${prefix}/var'
1075 includedir='${prefix}/include'
1076 oldincludedir='/usr/include'
1077 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1078 infodir='${datarootdir}/info'
1079 htmldir='${docdir}'
1080 dvidir='${docdir}'
1081 pdfdir='${docdir}'
1082 psdir='${docdir}'
1083 libdir='${exec_prefix}/lib'
1084 localedir='${datarootdir}/locale'
1085 mandir='${datarootdir}/man'
1086
1087 ac_prev=
1088 ac_dashdash=
1089 for ac_option
1090 do
1091 # If the previous option needs an argument, assign it.
1092 if test -n "$ac_prev"; then
1093 eval $ac_prev=\$ac_option
1094 ac_prev=
1095 continue
1096 fi
1097
1098 case $ac_option in
1099 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1100 *) ac_optarg=yes ;;
1101 esac
1102
1103 # Accept the important Cygnus configure options, so we can diagnose typos.
1104
1105 case $ac_dashdash$ac_option in
1106 --)
1107 ac_dashdash=yes ;;
1108
1109 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1110 ac_prev=bindir ;;
1111 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1112 bindir=$ac_optarg ;;
1113
1114 -build | --build | --buil | --bui | --bu)
1115 ac_prev=build_alias ;;
1116 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1117 build_alias=$ac_optarg ;;
1118
1119 -cache-file | --cache-file | --cache-fil | --cache-fi \
1120 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1121 ac_prev=cache_file ;;
1122 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1123 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1124 cache_file=$ac_optarg ;;
1125
1126 --config-cache | -C)
1127 cache_file=config.cache ;;
1128
1129 -datadir | --datadir | --datadi | --datad)
1130 ac_prev=datadir ;;
1131 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1132 datadir=$ac_optarg ;;
1133
1134 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1135 | --dataroo | --dataro | --datar)
1136 ac_prev=datarootdir ;;
1137 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1138 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1139 datarootdir=$ac_optarg ;;
1140
1141 -disable-* | --disable-*)
1142 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1145 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1146 { (exit 1); exit 1; }; }
1147 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1148 eval enable_$ac_feature=no ;;
1149
1150 -docdir | --docdir | --docdi | --doc | --do)
1151 ac_prev=docdir ;;
1152 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1153 docdir=$ac_optarg ;;
1154
1155 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1156 ac_prev=dvidir ;;
1157 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1158 dvidir=$ac_optarg ;;
1159
1160 -enable-* | --enable-*)
1161 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1165 { (exit 1); exit 1; }; }
1166 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1167 eval enable_$ac_feature=\$ac_optarg ;;
1168
1169 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1170 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1171 | --exec | --exe | --ex)
1172 ac_prev=exec_prefix ;;
1173 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1174 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1175 | --exec=* | --exe=* | --ex=*)
1176 exec_prefix=$ac_optarg ;;
1177
1178 -gas | --gas | --ga | --g)
1179 # Obsolete; use --with-gas.
1180 with_gas=yes ;;
1181
1182 -help | --help | --hel | --he | -h)
1183 ac_init_help=long ;;
1184 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1185 ac_init_help=recursive ;;
1186 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1187 ac_init_help=short ;;
1188
1189 -host | --host | --hos | --ho)
1190 ac_prev=host_alias ;;
1191 -host=* | --host=* | --hos=* | --ho=*)
1192 host_alias=$ac_optarg ;;
1193
1194 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1195 ac_prev=htmldir ;;
1196 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1197 | --ht=*)
1198 htmldir=$ac_optarg ;;
1199
1200 -includedir | --includedir | --includedi | --included | --include \
1201 | --includ | --inclu | --incl | --inc)
1202 ac_prev=includedir ;;
1203 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1204 | --includ=* | --inclu=* | --incl=* | --inc=*)
1205 includedir=$ac_optarg ;;
1206
1207 -infodir | --infodir | --infodi | --infod | --info | --inf)
1208 ac_prev=infodir ;;
1209 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1210 infodir=$ac_optarg ;;
1211
1212 -libdir | --libdir | --libdi | --libd)
1213 ac_prev=libdir ;;
1214 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1215 libdir=$ac_optarg ;;
1216
1217 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1218 | --libexe | --libex | --libe)
1219 ac_prev=libexecdir ;;
1220 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1221 | --libexe=* | --libex=* | --libe=*)
1222 libexecdir=$ac_optarg ;;
1223
1224 -localedir | --localedir | --localedi | --localed | --locale)
1225 ac_prev=localedir ;;
1226 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1227 localedir=$ac_optarg ;;
1228
1229 -localstatedir | --localstatedir | --localstatedi | --localstated \
1230 | --localstate | --localstat | --localsta | --localst | --locals)
1231 ac_prev=localstatedir ;;
1232 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1233 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1234 localstatedir=$ac_optarg ;;
1235
1236 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1237 ac_prev=mandir ;;
1238 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1239 mandir=$ac_optarg ;;
1240
1241 -nfp | --nfp | --nf)
1242 # Obsolete; use --without-fp.
1243 with_fp=no ;;
1244
1245 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1246 | --no-cr | --no-c | -n)
1247 no_create=yes ;;
1248
1249 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1250 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1251 no_recursion=yes ;;
1252
1253 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1254 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1255 | --oldin | --oldi | --old | --ol | --o)
1256 ac_prev=oldincludedir ;;
1257 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1258 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1259 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1260 oldincludedir=$ac_optarg ;;
1261
1262 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1263 ac_prev=prefix ;;
1264 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1265 prefix=$ac_optarg ;;
1266
1267 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1268 | --program-pre | --program-pr | --program-p)
1269 ac_prev=program_prefix ;;
1270 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1271 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1272 program_prefix=$ac_optarg ;;
1273
1274 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1275 | --program-suf | --program-su | --program-s)
1276 ac_prev=program_suffix ;;
1277 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1278 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1279 program_suffix=$ac_optarg ;;
1280
1281 -program-transform-name | --program-transform-name \
1282 | --program-transform-nam | --program-transform-na \
1283 | --program-transform-n | --program-transform- \
1284 | --program-transform | --program-transfor \
1285 | --program-transfo | --program-transf \
1286 | --program-trans | --program-tran \
1287 | --progr-tra | --program-tr | --program-t)
1288 ac_prev=program_transform_name ;;
1289 -program-transform-name=* | --program-transform-name=* \
1290 | --program-transform-nam=* | --program-transform-na=* \
1291 | --program-transform-n=* | --program-transform-=* \
1292 | --program-transform=* | --program-transfor=* \
1293 | --program-transfo=* | --program-transf=* \
1294 | --program-trans=* | --program-tran=* \
1295 | --progr-tra=* | --program-tr=* | --program-t=*)
1296 program_transform_name=$ac_optarg ;;
1297
1298 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1299 ac_prev=pdfdir ;;
1300 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1301 pdfdir=$ac_optarg ;;
1302
1303 -psdir | --psdir | --psdi | --psd | --ps)
1304 ac_prev=psdir ;;
1305 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1306 psdir=$ac_optarg ;;
1307
1308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1309 | -silent | --silent | --silen | --sile | --sil)
1310 silent=yes ;;
1311
1312 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1313 ac_prev=sbindir ;;
1314 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1315 | --sbi=* | --sb=*)
1316 sbindir=$ac_optarg ;;
1317
1318 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1319 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1320 | --sharedst | --shareds | --shared | --share | --shar \
1321 | --sha | --sh)
1322 ac_prev=sharedstatedir ;;
1323 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1324 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1325 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1326 | --sha=* | --sh=*)
1327 sharedstatedir=$ac_optarg ;;
1328
1329 -site | --site | --sit)
1330 ac_prev=site ;;
1331 -site=* | --site=* | --sit=*)
1332 site=$ac_optarg ;;
1333
1334 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1335 ac_prev=srcdir ;;
1336 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1337 srcdir=$ac_optarg ;;
1338
1339 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1340 | --syscon | --sysco | --sysc | --sys | --sy)
1341 ac_prev=sysconfdir ;;
1342 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1343 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1344 sysconfdir=$ac_optarg ;;
1345
1346 -target | --target | --targe | --targ | --tar | --ta | --t)
1347 ac_prev=target_alias ;;
1348 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1349 target_alias=$ac_optarg ;;
1350
1351 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1352 verbose=yes ;;
1353
1354 -version | --version | --versio | --versi | --vers | -V)
1355 ac_init_version=: ;;
1356
1357 -with-* | --with-*)
1358 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1359 # Reject names that are not valid shell variable names.
1360 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1361 { echo "$as_me: error: invalid package name: $ac_package" >&2
1362 { (exit 1); exit 1; }; }
1363 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1364 eval with_$ac_package=\$ac_optarg ;;
1365
1366 -without-* | --without-*)
1367 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_$ac_package=no ;;
1374
1375 --x)
1376 # Obsolete; use --with-x.
1377 with_x=yes ;;
1378
1379 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1380 | --x-incl | --x-inc | --x-in | --x-i)
1381 ac_prev=x_includes ;;
1382 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1383 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1384 x_includes=$ac_optarg ;;
1385
1386 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1387 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1388 ac_prev=x_libraries ;;
1389 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1390 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1391 x_libraries=$ac_optarg ;;
1392
1393 -*) { echo "$as_me: error: unrecognized option: $ac_option
1394 Try \`$0 --help' for more information." >&2
1395 { (exit 1); exit 1; }; }
1396 ;;
1397
1398 *=*)
1399 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1400 # Reject names that are not valid shell variable names.
1401 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1402 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1403 { (exit 1); exit 1; }; }
1404 eval $ac_envvar=\$ac_optarg
1405 export $ac_envvar ;;
1406
1407 *)
1408 # FIXME: should be removed in autoconf 3.0.
1409 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1410 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1411 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1412 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1413 ;;
1414
1415 esac
1416 done
1417
1418 if test -n "$ac_prev"; then
1419 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1420 { echo "$as_me: error: missing argument to $ac_option" >&2
1421 { (exit 1); exit 1; }; }
1422 fi
1423
1424 # Be sure to have absolute directory names.
1425 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1426 datadir sysconfdir sharedstatedir localstatedir includedir \
1427 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1428 libdir localedir mandir
1429 do
1430 eval ac_val=\$$ac_var
1431 case $ac_val in
1432 [\\/$]* | ?:[\\/]* ) continue;;
1433 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1434 esac
1435 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1436 { (exit 1); exit 1; }; }
1437 done
1438
1439 # There might be people who depend on the old broken behavior: `$host'
1440 # used to hold the argument of --host etc.
1441 # FIXME: To remove some day.
1442 build=$build_alias
1443 host=$host_alias
1444 target=$target_alias
1445
1446 # FIXME: To remove some day.
1447 if test "x$host_alias" != x; then
1448 if test "x$build_alias" = x; then
1449 cross_compiling=maybe
1450 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1451 If a cross compiler is detected then cross compile mode will be used." >&2
1452 elif test "x$build_alias" != "x$host_alias"; then
1453 cross_compiling=yes
1454 fi
1455 fi
1456
1457 ac_tool_prefix=
1458 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1459
1460 test "$silent" = yes && exec 6>/dev/null
1461
1462
1463 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1464 ac_ls_di=`ls -di .` &&
1465 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1466 { echo "$as_me: error: Working directory cannot be determined" >&2
1467 { (exit 1); exit 1; }; }
1468 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1469 { echo "$as_me: error: pwd does not report name of working directory" >&2
1470 { (exit 1); exit 1; }; }
1471
1472
1473 # Find the source files, if location was not specified.
1474 if test -z "$srcdir"; then
1475 ac_srcdir_defaulted=yes
1476 # Try the directory containing this script, then the parent directory.
1477 ac_confdir=`$as_dirname -- "$0" ||
1478 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1479 X"$0" : 'X\(//\)[^/]' \| \
1480 X"$0" : 'X\(//\)$' \| \
1481 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1482 echo X"$0" |
1483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1484 s//\1/
1485 q
1486 }
1487 /^X\(\/\/\)[^/].*/{
1488 s//\1/
1489 q
1490 }
1491 /^X\(\/\/\)$/{
1492 s//\1/
1493 q
1494 }
1495 /^X\(\/\).*/{
1496 s//\1/
1497 q
1498 }
1499 s/.*/./; q'`
1500 srcdir=$ac_confdir
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1502 srcdir=..
1503 fi
1504 else
1505 ac_srcdir_defaulted=no
1506 fi
1507 if test ! -r "$srcdir/$ac_unique_file"; then
1508 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1509 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1510 { (exit 1); exit 1; }; }
1511 fi
1512 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1513 ac_abs_confdir=`(
1514 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1515 { (exit 1); exit 1; }; }
1516 pwd)`
1517 # When building in place, set srcdir=.
1518 if test "$ac_abs_confdir" = "$ac_pwd"; then
1519 srcdir=.
1520 fi
1521 # Remove unnecessary trailing slashes from srcdir.
1522 # Double slashes in file names in object file debugging info
1523 # mess up M-x gdb in Emacs.
1524 case $srcdir in
1525 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1526 esac
1527 for ac_var in $ac_precious_vars; do
1528 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1529 eval ac_env_${ac_var}_value=\$${ac_var}
1530 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1531 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1532 done
1533
1534 #
1535 # Report the --help message.
1536 #
1537 if test "$ac_init_help" = "long"; then
1538 # Omit some internal or obsolete options to make the list less imposing.
1539 # This message is too long to be a string in the A/UX 3.1 sh.
1540 cat <<_ACEOF
1541 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1542
1543 Usage: $0 [OPTION]... [VAR=VALUE]...
1544
1545 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1546 VAR=VALUE. See below for descriptions of some of the useful variables.
1547
1548 Defaults for the options are specified in brackets.
1549
1550 Configuration:
1551 -h, --help display this help and exit
1552 --help=short display options specific to this package
1553 --help=recursive display the short help of all the included packages
1554 -V, --version display version information and exit
1555 -q, --quiet, --silent do not print \`checking...' messages
1556 --cache-file=FILE cache test results in FILE [disabled]
1557 -C, --config-cache alias for \`--cache-file=config.cache'
1558 -n, --no-create do not create output files
1559 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1560
1561 Installation directories:
1562 --prefix=PREFIX install architecture-independent files in PREFIX
1563 [$ac_default_prefix]
1564 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1565 [PREFIX]
1566
1567 By default, \`make install' will install all the files in
1568 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1569 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1570 for instance \`--prefix=\$HOME'.
1571
1572 For better control, use the options below.
1573
1574 Fine tuning of the installation directories:
1575 --bindir=DIR user executables [EPREFIX/bin]
1576 --sbindir=DIR system admin executables [EPREFIX/sbin]
1577 --libexecdir=DIR program executables [EPREFIX/libexec]
1578 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1579 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1580 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1581 --libdir=DIR object code libraries [EPREFIX/lib]
1582 --includedir=DIR C header files [PREFIX/include]
1583 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1584 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1585 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1586 --infodir=DIR info documentation [DATAROOTDIR/info]
1587 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1588 --mandir=DIR man documentation [DATAROOTDIR/man]
1589 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1590 --htmldir=DIR html documentation [DOCDIR]
1591 --dvidir=DIR dvi documentation [DOCDIR]
1592 --pdfdir=DIR pdf documentation [DOCDIR]
1593 --psdir=DIR ps documentation [DOCDIR]
1594 _ACEOF
1595
1596 cat <<\_ACEOF
1597
1598 X features:
1599 --x-includes=DIR X include files are in DIR
1600 --x-libraries=DIR X library files are in DIR
1601
1602 System types:
1603 --build=BUILD configure for building on BUILD [guessed]
1604 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1605 --target=TARGET configure for building compilers for TARGET [HOST]
1606 _ACEOF
1607 fi
1608
1609 if test -n "$ac_init_help"; then
1610 case $ac_init_help in
1611 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1612 esac
1613 cat <<\_ACEOF
1614
1615 Optional Features:
1616 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1617 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1618 --enable-gui use GUI classes
1619 --enable-monolithic build wxWidgets as single library
1620 --enable-plugins build parts of wxWidgets as loadable components
1621 --enable-universal use wxWidgets GUI controls instead of native ones
1622 --enable-nanox use NanoX
1623 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1624 --enable-gpe use GNOME PDA Environment features if possible
1625 --enable-shared create shared library code
1626 --enable-optimise create optimised code
1627 --enable-debug same as debug_flag and debug_info
1628 --enable-stl use STL for containers
1629 --enable-omf use OMF object format
1630 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1631 --enable-debug_info create code with debugging information
1632 --enable-debug_gdb create code with extra GDB debugging information
1633 --enable-debug_cntxt use wxDebugContext
1634 --enable-mem_tracing create code with memory tracing
1635 --enable-profile create code with profiling information
1636 --enable-no_rtti create code without RTTI information
1637 --enable-no_exceptions create code without C++ exceptions handling
1638 --enable-permissive compile code disregarding strict ANSI
1639 --enable-no_deps create code without dependency information
1640 --disable-vararg_macros don't use vararg macros, even if they are supported
1641 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1642 --enable-compat26 enable wxWidgets 2.6 compatibility
1643 --disable-compat28 disable wxWidgets 2.8 compatibility
1644 --disable-rpath disable use of rpath for uninstalled builds
1645 --enable-intl use internationalization system
1646 --enable-config use wxConfig (and derived) classes
1647 --enable-protocols use wxProtocol and derived classes
1648 --enable-ftp use wxFTP (requires wxProtocol
1649 --enable-http use wxHTTP (requires wxProtocol
1650 --enable-fileproto use wxFileProto class (requires wxProtocol
1651 --enable-sockets use socket/network classes
1652 --enable-ole use OLE classes (Win32 only)
1653 --enable-dataobj use data object classes
1654 --enable-ipc use interprocess communication (wxSocket etc.)
1655 --enable-apple_ieee use the Apple IEEE codec
1656 --enable-arcstream use wxArchive streams
1657 --enable-backtrace use wxStackWalker class for getting backtraces
1658 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1659 --enable-cmdline use wxCmdLineParser class
1660 --enable-datetime use wxDateTime class
1661 --enable-debugreport use wxDebugReport class
1662 --enable-dialupman use dialup network classes
1663 --enable-dynlib use wxLibrary class for DLL loading
1664 --enable-dynamicloader use (new) wxDynamicLibrary class
1665 --enable-exceptions build exception-safe library
1666 --enable-ffile use wxFFile class
1667 --enable-file use wxFile class
1668 --enable-filesystem use virtual file systems classes
1669 --enable-fontmap use font encodings conversion classes
1670 --enable-fs_archive use virtual archive filesystems
1671 --enable-fs_inet use virtual HTTP/FTP filesystems
1672 --enable-fs_zip now replaced by fs_archive
1673 --enable-geometry use geometry class
1674 --enable-log use logging system
1675 --enable-longlong use wxLongLong class
1676 --enable-mimetype use wxMimeTypesManager
1677 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1678 --enable-snglinst use wxSingleInstanceChecker class
1679 --enable-std_iostreams use standard C++ stream classes
1680 --enable-std_string use standard C++ string classes
1681 --enable-stdpaths use wxStandardPaths class
1682 --enable-stopwatch use wxStopWatch class
1683 --enable-streams use wxStream etc classes
1684 --enable-sysoptions use wxSystemOptions
1685 --enable-tarstream use wxTar streams
1686 --enable-textbuf use wxTextBuffer class
1687 --enable-textfile use wxTextFile class
1688 --enable-timer use wxTimer class
1689 --enable-unicode compile wxString with Unicode support
1690 --enable-sound use wxSound class
1691 --enable-mediactrl use wxMediaCtrl class
1692 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1693 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1694 --enable-zipstream use wxZip streams
1695 --enable-url use wxURL class
1696 --enable-variant use wxVariant class
1697 --enable-protocol use wxProtocol class
1698 --enable-protocol-http HTTP support in wxProtocol
1699 --enable-protocol-ftp FTP support in wxProtocol
1700 --enable-protocol-file FILE support in wxProtocol
1701 --enable-threads use threads
1702 --enable-docview use document view architecture
1703 --enable-help use help subsystem
1704 --enable-mshtmlhelp use MS HTML Help (win32)
1705 --enable-html use wxHTML sub-library
1706 --enable-htmlhelp use wxHTML-based help
1707 --enable-xrc use XRC resources sub-library
1708 --enable-aui use AUI docking library
1709 --enable-constraints use layout-constraints system
1710 --enable-printarch use printing architecture
1711 --enable-mdi use multiple document interface architecture
1712 --enable-mdidoc use docview architecture with MDI
1713 --enable-loggui use standard GUI logger
1714 --enable-logwin use wxLogWindow
1715 --enable-logdialog use wxLogDialog
1716 --enable-webkit use wxWebKitCtrl (Mac)
1717 --enable-richtext use wxRichTextCtrl
1718 --enable-graphics_ctx use graphics context 2D drawing API
1719 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1720 --enable-prologio not available; see contrib
1721 --enable-resources not available; see contrib
1722 --enable-clipboard use wxClipboard class
1723 --enable-dnd use Drag'n'Drop classes
1724 --enable-metafile use win32 metafiles
1725 --enable-controls use all usual controls
1726 --enable-accel use accelerators
1727 --enable-animatectrl use wxAnimationCtrl class
1728 --enable-button use wxButton class
1729 --enable-bmpbutton use wxBitmapButton class
1730 --enable-bmpcombobox use wxBitmapComboBox class
1731 --enable-calendar use wxCalendarCtrl class
1732 --enable-caret use wxCaret class
1733 --enable-checkbox use wxCheckBox class
1734 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1735 --enable-choice use wxChoice class
1736 --enable-choicebook use wxChoicebook class
1737 --enable-collpane use wxCollapsiblePane class
1738 --enable-colourpicker use wxColourPickerCtrl class
1739 --enable-combobox use wxComboBox class
1740 --enable-comboctrl use wxComboCtrl class
1741 --enable-datepick use wxDatePickerCtrl class
1742 --enable-dirpicker use wxDirPickerCtrl class
1743 --enable-display use wxDisplay class
1744 --enable-detect_sm use code to detect X11 session manager
1745 --enable-filepicker use wxFilePickerCtrl class
1746 --enable-fontpicker use wxFontPickerCtrl class
1747 --enable-gauge use wxGauge class
1748 --enable-grid use wxGrid class
1749 --enable-dataviewctrl use wxDataViewCtrl class
1750 --enable-hyperlink use wxHyperlinkCtrl class
1751 --enable-imaglist use wxImageList class
1752 --enable-listbook use wxListbook class
1753 --enable-listbox use wxListBox class
1754 --enable-listctrl use wxListCtrl class
1755 --enable-notebook use wxNotebook class
1756 --enable-odcombobox use wxOwnerDrawnComboBox class
1757 --enable-radiobox use wxRadioBox class
1758 --enable-radiobtn use wxRadioButton class
1759 --enable-sash use wxSashWindow class
1760 --enable-scrollbar use wxScrollBar class and scrollable windows
1761 --enable-searchctrl use wxSearchCtrl class
1762 --enable-slider use wxSlider class
1763 --enable-spinbtn use wxSpinButton class
1764 --enable-spinctrl use wxSpinCtrl class
1765 --enable-splitter use wxSplitterWindow class
1766 --enable-statbmp use wxStaticBitmap class
1767 --enable-statbox use wxStaticBox class
1768 --enable-statline use wxStaticLine class
1769 --enable-stattext use wxStaticText class
1770 --enable-statusbar use wxStatusBar class
1771 --enable-tabdialog use wxTabControl class
1772 --enable-textctrl use wxTextCtrl class
1773 --enable-togglebtn use wxToggleButton class
1774 --enable-toolbar use wxToolBar class
1775 --enable-tbarnative use native wxToolBar class
1776 --enable-treebook use wxTreebook class
1777 --enable-toolbook use wxToolbook class
1778 --enable-treectrl use wxTreeCtrl class
1779 --enable-tipwindow use wxTipWindow class
1780 --enable-popupwin use wxPopUpWindow class
1781 --enable-commondlg use all common dialogs
1782 --enable-aboutdlg use wxAboutBox
1783 --enable-choicedlg use wxChoiceDialog
1784 --enable-coldlg use wxColourDialog
1785 --enable-filedlg use wxFileDialog
1786 --enable-finddlg use wxFindReplaceDialog
1787 --enable-fontdlg use wxFontDialog
1788 --enable-dirdlg use wxDirDialog
1789 --enable-msgdlg use wxMessageDialog
1790 --enable-numberdlg use wxNumberEntryDialog
1791 --enable-splash use wxSplashScreen
1792 --enable-textdlg use wxTextDialog
1793 --enable-tipdlg use startup tips
1794 --enable-progressdlg use wxProgressDialog
1795 --enable-wizarddlg use wxWizard
1796 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1797 --enable-miniframe use wxMiniFrame class
1798 --enable-tooltips use wxToolTip class
1799 --enable-splines use spline drawing code
1800 --enable-mousewheel use mousewheel
1801 --enable-validators use wxValidator and derived classes
1802 --enable-busyinfo use wxBusyInfo
1803 --enable-joystick use wxJoystick
1804 --enable-metafiles use wxMetaFile (Win32 only)
1805 --enable-dragimage use wxDragImage
1806 --enable-accessibility enable accessibility support
1807 --enable-dccache cache temporary wxDC objects (Win32 only)
1808 --enable-palette use wxPalette class
1809 --enable-image use wxImage class
1810 --enable-gif use gif images (GIF file format)
1811 --enable-pcx use pcx images (PCX file format)
1812 --enable-tga use tga images (TGA file format)
1813 --enable-iff use iff images (IFF file format)
1814 --enable-pnm use pnm images (PNM file format)
1815 --enable-xpm use xpm images (XPM file format)
1816 --enable-icocur use Windows ICO and CUR formats
1817 --enable-official_build official build of wxWidgets (win32 DLL only)
1818 --enable-vendor=VENDOR vendor name (win32 DLL only)
1819 --disable-largefile omit support for large files
1820 --disable-gtktest do not try to compile and run a test GTK+ program
1821 --disable-gtktest Do not try to compile and run a test GTK program
1822 --disable-sdltest Do not try to compile and run a test SDL program
1823 --enable-omf use OMF object format (OS/2)
1824 --disable-dependency-tracking
1825 don't use dependency tracking even if the compiler
1826 can
1827 --disable-precomp-headers
1828 don't use precompiled headers even if compiler can
1829
1830 Optional Packages:
1831 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1832 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1833 --without-subdirs don't generate makefiles for samples/demos/...
1834 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1835 --with-motif use Motif/Lesstif
1836 --with-mac use Mac OS X
1837 --with-cocoa use Cocoa
1838 --with-wine use Wine
1839 --with-msw use MS-Windows
1840 --with-pm use OS/2 Presentation Manager
1841 --with-mgl use SciTech MGL
1842 --with-directfb use DirectFB
1843 --with-microwin use MicroWindows
1844 --with-x11 use X11
1845 --with-libpng use libpng (PNG image format)
1846 --with-libjpeg use libjpeg (JPEG file format)
1847 --with-libtiff use libtiff (TIFF file format)
1848 --with-libxpm use libxpm (XPM file format)
1849 --with-libmspack use libmspack (CHM help files loading)
1850 --with-sdl use SDL for audio on Unix
1851 --with-gnomeprint use GNOME print for printing under GNOME
1852 --with-gnomevfs use GNOME VFS for associating MIME types
1853 --with-hildon use Hildon framework for Nokia 770
1854 --with-opengl use OpenGL (or Mesa)
1855 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1856 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1857 --with-regex enable support for wxRegEx class
1858 --with-zlib use zlib for LZW compression
1859 --with-odbc use the IODBC and wxODBC classes
1860 --with-expat enable XML support using expat parser
1861 --with-flavour=NAME specify a name to identify this build
1862 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1863 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1864 --with-x use the X Window System
1865 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1866 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1867 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1868 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1869 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1870
1871 Some influential environment variables:
1872 CC C compiler command
1873 CFLAGS C compiler flags
1874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1875 nonstandard directory <lib dir>
1876 LIBS libraries to pass to the linker, e.g. -l<library>
1877 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1878 you have headers in a nonstandard directory <include dir>
1879 CPP C preprocessor
1880 CXX C++ compiler command
1881 CXXFLAGS C++ compiler flags
1882 PKG_CONFIG path to pkg-config utility
1883 DIRECTFB_CFLAGS
1884 C compiler flags for DIRECTFB, overriding pkg-config
1885 DIRECTFB_LIBS
1886 linker flags for DIRECTFB, overriding pkg-config
1887 XMKMF Path to xmkmf, Makefile generator for X Window System
1888 PANGOX_CFLAGS
1889 C compiler flags for PANGOX, overriding pkg-config
1890 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1891 PANGOFT2_CFLAGS
1892 C compiler flags for PANGOFT2, overriding pkg-config
1893 PANGOFT2_LIBS
1894 linker flags for PANGOFT2, overriding pkg-config
1895 PANGOXFT_CFLAGS
1896 C compiler flags for PANGOXFT, overriding pkg-config
1897 PANGOXFT_LIBS
1898 linker flags for PANGOXFT, overriding pkg-config
1899 LIBGNOMEPRINTUI_CFLAGS
1900 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1901 LIBGNOMEPRINTUI_LIBS
1902 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1903 GNOMEVFS_CFLAGS
1904 C compiler flags for GNOMEVFS, overriding pkg-config
1905 GNOMEVFS_LIBS
1906 linker flags for GNOMEVFS, overriding pkg-config
1907 HILDON_CFLAGS
1908 C compiler flags for HILDON, overriding pkg-config
1909 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1910 CAIRO_CFLAGS
1911 C compiler flags for CAIRO, overriding pkg-config
1912 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1913 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1914 GST_LIBS linker flags for GST, overriding pkg-config
1915
1916 Use these variables to override the choices made by `configure' or to help
1917 it to find libraries and programs with nonstandard names/locations.
1918
1919 Report bugs to <wx-dev@lists.wxwidgets.org>.
1920 _ACEOF
1921 ac_status=$?
1922 fi
1923
1924 if test "$ac_init_help" = "recursive"; then
1925 # If there are subdirs, report their specific --help.
1926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1927 test -d "$ac_dir" || continue
1928 ac_builddir=.
1929
1930 case "$ac_dir" in
1931 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1932 *)
1933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1934 # A ".." for each directory in $ac_dir_suffix.
1935 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1936 case $ac_top_builddir_sub in
1937 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1938 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1939 esac ;;
1940 esac
1941 ac_abs_top_builddir=$ac_pwd
1942 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1943 # for backward compatibility:
1944 ac_top_builddir=$ac_top_build_prefix
1945
1946 case $srcdir in
1947 .) # We are building in place.
1948 ac_srcdir=.
1949 ac_top_srcdir=$ac_top_builddir_sub
1950 ac_abs_top_srcdir=$ac_pwd ;;
1951 [\\/]* | ?:[\\/]* ) # Absolute name.
1952 ac_srcdir=$srcdir$ac_dir_suffix;
1953 ac_top_srcdir=$srcdir
1954 ac_abs_top_srcdir=$srcdir ;;
1955 *) # Relative name.
1956 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1957 ac_top_srcdir=$ac_top_build_prefix$srcdir
1958 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1959 esac
1960 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1961
1962 cd "$ac_dir" || { ac_status=$?; continue; }
1963 # Check for guested configure.
1964 if test -f "$ac_srcdir/configure.gnu"; then
1965 echo &&
1966 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1967 elif test -f "$ac_srcdir/configure"; then
1968 echo &&
1969 $SHELL "$ac_srcdir/configure" --help=recursive
1970 else
1971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1972 fi || ac_status=$?
1973 cd "$ac_pwd" || { ac_status=$?; break; }
1974 done
1975 fi
1976
1977 test -n "$ac_init_help" && exit $ac_status
1978 if $ac_init_version; then
1979 cat <<\_ACEOF
1980 wxWidgets configure 2.9.0
1981 generated by GNU Autoconf 2.61
1982
1983 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1984 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1985 This configure script is free software; the Free Software Foundation
1986 gives unlimited permission to copy, distribute and modify it.
1987 _ACEOF
1988 exit
1989 fi
1990 cat >config.log <<_ACEOF
1991 This file contains any messages produced by compilers while
1992 running configure, to aid debugging if configure makes a mistake.
1993
1994 It was created by wxWidgets $as_me 2.9.0, which was
1995 generated by GNU Autoconf 2.61. Invocation command line was
1996
1997 $ $0 $@
1998
1999 _ACEOF
2000 exec 5>>config.log
2001 {
2002 cat <<_ASUNAME
2003 ## --------- ##
2004 ## Platform. ##
2005 ## --------- ##
2006
2007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2012
2013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2014 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2015
2016 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2017 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2019 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2020 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2021 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2022 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2023
2024 _ASUNAME
2025
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH
2028 do
2029 IFS=$as_save_IFS
2030 test -z "$as_dir" && as_dir=.
2031 echo "PATH: $as_dir"
2032 done
2033 IFS=$as_save_IFS
2034
2035 } >&5
2036
2037 cat >&5 <<_ACEOF
2038
2039
2040 ## ----------- ##
2041 ## Core tests. ##
2042 ## ----------- ##
2043
2044 _ACEOF
2045
2046
2047 # Keep a trace of the command line.
2048 # Strip out --no-create and --no-recursion so they do not pile up.
2049 # Strip out --silent because we don't want to record it for future runs.
2050 # Also quote any args containing shell meta-characters.
2051 # Make two passes to allow for proper duplicate-argument suppression.
2052 ac_configure_args=
2053 ac_configure_args0=
2054 ac_configure_args1=
2055 ac_must_keep_next=false
2056 for ac_pass in 1 2
2057 do
2058 for ac_arg
2059 do
2060 case $ac_arg in
2061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2063 | -silent | --silent | --silen | --sile | --sil)
2064 continue ;;
2065 *\'*)
2066 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2067 esac
2068 case $ac_pass in
2069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2070 2)
2071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2072 if test $ac_must_keep_next = true; then
2073 ac_must_keep_next=false # Got value, back to normal.
2074 else
2075 case $ac_arg in
2076 *=* | --config-cache | -C | -disable-* | --disable-* \
2077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2079 | -with-* | --with-* | -without-* | --without-* | --x)
2080 case "$ac_configure_args0 " in
2081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2082 esac
2083 ;;
2084 -* ) ac_must_keep_next=true ;;
2085 esac
2086 fi
2087 ac_configure_args="$ac_configure_args '$ac_arg'"
2088 ;;
2089 esac
2090 done
2091 done
2092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2094
2095 # When interrupted or exit'd, cleanup temporary files, and complete
2096 # config.log. We remove comments because anyway the quotes in there
2097 # would cause problems or look ugly.
2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2100 trap 'exit_status=$?
2101 # Save into config.log some information that might help in debugging.
2102 {
2103 echo
2104
2105 cat <<\_ASBOX
2106 ## ---------------- ##
2107 ## Cache variables. ##
2108 ## ---------------- ##
2109 _ASBOX
2110 echo
2111 # The following way of writing the cache mishandles newlines in values,
2112 (
2113 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2114 eval ac_val=\$$ac_var
2115 case $ac_val in #(
2116 *${as_nl}*)
2117 case $ac_var in #(
2118 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2120 esac
2121 case $ac_var in #(
2122 _ | IFS | as_nl) ;; #(
2123 *) $as_unset $ac_var ;;
2124 esac ;;
2125 esac
2126 done
2127 (set) 2>&1 |
2128 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2129 *${as_nl}ac_space=\ *)
2130 sed -n \
2131 "s/'\''/'\''\\\\'\'''\''/g;
2132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2133 ;; #(
2134 *)
2135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136 ;;
2137 esac |
2138 sort
2139 )
2140 echo
2141
2142 cat <<\_ASBOX
2143 ## ----------------- ##
2144 ## Output variables. ##
2145 ## ----------------- ##
2146 _ASBOX
2147 echo
2148 for ac_var in $ac_subst_vars
2149 do
2150 eval ac_val=\$$ac_var
2151 case $ac_val in
2152 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2153 esac
2154 echo "$ac_var='\''$ac_val'\''"
2155 done | sort
2156 echo
2157
2158 if test -n "$ac_subst_files"; then
2159 cat <<\_ASBOX
2160 ## ------------------- ##
2161 ## File substitutions. ##
2162 ## ------------------- ##
2163 _ASBOX
2164 echo
2165 for ac_var in $ac_subst_files
2166 do
2167 eval ac_val=\$$ac_var
2168 case $ac_val in
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2170 esac
2171 echo "$ac_var='\''$ac_val'\''"
2172 done | sort
2173 echo
2174 fi
2175
2176 if test -s confdefs.h; then
2177 cat <<\_ASBOX
2178 ## ----------- ##
2179 ## confdefs.h. ##
2180 ## ----------- ##
2181 _ASBOX
2182 echo
2183 cat confdefs.h
2184 echo
2185 fi
2186 test "$ac_signal" != 0 &&
2187 echo "$as_me: caught signal $ac_signal"
2188 echo "$as_me: exit $exit_status"
2189 } >&5
2190 rm -f core *.core core.conftest.* &&
2191 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2192 exit $exit_status
2193 ' 0
2194 for ac_signal in 1 2 13 15; do
2195 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2196 done
2197 ac_signal=0
2198
2199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2200 rm -f -r conftest* confdefs.h
2201
2202 # Predefined preprocessor variables.
2203
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_NAME "$PACKAGE_NAME"
2206 _ACEOF
2207
2208
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2211 _ACEOF
2212
2213
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2216 _ACEOF
2217
2218
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_STRING "$PACKAGE_STRING"
2221 _ACEOF
2222
2223
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2226 _ACEOF
2227
2228
2229 # Let the site file select an alternate cache file if it wants to.
2230 # Prefer explicitly selected file to automatically selected ones.
2231 if test -n "$CONFIG_SITE"; then
2232 set x "$CONFIG_SITE"
2233 elif test "x$prefix" != xNONE; then
2234 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2235 else
2236 set x "$ac_default_prefix/share/config.site" \
2237 "$ac_default_prefix/etc/config.site"
2238 fi
2239 shift
2240 for ac_site_file
2241 do
2242 if test -r "$ac_site_file"; then
2243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2244 echo "$as_me: loading site script $ac_site_file" >&6;}
2245 sed 's/^/| /' "$ac_site_file" >&5
2246 . "$ac_site_file"
2247 fi
2248 done
2249
2250 if test -r "$cache_file"; then
2251 # Some versions of bash will fail to source /dev/null (special
2252 # files actually), so we avoid doing that.
2253 if test -f "$cache_file"; then
2254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2255 echo "$as_me: loading cache $cache_file" >&6;}
2256 case $cache_file in
2257 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2258 *) . "./$cache_file";;
2259 esac
2260 fi
2261 else
2262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2263 echo "$as_me: creating cache $cache_file" >&6;}
2264 >$cache_file
2265 fi
2266
2267 # Check that the precious variables saved in the cache have kept the same
2268 # value.
2269 ac_cache_corrupted=false
2270 for ac_var in $ac_precious_vars; do
2271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2272 eval ac_new_set=\$ac_env_${ac_var}_set
2273 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2274 eval ac_new_val=\$ac_env_${ac_var}_value
2275 case $ac_old_set,$ac_new_set in
2276 set,)
2277 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2278 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2279 ac_cache_corrupted=: ;;
2280 ,set)
2281 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2282 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2283 ac_cache_corrupted=: ;;
2284 ,);;
2285 *)
2286 if test "x$ac_old_val" != "x$ac_new_val"; then
2287 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2288 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2289 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2290 echo "$as_me: former value: $ac_old_val" >&2;}
2291 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2292 echo "$as_me: current value: $ac_new_val" >&2;}
2293 ac_cache_corrupted=:
2294 fi;;
2295 esac
2296 # Pass precious variables to config.status.
2297 if test "$ac_new_set" = set; then
2298 case $ac_new_val in
2299 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2300 *) ac_arg=$ac_var=$ac_new_val ;;
2301 esac
2302 case " $ac_configure_args " in
2303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2304 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2305 esac
2306 fi
2307 done
2308 if $ac_cache_corrupted; then
2309 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2310 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2311 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2312 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2313 { (exit 1); exit 1; }; }
2314 fi
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340 ac_ext=c
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2345
2346
2347
2348
2349
2350 ac_aux_dir=
2351 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2352 if test -f "$ac_dir/install-sh"; then
2353 ac_aux_dir=$ac_dir
2354 ac_install_sh="$ac_aux_dir/install-sh -c"
2355 break
2356 elif test -f "$ac_dir/install.sh"; then
2357 ac_aux_dir=$ac_dir
2358 ac_install_sh="$ac_aux_dir/install.sh -c"
2359 break
2360 elif test -f "$ac_dir/shtool"; then
2361 ac_aux_dir=$ac_dir
2362 ac_install_sh="$ac_aux_dir/shtool install -c"
2363 break
2364 fi
2365 done
2366 if test -z "$ac_aux_dir"; then
2367 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2368 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2369 { (exit 1); exit 1; }; }
2370 fi
2371
2372 # These three variables are undocumented and unsupported,
2373 # and are intended to be withdrawn in a future Autoconf release.
2374 # They can cause serious problems if a builder's source tree is in a directory
2375 # whose full name contains unusual characters.
2376 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2377 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2378 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2379
2380
2381 # Make sure we can run config.sub.
2382 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2383 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2384 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2385 { (exit 1); exit 1; }; }
2386
2387 { echo "$as_me:$LINENO: checking build system type" >&5
2388 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2389 if test "${ac_cv_build+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 else
2392 ac_build_alias=$build_alias
2393 test "x$ac_build_alias" = x &&
2394 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2395 test "x$ac_build_alias" = x &&
2396 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2397 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2398 { (exit 1); exit 1; }; }
2399 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2400 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2401 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2402 { (exit 1); exit 1; }; }
2403
2404 fi
2405 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2406 echo "${ECHO_T}$ac_cv_build" >&6; }
2407 case $ac_cv_build in
2408 *-*-*) ;;
2409 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2410 echo "$as_me: error: invalid value of canonical build" >&2;}
2411 { (exit 1); exit 1; }; };;
2412 esac
2413 build=$ac_cv_build
2414 ac_save_IFS=$IFS; IFS='-'
2415 set x $ac_cv_build
2416 shift
2417 build_cpu=$1
2418 build_vendor=$2
2419 shift; shift
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2422 build_os=$*
2423 IFS=$ac_save_IFS
2424 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2425
2426
2427 { echo "$as_me:$LINENO: checking host system type" >&5
2428 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2429 if test "${ac_cv_host+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 else
2432 if test "x$host_alias" = x; then
2433 ac_cv_host=$ac_cv_build
2434 else
2435 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2439 fi
2440
2441 fi
2442 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2443 echo "${ECHO_T}$ac_cv_host" >&6; }
2444 case $ac_cv_host in
2445 *-*-*) ;;
2446 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2447 echo "$as_me: error: invalid value of canonical host" >&2;}
2448 { (exit 1); exit 1; }; };;
2449 esac
2450 host=$ac_cv_host
2451 ac_save_IFS=$IFS; IFS='-'
2452 set x $ac_cv_host
2453 shift
2454 host_cpu=$1
2455 host_vendor=$2
2456 shift; shift
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2459 host_os=$*
2460 IFS=$ac_save_IFS
2461 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2462
2463
2464 { echo "$as_me:$LINENO: checking target system type" >&5
2465 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2466 if test "${ac_cv_target+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 else
2469 if test "x$target_alias" = x; then
2470 ac_cv_target=$ac_cv_host
2471 else
2472 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476 fi
2477
2478 fi
2479 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2480 echo "${ECHO_T}$ac_cv_target" >&6; }
2481 case $ac_cv_target in
2482 *-*-*) ;;
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2484 echo "$as_me: error: invalid value of canonical target" >&2;}
2485 { (exit 1); exit 1; }; };;
2486 esac
2487 target=$ac_cv_target
2488 ac_save_IFS=$IFS; IFS='-'
2489 set x $ac_cv_target
2490 shift
2491 target_cpu=$1
2492 target_vendor=$2
2493 shift; shift
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2496 target_os=$*
2497 IFS=$ac_save_IFS
2498 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2499
2500
2501 # The aliases save the names the user supplied, while $host etc.
2502 # will get canonicalized.
2503 test -n "$target_alias" &&
2504 test "$program_prefix$program_suffix$program_transform_name" = \
2505 NONENONEs,x,x, &&
2506 program_prefix=${target_alias}-
2507
2508
2509
2510 wx_major_version_number=2
2511 wx_minor_version_number=9
2512 wx_release_number=0
2513 wx_subrelease_number=0
2514
2515 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2516 WX_VERSION=$WX_RELEASE.$wx_release_number
2517 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2518
2519 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2520
2521
2522 wx_top_builddir="`pwd`"
2523
2524
2525
2526
2527 USE_UNIX=1
2528 USE_OS2=0
2529 USE_WIN32=0
2530 USE_DOS=0
2531 USE_BEOS=0
2532 USE_MAC=0
2533
2534 USE_AIX=
2535 USE_BSD= USE_DARWIN= USE_FREEBSD=
2536 USE_GNU= USE_HPUX=
2537 USE_LINUX=
2538 USE_NETBSD=
2539 USE_OPENBSD=
2540 USE_OSF= USE_SGI=
2541 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2542 USE_ULTRIX=
2543 USE_UNIXWARE=
2544
2545 USE_ALPHA=
2546
2547 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2548
2549 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2550
2551 DEFAULT_wxUSE_COCOA=0
2552 DEFAULT_wxUSE_GTK=0
2553 DEFAULT_wxUSE_MAC=0
2554 DEFAULT_wxUSE_MGL=0
2555 DEFAULT_wxUSE_MICROWIN=0
2556 DEFAULT_wxUSE_MOTIF=0
2557 DEFAULT_wxUSE_MSW=0
2558 DEFAULT_wxUSE_PM=0
2559 DEFAULT_wxUSE_X11=0
2560 DEFAULT_wxUSE_DFB=0
2561
2562 DEFAULT_DEFAULT_wxUSE_COCOA=0
2563 DEFAULT_DEFAULT_wxUSE_GTK=0
2564 DEFAULT_DEFAULT_wxUSE_MAC=0
2565 DEFAULT_DEFAULT_wxUSE_MGL=0
2566 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2568 DEFAULT_DEFAULT_wxUSE_MSW=0
2569 DEFAULT_DEFAULT_wxUSE_PM=0
2570 DEFAULT_DEFAULT_wxUSE_X11=0
2571 DEFAULT_DEFAULT_wxUSE_DFB=0
2572
2573 PROGRAM_EXT=
2574 SO_SUFFIX=so
2575 SAMPLES_RPATH_FLAG=
2576 SAMPLES_RPATH_POSTLINK=
2577
2578 DEFAULT_STD_FLAG=yes
2579
2580 case "${host}" in
2581 *-hp-hpux* )
2582 USE_HPUX=1
2583 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2585 SO_SUFFIX=sl
2586 cat >>confdefs.h <<\_ACEOF
2587 #define __HPUX__ 1
2588 _ACEOF
2589
2590
2591 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2592 ;;
2593 *-*-linux* )
2594 USE_LINUX=1
2595 cat >>confdefs.h <<\_ACEOF
2596 #define __LINUX__ 1
2597 _ACEOF
2598
2599 TMP=`uname -m`
2600 if test "x$TMP" = "xalpha"; then
2601 USE_ALPHA=1
2602 cat >>confdefs.h <<\_ACEOF
2603 #define __ALPHA__ 1
2604 _ACEOF
2605
2606 fi
2607 DEFAULT_DEFAULT_wxUSE_GTK=1
2608 ;;
2609 *-*-gnu* | *-*-k*bsd*-gnu )
2610 USE_GNU=1
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 *-*-irix5* | *-*-irix6* )
2622 USE_SGI=1
2623 USE_SVR4=1
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __SGI__ 1
2626 _ACEOF
2627
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __SVR4__ 1
2630 _ACEOF
2631
2632 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2633 ;;
2634 *-*-solaris2* )
2635 USE_SUN=1
2636 USE_SOLARIS=1
2637 USE_SVR4=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __SUN__ 1
2640 _ACEOF
2641
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SOLARIS__ 1
2644 _ACEOF
2645
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __SVR4__ 1
2648 _ACEOF
2649
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2651 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2652 ;;
2653 *-*-sunos4* )
2654 USE_SUN=1
2655 USE_SUNOS=1
2656 USE_BSD=1
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SUN__ 1
2659 _ACEOF
2660
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __SUNOS__ 1
2663 _ACEOF
2664
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __BSD__ 1
2667 _ACEOF
2668
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 ;;
2671 *-*-freebsd*)
2672 USE_BSD=1
2673 USE_FREEBSD=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __FREEBSD__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __BSD__ 1
2680 _ACEOF
2681
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2683 ;;
2684 *-*-openbsd*|*-*-mirbsd*)
2685 USE_BSD=1
2686 USE_OPENBSD=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __OPENBSD__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __BSD__ 1
2693 _ACEOF
2694
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-netbsd*)
2698 USE_BSD=1
2699 USE_NETBSD=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __NETBSD__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __BSD__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2710
2711 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2712 ;;
2713 *-*-osf* )
2714 USE_ALPHA=1
2715 USE_OSF=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __ALPHA__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __OSF__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2725 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2726 ;;
2727 *-*-dgux5* )
2728 USE_ALPHA=1
2729 USE_SVR4=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __ALPHA__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SVR4__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2739 ;;
2740 *-*-sysv5* )
2741 USE_SYSV=1
2742 USE_SVR4=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __SYSV__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __SVR4__ 1
2749 _ACEOF
2750
2751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2752 ;;
2753 *-*-aix* )
2754 USE_AIX=1
2755 USE_SYSV=1
2756 USE_SVR4=1
2757 SO_SUFFIX=a
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __AIX__ 1
2760 _ACEOF
2761
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __SYSV__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __SVR4__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2771 ;;
2772
2773 *-*-*UnixWare*)
2774 USE_SYSV=1
2775 USE_SVR4=1
2776 USE_UNIXWARE=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __UNIXWARE__ 1
2779 _ACEOF
2780
2781 ;;
2782
2783 *-*-cygwin* | *-*-mingw32* )
2784 SO_SUFFIX=dll
2785 PROGRAM_EXT=".exe"
2786 DEFAULT_DEFAULT_wxUSE_MSW=1
2787 ;;
2788
2789 *-pc-msdosdjgpp )
2790 USE_UNIX=0
2791 USE_DOS=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __DOS__ 1
2794 _ACEOF
2795
2796 PROGRAM_EXT=".exe"
2797 DEFAULT_DEFAULT_wxUSE_MGL=1
2798 ;;
2799
2800 *-pc-os2_emx | *-pc-os2-emx )
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __EMX__ 1
2803 _ACEOF
2804
2805 USE_OS2=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __OS2__ 1
2808 _ACEOF
2809
2810 PROGRAM_EXT=".exe"
2811 DEFAULT_DEFAULT_wxUSE_PM=1
2812 CXX=gcc
2813 LDFLAGS="$LDFLAGS -Zcrtdll"
2814 ac_executable_extensions=".exe"
2815 export ac_executable_extensions
2816 ac_save_IFS="$IFS"
2817 IFS='\\'
2818 ac_TEMP_PATH=
2819 for ac_dir in $PATH; do
2820 IFS=$ac_save_IFS
2821 if test -z "$ac_TEMP_PATH"; then
2822 ac_TEMP_PATH="$ac_dir"
2823 else
2824 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2825 fi
2826 done
2827 export PATH="$ac_TEMP_PATH"
2828 unset ac_TEMP_PATH
2829 DEFAULT_STD_FLAG=no
2830 ;;
2831
2832 *-*-darwin* )
2833 USE_BSD=1
2834 USE_DARWIN=1
2835 SO_SUFFIX=dylib
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __BSD__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __DARWIN__ 1
2842 _ACEOF
2843
2844 cat >>confdefs.h <<\_ACEOF
2845 #define TARGET_CARBON 1
2846 _ACEOF
2847
2848 DEFAULT_DEFAULT_wxUSE_MAC=1
2849 DEFAULT_STD_FLAG=no
2850 ;;
2851 powerpc-apple-macos* )
2852 USE_UNIX=0
2853 ac_cv_c_bigendian=yes
2854 SO_SUFFIX=shlib
2855 DEFAULT_DEFAULT_wxUSE_MAC=1
2856 DEFAULT_STD_FLAG=no
2857 ;;
2858
2859 *-*-beos* )
2860 USE_BEOS=1
2861 cat >>confdefs.h <<\_ACEOF
2862 #define __BEOS__ 1
2863 _ACEOF
2864
2865 ;;
2866
2867 *)
2868 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2869 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2870 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2871 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2872
2873 DEFAULT_DEFAULT_wxUSE_X11=1
2874 DEFAULT_wxUSE_SHARED=no
2875 esac
2876
2877
2878
2879
2880 wx_arg_cache_file="configarg.cache"
2881 echo "loading argument cache $wx_arg_cache_file"
2882 rm -f ${wx_arg_cache_file}.tmp
2883 touch ${wx_arg_cache_file}.tmp
2884 touch ${wx_arg_cache_file}
2885
2886
2887 DEBUG_CONFIGURE=0
2888 if test $DEBUG_CONFIGURE = 1; then
2889 DEFAULT_wxUSE_UNIVERSAL=no
2890 DEFAULT_wxUSE_STL=no
2891
2892 DEFAULT_wxUSE_NANOX=no
2893
2894 DEFAULT_wxUSE_THREADS=yes
2895
2896 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2897 DEFAULT_wxUSE_OPTIMISE=no
2898 DEFAULT_wxUSE_PROFILE=no
2899 DEFAULT_wxUSE_NO_DEPS=no
2900 DEFAULT_wxUSE_VARARG_MACROS=no
2901 DEFAULT_wxUSE_NO_RTTI=no
2902 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2903 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2904 DEFAULT_wxUSE_RPATH=yes
2905 DEFAULT_wxUSE_PERMISSIVE=no
2906 DEFAULT_wxUSE_DEBUG_FLAG=yes
2907 DEFAULT_wxUSE_DEBUG_INFO=yes
2908 DEFAULT_wxUSE_DEBUG_GDB=yes
2909 DEFAULT_wxUSE_MEM_TRACING=no
2910 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2911 DEFAULT_wxUSE_DMALLOC=no
2912 DEFAULT_wxUSE_APPLE_IEEE=no
2913
2914 DEFAULT_wxUSE_EXCEPTIONS=no
2915 DEFAULT_wxUSE_LOG=yes
2916 DEFAULT_wxUSE_LOGWINDOW=no
2917 DEFAULT_wxUSE_LOGGUI=no
2918 DEFAULT_wxUSE_LOGDIALOG=no
2919
2920 DEFAULT_wxUSE_GUI=yes
2921 DEFAULT_wxUSE_CONTROLS=no
2922
2923 DEFAULT_wxUSE_REGEX=no
2924 DEFAULT_wxUSE_XML=no
2925 DEFAULT_wxUSE_EXPAT=no
2926 DEFAULT_wxUSE_ZLIB=no
2927 DEFAULT_wxUSE_LIBPNG=no
2928 DEFAULT_wxUSE_LIBJPEG=no
2929 DEFAULT_wxUSE_LIBTIFF=no
2930 DEFAULT_wxUSE_LIBXPM=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2934 DEFAULT_wxUSE_LIBGNOMEVFS=no
2935 DEFAULT_wxUSE_LIBHILDON=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2938
2939 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2940 DEFAULT_wxUSE_STACKWALKER=no
2941 DEFAULT_wxUSE_DEBUGREPORT=no
2942 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2943 DEFAULT_wxUSE_STD_IOSTREAM=no
2944 DEFAULT_wxUSE_STD_STRING=no
2945 DEFAULT_wxUSE_CMDLINE_PARSER=no
2946 DEFAULT_wxUSE_DATETIME=no
2947 DEFAULT_wxUSE_TIMER=no
2948 DEFAULT_wxUSE_STOPWATCH=no
2949 DEFAULT_wxUSE_FILE=no
2950 DEFAULT_wxUSE_FFILE=no
2951 DEFAULT_wxUSE_STDPATHS=no
2952 DEFAULT_wxUSE_TEXTBUFFER=no
2953 DEFAULT_wxUSE_TEXTFILE=no
2954 DEFAULT_wxUSE_SOUND=no
2955 DEFAULT_wxUSE_MEDIACTRL=no
2956 DEFAULT_wxUSE_GSTREAMER8=no
2957 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2958 DEFAULT_wxUSE_INTL=no
2959 DEFAULT_wxUSE_CONFIG=no
2960 DEFAULT_wxUSE_FONTMAP=no
2961 DEFAULT_wxUSE_STREAMS=no
2962 DEFAULT_wxUSE_SOCKETS=no
2963 DEFAULT_wxUSE_OLE=no
2964 DEFAULT_wxUSE_DATAOBJ=no
2965 DEFAULT_wxUSE_DIALUP_MANAGER=no
2966 DEFAULT_wxUSE_JOYSTICK=no
2967 DEFAULT_wxUSE_DYNLIB_CLASS=no
2968 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2969 DEFAULT_wxUSE_LONGLONG=no
2970 DEFAULT_wxUSE_GEOMETRY=no
2971
2972 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2973 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2974 DEFAULT_wxUSE_POSTSCRIPT=no
2975
2976 DEFAULT_wxUSE_CLIPBOARD=no
2977 DEFAULT_wxUSE_TOOLTIPS=no
2978 DEFAULT_wxUSE_DRAG_AND_DROP=no
2979 DEFAULT_wxUSE_DRAGIMAGE=no
2980 DEFAULT_wxUSE_SPLINES=no
2981 DEFAULT_wxUSE_MOUSEWHEEL=no
2982
2983 DEFAULT_wxUSE_MDI=no
2984 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2985 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2986 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2987
2988 DEFAULT_wxUSE_RESOURCES=no
2989 DEFAULT_wxUSE_CONSTRAINTS=no
2990 DEFAULT_wxUSE_IPC=no
2991 DEFAULT_wxUSE_HELP=no
2992 DEFAULT_wxUSE_MS_HTML_HELP=no
2993 DEFAULT_wxUSE_WXHTML_HELP=no
2994 DEFAULT_wxUSE_TREELAYOUT=no
2995 DEFAULT_wxUSE_METAFILE=no
2996 DEFAULT_wxUSE_MIMETYPE=no
2997 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2998 DEFAULT_wxUSE_PROTOCOL=no
2999 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3000 DEFAULT_wxUSE_PROTOCOL_FTP=no
3001 DEFAULT_wxUSE_PROTOCOL_FILE=no
3002 DEFAULT_wxUSE_URL=no
3003 DEFAULT_wxUSE_VARIANT=no
3004
3005 DEFAULT_wxUSE_ABOUTDLG=no
3006 DEFAULT_wxUSE_COMMONDLGS=no
3007 DEFAULT_wxUSE_CHOICEDLG=no
3008 DEFAULT_wxUSE_COLOURDLG=no
3009 DEFAULT_wxUSE_DIRDLG=no
3010 DEFAULT_wxUSE_FILEDLG=no
3011 DEFAULT_wxUSE_FINDREPLDLG=no
3012 DEFAULT_wxUSE_FONTDLG=no
3013 DEFAULT_wxUSE_MSGDLG=no
3014 DEFAULT_wxUSE_NUMBERDLG=no
3015 DEFAULT_wxUSE_TEXTDLG=no
3016 DEFAULT_wxUSE_SPLASH=no
3017 DEFAULT_wxUSE_STARTUP_TIPS=no
3018 DEFAULT_wxUSE_PROGRESSDLG=no
3019 DEFAULT_wxUSE_WIZARDDLG=no
3020
3021 DEFAULT_wxUSE_MENUS=no
3022 DEFAULT_wxUSE_MINIFRAME=no
3023 DEFAULT_wxUSE_HTML=no
3024 DEFAULT_wxUSE_RICHTEXT=no
3025 DEFAULT_wxUSE_XRC=no
3026 DEFAULT_wxUSE_AUI=no
3027 DEFAULT_wxUSE_WEBKIT=no
3028 DEFAULT_wxUSE_FILESYSTEM=no
3029 DEFAULT_wxUSE_FS_INET=no
3030 DEFAULT_wxUSE_FS_ZIP=no
3031 DEFAULT_wxUSE_FS_ARCHIVE=no
3032 DEFAULT_wxUSE_BUSYINFO=no
3033 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3034 DEFAULT_wxUSE_ZIPSTREAM=no
3035 DEFAULT_wxUSE_TARSTREAM=no
3036 DEFAULT_wxUSE_VALIDATORS=no
3037
3038 DEFAULT_wxUSE_ACCEL=no
3039 DEFAULT_wxUSE_ANIMATIONCTRL=no
3040 DEFAULT_wxUSE_BUTTON=no
3041 DEFAULT_wxUSE_BMPBUTTON=no
3042 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3043 DEFAULT_wxUSE_CALCTRL=no
3044 DEFAULT_wxUSE_CARET=no
3045 DEFAULT_wxUSE_CHECKBOX=no
3046 DEFAULT_wxUSE_CHECKLST=no
3047 DEFAULT_wxUSE_CHOICE=no
3048 DEFAULT_wxUSE_CHOICEBOOK=no
3049 DEFAULT_wxUSE_COLLPANE=no
3050 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3051 DEFAULT_wxUSE_COMBOBOX=no
3052 DEFAULT_wxUSE_COMBOCTRL=no
3053 DEFAULT_wxUSE_DATEPICKCTRL=no
3054 DEFAULT_wxUSE_DISPLAY=no
3055 DEFAULT_wxUSE_DETECT_SM=no
3056 DEFAULT_wxUSE_DIRPICKERCTRL=no
3057 DEFAULT_wxUSE_FILEPICKERCTRL=no
3058 DEFAULT_wxUSE_FONTPICKERCTRL=no
3059 DEFAULT_wxUSE_GAUGE=no
3060 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3061 DEFAULT_wxUSE_GRID=no
3062 DEFAULT_wxUSE_HYPERLINKCTRL=no
3063 DEFAULT_wxUSE_DATAVIEWCTRL=no
3064 DEFAULT_wxUSE_IMAGLIST=no
3065 DEFAULT_wxUSE_LISTBOOK=no
3066 DEFAULT_wxUSE_LISTBOX=no
3067 DEFAULT_wxUSE_LISTCTRL=no
3068 DEFAULT_wxUSE_NOTEBOOK=no
3069 DEFAULT_wxUSE_ODCOMBOBOX=no
3070 DEFAULT_wxUSE_RADIOBOX=no
3071 DEFAULT_wxUSE_RADIOBTN=no
3072 DEFAULT_wxUSE_SASH=no
3073 DEFAULT_wxUSE_SCROLLBAR=no
3074 DEFAULT_wxUSE_SEARCHCTRL=no
3075 DEFAULT_wxUSE_SLIDER=no
3076 DEFAULT_wxUSE_SPINBTN=no
3077 DEFAULT_wxUSE_SPINCTRL=no
3078 DEFAULT_wxUSE_SPLITTER=no
3079 DEFAULT_wxUSE_STATBMP=no
3080 DEFAULT_wxUSE_STATBOX=no
3081 DEFAULT_wxUSE_STATLINE=no
3082 DEFAULT_wxUSE_STATTEXT=no
3083 DEFAULT_wxUSE_STATUSBAR=yes
3084 DEFAULT_wxUSE_TAB_DIALOG=no
3085 DEFAULT_wxUSE_TEXTCTRL=no
3086 DEFAULT_wxUSE_TOGGLEBTN=no
3087 DEFAULT_wxUSE_TOOLBAR=no
3088 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3089 DEFAULT_wxUSE_TREEBOOK=no
3090 DEFAULT_wxUSE_TOOLBOOK=no
3091 DEFAULT_wxUSE_TREECTRL=no
3092 DEFAULT_wxUSE_POPUPWIN=no
3093 DEFAULT_wxUSE_TIPWINDOW=no
3094
3095 DEFAULT_wxUSE_UNICODE=no
3096 DEFAULT_wxUSE_UNICODE_MSLU=no
3097 DEFAULT_wxUSE_WCSRTOMBS=no
3098
3099 DEFAULT_wxUSE_PALETTE=no
3100 DEFAULT_wxUSE_IMAGE=no
3101 DEFAULT_wxUSE_GIF=no
3102 DEFAULT_wxUSE_PCX=no
3103 DEFAULT_wxUSE_TGA=no
3104 DEFAULT_wxUSE_PNM=no
3105 DEFAULT_wxUSE_IFF=no
3106 DEFAULT_wxUSE_XPM=no
3107 DEFAULT_wxUSE_ICO_CUR=no
3108 DEFAULT_wxUSE_ACCESSIBILITY=no
3109
3110 DEFAULT_wxUSE_MONOLITHIC=no
3111 DEFAULT_wxUSE_PLUGINS=no
3112 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3113 else
3114 DEFAULT_wxUSE_UNIVERSAL=no
3115 DEFAULT_wxUSE_STL=no
3116
3117 DEFAULT_wxUSE_NANOX=no
3118
3119 DEFAULT_wxUSE_THREADS=yes
3120
3121 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3122 DEFAULT_wxUSE_OPTIMISE=yes
3123 DEFAULT_wxUSE_PROFILE=no
3124 DEFAULT_wxUSE_NO_DEPS=no
3125 DEFAULT_wxUSE_VARARG_MACROS=yes
3126 DEFAULT_wxUSE_NO_RTTI=no
3127 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3128 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3129 DEFAULT_wxUSE_RPATH=yes
3130 DEFAULT_wxUSE_PERMISSIVE=no
3131 DEFAULT_wxUSE_DEBUG_FLAG=no
3132 DEFAULT_wxUSE_DEBUG_INFO=no
3133 DEFAULT_wxUSE_DEBUG_GDB=no
3134 DEFAULT_wxUSE_MEM_TRACING=no
3135 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3136 DEFAULT_wxUSE_DMALLOC=no
3137 DEFAULT_wxUSE_APPLE_IEEE=yes
3138
3139 DEFAULT_wxUSE_EXCEPTIONS=yes
3140 DEFAULT_wxUSE_LOG=yes
3141 DEFAULT_wxUSE_LOGWINDOW=yes
3142 DEFAULT_wxUSE_LOGGUI=yes
3143 DEFAULT_wxUSE_LOGDIALOG=yes
3144
3145 DEFAULT_wxUSE_GUI=yes
3146
3147 DEFAULT_wxUSE_REGEX=yes
3148 DEFAULT_wxUSE_XML=yes
3149 DEFAULT_wxUSE_EXPAT=yes
3150 DEFAULT_wxUSE_ZLIB=yes
3151 DEFAULT_wxUSE_LIBPNG=yes
3152 DEFAULT_wxUSE_LIBJPEG=yes
3153 DEFAULT_wxUSE_LIBTIFF=yes
3154 DEFAULT_wxUSE_LIBXPM=yes
3155 DEFAULT_wxUSE_LIBMSPACK=yes
3156 DEFAULT_wxUSE_LIBSDL=no
3157 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3158 DEFAULT_wxUSE_LIBGNOMEVFS=no
3159 DEFAULT_wxUSE_LIBHILDON=no
3160 DEFAULT_wxUSE_ODBC=no
3161 DEFAULT_wxUSE_OPENGL=no
3162
3163 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3164 DEFAULT_wxUSE_STACKWALKER=yes
3165 DEFAULT_wxUSE_DEBUGREPORT=yes
3166 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3167 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3168 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3169 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3170 DEFAULT_wxUSE_DATETIME=yes
3171 DEFAULT_wxUSE_TIMER=yes
3172 DEFAULT_wxUSE_STOPWATCH=yes
3173 DEFAULT_wxUSE_FILE=yes
3174 DEFAULT_wxUSE_FFILE=yes
3175 DEFAULT_wxUSE_STDPATHS=yes
3176 DEFAULT_wxUSE_TEXTBUFFER=yes
3177 DEFAULT_wxUSE_TEXTFILE=yes
3178 DEFAULT_wxUSE_SOUND=yes
3179 DEFAULT_wxUSE_MEDIACTRL=no
3180 DEFAULT_wxUSE_GSTREAMER8=no
3181 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3182 DEFAULT_wxUSE_INTL=yes
3183 DEFAULT_wxUSE_CONFIG=yes
3184 DEFAULT_wxUSE_FONTMAP=yes
3185 DEFAULT_wxUSE_STREAMS=yes
3186 DEFAULT_wxUSE_SOCKETS=yes
3187 DEFAULT_wxUSE_OLE=yes
3188 DEFAULT_wxUSE_DATAOBJ=yes
3189 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3190 DEFAULT_wxUSE_JOYSTICK=yes
3191 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3192 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3193 DEFAULT_wxUSE_LONGLONG=yes
3194 DEFAULT_wxUSE_GEOMETRY=yes
3195
3196 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3197 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3198 DEFAULT_wxUSE_POSTSCRIPT=yes
3199
3200 DEFAULT_wxUSE_CLIPBOARD=yes
3201 DEFAULT_wxUSE_TOOLTIPS=yes
3202 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3203 DEFAULT_wxUSE_DRAGIMAGE=yes
3204 DEFAULT_wxUSE_SPLINES=yes
3205 DEFAULT_wxUSE_MOUSEWHEEL=yes
3206
3207 DEFAULT_wxUSE_MDI=yes
3208 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3209 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3210 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3211
3212 DEFAULT_wxUSE_RESOURCES=no
3213 DEFAULT_wxUSE_CONSTRAINTS=yes
3214 DEFAULT_wxUSE_IPC=yes
3215 DEFAULT_wxUSE_HELP=yes
3216 DEFAULT_wxUSE_MS_HTML_HELP=yes
3217 DEFAULT_wxUSE_WXHTML_HELP=yes
3218 DEFAULT_wxUSE_TREELAYOUT=yes
3219 DEFAULT_wxUSE_METAFILE=yes
3220 DEFAULT_wxUSE_MIMETYPE=yes
3221 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3222 DEFAULT_wxUSE_PROTOCOL=yes
3223 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3224 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3225 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3226 DEFAULT_wxUSE_URL=yes
3227 DEFAULT_wxUSE_VARIANT=yes
3228
3229 DEFAULT_wxUSE_ABOUTDLG=yes
3230 DEFAULT_wxUSE_COMMONDLGS=yes
3231 DEFAULT_wxUSE_CHOICEDLG=yes
3232 DEFAULT_wxUSE_COLOURDLG=yes
3233 DEFAULT_wxUSE_DIRDLG=yes
3234 DEFAULT_wxUSE_FILEDLG=yes
3235 DEFAULT_wxUSE_FINDREPLDLG=yes
3236 DEFAULT_wxUSE_FONTDLG=yes
3237 DEFAULT_wxUSE_MSGDLG=yes
3238 DEFAULT_wxUSE_NUMBERDLG=yes
3239 DEFAULT_wxUSE_TEXTDLG=yes
3240 DEFAULT_wxUSE_SPLASH=yes
3241 DEFAULT_wxUSE_STARTUP_TIPS=yes
3242 DEFAULT_wxUSE_PROGRESSDLG=yes
3243 DEFAULT_wxUSE_WIZARDDLG=yes
3244
3245 DEFAULT_wxUSE_MENUS=yes
3246 DEFAULT_wxUSE_MINIFRAME=yes
3247 DEFAULT_wxUSE_HTML=yes
3248 DEFAULT_wxUSE_RICHTEXT=yes
3249 DEFAULT_wxUSE_XRC=yes
3250 DEFAULT_wxUSE_AUI=yes
3251 DEFAULT_wxUSE_WEBKIT=yes
3252 DEFAULT_wxUSE_FILESYSTEM=yes
3253 DEFAULT_wxUSE_FS_INET=yes
3254 DEFAULT_wxUSE_FS_ZIP=yes
3255 DEFAULT_wxUSE_FS_ARCHIVE=yes
3256 DEFAULT_wxUSE_BUSYINFO=yes
3257 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3258 DEFAULT_wxUSE_ZIPSTREAM=yes
3259 DEFAULT_wxUSE_TARSTREAM=yes
3260 DEFAULT_wxUSE_VALIDATORS=yes
3261
3262 DEFAULT_wxUSE_ACCEL=yes
3263 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3264 DEFAULT_wxUSE_BUTTON=yes
3265 DEFAULT_wxUSE_BMPBUTTON=yes
3266 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3267 DEFAULT_wxUSE_CALCTRL=yes
3268 DEFAULT_wxUSE_CARET=yes
3269 DEFAULT_wxUSE_CHECKBOX=yes
3270 DEFAULT_wxUSE_CHECKLST=yes
3271 DEFAULT_wxUSE_CHOICE=yes
3272 DEFAULT_wxUSE_CHOICEBOOK=yes
3273 DEFAULT_wxUSE_COLLPANE=yes
3274 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3275 DEFAULT_wxUSE_COMBOBOX=yes
3276 DEFAULT_wxUSE_COMBOCTRL=yes
3277 DEFAULT_wxUSE_DATEPICKCTRL=yes
3278 DEFAULT_wxUSE_DISPLAY=yes
3279 DEFAULT_wxUSE_DETECT_SM=yes
3280 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3281 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3282 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3283 DEFAULT_wxUSE_GAUGE=yes
3284 DEFAULT_wxUSE_GRID=yes
3285 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3286 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3287 DEFAULT_wxUSE_DATAVIEWCTRL=no
3288 DEFAULT_wxUSE_IMAGLIST=yes
3289 DEFAULT_wxUSE_LISTBOOK=yes
3290 DEFAULT_wxUSE_LISTBOX=yes
3291 DEFAULT_wxUSE_LISTCTRL=yes
3292 DEFAULT_wxUSE_NOTEBOOK=yes
3293 DEFAULT_wxUSE_ODCOMBOBOX=yes
3294 DEFAULT_wxUSE_RADIOBOX=yes
3295 DEFAULT_wxUSE_RADIOBTN=yes
3296 DEFAULT_wxUSE_SASH=yes
3297 DEFAULT_wxUSE_SCROLLBAR=yes
3298 DEFAULT_wxUSE_SEARCHCTRL=yes
3299 DEFAULT_wxUSE_SLIDER=yes
3300 DEFAULT_wxUSE_SPINBTN=yes
3301 DEFAULT_wxUSE_SPINCTRL=yes
3302 DEFAULT_wxUSE_SPLITTER=yes
3303 DEFAULT_wxUSE_STATBMP=yes
3304 DEFAULT_wxUSE_STATBOX=yes
3305 DEFAULT_wxUSE_STATLINE=yes
3306 DEFAULT_wxUSE_STATTEXT=yes
3307 DEFAULT_wxUSE_STATUSBAR=yes
3308 DEFAULT_wxUSE_TAB_DIALOG=no
3309 DEFAULT_wxUSE_TEXTCTRL=yes
3310 DEFAULT_wxUSE_TOGGLEBTN=yes
3311 DEFAULT_wxUSE_TOOLBAR=yes
3312 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3313 DEFAULT_wxUSE_TREEBOOK=yes
3314 DEFAULT_wxUSE_TOOLBOOK=yes
3315 DEFAULT_wxUSE_TREECTRL=yes
3316 DEFAULT_wxUSE_POPUPWIN=yes
3317 DEFAULT_wxUSE_TIPWINDOW=yes
3318
3319 DEFAULT_wxUSE_UNICODE=no
3320 DEFAULT_wxUSE_UNICODE_MSLU=yes
3321 DEFAULT_wxUSE_WCSRTOMBS=no
3322
3323 DEFAULT_wxUSE_PALETTE=yes
3324 DEFAULT_wxUSE_IMAGE=yes
3325 DEFAULT_wxUSE_GIF=yes
3326 DEFAULT_wxUSE_PCX=yes
3327 DEFAULT_wxUSE_TGA=yes
3328 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3329 DEFAULT_wxUSE_XPM=yes
3330 DEFAULT_wxUSE_ICO_CUR=yes
3331 DEFAULT_wxUSE_ACCESSIBILITY=no
3332
3333 DEFAULT_wxUSE_MONOLITHIC=no
3334 DEFAULT_wxUSE_PLUGINS=no
3335 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3336
3337 DEFAULT_wxUSE_GTK2=yes
3338 fi
3339
3340
3341
3342
3343 for toolkit in `echo $ALL_TOOLKITS`; do
3344 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3345 if test "x$LINE" != "x" ; then
3346 has_toolkit_in_cache=1
3347 eval "DEFAULT_$LINE"
3348 eval "CACHE_$toolkit=1"
3349
3350 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3351 if test "x$LINE" != "x" ; then
3352 eval "DEFAULT_$LINE"
3353 fi
3354 fi
3355 done
3356
3357
3358
3359 enablestring=
3360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3361 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3362 no_cache=0
3363 # Check whether --enable-gui was given.
3364 if test "${enable_gui+set}" = set; then
3365 enableval=$enable_gui;
3366 if test "$enableval" = yes; then
3367 ac_cv_use_gui='wxUSE_GUI=yes'
3368 else
3369 ac_cv_use_gui='wxUSE_GUI=no'
3370 fi
3371
3372 else
3373
3374 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3377 else
3378 no_cache=1
3379 fi
3380
3381 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3382
3383 fi
3384
3385
3386 eval "$ac_cv_use_gui"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3389 fi
3390
3391 if test "$wxUSE_GUI" = yes; then
3392 { echo "$as_me:$LINENO: result: yes" >&5
3393 echo "${ECHO_T}yes" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3397 fi
3398
3399
3400 enablestring=
3401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3402 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3403 no_cache=0
3404 # Check whether --enable-monolithic was given.
3405 if test "${enable_monolithic+set}" = set; then
3406 enableval=$enable_monolithic;
3407 if test "$enableval" = yes; then
3408 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3409 else
3410 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3411 fi
3412
3413 else
3414
3415 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3418 else
3419 no_cache=1
3420 fi
3421
3422 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3423
3424 fi
3425
3426
3427 eval "$ac_cv_use_monolithic"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3430 fi
3431
3432 if test "$wxUSE_MONOLITHIC" = yes; then
3433 { echo "$as_me:$LINENO: result: yes" >&5
3434 echo "${ECHO_T}yes" >&6; }
3435 else
3436 { echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6; }
3438 fi
3439
3440
3441 enablestring=
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3444 no_cache=0
3445 # Check whether --enable-plugins was given.
3446 if test "${enable_plugins+set}" = set; then
3447 enableval=$enable_plugins;
3448 if test "$enableval" = yes; then
3449 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3450 else
3451 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3452 fi
3453
3454 else
3455
3456 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3464
3465 fi
3466
3467
3468 eval "$ac_cv_use_plugins"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3471 fi
3472
3473 if test "$wxUSE_PLUGINS" = yes; then
3474 { echo "$as_me:$LINENO: result: yes" >&5
3475 echo "${ECHO_T}yes" >&6; }
3476 else
3477 { echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6; }
3479 fi
3480
3481
3482 withstring=without
3483 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3485 no_cache=0
3486
3487 # Check whether --with-subdirs was given.
3488 if test "${with_subdirs+set}" = set; then
3489 withval=$with_subdirs;
3490 if test "$withval" = yes; then
3491 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3492 else
3493 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3494 fi
3495
3496 else
3497
3498 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3499 if test "x$LINE" != x ; then
3500 eval "DEFAULT_$LINE"
3501 else
3502 no_cache=1
3503 fi
3504
3505 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3506
3507 fi
3508
3509
3510 eval "$ac_cv_use_subdirs"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3513 fi
3514
3515 if test "$wxWITH_SUBDIRS" = yes; then
3516 { echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6; }
3518 else
3519 { echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6; }
3521 fi
3522
3523
3524 if test "$wxUSE_GUI" = "yes"; then
3525
3526
3527 enablestring=
3528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3529 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3530 no_cache=0
3531 # Check whether --enable-universal was given.
3532 if test "${enable_universal+set}" = set; then
3533 enableval=$enable_universal;
3534 if test "$enableval" = yes; then
3535 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3536 else
3537 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3538 fi
3539
3540 else
3541
3542 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3545 else
3546 no_cache=1
3547 fi
3548
3549 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3550
3551 fi
3552
3553
3554 eval "$ac_cv_use_universal"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3557 fi
3558
3559 if test "$wxUSE_UNIVERSAL" = yes; then
3560 { echo "$as_me:$LINENO: result: yes" >&5
3561 echo "${ECHO_T}yes" >&6; }
3562 else
3563 { echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6; }
3565 fi
3566
3567
3568 # Check whether --with-gtk was given.
3569 if test "${with_gtk+set}" = set; then
3570 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3571 fi
3572
3573
3574 # Check whether --with-motif was given.
3575 if test "${with_motif+set}" = set; then
3576 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3577 fi
3578
3579
3580 # Check whether --with-mac was given.
3581 if test "${with_mac+set}" = set; then
3582 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3583 fi
3584
3585
3586 # Check whether --with-cocoa was given.
3587 if test "${with_cocoa+set}" = set; then
3588 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3589 fi
3590
3591
3592 # Check whether --with-wine was given.
3593 if test "${with_wine+set}" = set; then
3594 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3595 fi
3596
3597
3598 # Check whether --with-msw was given.
3599 if test "${with_msw+set}" = set; then
3600 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3601 fi
3602
3603
3604 # Check whether --with-pm was given.
3605 if test "${with_pm+set}" = set; then
3606 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3607 fi
3608
3609
3610 # Check whether --with-mgl was given.
3611 if test "${with_mgl+set}" = set; then
3612 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3613 fi
3614
3615
3616 # Check whether --with-directfb was given.
3617 if test "${with_directfb+set}" = set; then
3618 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3619 fi
3620
3621
3622 # Check whether --with-microwin was given.
3623 if test "${with_microwin+set}" = set; then
3624 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3625 fi
3626
3627
3628 # Check whether --with-x11 was given.
3629 if test "${with_x11+set}" = set; then
3630 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3631 fi
3632
3633
3634 enablestring=
3635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3636 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3637 no_cache=0
3638 # Check whether --enable-nanox was given.
3639 if test "${enable_nanox+set}" = set; then
3640 enableval=$enable_nanox;
3641 if test "$enableval" = yes; then
3642 ac_cv_use_nanox='wxUSE_NANOX=yes'
3643 else
3644 ac_cv_use_nanox='wxUSE_NANOX=no'
3645 fi
3646
3647 else
3648
3649 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3652 else
3653 no_cache=1
3654 fi
3655
3656 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3657
3658 fi
3659
3660
3661 eval "$ac_cv_use_nanox"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3664 fi
3665
3666 if test "$wxUSE_NANOX" = yes; then
3667 { echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6; }
3669 else
3670 { echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6; }
3672 fi
3673
3674
3675 # Check whether --enable-gtk2 was given.
3676 if test "${enable_gtk2+set}" = set; then
3677 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3678 fi
3679
3680
3681 enablestring=
3682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3684 no_cache=0
3685 # Check whether --enable-gpe was given.
3686 if test "${enable_gpe+set}" = set; then
3687 enableval=$enable_gpe;
3688 if test "$enableval" = yes; then
3689 ac_cv_use_gpe='wxUSE_GPE=yes'
3690 else
3691 ac_cv_use_gpe='wxUSE_GPE=no'
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3704
3705 fi
3706
3707
3708 eval "$ac_cv_use_gpe"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$wxUSE_GPE" = yes; then
3714 { echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6; }
3716 else
3717 { echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6; }
3719 fi
3720
3721
3722
3723 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3724 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3725 no_cache=0
3726
3727 # Check whether --with-libpng was given.
3728 if test "${with_libpng+set}" = set; then
3729 withval=$with_libpng;
3730 if test "$withval" = yes; then
3731 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3732 elif test "$withval" = no; then
3733 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3734 elif test "$withval" = sys; then
3735 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3736 elif test "$withval" = builtin; then
3737 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3738 else
3739 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3740 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3741 { (exit 1); exit 1; }; }
3742 fi
3743
3744 else
3745
3746 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3754
3755 fi
3756
3757
3758 eval "$ac_cv_use_libpng"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3761 fi
3762
3763 if test "$wxUSE_LIBPNG" = yes; then
3764 { echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6; }
3766 elif test "$wxUSE_LIBPNG" = no; then
3767 { echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6; }
3769 elif test "$wxUSE_LIBPNG" = sys; then
3770 { echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6; }
3772 elif test "$wxUSE_LIBPNG" = builtin; then
3773 { echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6; }
3775 else
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3779 fi
3780
3781
3782 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3783 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3784 no_cache=0
3785
3786 # Check whether --with-libjpeg was given.
3787 if test "${with_libjpeg+set}" = set; then
3788 withval=$with_libjpeg;
3789 if test "$withval" = yes; then
3790 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3791 elif test "$withval" = no; then
3792 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3793 elif test "$withval" = sys; then
3794 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3795 elif test "$withval" = builtin; then
3796 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3797 else
3798 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3799 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3800 { (exit 1); exit 1; }; }
3801 fi
3802
3803 else
3804
3805 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x ; then
3807 eval "DEFAULT_$LINE"
3808 else
3809 no_cache=1
3810 fi
3811
3812 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3813
3814 fi
3815
3816
3817 eval "$ac_cv_use_libjpeg"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3820 fi
3821
3822 if test "$wxUSE_LIBJPEG" = yes; then
3823 { echo "$as_me:$LINENO: result: yes" >&5
3824 echo "${ECHO_T}yes" >&6; }
3825 elif test "$wxUSE_LIBJPEG" = no; then
3826 { echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = sys; then
3829 { echo "$as_me:$LINENO: result: system version" >&5
3830 echo "${ECHO_T}system version" >&6; }
3831 elif test "$wxUSE_LIBJPEG" = builtin; then
3832 { echo "$as_me:$LINENO: result: builtin version" >&5
3833 echo "${ECHO_T}builtin version" >&6; }
3834 else
3835 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3836 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3837 { (exit 1); exit 1; }; }
3838 fi
3839
3840
3841 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3842 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3843 no_cache=0
3844
3845 # Check whether --with-libtiff was given.
3846 if test "${with_libtiff+set}" = set; then
3847 withval=$with_libtiff;
3848 if test "$withval" = yes; then
3849 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3850 elif test "$withval" = no; then
3851 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3852 elif test "$withval" = sys; then
3853 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3854 elif test "$withval" = builtin; then
3855 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3856 else
3857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3858 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3859 { (exit 1); exit 1; }; }
3860 fi
3861
3862 else
3863
3864 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x ; then
3866 eval "DEFAULT_$LINE"
3867 else
3868 no_cache=1
3869 fi
3870
3871 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3872
3873 fi
3874
3875
3876 eval "$ac_cv_use_libtiff"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3879 fi
3880
3881 if test "$wxUSE_LIBTIFF" = yes; then
3882 { echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6; }
3884 elif test "$wxUSE_LIBTIFF" = no; then
3885 { echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = sys; then
3888 { echo "$as_me:$LINENO: result: system version" >&5
3889 echo "${ECHO_T}system version" >&6; }
3890 elif test "$wxUSE_LIBTIFF" = builtin; then
3891 { echo "$as_me:$LINENO: result: builtin version" >&5
3892 echo "${ECHO_T}builtin version" >&6; }
3893 else
3894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3895 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3896 { (exit 1); exit 1; }; }
3897 fi
3898
3899
3900 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3901 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3902 no_cache=0
3903
3904 # Check whether --with-libxpm was given.
3905 if test "${with_libxpm+set}" = set; then
3906 withval=$with_libxpm;
3907 if test "$withval" = yes; then
3908 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3909 elif test "$withval" = no; then
3910 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3911 elif test "$withval" = sys; then
3912 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3913 elif test "$withval" = builtin; then
3914 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3915 else
3916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3917 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3918 { (exit 1); exit 1; }; }
3919 fi
3920
3921 else
3922
3923 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3926 else
3927 no_cache=1
3928 fi
3929
3930 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3931
3932 fi
3933
3934
3935 eval "$ac_cv_use_libxpm"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test "$wxUSE_LIBXPM" = yes; then
3941 { echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6; }
3943 elif test "$wxUSE_LIBXPM" = no; then
3944 { echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6; }
3946 elif test "$wxUSE_LIBXPM" = sys; then
3947 { echo "$as_me:$LINENO: result: system version" >&5
3948 echo "${ECHO_T}system version" >&6; }
3949 elif test "$wxUSE_LIBXPM" = builtin; then
3950 { echo "$as_me:$LINENO: result: builtin version" >&5
3951 echo "${ECHO_T}builtin version" >&6; }
3952 else
3953 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3954 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3955 { (exit 1); exit 1; }; }
3956 fi
3957
3958
3959 withstring=
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3962 no_cache=0
3963
3964 # Check whether --with-libmspack was given.
3965 if test "${with_libmspack+set}" = set; then
3966 withval=$with_libmspack;
3967 if test "$withval" = yes; then
3968 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3969 else
3970 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3971 fi
3972
3973 else
3974
3975 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x ; then
3977 eval "DEFAULT_$LINE"
3978 else
3979 no_cache=1
3980 fi
3981
3982 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3983
3984 fi
3985
3986
3987 eval "$ac_cv_use_libmspack"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3990 fi
3991
3992 if test "$wxUSE_LIBMSPACK" = yes; then
3993 { echo "$as_me:$LINENO: result: yes" >&5
3994 echo "${ECHO_T}yes" >&6; }
3995 else
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 fi
3999
4000
4001 withstring=
4002 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4003 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4004 no_cache=0
4005
4006 # Check whether --with-sdl was given.
4007 if test "${with_sdl+set}" = set; then
4008 withval=$with_sdl;
4009 if test "$withval" = yes; then
4010 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4011 else
4012 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4013 fi
4014
4015 else
4016
4017 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4020 else
4021 no_cache=1
4022 fi
4023
4024 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4025
4026 fi
4027
4028
4029 eval "$ac_cv_use_sdl"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4032 fi
4033
4034 if test "$wxUSE_LIBSDL" = yes; then
4035 { echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6; }
4037 else
4038 { echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6; }
4040 fi
4041
4042
4043 withstring=
4044 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4045 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4046 no_cache=0
4047
4048 # Check whether --with-gnomeprint was given.
4049 if test "${with_gnomeprint+set}" = set; then
4050 withval=$with_gnomeprint;
4051 if test "$withval" = yes; then
4052 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4053 else
4054 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4055 fi
4056
4057 else
4058
4059 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4062 else
4063 no_cache=1
4064 fi
4065
4066 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4067
4068 fi
4069
4070
4071 eval "$ac_cv_use_gnomeprint"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4074 fi
4075
4076 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4077 { echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6; }
4079 else
4080 { echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6; }
4082 fi
4083
4084
4085 withstring=
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4088 no_cache=0
4089
4090 # Check whether --with-gnomevfs was given.
4091 if test "${with_gnomevfs+set}" = set; then
4092 withval=$with_gnomevfs;
4093 if test "$withval" = yes; then
4094 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4095 else
4096 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4109
4110 fi
4111
4112
4113 eval "$ac_cv_use_gnomevfs"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4116 fi
4117
4118 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4119 { echo "$as_me:$LINENO: result: yes" >&5
4120 echo "${ECHO_T}yes" >&6; }
4121 else
4122 { echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6; }
4124 fi
4125
4126
4127 withstring=
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4130 no_cache=0
4131
4132 # Check whether --with-hildon was given.
4133 if test "${with_hildon+set}" = set; then
4134 withval=$with_hildon;
4135 if test "$withval" = yes; then
4136 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4137 else
4138 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4139 fi
4140
4141 else
4142
4143 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4144 if test "x$LINE" != x ; then
4145 eval "DEFAULT_$LINE"
4146 else
4147 no_cache=1
4148 fi
4149
4150 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4151
4152 fi
4153
4154
4155 eval "$ac_cv_use_hildon"
4156 if test "$no_cache" != 1; then
4157 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4158 fi
4159
4160 if test "$wxUSE_LIBHILDON" = yes; then
4161 { echo "$as_me:$LINENO: result: yes" >&5
4162 echo "${ECHO_T}yes" >&6; }
4163 else
4164 { echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6; }
4166 fi
4167
4168
4169 withstring=
4170 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4171 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4172 no_cache=0
4173
4174 # Check whether --with-opengl was given.
4175 if test "${with_opengl+set}" = set; then
4176 withval=$with_opengl;
4177 if test "$withval" = yes; then
4178 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4179 else
4180 ac_cv_use_opengl='wxUSE_OPENGL=no'
4181 fi
4182
4183 else
4184
4185 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x ; then
4187 eval "DEFAULT_$LINE"
4188 else
4189 no_cache=1
4190 fi
4191
4192 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4193
4194 fi
4195
4196
4197 eval "$ac_cv_use_opengl"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test "$wxUSE_OPENGL" = yes; then
4203 { echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6; }
4205 else
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4208 fi
4209
4210
4211 if test "$wxUSE_UNIVERSAL" = "yes"; then
4212
4213 # Check whether --with-themes was given.
4214 if test "${with_themes+set}" = set; then
4215 withval=$with_themes; wxUNIV_THEMES="$withval"
4216 fi
4217
4218 fi
4219
4220 fi
4221
4222
4223 withstring=
4224 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4225 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4226 no_cache=0
4227
4228 # Check whether --with-dmalloc was given.
4229 if test "${with_dmalloc+set}" = set; then
4230 withval=$with_dmalloc;
4231 if test "$withval" = yes; then
4232 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4233 else
4234 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4235 fi
4236
4237 else
4238
4239 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 else
4243 no_cache=1
4244 fi
4245
4246 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4247
4248 fi
4249
4250
4251 eval "$ac_cv_use_dmalloc"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4254 fi
4255
4256 if test "$wxUSE_DMALLOC" = yes; then
4257 { echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6; }
4259 else
4260 { echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6; }
4262 fi
4263
4264
4265 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4266 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4267 no_cache=0
4268
4269 # Check whether --with-regex was given.
4270 if test "${with_regex+set}" = set; then
4271 withval=$with_regex;
4272 if test "$withval" = yes; then
4273 ac_cv_use_regex='wxUSE_REGEX=yes'
4274 elif test "$withval" = no; then
4275 ac_cv_use_regex='wxUSE_REGEX=no'
4276 elif test "$withval" = sys; then
4277 ac_cv_use_regex='wxUSE_REGEX=sys'
4278 elif test "$withval" = builtin; then
4279 ac_cv_use_regex='wxUSE_REGEX=builtin'
4280 else
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4284 fi
4285
4286 else
4287
4288 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x ; then
4290 eval "DEFAULT_$LINE"
4291 else
4292 no_cache=1
4293 fi
4294
4295 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4296
4297 fi
4298
4299
4300 eval "$ac_cv_use_regex"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4303 fi
4304
4305 if test "$wxUSE_REGEX" = yes; then
4306 { echo "$as_me:$LINENO: result: yes" >&5
4307 echo "${ECHO_T}yes" >&6; }
4308 elif test "$wxUSE_REGEX" = no; then
4309 { echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6; }
4311 elif test "$wxUSE_REGEX" = sys; then
4312 { echo "$as_me:$LINENO: result: system version" >&5
4313 echo "${ECHO_T}system version" >&6; }
4314 elif test "$wxUSE_REGEX" = builtin; then
4315 { echo "$as_me:$LINENO: result: builtin version" >&5
4316 echo "${ECHO_T}builtin version" >&6; }
4317 else
4318 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4319 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4320 { (exit 1); exit 1; }; }
4321 fi
4322
4323
4324 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4325 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4326 no_cache=0
4327
4328 # Check whether --with-zlib was given.
4329 if test "${with_zlib+set}" = set; then
4330 withval=$with_zlib;
4331 if test "$withval" = yes; then
4332 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4333 elif test "$withval" = no; then
4334 ac_cv_use_zlib='wxUSE_ZLIB=no'
4335 elif test "$withval" = sys; then
4336 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4337 elif test "$withval" = builtin; then
4338 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4339 else
4340 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4341 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4342 { (exit 1); exit 1; }; }
4343 fi
4344
4345 else
4346
4347 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4355
4356 fi
4357
4358
4359 eval "$ac_cv_use_zlib"
4360 if test "$no_cache" != 1; then
4361 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4362 fi
4363
4364 if test "$wxUSE_ZLIB" = yes; then
4365 { echo "$as_me:$LINENO: result: yes" >&5
4366 echo "${ECHO_T}yes" >&6; }
4367 elif test "$wxUSE_ZLIB" = no; then
4368 { echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6; }
4370 elif test "$wxUSE_ZLIB" = sys; then
4371 { echo "$as_me:$LINENO: result: system version" >&5
4372 echo "${ECHO_T}system version" >&6; }
4373 elif test "$wxUSE_ZLIB" = builtin; then
4374 { echo "$as_me:$LINENO: result: builtin version" >&5
4375 echo "${ECHO_T}builtin version" >&6; }
4376 else
4377 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4378 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4379 { (exit 1); exit 1; }; }
4380 fi
4381
4382
4383 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4384 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4385 no_cache=0
4386
4387 # Check whether --with-odbc was given.
4388 if test "${with_odbc+set}" = set; then
4389 withval=$with_odbc;
4390 if test "$withval" = yes; then
4391 ac_cv_use_odbc='wxUSE_ODBC=yes'
4392 elif test "$withval" = no; then
4393 ac_cv_use_odbc='wxUSE_ODBC=no'
4394 elif test "$withval" = sys; then
4395 ac_cv_use_odbc='wxUSE_ODBC=sys'
4396 elif test "$withval" = builtin; then
4397 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4398 else
4399 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4400 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4401 { (exit 1); exit 1; }; }
4402 fi
4403
4404 else
4405
4406 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4409 else
4410 no_cache=1
4411 fi
4412
4413 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4414
4415 fi
4416
4417
4418 eval "$ac_cv_use_odbc"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_ODBC" = yes; then
4424 { echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6; }
4426 elif test "$wxUSE_ODBC" = no; then
4427 { echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6; }
4429 elif test "$wxUSE_ODBC" = sys; then
4430 { echo "$as_me:$LINENO: result: system version" >&5
4431 echo "${ECHO_T}system version" >&6; }
4432 elif test "$wxUSE_ODBC" = builtin; then
4433 { echo "$as_me:$LINENO: result: builtin version" >&5
4434 echo "${ECHO_T}builtin version" >&6; }
4435 else
4436 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4437 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4438 { (exit 1); exit 1; }; }
4439 fi
4440
4441
4442 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4443 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4444 no_cache=0
4445
4446 # Check whether --with-expat was given.
4447 if test "${with_expat+set}" = set; then
4448 withval=$with_expat;
4449 if test "$withval" = yes; then
4450 ac_cv_use_expat='wxUSE_EXPAT=yes'
4451 elif test "$withval" = no; then
4452 ac_cv_use_expat='wxUSE_EXPAT=no'
4453 elif test "$withval" = sys; then
4454 ac_cv_use_expat='wxUSE_EXPAT=sys'
4455 elif test "$withval" = builtin; then
4456 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4457 else
4458 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4459 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4460 { (exit 1); exit 1; }; }
4461 fi
4462
4463 else
4464
4465 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "DEFAULT_$LINE"
4468 else
4469 no_cache=1
4470 fi
4471
4472 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4473
4474 fi
4475
4476
4477 eval "$ac_cv_use_expat"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4480 fi
4481
4482 if test "$wxUSE_EXPAT" = yes; then
4483 { echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6; }
4485 elif test "$wxUSE_EXPAT" = no; then
4486 { echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6; }
4488 elif test "$wxUSE_EXPAT" = sys; then
4489 { echo "$as_me:$LINENO: result: system version" >&5
4490 echo "${ECHO_T}system version" >&6; }
4491 elif test "$wxUSE_EXPAT" = builtin; then
4492 { echo "$as_me:$LINENO: result: builtin version" >&5
4493 echo "${ECHO_T}builtin version" >&6; }
4494 else
4495 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4496 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4497 { (exit 1); exit 1; }; }
4498 fi
4499
4500
4501
4502
4503 enablestring=
4504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4506 no_cache=0
4507 # Check whether --enable-shared was given.
4508 if test "${enable_shared+set}" = set; then
4509 enableval=$enable_shared;
4510 if test "$enableval" = yes; then
4511 ac_cv_use_shared='wxUSE_SHARED=yes'
4512 else
4513 ac_cv_use_shared='wxUSE_SHARED=no'
4514 fi
4515
4516 else
4517
4518 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4519 if test "x$LINE" != x ; then
4520 eval "DEFAULT_$LINE"
4521 else
4522 no_cache=1
4523 fi
4524
4525 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4526
4527 fi
4528
4529
4530 eval "$ac_cv_use_shared"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4533 fi
4534
4535 if test "$wxUSE_SHARED" = yes; then
4536 { echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6; }
4538 else
4539 { echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6; }
4541 fi
4542
4543
4544 enablestring=
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4547 no_cache=0
4548 # Check whether --enable-optimise was given.
4549 if test "${enable_optimise+set}" = set; then
4550 enableval=$enable_optimise;
4551 if test "$enableval" = yes; then
4552 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4553 else
4554 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4555 fi
4556
4557 else
4558
4559 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x ; then
4561 eval "DEFAULT_$LINE"
4562 else
4563 no_cache=1
4564 fi
4565
4566 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4567
4568 fi
4569
4570
4571 eval "$ac_cv_use_optimise"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4574 fi
4575
4576 if test "$wxUSE_OPTIMISE" = yes; then
4577 { echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6; }
4579 else
4580 { echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6; }
4582 fi
4583
4584
4585 enablestring=
4586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4588 no_cache=0
4589 # Check whether --enable-debug was given.
4590 if test "${enable_debug+set}" = set; then
4591 enableval=$enable_debug;
4592 if test "$enableval" = yes; then
4593 ac_cv_use_debug='wxUSE_DEBUG=yes'
4594 else
4595 ac_cv_use_debug='wxUSE_DEBUG=no'
4596 fi
4597
4598 else
4599
4600 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x ; then
4602 eval "DEFAULT_$LINE"
4603 else
4604 no_cache=1
4605 fi
4606
4607 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4608
4609 fi
4610
4611
4612 eval "$ac_cv_use_debug"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4615 fi
4616
4617 if test "$wxUSE_DEBUG" = yes; then
4618 { echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6; }
4620 else
4621 { echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6; }
4623 fi
4624
4625
4626 enablestring=
4627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4629 no_cache=0
4630 # Check whether --enable-stl was given.
4631 if test "${enable_stl+set}" = set; then
4632 enableval=$enable_stl;
4633 if test "$enableval" = yes; then
4634 ac_cv_use_stl='wxUSE_STL=yes'
4635 else
4636 ac_cv_use_stl='wxUSE_STL=no'
4637 fi
4638
4639 else
4640
4641 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4649
4650 fi
4651
4652
4653 eval "$ac_cv_use_stl"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4656 fi
4657
4658 if test "$wxUSE_STL" = yes; then
4659 { echo "$as_me:$LINENO: result: yes" >&5
4660 echo "${ECHO_T}yes" >&6; }
4661 else
4662 { echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6; }
4664 fi
4665
4666 if test "$USE_OS2" = "1"; then
4667 DEFAULT_wxUSE_OMF=no
4668
4669 enablestring=
4670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4672 no_cache=0
4673 # Check whether --enable-omf was given.
4674 if test "${enable_omf+set}" = set; then
4675 enableval=$enable_omf;
4676 if test "$enableval" = yes; then
4677 ac_cv_use_omf='wxUSE_OMF=yes'
4678 else
4679 ac_cv_use_omf='wxUSE_OMF=no'
4680 fi
4681
4682 else
4683
4684 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4687 else
4688 no_cache=1
4689 fi
4690
4691 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4692
4693 fi
4694
4695
4696 eval "$ac_cv_use_omf"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_OMF" = yes; then
4702 { echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6; }
4704 else
4705 { echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6; }
4707 fi
4708
4709 fi
4710
4711 if test "$wxUSE_DEBUG" = "yes"; then
4712 DEFAULT_wxUSE_DEBUG_FLAG=yes
4713 DEFAULT_wxUSE_DEBUG_INFO=yes
4714 BUILD=debug
4715 elif test "$wxUSE_DEBUG" = "no"; then
4716 DEFAULT_wxUSE_DEBUG_FLAG=no
4717 DEFAULT_wxUSE_DEBUG_INFO=no
4718 BUILD=release
4719 fi
4720
4721
4722 enablestring=
4723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4725 no_cache=0
4726 # Check whether --enable-debug_flag was given.
4727 if test "${enable_debug_flag+set}" = set; then
4728 enableval=$enable_debug_flag;
4729 if test "$enableval" = yes; then
4730 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4731 else
4732 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4733 fi
4734
4735 else
4736
4737 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4740 else
4741 no_cache=1
4742 fi
4743
4744 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4745
4746 fi
4747
4748
4749 eval "$ac_cv_use_debug_flag"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4752 fi
4753
4754 if test "$wxUSE_DEBUG_FLAG" = yes; then
4755 { echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6; }
4757 else
4758 { echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6; }
4760 fi
4761
4762
4763 enablestring=
4764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4766 no_cache=0
4767 # Check whether --enable-debug_info was given.
4768 if test "${enable_debug_info+set}" = set; then
4769 enableval=$enable_debug_info;
4770 if test "$enableval" = yes; then
4771 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4772 else
4773 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4774 fi
4775
4776 else
4777
4778 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4781 else
4782 no_cache=1
4783 fi
4784
4785 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4786
4787 fi
4788
4789
4790 eval "$ac_cv_use_debug_info"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4793 fi
4794
4795 if test "$wxUSE_DEBUG_INFO" = yes; then
4796 { echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6; }
4798 else
4799 { echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6; }
4801 fi
4802
4803
4804 enablestring=
4805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4807 no_cache=0
4808 # Check whether --enable-debug_gdb was given.
4809 if test "${enable_debug_gdb+set}" = set; then
4810 enableval=$enable_debug_gdb;
4811 if test "$enableval" = yes; then
4812 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4813 else
4814 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4815 fi
4816
4817 else
4818
4819 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4822 else
4823 no_cache=1
4824 fi
4825
4826 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4827
4828 fi
4829
4830
4831 eval "$ac_cv_use_debug_gdb"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4834 fi
4835
4836 if test "$wxUSE_DEBUG_GDB" = yes; then
4837 { echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6; }
4839 else
4840 { echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6; }
4842 fi
4843
4844
4845 enablestring=
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4848 no_cache=0
4849 # Check whether --enable-debug_cntxt was given.
4850 if test "${enable_debug_cntxt+set}" = set; then
4851 enableval=$enable_debug_cntxt;
4852 if test "$enableval" = yes; then
4853 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4854 else
4855 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4856 fi
4857
4858 else
4859
4860 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4863 else
4864 no_cache=1
4865 fi
4866
4867 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4868
4869 fi
4870
4871
4872 eval "$ac_cv_use_debug_cntxt"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4875 fi
4876
4877 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4878 { echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6; }
4880 else
4881 { echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6; }
4883 fi
4884
4885
4886 enablestring=
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4889 no_cache=0
4890 # Check whether --enable-mem_tracing was given.
4891 if test "${enable_mem_tracing+set}" = set; then
4892 enableval=$enable_mem_tracing;
4893 if test "$enableval" = yes; then
4894 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4895 else
4896 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4897 fi
4898
4899 else
4900
4901 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4904 else
4905 no_cache=1
4906 fi
4907
4908 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4909
4910 fi
4911
4912
4913 eval "$ac_cv_use_mem_tracing"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4916 fi
4917
4918 if test "$wxUSE_MEM_TRACING" = yes; then
4919 { echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6; }
4921 else
4922 { echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6; }
4924 fi
4925
4926
4927 enablestring=
4928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4930 no_cache=0
4931 # Check whether --enable-profile was given.
4932 if test "${enable_profile+set}" = set; then
4933 enableval=$enable_profile;
4934 if test "$enableval" = yes; then
4935 ac_cv_use_profile='wxUSE_PROFILE=yes'
4936 else
4937 ac_cv_use_profile='wxUSE_PROFILE=no'
4938 fi
4939
4940 else
4941
4942 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4945 else
4946 no_cache=1
4947 fi
4948
4949 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4950
4951 fi
4952
4953
4954 eval "$ac_cv_use_profile"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4957 fi
4958
4959 if test "$wxUSE_PROFILE" = yes; then
4960 { echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6; }
4962 else
4963 { echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6; }
4965 fi
4966
4967
4968 enablestring=
4969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4971 no_cache=0
4972 # Check whether --enable-no_rtti was given.
4973 if test "${enable_no_rtti+set}" = set; then
4974 enableval=$enable_no_rtti;
4975 if test "$enableval" = yes; then
4976 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4977 else
4978 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4979 fi
4980
4981 else
4982
4983 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4986 else
4987 no_cache=1
4988 fi
4989
4990 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4991
4992 fi
4993
4994
4995 eval "$ac_cv_use_no_rtti"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4998 fi
4999
5000 if test "$wxUSE_NO_RTTI" = yes; then
5001 { echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6; }
5003 else
5004 { echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6; }
5006 fi
5007
5008
5009 enablestring=
5010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5012 no_cache=0
5013 # Check whether --enable-no_exceptions was given.
5014 if test "${enable_no_exceptions+set}" = set; then
5015 enableval=$enable_no_exceptions;
5016 if test "$enableval" = yes; then
5017 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5018 else
5019 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5020 fi
5021
5022 else
5023
5024 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5027 else
5028 no_cache=1
5029 fi
5030
5031 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5032
5033 fi
5034
5035
5036 eval "$ac_cv_use_no_exceptions"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5039 fi
5040
5041 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5042 { echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6; }
5044 else
5045 { echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6; }
5047 fi
5048
5049
5050 enablestring=
5051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5053 no_cache=0
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5059 else
5060 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5061 fi
5062
5063 else
5064
5065 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5068 else
5069 no_cache=1
5070 fi
5071
5072 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5073
5074 fi
5075
5076
5077 eval "$ac_cv_use_permissive"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5080 fi
5081
5082 if test "$wxUSE_PERMISSIVE" = yes; then
5083 { echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6; }
5085 else
5086 { echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6; }
5088 fi
5089
5090
5091 enablestring=
5092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5094 no_cache=0
5095 # Check whether --enable-no_deps was given.
5096 if test "${enable_no_deps+set}" = set; then
5097 enableval=$enable_no_deps;
5098 if test "$enableval" = yes; then
5099 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5100 else
5101 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5102 fi
5103
5104 else
5105
5106 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5109 else
5110 no_cache=1
5111 fi
5112
5113 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5114
5115 fi
5116
5117
5118 eval "$ac_cv_use_no_deps"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5121 fi
5122
5123 if test "$wxUSE_NO_DEPS" = yes; then
5124 { echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6; }
5126 else
5127 { echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6; }
5129 fi
5130
5131
5132 enablestring=
5133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5135 no_cache=0
5136 # Check whether --enable-vararg_macros was given.
5137 if test "${enable_vararg_macros+set}" = set; then
5138 enableval=$enable_vararg_macros;
5139 if test "$enableval" = yes; then
5140 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5141 else
5142 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5143 fi
5144
5145 else
5146
5147 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5150 else
5151 no_cache=1
5152 fi
5153
5154 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5155
5156 fi
5157
5158
5159 eval "$ac_cv_use_vararg_macros"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5162 fi
5163
5164 if test "$wxUSE_VARARG_MACROS" = yes; then
5165 { echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6; }
5167 else
5168 { echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6; }
5170 fi
5171
5172
5173 enablestring=
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5176 no_cache=0
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5181
5182 else
5183
5184 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x ; then
5186 eval "DEFAULT_$LINE"
5187 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5188 else
5189 no_cache=1
5190 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5191 fi
5192
5193 fi
5194
5195
5196 eval "$wx_cv_use_universal_binary"
5197 if test "$no_cache" != 1; then
5198 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5202 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5203
5204
5205
5206 enablestring=enable
5207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5208 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5209 no_cache=0
5210 # Check whether --enable-compat26 was given.
5211 if test "${enable_compat26+set}" = set; then
5212 enableval=$enable_compat26;
5213 if test "$enableval" = yes; then
5214 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5215 else
5216 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5217 fi
5218
5219 else
5220
5221 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5224 else
5225 no_cache=1
5226 fi
5227
5228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5229
5230 fi
5231
5232
5233 eval "$ac_cv_use_compat26"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5236 fi
5237
5238 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5239 { echo "$as_me:$LINENO: result: yes" >&5
5240 echo "${ECHO_T}yes" >&6; }
5241 else
5242 { echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6; }
5244 fi
5245
5246
5247 enablestring=disable
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5250 no_cache=0
5251 # Check whether --enable-compat28 was given.
5252 if test "${enable_compat28+set}" = set; then
5253 enableval=$enable_compat28;
5254 if test "$enableval" = yes; then
5255 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5256 else
5257 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5258 fi
5259
5260 else
5261
5262 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5265 else
5266 no_cache=1
5267 fi
5268
5269 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5270
5271 fi
5272
5273
5274 eval "$ac_cv_use_compat28"
5275 if test "$no_cache" != 1; then
5276 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5277 fi
5278
5279 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5280 { echo "$as_me:$LINENO: result: yes" >&5
5281 echo "${ECHO_T}yes" >&6; }
5282 else
5283 { echo "$as_me:$LINENO: result: no" >&5
5284 echo "${ECHO_T}no" >&6; }
5285 fi
5286
5287
5288
5289 enablestring=
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5292 no_cache=0
5293 # Check whether --enable-rpath was given.
5294 if test "${enable_rpath+set}" = set; then
5295 enableval=$enable_rpath;
5296 if test "$enableval" = yes; then
5297 ac_cv_use_rpath='wxUSE_RPATH=yes'
5298 else
5299 ac_cv_use_rpath='wxUSE_RPATH=no'
5300 fi
5301
5302 else
5303
5304 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5307 else
5308 no_cache=1
5309 fi
5310
5311 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5312
5313 fi
5314
5315
5316 eval "$ac_cv_use_rpath"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5319 fi
5320
5321 if test "$wxUSE_RPATH" = yes; then
5322 { echo "$as_me:$LINENO: result: yes" >&5
5323 echo "${ECHO_T}yes" >&6; }
5324 else
5325 { echo "$as_me:$LINENO: result: no" >&5
5326 echo "${ECHO_T}no" >&6; }
5327 fi
5328
5329
5330
5331
5332
5333 enablestring=
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5336 no_cache=0
5337 # Check whether --enable-intl was given.
5338 if test "${enable_intl+set}" = set; then
5339 enableval=$enable_intl;
5340 if test "$enableval" = yes; then
5341 ac_cv_use_intl='wxUSE_INTL=yes'
5342 else
5343 ac_cv_use_intl='wxUSE_INTL=no'
5344 fi
5345
5346 else
5347
5348 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x ; then
5350 eval "DEFAULT_$LINE"
5351 else
5352 no_cache=1
5353 fi
5354
5355 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5356
5357 fi
5358
5359
5360 eval "$ac_cv_use_intl"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_INTL" = yes; then
5366 { echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6; }
5368 else
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5371 fi
5372
5373
5374 enablestring=
5375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5377 no_cache=0
5378 # Check whether --enable-config was given.
5379 if test "${enable_config+set}" = set; then
5380 enableval=$enable_config;
5381 if test "$enableval" = yes; then
5382 ac_cv_use_config='wxUSE_CONFIG=yes'
5383 else
5384 ac_cv_use_config='wxUSE_CONFIG=no'
5385 fi
5386
5387 else
5388
5389 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5390 if test "x$LINE" != x ; then
5391 eval "DEFAULT_$LINE"
5392 else
5393 no_cache=1
5394 fi
5395
5396 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5397
5398 fi
5399
5400
5401 eval "$ac_cv_use_config"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_CONFIG" = yes; then
5407 { echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6; }
5409 else
5410 { echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6; }
5412 fi
5413
5414
5415
5416 enablestring=
5417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5419 no_cache=0
5420 # Check whether --enable-protocols was given.
5421 if test "${enable_protocols+set}" = set; then
5422 enableval=$enable_protocols;
5423 if test "$enableval" = yes; then
5424 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5425 else
5426 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5439
5440 fi
5441
5442
5443 eval "$ac_cv_use_protocols"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5446 fi
5447
5448 if test "$wxUSE_PROTOCOL" = yes; then
5449 { echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6; }
5451 else
5452 { echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6; }
5454 fi
5455
5456
5457 enablestring=
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5460 no_cache=0
5461 # Check whether --enable-ftp was given.
5462 if test "${enable_ftp+set}" = set; then
5463 enableval=$enable_ftp;
5464 if test "$enableval" = yes; then
5465 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5466 else
5467 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5480
5481 fi
5482
5483
5484 eval "$ac_cv_use_ftp"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5487 fi
5488
5489 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5490 { echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6; }
5492 else
5493 { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5495 fi
5496
5497
5498 enablestring=
5499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5501 no_cache=0
5502 # Check whether --enable-http was given.
5503 if test "${enable_http+set}" = set; then
5504 enableval=$enable_http;
5505 if test "$enableval" = yes; then
5506 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5507 else
5508 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5521
5522 fi
5523
5524
5525 eval "$ac_cv_use_http"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5528 fi
5529
5530 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5531 { echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6; }
5533 else
5534 { echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6; }
5536 fi
5537
5538
5539 enablestring=
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5542 no_cache=0
5543 # Check whether --enable-fileproto was given.
5544 if test "${enable_fileproto+set}" = set; then
5545 enableval=$enable_fileproto;
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5548 else
5549 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5562
5563 fi
5564
5565
5566 eval "$ac_cv_use_fileproto"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5569 fi
5570
5571 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5572 { echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6; }
5574 else
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5577 fi
5578
5579
5580 enablestring=
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5583 no_cache=0
5584 # Check whether --enable-sockets was given.
5585 if test "${enable_sockets+set}" = set; then
5586 enableval=$enable_sockets;
5587 if test "$enableval" = yes; then
5588 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5589 else
5590 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5603
5604 fi
5605
5606
5607 eval "$ac_cv_use_sockets"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5610 fi
5611
5612 if test "$wxUSE_SOCKETS" = yes; then
5613 { echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5618 fi
5619
5620
5621 enablestring=
5622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5624 no_cache=0
5625 # Check whether --enable-ole was given.
5626 if test "${enable_ole+set}" = set; then
5627 enableval=$enable_ole;
5628 if test "$enableval" = yes; then
5629 ac_cv_use_ole='wxUSE_OLE=yes'
5630 else
5631 ac_cv_use_ole='wxUSE_OLE=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5644
5645 fi
5646
5647
5648 eval "$ac_cv_use_ole"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5651 fi
5652
5653 if test "$wxUSE_OLE" = yes; then
5654 { echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6; }
5656 else
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5659 fi
5660
5661
5662 enablestring=
5663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5665 no_cache=0
5666 # Check whether --enable-dataobj was given.
5667 if test "${enable_dataobj+set}" = set; then
5668 enableval=$enable_dataobj;
5669 if test "$enableval" = yes; then
5670 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5671 else
5672 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5685
5686 fi
5687
5688
5689 eval "$ac_cv_use_dataobj"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5692 fi
5693
5694 if test "$wxUSE_DATAOBJ" = yes; then
5695 { echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6; }
5697 else
5698 { echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6; }
5700 fi
5701
5702
5703
5704 enablestring=
5705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5707 no_cache=0
5708 # Check whether --enable-ipc was given.
5709 if test "${enable_ipc+set}" = set; then
5710 enableval=$enable_ipc;
5711 if test "$enableval" = yes; then
5712 ac_cv_use_ipc='wxUSE_IPC=yes'
5713 else
5714 ac_cv_use_ipc='wxUSE_IPC=no'
5715 fi
5716
5717 else
5718
5719 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5722 else
5723 no_cache=1
5724 fi
5725
5726 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5727
5728 fi
5729
5730
5731 eval "$ac_cv_use_ipc"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5734 fi
5735
5736 if test "$wxUSE_IPC" = yes; then
5737 { echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6; }
5739 else
5740 { echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6; }
5742 fi
5743
5744
5745
5746 enablestring=
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5749 no_cache=0
5750 # Check whether --enable-apple_ieee was given.
5751 if test "${enable_apple_ieee+set}" = set; then
5752 enableval=$enable_apple_ieee;
5753 if test "$enableval" = yes; then
5754 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5755 else
5756 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5757 fi
5758
5759 else
5760
5761 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5764 else
5765 no_cache=1
5766 fi
5767
5768 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5769
5770 fi
5771
5772
5773 eval "$ac_cv_use_apple_ieee"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5776 fi
5777
5778 if test "$wxUSE_APPLE_IEEE" = yes; then
5779 { echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6; }
5781 else
5782 { echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6; }
5784 fi
5785
5786
5787 enablestring=
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5790 no_cache=0
5791 # Check whether --enable-arcstream was given.
5792 if test "${enable_arcstream+set}" = set; then
5793 enableval=$enable_arcstream;
5794 if test "$enableval" = yes; then
5795 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5796 else
5797 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5798 fi
5799
5800 else
5801
5802 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x ; then
5804 eval "DEFAULT_$LINE"
5805 else
5806 no_cache=1
5807 fi
5808
5809 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5810
5811 fi
5812
5813
5814 eval "$ac_cv_use_arcstream"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5817 fi
5818
5819 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5820 { echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6; }
5822 else
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5825 fi
5826
5827
5828 enablestring=
5829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5831 no_cache=0
5832 # Check whether --enable-backtrace was given.
5833 if test "${enable_backtrace+set}" = set; then
5834 enableval=$enable_backtrace;
5835 if test "$enableval" = yes; then
5836 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5837 else
5838 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5839 fi
5840
5841 else
5842
5843 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x ; then
5845 eval "DEFAULT_$LINE"
5846 else
5847 no_cache=1
5848 fi
5849
5850 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5851
5852 fi
5853
5854
5855 eval "$ac_cv_use_backtrace"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5858 fi
5859
5860 if test "$wxUSE_STACKWALKER" = yes; then
5861 { echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6; }
5863 else
5864 { echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6; }
5866 fi
5867
5868
5869 enablestring=
5870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5872 no_cache=0
5873 # Check whether --enable-catch_segvs was given.
5874 if test "${enable_catch_segvs+set}" = set; then
5875 enableval=$enable_catch_segvs;
5876 if test "$enableval" = yes; then
5877 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5878 else
5879 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5880 fi
5881
5882 else
5883
5884 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x ; then
5886 eval "DEFAULT_$LINE"
5887 else
5888 no_cache=1
5889 fi
5890
5891 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5892
5893 fi
5894
5895
5896 eval "$ac_cv_use_catch_segvs"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5899 fi
5900
5901 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5902 { echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6; }
5904 else
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5907 fi
5908
5909
5910 enablestring=
5911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5913 no_cache=0
5914 # Check whether --enable-cmdline was given.
5915 if test "${enable_cmdline+set}" = set; then
5916 enableval=$enable_cmdline;
5917 if test "$enableval" = yes; then
5918 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5919 else
5920 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5921 fi
5922
5923 else
5924
5925 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x ; then
5927 eval "DEFAULT_$LINE"
5928 else
5929 no_cache=1
5930 fi
5931
5932 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5933
5934 fi
5935
5936
5937 eval "$ac_cv_use_cmdline"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5940 fi
5941
5942 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5943 { echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6; }
5945 else
5946 { echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6; }
5948 fi
5949
5950
5951 enablestring=
5952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5954 no_cache=0
5955 # Check whether --enable-datetime was given.
5956 if test "${enable_datetime+set}" = set; then
5957 enableval=$enable_datetime;
5958 if test "$enableval" = yes; then
5959 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5960 else
5961 ac_cv_use_datetime='wxUSE_DATETIME=no'
5962 fi
5963
5964 else
5965
5966 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5969 else
5970 no_cache=1
5971 fi
5972
5973 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5974
5975 fi
5976
5977
5978 eval "$ac_cv_use_datetime"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5981 fi
5982
5983 if test "$wxUSE_DATETIME" = yes; then
5984 { echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6; }
5986 else
5987 { echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6; }
5989 fi
5990
5991
5992 enablestring=
5993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5995 no_cache=0
5996 # Check whether --enable-debugreport was given.
5997 if test "${enable_debugreport+set}" = set; then
5998 enableval=$enable_debugreport;
5999 if test "$enableval" = yes; then
6000 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6001 else
6002 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6003 fi
6004
6005 else
6006
6007 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x ; then
6009 eval "DEFAULT_$LINE"
6010 else
6011 no_cache=1
6012 fi
6013
6014 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6015
6016 fi
6017
6018
6019 eval "$ac_cv_use_debugreport"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6022 fi
6023
6024 if test "$wxUSE_DEBUGREPORT" = yes; then
6025 { echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6030 fi
6031
6032
6033 enablestring=
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6036 no_cache=0
6037 # Check whether --enable-dialupman was given.
6038 if test "${enable_dialupman+set}" = set; then
6039 enableval=$enable_dialupman;
6040 if test "$enableval" = yes; then
6041 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6042 else
6043 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6044 fi
6045
6046 else
6047
6048 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6049 if test "x$LINE" != x ; then
6050 eval "DEFAULT_$LINE"
6051 else
6052 no_cache=1
6053 fi
6054
6055 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6056
6057 fi
6058
6059
6060 eval "$ac_cv_use_dialupman"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6063 fi
6064
6065 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6066 { echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6; }
6068 else
6069 { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6071 fi
6072
6073
6074 enablestring=
6075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6077 no_cache=0
6078 # Check whether --enable-dynlib was given.
6079 if test "${enable_dynlib+set}" = set; then
6080 enableval=$enable_dynlib;
6081 if test "$enableval" = yes; then
6082 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6083 else
6084 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6085 fi
6086
6087 else
6088
6089 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6090 if test "x$LINE" != x ; then
6091 eval "DEFAULT_$LINE"
6092 else
6093 no_cache=1
6094 fi
6095
6096 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6097
6098 fi
6099
6100
6101 eval "$ac_cv_use_dynlib"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6104 fi
6105
6106 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6107 { echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6; }
6109 else
6110 { echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6; }
6112 fi
6113
6114
6115 enablestring=
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6118 no_cache=0
6119 # Check whether --enable-dynamicloader was given.
6120 if test "${enable_dynamicloader+set}" = set; then
6121 enableval=$enable_dynamicloader;
6122 if test "$enableval" = yes; then
6123 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6124 else
6125 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6126 fi
6127
6128 else
6129
6130 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x ; then
6132 eval "DEFAULT_$LINE"
6133 else
6134 no_cache=1
6135 fi
6136
6137 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6138
6139 fi
6140
6141
6142 eval "$ac_cv_use_dynamicloader"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6145 fi
6146
6147 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6148 { echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6; }
6150 else
6151 { echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6; }
6153 fi
6154
6155
6156 enablestring=
6157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6159 no_cache=0
6160 # Check whether --enable-exceptions was given.
6161 if test "${enable_exceptions+set}" = set; then
6162 enableval=$enable_exceptions;
6163 if test "$enableval" = yes; then
6164 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6165 else
6166 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6167 fi
6168
6169 else
6170
6171 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x ; then
6173 eval "DEFAULT_$LINE"
6174 else
6175 no_cache=1
6176 fi
6177
6178 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6179
6180 fi
6181
6182
6183 eval "$ac_cv_use_exceptions"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6186 fi
6187
6188 if test "$wxUSE_EXCEPTIONS" = yes; then
6189 { echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6; }
6191 else
6192 { echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6; }
6194 fi
6195
6196
6197 enablestring=
6198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6200 no_cache=0
6201 # Check whether --enable-ffile was given.
6202 if test "${enable_ffile+set}" = set; then
6203 enableval=$enable_ffile;
6204 if test "$enableval" = yes; then
6205 ac_cv_use_ffile='wxUSE_FFILE=yes'
6206 else
6207 ac_cv_use_ffile='wxUSE_FFILE=no'
6208 fi
6209
6210 else
6211
6212 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6215 else
6216 no_cache=1
6217 fi
6218
6219 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6220
6221 fi
6222
6223
6224 eval "$ac_cv_use_ffile"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6227 fi
6228
6229 if test "$wxUSE_FFILE" = yes; then
6230 { echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6; }
6232 else
6233 { echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6; }
6235 fi
6236
6237
6238 enablestring=
6239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6241 no_cache=0
6242 # Check whether --enable-file was given.
6243 if test "${enable_file+set}" = set; then
6244 enableval=$enable_file;
6245 if test "$enableval" = yes; then
6246 ac_cv_use_file='wxUSE_FILE=yes'
6247 else
6248 ac_cv_use_file='wxUSE_FILE=no'
6249 fi
6250
6251 else
6252
6253 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x ; then
6255 eval "DEFAULT_$LINE"
6256 else
6257 no_cache=1
6258 fi
6259
6260 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6261
6262 fi
6263
6264
6265 eval "$ac_cv_use_file"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6268 fi
6269
6270 if test "$wxUSE_FILE" = yes; then
6271 { echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6; }
6273 else
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6276 fi
6277
6278
6279 enablestring=
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6282 no_cache=0
6283 # Check whether --enable-filesystem was given.
6284 if test "${enable_filesystem+set}" = set; then
6285 enableval=$enable_filesystem;
6286 if test "$enableval" = yes; then
6287 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6288 else
6289 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6290 fi
6291
6292 else
6293
6294 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6297 else
6298 no_cache=1
6299 fi
6300
6301 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6302
6303 fi
6304
6305
6306 eval "$ac_cv_use_filesystem"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6309 fi
6310
6311 if test "$wxUSE_FILESYSTEM" = yes; then
6312 { echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6; }
6314 else
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6317 fi
6318
6319
6320 enablestring=
6321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6323 no_cache=0
6324 # Check whether --enable-fontmap was given.
6325 if test "${enable_fontmap+set}" = set; then
6326 enableval=$enable_fontmap;
6327 if test "$enableval" = yes; then
6328 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6329 else
6330 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6331 fi
6332
6333 else
6334
6335 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x ; then
6337 eval "DEFAULT_$LINE"
6338 else
6339 no_cache=1
6340 fi
6341
6342 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6343
6344 fi
6345
6346
6347 eval "$ac_cv_use_fontmap"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6350 fi
6351
6352 if test "$wxUSE_FONTMAP" = yes; then
6353 { echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6; }
6355 else
6356 { echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6; }
6358 fi
6359
6360
6361 enablestring=
6362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6364 no_cache=0
6365 # Check whether --enable-fs_archive was given.
6366 if test "${enable_fs_archive+set}" = set; then
6367 enableval=$enable_fs_archive;
6368 if test "$enableval" = yes; then
6369 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6370 else
6371 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6372 fi
6373
6374 else
6375
6376 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x ; then
6378 eval "DEFAULT_$LINE"
6379 else
6380 no_cache=1
6381 fi
6382
6383 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6384
6385 fi
6386
6387
6388 eval "$ac_cv_use_fs_archive"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6391 fi
6392
6393 if test "$wxUSE_FS_ARCHIVE" = yes; then
6394 { echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6; }
6396 else
6397 { echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6; }
6399 fi
6400
6401
6402 enablestring=
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6405 no_cache=0
6406 # Check whether --enable-fs_inet was given.
6407 if test "${enable_fs_inet+set}" = set; then
6408 enableval=$enable_fs_inet;
6409 if test "$enableval" = yes; then
6410 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6411 else
6412 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6413 fi
6414
6415 else
6416
6417 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6420 else
6421 no_cache=1
6422 fi
6423
6424 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6425
6426 fi
6427
6428
6429 eval "$ac_cv_use_fs_inet"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6432 fi
6433
6434 if test "$wxUSE_FS_INET" = yes; then
6435 { echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6; }
6437 else
6438 { echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6; }
6440 fi
6441
6442
6443 enablestring=
6444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6446 no_cache=0
6447 # Check whether --enable-fs_zip was given.
6448 if test "${enable_fs_zip+set}" = set; then
6449 enableval=$enable_fs_zip;
6450 if test "$enableval" = yes; then
6451 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6452 else
6453 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6454 fi
6455
6456 else
6457
6458 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6461 else
6462 no_cache=1
6463 fi
6464
6465 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6466
6467 fi
6468
6469
6470 eval "$ac_cv_use_fs_zip"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6473 fi
6474
6475 if test "$wxUSE_FS_ZIP" = yes; then
6476 { echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6; }
6478 else
6479 { echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6; }
6481 fi
6482
6483
6484 enablestring=
6485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6487 no_cache=0
6488 # Check whether --enable-geometry was given.
6489 if test "${enable_geometry+set}" = set; then
6490 enableval=$enable_geometry;
6491 if test "$enableval" = yes; then
6492 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6493 else
6494 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6495 fi
6496
6497 else
6498
6499 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6502 else
6503 no_cache=1
6504 fi
6505
6506 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6507
6508 fi
6509
6510
6511 eval "$ac_cv_use_geometry"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6514 fi
6515
6516 if test "$wxUSE_GEOMETRY" = yes; then
6517 { echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6; }
6519 else
6520 { echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6; }
6522 fi
6523
6524
6525 enablestring=
6526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6528 no_cache=0
6529 # Check whether --enable-log was given.
6530 if test "${enable_log+set}" = set; then
6531 enableval=$enable_log;
6532 if test "$enableval" = yes; then
6533 ac_cv_use_log='wxUSE_LOG=yes'
6534 else
6535 ac_cv_use_log='wxUSE_LOG=no'
6536 fi
6537
6538 else
6539
6540 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6543 else
6544 no_cache=1
6545 fi
6546
6547 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6548
6549 fi
6550
6551
6552 eval "$ac_cv_use_log"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6555 fi
6556
6557 if test "$wxUSE_LOG" = yes; then
6558 { echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6; }
6560 else
6561 { echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6; }
6563 fi
6564
6565
6566 enablestring=
6567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6569 no_cache=0
6570 # Check whether --enable-longlong was given.
6571 if test "${enable_longlong+set}" = set; then
6572 enableval=$enable_longlong;
6573 if test "$enableval" = yes; then
6574 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6575 else
6576 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6577 fi
6578
6579 else
6580
6581 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6584 else
6585 no_cache=1
6586 fi
6587
6588 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6589
6590 fi
6591
6592
6593 eval "$ac_cv_use_longlong"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6596 fi
6597
6598 if test "$wxUSE_LONGLONG" = yes; then
6599 { echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6; }
6601 else
6602 { echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6; }
6604 fi
6605
6606
6607 enablestring=
6608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6610 no_cache=0
6611 # Check whether --enable-mimetype was given.
6612 if test "${enable_mimetype+set}" = set; then
6613 enableval=$enable_mimetype;
6614 if test "$enableval" = yes; then
6615 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6616 else
6617 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6618 fi
6619
6620 else
6621
6622 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6625 else
6626 no_cache=1
6627 fi
6628
6629 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6630
6631 fi
6632
6633
6634 eval "$ac_cv_use_mimetype"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6637 fi
6638
6639 if test "$wxUSE_MIMETYPE" = yes; then
6640 { echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6; }
6642 else
6643 { echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6; }
6645 fi
6646
6647
6648 enablestring=
6649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6651 no_cache=0
6652 # Check whether --enable-mslu was given.
6653 if test "${enable_mslu+set}" = set; then
6654 enableval=$enable_mslu;
6655 if test "$enableval" = yes; then
6656 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6657 else
6658 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6659 fi
6660
6661 else
6662
6663 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6666 else
6667 no_cache=1
6668 fi
6669
6670 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6671
6672 fi
6673
6674
6675 eval "$ac_cv_use_mslu"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6678 fi
6679
6680 if test "$wxUSE_UNICODE_MSLU" = yes; then
6681 { echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6; }
6683 else
6684 { echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6; }
6686 fi
6687
6688
6689 enablestring=
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6692 no_cache=0
6693 # Check whether --enable-snglinst was given.
6694 if test "${enable_snglinst+set}" = set; then
6695 enableval=$enable_snglinst;
6696 if test "$enableval" = yes; then
6697 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6698 else
6699 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6700 fi
6701
6702 else
6703
6704 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6712
6713 fi
6714
6715
6716 eval "$ac_cv_use_snglinst"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6719 fi
6720
6721 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6722 { echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6; }
6724 else
6725 { echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6; }
6727 fi
6728
6729
6730 enablestring=
6731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6733 no_cache=0
6734 # Check whether --enable-std_iostreams was given.
6735 if test "${enable_std_iostreams+set}" = set; then
6736 enableval=$enable_std_iostreams;
6737 if test "$enableval" = yes; then
6738 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6739 else
6740 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6741 fi
6742
6743 else
6744
6745 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6748 else
6749 no_cache=1
6750 fi
6751
6752 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6753
6754 fi
6755
6756
6757 eval "$ac_cv_use_std_iostreams"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6760 fi
6761
6762 if test "$wxUSE_STD_IOSTREAM" = yes; then
6763 { echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6; }
6765 else
6766 { echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6; }
6768 fi
6769
6770
6771 enablestring=
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6774 no_cache=0
6775 # Check whether --enable-std_string was given.
6776 if test "${enable_std_string+set}" = set; then
6777 enableval=$enable_std_string;
6778 if test "$enableval" = yes; then
6779 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6780 else
6781 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6782 fi
6783
6784 else
6785
6786 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6789 else
6790 no_cache=1
6791 fi
6792
6793 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6794
6795 fi
6796
6797
6798 eval "$ac_cv_use_std_string"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6801 fi
6802
6803 if test "$wxUSE_STD_STRING" = yes; then
6804 { echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6; }
6806 else
6807 { echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6; }
6809 fi
6810
6811
6812 enablestring=
6813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6815 no_cache=0
6816 # Check whether --enable-stdpaths was given.
6817 if test "${enable_stdpaths+set}" = set; then
6818 enableval=$enable_stdpaths;
6819 if test "$enableval" = yes; then
6820 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6821 else
6822 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6823 fi
6824
6825 else
6826
6827 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6830 else
6831 no_cache=1
6832 fi
6833
6834 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6835
6836 fi
6837
6838
6839 eval "$ac_cv_use_stdpaths"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6842 fi
6843
6844 if test "$wxUSE_STDPATHS" = yes; then
6845 { echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6; }
6847 else
6848 { echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6; }
6850 fi
6851
6852
6853 enablestring=
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6856 no_cache=0
6857 # Check whether --enable-stopwatch was given.
6858 if test "${enable_stopwatch+set}" = set; then
6859 enableval=$enable_stopwatch;
6860 if test "$enableval" = yes; then
6861 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6862 else
6863 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6864 fi
6865
6866 else
6867
6868 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 else
6872 no_cache=1
6873 fi
6874
6875 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6876
6877 fi
6878
6879
6880 eval "$ac_cv_use_stopwatch"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6883 fi
6884
6885 if test "$wxUSE_STOPWATCH" = yes; then
6886 { echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6; }
6888 else
6889 { echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6; }
6891 fi
6892
6893
6894 enablestring=
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6897 no_cache=0
6898 # Check whether --enable-streams was given.
6899 if test "${enable_streams+set}" = set; then
6900 enableval=$enable_streams;
6901 if test "$enableval" = yes; then
6902 ac_cv_use_streams='wxUSE_STREAMS=yes'
6903 else
6904 ac_cv_use_streams='wxUSE_STREAMS=no'
6905 fi
6906
6907 else
6908
6909 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6912 else
6913 no_cache=1
6914 fi
6915
6916 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6917
6918 fi
6919
6920
6921 eval "$ac_cv_use_streams"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6924 fi
6925
6926 if test "$wxUSE_STREAMS" = yes; then
6927 { echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6; }
6929 else
6930 { echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6; }
6932 fi
6933
6934
6935 enablestring=
6936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6938 no_cache=0
6939 # Check whether --enable-system_options was given.
6940 if test "${enable_system_options+set}" = set; then
6941 enableval=$enable_system_options;
6942 if test "$enableval" = yes; then
6943 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6944 else
6945 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6946 fi
6947
6948 else
6949
6950 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6953 else
6954 no_cache=1
6955 fi
6956
6957 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6958
6959 fi
6960
6961
6962 eval "$ac_cv_use_system_options"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6965 fi
6966
6967 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6968 { echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6; }
6970 else
6971 { echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6; }
6973 fi
6974
6975
6976 enablestring=
6977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6979 no_cache=0
6980 # Check whether --enable-tarstream was given.
6981 if test "${enable_tarstream+set}" = set; then
6982 enableval=$enable_tarstream;
6983 if test "$enableval" = yes; then
6984 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6985 else
6986 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6987 fi
6988
6989 else
6990
6991 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6994 else
6995 no_cache=1
6996 fi
6997
6998 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6999
7000 fi
7001
7002
7003 eval "$ac_cv_use_tarstream"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7006 fi
7007
7008 if test "$wxUSE_TARSTREAM" = yes; then
7009 { echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6; }
7011 else
7012 { echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6; }
7014 fi
7015
7016
7017 enablestring=
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7020 no_cache=0
7021 # Check whether --enable-textbuf was given.
7022 if test "${enable_textbuf+set}" = set; then
7023 enableval=$enable_textbuf;
7024 if test "$enableval" = yes; then
7025 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7026 else
7027 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7028 fi
7029
7030 else
7031
7032 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 else
7036 no_cache=1
7037 fi
7038
7039 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7040
7041 fi
7042
7043
7044 eval "$ac_cv_use_textbuf"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7047 fi
7048
7049 if test "$wxUSE_TEXTBUFFER" = yes; then
7050 { echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6; }
7052 else
7053 { echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6; }
7055 fi
7056
7057
7058 enablestring=
7059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7061 no_cache=0
7062 # Check whether --enable-textfile was given.
7063 if test "${enable_textfile+set}" = set; then
7064 enableval=$enable_textfile;
7065 if test "$enableval" = yes; then
7066 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7067 else
7068 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7069 fi
7070
7071 else
7072
7073 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7076 else
7077 no_cache=1
7078 fi
7079
7080 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7081
7082 fi
7083
7084
7085 eval "$ac_cv_use_textfile"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7088 fi
7089
7090 if test "$wxUSE_TEXTFILE" = yes; then
7091 { echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6; }
7093 else
7094 { echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6; }
7096 fi
7097
7098
7099 enablestring=
7100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7102 no_cache=0
7103 # Check whether --enable-timer was given.
7104 if test "${enable_timer+set}" = set; then
7105 enableval=$enable_timer;
7106 if test "$enableval" = yes; then
7107 ac_cv_use_timer='wxUSE_TIMER=yes'
7108 else
7109 ac_cv_use_timer='wxUSE_TIMER=no'
7110 fi
7111
7112 else
7113
7114 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7115 if test "x$LINE" != x ; then
7116 eval "DEFAULT_$LINE"
7117 else
7118 no_cache=1
7119 fi
7120
7121 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7122
7123 fi
7124
7125
7126 eval "$ac_cv_use_timer"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7129 fi
7130
7131 if test "$wxUSE_TIMER" = yes; then
7132 { echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6; }
7134 else
7135 { echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6; }
7137 fi
7138
7139
7140 enablestring=
7141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7143 no_cache=0
7144 # Check whether --enable-unicode was given.
7145 if test "${enable_unicode+set}" = set; then
7146 enableval=$enable_unicode;
7147 if test "$enableval" = yes; then
7148 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7149 else
7150 ac_cv_use_unicode='wxUSE_UNICODE=no'
7151 fi
7152
7153 else
7154
7155 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 else
7159 no_cache=1
7160 fi
7161
7162 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7163
7164 fi
7165
7166
7167 eval "$ac_cv_use_unicode"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7170 fi
7171
7172 if test "$wxUSE_UNICODE" = yes; then
7173 { echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6; }
7175 else
7176 { echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6; }
7178 fi
7179
7180
7181 enablestring=
7182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7184 no_cache=0
7185 # Check whether --enable-sound was given.
7186 if test "${enable_sound+set}" = set; then
7187 enableval=$enable_sound;
7188 if test "$enableval" = yes; then
7189 ac_cv_use_sound='wxUSE_SOUND=yes'
7190 else
7191 ac_cv_use_sound='wxUSE_SOUND=no'
7192 fi
7193
7194 else
7195
7196 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7199 else
7200 no_cache=1
7201 fi
7202
7203 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7204
7205 fi
7206
7207
7208 eval "$ac_cv_use_sound"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7211 fi
7212
7213 if test "$wxUSE_SOUND" = yes; then
7214 { echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6; }
7216 else
7217 { echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6; }
7219 fi
7220
7221
7222 enablestring=
7223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7225 no_cache=0
7226 # Check whether --enable-mediactrl was given.
7227 if test "${enable_mediactrl+set}" = set; then
7228 enableval=$enable_mediactrl;
7229 if test "$enableval" = yes; then
7230 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7231 else
7232 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7233 fi
7234
7235 else
7236
7237 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7240 else
7241 no_cache=1
7242 fi
7243
7244 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7245
7246 fi
7247
7248
7249 eval "$ac_cv_use_mediactrl"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7252 fi
7253
7254 if test "$wxUSE_MEDIACTRL" = yes; then
7255 { echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6; }
7257 else
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7260 fi
7261
7262
7263 enablestring=
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7266 no_cache=0
7267 # Check whether --enable-gstreamer8 was given.
7268 if test "${enable_gstreamer8+set}" = set; then
7269 enableval=$enable_gstreamer8;
7270 if test "$enableval" = yes; then
7271 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7272 else
7273 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7274 fi
7275
7276 else
7277
7278 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7281 else
7282 no_cache=1
7283 fi
7284
7285 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7286
7287 fi
7288
7289
7290 eval "$ac_cv_use_gstreamer8"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7293 fi
7294
7295 if test "$wxUSE_GSTREAMER8" = yes; then
7296 { echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6; }
7298 else
7299 { echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6; }
7301 fi
7302
7303
7304 enablestring=
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7307 no_cache=0
7308 # Check whether --enable-printfposparam was given.
7309 if test "${enable_printfposparam+set}" = set; then
7310 enableval=$enable_printfposparam;
7311 if test "$enableval" = yes; then
7312 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7313 else
7314 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7315 fi
7316
7317 else
7318
7319 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x ; then
7321 eval "DEFAULT_$LINE"
7322 else
7323 no_cache=1
7324 fi
7325
7326 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7327
7328 fi
7329
7330
7331 eval "$ac_cv_use_printfposparam"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7334 fi
7335
7336 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7337 { echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6; }
7339 else
7340 { echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6; }
7342 fi
7343
7344
7345 enablestring=
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7348 no_cache=0
7349 # Check whether --enable-zipstream was given.
7350 if test "${enable_zipstream+set}" = set; then
7351 enableval=$enable_zipstream;
7352 if test "$enableval" = yes; then
7353 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7354 else
7355 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7356 fi
7357
7358 else
7359
7360 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x ; then
7362 eval "DEFAULT_$LINE"
7363 else
7364 no_cache=1
7365 fi
7366
7367 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7368
7369 fi
7370
7371
7372 eval "$ac_cv_use_zipstream"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7375 fi
7376
7377 if test "$wxUSE_ZIPSTREAM" = yes; then
7378 { echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6; }
7380 else
7381 { echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6; }
7383 fi
7384
7385
7386
7387 enablestring=
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7390 no_cache=0
7391 # Check whether --enable-url was given.
7392 if test "${enable_url+set}" = set; then
7393 enableval=$enable_url;
7394 if test "$enableval" = yes; then
7395 ac_cv_use_url='wxUSE_URL=yes'
7396 else
7397 ac_cv_use_url='wxUSE_URL=no'
7398 fi
7399
7400 else
7401
7402 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7405 else
7406 no_cache=1
7407 fi
7408
7409 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7410
7411 fi
7412
7413
7414 eval "$ac_cv_use_url"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7417 fi
7418
7419 if test "$wxUSE_URL" = yes; then
7420 { echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6; }
7422 else
7423 { echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6; }
7425 fi
7426
7427
7428 enablestring=
7429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7431 no_cache=0
7432 # Check whether --enable-variant was given.
7433 if test "${enable_variant+set}" = set; then
7434 enableval=$enable_variant;
7435 if test "$enableval" = yes; then
7436 ac_cv_use_variant='wxUSE_VARIANT=yes'
7437 else
7438 ac_cv_use_variant='wxUSE_VARIANT=no'
7439 fi
7440
7441 else
7442
7443 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7446 else
7447 no_cache=1
7448 fi
7449
7450 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7451
7452 fi
7453
7454
7455 eval "$ac_cv_use_variant"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7458 fi
7459
7460 if test "$wxUSE_VARIANT" = yes; then
7461 { echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6; }
7463 else
7464 { echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6; }
7466 fi
7467
7468
7469 enablestring=
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7472 no_cache=0
7473 # Check whether --enable-protocol was given.
7474 if test "${enable_protocol+set}" = set; then
7475 enableval=$enable_protocol;
7476 if test "$enableval" = yes; then
7477 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7478 else
7479 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7480 fi
7481
7482 else
7483
7484 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7487 else
7488 no_cache=1
7489 fi
7490
7491 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7492
7493 fi
7494
7495
7496 eval "$ac_cv_use_protocol"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7499 fi
7500
7501 if test "$wxUSE_PROTOCOL" = yes; then
7502 { echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6; }
7504 else
7505 { echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6; }
7507 fi
7508
7509
7510 enablestring=
7511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7513 no_cache=0
7514 # Check whether --enable-protocol_http was given.
7515 if test "${enable_protocol_http+set}" = set; then
7516 enableval=$enable_protocol_http;
7517 if test "$enableval" = yes; then
7518 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7519 else
7520 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7521 fi
7522
7523 else
7524
7525 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7528 else
7529 no_cache=1
7530 fi
7531
7532 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7533
7534 fi
7535
7536
7537 eval "$ac_cv_use_protocol_http"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7540 fi
7541
7542 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7543 { echo "$as_me:$LINENO: result: yes" >&5
7544 echo "${ECHO_T}yes" >&6; }
7545 else
7546 { echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6; }
7548 fi
7549
7550
7551 enablestring=
7552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7554 no_cache=0
7555 # Check whether --enable-protocol_ftp was given.
7556 if test "${enable_protocol_ftp+set}" = set; then
7557 enableval=$enable_protocol_ftp;
7558 if test "$enableval" = yes; then
7559 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7560 else
7561 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7562 fi
7563
7564 else
7565
7566 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x ; then
7568 eval "DEFAULT_$LINE"
7569 else
7570 no_cache=1
7571 fi
7572
7573 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7574
7575 fi
7576
7577
7578 eval "$ac_cv_use_protocol_ftp"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7581 fi
7582
7583 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7584 { echo "$as_me:$LINENO: result: yes" >&5
7585 echo "${ECHO_T}yes" >&6; }
7586 else
7587 { echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6; }
7589 fi
7590
7591
7592 enablestring=
7593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7595 no_cache=0
7596 # Check whether --enable-protocol_file was given.
7597 if test "${enable_protocol_file+set}" = set; then
7598 enableval=$enable_protocol_file;
7599 if test "$enableval" = yes; then
7600 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7601 else
7602 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7603 fi
7604
7605 else
7606
7607 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7610 else
7611 no_cache=1
7612 fi
7613
7614 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7615
7616 fi
7617
7618
7619 eval "$ac_cv_use_protocol_file"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7622 fi
7623
7624 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7625 { echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6; }
7627 else
7628 { echo "$as_me:$LINENO: result: no" >&5
7629 echo "${ECHO_T}no" >&6; }
7630 fi
7631
7632
7633
7634
7635
7636 enablestring=
7637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7639 no_cache=0
7640 # Check whether --enable-threads was given.
7641 if test "${enable_threads+set}" = set; then
7642 enableval=$enable_threads;
7643 if test "$enableval" = yes; then
7644 ac_cv_use_threads='wxUSE_THREADS=yes'
7645 else
7646 ac_cv_use_threads='wxUSE_THREADS=no'
7647 fi
7648
7649 else
7650
7651 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7659
7660 fi
7661
7662
7663 eval "$ac_cv_use_threads"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7666 fi
7667
7668 if test "$wxUSE_THREADS" = yes; then
7669 { echo "$as_me:$LINENO: result: yes" >&5
7670 echo "${ECHO_T}yes" >&6; }
7671 else
7672 { echo "$as_me:$LINENO: result: no" >&5
7673 echo "${ECHO_T}no" >&6; }
7674 fi
7675
7676
7677 if test "$wxUSE_GUI" = "yes"; then
7678
7679
7680
7681 enablestring=
7682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7684 no_cache=0
7685 # Check whether --enable-docview was given.
7686 if test "${enable_docview+set}" = set; then
7687 enableval=$enable_docview;
7688 if test "$enableval" = yes; then
7689 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7690 else
7691 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7692 fi
7693
7694 else
7695
7696 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7697 if test "x$LINE" != x ; then
7698 eval "DEFAULT_$LINE"
7699 else
7700 no_cache=1
7701 fi
7702
7703 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7704
7705 fi
7706
7707
7708 eval "$ac_cv_use_docview"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7711 fi
7712
7713 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7714 { echo "$as_me:$LINENO: result: yes" >&5
7715 echo "${ECHO_T}yes" >&6; }
7716 else
7717 { echo "$as_me:$LINENO: result: no" >&5
7718 echo "${ECHO_T}no" >&6; }
7719 fi
7720
7721
7722 enablestring=
7723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7725 no_cache=0
7726 # Check whether --enable-help was given.
7727 if test "${enable_help+set}" = set; then
7728 enableval=$enable_help;
7729 if test "$enableval" = yes; then
7730 ac_cv_use_help='wxUSE_HELP=yes'
7731 else
7732 ac_cv_use_help='wxUSE_HELP=no'
7733 fi
7734
7735 else
7736
7737 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7738 if test "x$LINE" != x ; then
7739 eval "DEFAULT_$LINE"
7740 else
7741 no_cache=1
7742 fi
7743
7744 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7745
7746 fi
7747
7748
7749 eval "$ac_cv_use_help"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7752 fi
7753
7754 if test "$wxUSE_HELP" = yes; then
7755 { echo "$as_me:$LINENO: result: yes" >&5
7756 echo "${ECHO_T}yes" >&6; }
7757 else
7758 { echo "$as_me:$LINENO: result: no" >&5
7759 echo "${ECHO_T}no" >&6; }
7760 fi
7761
7762
7763 enablestring=
7764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7765 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7766 no_cache=0
7767 # Check whether --enable-mshtmlhelp was given.
7768 if test "${enable_mshtmlhelp+set}" = set; then
7769 enableval=$enable_mshtmlhelp;
7770 if test "$enableval" = yes; then
7771 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7772 else
7773 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7774 fi
7775
7776 else
7777
7778 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7779 if test "x$LINE" != x ; then
7780 eval "DEFAULT_$LINE"
7781 else
7782 no_cache=1
7783 fi
7784
7785 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7786
7787 fi
7788
7789
7790 eval "$ac_cv_use_mshtmlhelp"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7793 fi
7794
7795 if test "$wxUSE_MS_HTML_HELP" = yes; then
7796 { echo "$as_me:$LINENO: result: yes" >&5
7797 echo "${ECHO_T}yes" >&6; }
7798 else
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7801 fi
7802
7803
7804 enablestring=
7805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7806 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7807 no_cache=0
7808 # Check whether --enable-html was given.
7809 if test "${enable_html+set}" = set; then
7810 enableval=$enable_html;
7811 if test "$enableval" = yes; then
7812 ac_cv_use_html='wxUSE_HTML=yes'
7813 else
7814 ac_cv_use_html='wxUSE_HTML=no'
7815 fi
7816
7817 else
7818
7819 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x ; then
7821 eval "DEFAULT_$LINE"
7822 else
7823 no_cache=1
7824 fi
7825
7826 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7827
7828 fi
7829
7830
7831 eval "$ac_cv_use_html"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7834 fi
7835
7836 if test "$wxUSE_HTML" = yes; then
7837 { echo "$as_me:$LINENO: result: yes" >&5
7838 echo "${ECHO_T}yes" >&6; }
7839 else
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7842 fi
7843
7844
7845 enablestring=
7846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7847 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7848 no_cache=0
7849 # Check whether --enable-htmlhelp was given.
7850 if test "${enable_htmlhelp+set}" = set; then
7851 enableval=$enable_htmlhelp;
7852 if test "$enableval" = yes; then
7853 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7854 else
7855 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7856 fi
7857
7858 else
7859
7860 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7863 else
7864 no_cache=1
7865 fi
7866
7867 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7868
7869 fi
7870
7871
7872 eval "$ac_cv_use_htmlhelp"
7873 if test "$no_cache" != 1; then
7874 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7875 fi
7876
7877 if test "$wxUSE_WXHTML_HELP" = yes; then
7878 { echo "$as_me:$LINENO: result: yes" >&5
7879 echo "${ECHO_T}yes" >&6; }
7880 else
7881 { echo "$as_me:$LINENO: result: no" >&5
7882 echo "${ECHO_T}no" >&6; }
7883 fi
7884
7885
7886 enablestring=
7887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7889 no_cache=0
7890 # Check whether --enable-xrc was given.
7891 if test "${enable_xrc+set}" = set; then
7892 enableval=$enable_xrc;
7893 if test "$enableval" = yes; then
7894 ac_cv_use_xrc='wxUSE_XRC=yes'
7895 else
7896 ac_cv_use_xrc='wxUSE_XRC=no'
7897 fi
7898
7899 else
7900
7901 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7902 if test "x$LINE" != x ; then
7903 eval "DEFAULT_$LINE"
7904 else
7905 no_cache=1
7906 fi
7907
7908 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7909
7910 fi
7911
7912
7913 eval "$ac_cv_use_xrc"
7914 if test "$no_cache" != 1; then
7915 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7916 fi
7917
7918 if test "$wxUSE_XRC" = yes; then
7919 { echo "$as_me:$LINENO: result: yes" >&5
7920 echo "${ECHO_T}yes" >&6; }
7921 else
7922 { echo "$as_me:$LINENO: result: no" >&5
7923 echo "${ECHO_T}no" >&6; }
7924 fi
7925
7926
7927 enablestring=
7928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7930 no_cache=0
7931 # Check whether --enable-aui was given.
7932 if test "${enable_aui+set}" = set; then
7933 enableval=$enable_aui;
7934 if test "$enableval" = yes; then
7935 ac_cv_use_aui='wxUSE_AUI=yes'
7936 else
7937 ac_cv_use_aui='wxUSE_AUI=no'
7938 fi
7939
7940 else
7941
7942 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7943 if test "x$LINE" != x ; then
7944 eval "DEFAULT_$LINE"
7945 else
7946 no_cache=1
7947 fi
7948
7949 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7950
7951 fi
7952
7953
7954 eval "$ac_cv_use_aui"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7957 fi
7958
7959 if test "$wxUSE_AUI" = yes; then
7960 { echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6; }
7962 else
7963 { echo "$as_me:$LINENO: result: no" >&5
7964 echo "${ECHO_T}no" >&6; }
7965 fi
7966
7967
7968 enablestring=
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7971 no_cache=0
7972 # Check whether --enable-constraints was given.
7973 if test "${enable_constraints+set}" = set; then
7974 enableval=$enable_constraints;
7975 if test "$enableval" = yes; then
7976 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7977 else
7978 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7979 fi
7980
7981 else
7982
7983 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7984 if test "x$LINE" != x ; then
7985 eval "DEFAULT_$LINE"
7986 else
7987 no_cache=1
7988 fi
7989
7990 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7991
7992 fi
7993
7994
7995 eval "$ac_cv_use_constraints"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7998 fi
7999
8000 if test "$wxUSE_CONSTRAINTS" = yes; then
8001 { echo "$as_me:$LINENO: result: yes" >&5
8002 echo "${ECHO_T}yes" >&6; }
8003 else
8004 { echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6; }
8006 fi
8007
8008
8009 enablestring=
8010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8012 no_cache=0
8013 # Check whether --enable-printarch was given.
8014 if test "${enable_printarch+set}" = set; then
8015 enableval=$enable_printarch;
8016 if test "$enableval" = yes; then
8017 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8018 else
8019 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8020 fi
8021
8022 else
8023
8024 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8025 if test "x$LINE" != x ; then
8026 eval "DEFAULT_$LINE"
8027 else
8028 no_cache=1
8029 fi
8030
8031 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8032
8033 fi
8034
8035
8036 eval "$ac_cv_use_printarch"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8039 fi
8040
8041 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8042 { echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6; }
8044 else
8045 { echo "$as_me:$LINENO: result: no" >&5
8046 echo "${ECHO_T}no" >&6; }
8047 fi
8048
8049
8050 enablestring=
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8053 no_cache=0
8054 # Check whether --enable-mdi was given.
8055 if test "${enable_mdi+set}" = set; then
8056 enableval=$enable_mdi;
8057 if test "$enableval" = yes; then
8058 ac_cv_use_mdi='wxUSE_MDI=yes'
8059 else
8060 ac_cv_use_mdi='wxUSE_MDI=no'
8061 fi
8062
8063 else
8064
8065 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8066 if test "x$LINE" != x ; then
8067 eval "DEFAULT_$LINE"
8068 else
8069 no_cache=1
8070 fi
8071
8072 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8073
8074 fi
8075
8076
8077 eval "$ac_cv_use_mdi"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8080 fi
8081
8082 if test "$wxUSE_MDI" = yes; then
8083 { echo "$as_me:$LINENO: result: yes" >&5
8084 echo "${ECHO_T}yes" >&6; }
8085 else
8086 { echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6; }
8088 fi
8089
8090
8091 enablestring=
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8094 no_cache=0
8095 # Check whether --enable-mdidoc was given.
8096 if test "${enable_mdidoc+set}" = set; then
8097 enableval=$enable_mdidoc;
8098 if test "$enableval" = yes; then
8099 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8100 else
8101 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8102 fi
8103
8104 else
8105
8106 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8107 if test "x$LINE" != x ; then
8108 eval "DEFAULT_$LINE"
8109 else
8110 no_cache=1
8111 fi
8112
8113 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8114
8115 fi
8116
8117
8118 eval "$ac_cv_use_mdidoc"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8121 fi
8122
8123 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8124 { echo "$as_me:$LINENO: result: yes" >&5
8125 echo "${ECHO_T}yes" >&6; }
8126 else
8127 { echo "$as_me:$LINENO: result: no" >&5
8128 echo "${ECHO_T}no" >&6; }
8129 fi
8130
8131
8132 enablestring=
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8135 no_cache=0
8136 # Check whether --enable-loggui was given.
8137 if test "${enable_loggui+set}" = set; then
8138 enableval=$enable_loggui;
8139 if test "$enableval" = yes; then
8140 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8141 else
8142 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8143 fi
8144
8145 else
8146
8147 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8148 if test "x$LINE" != x ; then
8149 eval "DEFAULT_$LINE"
8150 else
8151 no_cache=1
8152 fi
8153
8154 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8155
8156 fi
8157
8158
8159 eval "$ac_cv_use_loggui"
8160 if test "$no_cache" != 1; then
8161 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8162 fi
8163
8164 if test "$wxUSE_LOGGUI" = yes; then
8165 { echo "$as_me:$LINENO: result: yes" >&5
8166 echo "${ECHO_T}yes" >&6; }
8167 else
8168 { echo "$as_me:$LINENO: result: no" >&5
8169 echo "${ECHO_T}no" >&6; }
8170 fi
8171
8172
8173 enablestring=
8174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8175 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8176 no_cache=0
8177 # Check whether --enable-logwin was given.
8178 if test "${enable_logwin+set}" = set; then
8179 enableval=$enable_logwin;
8180 if test "$enableval" = yes; then
8181 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8182 else
8183 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8184 fi
8185
8186 else
8187
8188 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8191 else
8192 no_cache=1
8193 fi
8194
8195 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8196
8197 fi
8198
8199
8200 eval "$ac_cv_use_logwin"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8203 fi
8204
8205 if test "$wxUSE_LOGWINDOW" = yes; then
8206 { echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6; }
8208 else
8209 { echo "$as_me:$LINENO: result: no" >&5
8210 echo "${ECHO_T}no" >&6; }
8211 fi
8212
8213
8214 enablestring=
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8217 no_cache=0
8218 # Check whether --enable-logdialog was given.
8219 if test "${enable_logdialog+set}" = set; then
8220 enableval=$enable_logdialog;
8221 if test "$enableval" = yes; then
8222 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8223 else
8224 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8225 fi
8226
8227 else
8228
8229 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8230 if test "x$LINE" != x ; then
8231 eval "DEFAULT_$LINE"
8232 else
8233 no_cache=1
8234 fi
8235
8236 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8237
8238 fi
8239
8240
8241 eval "$ac_cv_use_logdialog"
8242 if test "$no_cache" != 1; then
8243 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8244 fi
8245
8246 if test "$wxUSE_LOGDIALOG" = yes; then
8247 { echo "$as_me:$LINENO: result: yes" >&5
8248 echo "${ECHO_T}yes" >&6; }
8249 else
8250 { echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6; }
8252 fi
8253
8254
8255 enablestring=
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8258 no_cache=0
8259 # Check whether --enable-webkit was given.
8260 if test "${enable_webkit+set}" = set; then
8261 enableval=$enable_webkit;
8262 if test "$enableval" = yes; then
8263 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8264 else
8265 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8266 fi
8267
8268 else
8269
8270 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8273 else
8274 no_cache=1
8275 fi
8276
8277 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8278
8279 fi
8280
8281
8282 eval "$ac_cv_use_webkit"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8285 fi
8286
8287 if test "$wxUSE_WEBKIT" = yes; then
8288 { echo "$as_me:$LINENO: result: yes" >&5
8289 echo "${ECHO_T}yes" >&6; }
8290 else
8291 { echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6; }
8293 fi
8294
8295
8296 enablestring=
8297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8299 no_cache=0
8300 # Check whether --enable-richtext was given.
8301 if test "${enable_richtext+set}" = set; then
8302 enableval=$enable_richtext;
8303 if test "$enableval" = yes; then
8304 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8305 else
8306 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8307 fi
8308
8309 else
8310
8311 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8314 else
8315 no_cache=1
8316 fi
8317
8318 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8319
8320 fi
8321
8322
8323 eval "$ac_cv_use_richtext"
8324 if test "$no_cache" != 1; then
8325 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8326 fi
8327
8328 if test "$wxUSE_RICHTEXT" = yes; then
8329 { echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6; }
8331 else
8332 { echo "$as_me:$LINENO: result: no" >&5
8333 echo "${ECHO_T}no" >&6; }
8334 fi
8335
8336
8337 enablestring=
8338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8339 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8340 no_cache=0
8341 # Check whether --enable-graphics_ctx was given.
8342 if test "${enable_graphics_ctx+set}" = set; then
8343 enableval=$enable_graphics_ctx;
8344 if test "$enableval" = yes; then
8345 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8346 else
8347 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8348 fi
8349
8350 else
8351
8352 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8355 else
8356 no_cache=1
8357 fi
8358
8359 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8360
8361 fi
8362
8363
8364 eval "$ac_cv_use_graphics_ctx"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8367 fi
8368
8369 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8370 { echo "$as_me:$LINENO: result: yes" >&5
8371 echo "${ECHO_T}yes" >&6; }
8372 else
8373 { echo "$as_me:$LINENO: result: no" >&5
8374 echo "${ECHO_T}no" >&6; }
8375 fi
8376
8377
8378
8379 enablestring=
8380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8382 no_cache=0
8383 # Check whether --enable-postscript was given.
8384 if test "${enable_postscript+set}" = set; then
8385 enableval=$enable_postscript;
8386 if test "$enableval" = yes; then
8387 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8388 else
8389 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8390 fi
8391
8392 else
8393
8394 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8395 if test "x$LINE" != x ; then
8396 eval "DEFAULT_$LINE"
8397 else
8398 no_cache=1
8399 fi
8400
8401 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8402
8403 fi
8404
8405
8406 eval "$ac_cv_use_postscript"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8409 fi
8410
8411 if test "$wxUSE_POSTSCRIPT" = yes; then
8412 { echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6; }
8414 else
8415 { echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6; }
8417 fi
8418
8419
8420
8421
8422
8423 enablestring=
8424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8425 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8426 no_cache=0
8427 # Check whether --enable-prologio was given.
8428 if test "${enable_prologio+set}" = set; then
8429 enableval=$enable_prologio;
8430 if test "$enableval" = yes; then
8431 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8432 else
8433 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8434 fi
8435
8436 else
8437
8438 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x ; then
8440 eval "DEFAULT_$LINE"
8441 else
8442 no_cache=1
8443 fi
8444
8445 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8446
8447 fi
8448
8449
8450 eval "$ac_cv_use_prologio"
8451 if test "$no_cache" != 1; then
8452 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8453 fi
8454
8455 if test "$wxUSE_PROLOGIO" = yes; then
8456 { echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6; }
8458 else
8459 { echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6; }
8461 fi
8462
8463
8464 enablestring=
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8467 no_cache=0
8468 # Check whether --enable-resources was given.
8469 if test "${enable_resources+set}" = set; then
8470 enableval=$enable_resources;
8471 if test "$enableval" = yes; then
8472 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8473 else
8474 ac_cv_use_resources='wxUSE_RESOURCES=no'
8475 fi
8476
8477 else
8478
8479 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x ; then
8481 eval "DEFAULT_$LINE"
8482 else
8483 no_cache=1
8484 fi
8485
8486 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8487
8488 fi
8489
8490
8491 eval "$ac_cv_use_resources"
8492 if test "$no_cache" != 1; then
8493 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8494 fi
8495
8496 if test "$wxUSE_RESOURCES" = yes; then
8497 { echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6; }
8499 else
8500 { echo "$as_me:$LINENO: result: no" >&5
8501 echo "${ECHO_T}no" >&6; }
8502 fi
8503
8504
8505
8506
8507 enablestring=
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8510 no_cache=0
8511 # Check whether --enable-clipboard was given.
8512 if test "${enable_clipboard+set}" = set; then
8513 enableval=$enable_clipboard;
8514 if test "$enableval" = yes; then
8515 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8516 else
8517 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8518 fi
8519
8520 else
8521
8522 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x ; then
8524 eval "DEFAULT_$LINE"
8525 else
8526 no_cache=1
8527 fi
8528
8529 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8530
8531 fi
8532
8533
8534 eval "$ac_cv_use_clipboard"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8537 fi
8538
8539 if test "$wxUSE_CLIPBOARD" = yes; then
8540 { echo "$as_me:$LINENO: result: yes" >&5
8541 echo "${ECHO_T}yes" >&6; }
8542 else
8543 { echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6; }
8545 fi
8546
8547
8548 enablestring=
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8551 no_cache=0
8552 # Check whether --enable-dnd was given.
8553 if test "${enable_dnd+set}" = set; then
8554 enableval=$enable_dnd;
8555 if test "$enableval" = yes; then
8556 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8557 else
8558 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8559 fi
8560
8561 else
8562
8563 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x ; then
8565 eval "DEFAULT_$LINE"
8566 else
8567 no_cache=1
8568 fi
8569
8570 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8571
8572 fi
8573
8574
8575 eval "$ac_cv_use_dnd"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8578 fi
8579
8580 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8581 { echo "$as_me:$LINENO: result: yes" >&5
8582 echo "${ECHO_T}yes" >&6; }
8583 else
8584 { echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6; }
8586 fi
8587
8588
8589 enablestring=
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8592 no_cache=0
8593 # Check whether --enable-metafile was given.
8594 if test "${enable_metafile+set}" = set; then
8595 enableval=$enable_metafile;
8596 if test "$enableval" = yes; then
8597 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8598 else
8599 ac_cv_use_metafile='wxUSE_METAFILE=no'
8600 fi
8601
8602 else
8603
8604 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8607 else
8608 no_cache=1
8609 fi
8610
8611 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8612
8613 fi
8614
8615
8616 eval "$ac_cv_use_metafile"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8619 fi
8620
8621 if test "$wxUSE_METAFILE" = yes; then
8622 { echo "$as_me:$LINENO: result: yes" >&5
8623 echo "${ECHO_T}yes" >&6; }
8624 else
8625 { echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6; }
8627 fi
8628
8629
8630
8631
8632
8633 enablestring=
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8636 no_cache=0
8637 # Check whether --enable-controls was given.
8638 if test "${enable_controls+set}" = set; then
8639 enableval=$enable_controls;
8640 if test "$enableval" = yes; then
8641 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8642 else
8643 ac_cv_use_controls='wxUSE_CONTROLS=no'
8644 fi
8645
8646 else
8647
8648 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8651 else
8652 no_cache=1
8653 fi
8654
8655 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8656
8657 fi
8658
8659
8660 eval "$ac_cv_use_controls"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8663 fi
8664
8665 if test "$wxUSE_CONTROLS" = yes; then
8666 { echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6; }
8668 else
8669 { echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6; }
8671 fi
8672
8673
8674 if test "$wxUSE_CONTROLS" = "yes"; then
8675 DEFAULT_wxUSE_ACCEL=yes
8676 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8677 DEFAULT_wxUSE_BMPBUTTON=yes
8678 DEFAULT_wxUSE_BUTTON=yes
8679 DEFAULT_wxUSE_CALCTRL=yes
8680 DEFAULT_wxUSE_CARET=yes
8681 DEFAULT_wxUSE_COMBOBOX=yes
8682 DEFAULT_wxUSE_CHECKBOX=yes
8683 DEFAULT_wxUSE_CHECKLISTBOX=yes
8684 DEFAULT_wxUSE_CHOICE=yes
8685 DEFAULT_wxUSE_CHOICEBOOK=yes
8686 DEFAULT_wxUSE_COLLPANE=yes
8687 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8688 DEFAULT_wxUSE_COMBOBOX=yes
8689 DEFAULT_wxUSE_DATEPICKCTRL=yes
8690 DEFAULT_wxUSE_DISPLAY=yes
8691 DEFAULT_wxUSE_DETECT_SM=yes
8692 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8693 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8694 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8695 DEFAULT_wxUSE_GAUGE=yes
8696 DEFAULT_wxUSE_GRID=yes
8697 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8698 DEFAULT_wxUSE_DATAVIEWCTRL=no
8699 DEFAULT_wxUSE_IMAGLIST=yes
8700 DEFAULT_wxUSE_LISTBOOK=yes
8701 DEFAULT_wxUSE_LISTBOX=yes
8702 DEFAULT_wxUSE_LISTCTRL=yes
8703 DEFAULT_wxUSE_NOTEBOOK=yes
8704 DEFAULT_wxUSE_RADIOBOX=yes
8705 DEFAULT_wxUSE_RADIOBTN=yes
8706 DEFAULT_wxUSE_SASH=yes
8707 DEFAULT_wxUSE_SCROLLBAR=yes
8708 DEFAULT_wxUSE_SEARCHCTRL=yes
8709 DEFAULT_wxUSE_SLIDER=yes
8710 DEFAULT_wxUSE_SPINBTN=yes
8711 DEFAULT_wxUSE_SPINCTRL=yes
8712 DEFAULT_wxUSE_SPLITTER=yes
8713 DEFAULT_wxUSE_STATBMP=yes
8714 DEFAULT_wxUSE_STATBOX=yes
8715 DEFAULT_wxUSE_STATLINE=yes
8716 DEFAULT_wxUSE_STATUSBAR=yes
8717 DEFAULT_wxUSE_TAB_DIALOG=yes
8718 DEFAULT_wxUSE_TOGGLEBTN=yes
8719 DEFAULT_wxUSE_TOOLBAR=yes
8720 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8721 DEFAULT_wxUSE_TOOLTIPS=yes
8722 DEFAULT_wxUSE_TREEBOOK=yes
8723 DEFAULT_wxUSE_TOOLBOOK=yes
8724 DEFAULT_wxUSE_TREECTRL=yes
8725 DEFAULT_wxUSE_POPUPWIN=yes
8726 DEFAULT_wxUSE_TIPWINDOW=yes
8727 elif test "$wxUSE_CONTROLS" = "no"; then
8728 DEFAULT_wxUSE_ACCEL=no
8729 DEFAULT_wxUSE_ANIMATIONCTRL=no
8730 DEFAULT_wxUSE_BMPBUTTON=no
8731 DEFAULT_wxUSE_BUTTON=no
8732 DEFAULT_wxUSE_CALCTRL=no
8733 DEFAULT_wxUSE_CARET=no
8734 DEFAULT_wxUSE_COLLPANE=no
8735 DEFAULT_wxUSE_COMBOBOX=no
8736 DEFAULT_wxUSE_CHECKBOX=no
8737 DEFAULT_wxUSE_CHECKLISTBOX=no
8738 DEFAULT_wxUSE_CHOICE=no
8739 DEFAULT_wxUSE_CHOICEBOOK=no
8740 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8741 DEFAULT_wxUSE_COMBOBOX=no
8742 DEFAULT_wxUSE_DATEPICKCTRL=no
8743 DEFAULT_wxUSE_DISPLAY=no
8744 DEFAULT_wxUSE_DETECT_SM=no
8745 DEFAULT_wxUSE_DIRPICKERCTRL=no
8746 DEFAULT_wxUSE_FILEPICKERCTRL=no
8747 DEFAULT_wxUSE_FONTPICKERCTRL=no
8748 DEFAULT_wxUSE_GAUGE=no
8749 DEFAULT_wxUSE_GRID=no
8750 DEFAULT_wxUSE_HYPERLINKCTRL=no
8751 DEFAULT_wxUSE_DATAVIEWCTRL=no
8752 DEFAULT_wxUSE_IMAGLIST=no
8753 DEFAULT_wxUSE_LISTBOOK=no
8754 DEFAULT_wxUSE_LISTBOX=no
8755 DEFAULT_wxUSE_LISTCTRL=no
8756 DEFAULT_wxUSE_NOTEBOOK=no
8757 DEFAULT_wxUSE_RADIOBOX=no
8758 DEFAULT_wxUSE_RADIOBTN=no
8759 DEFAULT_wxUSE_SASH=no
8760 DEFAULT_wxUSE_SCROLLBAR=no
8761 DEFAULT_wxUSE_SEARCHCTRL=no
8762 DEFAULT_wxUSE_SLIDER=no
8763 DEFAULT_wxUSE_SPINBTN=no
8764 DEFAULT_wxUSE_SPINCTRL=no
8765 DEFAULT_wxUSE_SPLITTER=no
8766 DEFAULT_wxUSE_STATBMP=no
8767 DEFAULT_wxUSE_STATBOX=no
8768 DEFAULT_wxUSE_STATLINE=no
8769 DEFAULT_wxUSE_STATUSBAR=no
8770 DEFAULT_wxUSE_TAB_DIALOG=no
8771 DEFAULT_wxUSE_TOGGLEBTN=no
8772 DEFAULT_wxUSE_TOOLBAR=no
8773 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8774 DEFAULT_wxUSE_TOOLTIPS=no
8775 DEFAULT_wxUSE_TREEBOOK=no
8776 DEFAULT_wxUSE_TOOLBOOK=no
8777 DEFAULT_wxUSE_TREECTRL=no
8778 DEFAULT_wxUSE_POPUPWIN=no
8779 DEFAULT_wxUSE_TIPWINDOW=no
8780 fi
8781
8782
8783 enablestring=
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8786 no_cache=0
8787 # Check whether --enable-accel was given.
8788 if test "${enable_accel+set}" = set; then
8789 enableval=$enable_accel;
8790 if test "$enableval" = yes; then
8791 ac_cv_use_accel='wxUSE_ACCEL=yes'
8792 else
8793 ac_cv_use_accel='wxUSE_ACCEL=no'
8794 fi
8795
8796 else
8797
8798 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8799 if test "x$LINE" != x ; then
8800 eval "DEFAULT_$LINE"
8801 else
8802 no_cache=1
8803 fi
8804
8805 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8806
8807 fi
8808
8809
8810 eval "$ac_cv_use_accel"
8811 if test "$no_cache" != 1; then
8812 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8813 fi
8814
8815 if test "$wxUSE_ACCEL" = yes; then
8816 { echo "$as_me:$LINENO: result: yes" >&5
8817 echo "${ECHO_T}yes" >&6; }
8818 else
8819 { echo "$as_me:$LINENO: result: no" >&5
8820 echo "${ECHO_T}no" >&6; }
8821 fi
8822
8823
8824 enablestring=
8825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8826 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8827 no_cache=0
8828 # Check whether --enable-animatectrl was given.
8829 if test "${enable_animatectrl+set}" = set; then
8830 enableval=$enable_animatectrl;
8831 if test "$enableval" = yes; then
8832 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8833 else
8834 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8835 fi
8836
8837 else
8838
8839 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8840 if test "x$LINE" != x ; then
8841 eval "DEFAULT_$LINE"
8842 else
8843 no_cache=1
8844 fi
8845
8846 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8847
8848 fi
8849
8850
8851 eval "$ac_cv_use_animatectrl"
8852 if test "$no_cache" != 1; then
8853 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8854 fi
8855
8856 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8857 { echo "$as_me:$LINENO: result: yes" >&5
8858 echo "${ECHO_T}yes" >&6; }
8859 else
8860 { echo "$as_me:$LINENO: result: no" >&5
8861 echo "${ECHO_T}no" >&6; }
8862 fi
8863
8864
8865 enablestring=
8866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8867 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8868 no_cache=0
8869 # Check whether --enable-button was given.
8870 if test "${enable_button+set}" = set; then
8871 enableval=$enable_button;
8872 if test "$enableval" = yes; then
8873 ac_cv_use_button='wxUSE_BUTTON=yes'
8874 else
8875 ac_cv_use_button='wxUSE_BUTTON=no'
8876 fi
8877
8878 else
8879
8880 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8881 if test "x$LINE" != x ; then
8882 eval "DEFAULT_$LINE"
8883 else
8884 no_cache=1
8885 fi
8886
8887 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8888
8889 fi
8890
8891
8892 eval "$ac_cv_use_button"
8893 if test "$no_cache" != 1; then
8894 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8895 fi
8896
8897 if test "$wxUSE_BUTTON" = yes; then
8898 { echo "$as_me:$LINENO: result: yes" >&5
8899 echo "${ECHO_T}yes" >&6; }
8900 else
8901 { echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6; }
8903 fi
8904
8905
8906 enablestring=
8907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8908 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8909 no_cache=0
8910 # Check whether --enable-bmpbutton was given.
8911 if test "${enable_bmpbutton+set}" = set; then
8912 enableval=$enable_bmpbutton;
8913 if test "$enableval" = yes; then
8914 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8915 else
8916 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8917 fi
8918
8919 else
8920
8921 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8922 if test "x$LINE" != x ; then
8923 eval "DEFAULT_$LINE"
8924 else
8925 no_cache=1
8926 fi
8927
8928 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8929
8930 fi
8931
8932
8933 eval "$ac_cv_use_bmpbutton"
8934 if test "$no_cache" != 1; then
8935 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8936 fi
8937
8938 if test "$wxUSE_BMPBUTTON" = yes; then
8939 { echo "$as_me:$LINENO: result: yes" >&5
8940 echo "${ECHO_T}yes" >&6; }
8941 else
8942 { echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6; }
8944 fi
8945
8946
8947 enablestring=
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8950 no_cache=0
8951 # Check whether --enable-bmpcombobox was given.
8952 if test "${enable_bmpcombobox+set}" = set; then
8953 enableval=$enable_bmpcombobox;
8954 if test "$enableval" = yes; then
8955 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8956 else
8957 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8958 fi
8959
8960 else
8961
8962 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8963 if test "x$LINE" != x ; then
8964 eval "DEFAULT_$LINE"
8965 else
8966 no_cache=1
8967 fi
8968
8969 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8970
8971 fi
8972
8973
8974 eval "$ac_cv_use_bmpcombobox"
8975 if test "$no_cache" != 1; then
8976 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8977 fi
8978
8979 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8980 { echo "$as_me:$LINENO: result: yes" >&5
8981 echo "${ECHO_T}yes" >&6; }
8982 else
8983 { echo "$as_me:$LINENO: result: no" >&5
8984 echo "${ECHO_T}no" >&6; }
8985 fi
8986
8987
8988 enablestring=
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8991 no_cache=0
8992 # Check whether --enable-calendar was given.
8993 if test "${enable_calendar+set}" = set; then
8994 enableval=$enable_calendar;
8995 if test "$enableval" = yes; then
8996 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8997 else
8998 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8999 fi
9000
9001 else
9002
9003 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9004 if test "x$LINE" != x ; then
9005 eval "DEFAULT_$LINE"
9006 else
9007 no_cache=1
9008 fi
9009
9010 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9011
9012 fi
9013
9014
9015 eval "$ac_cv_use_calendar"
9016 if test "$no_cache" != 1; then
9017 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9018 fi
9019
9020 if test "$wxUSE_CALCTRL" = yes; then
9021 { echo "$as_me:$LINENO: result: yes" >&5
9022 echo "${ECHO_T}yes" >&6; }
9023 else
9024 { echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6; }
9026 fi
9027
9028
9029 enablestring=
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9032 no_cache=0
9033 # Check whether --enable-caret was given.
9034 if test "${enable_caret+set}" = set; then
9035 enableval=$enable_caret;
9036 if test "$enableval" = yes; then
9037 ac_cv_use_caret='wxUSE_CARET=yes'
9038 else
9039 ac_cv_use_caret='wxUSE_CARET=no'
9040 fi
9041
9042 else
9043
9044 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9045 if test "x$LINE" != x ; then
9046 eval "DEFAULT_$LINE"
9047 else
9048 no_cache=1
9049 fi
9050
9051 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9052
9053 fi
9054
9055
9056 eval "$ac_cv_use_caret"
9057 if test "$no_cache" != 1; then
9058 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9059 fi
9060
9061 if test "$wxUSE_CARET" = yes; then
9062 { echo "$as_me:$LINENO: result: yes" >&5
9063 echo "${ECHO_T}yes" >&6; }
9064 else
9065 { echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6; }
9067 fi
9068
9069
9070 enablestring=
9071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9073 no_cache=0
9074 # Check whether --enable-checkbox was given.
9075 if test "${enable_checkbox+set}" = set; then
9076 enableval=$enable_checkbox;
9077 if test "$enableval" = yes; then
9078 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9079 else
9080 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9081 fi
9082
9083 else
9084
9085 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9086 if test "x$LINE" != x ; then
9087 eval "DEFAULT_$LINE"
9088 else
9089 no_cache=1
9090 fi
9091
9092 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9093
9094 fi
9095
9096
9097 eval "$ac_cv_use_checkbox"
9098 if test "$no_cache" != 1; then
9099 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9100 fi
9101
9102 if test "$wxUSE_CHECKBOX" = yes; then
9103 { echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6; }
9105 else
9106 { echo "$as_me:$LINENO: result: no" >&5
9107 echo "${ECHO_T}no" >&6; }
9108 fi
9109
9110
9111 enablestring=
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9114 no_cache=0
9115 # Check whether --enable-checklst was given.
9116 if test "${enable_checklst+set}" = set; then
9117 enableval=$enable_checklst;
9118 if test "$enableval" = yes; then
9119 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9120 else
9121 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9122 fi
9123
9124 else
9125
9126 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9127 if test "x$LINE" != x ; then
9128 eval "DEFAULT_$LINE"
9129 else
9130 no_cache=1
9131 fi
9132
9133 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9134
9135 fi
9136
9137
9138 eval "$ac_cv_use_checklst"
9139 if test "$no_cache" != 1; then
9140 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9141 fi
9142
9143 if test "$wxUSE_CHECKLST" = yes; then
9144 { echo "$as_me:$LINENO: result: yes" >&5
9145 echo "${ECHO_T}yes" >&6; }
9146 else
9147 { echo "$as_me:$LINENO: result: no" >&5
9148 echo "${ECHO_T}no" >&6; }
9149 fi
9150
9151
9152 enablestring=
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9155 no_cache=0
9156 # Check whether --enable-choice was given.
9157 if test "${enable_choice+set}" = set; then
9158 enableval=$enable_choice;
9159 if test "$enableval" = yes; then
9160 ac_cv_use_choice='wxUSE_CHOICE=yes'
9161 else
9162 ac_cv_use_choice='wxUSE_CHOICE=no'
9163 fi
9164
9165 else
9166
9167 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9168 if test "x$LINE" != x ; then
9169 eval "DEFAULT_$LINE"
9170 else
9171 no_cache=1
9172 fi
9173
9174 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9175
9176 fi
9177
9178
9179 eval "$ac_cv_use_choice"
9180 if test "$no_cache" != 1; then
9181 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9182 fi
9183
9184 if test "$wxUSE_CHOICE" = yes; then
9185 { echo "$as_me:$LINENO: result: yes" >&5
9186 echo "${ECHO_T}yes" >&6; }
9187 else
9188 { echo "$as_me:$LINENO: result: no" >&5
9189 echo "${ECHO_T}no" >&6; }
9190 fi
9191
9192
9193 enablestring=
9194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9196 no_cache=0
9197 # Check whether --enable-choicebook was given.
9198 if test "${enable_choicebook+set}" = set; then
9199 enableval=$enable_choicebook;
9200 if test "$enableval" = yes; then
9201 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9202 else
9203 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9204 fi
9205
9206 else
9207
9208 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9211 else
9212 no_cache=1
9213 fi
9214
9215 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9216
9217 fi
9218
9219
9220 eval "$ac_cv_use_choicebook"
9221 if test "$no_cache" != 1; then
9222 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9223 fi
9224
9225 if test "$wxUSE_CHOICEBOOK" = yes; then
9226 { echo "$as_me:$LINENO: result: yes" >&5
9227 echo "${ECHO_T}yes" >&6; }
9228 else
9229 { echo "$as_me:$LINENO: result: no" >&5
9230 echo "${ECHO_T}no" >&6; }
9231 fi
9232
9233
9234 enablestring=
9235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9237 no_cache=0
9238 # Check whether --enable-collpane was given.
9239 if test "${enable_collpane+set}" = set; then
9240 enableval=$enable_collpane;
9241 if test "$enableval" = yes; then
9242 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9243 else
9244 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9245 fi
9246
9247 else
9248
9249 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9250 if test "x$LINE" != x ; then
9251 eval "DEFAULT_$LINE"
9252 else
9253 no_cache=1
9254 fi
9255
9256 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9257
9258 fi
9259
9260
9261 eval "$ac_cv_use_collpane"
9262 if test "$no_cache" != 1; then
9263 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9264 fi
9265
9266 if test "$wxUSE_COLLPANE" = yes; then
9267 { echo "$as_me:$LINENO: result: yes" >&5
9268 echo "${ECHO_T}yes" >&6; }
9269 else
9270 { echo "$as_me:$LINENO: result: no" >&5
9271 echo "${ECHO_T}no" >&6; }
9272 fi
9273
9274
9275 enablestring=
9276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9278 no_cache=0
9279 # Check whether --enable-colourpicker was given.
9280 if test "${enable_colourpicker+set}" = set; then
9281 enableval=$enable_colourpicker;
9282 if test "$enableval" = yes; then
9283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9284 else
9285 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9286 fi
9287
9288 else
9289
9290 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9291 if test "x$LINE" != x ; then
9292 eval "DEFAULT_$LINE"
9293 else
9294 no_cache=1
9295 fi
9296
9297 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9298
9299 fi
9300
9301
9302 eval "$ac_cv_use_colourpicker"
9303 if test "$no_cache" != 1; then
9304 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9305 fi
9306
9307 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9308 { echo "$as_me:$LINENO: result: yes" >&5
9309 echo "${ECHO_T}yes" >&6; }
9310 else
9311 { echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6; }
9313 fi
9314
9315
9316 enablestring=
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9319 no_cache=0
9320 # Check whether --enable-combobox was given.
9321 if test "${enable_combobox+set}" = set; then
9322 enableval=$enable_combobox;
9323 if test "$enableval" = yes; then
9324 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9325 else
9326 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9327 fi
9328
9329 else
9330
9331 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9334 else
9335 no_cache=1
9336 fi
9337
9338 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9339
9340 fi
9341
9342
9343 eval "$ac_cv_use_combobox"
9344 if test "$no_cache" != 1; then
9345 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9346 fi
9347
9348 if test "$wxUSE_COMBOBOX" = yes; then
9349 { echo "$as_me:$LINENO: result: yes" >&5
9350 echo "${ECHO_T}yes" >&6; }
9351 else
9352 { echo "$as_me:$LINENO: result: no" >&5
9353 echo "${ECHO_T}no" >&6; }
9354 fi
9355
9356
9357 enablestring=
9358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9359 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9360 no_cache=0
9361 # Check whether --enable-comboctrl was given.
9362 if test "${enable_comboctrl+set}" = set; then
9363 enableval=$enable_comboctrl;
9364 if test "$enableval" = yes; then
9365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9366 else
9367 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9368 fi
9369
9370 else
9371
9372 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9373 if test "x$LINE" != x ; then
9374 eval "DEFAULT_$LINE"
9375 else
9376 no_cache=1
9377 fi
9378
9379 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9380
9381 fi
9382
9383
9384 eval "$ac_cv_use_comboctrl"
9385 if test "$no_cache" != 1; then
9386 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9387 fi
9388
9389 if test "$wxUSE_COMBOCTRL" = yes; then
9390 { echo "$as_me:$LINENO: result: yes" >&5
9391 echo "${ECHO_T}yes" >&6; }
9392 else
9393 { echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6; }
9395 fi
9396
9397
9398 enablestring=
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9401 no_cache=0
9402 # Check whether --enable-datepick was given.
9403 if test "${enable_datepick+set}" = set; then
9404 enableval=$enable_datepick;
9405 if test "$enableval" = yes; then
9406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9407 else
9408 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9409 fi
9410
9411 else
9412
9413 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9414 if test "x$LINE" != x ; then
9415 eval "DEFAULT_$LINE"
9416 else
9417 no_cache=1
9418 fi
9419
9420 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9421
9422 fi
9423
9424
9425 eval "$ac_cv_use_datepick"
9426 if test "$no_cache" != 1; then
9427 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9428 fi
9429
9430 if test "$wxUSE_DATEPICKCTRL" = yes; then
9431 { echo "$as_me:$LINENO: result: yes" >&5
9432 echo "${ECHO_T}yes" >&6; }
9433 else
9434 { echo "$as_me:$LINENO: result: no" >&5
9435 echo "${ECHO_T}no" >&6; }
9436 fi
9437
9438
9439 enablestring=
9440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9442 no_cache=0
9443 # Check whether --enable-dirpicker was given.
9444 if test "${enable_dirpicker+set}" = set; then
9445 enableval=$enable_dirpicker;
9446 if test "$enableval" = yes; then
9447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9448 else
9449 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9450 fi
9451
9452 else
9453
9454 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9457 else
9458 no_cache=1
9459 fi
9460
9461 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9462
9463 fi
9464
9465
9466 eval "$ac_cv_use_dirpicker"
9467 if test "$no_cache" != 1; then
9468 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9469 fi
9470
9471 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9472 { echo "$as_me:$LINENO: result: yes" >&5
9473 echo "${ECHO_T}yes" >&6; }
9474 else
9475 { echo "$as_me:$LINENO: result: no" >&5
9476 echo "${ECHO_T}no" >&6; }
9477 fi
9478
9479
9480 enablestring=
9481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9483 no_cache=0
9484 # Check whether --enable-display was given.
9485 if test "${enable_display+set}" = set; then
9486 enableval=$enable_display;
9487 if test "$enableval" = yes; then
9488 ac_cv_use_display='wxUSE_DISPLAY=yes'
9489 else
9490 ac_cv_use_display='wxUSE_DISPLAY=no'
9491 fi
9492
9493 else
9494
9495 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9496 if test "x$LINE" != x ; then
9497 eval "DEFAULT_$LINE"
9498 else
9499 no_cache=1
9500 fi
9501
9502 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9503
9504 fi
9505
9506
9507 eval "$ac_cv_use_display"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9510 fi
9511
9512 if test "$wxUSE_DISPLAY" = yes; then
9513 { echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6; }
9515 else
9516 { echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6; }
9518 fi
9519
9520
9521 enablestring=
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9524 no_cache=0
9525 # Check whether --enable-detect_sm was given.
9526 if test "${enable_detect_sm+set}" = set; then
9527 enableval=$enable_detect_sm;
9528 if test "$enableval" = yes; then
9529 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9530 else
9531 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9532 fi
9533
9534 else
9535
9536 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9537 if test "x$LINE" != x ; then
9538 eval "DEFAULT_$LINE"
9539 else
9540 no_cache=1
9541 fi
9542
9543 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9544
9545 fi
9546
9547
9548 eval "$ac_cv_use_detect_sm"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9551 fi
9552
9553 if test "$wxUSE_DETECT_SM" = yes; then
9554 { echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6; }
9556 else
9557 { echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6; }
9559 fi
9560
9561
9562 enablestring=
9563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9565 no_cache=0
9566 # Check whether --enable-filepicker was given.
9567 if test "${enable_filepicker+set}" = set; then
9568 enableval=$enable_filepicker;
9569 if test "$enableval" = yes; then
9570 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9571 else
9572 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9573 fi
9574
9575 else
9576
9577 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9578 if test "x$LINE" != x ; then
9579 eval "DEFAULT_$LINE"
9580 else
9581 no_cache=1
9582 fi
9583
9584 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9585
9586 fi
9587
9588
9589 eval "$ac_cv_use_filepicker"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9592 fi
9593
9594 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9595 { echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6; }
9597 else
9598 { echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6; }
9600 fi
9601
9602
9603 enablestring=
9604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9606 no_cache=0
9607 # Check whether --enable-fontpicker was given.
9608 if test "${enable_fontpicker+set}" = set; then
9609 enableval=$enable_fontpicker;
9610 if test "$enableval" = yes; then
9611 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9612 else
9613 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9614 fi
9615
9616 else
9617
9618 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9619 if test "x$LINE" != x ; then
9620 eval "DEFAULT_$LINE"
9621 else
9622 no_cache=1
9623 fi
9624
9625 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9626
9627 fi
9628
9629
9630 eval "$ac_cv_use_fontpicker"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9633 fi
9634
9635 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9636 { echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6; }
9638 else
9639 { echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6; }
9641 fi
9642
9643
9644 enablestring=
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9647 no_cache=0
9648 # Check whether --enable-gauge was given.
9649 if test "${enable_gauge+set}" = set; then
9650 enableval=$enable_gauge;
9651 if test "$enableval" = yes; then
9652 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9653 else
9654 ac_cv_use_gauge='wxUSE_GAUGE=no'
9655 fi
9656
9657 else
9658
9659 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9660 if test "x$LINE" != x ; then
9661 eval "DEFAULT_$LINE"
9662 else
9663 no_cache=1
9664 fi
9665
9666 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9667
9668 fi
9669
9670
9671 eval "$ac_cv_use_gauge"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9674 fi
9675
9676 if test "$wxUSE_GAUGE" = yes; then
9677 { echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6; }
9679 else
9680 { echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6; }
9682 fi
9683
9684
9685 enablestring=
9686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9688 no_cache=0
9689 # Check whether --enable-grid was given.
9690 if test "${enable_grid+set}" = set; then
9691 enableval=$enable_grid;
9692 if test "$enableval" = yes; then
9693 ac_cv_use_grid='wxUSE_GRID=yes'
9694 else
9695 ac_cv_use_grid='wxUSE_GRID=no'
9696 fi
9697
9698 else
9699
9700 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9701 if test "x$LINE" != x ; then
9702 eval "DEFAULT_$LINE"
9703 else
9704 no_cache=1
9705 fi
9706
9707 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9708
9709 fi
9710
9711
9712 eval "$ac_cv_use_grid"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9715 fi
9716
9717 if test "$wxUSE_GRID" = yes; then
9718 { echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6; }
9720 else
9721 { echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6; }
9723 fi
9724
9725
9726 enablestring=
9727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9729 no_cache=0
9730 # Check whether --enable-dataviewctrl was given.
9731 if test "${enable_dataviewctrl+set}" = set; then
9732 enableval=$enable_dataviewctrl;
9733 if test "$enableval" = yes; then
9734 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9735 else
9736 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9737 fi
9738
9739 else
9740
9741 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x ; then
9743 eval "DEFAULT_$LINE"
9744 else
9745 no_cache=1
9746 fi
9747
9748 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9749
9750 fi
9751
9752
9753 eval "$ac_cv_use_dataviewctrl"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9756 fi
9757
9758 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9759 { echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6; }
9761 else
9762 { echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6; }
9764 fi
9765
9766
9767 enablestring=
9768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9770 no_cache=0
9771 # Check whether --enable-hyperlink was given.
9772 if test "${enable_hyperlink+set}" = set; then
9773 enableval=$enable_hyperlink;
9774 if test "$enableval" = yes; then
9775 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9776 else
9777 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9778 fi
9779
9780 else
9781
9782 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x ; then
9784 eval "DEFAULT_$LINE"
9785 else
9786 no_cache=1
9787 fi
9788
9789 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9790
9791 fi
9792
9793
9794 eval "$ac_cv_use_hyperlink"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9797 fi
9798
9799 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9800 { echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6; }
9802 else
9803 { echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6; }
9805 fi
9806
9807
9808 enablestring=
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9811 no_cache=0
9812 # Check whether --enable-imaglist was given.
9813 if test "${enable_imaglist+set}" = set; then
9814 enableval=$enable_imaglist;
9815 if test "$enableval" = yes; then
9816 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9817 else
9818 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9819 fi
9820
9821 else
9822
9823 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x ; then
9825 eval "DEFAULT_$LINE"
9826 else
9827 no_cache=1
9828 fi
9829
9830 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9831
9832 fi
9833
9834
9835 eval "$ac_cv_use_imaglist"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9838 fi
9839
9840 if test "$wxUSE_IMAGLIST" = yes; then
9841 { echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6; }
9843 else
9844 { echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6; }
9846 fi
9847
9848
9849 enablestring=
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9852 no_cache=0
9853 # Check whether --enable-listbook was given.
9854 if test "${enable_listbook+set}" = set; then
9855 enableval=$enable_listbook;
9856 if test "$enableval" = yes; then
9857 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9858 else
9859 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9860 fi
9861
9862 else
9863
9864 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x ; then
9866 eval "DEFAULT_$LINE"
9867 else
9868 no_cache=1
9869 fi
9870
9871 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9872
9873 fi
9874
9875
9876 eval "$ac_cv_use_listbook"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9879 fi
9880
9881 if test "$wxUSE_LISTBOOK" = yes; then
9882 { echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6; }
9884 else
9885 { echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6; }
9887 fi
9888
9889
9890 enablestring=
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9893 no_cache=0
9894 # Check whether --enable-listbox was given.
9895 if test "${enable_listbox+set}" = set; then
9896 enableval=$enable_listbox;
9897 if test "$enableval" = yes; then
9898 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9899 else
9900 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9901 fi
9902
9903 else
9904
9905 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x ; then
9907 eval "DEFAULT_$LINE"
9908 else
9909 no_cache=1
9910 fi
9911
9912 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9913
9914 fi
9915
9916
9917 eval "$ac_cv_use_listbox"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9920 fi
9921
9922 if test "$wxUSE_LISTBOX" = yes; then
9923 { echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6; }
9925 else
9926 { echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6; }
9928 fi
9929
9930
9931 enablestring=
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9934 no_cache=0
9935 # Check whether --enable-listctrl was given.
9936 if test "${enable_listctrl+set}" = set; then
9937 enableval=$enable_listctrl;
9938 if test "$enableval" = yes; then
9939 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9940 else
9941 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9942 fi
9943
9944 else
9945
9946 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x ; then
9948 eval "DEFAULT_$LINE"
9949 else
9950 no_cache=1
9951 fi
9952
9953 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9954
9955 fi
9956
9957
9958 eval "$ac_cv_use_listctrl"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9961 fi
9962
9963 if test "$wxUSE_LISTCTRL" = yes; then
9964 { echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6; }
9966 else
9967 { echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6; }
9969 fi
9970
9971
9972 enablestring=
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9975 no_cache=0
9976 # Check whether --enable-notebook was given.
9977 if test "${enable_notebook+set}" = set; then
9978 enableval=$enable_notebook;
9979 if test "$enableval" = yes; then
9980 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9981 else
9982 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9983 fi
9984
9985 else
9986
9987 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x ; then
9989 eval "DEFAULT_$LINE"
9990 else
9991 no_cache=1
9992 fi
9993
9994 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9995
9996 fi
9997
9998
9999 eval "$ac_cv_use_notebook"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10002 fi
10003
10004 if test "$wxUSE_NOTEBOOK" = yes; then
10005 { echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6; }
10007 else
10008 { echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6; }
10010 fi
10011
10012
10013 enablestring=
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10016 no_cache=0
10017 # Check whether --enable-odcombobox was given.
10018 if test "${enable_odcombobox+set}" = set; then
10019 enableval=$enable_odcombobox;
10020 if test "$enableval" = yes; then
10021 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10022 else
10023 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10024 fi
10025
10026 else
10027
10028 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10031 else
10032 no_cache=1
10033 fi
10034
10035 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10036
10037 fi
10038
10039
10040 eval "$ac_cv_use_odcombobox"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10043 fi
10044
10045 if test "$wxUSE_ODCOMBOBOX" = yes; then
10046 { echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6; }
10048 else
10049 { echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6; }
10051 fi
10052
10053
10054 enablestring=
10055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10057 no_cache=0
10058 # Check whether --enable-radiobox was given.
10059 if test "${enable_radiobox+set}" = set; then
10060 enableval=$enable_radiobox;
10061 if test "$enableval" = yes; then
10062 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10063 else
10064 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10065 fi
10066
10067 else
10068
10069 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10072 else
10073 no_cache=1
10074 fi
10075
10076 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10077
10078 fi
10079
10080
10081 eval "$ac_cv_use_radiobox"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10084 fi
10085
10086 if test "$wxUSE_RADIOBOX" = yes; then
10087 { echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6; }
10089 else
10090 { echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6; }
10092 fi
10093
10094
10095 enablestring=
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10098 no_cache=0
10099 # Check whether --enable-radiobtn was given.
10100 if test "${enable_radiobtn+set}" = set; then
10101 enableval=$enable_radiobtn;
10102 if test "$enableval" = yes; then
10103 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10104 else
10105 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10106 fi
10107
10108 else
10109
10110 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10113 else
10114 no_cache=1
10115 fi
10116
10117 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10118
10119 fi
10120
10121
10122 eval "$ac_cv_use_radiobtn"
10123 if test "$no_cache" != 1; then
10124 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10125 fi
10126
10127 if test "$wxUSE_RADIOBTN" = yes; then
10128 { echo "$as_me:$LINENO: result: yes" >&5
10129 echo "${ECHO_T}yes" >&6; }
10130 else
10131 { echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6; }
10133 fi
10134
10135
10136 enablestring=
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10139 no_cache=0
10140 # Check whether --enable-sash was given.
10141 if test "${enable_sash+set}" = set; then
10142 enableval=$enable_sash;
10143 if test "$enableval" = yes; then
10144 ac_cv_use_sash='wxUSE_SASH=yes'
10145 else
10146 ac_cv_use_sash='wxUSE_SASH=no'
10147 fi
10148
10149 else
10150
10151 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10154 else
10155 no_cache=1
10156 fi
10157
10158 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10159
10160 fi
10161
10162
10163 eval "$ac_cv_use_sash"
10164 if test "$no_cache" != 1; then
10165 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10166 fi
10167
10168 if test "$wxUSE_SASH" = yes; then
10169 { echo "$as_me:$LINENO: result: yes" >&5
10170 echo "${ECHO_T}yes" >&6; }
10171 else
10172 { echo "$as_me:$LINENO: result: no" >&5
10173 echo "${ECHO_T}no" >&6; }
10174 fi
10175
10176
10177 enablestring=
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10180 no_cache=0
10181 # Check whether --enable-scrollbar was given.
10182 if test "${enable_scrollbar+set}" = set; then
10183 enableval=$enable_scrollbar;
10184 if test "$enableval" = yes; then
10185 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10186 else
10187 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10188 fi
10189
10190 else
10191
10192 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10195 else
10196 no_cache=1
10197 fi
10198
10199 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10200
10201 fi
10202
10203
10204 eval "$ac_cv_use_scrollbar"
10205 if test "$no_cache" != 1; then
10206 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10207 fi
10208
10209 if test "$wxUSE_SCROLLBAR" = yes; then
10210 { echo "$as_me:$LINENO: result: yes" >&5
10211 echo "${ECHO_T}yes" >&6; }
10212 else
10213 { echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6; }
10215 fi
10216
10217
10218 enablestring=
10219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10220 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10221 no_cache=0
10222 # Check whether --enable-searchctrl was given.
10223 if test "${enable_searchctrl+set}" = set; then
10224 enableval=$enable_searchctrl;
10225 if test "$enableval" = yes; then
10226 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10227 else
10228 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10229 fi
10230
10231 else
10232
10233 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10236 else
10237 no_cache=1
10238 fi
10239
10240 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10241
10242 fi
10243
10244
10245 eval "$ac_cv_use_searchctrl"
10246 if test "$no_cache" != 1; then
10247 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10248 fi
10249
10250 if test "$wxUSE_SEARCHCTRL" = yes; then
10251 { echo "$as_me:$LINENO: result: yes" >&5
10252 echo "${ECHO_T}yes" >&6; }
10253 else
10254 { echo "$as_me:$LINENO: result: no" >&5
10255 echo "${ECHO_T}no" >&6; }
10256 fi
10257
10258
10259 enablestring=
10260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10261 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10262 no_cache=0
10263 # Check whether --enable-slider was given.
10264 if test "${enable_slider+set}" = set; then
10265 enableval=$enable_slider;
10266 if test "$enableval" = yes; then
10267 ac_cv_use_slider='wxUSE_SLIDER=yes'
10268 else
10269 ac_cv_use_slider='wxUSE_SLIDER=no'
10270 fi
10271
10272 else
10273
10274 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10277 else
10278 no_cache=1
10279 fi
10280
10281 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10282
10283 fi
10284
10285
10286 eval "$ac_cv_use_slider"
10287 if test "$no_cache" != 1; then
10288 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10289 fi
10290
10291 if test "$wxUSE_SLIDER" = yes; then
10292 { echo "$as_me:$LINENO: result: yes" >&5
10293 echo "${ECHO_T}yes" >&6; }
10294 else
10295 { echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6; }
10297 fi
10298
10299
10300 enablestring=
10301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10302 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10303 no_cache=0
10304 # Check whether --enable-spinbtn was given.
10305 if test "${enable_spinbtn+set}" = set; then
10306 enableval=$enable_spinbtn;
10307 if test "$enableval" = yes; then
10308 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10309 else
10310 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10311 fi
10312
10313 else
10314
10315 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10318 else
10319 no_cache=1
10320 fi
10321
10322 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10323
10324 fi
10325
10326
10327 eval "$ac_cv_use_spinbtn"
10328 if test "$no_cache" != 1; then
10329 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10330 fi
10331
10332 if test "$wxUSE_SPINBTN" = yes; then
10333 { echo "$as_me:$LINENO: result: yes" >&5
10334 echo "${ECHO_T}yes" >&6; }
10335 else
10336 { echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6; }
10338 fi
10339
10340
10341 enablestring=
10342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10343 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10344 no_cache=0
10345 # Check whether --enable-spinctrl was given.
10346 if test "${enable_spinctrl+set}" = set; then
10347 enableval=$enable_spinctrl;
10348 if test "$enableval" = yes; then
10349 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10350 else
10351 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10352 fi
10353
10354 else
10355
10356 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10359 else
10360 no_cache=1
10361 fi
10362
10363 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10364
10365 fi
10366
10367
10368 eval "$ac_cv_use_spinctrl"
10369 if test "$no_cache" != 1; then
10370 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10371 fi
10372
10373 if test "$wxUSE_SPINCTRL" = yes; then
10374 { echo "$as_me:$LINENO: result: yes" >&5
10375 echo "${ECHO_T}yes" >&6; }
10376 else
10377 { echo "$as_me:$LINENO: result: no" >&5
10378 echo "${ECHO_T}no" >&6; }
10379 fi
10380
10381
10382 enablestring=
10383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10384 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10385 no_cache=0
10386 # Check whether --enable-splitter was given.
10387 if test "${enable_splitter+set}" = set; then
10388 enableval=$enable_splitter;
10389 if test "$enableval" = yes; then
10390 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10391 else
10392 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10393 fi
10394
10395 else
10396
10397 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10400 else
10401 no_cache=1
10402 fi
10403
10404 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10405
10406 fi
10407
10408
10409 eval "$ac_cv_use_splitter"
10410 if test "$no_cache" != 1; then
10411 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10412 fi
10413
10414 if test "$wxUSE_SPLITTER" = yes; then
10415 { echo "$as_me:$LINENO: result: yes" >&5
10416 echo "${ECHO_T}yes" >&6; }
10417 else
10418 { echo "$as_me:$LINENO: result: no" >&5
10419 echo "${ECHO_T}no" >&6; }
10420 fi
10421
10422
10423 enablestring=
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10426 no_cache=0
10427 # Check whether --enable-statbmp was given.
10428 if test "${enable_statbmp+set}" = set; then
10429 enableval=$enable_statbmp;
10430 if test "$enableval" = yes; then
10431 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10432 else
10433 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10434 fi
10435
10436 else
10437
10438 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10441 else
10442 no_cache=1
10443 fi
10444
10445 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10446
10447 fi
10448
10449
10450 eval "$ac_cv_use_statbmp"
10451 if test "$no_cache" != 1; then
10452 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10453 fi
10454
10455 if test "$wxUSE_STATBMP" = yes; then
10456 { echo "$as_me:$LINENO: result: yes" >&5
10457 echo "${ECHO_T}yes" >&6; }
10458 else
10459 { echo "$as_me:$LINENO: result: no" >&5
10460 echo "${ECHO_T}no" >&6; }
10461 fi
10462
10463
10464 enablestring=
10465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10466 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10467 no_cache=0
10468 # Check whether --enable-statbox was given.
10469 if test "${enable_statbox+set}" = set; then
10470 enableval=$enable_statbox;
10471 if test "$enableval" = yes; then
10472 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10473 else
10474 ac_cv_use_statbox='wxUSE_STATBOX=no'
10475 fi
10476
10477 else
10478
10479 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10480 if test "x$LINE" != x ; then
10481 eval "DEFAULT_$LINE"
10482 else
10483 no_cache=1
10484 fi
10485
10486 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10487
10488 fi
10489
10490
10491 eval "$ac_cv_use_statbox"
10492 if test "$no_cache" != 1; then
10493 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10494 fi
10495
10496 if test "$wxUSE_STATBOX" = yes; then
10497 { echo "$as_me:$LINENO: result: yes" >&5
10498 echo "${ECHO_T}yes" >&6; }
10499 else
10500 { echo "$as_me:$LINENO: result: no" >&5
10501 echo "${ECHO_T}no" >&6; }
10502 fi
10503
10504
10505 enablestring=
10506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10507 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10508 no_cache=0
10509 # Check whether --enable-statline was given.
10510 if test "${enable_statline+set}" = set; then
10511 enableval=$enable_statline;
10512 if test "$enableval" = yes; then
10513 ac_cv_use_statline='wxUSE_STATLINE=yes'
10514 else
10515 ac_cv_use_statline='wxUSE_STATLINE=no'
10516 fi
10517
10518 else
10519
10520 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10521 if test "x$LINE" != x ; then
10522 eval "DEFAULT_$LINE"
10523 else
10524 no_cache=1
10525 fi
10526
10527 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10528
10529 fi
10530
10531
10532 eval "$ac_cv_use_statline"
10533 if test "$no_cache" != 1; then
10534 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10535 fi
10536
10537 if test "$wxUSE_STATLINE" = yes; then
10538 { echo "$as_me:$LINENO: result: yes" >&5
10539 echo "${ECHO_T}yes" >&6; }
10540 else
10541 { echo "$as_me:$LINENO: result: no" >&5
10542 echo "${ECHO_T}no" >&6; }
10543 fi
10544
10545
10546 enablestring=
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10549 no_cache=0
10550 # Check whether --enable-stattext was given.
10551 if test "${enable_stattext+set}" = set; then
10552 enableval=$enable_stattext;
10553 if test "$enableval" = yes; then
10554 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10555 else
10556 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10557 fi
10558
10559 else
10560
10561 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10562 if test "x$LINE" != x ; then
10563 eval "DEFAULT_$LINE"
10564 else
10565 no_cache=1
10566 fi
10567
10568 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10569
10570 fi
10571
10572
10573 eval "$ac_cv_use_stattext"
10574 if test "$no_cache" != 1; then
10575 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10576 fi
10577
10578 if test "$wxUSE_STATTEXT" = yes; then
10579 { echo "$as_me:$LINENO: result: yes" >&5
10580 echo "${ECHO_T}yes" >&6; }
10581 else
10582 { echo "$as_me:$LINENO: result: no" >&5
10583 echo "${ECHO_T}no" >&6; }
10584 fi
10585
10586
10587 enablestring=
10588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10589 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10590 no_cache=0
10591 # Check whether --enable-statusbar was given.
10592 if test "${enable_statusbar+set}" = set; then
10593 enableval=$enable_statusbar;
10594 if test "$enableval" = yes; then
10595 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10596 else
10597 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10598 fi
10599
10600 else
10601
10602 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10603 if test "x$LINE" != x ; then
10604 eval "DEFAULT_$LINE"
10605 else
10606 no_cache=1
10607 fi
10608
10609 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10610
10611 fi
10612
10613
10614 eval "$ac_cv_use_statusbar"
10615 if test "$no_cache" != 1; then
10616 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10617 fi
10618
10619 if test "$wxUSE_STATUSBAR" = yes; then
10620 { echo "$as_me:$LINENO: result: yes" >&5
10621 echo "${ECHO_T}yes" >&6; }
10622 else
10623 { echo "$as_me:$LINENO: result: no" >&5
10624 echo "${ECHO_T}no" >&6; }
10625 fi
10626
10627
10628 enablestring=
10629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10630 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10631 no_cache=0
10632 # Check whether --enable-tabdialog was given.
10633 if test "${enable_tabdialog+set}" = set; then
10634 enableval=$enable_tabdialog;
10635 if test "$enableval" = yes; then
10636 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10637 else
10638 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10639 fi
10640
10641 else
10642
10643 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10644 if test "x$LINE" != x ; then
10645 eval "DEFAULT_$LINE"
10646 else
10647 no_cache=1
10648 fi
10649
10650 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10651
10652 fi
10653
10654
10655 eval "$ac_cv_use_tabdialog"
10656 if test "$no_cache" != 1; then
10657 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10658 fi
10659
10660 if test "$wxUSE_TAB_DIALOG" = yes; then
10661 { echo "$as_me:$LINENO: result: yes" >&5
10662 echo "${ECHO_T}yes" >&6; }
10663 else
10664 { echo "$as_me:$LINENO: result: no" >&5
10665 echo "${ECHO_T}no" >&6; }
10666 fi
10667
10668
10669 enablestring=
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10672 no_cache=0
10673 # Check whether --enable-textctrl was given.
10674 if test "${enable_textctrl+set}" = set; then
10675 enableval=$enable_textctrl;
10676 if test "$enableval" = yes; then
10677 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10678 else
10679 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10680 fi
10681
10682 else
10683
10684 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10687 else
10688 no_cache=1
10689 fi
10690
10691 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10692
10693 fi
10694
10695
10696 eval "$ac_cv_use_textctrl"
10697 if test "$no_cache" != 1; then
10698 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10699 fi
10700
10701 if test "$wxUSE_TEXTCTRL" = yes; then
10702 { echo "$as_me:$LINENO: result: yes" >&5
10703 echo "${ECHO_T}yes" >&6; }
10704 else
10705 { echo "$as_me:$LINENO: result: no" >&5
10706 echo "${ECHO_T}no" >&6; }
10707 fi
10708
10709
10710 enablestring=
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10713 no_cache=0
10714 # Check whether --enable-togglebtn was given.
10715 if test "${enable_togglebtn+set}" = set; then
10716 enableval=$enable_togglebtn;
10717 if test "$enableval" = yes; then
10718 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10719 else
10720 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10721 fi
10722
10723 else
10724
10725 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10726 if test "x$LINE" != x ; then
10727 eval "DEFAULT_$LINE"
10728 else
10729 no_cache=1
10730 fi
10731
10732 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10733
10734 fi
10735
10736
10737 eval "$ac_cv_use_togglebtn"
10738 if test "$no_cache" != 1; then
10739 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10740 fi
10741
10742 if test "$wxUSE_TOGGLEBTN" = yes; then
10743 { echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6; }
10745 else
10746 { echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6; }
10748 fi
10749
10750
10751 enablestring=
10752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10754 no_cache=0
10755 # Check whether --enable-toolbar was given.
10756 if test "${enable_toolbar+set}" = set; then
10757 enableval=$enable_toolbar;
10758 if test "$enableval" = yes; then
10759 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10760 else
10761 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10762 fi
10763
10764 else
10765
10766 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10767 if test "x$LINE" != x ; then
10768 eval "DEFAULT_$LINE"
10769 else
10770 no_cache=1
10771 fi
10772
10773 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10774
10775 fi
10776
10777
10778 eval "$ac_cv_use_toolbar"
10779 if test "$no_cache" != 1; then
10780 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10781 fi
10782
10783 if test "$wxUSE_TOOLBAR" = yes; then
10784 { echo "$as_me:$LINENO: result: yes" >&5
10785 echo "${ECHO_T}yes" >&6; }
10786 else
10787 { echo "$as_me:$LINENO: result: no" >&5
10788 echo "${ECHO_T}no" >&6; }
10789 fi
10790
10791
10792 enablestring=
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10795 no_cache=0
10796 # Check whether --enable-tbarnative was given.
10797 if test "${enable_tbarnative+set}" = set; then
10798 enableval=$enable_tbarnative;
10799 if test "$enableval" = yes; then
10800 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10801 else
10802 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10803 fi
10804
10805 else
10806
10807 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10808 if test "x$LINE" != x ; then
10809 eval "DEFAULT_$LINE"
10810 else
10811 no_cache=1
10812 fi
10813
10814 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10815
10816 fi
10817
10818
10819 eval "$ac_cv_use_tbarnative"
10820 if test "$no_cache" != 1; then
10821 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10822 fi
10823
10824 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10825 { echo "$as_me:$LINENO: result: yes" >&5
10826 echo "${ECHO_T}yes" >&6; }
10827 else
10828 { echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6; }
10830 fi
10831
10832
10833 enablestring=
10834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10835 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10836 no_cache=0
10837 # Check whether --enable-treebook was given.
10838 if test "${enable_treebook+set}" = set; then
10839 enableval=$enable_treebook;
10840 if test "$enableval" = yes; then
10841 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10842 else
10843 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10844 fi
10845
10846 else
10847
10848 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10849 if test "x$LINE" != x ; then
10850 eval "DEFAULT_$LINE"
10851 else
10852 no_cache=1
10853 fi
10854
10855 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10856
10857 fi
10858
10859
10860 eval "$ac_cv_use_treebook"
10861 if test "$no_cache" != 1; then
10862 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10863 fi
10864
10865 if test "$wxUSE_TREEBOOK" = yes; then
10866 { echo "$as_me:$LINENO: result: yes" >&5
10867 echo "${ECHO_T}yes" >&6; }
10868 else
10869 { echo "$as_me:$LINENO: result: no" >&5
10870 echo "${ECHO_T}no" >&6; }
10871 fi
10872
10873
10874 enablestring=
10875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10876 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10877 no_cache=0
10878 # Check whether --enable-toolbook was given.
10879 if test "${enable_toolbook+set}" = set; then
10880 enableval=$enable_toolbook;
10881 if test "$enableval" = yes; then
10882 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10883 else
10884 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10885 fi
10886
10887 else
10888
10889 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10890 if test "x$LINE" != x ; then
10891 eval "DEFAULT_$LINE"
10892 else
10893 no_cache=1
10894 fi
10895
10896 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10897
10898 fi
10899
10900
10901 eval "$ac_cv_use_toolbook"
10902 if test "$no_cache" != 1; then
10903 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10904 fi
10905
10906 if test "$wxUSE_TOOLBOOK" = yes; then
10907 { echo "$as_me:$LINENO: result: yes" >&5
10908 echo "${ECHO_T}yes" >&6; }
10909 else
10910 { echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6; }
10912 fi
10913
10914
10915 enablestring=
10916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10917 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10918 no_cache=0
10919 # Check whether --enable-treectrl was given.
10920 if test "${enable_treectrl+set}" = set; then
10921 enableval=$enable_treectrl;
10922 if test "$enableval" = yes; then
10923 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10924 else
10925 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10926 fi
10927
10928 else
10929
10930 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10931 if test "x$LINE" != x ; then
10932 eval "DEFAULT_$LINE"
10933 else
10934 no_cache=1
10935 fi
10936
10937 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10938
10939 fi
10940
10941
10942 eval "$ac_cv_use_treectrl"
10943 if test "$no_cache" != 1; then
10944 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10945 fi
10946
10947 if test "$wxUSE_TREECTRL" = yes; then
10948 { echo "$as_me:$LINENO: result: yes" >&5
10949 echo "${ECHO_T}yes" >&6; }
10950 else
10951 { echo "$as_me:$LINENO: result: no" >&5
10952 echo "${ECHO_T}no" >&6; }
10953 fi
10954
10955
10956 enablestring=
10957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10958 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10959 no_cache=0
10960 # Check whether --enable-tipwindow was given.
10961 if test "${enable_tipwindow+set}" = set; then
10962 enableval=$enable_tipwindow;
10963 if test "$enableval" = yes; then
10964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10965 else
10966 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10967 fi
10968
10969 else
10970
10971 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10972 if test "x$LINE" != x ; then
10973 eval "DEFAULT_$LINE"
10974 else
10975 no_cache=1
10976 fi
10977
10978 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10979
10980 fi
10981
10982
10983 eval "$ac_cv_use_tipwindow"
10984 if test "$no_cache" != 1; then
10985 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10986 fi
10987
10988 if test "$wxUSE_TIPWINDOW" = yes; then
10989 { echo "$as_me:$LINENO: result: yes" >&5
10990 echo "${ECHO_T}yes" >&6; }
10991 else
10992 { echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6; }
10994 fi
10995
10996
10997 enablestring=
10998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10999 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11000 no_cache=0
11001 # Check whether --enable-popupwin was given.
11002 if test "${enable_popupwin+set}" = set; then
11003 enableval=$enable_popupwin;
11004 if test "$enableval" = yes; then
11005 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11006 else
11007 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11008 fi
11009
11010 else
11011
11012 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11013 if test "x$LINE" != x ; then
11014 eval "DEFAULT_$LINE"
11015 else
11016 no_cache=1
11017 fi
11018
11019 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11020
11021 fi
11022
11023
11024 eval "$ac_cv_use_popupwin"
11025 if test "$no_cache" != 1; then
11026 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11027 fi
11028
11029 if test "$wxUSE_POPUPWIN" = yes; then
11030 { echo "$as_me:$LINENO: result: yes" >&5
11031 echo "${ECHO_T}yes" >&6; }
11032 else
11033 { echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6; }
11035 fi
11036
11037
11038
11039
11040 enablestring=
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11043 no_cache=0
11044 # Check whether --enable-commondlg was given.
11045 if test "${enable_commondlg+set}" = set; then
11046 enableval=$enable_commondlg;
11047 if test "$enableval" = yes; then
11048 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11049 else
11050 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11051 fi
11052
11053 else
11054
11055 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11056 if test "x$LINE" != x ; then
11057 eval "DEFAULT_$LINE"
11058 else
11059 no_cache=1
11060 fi
11061
11062 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11063
11064 fi
11065
11066
11067 eval "$ac_cv_use_commondlg"
11068 if test "$no_cache" != 1; then
11069 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11070 fi
11071
11072 if test "$wxUSE_COMMONDLGS" = yes; then
11073 { echo "$as_me:$LINENO: result: yes" >&5
11074 echo "${ECHO_T}yes" >&6; }
11075 else
11076 { echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6; }
11078 fi
11079
11080
11081 enablestring=
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11084 no_cache=0
11085 # Check whether --enable-aboutdlg was given.
11086 if test "${enable_aboutdlg+set}" = set; then
11087 enableval=$enable_aboutdlg;
11088 if test "$enableval" = yes; then
11089 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11090 else
11091 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11092 fi
11093
11094 else
11095
11096 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11097 if test "x$LINE" != x ; then
11098 eval "DEFAULT_$LINE"
11099 else
11100 no_cache=1
11101 fi
11102
11103 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11104
11105 fi
11106
11107
11108 eval "$ac_cv_use_aboutdlg"
11109 if test "$no_cache" != 1; then
11110 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11111 fi
11112
11113 if test "$wxUSE_ABOUTDLG" = yes; then
11114 { echo "$as_me:$LINENO: result: yes" >&5
11115 echo "${ECHO_T}yes" >&6; }
11116 else
11117 { echo "$as_me:$LINENO: result: no" >&5
11118 echo "${ECHO_T}no" >&6; }
11119 fi
11120
11121
11122 enablestring=
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11125 no_cache=0
11126 # Check whether --enable-choicedlg was given.
11127 if test "${enable_choicedlg+set}" = set; then
11128 enableval=$enable_choicedlg;
11129 if test "$enableval" = yes; then
11130 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11131 else
11132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11133 fi
11134
11135 else
11136
11137 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11138 if test "x$LINE" != x ; then
11139 eval "DEFAULT_$LINE"
11140 else
11141 no_cache=1
11142 fi
11143
11144 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11145
11146 fi
11147
11148
11149 eval "$ac_cv_use_choicedlg"
11150 if test "$no_cache" != 1; then
11151 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11152 fi
11153
11154 if test "$wxUSE_CHOICEDLG" = yes; then
11155 { echo "$as_me:$LINENO: result: yes" >&5
11156 echo "${ECHO_T}yes" >&6; }
11157 else
11158 { echo "$as_me:$LINENO: result: no" >&5
11159 echo "${ECHO_T}no" >&6; }
11160 fi
11161
11162
11163 enablestring=
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11166 no_cache=0
11167 # Check whether --enable-coldlg was given.
11168 if test "${enable_coldlg+set}" = set; then
11169 enableval=$enable_coldlg;
11170 if test "$enableval" = yes; then
11171 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11172 else
11173 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11174 fi
11175
11176 else
11177
11178 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11181 else
11182 no_cache=1
11183 fi
11184
11185 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11186
11187 fi
11188
11189
11190 eval "$ac_cv_use_coldlg"
11191 if test "$no_cache" != 1; then
11192 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11193 fi
11194
11195 if test "$wxUSE_COLOURDLG" = yes; then
11196 { echo "$as_me:$LINENO: result: yes" >&5
11197 echo "${ECHO_T}yes" >&6; }
11198 else
11199 { echo "$as_me:$LINENO: result: no" >&5
11200 echo "${ECHO_T}no" >&6; }
11201 fi
11202
11203
11204 enablestring=
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11207 no_cache=0
11208 # Check whether --enable-filedlg was given.
11209 if test "${enable_filedlg+set}" = set; then
11210 enableval=$enable_filedlg;
11211 if test "$enableval" = yes; then
11212 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11213 else
11214 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11215 fi
11216
11217 else
11218
11219 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11220 if test "x$LINE" != x ; then
11221 eval "DEFAULT_$LINE"
11222 else
11223 no_cache=1
11224 fi
11225
11226 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11227
11228 fi
11229
11230
11231 eval "$ac_cv_use_filedlg"
11232 if test "$no_cache" != 1; then
11233 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11234 fi
11235
11236 if test "$wxUSE_FILEDLG" = yes; then
11237 { echo "$as_me:$LINENO: result: yes" >&5
11238 echo "${ECHO_T}yes" >&6; }
11239 else
11240 { echo "$as_me:$LINENO: result: no" >&5
11241 echo "${ECHO_T}no" >&6; }
11242 fi
11243
11244
11245 enablestring=
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11248 no_cache=0
11249 # Check whether --enable-finddlg was given.
11250 if test "${enable_finddlg+set}" = set; then
11251 enableval=$enable_finddlg;
11252 if test "$enableval" = yes; then
11253 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11254 else
11255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11256 fi
11257
11258 else
11259
11260 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11261 if test "x$LINE" != x ; then
11262 eval "DEFAULT_$LINE"
11263 else
11264 no_cache=1
11265 fi
11266
11267 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11268
11269 fi
11270
11271
11272 eval "$ac_cv_use_finddlg"
11273 if test "$no_cache" != 1; then
11274 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11275 fi
11276
11277 if test "$wxUSE_FINDREPLDLG" = yes; then
11278 { echo "$as_me:$LINENO: result: yes" >&5
11279 echo "${ECHO_T}yes" >&6; }
11280 else
11281 { echo "$as_me:$LINENO: result: no" >&5
11282 echo "${ECHO_T}no" >&6; }
11283 fi
11284
11285
11286 enablestring=
11287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11288 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11289 no_cache=0
11290 # Check whether --enable-fontdlg was given.
11291 if test "${enable_fontdlg+set}" = set; then
11292 enableval=$enable_fontdlg;
11293 if test "$enableval" = yes; then
11294 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11295 else
11296 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11297 fi
11298
11299 else
11300
11301 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11302 if test "x$LINE" != x ; then
11303 eval "DEFAULT_$LINE"
11304 else
11305 no_cache=1
11306 fi
11307
11308 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11309
11310 fi
11311
11312
11313 eval "$ac_cv_use_fontdlg"
11314 if test "$no_cache" != 1; then
11315 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11316 fi
11317
11318 if test "$wxUSE_FONTDLG" = yes; then
11319 { echo "$as_me:$LINENO: result: yes" >&5
11320 echo "${ECHO_T}yes" >&6; }
11321 else
11322 { echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6; }
11324 fi
11325
11326
11327 enablestring=
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11330 no_cache=0
11331 # Check whether --enable-dirdlg was given.
11332 if test "${enable_dirdlg+set}" = set; then
11333 enableval=$enable_dirdlg;
11334 if test "$enableval" = yes; then
11335 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11336 else
11337 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11338 fi
11339
11340 else
11341
11342 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11343 if test "x$LINE" != x ; then
11344 eval "DEFAULT_$LINE"
11345 else
11346 no_cache=1
11347 fi
11348
11349 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11350
11351 fi
11352
11353
11354 eval "$ac_cv_use_dirdlg"
11355 if test "$no_cache" != 1; then
11356 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11357 fi
11358
11359 if test "$wxUSE_DIRDLG" = yes; then
11360 { echo "$as_me:$LINENO: result: yes" >&5
11361 echo "${ECHO_T}yes" >&6; }
11362 else
11363 { echo "$as_me:$LINENO: result: no" >&5
11364 echo "${ECHO_T}no" >&6; }
11365 fi
11366
11367
11368 enablestring=
11369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11370 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11371 no_cache=0
11372 # Check whether --enable-msgdlg was given.
11373 if test "${enable_msgdlg+set}" = set; then
11374 enableval=$enable_msgdlg;
11375 if test "$enableval" = yes; then
11376 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11377 else
11378 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11379 fi
11380
11381 else
11382
11383 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11384 if test "x$LINE" != x ; then
11385 eval "DEFAULT_$LINE"
11386 else
11387 no_cache=1
11388 fi
11389
11390 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11391
11392 fi
11393
11394
11395 eval "$ac_cv_use_msgdlg"
11396 if test "$no_cache" != 1; then
11397 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11398 fi
11399
11400 if test "$wxUSE_MSGDLG" = yes; then
11401 { echo "$as_me:$LINENO: result: yes" >&5
11402 echo "${ECHO_T}yes" >&6; }
11403 else
11404 { echo "$as_me:$LINENO: result: no" >&5
11405 echo "${ECHO_T}no" >&6; }
11406 fi
11407
11408
11409 enablestring=
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11412 no_cache=0
11413 # Check whether --enable-numberdlg was given.
11414 if test "${enable_numberdlg+set}" = set; then
11415 enableval=$enable_numberdlg;
11416 if test "$enableval" = yes; then
11417 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11418 else
11419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11420 fi
11421
11422 else
11423
11424 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11425 if test "x$LINE" != x ; then
11426 eval "DEFAULT_$LINE"
11427 else
11428 no_cache=1
11429 fi
11430
11431 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11432
11433 fi
11434
11435
11436 eval "$ac_cv_use_numberdlg"
11437 if test "$no_cache" != 1; then
11438 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11439 fi
11440
11441 if test "$wxUSE_NUMBERDLG" = yes; then
11442 { echo "$as_me:$LINENO: result: yes" >&5
11443 echo "${ECHO_T}yes" >&6; }
11444 else
11445 { echo "$as_me:$LINENO: result: no" >&5
11446 echo "${ECHO_T}no" >&6; }
11447 fi
11448
11449
11450 enablestring=
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11453 no_cache=0
11454 # Check whether --enable-splash was given.
11455 if test "${enable_splash+set}" = set; then
11456 enableval=$enable_splash;
11457 if test "$enableval" = yes; then
11458 ac_cv_use_splash='wxUSE_SPLASH=yes'
11459 else
11460 ac_cv_use_splash='wxUSE_SPLASH=no'
11461 fi
11462
11463 else
11464
11465 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11468 else
11469 no_cache=1
11470 fi
11471
11472 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11473
11474 fi
11475
11476
11477 eval "$ac_cv_use_splash"
11478 if test "$no_cache" != 1; then
11479 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11480 fi
11481
11482 if test "$wxUSE_SPLASH" = yes; then
11483 { echo "$as_me:$LINENO: result: yes" >&5
11484 echo "${ECHO_T}yes" >&6; }
11485 else
11486 { echo "$as_me:$LINENO: result: no" >&5
11487 echo "${ECHO_T}no" >&6; }
11488 fi
11489
11490
11491 enablestring=
11492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11493 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11494 no_cache=0
11495 # Check whether --enable-textdlg was given.
11496 if test "${enable_textdlg+set}" = set; then
11497 enableval=$enable_textdlg;
11498 if test "$enableval" = yes; then
11499 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11500 else
11501 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11502 fi
11503
11504 else
11505
11506 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11507 if test "x$LINE" != x ; then
11508 eval "DEFAULT_$LINE"
11509 else
11510 no_cache=1
11511 fi
11512
11513 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11514
11515 fi
11516
11517
11518 eval "$ac_cv_use_textdlg"
11519 if test "$no_cache" != 1; then
11520 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11521 fi
11522
11523 if test "$wxUSE_TEXTDLG" = yes; then
11524 { echo "$as_me:$LINENO: result: yes" >&5
11525 echo "${ECHO_T}yes" >&6; }
11526 else
11527 { echo "$as_me:$LINENO: result: no" >&5
11528 echo "${ECHO_T}no" >&6; }
11529 fi
11530
11531
11532 enablestring=
11533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11535 no_cache=0
11536 # Check whether --enable-tipdlg was given.
11537 if test "${enable_tipdlg+set}" = set; then
11538 enableval=$enable_tipdlg;
11539 if test "$enableval" = yes; then
11540 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11541 else
11542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11543 fi
11544
11545 else
11546
11547 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11548 if test "x$LINE" != x ; then
11549 eval "DEFAULT_$LINE"
11550 else
11551 no_cache=1
11552 fi
11553
11554 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11555
11556 fi
11557
11558
11559 eval "$ac_cv_use_tipdlg"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11562 fi
11563
11564 if test "$wxUSE_STARTUP_TIPS" = yes; then
11565 { echo "$as_me:$LINENO: result: yes" >&5
11566 echo "${ECHO_T}yes" >&6; }
11567 else
11568 { echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6; }
11570 fi
11571
11572
11573 enablestring=
11574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11576 no_cache=0
11577 # Check whether --enable-progressdlg was given.
11578 if test "${enable_progressdlg+set}" = set; then
11579 enableval=$enable_progressdlg;
11580 if test "$enableval" = yes; then
11581 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11582 else
11583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11584 fi
11585
11586 else
11587
11588 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11591 else
11592 no_cache=1
11593 fi
11594
11595 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11596
11597 fi
11598
11599
11600 eval "$ac_cv_use_progressdlg"
11601 if test "$no_cache" != 1; then
11602 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11603 fi
11604
11605 if test "$wxUSE_PROGRESSDLG" = yes; then
11606 { echo "$as_me:$LINENO: result: yes" >&5
11607 echo "${ECHO_T}yes" >&6; }
11608 else
11609 { echo "$as_me:$LINENO: result: no" >&5
11610 echo "${ECHO_T}no" >&6; }
11611 fi
11612
11613
11614 enablestring=
11615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11616 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11617 no_cache=0
11618 # Check whether --enable-wizarddlg was given.
11619 if test "${enable_wizarddlg+set}" = set; then
11620 enableval=$enable_wizarddlg;
11621 if test "$enableval" = yes; then
11622 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11623 else
11624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11625 fi
11626
11627 else
11628
11629 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11630 if test "x$LINE" != x ; then
11631 eval "DEFAULT_$LINE"
11632 else
11633 no_cache=1
11634 fi
11635
11636 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11637
11638 fi
11639
11640
11641 eval "$ac_cv_use_wizarddlg"
11642 if test "$no_cache" != 1; then
11643 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11644 fi
11645
11646 if test "$wxUSE_WIZARDDLG" = yes; then
11647 { echo "$as_me:$LINENO: result: yes" >&5
11648 echo "${ECHO_T}yes" >&6; }
11649 else
11650 { echo "$as_me:$LINENO: result: no" >&5
11651 echo "${ECHO_T}no" >&6; }
11652 fi
11653
11654
11655
11656
11657 enablestring=
11658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11659 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11660 no_cache=0
11661 # Check whether --enable-menus was given.
11662 if test "${enable_menus+set}" = set; then
11663 enableval=$enable_menus;
11664 if test "$enableval" = yes; then
11665 ac_cv_use_menus='wxUSE_MENUS=yes'
11666 else
11667 ac_cv_use_menus='wxUSE_MENUS=no'
11668 fi
11669
11670 else
11671
11672 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11673 if test "x$LINE" != x ; then
11674 eval "DEFAULT_$LINE"
11675 else
11676 no_cache=1
11677 fi
11678
11679 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11680
11681 fi
11682
11683
11684 eval "$ac_cv_use_menus"
11685 if test "$no_cache" != 1; then
11686 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11687 fi
11688
11689 if test "$wxUSE_MENUS" = yes; then
11690 { echo "$as_me:$LINENO: result: yes" >&5
11691 echo "${ECHO_T}yes" >&6; }
11692 else
11693 { echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6; }
11695 fi
11696
11697
11698 enablestring=
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11701 no_cache=0
11702 # Check whether --enable-miniframe was given.
11703 if test "${enable_miniframe+set}" = set; then
11704 enableval=$enable_miniframe;
11705 if test "$enableval" = yes; then
11706 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11707 else
11708 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11709 fi
11710
11711 else
11712
11713 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11714 if test "x$LINE" != x ; then
11715 eval "DEFAULT_$LINE"
11716 else
11717 no_cache=1
11718 fi
11719
11720 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11721
11722 fi
11723
11724
11725 eval "$ac_cv_use_miniframe"
11726 if test "$no_cache" != 1; then
11727 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11728 fi
11729
11730 if test "$wxUSE_MINIFRAME" = yes; then
11731 { echo "$as_me:$LINENO: result: yes" >&5
11732 echo "${ECHO_T}yes" >&6; }
11733 else
11734 { echo "$as_me:$LINENO: result: no" >&5
11735 echo "${ECHO_T}no" >&6; }
11736 fi
11737
11738
11739 enablestring=
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11742 no_cache=0
11743 # Check whether --enable-tooltips was given.
11744 if test "${enable_tooltips+set}" = set; then
11745 enableval=$enable_tooltips;
11746 if test "$enableval" = yes; then
11747 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11748 else
11749 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11750 fi
11751
11752 else
11753
11754 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11755 if test "x$LINE" != x ; then
11756 eval "DEFAULT_$LINE"
11757 else
11758 no_cache=1
11759 fi
11760
11761 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11762
11763 fi
11764
11765
11766 eval "$ac_cv_use_tooltips"
11767 if test "$no_cache" != 1; then
11768 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11769 fi
11770
11771 if test "$wxUSE_TOOLTIPS" = yes; then
11772 { echo "$as_me:$LINENO: result: yes" >&5
11773 echo "${ECHO_T}yes" >&6; }
11774 else
11775 { echo "$as_me:$LINENO: result: no" >&5
11776 echo "${ECHO_T}no" >&6; }
11777 fi
11778
11779
11780 enablestring=
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11783 no_cache=0
11784 # Check whether --enable-splines was given.
11785 if test "${enable_splines+set}" = set; then
11786 enableval=$enable_splines;
11787 if test "$enableval" = yes; then
11788 ac_cv_use_splines='wxUSE_SPLINES=yes'
11789 else
11790 ac_cv_use_splines='wxUSE_SPLINES=no'
11791 fi
11792
11793 else
11794
11795 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11796 if test "x$LINE" != x ; then
11797 eval "DEFAULT_$LINE"
11798 else
11799 no_cache=1
11800 fi
11801
11802 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11803
11804 fi
11805
11806
11807 eval "$ac_cv_use_splines"
11808 if test "$no_cache" != 1; then
11809 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11810 fi
11811
11812 if test "$wxUSE_SPLINES" = yes; then
11813 { echo "$as_me:$LINENO: result: yes" >&5
11814 echo "${ECHO_T}yes" >&6; }
11815 else
11816 { echo "$as_me:$LINENO: result: no" >&5
11817 echo "${ECHO_T}no" >&6; }
11818 fi
11819
11820
11821 enablestring=
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11824 no_cache=0
11825 # Check whether --enable-mousewheel was given.
11826 if test "${enable_mousewheel+set}" = set; then
11827 enableval=$enable_mousewheel;
11828 if test "$enableval" = yes; then
11829 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11830 else
11831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11832 fi
11833
11834 else
11835
11836 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11837 if test "x$LINE" != x ; then
11838 eval "DEFAULT_$LINE"
11839 else
11840 no_cache=1
11841 fi
11842
11843 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11844
11845 fi
11846
11847
11848 eval "$ac_cv_use_mousewheel"
11849 if test "$no_cache" != 1; then
11850 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11851 fi
11852
11853 if test "$wxUSE_MOUSEWHEEL" = yes; then
11854 { echo "$as_me:$LINENO: result: yes" >&5
11855 echo "${ECHO_T}yes" >&6; }
11856 else
11857 { echo "$as_me:$LINENO: result: no" >&5
11858 echo "${ECHO_T}no" >&6; }
11859 fi
11860
11861
11862 enablestring=
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11865 no_cache=0
11866 # Check whether --enable-validators was given.
11867 if test "${enable_validators+set}" = set; then
11868 enableval=$enable_validators;
11869 if test "$enableval" = yes; then
11870 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11871 else
11872 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11873 fi
11874
11875 else
11876
11877 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11878 if test "x$LINE" != x ; then
11879 eval "DEFAULT_$LINE"
11880 else
11881 no_cache=1
11882 fi
11883
11884 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11885
11886 fi
11887
11888
11889 eval "$ac_cv_use_validators"
11890 if test "$no_cache" != 1; then
11891 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11892 fi
11893
11894 if test "$wxUSE_VALIDATORS" = yes; then
11895 { echo "$as_me:$LINENO: result: yes" >&5
11896 echo "${ECHO_T}yes" >&6; }
11897 else
11898 { echo "$as_me:$LINENO: result: no" >&5
11899 echo "${ECHO_T}no" >&6; }
11900 fi
11901
11902
11903 enablestring=
11904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11905 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11906 no_cache=0
11907 # Check whether --enable-busyinfo was given.
11908 if test "${enable_busyinfo+set}" = set; then
11909 enableval=$enable_busyinfo;
11910 if test "$enableval" = yes; then
11911 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11912 else
11913 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11914 fi
11915
11916 else
11917
11918 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11919 if test "x$LINE" != x ; then
11920 eval "DEFAULT_$LINE"
11921 else
11922 no_cache=1
11923 fi
11924
11925 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11926
11927 fi
11928
11929
11930 eval "$ac_cv_use_busyinfo"
11931 if test "$no_cache" != 1; then
11932 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11933 fi
11934
11935 if test "$wxUSE_BUSYINFO" = yes; then
11936 { echo "$as_me:$LINENO: result: yes" >&5
11937 echo "${ECHO_T}yes" >&6; }
11938 else
11939 { echo "$as_me:$LINENO: result: no" >&5
11940 echo "${ECHO_T}no" >&6; }
11941 fi
11942
11943
11944 enablestring=
11945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11946 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11947 no_cache=0
11948 # Check whether --enable-joystick was given.
11949 if test "${enable_joystick+set}" = set; then
11950 enableval=$enable_joystick;
11951 if test "$enableval" = yes; then
11952 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11953 else
11954 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11955 fi
11956
11957 else
11958
11959 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11960 if test "x$LINE" != x ; then
11961 eval "DEFAULT_$LINE"
11962 else
11963 no_cache=1
11964 fi
11965
11966 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11967
11968 fi
11969
11970
11971 eval "$ac_cv_use_joystick"
11972 if test "$no_cache" != 1; then
11973 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11974 fi
11975
11976 if test "$wxUSE_JOYSTICK" = yes; then
11977 { echo "$as_me:$LINENO: result: yes" >&5
11978 echo "${ECHO_T}yes" >&6; }
11979 else
11980 { echo "$as_me:$LINENO: result: no" >&5
11981 echo "${ECHO_T}no" >&6; }
11982 fi
11983
11984
11985 enablestring=
11986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11987 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11988 no_cache=0
11989 # Check whether --enable-metafile was given.
11990 if test "${enable_metafile+set}" = set; then
11991 enableval=$enable_metafile;
11992 if test "$enableval" = yes; then
11993 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11994 else
11995 ac_cv_use_metafile='wxUSE_METAFILE=no'
11996 fi
11997
11998 else
11999
12000 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12001 if test "x$LINE" != x ; then
12002 eval "DEFAULT_$LINE"
12003 else
12004 no_cache=1
12005 fi
12006
12007 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12008
12009 fi
12010
12011
12012 eval "$ac_cv_use_metafile"
12013 if test "$no_cache" != 1; then
12014 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12015 fi
12016
12017 if test "$wxUSE_METAFILE" = yes; then
12018 { echo "$as_me:$LINENO: result: yes" >&5
12019 echo "${ECHO_T}yes" >&6; }
12020 else
12021 { echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6; }
12023 fi
12024
12025
12026 enablestring=
12027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12028 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12029 no_cache=0
12030 # Check whether --enable-dragimage was given.
12031 if test "${enable_dragimage+set}" = set; then
12032 enableval=$enable_dragimage;
12033 if test "$enableval" = yes; then
12034 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12035 else
12036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12037 fi
12038
12039 else
12040
12041 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12042 if test "x$LINE" != x ; then
12043 eval "DEFAULT_$LINE"
12044 else
12045 no_cache=1
12046 fi
12047
12048 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12049
12050 fi
12051
12052
12053 eval "$ac_cv_use_dragimage"
12054 if test "$no_cache" != 1; then
12055 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12056 fi
12057
12058 if test "$wxUSE_DRAGIMAGE" = yes; then
12059 { echo "$as_me:$LINENO: result: yes" >&5
12060 echo "${ECHO_T}yes" >&6; }
12061 else
12062 { echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6; }
12064 fi
12065
12066
12067 enablestring=
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12070 no_cache=0
12071 # Check whether --enable-accessibility was given.
12072 if test "${enable_accessibility+set}" = set; then
12073 enableval=$enable_accessibility;
12074 if test "$enableval" = yes; then
12075 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12076 else
12077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12078 fi
12079
12080 else
12081
12082 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12085 else
12086 no_cache=1
12087 fi
12088
12089 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12090
12091 fi
12092
12093
12094 eval "$ac_cv_use_accessibility"
12095 if test "$no_cache" != 1; then
12096 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12097 fi
12098
12099 if test "$wxUSE_ACCESSIBILITY" = yes; then
12100 { echo "$as_me:$LINENO: result: yes" >&5
12101 echo "${ECHO_T}yes" >&6; }
12102 else
12103 { echo "$as_me:$LINENO: result: no" >&5
12104 echo "${ECHO_T}no" >&6; }
12105 fi
12106
12107
12108 if test "$wxUSE_MSW" = "1"; then
12109
12110 enablestring=
12111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12112 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12113 no_cache=0
12114 # Check whether --enable-dccache was given.
12115 if test "${enable_dccache+set}" = set; then
12116 enableval=$enable_dccache;
12117 if test "$enableval" = yes; then
12118 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12119 else
12120 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12121 fi
12122
12123 else
12124
12125 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12126 if test "x$LINE" != x ; then
12127 eval "DEFAULT_$LINE"
12128 else
12129 no_cache=1
12130 fi
12131
12132 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12133
12134 fi
12135
12136
12137 eval "$ac_cv_use_dccache"
12138 if test "$no_cache" != 1; then
12139 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12140 fi
12141
12142 if test "$wxUSE_DC_CACHEING" = yes; then
12143 { echo "$as_me:$LINENO: result: yes" >&5
12144 echo "${ECHO_T}yes" >&6; }
12145 else
12146 { echo "$as_me:$LINENO: result: no" >&5
12147 echo "${ECHO_T}no" >&6; }
12148 fi
12149
12150 fi
12151
12152
12153
12154 enablestring=
12155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12156 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12157 no_cache=0
12158 # Check whether --enable-palette was given.
12159 if test "${enable_palette+set}" = set; then
12160 enableval=$enable_palette;
12161 if test "$enableval" = yes; then
12162 ac_cv_use_palette='wxUSE_PALETTE=yes'
12163 else
12164 ac_cv_use_palette='wxUSE_PALETTE=no'
12165 fi
12166
12167 else
12168
12169 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12170 if test "x$LINE" != x ; then
12171 eval "DEFAULT_$LINE"
12172 else
12173 no_cache=1
12174 fi
12175
12176 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12177
12178 fi
12179
12180
12181 eval "$ac_cv_use_palette"
12182 if test "$no_cache" != 1; then
12183 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12184 fi
12185
12186 if test "$wxUSE_PALETTE" = yes; then
12187 { echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6; }
12189 else
12190 { echo "$as_me:$LINENO: result: no" >&5
12191 echo "${ECHO_T}no" >&6; }
12192 fi
12193
12194
12195 enablestring=
12196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12197 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12198 no_cache=0
12199 # Check whether --enable-image was given.
12200 if test "${enable_image+set}" = set; then
12201 enableval=$enable_image;
12202 if test "$enableval" = yes; then
12203 ac_cv_use_image='wxUSE_IMAGE=yes'
12204 else
12205 ac_cv_use_image='wxUSE_IMAGE=no'
12206 fi
12207
12208 else
12209
12210 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12211 if test "x$LINE" != x ; then
12212 eval "DEFAULT_$LINE"
12213 else
12214 no_cache=1
12215 fi
12216
12217 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12218
12219 fi
12220
12221
12222 eval "$ac_cv_use_image"
12223 if test "$no_cache" != 1; then
12224 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12225 fi
12226
12227 if test "$wxUSE_IMAGE" = yes; then
12228 { echo "$as_me:$LINENO: result: yes" >&5
12229 echo "${ECHO_T}yes" >&6; }
12230 else
12231 { echo "$as_me:$LINENO: result: no" >&5
12232 echo "${ECHO_T}no" >&6; }
12233 fi
12234
12235
12236 enablestring=
12237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12238 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12239 no_cache=0
12240 # Check whether --enable-gif was given.
12241 if test "${enable_gif+set}" = set; then
12242 enableval=$enable_gif;
12243 if test "$enableval" = yes; then
12244 ac_cv_use_gif='wxUSE_GIF=yes'
12245 else
12246 ac_cv_use_gif='wxUSE_GIF=no'
12247 fi
12248
12249 else
12250
12251 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12252 if test "x$LINE" != x ; then
12253 eval "DEFAULT_$LINE"
12254 else
12255 no_cache=1
12256 fi
12257
12258 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12259
12260 fi
12261
12262
12263 eval "$ac_cv_use_gif"
12264 if test "$no_cache" != 1; then
12265 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12266 fi
12267
12268 if test "$wxUSE_GIF" = yes; then
12269 { echo "$as_me:$LINENO: result: yes" >&5
12270 echo "${ECHO_T}yes" >&6; }
12271 else
12272 { echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6; }
12274 fi
12275
12276
12277 enablestring=
12278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12279 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12280 no_cache=0
12281 # Check whether --enable-pcx was given.
12282 if test "${enable_pcx+set}" = set; then
12283 enableval=$enable_pcx;
12284 if test "$enableval" = yes; then
12285 ac_cv_use_pcx='wxUSE_PCX=yes'
12286 else
12287 ac_cv_use_pcx='wxUSE_PCX=no'
12288 fi
12289
12290 else
12291
12292 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12293 if test "x$LINE" != x ; then
12294 eval "DEFAULT_$LINE"
12295 else
12296 no_cache=1
12297 fi
12298
12299 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12300
12301 fi
12302
12303
12304 eval "$ac_cv_use_pcx"
12305 if test "$no_cache" != 1; then
12306 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12307 fi
12308
12309 if test "$wxUSE_PCX" = yes; then
12310 { echo "$as_me:$LINENO: result: yes" >&5
12311 echo "${ECHO_T}yes" >&6; }
12312 else
12313 { echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6; }
12315 fi
12316
12317
12318 enablestring=
12319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12320 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12321 no_cache=0
12322 # Check whether --enable-tga was given.
12323 if test "${enable_tga+set}" = set; then
12324 enableval=$enable_tga;
12325 if test "$enableval" = yes; then
12326 ac_cv_use_tga='wxUSE_TGA=yes'
12327 else
12328 ac_cv_use_tga='wxUSE_TGA=no'
12329 fi
12330
12331 else
12332
12333 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12334 if test "x$LINE" != x ; then
12335 eval "DEFAULT_$LINE"
12336 else
12337 no_cache=1
12338 fi
12339
12340 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12341
12342 fi
12343
12344
12345 eval "$ac_cv_use_tga"
12346 if test "$no_cache" != 1; then
12347 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12348 fi
12349
12350 if test "$wxUSE_TGA" = yes; then
12351 { echo "$as_me:$LINENO: result: yes" >&5
12352 echo "${ECHO_T}yes" >&6; }
12353 else
12354 { echo "$as_me:$LINENO: result: no" >&5
12355 echo "${ECHO_T}no" >&6; }
12356 fi
12357
12358
12359 enablestring=
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12362 no_cache=0
12363 # Check whether --enable-iff was given.
12364 if test "${enable_iff+set}" = set; then
12365 enableval=$enable_iff;
12366 if test "$enableval" = yes; then
12367 ac_cv_use_iff='wxUSE_IFF=yes'
12368 else
12369 ac_cv_use_iff='wxUSE_IFF=no'
12370 fi
12371
12372 else
12373
12374 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12375 if test "x$LINE" != x ; then
12376 eval "DEFAULT_$LINE"
12377 else
12378 no_cache=1
12379 fi
12380
12381 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12382
12383 fi
12384
12385
12386 eval "$ac_cv_use_iff"
12387 if test "$no_cache" != 1; then
12388 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12389 fi
12390
12391 if test "$wxUSE_IFF" = yes; then
12392 { echo "$as_me:$LINENO: result: yes" >&5
12393 echo "${ECHO_T}yes" >&6; }
12394 else
12395 { echo "$as_me:$LINENO: result: no" >&5
12396 echo "${ECHO_T}no" >&6; }
12397 fi
12398
12399
12400 enablestring=
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12403 no_cache=0
12404 # Check whether --enable-pnm was given.
12405 if test "${enable_pnm+set}" = set; then
12406 enableval=$enable_pnm;
12407 if test "$enableval" = yes; then
12408 ac_cv_use_pnm='wxUSE_PNM=yes'
12409 else
12410 ac_cv_use_pnm='wxUSE_PNM=no'
12411 fi
12412
12413 else
12414
12415 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12416 if test "x$LINE" != x ; then
12417 eval "DEFAULT_$LINE"
12418 else
12419 no_cache=1
12420 fi
12421
12422 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12423
12424 fi
12425
12426
12427 eval "$ac_cv_use_pnm"
12428 if test "$no_cache" != 1; then
12429 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12430 fi
12431
12432 if test "$wxUSE_PNM" = yes; then
12433 { echo "$as_me:$LINENO: result: yes" >&5
12434 echo "${ECHO_T}yes" >&6; }
12435 else
12436 { echo "$as_me:$LINENO: result: no" >&5
12437 echo "${ECHO_T}no" >&6; }
12438 fi
12439
12440
12441 enablestring=
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12444 no_cache=0
12445 # Check whether --enable-xpm was given.
12446 if test "${enable_xpm+set}" = set; then
12447 enableval=$enable_xpm;
12448 if test "$enableval" = yes; then
12449 ac_cv_use_xpm='wxUSE_XPM=yes'
12450 else
12451 ac_cv_use_xpm='wxUSE_XPM=no'
12452 fi
12453
12454 else
12455
12456 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12457 if test "x$LINE" != x ; then
12458 eval "DEFAULT_$LINE"
12459 else
12460 no_cache=1
12461 fi
12462
12463 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12464
12465 fi
12466
12467
12468 eval "$ac_cv_use_xpm"
12469 if test "$no_cache" != 1; then
12470 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12471 fi
12472
12473 if test "$wxUSE_XPM" = yes; then
12474 { echo "$as_me:$LINENO: result: yes" >&5
12475 echo "${ECHO_T}yes" >&6; }
12476 else
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12479 fi
12480
12481
12482 enablestring=
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12485 no_cache=0
12486 # Check whether --enable-ico_cur was given.
12487 if test "${enable_ico_cur+set}" = set; then
12488 enableval=$enable_ico_cur;
12489 if test "$enableval" = yes; then
12490 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12491 else
12492 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12493 fi
12494
12495 else
12496
12497 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12498 if test "x$LINE" != x ; then
12499 eval "DEFAULT_$LINE"
12500 else
12501 no_cache=1
12502 fi
12503
12504 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12505
12506 fi
12507
12508
12509 eval "$ac_cv_use_ico_cur"
12510 if test "$no_cache" != 1; then
12511 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12512 fi
12513
12514 if test "$wxUSE_ICO_CUR" = yes; then
12515 { echo "$as_me:$LINENO: result: yes" >&5
12516 echo "${ECHO_T}yes" >&6; }
12517 else
12518 { echo "$as_me:$LINENO: result: no" >&5
12519 echo "${ECHO_T}no" >&6; }
12520 fi
12521
12522
12523 fi
12524
12525
12526
12527 # Check whether --with-flavour was given.
12528 if test "${with_flavour+set}" = set; then
12529 withval=$with_flavour; WX_FLAVOUR="$withval"
12530 fi
12531
12532
12533
12534
12535 enablestring=
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12538 no_cache=0
12539 # Check whether --enable-official_build was given.
12540 if test "${enable_official_build+set}" = set; then
12541 enableval=$enable_official_build;
12542 if test "$enableval" = yes; then
12543 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12544 else
12545 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12546 fi
12547
12548 else
12549
12550 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12551 if test "x$LINE" != x ; then
12552 eval "DEFAULT_$LINE"
12553 else
12554 no_cache=1
12555 fi
12556
12557 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12558
12559 fi
12560
12561
12562 eval "$ac_cv_use_official_build"
12563 if test "$no_cache" != 1; then
12564 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12565 fi
12566
12567 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12568 { echo "$as_me:$LINENO: result: yes" >&5
12569 echo "${ECHO_T}yes" >&6; }
12570 else
12571 { echo "$as_me:$LINENO: result: no" >&5
12572 echo "${ECHO_T}no" >&6; }
12573 fi
12574
12575 # Check whether --enable-vendor was given.
12576 if test "${enable_vendor+set}" = set; then
12577 enableval=$enable_vendor; VENDOR="$enableval"
12578 fi
12579
12580 if test "x$VENDOR" = "x"; then
12581 VENDOR="custom"
12582 fi
12583
12584
12585
12586
12587 echo "saving argument cache $wx_arg_cache_file"
12588 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12589
12590
12591
12592 { echo "$as_me:$LINENO: checking for toolkit" >&5
12593 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12594
12595 # In Wine, we need to default to MSW, not GTK or MOTIF
12596 if test "$wxUSE_WINE" = "yes"; then
12597 DEFAULT_DEFAULT_wxUSE_GTK=0
12598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12599 DEFAULT_DEFAULT_wxUSE_MSW=1
12600 wxUSE_SHARED=no
12601 CC=${CC:-winegcc}
12602 CXX=${CXX:-wineg++}
12603 fi
12604
12605
12606 if test "$wxUSE_GUI" = "yes"; then
12607
12608 if test "$USE_BEOS" = 1; then
12609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12610 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12611 { (exit 1); exit 1; }; }
12612 fi
12613
12614 if test "$TOOLKIT_GIVEN" = 1; then
12615 for toolkit in `echo $ALL_TOOLKITS`; do
12616 var=wxUSE_$toolkit
12617 eval "value=\$${var}"
12618 if test "x$value" = "xno"; then
12619 eval "$var=0"
12620 elif test "x$value" != "x"; then
12621 eval "$var=1"
12622 fi
12623
12624 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12625 eval "wx${toolkit}_VERSION=$value"
12626 fi
12627 done
12628 else
12629 for toolkit in `echo $ALL_TOOLKITS`; do
12630 if test "$has_toolkit_in_cache" != 1; then
12631 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12632 else
12633 var=DEFAULT_wxUSE_$toolkit
12634
12635 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12636 if test "x$version" != "x"; then
12637 eval "wx${toolkit}_VERSION=$version"
12638 fi
12639 fi
12640 eval "wxUSE_$toolkit=\$${var}"
12641 done
12642 fi
12643
12644 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12645 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12646 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12647
12648 case "${host}" in
12649 *-pc-os2_emx | *-pc-os2-emx )
12650 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12651 esac
12652
12653 case "$NUM_TOOLKITS" in
12654 1)
12655 ;;
12656 0)
12657 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12658 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12659 { (exit 1); exit 1; }; }
12660 ;;
12661 *)
12662 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12663 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12664 { (exit 1); exit 1; }; }
12665 esac
12666
12667 # to be removed when --disable-gtk2 isn't needed
12668 if test "x$wxUSE_GTK2" = "xyes"; then
12669 wxGTK_VERSION=2
12670 elif test "x$wxUSE_GTK2" = "xno"; then
12671 wxGTK_VERSION=1
12672 fi
12673
12674 for toolkit in `echo $ALL_TOOLKITS`; do
12675 var=wxUSE_$toolkit
12676 eval "value=\$${var}"
12677 if test "x$value" != x; then
12678 cache_var=CACHE_$toolkit
12679 eval "cache=\$${cache_var}"
12680 if test "$cache" = 1; then
12681 echo "$var=$value" >> ${wx_arg_cache_file}
12682 eval "version=\$wx${toolkit}_VERSION"
12683 if test "x$version" != "x"; then
12684 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12685 fi
12686 fi
12687 if test "$value" = 1; then
12688 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12689 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12690 echo "${ECHO_T}$toolkit_echo" >&6; }
12691 fi
12692 fi
12693 done
12694 else
12695 if test "x$host_alias" != "x"; then
12696 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12697 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12698 else
12699 { echo "$as_me:$LINENO: result: base only" >&5
12700 echo "${ECHO_T}base only" >&6; }
12701 fi
12702 fi
12703
12704
12705 cat >confcache <<\_ACEOF
12706 # This file is a shell script that caches the results of configure
12707 # tests run on this system so they can be shared between configure
12708 # scripts and configure runs, see configure's option --config-cache.
12709 # It is not useful on other systems. If it contains results you don't
12710 # want to keep, you may remove or edit it.
12711 #
12712 # config.status only pays attention to the cache file if you give it
12713 # the --recheck option to rerun configure.
12714 #
12715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12717 # following values.
12718
12719 _ACEOF
12720
12721 # The following way of writing the cache mishandles newlines in values,
12722 # but we know of no workaround that is simple, portable, and efficient.
12723 # So, we kill variables containing newlines.
12724 # Ultrix sh set writes to stderr and can't be redirected directly,
12725 # and sets the high bit in the cache file unless we assign to the vars.
12726 (
12727 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12728 eval ac_val=\$$ac_var
12729 case $ac_val in #(
12730 *${as_nl}*)
12731 case $ac_var in #(
12732 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12734 esac
12735 case $ac_var in #(
12736 _ | IFS | as_nl) ;; #(
12737 *) $as_unset $ac_var ;;
12738 esac ;;
12739 esac
12740 done
12741
12742 (set) 2>&1 |
12743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12744 *${as_nl}ac_space=\ *)
12745 # `set' does not quote correctly, so add quotes (double-quote
12746 # substitution turns \\\\ into \\, and sed turns \\ into \).
12747 sed -n \
12748 "s/'/'\\\\''/g;
12749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12750 ;; #(
12751 *)
12752 # `set' quotes correctly as required by POSIX, so do not add quotes.
12753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12754 ;;
12755 esac |
12756 sort
12757 ) |
12758 sed '
12759 /^ac_cv_env_/b end
12760 t clear
12761 :clear
12762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12763 t end
12764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12765 :end' >>confcache
12766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12767 if test -w "$cache_file"; then
12768 test "x$cache_file" != "x/dev/null" &&
12769 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12770 echo "$as_me: updating cache $cache_file" >&6;}
12771 cat confcache >$cache_file
12772 else
12773 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12774 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12775 fi
12776 fi
12777 rm -f confcache
12778
12779 CFLAGS=${CFLAGS:=}
12780
12781
12782
12783 ac_ext=c
12784 ac_cpp='$CPP $CPPFLAGS'
12785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12788 if test -n "$ac_tool_prefix"; then
12789 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12790 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12793 if test "${ac_cv_prog_CC+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 else
12796 if test -n "$CC"; then
12797 ac_cv_prog_CC="$CC" # Let the user override the test.
12798 else
12799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12800 for as_dir in $PATH
12801 do
12802 IFS=$as_save_IFS
12803 test -z "$as_dir" && as_dir=.
12804 for ac_exec_ext in '' $ac_executable_extensions; do
12805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12806 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12808 break 2
12809 fi
12810 done
12811 done
12812 IFS=$as_save_IFS
12813
12814 fi
12815 fi
12816 CC=$ac_cv_prog_CC
12817 if test -n "$CC"; then
12818 { echo "$as_me:$LINENO: result: $CC" >&5
12819 echo "${ECHO_T}$CC" >&6; }
12820 else
12821 { echo "$as_me:$LINENO: result: no" >&5
12822 echo "${ECHO_T}no" >&6; }
12823 fi
12824
12825
12826 fi
12827 if test -z "$ac_cv_prog_CC"; then
12828 ac_ct_CC=$CC
12829 # Extract the first word of "gcc", so it can be a program name with args.
12830 set dummy gcc; ac_word=$2
12831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 else
12836 if test -n "$ac_ct_CC"; then
12837 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12838 else
12839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12840 for as_dir in $PATH
12841 do
12842 IFS=$as_save_IFS
12843 test -z "$as_dir" && as_dir=.
12844 for ac_exec_ext in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_prog_ac_ct_CC="gcc"
12847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12848 break 2
12849 fi
12850 done
12851 done
12852 IFS=$as_save_IFS
12853
12854 fi
12855 fi
12856 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12857 if test -n "$ac_ct_CC"; then
12858 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12859 echo "${ECHO_T}$ac_ct_CC" >&6; }
12860 else
12861 { echo "$as_me:$LINENO: result: no" >&5
12862 echo "${ECHO_T}no" >&6; }
12863 fi
12864
12865 if test "x$ac_ct_CC" = x; then
12866 CC=""
12867 else
12868 case $cross_compiling:$ac_tool_warned in
12869 yes:)
12870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12871 whose name does not start with the host triplet. If you think this
12872 configuration is useful to you, please write to autoconf@gnu.org." >&5
12873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12874 whose name does not start with the host triplet. If you think this
12875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12876 ac_tool_warned=yes ;;
12877 esac
12878 CC=$ac_ct_CC
12879 fi
12880 else
12881 CC="$ac_cv_prog_CC"
12882 fi
12883
12884 if test -z "$CC"; then
12885 if test -n "$ac_tool_prefix"; then
12886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12887 set dummy ${ac_tool_prefix}cc; ac_word=$2
12888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12890 if test "${ac_cv_prog_CC+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 else
12893 if test -n "$CC"; then
12894 ac_cv_prog_CC="$CC" # Let the user override the test.
12895 else
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12898 do
12899 IFS=$as_save_IFS
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_CC="${ac_tool_prefix}cc"
12904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12905 break 2
12906 fi
12907 done
12908 done
12909 IFS=$as_save_IFS
12910
12911 fi
12912 fi
12913 CC=$ac_cv_prog_CC
12914 if test -n "$CC"; then
12915 { echo "$as_me:$LINENO: result: $CC" >&5
12916 echo "${ECHO_T}$CC" >&6; }
12917 else
12918 { echo "$as_me:$LINENO: result: no" >&5
12919 echo "${ECHO_T}no" >&6; }
12920 fi
12921
12922
12923 fi
12924 fi
12925 if test -z "$CC"; then
12926 # Extract the first word of "cc", so it can be a program name with args.
12927 set dummy cc; ac_word=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 else
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC="$CC" # Let the user override the test.
12935 else
12936 ac_prog_rejected=no
12937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12938 for as_dir in $PATH
12939 do
12940 IFS=$as_save_IFS
12941 test -z "$as_dir" && as_dir=.
12942 for ac_exec_ext in '' $ac_executable_extensions; do
12943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12945 ac_prog_rejected=yes
12946 continue
12947 fi
12948 ac_cv_prog_CC="cc"
12949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12950 break 2
12951 fi
12952 done
12953 done
12954 IFS=$as_save_IFS
12955
12956 if test $ac_prog_rejected = yes; then
12957 # We found a bogon in the path, so make sure we never use it.
12958 set dummy $ac_cv_prog_CC
12959 shift
12960 if test $# != 0; then
12961 # We chose a different compiler from the bogus one.
12962 # However, it has the same basename, so the bogon will be chosen
12963 # first if we set CC to just the basename; use the full file name.
12964 shift
12965 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12966 fi
12967 fi
12968 fi
12969 fi
12970 CC=$ac_cv_prog_CC
12971 if test -n "$CC"; then
12972 { echo "$as_me:$LINENO: result: $CC" >&5
12973 echo "${ECHO_T}$CC" >&6; }
12974 else
12975 { echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6; }
12977 fi
12978
12979
12980 fi
12981 if test -z "$CC"; then
12982 if test -n "$ac_tool_prefix"; then
12983 for ac_prog in cl.exe
12984 do
12985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12989 if test "${ac_cv_prog_CC+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12991 else
12992 if test -n "$CC"; then
12993 ac_cv_prog_CC="$CC" # Let the user override the test.
12994 else
12995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12996 for as_dir in $PATH
12997 do
12998 IFS=$as_save_IFS
12999 test -z "$as_dir" && as_dir=.
13000 for ac_exec_ext in '' $ac_executable_extensions; do
13001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13004 break 2
13005 fi
13006 done
13007 done
13008 IFS=$as_save_IFS
13009
13010 fi
13011 fi
13012 CC=$ac_cv_prog_CC
13013 if test -n "$CC"; then
13014 { echo "$as_me:$LINENO: result: $CC" >&5
13015 echo "${ECHO_T}$CC" >&6; }
13016 else
13017 { echo "$as_me:$LINENO: result: no" >&5
13018 echo "${ECHO_T}no" >&6; }
13019 fi
13020
13021
13022 test -n "$CC" && break
13023 done
13024 fi
13025 if test -z "$CC"; then
13026 ac_ct_CC=$CC
13027 for ac_prog in cl.exe
13028 do
13029 # Extract the first word of "$ac_prog", so it can be a program name with args.
13030 set dummy $ac_prog; ac_word=$2
13031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 else
13036 if test -n "$ac_ct_CC"; then
13037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13038 else
13039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040 for as_dir in $PATH
13041 do
13042 IFS=$as_save_IFS
13043 test -z "$as_dir" && as_dir=.
13044 for ac_exec_ext in '' $ac_executable_extensions; do
13045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13046 ac_cv_prog_ac_ct_CC="$ac_prog"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13048 break 2
13049 fi
13050 done
13051 done
13052 IFS=$as_save_IFS
13053
13054 fi
13055 fi
13056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13057 if test -n "$ac_ct_CC"; then
13058 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13059 echo "${ECHO_T}$ac_ct_CC" >&6; }
13060 else
13061 { echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6; }
13063 fi
13064
13065
13066 test -n "$ac_ct_CC" && break
13067 done
13068
13069 if test "x$ac_ct_CC" = x; then
13070 CC=""
13071 else
13072 case $cross_compiling:$ac_tool_warned in
13073 yes:)
13074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13075 whose name does not start with the host triplet. If you think this
13076 configuration is useful to you, please write to autoconf@gnu.org." >&5
13077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13078 whose name does not start with the host triplet. If you think this
13079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13080 ac_tool_warned=yes ;;
13081 esac
13082 CC=$ac_ct_CC
13083 fi
13084 fi
13085
13086 fi
13087
13088
13089 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13090 See \`config.log' for more details." >&5
13091 echo "$as_me: error: no acceptable C compiler found in \$PATH
13092 See \`config.log' for more details." >&2;}
13093 { (exit 1); exit 1; }; }
13094
13095 # Provide some information about the compiler.
13096 echo "$as_me:$LINENO: checking for C compiler version" >&5
13097 ac_compiler=`set X $ac_compile; echo $2`
13098 { (ac_try="$ac_compiler --version >&5"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13102 esac
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_compiler --version >&5") 2>&5
13105 ac_status=$?
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }
13108 { (ac_try="$ac_compiler -v >&5"
13109 case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13111 *) ac_try_echo=$ac_try;;
13112 esac
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_compiler -v >&5") 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }
13118 { (ac_try="$ac_compiler -V >&5"
13119 case "(($ac_try" in
13120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13122 esac
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_compiler -V >&5") 2>&5
13125 ac_status=$?
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }
13128
13129 cat >conftest.$ac_ext <<_ACEOF
13130 /* confdefs.h. */
13131 _ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135
13136 int
13137 main ()
13138 {
13139
13140 ;
13141 return 0;
13142 }
13143 _ACEOF
13144 ac_clean_files_save=$ac_clean_files
13145 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13146 # Try to create an executable without -o first, disregard a.out.
13147 # It will help us diagnose broken compilers, and finding out an intuition
13148 # of exeext.
13149 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13150 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13151 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13152 #
13153 # List of possible output files, starting from the most likely.
13154 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13155 # only as a last resort. b.out is created by i960 compilers.
13156 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13157 #
13158 # The IRIX 6 linker writes into existing files which may not be
13159 # executable, retaining their permissions. Remove them first so a
13160 # subsequent execution test works.
13161 ac_rmfiles=
13162 for ac_file in $ac_files
13163 do
13164 case $ac_file in
13165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13166 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13167 esac
13168 done
13169 rm -f $ac_rmfiles
13170
13171 if { (ac_try="$ac_link_default"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13175 esac
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_link_default") 2>&5
13178 ac_status=$?
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; then
13181 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13182 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13183 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13184 # so that the user can short-circuit this test for compilers unknown to
13185 # Autoconf.
13186 for ac_file in $ac_files ''
13187 do
13188 test -f "$ac_file" || continue
13189 case $ac_file in
13190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13191 ;;
13192 [ab].out )
13193 # We found the default executable, but exeext='' is most
13194 # certainly right.
13195 break;;
13196 *.* )
13197 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13198 then :; else
13199 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13200 fi
13201 # We set ac_cv_exeext here because the later test for it is not
13202 # safe: cross compilers may not add the suffix if given an `-o'
13203 # argument, so we may need to know it at that point already.
13204 # Even if this section looks crufty: it has the advantage of
13205 # actually working.
13206 break;;
13207 * )
13208 break;;
13209 esac
13210 done
13211 test "$ac_cv_exeext" = no && ac_cv_exeext=
13212
13213 else
13214 ac_file=''
13215 fi
13216
13217 { echo "$as_me:$LINENO: result: $ac_file" >&5
13218 echo "${ECHO_T}$ac_file" >&6; }
13219 if test -z "$ac_file"; then
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13222
13223 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13224 See \`config.log' for more details." >&5
13225 echo "$as_me: error: C compiler cannot create executables
13226 See \`config.log' for more details." >&2;}
13227 { (exit 77); exit 77; }; }
13228 fi
13229
13230 ac_exeext=$ac_cv_exeext
13231
13232 # Check that the compiler produces executables we can run. If not, either
13233 # the compiler is broken, or we cross compile.
13234 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13235 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13236 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13237 # If not cross compiling, check that we can run a simple program.
13238 if test "$cross_compiling" != yes; then
13239 if { ac_try='./$ac_file'
13240 { (case "(($ac_try" in
13241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13243 esac
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_try") 2>&5
13246 ac_status=$?
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 cross_compiling=no
13250 else
13251 if test "$cross_compiling" = maybe; then
13252 cross_compiling=yes
13253 else
13254 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13255 If you meant to cross compile, use \`--host'.
13256 See \`config.log' for more details." >&5
13257 echo "$as_me: error: cannot run C compiled programs.
13258 If you meant to cross compile, use \`--host'.
13259 See \`config.log' for more details." >&2;}
13260 { (exit 1); exit 1; }; }
13261 fi
13262 fi
13263 fi
13264 { echo "$as_me:$LINENO: result: yes" >&5
13265 echo "${ECHO_T}yes" >&6; }
13266
13267 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13268 ac_clean_files=$ac_clean_files_save
13269 # Check that the compiler produces executables we can run. If not, either
13270 # the compiler is broken, or we cross compile.
13271 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13272 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13273 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13274 echo "${ECHO_T}$cross_compiling" >&6; }
13275
13276 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13277 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13278 if { (ac_try="$ac_link"
13279 case "(($ac_try" in
13280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13281 *) ac_try_echo=$ac_try;;
13282 esac
13283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13284 (eval "$ac_link") 2>&5
13285 ac_status=$?
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; then
13288 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13289 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13290 # work properly (i.e., refer to `conftest.exe'), while it won't with
13291 # `rm'.
13292 for ac_file in conftest.exe conftest conftest.*; do
13293 test -f "$ac_file" || continue
13294 case $ac_file in
13295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13296 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13297 break;;
13298 * ) break;;
13299 esac
13300 done
13301 else
13302 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13303 See \`config.log' for more details." >&5
13304 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13305 See \`config.log' for more details." >&2;}
13306 { (exit 1); exit 1; }; }
13307 fi
13308
13309 rm -f conftest$ac_cv_exeext
13310 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13311 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13312
13313 rm -f conftest.$ac_ext
13314 EXEEXT=$ac_cv_exeext
13315 ac_exeext=$EXEEXT
13316 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13317 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13318 if test "${ac_cv_objext+set}" = set; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13320 else
13321 cat >conftest.$ac_ext <<_ACEOF
13322 /* confdefs.h. */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327
13328 int
13329 main ()
13330 {
13331
13332 ;
13333 return 0;
13334 }
13335 _ACEOF
13336 rm -f conftest.o conftest.obj
13337 if { (ac_try="$ac_compile"
13338 case "(($ac_try" in
13339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13340 *) ac_try_echo=$ac_try;;
13341 esac
13342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13343 (eval "$ac_compile") 2>&5
13344 ac_status=$?
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); }; then
13347 for ac_file in conftest.o conftest.obj conftest.*; do
13348 test -f "$ac_file" || continue;
13349 case $ac_file in
13350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13352 break;;
13353 esac
13354 done
13355 else
13356 echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13358
13359 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13360 See \`config.log' for more details." >&5
13361 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13362 See \`config.log' for more details." >&2;}
13363 { (exit 1); exit 1; }; }
13364 fi
13365
13366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13367 fi
13368 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13369 echo "${ECHO_T}$ac_cv_objext" >&6; }
13370 OBJEXT=$ac_cv_objext
13371 ac_objext=$OBJEXT
13372 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13373 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13374 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 else
13377 cat >conftest.$ac_ext <<_ACEOF
13378 /* confdefs.h. */
13379 _ACEOF
13380 cat confdefs.h >>conftest.$ac_ext
13381 cat >>conftest.$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13383
13384 int
13385 main ()
13386 {
13387 #ifndef __GNUC__
13388 choke me
13389 #endif
13390
13391 ;
13392 return 0;
13393 }
13394 _ACEOF
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13399 *) ac_try_echo=$ac_try;;
13400 esac
13401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13403 ac_status=$?
13404 grep -v '^ *+' conftest.er1 >conftest.err
13405 rm -f conftest.er1
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.$ac_objext; then
13412 ac_compiler_gnu=yes
13413 else
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13416
13417 ac_compiler_gnu=no
13418 fi
13419
13420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13422
13423 fi
13424 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13425 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13426 GCC=`test $ac_compiler_gnu = yes && echo yes`
13427 ac_test_CFLAGS=${CFLAGS+set}
13428 ac_save_CFLAGS=$CFLAGS
13429 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13430 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13431 if test "${ac_cv_prog_cc_g+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13434 ac_save_c_werror_flag=$ac_c_werror_flag
13435 ac_c_werror_flag=yes
13436 ac_cv_prog_cc_g=no
13437 CFLAGS="-g"
13438 cat >conftest.$ac_ext <<_ACEOF
13439 /* confdefs.h. */
13440 _ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444
13445 int
13446 main ()
13447 {
13448
13449 ;
13450 return 0;
13451 }
13452 _ACEOF
13453 rm -f conftest.$ac_objext
13454 if { (ac_try="$ac_compile"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13458 esac
13459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_compile") 2>conftest.er1
13461 ac_status=$?
13462 grep -v '^ *+' conftest.er1 >conftest.err
13463 rm -f conftest.er1
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest.$ac_objext; then
13470 ac_cv_prog_cc_g=yes
13471 else
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13474
13475 CFLAGS=""
13476 cat >conftest.$ac_ext <<_ACEOF
13477 /* confdefs.h. */
13478 _ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482
13483 int
13484 main ()
13485 {
13486
13487 ;
13488 return 0;
13489 }
13490 _ACEOF
13491 rm -f conftest.$ac_objext
13492 if { (ac_try="$ac_compile"
13493 case "(($ac_try" in
13494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13495 *) ac_try_echo=$ac_try;;
13496 esac
13497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13498 (eval "$ac_compile") 2>conftest.er1
13499 ac_status=$?
13500 grep -v '^ *+' conftest.er1 >conftest.err
13501 rm -f conftest.er1
13502 cat conftest.err >&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } && {
13505 test -z "$ac_c_werror_flag" ||
13506 test ! -s conftest.err
13507 } && test -s conftest.$ac_objext; then
13508 :
13509 else
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13512
13513 ac_c_werror_flag=$ac_save_c_werror_flag
13514 CFLAGS="-g"
13515 cat >conftest.$ac_ext <<_ACEOF
13516 /* confdefs.h. */
13517 _ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13521
13522 int
13523 main ()
13524 {
13525
13526 ;
13527 return 0;
13528 }
13529 _ACEOF
13530 rm -f conftest.$ac_objext
13531 if { (ac_try="$ac_compile"
13532 case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13535 esac
13536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_compile") 2>conftest.er1
13538 ac_status=$?
13539 grep -v '^ *+' conftest.er1 >conftest.err
13540 rm -f conftest.er1
13541 cat conftest.err >&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); } && {
13544 test -z "$ac_c_werror_flag" ||
13545 test ! -s conftest.err
13546 } && test -s conftest.$ac_objext; then
13547 ac_cv_prog_cc_g=yes
13548 else
13549 echo "$as_me: failed program was:" >&5
13550 sed 's/^/| /' conftest.$ac_ext >&5
13551
13552
13553 fi
13554
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13556 fi
13557
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13559 fi
13560
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562 ac_c_werror_flag=$ac_save_c_werror_flag
13563 fi
13564 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13565 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13566 if test "$ac_test_CFLAGS" = set; then
13567 CFLAGS=$ac_save_CFLAGS
13568 elif test $ac_cv_prog_cc_g = yes; then
13569 if test "$GCC" = yes; then
13570 CFLAGS="-g -O2"
13571 else
13572 CFLAGS="-g"
13573 fi
13574 else
13575 if test "$GCC" = yes; then
13576 CFLAGS="-O2"
13577 else
13578 CFLAGS=
13579 fi
13580 fi
13581 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13582 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13583 if test "${ac_cv_prog_cc_c89+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 else
13586 ac_cv_prog_cc_c89=no
13587 ac_save_CC=$CC
13588 cat >conftest.$ac_ext <<_ACEOF
13589 /* confdefs.h. */
13590 _ACEOF
13591 cat confdefs.h >>conftest.$ac_ext
13592 cat >>conftest.$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13594 #include <stdarg.h>
13595 #include <stdio.h>
13596 #include <sys/types.h>
13597 #include <sys/stat.h>
13598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13599 struct buf { int x; };
13600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13601 static char *e (p, i)
13602 char **p;
13603 int i;
13604 {
13605 return p[i];
13606 }
13607 static char *f (char * (*g) (char **, int), char **p, ...)
13608 {
13609 char *s;
13610 va_list v;
13611 va_start (v,p);
13612 s = g (p, va_arg (v,int));
13613 va_end (v);
13614 return s;
13615 }
13616
13617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13618 function prototypes and stuff, but not '\xHH' hex character constants.
13619 These don't provoke an error unfortunately, instead are silently treated
13620 as 'x'. The following induces an error, until -std is added to get
13621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13622 array size at least. It's necessary to write '\x00'==0 to get something
13623 that's true only with -std. */
13624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13625
13626 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13627 inside strings and character constants. */
13628 #define FOO(x) 'x'
13629 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13630
13631 int test (int i, double x);
13632 struct s1 {int (*f) (int a);};
13633 struct s2 {int (*f) (double a);};
13634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13635 int argc;
13636 char **argv;
13637 int
13638 main ()
13639 {
13640 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13641 ;
13642 return 0;
13643 }
13644 _ACEOF
13645 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13647 do
13648 CC="$ac_save_CC $ac_arg"
13649 rm -f conftest.$ac_objext
13650 if { (ac_try="$ac_compile"
13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13654 esac
13655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_compile") 2>conftest.er1
13657 ac_status=$?
13658 grep -v '^ *+' conftest.er1 >conftest.err
13659 rm -f conftest.er1
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } && {
13663 test -z "$ac_c_werror_flag" ||
13664 test ! -s conftest.err
13665 } && test -s conftest.$ac_objext; then
13666 ac_cv_prog_cc_c89=$ac_arg
13667 else
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13670
13671
13672 fi
13673
13674 rm -f core conftest.err conftest.$ac_objext
13675 test "x$ac_cv_prog_cc_c89" != "xno" && break
13676 done
13677 rm -f conftest.$ac_ext
13678 CC=$ac_save_CC
13679
13680 fi
13681 # AC_CACHE_VAL
13682 case "x$ac_cv_prog_cc_c89" in
13683 x)
13684 { echo "$as_me:$LINENO: result: none needed" >&5
13685 echo "${ECHO_T}none needed" >&6; } ;;
13686 xno)
13687 { echo "$as_me:$LINENO: result: unsupported" >&5
13688 echo "${ECHO_T}unsupported" >&6; } ;;
13689 *)
13690 CC="$CC $ac_cv_prog_cc_c89"
13691 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13692 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13693 esac
13694
13695
13696 ac_ext=c
13697 ac_cpp='$CPP $CPPFLAGS'
13698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13701
13702
13703
13704 ac_ext=c
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13709
13710 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13711 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13712 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13713 echo $ECHO_N "(cached) $ECHO_C" >&6
13714 else
13715 cat >conftest.$ac_ext <<_ACEOF
13716 /* confdefs.h. */
13717 _ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13721
13722 int
13723 main ()
13724 {
13725
13726 #ifndef __INTEL_COMPILER
13727 choke me
13728 #endif
13729
13730 ;
13731 return 0;
13732 }
13733 _ACEOF
13734 rm -f conftest.$ac_objext
13735 if { (ac_try="$ac_compile"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13739 esac
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_compile") 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest.$ac_objext; then
13751 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13752 else
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13755
13756 bakefile_cv_c_compiler___INTEL_COMPILER=no
13757
13758 fi
13759
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761
13762
13763 fi
13764 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13765 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13766 ac_ext=c
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13771
13772 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13773 :; INTELCC=yes
13774 else
13775 :;
13776 fi
13777
13778
13779 if test "x$GCC" != "xyes"; then
13780 if test "xCC" = "xC"; then
13781 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13782 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13783 if test "${bakefile_cv_c_exto+set}" = set; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 cat >conftest.$ac_ext <<_ACEOF
13787 /* confdefs.h. */
13788 _ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792
13793 int
13794 main ()
13795 {
13796
13797 ;
13798 return 0;
13799 }
13800 _ACEOF
13801 rm -f conftest.$ac_objext conftest.$ac_ext.o
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 2>&5
13804 ac_status=$?
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); }; then
13807 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13808 case $ac_file in
13809 conftest.$ac_ext.o)
13810 bakefile_cv_c_exto="-ext o"
13811 ;;
13812 *)
13813 ;;
13814 esac
13815 done
13816 else
13817 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13818 See \`config.log' for more details." >&5
13819 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13820 See \`config.log' for more details." >&2;}
13821 { (exit 1); exit 1; }; }
13822
13823 fi
13824
13825 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13826
13827 fi
13828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13829 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13831 if test "c" = "c"; then
13832 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13833 fi
13834 if test "c" = "cxx"; then
13835 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13836 fi
13837 fi
13838
13839 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13840 unset ac_cv_prog_cc_g
13841 ac_test_CFLAGS=${CFLAGS+set}
13842 ac_save_CFLAGS=$CFLAGS
13843 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13845 if test "${ac_cv_prog_cc_g+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848 ac_save_c_werror_flag=$ac_c_werror_flag
13849 ac_c_werror_flag=yes
13850 ac_cv_prog_cc_g=no
13851 CFLAGS="-g"
13852 cat >conftest.$ac_ext <<_ACEOF
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858
13859 int
13860 main ()
13861 {
13862
13863 ;
13864 return 0;
13865 }
13866 _ACEOF
13867 rm -f conftest.$ac_objext
13868 if { (ac_try="$ac_compile"
13869 case "(($ac_try" in
13870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13871 *) ac_try_echo=$ac_try;;
13872 esac
13873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13874 (eval "$ac_compile") 2>conftest.er1
13875 ac_status=$?
13876 grep -v '^ *+' conftest.er1 >conftest.err
13877 rm -f conftest.er1
13878 cat conftest.err >&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } && {
13881 test -z "$ac_c_werror_flag" ||
13882 test ! -s conftest.err
13883 } && test -s conftest.$ac_objext; then
13884 ac_cv_prog_cc_g=yes
13885 else
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13888
13889 CFLAGS=""
13890 cat >conftest.$ac_ext <<_ACEOF
13891 /* confdefs.h. */
13892 _ACEOF
13893 cat confdefs.h >>conftest.$ac_ext
13894 cat >>conftest.$ac_ext <<_ACEOF
13895 /* end confdefs.h. */
13896
13897 int
13898 main ()
13899 {
13900
13901 ;
13902 return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest.$ac_objext
13906 if { (ac_try="$ac_compile"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13910 esac
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_compile") 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } && {
13919 test -z "$ac_c_werror_flag" ||
13920 test ! -s conftest.err
13921 } && test -s conftest.$ac_objext; then
13922 :
13923 else
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.$ac_ext >&5
13926
13927 ac_c_werror_flag=$ac_save_c_werror_flag
13928 CFLAGS="-g"
13929 cat >conftest.$ac_ext <<_ACEOF
13930 /* confdefs.h. */
13931 _ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935
13936 int
13937 main ()
13938 {
13939
13940 ;
13941 return 0;
13942 }
13943 _ACEOF
13944 rm -f conftest.$ac_objext
13945 if { (ac_try="$ac_compile"
13946 case "(($ac_try" in
13947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13948 *) ac_try_echo=$ac_try;;
13949 esac
13950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951 (eval "$ac_compile") 2>conftest.er1
13952 ac_status=$?
13953 grep -v '^ *+' conftest.er1 >conftest.err
13954 rm -f conftest.er1
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } && {
13958 test -z "$ac_c_werror_flag" ||
13959 test ! -s conftest.err
13960 } && test -s conftest.$ac_objext; then
13961 ac_cv_prog_cc_g=yes
13962 else
13963 echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.$ac_ext >&5
13965
13966
13967 fi
13968
13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13970 fi
13971
13972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13973 fi
13974
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 ac_c_werror_flag=$ac_save_c_werror_flag
13977 fi
13978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13980 if test "$ac_test_CFLAGS" = set; then
13981 CFLAGS=$ac_save_CFLAGS
13982 elif test $ac_cv_prog_cc_g = yes; then
13983 if test "$GCC" = yes; then
13984 CFLAGS="-g -O2"
13985 else
13986 CFLAGS="-g"
13987 fi
13988 else
13989 if test "$GCC" = yes; then
13990 CFLAGS="-O2"
13991 else
13992 CFLAGS=
13993 fi
13994 fi
13995 fi
13996 fi
13997
13998 case `uname -s` in
13999 AIX*)
14000 ac_ext=c
14001 ac_cpp='$CPP $CPPFLAGS'
14002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14005
14006 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14007 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14008 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 else
14011 cat >conftest.$ac_ext <<_ACEOF
14012 /* confdefs.h. */
14013 _ACEOF
14014 cat confdefs.h >>conftest.$ac_ext
14015 cat >>conftest.$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017
14018 int
14019 main ()
14020 {
14021 #ifndef __xlC__
14022 choke me
14023 #endif
14024
14025 ;
14026 return 0;
14027 }
14028 _ACEOF
14029 rm -f conftest.$ac_objext
14030 if { (ac_try="$ac_compile"
14031 case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14034 esac
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_compile") 2>conftest.er1
14037 ac_status=$?
14038 grep -v '^ *+' conftest.er1 >conftest.err
14039 rm -f conftest.er1
14040 cat conftest.err >&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); } && {
14043 test -z "$ac_c_werror_flag" ||
14044 test ! -s conftest.err
14045 } && test -s conftest.$ac_objext; then
14046 bakefile_compiler_xlc=yes
14047 else
14048 echo "$as_me: failed program was:" >&5
14049 sed 's/^/| /' conftest.$ac_ext >&5
14050
14051 bakefile_compiler_xlc=no
14052 fi
14053
14054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14055 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14056
14057 fi
14058 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14059 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14060
14061 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14062 ac_ext=c
14063 ac_cpp='$CPP $CPPFLAGS'
14064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14067
14068
14069 ;;
14070
14071 Darwin)
14072 ac_ext=c
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14077
14078 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14079 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14080 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 else
14083 cat >conftest.$ac_ext <<_ACEOF
14084 /* confdefs.h. */
14085 _ACEOF
14086 cat confdefs.h >>conftest.$ac_ext
14087 cat >>conftest.$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089
14090 int
14091 main ()
14092 {
14093 #ifndef __MWERKS__
14094 choke me
14095 #endif
14096
14097 ;
14098 return 0;
14099 }
14100 _ACEOF
14101 rm -f conftest.$ac_objext
14102 if { (ac_try="$ac_compile"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14106 esac
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_compile") 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest.$ac_objext; then
14118 bakefile_compiler_mwerks=yes
14119 else
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14122
14123 bakefile_compiler_mwerks=no
14124 fi
14125
14126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14128
14129 fi
14130 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14131 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14132
14133 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14134 ac_ext=c
14135 ac_cpp='$CPP $CPPFLAGS'
14136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14139
14140
14141 ac_ext=c
14142 ac_cpp='$CPP $CPPFLAGS'
14143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14146
14147 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14148 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14149 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14151 else
14152 cat >conftest.$ac_ext <<_ACEOF
14153 /* confdefs.h. */
14154 _ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158
14159 int
14160 main ()
14161 {
14162 #ifndef __xlC__
14163 choke me
14164 #endif
14165
14166 ;
14167 return 0;
14168 }
14169 _ACEOF
14170 rm -f conftest.$ac_objext
14171 if { (ac_try="$ac_compile"
14172 case "(($ac_try" in
14173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14174 *) ac_try_echo=$ac_try;;
14175 esac
14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14177 (eval "$ac_compile") 2>conftest.er1
14178 ac_status=$?
14179 grep -v '^ *+' conftest.er1 >conftest.err
14180 rm -f conftest.er1
14181 cat conftest.err >&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } && {
14184 test -z "$ac_c_werror_flag" ||
14185 test ! -s conftest.err
14186 } && test -s conftest.$ac_objext; then
14187 bakefile_compiler_xlc=yes
14188 else
14189 echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.$ac_ext >&5
14191
14192 bakefile_compiler_xlc=no
14193 fi
14194
14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14196 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14197
14198 fi
14199 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14200 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14201
14202 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14203 ac_ext=c
14204 ac_cpp='$CPP $CPPFLAGS'
14205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14208
14209
14210 ;;
14211
14212 IRIX*)
14213
14214
14215 ac_ext=c
14216 ac_cpp='$CPP $CPPFLAGS'
14217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14220
14221 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14222 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14223 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 else
14226 cat >conftest.$ac_ext <<_ACEOF
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232
14233 int
14234 main ()
14235 {
14236
14237 #ifndef _SGI_COMPILER_VERSION
14238 choke me
14239 #endif
14240
14241 ;
14242 return 0;
14243 }
14244 _ACEOF
14245 rm -f conftest.$ac_objext
14246 if { (ac_try="$ac_compile"
14247 case "(($ac_try" in
14248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14249 *) ac_try_echo=$ac_try;;
14250 esac
14251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14252 (eval "$ac_compile") 2>conftest.er1
14253 ac_status=$?
14254 grep -v '^ *+' conftest.er1 >conftest.err
14255 rm -f conftest.er1
14256 cat conftest.err >&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } && {
14259 test -z "$ac_c_werror_flag" ||
14260 test ! -s conftest.err
14261 } && test -s conftest.$ac_objext; then
14262 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14263 else
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14266
14267 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14268
14269 fi
14270
14271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14272
14273
14274 fi
14275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14276 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14277 ac_ext=c
14278 ac_cpp='$CPP $CPPFLAGS'
14279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14282
14283 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14284 :; SGICC=yes
14285 else
14286 :;
14287 fi
14288
14289
14290 ;;
14291
14292 HP-UX*)
14293
14294
14295 ac_ext=c
14296 ac_cpp='$CPP $CPPFLAGS'
14297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14300
14301 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14302 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14303 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306 cat >conftest.$ac_ext <<_ACEOF
14307 /* confdefs.h. */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312
14313 int
14314 main ()
14315 {
14316
14317 #ifndef __HP_cc
14318 choke me
14319 #endif
14320
14321 ;
14322 return 0;
14323 }
14324 _ACEOF
14325 rm -f conftest.$ac_objext
14326 if { (ac_try="$ac_compile"
14327 case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14330 esac
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_compile") 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } && {
14339 test -z "$ac_c_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest.$ac_objext; then
14342 bakefile_cv_c_compiler___HP_cc=yes
14343 else
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.$ac_ext >&5
14346
14347 bakefile_cv_c_compiler___HP_cc=no
14348
14349 fi
14350
14351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14352
14353
14354 fi
14355 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14356 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14357 ac_ext=c
14358 ac_cpp='$CPP $CPPFLAGS'
14359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14362
14363 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14364 :; HPCC=yes
14365 else
14366 :;
14367 fi
14368
14369
14370 ;;
14371
14372 OSF1)
14373
14374
14375 ac_ext=c
14376 ac_cpp='$CPP $CPPFLAGS'
14377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14380
14381 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14382 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14383 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 else
14386 cat >conftest.$ac_ext <<_ACEOF
14387 /* confdefs.h. */
14388 _ACEOF
14389 cat confdefs.h >>conftest.$ac_ext
14390 cat >>conftest.$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14392
14393 int
14394 main ()
14395 {
14396
14397 #ifndef __DECC
14398 choke me
14399 #endif
14400
14401 ;
14402 return 0;
14403 }
14404 _ACEOF
14405 rm -f conftest.$ac_objext
14406 if { (ac_try="$ac_compile"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14410 esac
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_compile") 2>conftest.er1
14413 ac_status=$?
14414 grep -v '^ *+' conftest.er1 >conftest.err
14415 rm -f conftest.er1
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } && {
14419 test -z "$ac_c_werror_flag" ||
14420 test ! -s conftest.err
14421 } && test -s conftest.$ac_objext; then
14422 bakefile_cv_c_compiler___DECC=yes
14423 else
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.$ac_ext >&5
14426
14427 bakefile_cv_c_compiler___DECC=no
14428
14429 fi
14430
14431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14432
14433
14434 fi
14435 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14436 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14437 ac_ext=c
14438 ac_cpp='$CPP $CPPFLAGS'
14439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14442
14443 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14444 :; COMPAQCC=yes
14445 else
14446 :;
14447 fi
14448
14449
14450 ;;
14451
14452 SunOS)
14453
14454
14455 ac_ext=c
14456 ac_cpp='$CPP $CPPFLAGS'
14457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14460
14461 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14462 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14463 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 else
14466 cat >conftest.$ac_ext <<_ACEOF
14467 /* confdefs.h. */
14468 _ACEOF
14469 cat confdefs.h >>conftest.$ac_ext
14470 cat >>conftest.$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14472
14473 int
14474 main ()
14475 {
14476
14477 #ifndef __SUNPRO_C
14478 choke me
14479 #endif
14480
14481 ;
14482 return 0;
14483 }
14484 _ACEOF
14485 rm -f conftest.$ac_objext
14486 if { (ac_try="$ac_compile"
14487 case "(($ac_try" in
14488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14489 *) ac_try_echo=$ac_try;;
14490 esac
14491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14492 (eval "$ac_compile") 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } && {
14499 test -z "$ac_c_werror_flag" ||
14500 test ! -s conftest.err
14501 } && test -s conftest.$ac_objext; then
14502 bakefile_cv_c_compiler___SUNPRO_C=yes
14503 else
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14506
14507 bakefile_cv_c_compiler___SUNPRO_C=no
14508
14509 fi
14510
14511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14512
14513
14514 fi
14515 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14516 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14517 ac_ext=c
14518 ac_cpp='$CPP $CPPFLAGS'
14519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14522
14523 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14524 :; SUNCC=yes
14525 else
14526 :;
14527 fi
14528
14529
14530 ;;
14531 esac
14532 fi
14533
14534
14535
14536 ac_ext=c
14537 ac_cpp='$CPP $CPPFLAGS'
14538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14541 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14542 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14543 # On Suns, sometimes $CPP names a directory.
14544 if test -n "$CPP" && test -d "$CPP"; then
14545 CPP=
14546 fi
14547 if test -z "$CPP"; then
14548 if test "${ac_cv_prog_CPP+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551 # Double quotes because CPP needs to be expanded
14552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14553 do
14554 ac_preproc_ok=false
14555 for ac_c_preproc_warn_flag in '' yes
14556 do
14557 # Use a header file that comes with gcc, so configuring glibc
14558 # with a fresh cross-compiler works.
14559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14560 # <limits.h> exists even on freestanding compilers.
14561 # On the NeXT, cc -E runs the code through the compiler's parser,
14562 # not just through cpp. "Syntax error" is here to catch this case.
14563 cat >conftest.$ac_ext <<_ACEOF
14564 /* confdefs.h. */
14565 _ACEOF
14566 cat confdefs.h >>conftest.$ac_ext
14567 cat >>conftest.$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569 #ifdef __STDC__
14570 # include <limits.h>
14571 #else
14572 # include <assert.h>
14573 #endif
14574 Syntax error
14575 _ACEOF
14576 if { (ac_try="$ac_cpp conftest.$ac_ext"
14577 case "(($ac_try" in
14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14580 esac
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14583 ac_status=$?
14584 grep -v '^ *+' conftest.er1 >conftest.err
14585 rm -f conftest.er1
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } >/dev/null && {
14589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14590 test ! -s conftest.err
14591 }; then
14592 :
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14596
14597 # Broken: fails on valid input.
14598 continue
14599 fi
14600
14601 rm -f conftest.err conftest.$ac_ext
14602
14603 # OK, works on sane cases. Now check whether nonexistent headers
14604 # can be detected and how.
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 #include <ac_nonexistent.h>
14612 _ACEOF
14613 if { (ac_try="$ac_cpp conftest.$ac_ext"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14616 *) ac_try_echo=$ac_try;;
14617 esac
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14620 ac_status=$?
14621 grep -v '^ *+' conftest.er1 >conftest.err
14622 rm -f conftest.er1
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } >/dev/null && {
14626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14628 }; then
14629 # Broken: success on invalid input.
14630 continue
14631 else
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.$ac_ext >&5
14634
14635 # Passes both tests.
14636 ac_preproc_ok=:
14637 break
14638 fi
14639
14640 rm -f conftest.err conftest.$ac_ext
14641
14642 done
14643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14644 rm -f conftest.err conftest.$ac_ext
14645 if $ac_preproc_ok; then
14646 break
14647 fi
14648
14649 done
14650 ac_cv_prog_CPP=$CPP
14651
14652 fi
14653 CPP=$ac_cv_prog_CPP
14654 else
14655 ac_cv_prog_CPP=$CPP
14656 fi
14657 { echo "$as_me:$LINENO: result: $CPP" >&5
14658 echo "${ECHO_T}$CPP" >&6; }
14659 ac_preproc_ok=false
14660 for ac_c_preproc_warn_flag in '' yes
14661 do
14662 # Use a header file that comes with gcc, so configuring glibc
14663 # with a fresh cross-compiler works.
14664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14665 # <limits.h> exists even on freestanding compilers.
14666 # On the NeXT, cc -E runs the code through the compiler's parser,
14667 # not just through cpp. "Syntax error" is here to catch this case.
14668 cat >conftest.$ac_ext <<_ACEOF
14669 /* confdefs.h. */
14670 _ACEOF
14671 cat confdefs.h >>conftest.$ac_ext
14672 cat >>conftest.$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14674 #ifdef __STDC__
14675 # include <limits.h>
14676 #else
14677 # include <assert.h>
14678 #endif
14679 Syntax error
14680 _ACEOF
14681 if { (ac_try="$ac_cpp conftest.$ac_ext"
14682 case "(($ac_try" in
14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14685 esac
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14688 ac_status=$?
14689 grep -v '^ *+' conftest.er1 >conftest.err
14690 rm -f conftest.er1
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } >/dev/null && {
14694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14696 }; then
14697 :
14698 else
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14701
14702 # Broken: fails on valid input.
14703 continue
14704 fi
14705
14706 rm -f conftest.err conftest.$ac_ext
14707
14708 # OK, works on sane cases. Now check whether nonexistent headers
14709 # can be detected and how.
14710 cat >conftest.$ac_ext <<_ACEOF
14711 /* confdefs.h. */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 #include <ac_nonexistent.h>
14717 _ACEOF
14718 if { (ac_try="$ac_cpp conftest.$ac_ext"
14719 case "(($ac_try" in
14720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14721 *) ac_try_echo=$ac_try;;
14722 esac
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14725 ac_status=$?
14726 grep -v '^ *+' conftest.er1 >conftest.err
14727 rm -f conftest.er1
14728 cat conftest.err >&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } >/dev/null && {
14731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14732 test ! -s conftest.err
14733 }; then
14734 # Broken: success on invalid input.
14735 continue
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 # Passes both tests.
14741 ac_preproc_ok=:
14742 break
14743 fi
14744
14745 rm -f conftest.err conftest.$ac_ext
14746
14747 done
14748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14749 rm -f conftest.err conftest.$ac_ext
14750 if $ac_preproc_ok; then
14751 :
14752 else
14753 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; }
14758 fi
14759
14760 ac_ext=c
14761 ac_cpp='$CPP $CPPFLAGS'
14762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14765
14766
14767 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14768 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14769 if test "${ac_cv_path_GREP+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 else
14772 # Extract the first word of "grep ggrep" to use in msg output
14773 if test -z "$GREP"; then
14774 set dummy grep ggrep; ac_prog_name=$2
14775 if test "${ac_cv_path_GREP+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14778 ac_path_GREP_found=false
14779 # Loop through the user's path and test for each of PROGNAME-LIST
14780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14781 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14782 do
14783 IFS=$as_save_IFS
14784 test -z "$as_dir" && as_dir=.
14785 for ac_prog in grep ggrep; do
14786 for ac_exec_ext in '' $ac_executable_extensions; do
14787 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14788 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14789 # Check for GNU ac_path_GREP and select it if it is found.
14790 # Check for GNU $ac_path_GREP
14791 case `"$ac_path_GREP" --version 2>&1` in
14792 *GNU*)
14793 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14794 *)
14795 ac_count=0
14796 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14797 while :
14798 do
14799 cat "conftest.in" "conftest.in" >"conftest.tmp"
14800 mv "conftest.tmp" "conftest.in"
14801 cp "conftest.in" "conftest.nl"
14802 echo 'GREP' >> "conftest.nl"
14803 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14804 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14805 ac_count=`expr $ac_count + 1`
14806 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14807 # Best one so far, save it but keep looking for a better one
14808 ac_cv_path_GREP="$ac_path_GREP"
14809 ac_path_GREP_max=$ac_count
14810 fi
14811 # 10*(2^10) chars as input seems more than enough
14812 test $ac_count -gt 10 && break
14813 done
14814 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14815 esac
14816
14817
14818 $ac_path_GREP_found && break 3
14819 done
14820 done
14821
14822 done
14823 IFS=$as_save_IFS
14824
14825
14826 fi
14827
14828 GREP="$ac_cv_path_GREP"
14829 if test -z "$GREP"; then
14830 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14831 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14832 { (exit 1); exit 1; }; }
14833 fi
14834
14835 else
14836 ac_cv_path_GREP=$GREP
14837 fi
14838
14839
14840 fi
14841 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14842 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14843 GREP="$ac_cv_path_GREP"
14844
14845
14846 { echo "$as_me:$LINENO: checking for egrep" >&5
14847 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14848 if test "${ac_cv_path_EGREP+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 else
14851 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14852 then ac_cv_path_EGREP="$GREP -E"
14853 else
14854 # Extract the first word of "egrep" to use in msg output
14855 if test -z "$EGREP"; then
14856 set dummy egrep; ac_prog_name=$2
14857 if test "${ac_cv_path_EGREP+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 ac_path_EGREP_found=false
14861 # Loop through the user's path and test for each of PROGNAME-LIST
14862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14863 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14864 do
14865 IFS=$as_save_IFS
14866 test -z "$as_dir" && as_dir=.
14867 for ac_prog in egrep; do
14868 for ac_exec_ext in '' $ac_executable_extensions; do
14869 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14870 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14871 # Check for GNU ac_path_EGREP and select it if it is found.
14872 # Check for GNU $ac_path_EGREP
14873 case `"$ac_path_EGREP" --version 2>&1` in
14874 *GNU*)
14875 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14876 *)
14877 ac_count=0
14878 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14879 while :
14880 do
14881 cat "conftest.in" "conftest.in" >"conftest.tmp"
14882 mv "conftest.tmp" "conftest.in"
14883 cp "conftest.in" "conftest.nl"
14884 echo 'EGREP' >> "conftest.nl"
14885 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14886 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14887 ac_count=`expr $ac_count + 1`
14888 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14889 # Best one so far, save it but keep looking for a better one
14890 ac_cv_path_EGREP="$ac_path_EGREP"
14891 ac_path_EGREP_max=$ac_count
14892 fi
14893 # 10*(2^10) chars as input seems more than enough
14894 test $ac_count -gt 10 && break
14895 done
14896 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14897 esac
14898
14899
14900 $ac_path_EGREP_found && break 3
14901 done
14902 done
14903
14904 done
14905 IFS=$as_save_IFS
14906
14907
14908 fi
14909
14910 EGREP="$ac_cv_path_EGREP"
14911 if test -z "$EGREP"; then
14912 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14913 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14914 { (exit 1); exit 1; }; }
14915 fi
14916
14917 else
14918 ac_cv_path_EGREP=$EGREP
14919 fi
14920
14921
14922 fi
14923 fi
14924 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14925 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14926 EGREP="$ac_cv_path_EGREP"
14927
14928
14929 if test $ac_cv_c_compiler_gnu = yes; then
14930 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14931 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14932 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 else
14935 ac_pattern="Autoconf.*'x'"
14936 cat >conftest.$ac_ext <<_ACEOF
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942 #include <sgtty.h>
14943 Autoconf TIOCGETP
14944 _ACEOF
14945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14946 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14947 ac_cv_prog_gcc_traditional=yes
14948 else
14949 ac_cv_prog_gcc_traditional=no
14950 fi
14951 rm -f conftest*
14952
14953
14954 if test $ac_cv_prog_gcc_traditional = no; then
14955 cat >conftest.$ac_ext <<_ACEOF
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 #include <termio.h>
14962 Autoconf TCGETA
14963 _ACEOF
14964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14965 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14966 ac_cv_prog_gcc_traditional=yes
14967 fi
14968 rm -f conftest*
14969
14970 fi
14971 fi
14972 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14973 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14974 if test $ac_cv_prog_gcc_traditional = yes; then
14975 CC="$CC -traditional"
14976 fi
14977 fi
14978
14979
14980 CXXFLAGS=${CXXFLAGS:=}
14981
14982
14983
14984 ac_ext=cpp
14985 ac_cpp='$CXXCPP $CPPFLAGS'
14986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14989 if test -z "$CXX"; then
14990 if test -n "$CCC"; then
14991 CXX=$CCC
14992 else
14993 if test -n "$ac_tool_prefix"; then
14994 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14995 do
14996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14997 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15000 if test "${ac_cv_prog_CXX+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15002 else
15003 if test -n "$CXX"; then
15004 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15005 else
15006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15007 for as_dir in $PATH
15008 do
15009 IFS=$as_save_IFS
15010 test -z "$as_dir" && as_dir=.
15011 for ac_exec_ext in '' $ac_executable_extensions; do
15012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15013 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15015 break 2
15016 fi
15017 done
15018 done
15019 IFS=$as_save_IFS
15020
15021 fi
15022 fi
15023 CXX=$ac_cv_prog_CXX
15024 if test -n "$CXX"; then
15025 { echo "$as_me:$LINENO: result: $CXX" >&5
15026 echo "${ECHO_T}$CXX" >&6; }
15027 else
15028 { echo "$as_me:$LINENO: result: no" >&5
15029 echo "${ECHO_T}no" >&6; }
15030 fi
15031
15032
15033 test -n "$CXX" && break
15034 done
15035 fi
15036 if test -z "$CXX"; then
15037 ac_ct_CXX=$CXX
15038 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15039 do
15040 # Extract the first word of "$ac_prog", so it can be a program name with args.
15041 set dummy $ac_prog; ac_word=$2
15042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15044 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 else
15047 if test -n "$ac_ct_CXX"; then
15048 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15049 else
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $PATH
15052 do
15053 IFS=$as_save_IFS
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 ac_cv_prog_ac_ct_CXX="$ac_prog"
15058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15059 break 2
15060 fi
15061 done
15062 done
15063 IFS=$as_save_IFS
15064
15065 fi
15066 fi
15067 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15068 if test -n "$ac_ct_CXX"; then
15069 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15070 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15071 else
15072 { echo "$as_me:$LINENO: result: no" >&5
15073 echo "${ECHO_T}no" >&6; }
15074 fi
15075
15076
15077 test -n "$ac_ct_CXX" && break
15078 done
15079
15080 if test "x$ac_ct_CXX" = x; then
15081 CXX="g++"
15082 else
15083 case $cross_compiling:$ac_tool_warned in
15084 yes:)
15085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15086 whose name does not start with the host triplet. If you think this
15087 configuration is useful to you, please write to autoconf@gnu.org." >&5
15088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15091 ac_tool_warned=yes ;;
15092 esac
15093 CXX=$ac_ct_CXX
15094 fi
15095 fi
15096
15097 fi
15098 fi
15099 # Provide some information about the compiler.
15100 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15101 ac_compiler=`set X $ac_compile; echo $2`
15102 { (ac_try="$ac_compiler --version >&5"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15106 esac
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compiler --version >&5") 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }
15112 { (ac_try="$ac_compiler -v >&5"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15116 esac
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compiler -v >&5") 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }
15122 { (ac_try="$ac_compiler -V >&5"
15123 case "(($ac_try" in
15124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15125 *) ac_try_echo=$ac_try;;
15126 esac
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_compiler -V >&5") 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }
15132
15133 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15134 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15135 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144
15145 int
15146 main ()
15147 {
15148 #ifndef __GNUC__
15149 choke me
15150 #endif
15151
15152 ;
15153 return 0;
15154 }
15155 _ACEOF
15156 rm -f conftest.$ac_objext
15157 if { (ac_try="$ac_compile"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15160 *) ac_try_echo=$ac_try;;
15161 esac
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_compile") 2>conftest.er1
15164 ac_status=$?
15165 grep -v '^ *+' conftest.er1 >conftest.err
15166 rm -f conftest.er1
15167 cat conftest.err >&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && {
15170 test -z "$ac_cxx_werror_flag" ||
15171 test ! -s conftest.err
15172 } && test -s conftest.$ac_objext; then
15173 ac_compiler_gnu=yes
15174 else
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.$ac_ext >&5
15177
15178 ac_compiler_gnu=no
15179 fi
15180
15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15183
15184 fi
15185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15186 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15187 GXX=`test $ac_compiler_gnu = yes && echo yes`
15188 ac_test_CXXFLAGS=${CXXFLAGS+set}
15189 ac_save_CXXFLAGS=$CXXFLAGS
15190 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15192 if test "${ac_cv_prog_cxx_g+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 else
15195 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15196 ac_cxx_werror_flag=yes
15197 ac_cv_prog_cxx_g=no
15198 CXXFLAGS="-g"
15199 cat >conftest.$ac_ext <<_ACEOF
15200 /* confdefs.h. */
15201 _ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15205
15206 int
15207 main ()
15208 {
15209
15210 ;
15211 return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219 esac
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15222 ac_status=$?
15223 grep -v '^ *+' conftest.er1 >conftest.err
15224 rm -f conftest.er1
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_cxx_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 ac_cv_prog_cxx_g=yes
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15235
15236 CXXFLAGS=""
15237 cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h. */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243
15244 int
15245 main ()
15246 {
15247
15248 ;
15249 return 0;
15250 }
15251 _ACEOF
15252 rm -f conftest.$ac_objext
15253 if { (ac_try="$ac_compile"
15254 case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 *) ac_try_echo=$ac_try;;
15257 esac
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_compile") 2>conftest.er1
15260 ac_status=$?
15261 grep -v '^ *+' conftest.er1 >conftest.err
15262 rm -f conftest.er1
15263 cat conftest.err >&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } && {
15266 test -z "$ac_cxx_werror_flag" ||
15267 test ! -s conftest.err
15268 } && test -s conftest.$ac_objext; then
15269 :
15270 else
15271 echo "$as_me: failed program was:" >&5
15272 sed 's/^/| /' conftest.$ac_ext >&5
15273
15274 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15275 CXXFLAGS="-g"
15276 cat >conftest.$ac_ext <<_ACEOF
15277 /* confdefs.h. */
15278 _ACEOF
15279 cat confdefs.h >>conftest.$ac_ext
15280 cat >>conftest.$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15282
15283 int
15284 main ()
15285 {
15286
15287 ;
15288 return 0;
15289 }
15290 _ACEOF
15291 rm -f conftest.$ac_objext
15292 if { (ac_try="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15296 esac
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15299 ac_status=$?
15300 grep -v '^ *+' conftest.er1 >conftest.err
15301 rm -f conftest.er1
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_cxx_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 ac_cv_prog_cxx_g=yes
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15312
15313
15314 fi
15315
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15317 fi
15318
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 fi
15321
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15324 fi
15325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15326 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15327 if test "$ac_test_CXXFLAGS" = set; then
15328 CXXFLAGS=$ac_save_CXXFLAGS
15329 elif test $ac_cv_prog_cxx_g = yes; then
15330 if test "$GXX" = yes; then
15331 CXXFLAGS="-g -O2"
15332 else
15333 CXXFLAGS="-g"
15334 fi
15335 else
15336 if test "$GXX" = yes; then
15337 CXXFLAGS="-O2"
15338 else
15339 CXXFLAGS=
15340 fi
15341 fi
15342 ac_ext=c
15343 ac_cpp='$CPP $CPPFLAGS'
15344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15347
15348
15349
15350 ac_ext=cpp
15351 ac_cpp='$CXXCPP $CPPFLAGS'
15352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15355
15356 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15357 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15358 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15360 else
15361 cat >conftest.$ac_ext <<_ACEOF
15362 /* confdefs.h. */
15363 _ACEOF
15364 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367
15368 int
15369 main ()
15370 {
15371
15372 #ifndef __INTEL_COMPILER
15373 choke me
15374 #endif
15375
15376 ;
15377 return 0;
15378 }
15379 _ACEOF
15380 rm -f conftest.$ac_objext
15381 if { (ac_try="$ac_compile"
15382 case "(($ac_try" in
15383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15384 *) ac_try_echo=$ac_try;;
15385 esac
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_compile") 2>conftest.er1
15388 ac_status=$?
15389 grep -v '^ *+' conftest.er1 >conftest.err
15390 rm -f conftest.er1
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && {
15394 test -z "$ac_cxx_werror_flag" ||
15395 test ! -s conftest.err
15396 } && test -s conftest.$ac_objext; then
15397 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15398 else
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5
15401
15402 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15403
15404 fi
15405
15406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15407
15408
15409 fi
15410 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15412 ac_ext=c
15413 ac_cpp='$CPP $CPPFLAGS'
15414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15417
15418 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15419 :; INTELCXX=yes
15420 else
15421 :;
15422 fi
15423
15424
15425 if test "x$GCXX" != "xyes"; then
15426 if test "xCXX" = "xC"; then
15427 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15428 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_exto+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 else
15432 cat >conftest.$ac_ext <<_ACEOF
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438
15439 int
15440 main ()
15441 {
15442
15443 ;
15444 return 0;
15445 }
15446 _ACEOF
15447 rm -f conftest.$ac_objext conftest.$ac_ext.o
15448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15449 (eval $ac_compile) 2>&5
15450 ac_status=$?
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; then
15453 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15454 case $ac_file in
15455 conftest.$ac_ext.o)
15456 bakefile_cv_c_exto="-ext o"
15457 ;;
15458 *)
15459 ;;
15460 esac
15461 done
15462 else
15463 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15464 See \`config.log' for more details." >&5
15465 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15466 See \`config.log' for more details." >&2;}
15467 { (exit 1); exit 1; }; }
15468
15469 fi
15470
15471 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15472
15473 fi
15474 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15475 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15476 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15477 if test "c" = "c"; then
15478 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15479 fi
15480 if test "c" = "cxx"; then
15481 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15482 fi
15483 fi
15484
15485 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15486 unset ac_cv_prog_cc_g
15487 ac_test_CFLAGS=${CFLAGS+set}
15488 ac_save_CFLAGS=$CFLAGS
15489 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15491 if test "${ac_cv_prog_cc_g+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 else
15494 ac_save_c_werror_flag=$ac_c_werror_flag
15495 ac_c_werror_flag=yes
15496 ac_cv_prog_cc_g=no
15497 CFLAGS="-g"
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504
15505 int
15506 main ()
15507 {
15508
15509 ;
15510 return 0;
15511 }
15512 _ACEOF
15513 rm -f conftest.$ac_objext
15514 if { (ac_try="$ac_compile"
15515 case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15518 esac
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_compile") 2>conftest.er1
15521 ac_status=$?
15522 grep -v '^ *+' conftest.er1 >conftest.err
15523 rm -f conftest.er1
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } && {
15527 test -z "$ac_c_werror_flag" ||
15528 test ! -s conftest.err
15529 } && test -s conftest.$ac_objext; then
15530 ac_cv_prog_cc_g=yes
15531 else
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15534
15535 CFLAGS=""
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542
15543 int
15544 main ()
15545 {
15546
15547 ;
15548 return 0;
15549 }
15550 _ACEOF
15551 rm -f conftest.$ac_objext
15552 if { (ac_try="$ac_compile"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15555 *) ac_try_echo=$ac_try;;
15556 esac
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_compile") 2>conftest.er1
15559 ac_status=$?
15560 grep -v '^ *+' conftest.er1 >conftest.err
15561 rm -f conftest.er1
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest.$ac_objext; then
15568 :
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15572
15573 ac_c_werror_flag=$ac_save_c_werror_flag
15574 CFLAGS="-g"
15575 cat >conftest.$ac_ext <<_ACEOF
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581
15582 int
15583 main ()
15584 {
15585
15586 ;
15587 return 0;
15588 }
15589 _ACEOF
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15595 esac
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15598 ac_status=$?
15599 grep -v '^ *+' conftest.er1 >conftest.err
15600 rm -f conftest.er1
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 ac_cv_prog_cc_g=yes
15608 else
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15611
15612
15613 fi
15614
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15616 fi
15617
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 fi
15620
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 ac_c_werror_flag=$ac_save_c_werror_flag
15623 fi
15624 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15625 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15626 if test "$ac_test_CFLAGS" = set; then
15627 CFLAGS=$ac_save_CFLAGS
15628 elif test $ac_cv_prog_cc_g = yes; then
15629 if test "$GCC" = yes; then
15630 CFLAGS="-g -O2"
15631 else
15632 CFLAGS="-g"
15633 fi
15634 else
15635 if test "$GCC" = yes; then
15636 CFLAGS="-O2"
15637 else
15638 CFLAGS=
15639 fi
15640 fi
15641 fi
15642 fi
15643
15644 case `uname -s` in
15645 AIX*)
15646 ac_ext=cpp
15647 ac_cpp='$CXXCPP $CPPFLAGS'
15648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15651
15652 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15653 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15654 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15655 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 else
15657 cat >conftest.$ac_ext <<_ACEOF
15658 /* confdefs.h. */
15659 _ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15663
15664 int
15665 main ()
15666 {
15667 #ifndef __xlC__
15668 choke me
15669 #endif
15670
15671 ;
15672 return 0;
15673 }
15674 _ACEOF
15675 rm -f conftest.$ac_objext
15676 if { (ac_try="$ac_compile"
15677 case "(($ac_try" in
15678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15679 *) ac_try_echo=$ac_try;;
15680 esac
15681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15682 (eval "$ac_compile") 2>conftest.er1
15683 ac_status=$?
15684 grep -v '^ *+' conftest.er1 >conftest.err
15685 rm -f conftest.er1
15686 cat conftest.err >&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } && {
15689 test -z "$ac_cxx_werror_flag" ||
15690 test ! -s conftest.err
15691 } && test -s conftest.$ac_objext; then
15692 bakefile_compiler_xlc=yes
15693 else
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15696
15697 bakefile_compiler_xlc=no
15698 fi
15699
15700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15701 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15702
15703 fi
15704 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15705 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15706
15707 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15708 ac_ext=c
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15713
15714
15715 ;;
15716
15717 Darwin)
15718 ac_ext=cpp
15719 ac_cpp='$CXXCPP $CPPFLAGS'
15720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15723
15724 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 else
15729 cat >conftest.$ac_ext <<_ACEOF
15730 /* confdefs.h. */
15731 _ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735
15736 int
15737 main ()
15738 {
15739 #ifndef __MWERKS__
15740 choke me
15741 #endif
15742
15743 ;
15744 return 0;
15745 }
15746 _ACEOF
15747 rm -f conftest.$ac_objext
15748 if { (ac_try="$ac_compile"
15749 case "(($ac_try" in
15750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15751 *) ac_try_echo=$ac_try;;
15752 esac
15753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15754 (eval "$ac_compile") 2>conftest.er1
15755 ac_status=$?
15756 grep -v '^ *+' conftest.er1 >conftest.err
15757 rm -f conftest.er1
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } && {
15761 test -z "$ac_cxx_werror_flag" ||
15762 test ! -s conftest.err
15763 } && test -s conftest.$ac_objext; then
15764 bakefile_compiler_mwerks=yes
15765 else
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15768
15769 bakefile_compiler_mwerks=no
15770 fi
15771
15772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15773 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15774
15775 fi
15776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15777 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15778
15779 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15780 ac_ext=c
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15785
15786
15787 ac_ext=cpp
15788 ac_cpp='$CXXCPP $CPPFLAGS'
15789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15792
15793 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15794 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15795 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15797 else
15798 cat >conftest.$ac_ext <<_ACEOF
15799 /* confdefs.h. */
15800 _ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804
15805 int
15806 main ()
15807 {
15808 #ifndef __xlC__
15809 choke me
15810 #endif
15811
15812 ;
15813 return 0;
15814 }
15815 _ACEOF
15816 rm -f conftest.$ac_objext
15817 if { (ac_try="$ac_compile"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15821 esac
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_compile") 2>conftest.er1
15824 ac_status=$?
15825 grep -v '^ *+' conftest.er1 >conftest.err
15826 rm -f conftest.er1
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } && {
15830 test -z "$ac_cxx_werror_flag" ||
15831 test ! -s conftest.err
15832 } && test -s conftest.$ac_objext; then
15833 bakefile_compiler_xlc=yes
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15837
15838 bakefile_compiler_xlc=no
15839 fi
15840
15841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15842 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15843
15844 fi
15845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15846 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15847
15848 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15849 ac_ext=c
15850 ac_cpp='$CPP $CPPFLAGS'
15851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15854
15855
15856 ;;
15857
15858 IRIX*)
15859
15860
15861 ac_ext=cpp
15862 ac_cpp='$CXXCPP $CPPFLAGS'
15863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15866
15867 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15868 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15869 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15871 else
15872 cat >conftest.$ac_ext <<_ACEOF
15873 /* confdefs.h. */
15874 _ACEOF
15875 cat confdefs.h >>conftest.$ac_ext
15876 cat >>conftest.$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878
15879 int
15880 main ()
15881 {
15882
15883 #ifndef _SGI_COMPILER_VERSION
15884 choke me
15885 #endif
15886
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 rm -f conftest.$ac_objext
15892 if { (ac_try="$ac_compile"
15893 case "(($ac_try" in
15894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15896 esac
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_compile") 2>conftest.er1
15899 ac_status=$?
15900 grep -v '^ *+' conftest.er1 >conftest.err
15901 rm -f conftest.er1
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && {
15905 test -z "$ac_cxx_werror_flag" ||
15906 test ! -s conftest.err
15907 } && test -s conftest.$ac_objext; then
15908 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15909 else
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15912
15913 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15914
15915 fi
15916
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919
15920 fi
15921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15922 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15923 ac_ext=c
15924 ac_cpp='$CPP $CPPFLAGS'
15925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15928
15929 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15930 :; SGICXX=yes
15931 else
15932 :;
15933 fi
15934
15935
15936 ;;
15937
15938 HP-UX*)
15939
15940
15941 ac_ext=cpp
15942 ac_cpp='$CXXCPP $CPPFLAGS'
15943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15946
15947 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15948 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15949 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15952 cat >conftest.$ac_ext <<_ACEOF
15953 /* confdefs.h. */
15954 _ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958
15959 int
15960 main ()
15961 {
15962
15963 #ifndef __HP_aCC
15964 choke me
15965 #endif
15966
15967 ;
15968 return 0;
15969 }
15970 _ACEOF
15971 rm -f conftest.$ac_objext
15972 if { (ac_try="$ac_compile"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_compile") 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_cxx_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest.$ac_objext; then
15988 bakefile_cv_cxx_compiler___HP_aCC=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 bakefile_cv_cxx_compiler___HP_aCC=no
15994
15995 fi
15996
15997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15998
15999
16000 fi
16001 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16002 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16003 ac_ext=c
16004 ac_cpp='$CPP $CPPFLAGS'
16005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16008
16009 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16010 :; HPCXX=yes
16011 else
16012 :;
16013 fi
16014
16015
16016 ;;
16017
16018 OSF1)
16019
16020
16021 ac_ext=cpp
16022 ac_cpp='$CXXCPP $CPPFLAGS'
16023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16026
16027 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16028 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16029 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032 cat >conftest.$ac_ext <<_ACEOF
16033 /* confdefs.h. */
16034 _ACEOF
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16038
16039 int
16040 main ()
16041 {
16042
16043 #ifndef __DECCXX
16044 choke me
16045 #endif
16046
16047 ;
16048 return 0;
16049 }
16050 _ACEOF
16051 rm -f conftest.$ac_objext
16052 if { (ac_try="$ac_compile"
16053 case "(($ac_try" in
16054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16056 esac
16057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16058 (eval "$ac_compile") 2>conftest.er1
16059 ac_status=$?
16060 grep -v '^ *+' conftest.er1 >conftest.err
16061 rm -f conftest.er1
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && {
16065 test -z "$ac_cxx_werror_flag" ||
16066 test ! -s conftest.err
16067 } && test -s conftest.$ac_objext; then
16068 bakefile_cv_cxx_compiler___DECCXX=yes
16069 else
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16072
16073 bakefile_cv_cxx_compiler___DECCXX=no
16074
16075 fi
16076
16077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16078
16079
16080 fi
16081 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16082 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16083 ac_ext=c
16084 ac_cpp='$CPP $CPPFLAGS'
16085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16088
16089 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16090 :; COMPAQCXX=yes
16091 else
16092 :;
16093 fi
16094
16095
16096 ;;
16097
16098 SunOS)
16099
16100
16101 ac_ext=cpp
16102 ac_cpp='$CXXCPP $CPPFLAGS'
16103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16106
16107 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16108 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16109 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112 cat >conftest.$ac_ext <<_ACEOF
16113 /* confdefs.h. */
16114 _ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118
16119 int
16120 main ()
16121 {
16122
16123 #ifndef __SUNPRO_CC
16124 choke me
16125 #endif
16126
16127 ;
16128 return 0;
16129 }
16130 _ACEOF
16131 rm -f conftest.$ac_objext
16132 if { (ac_try="$ac_compile"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16135 *) ac_try_echo=$ac_try;;
16136 esac
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_compile") 2>conftest.er1
16139 ac_status=$?
16140 grep -v '^ *+' conftest.er1 >conftest.err
16141 rm -f conftest.er1
16142 cat conftest.err >&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } && {
16145 test -z "$ac_cxx_werror_flag" ||
16146 test ! -s conftest.err
16147 } && test -s conftest.$ac_objext; then
16148 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16154
16155 fi
16156
16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16158
16159
16160 fi
16161 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16162 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16168
16169 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16170 :; SUNCXX=yes
16171 else
16172 :;
16173 fi
16174
16175
16176 ;;
16177 esac
16178 fi
16179
16180
16181
16182 if test -n "$ac_tool_prefix"; then
16183 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16184 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16187 if test "${ac_cv_prog_RANLIB+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 if test -n "$RANLIB"; then
16191 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16192 else
16193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16194 for as_dir in $PATH
16195 do
16196 IFS=$as_save_IFS
16197 test -z "$as_dir" && as_dir=.
16198 for ac_exec_ext in '' $ac_executable_extensions; do
16199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16200 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16202 break 2
16203 fi
16204 done
16205 done
16206 IFS=$as_save_IFS
16207
16208 fi
16209 fi
16210 RANLIB=$ac_cv_prog_RANLIB
16211 if test -n "$RANLIB"; then
16212 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16213 echo "${ECHO_T}$RANLIB" >&6; }
16214 else
16215 { echo "$as_me:$LINENO: result: no" >&5
16216 echo "${ECHO_T}no" >&6; }
16217 fi
16218
16219
16220 fi
16221 if test -z "$ac_cv_prog_RANLIB"; then
16222 ac_ct_RANLIB=$RANLIB
16223 # Extract the first word of "ranlib", so it can be a program name with args.
16224 set dummy ranlib; ac_word=$2
16225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16227 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 else
16230 if test -n "$ac_ct_RANLIB"; then
16231 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16232 else
16233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16234 for as_dir in $PATH
16235 do
16236 IFS=$as_save_IFS
16237 test -z "$as_dir" && as_dir=.
16238 for ac_exec_ext in '' $ac_executable_extensions; do
16239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16240 ac_cv_prog_ac_ct_RANLIB="ranlib"
16241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16242 break 2
16243 fi
16244 done
16245 done
16246 IFS=$as_save_IFS
16247
16248 fi
16249 fi
16250 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16251 if test -n "$ac_ct_RANLIB"; then
16252 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16253 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16254 else
16255 { echo "$as_me:$LINENO: result: no" >&5
16256 echo "${ECHO_T}no" >&6; }
16257 fi
16258
16259 if test "x$ac_ct_RANLIB" = x; then
16260 RANLIB=":"
16261 else
16262 case $cross_compiling:$ac_tool_warned in
16263 yes:)
16264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16265 whose name does not start with the host triplet. If you think this
16266 configuration is useful to you, please write to autoconf@gnu.org." >&5
16267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16268 whose name does not start with the host triplet. If you think this
16269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16270 ac_tool_warned=yes ;;
16271 esac
16272 RANLIB=$ac_ct_RANLIB
16273 fi
16274 else
16275 RANLIB="$ac_cv_prog_RANLIB"
16276 fi
16277
16278
16279 if test "x$SUNCXX" != xyes; then
16280 if test -n "$ac_tool_prefix"; then
16281 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16282 set dummy ${ac_tool_prefix}ar; ac_word=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_AR+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 else
16288 if test -n "$AR"; then
16289 ac_cv_prog_AR="$AR" # Let the user override the test.
16290 else
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16293 do
16294 IFS=$as_save_IFS
16295 test -z "$as_dir" && as_dir=.
16296 for ac_exec_ext in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_AR="${ac_tool_prefix}ar"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16300 break 2
16301 fi
16302 done
16303 done
16304 IFS=$as_save_IFS
16305
16306 fi
16307 fi
16308 AR=$ac_cv_prog_AR
16309 if test -n "$AR"; then
16310 { echo "$as_me:$LINENO: result: $AR" >&5
16311 echo "${ECHO_T}$AR" >&6; }
16312 else
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16315 fi
16316
16317
16318 fi
16319 if test -z "$ac_cv_prog_AR"; then
16320 ac_ct_AR=$AR
16321 # Extract the first word of "ar", so it can be a program name with args.
16322 set dummy ar; ac_word=$2
16323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16325 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16328 if test -n "$ac_ct_AR"; then
16329 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16330 else
16331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16332 for as_dir in $PATH
16333 do
16334 IFS=$as_save_IFS
16335 test -z "$as_dir" && as_dir=.
16336 for ac_exec_ext in '' $ac_executable_extensions; do
16337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16338 ac_cv_prog_ac_ct_AR="ar"
16339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16340 break 2
16341 fi
16342 done
16343 done
16344 IFS=$as_save_IFS
16345
16346 fi
16347 fi
16348 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16349 if test -n "$ac_ct_AR"; then
16350 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16351 echo "${ECHO_T}$ac_ct_AR" >&6; }
16352 else
16353 { echo "$as_me:$LINENO: result: no" >&5
16354 echo "${ECHO_T}no" >&6; }
16355 fi
16356
16357 if test "x$ac_ct_AR" = x; then
16358 AR=""
16359 else
16360 case $cross_compiling:$ac_tool_warned in
16361 yes:)
16362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16363 whose name does not start with the host triplet. If you think this
16364 configuration is useful to you, please write to autoconf@gnu.org." >&5
16365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16366 whose name does not start with the host triplet. If you think this
16367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16368 ac_tool_warned=yes ;;
16369 esac
16370 AR=$ac_ct_AR
16371 fi
16372 else
16373 AR="$ac_cv_prog_AR"
16374 fi
16375
16376 if test "x$AR" = "x" ; then
16377 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16378 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16379 { (exit 1); exit 1; }; }
16380 fi
16381 fi
16382
16383 # Find a good install program. We prefer a C program (faster),
16384 # so one script is as good as another. But avoid the broken or
16385 # incompatible versions:
16386 # SysV /etc/install, /usr/sbin/install
16387 # SunOS /usr/etc/install
16388 # IRIX /sbin/install
16389 # AIX /bin/install
16390 # AmigaOS /C/install, which installs bootblocks on floppy discs
16391 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16392 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16393 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16394 # OS/2's system install, which has a completely different semantic
16395 # ./install, which can be erroneously created by make from ./install.sh.
16396 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16397 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16398 if test -z "$INSTALL"; then
16399 if test "${ac_cv_path_install+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16403 for as_dir in $PATH
16404 do
16405 IFS=$as_save_IFS
16406 test -z "$as_dir" && as_dir=.
16407 # Account for people who put trailing slashes in PATH elements.
16408 case $as_dir/ in
16409 ./ | .// | /cC/* | \
16410 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16411 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16412 /usr/ucb/* ) ;;
16413 *)
16414 # OSF1 and SCO ODT 3.0 have their own names for install.
16415 # Don't use installbsd from OSF since it installs stuff as root
16416 # by default.
16417 for ac_prog in ginstall scoinst install; do
16418 for ac_exec_ext in '' $ac_executable_extensions; do
16419 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16420 if test $ac_prog = install &&
16421 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16422 # AIX install. It has an incompatible calling convention.
16423 :
16424 elif test $ac_prog = install &&
16425 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16426 # program-specific install script used by HP pwplus--don't use.
16427 :
16428 else
16429 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16430 break 3
16431 fi
16432 fi
16433 done
16434 done
16435 ;;
16436 esac
16437 done
16438 IFS=$as_save_IFS
16439
16440
16441 fi
16442 if test "${ac_cv_path_install+set}" = set; then
16443 INSTALL=$ac_cv_path_install
16444 else
16445 # As a last resort, use the slow shell script. Don't cache a
16446 # value for INSTALL within a source directory, because that will
16447 # break other packages using the cache if that directory is
16448 # removed, or if the value is a relative name.
16449 INSTALL=$ac_install_sh
16450 fi
16451 fi
16452 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16453 echo "${ECHO_T}$INSTALL" >&6; }
16454
16455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16456 # It thinks the first close brace ends the variable substitution.
16457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16458
16459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16460
16461 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16462
16463
16464 case ${INSTALL} in
16465 /* ) # Absolute
16466 ;;
16467 ?:* ) # Drive letter, considered as absolute.
16468 ;;
16469 *)
16470 INSTALL=`pwd`/${INSTALL} ;;
16471 esac
16472
16473
16474 case "${host}" in
16475
16476 *-*-darwin* )
16477 INSTALL_PROGRAM="cp -fp"
16478 INSTALL_DATA="cp -fp"
16479 ;;
16480 *)
16481 ;;
16482 esac
16483
16484 if test -n "$ac_tool_prefix"; then
16485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16486 set dummy ${ac_tool_prefix}strip; ac_word=$2
16487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16489 if test "${ac_cv_prog_STRIP+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16491 else
16492 if test -n "$STRIP"; then
16493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16494 else
16495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16496 for as_dir in $PATH
16497 do
16498 IFS=$as_save_IFS
16499 test -z "$as_dir" && as_dir=.
16500 for ac_exec_ext in '' $ac_executable_extensions; do
16501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16502 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16504 break 2
16505 fi
16506 done
16507 done
16508 IFS=$as_save_IFS
16509
16510 fi
16511 fi
16512 STRIP=$ac_cv_prog_STRIP
16513 if test -n "$STRIP"; then
16514 { echo "$as_me:$LINENO: result: $STRIP" >&5
16515 echo "${ECHO_T}$STRIP" >&6; }
16516 else
16517 { echo "$as_me:$LINENO: result: no" >&5
16518 echo "${ECHO_T}no" >&6; }
16519 fi
16520
16521
16522 fi
16523 if test -z "$ac_cv_prog_STRIP"; then
16524 ac_ct_STRIP=$STRIP
16525 # Extract the first word of "strip", so it can be a program name with args.
16526 set dummy strip; ac_word=$2
16527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 if test -n "$ac_ct_STRIP"; then
16533 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16534 else
16535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16536 for as_dir in $PATH
16537 do
16538 IFS=$as_save_IFS
16539 test -z "$as_dir" && as_dir=.
16540 for ac_exec_ext in '' $ac_executable_extensions; do
16541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16542 ac_cv_prog_ac_ct_STRIP="strip"
16543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16544 break 2
16545 fi
16546 done
16547 done
16548 IFS=$as_save_IFS
16549
16550 fi
16551 fi
16552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16553 if test -n "$ac_ct_STRIP"; then
16554 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16555 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16556 else
16557 { echo "$as_me:$LINENO: result: no" >&5
16558 echo "${ECHO_T}no" >&6; }
16559 fi
16560
16561 if test "x$ac_ct_STRIP" = x; then
16562 STRIP="true"
16563 else
16564 case $cross_compiling:$ac_tool_warned in
16565 yes:)
16566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16567 whose name does not start with the host triplet. If you think this
16568 configuration is useful to you, please write to autoconf@gnu.org." >&5
16569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16570 whose name does not start with the host triplet. If you think this
16571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16572 ac_tool_warned=yes ;;
16573 esac
16574 STRIP=$ac_ct_STRIP
16575 fi
16576 else
16577 STRIP="$ac_cv_prog_STRIP"
16578 fi
16579
16580
16581 if test "$wxUSE_WINE" = "yes"; then
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16584 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_WINDRES+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 if test -n "$WINDRES"; then
16591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16592 else
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16595 do
16596 IFS=$as_save_IFS
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16602 break 2
16603 fi
16604 done
16605 done
16606 IFS=$as_save_IFS
16607
16608 fi
16609 fi
16610 WINDRES=$ac_cv_prog_WINDRES
16611 if test -n "$WINDRES"; then
16612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16613 echo "${ECHO_T}$WINDRES" >&6; }
16614 else
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16617 fi
16618
16619
16620 fi
16621 if test -z "$ac_cv_prog_WINDRES"; then
16622 ac_ct_WINDRES=$WINDRES
16623 # Extract the first word of "wrc", so it can be a program name with args.
16624 set dummy wrc; ac_word=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 else
16630 if test -n "$ac_ct_WINDRES"; then
16631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16632 else
16633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16634 for as_dir in $PATH
16635 do
16636 IFS=$as_save_IFS
16637 test -z "$as_dir" && as_dir=.
16638 for ac_exec_ext in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_WINDRES="wrc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16642 break 2
16643 fi
16644 done
16645 done
16646 IFS=$as_save_IFS
16647
16648 fi
16649 fi
16650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16651 if test -n "$ac_ct_WINDRES"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16654 else
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16657 fi
16658
16659 if test "x$ac_ct_WINDRES" = x; then
16660 WINDRES=""
16661 else
16662 case $cross_compiling:$ac_tool_warned in
16663 yes:)
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned=yes ;;
16671 esac
16672 WINDRES=$ac_ct_WINDRES
16673 fi
16674 else
16675 WINDRES="$ac_cv_prog_WINDRES"
16676 fi
16677
16678 RESCOMP="$WINDRES"
16679 else
16680 case "${host}" in
16681 *-*-cygwin* | *-*-mingw32* )
16682 if test -n "$ac_tool_prefix"; then
16683 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16684 set dummy ${ac_tool_prefix}windres; ac_word=$2
16685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16687 if test "${ac_cv_prog_WINDRES+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 if test -n "$WINDRES"; then
16691 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16692 else
16693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16694 for as_dir in $PATH
16695 do
16696 IFS=$as_save_IFS
16697 test -z "$as_dir" && as_dir=.
16698 for ac_exec_ext in '' $ac_executable_extensions; do
16699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16700 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16702 break 2
16703 fi
16704 done
16705 done
16706 IFS=$as_save_IFS
16707
16708 fi
16709 fi
16710 WINDRES=$ac_cv_prog_WINDRES
16711 if test -n "$WINDRES"; then
16712 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16713 echo "${ECHO_T}$WINDRES" >&6; }
16714 else
16715 { echo "$as_me:$LINENO: result: no" >&5
16716 echo "${ECHO_T}no" >&6; }
16717 fi
16718
16719
16720 fi
16721 if test -z "$ac_cv_prog_WINDRES"; then
16722 ac_ct_WINDRES=$WINDRES
16723 # Extract the first word of "windres", so it can be a program name with args.
16724 set dummy windres; ac_word=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 else
16730 if test -n "$ac_ct_WINDRES"; then
16731 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16732 else
16733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16734 for as_dir in $PATH
16735 do
16736 IFS=$as_save_IFS
16737 test -z "$as_dir" && as_dir=.
16738 for ac_exec_ext in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_ac_ct_WINDRES="windres"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16742 break 2
16743 fi
16744 done
16745 done
16746 IFS=$as_save_IFS
16747
16748 fi
16749 fi
16750 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16751 if test -n "$ac_ct_WINDRES"; then
16752 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16753 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16754 else
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16757 fi
16758
16759 if test "x$ac_ct_WINDRES" = x; then
16760 WINDRES=""
16761 else
16762 case $cross_compiling:$ac_tool_warned in
16763 yes:)
16764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&5
16767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16770 ac_tool_warned=yes ;;
16771 esac
16772 WINDRES=$ac_ct_WINDRES
16773 fi
16774 else
16775 WINDRES="$ac_cv_prog_WINDRES"
16776 fi
16777
16778 RESCOMP="$WINDRES"
16779 if test -n "$ac_tool_prefix"; then
16780 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16781 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16784 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 if test -n "$DLLTOOL"; then
16788 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16789 else
16790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16791 for as_dir in $PATH
16792 do
16793 IFS=$as_save_IFS
16794 test -z "$as_dir" && as_dir=.
16795 for ac_exec_ext in '' $ac_executable_extensions; do
16796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16797 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16799 break 2
16800 fi
16801 done
16802 done
16803 IFS=$as_save_IFS
16804
16805 fi
16806 fi
16807 DLLTOOL=$ac_cv_prog_DLLTOOL
16808 if test -n "$DLLTOOL"; then
16809 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16810 echo "${ECHO_T}$DLLTOOL" >&6; }
16811 else
16812 { echo "$as_me:$LINENO: result: no" >&5
16813 echo "${ECHO_T}no" >&6; }
16814 fi
16815
16816
16817 fi
16818 if test -z "$ac_cv_prog_DLLTOOL"; then
16819 ac_ct_DLLTOOL=$DLLTOOL
16820 # Extract the first word of "dlltool", so it can be a program name with args.
16821 set dummy dlltool; ac_word=$2
16822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16824 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 else
16827 if test -n "$ac_ct_DLLTOOL"; then
16828 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16829 else
16830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16831 for as_dir in $PATH
16832 do
16833 IFS=$as_save_IFS
16834 test -z "$as_dir" && as_dir=.
16835 for ac_exec_ext in '' $ac_executable_extensions; do
16836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16837 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16839 break 2
16840 fi
16841 done
16842 done
16843 IFS=$as_save_IFS
16844
16845 fi
16846 fi
16847 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16848 if test -n "$ac_ct_DLLTOOL"; then
16849 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16850 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16851 else
16852 { echo "$as_me:$LINENO: result: no" >&5
16853 echo "${ECHO_T}no" >&6; }
16854 fi
16855
16856 if test "x$ac_ct_DLLTOOL" = x; then
16857 DLLTOOL=""
16858 else
16859 case $cross_compiling:$ac_tool_warned in
16860 yes:)
16861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16862 whose name does not start with the host triplet. If you think this
16863 configuration is useful to you, please write to autoconf@gnu.org." >&5
16864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16865 whose name does not start with the host triplet. If you think this
16866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16867 ac_tool_warned=yes ;;
16868 esac
16869 DLLTOOL=$ac_ct_DLLTOOL
16870 fi
16871 else
16872 DLLTOOL="$ac_cv_prog_DLLTOOL"
16873 fi
16874
16875 ;;
16876 esac
16877 fi
16878
16879 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16880 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16881 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 else
16884
16885 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16886 $EGREP -s GNU > /dev/null); then
16887 wx_cv_prog_makeisgnu="yes"
16888 else
16889 wx_cv_prog_makeisgnu="no"
16890 fi
16891
16892 fi
16893 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16894 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16895
16896 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16897 IF_GNU_MAKE=""
16898 else
16899 IF_GNU_MAKE="#"
16900 fi
16901
16902
16903
16904 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16905 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16906 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16907 if test "${wx_cv_prog_makevpath+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 else
16910
16911 cat - << EOF > confMake
16912 check : file
16913 cp \$? \$@
16914 cp \$? final_file
16915 EOF
16916
16917 if test ! -d sub ; then
16918 mkdir sub
16919 fi
16920 echo dummy > sub/file
16921 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16922 RESULT=$?
16923 rm -f sub/file check final_file confMake
16924 rmdir sub
16925 if test "$RESULT" = 0; then
16926 wx_cv_prog_makevpath="yes"
16927 else
16928 wx_cv_prog_makevpath="no"
16929 fi
16930
16931 fi
16932 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16933 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16934
16935 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16936 { { echo "$as_me:$LINENO: error:
16937 You need a make-utility that is able to use the variable
16938 VPATH correctly.
16939 If your version of make does not support VPATH correctly,
16940 please install GNU-make (possibly as gmake), and start
16941 configure with the following command:
16942 export MAKE=gmake; ./configure for sh-type shells
16943 setenv MAKE gmake; ./configure for csh-type shells
16944 Also please do remember to use gmake in this case every time
16945 you are trying to compile.
16946 " >&5
16947 echo "$as_me: error:
16948 You need a make-utility that is able to use the variable
16949 VPATH correctly.
16950 If your version of make does not support VPATH correctly,
16951 please install GNU-make (possibly as gmake), and start
16952 configure with the following command:
16953 export MAKE=gmake; ./configure for sh-type shells
16954 setenv MAKE gmake; ./configure for csh-type shells
16955 Also please do remember to use gmake in this case every time
16956 you are trying to compile.
16957 " >&2;}
16958 { (exit 1); exit 1; }; }
16959 fi fi
16960 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16961 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16962 LN_S=$as_ln_s
16963 if test "$LN_S" = "ln -s"; then
16964 { echo "$as_me:$LINENO: result: yes" >&5
16965 echo "${ECHO_T}yes" >&6; }
16966 else
16967 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16968 echo "${ECHO_T}no, using $LN_S" >&6; }
16969 fi
16970
16971
16972
16973
16974 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16975 CXXFLAGS="-qunique $CXXFLAGS"
16976 fi
16977
16978 case "${host}" in
16979 powerpc-*-darwin* )
16980 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16981 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16982 cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988
16989 int
16990 main ()
16991 {
16992 #ifndef __POWERPC__
16993 choke me for lack of PowerPC
16994 #endif
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 rm -f conftest.$ac_objext
17001 if { (ac_try="$ac_compile"
17002 case "(($ac_try" in
17003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17005 esac
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_compile") 2>conftest.er1
17008 ac_status=$?
17009 grep -v '^ *+' conftest.er1 >conftest.err
17010 rm -f conftest.er1
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } && {
17014 test -z "$ac_c_werror_flag" ||
17015 test ! -s conftest.err
17016 } && test -s conftest.$ac_objext; then
17017 { echo "$as_me:$LINENO: result: yes" >&5
17018 echo "${ECHO_T}yes" >&6; }
17019 else
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17022
17023 { echo "$as_me:$LINENO: result: no" >&5
17024 echo "${ECHO_T}no" >&6; }
17025 cat >>confdefs.h <<\_ACEOF
17026 #define __POWERPC__ 1
17027 _ACEOF
17028
17029
17030 fi
17031
17032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033 ;;
17034 esac
17035
17036 case "${host}" in
17037 *-*-darwin* )
17038 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17039 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 #include <CoreFoundation/CFBase.h>
17047
17048 int
17049 main ()
17050 {
17051
17052 ;
17053 return 0;
17054 }
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (ac_try="$ac_compile"
17058 case "(($ac_try" in
17059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17060 *) ac_try_echo=$ac_try;;
17061 esac
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17064 ac_status=$?
17065 grep -v '^ *+' conftest.er1 >conftest.err
17066 rm -f conftest.er1
17067 cat conftest.err >&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.$ac_objext; then
17073 { echo "$as_me:$LINENO: result: yes" >&5
17074 echo "${ECHO_T}yes" >&6; }
17075 else
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17078
17079 { echo "$as_me:$LINENO: result: no" >&5
17080 echo "${ECHO_T}no" >&6; }
17081 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17082 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #define __CF_USE_FRAMEWORK_INCLUDES__
17090 #include <CoreFoundation/CFBase.h>
17091
17092 int
17093 main ()
17094 {
17095
17096 ;
17097 return 0;
17098 }
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (ac_try="$ac_compile"
17102 case "(($ac_try" in
17103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17105 esac
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_compile") 2>conftest.er1
17108 ac_status=$?
17109 grep -v '^ *+' conftest.er1 >conftest.err
17110 rm -f conftest.er1
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_c_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest.$ac_objext; then
17117 { echo "$as_me:$LINENO: result: yes" >&5
17118 echo "${ECHO_T}yes" >&6; }
17119 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17125 See \`config.log' for more details." >&5
17126 echo "$as_me: error: no. CoreFoundation not available.
17127 See \`config.log' for more details." >&2;}
17128 { (exit 1); exit 1; }; }
17129
17130 fi
17131
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133
17134
17135 fi
17136
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17138 ;;
17139 esac
17140
17141 wants_win32=0
17142 doesnt_want_win32=0
17143 case "${host}" in
17144 *-*-cygwin*)
17145 if test "$wxUSE_MSW" = 1 ; then
17146 wants_win32=1
17147 else
17148 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17149 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17150 if test "${wx_cv_nocygwin+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153
17154 cat >conftest.$ac_ext <<_ACEOF
17155 /* confdefs.h. */
17156 _ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160
17161 int
17162 main ()
17163 {
17164
17165 #ifdef __MINGW32__
17166 choke me
17167 #endif
17168
17169 ;
17170 return 0;
17171 }
17172 _ACEOF
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17178 esac
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17190 wx_cv_nocygwin=no
17191 else
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17194
17195 wx_cv_nocygwin=yes
17196
17197 fi
17198
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200
17201
17202 fi
17203 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17204 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17205
17206 if test "$wx_cv_nocygwin" = "yes"; then
17207 wants_win32=1
17208 else
17209 doesnt_want_win32=1
17210 fi
17211 fi
17212 if test "$wants_win32" = 1 ; then
17213 BAKEFILE_FORCE_PLATFORM=win32
17214 fi
17215 ;;
17216 *-*-mingw*)
17217 wants_win32=1
17218 ;;
17219 esac
17220
17221 if test "$wxUSE_WINE" = "yes"; then
17222 wants_win32=1
17223 LDFLAGS_GUI="-mwindows"
17224 fi
17225
17226 if test "$wants_win32" = 1 ; then
17227 USE_UNIX=0
17228 USE_WIN32=1
17229 cat >>confdefs.h <<\_ACEOF
17230 #define __WIN32__ 1
17231 _ACEOF
17232
17233 cat >>confdefs.h <<\_ACEOF
17234 #define __WIN95__ 1
17235 _ACEOF
17236
17237 cat >>confdefs.h <<\_ACEOF
17238 #define __WINDOWS__ 1
17239 _ACEOF
17240
17241 cat >>confdefs.h <<\_ACEOF
17242 #define __GNUWIN32__ 1
17243 _ACEOF
17244
17245 cat >>confdefs.h <<\_ACEOF
17246 #define STRICT 1
17247 _ACEOF
17248
17249 fi
17250 if test "$doesnt_want_win32" = 1 ; then
17251 USE_UNIX=1
17252 USE_WIN32=0
17253 fi
17254
17255 if test "$USE_UNIX" = 1 ; then
17256 wxUSE_UNIX=yes
17257 cat >>confdefs.h <<\_ACEOF
17258 #define __UNIX__ 1
17259 _ACEOF
17260
17261 fi
17262
17263 case "${host}" in
17264 *-pc-os2_emx | *-pc-os2-emx )
17265 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17266 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17267 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17268 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17270 else
17271 ac_check_lib_save_LIBS=$LIBS
17272 LIBS="-lcExt $LIBS"
17273 cat >conftest.$ac_ext <<_ACEOF
17274 /* confdefs.h. */
17275 _ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17283 #ifdef __cplusplus
17284 extern "C"
17285 #endif
17286 char drand48 ();
17287 int
17288 main ()
17289 {
17290 return drand48 ();
17291 ;
17292 return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext conftest$ac_exeext
17296 if { (ac_try="$ac_link"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17300 esac
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_link") 2>conftest.er1
17303 ac_status=$?
17304 grep -v '^ *+' conftest.er1 >conftest.err
17305 rm -f conftest.er1
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_c_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest$ac_exeext &&
17312 $as_test_x conftest$ac_exeext; then
17313 ac_cv_lib_cExt_drand48=yes
17314 else
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17317
17318 ac_cv_lib_cExt_drand48=no
17319 fi
17320
17321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17322 conftest$ac_exeext conftest.$ac_ext
17323 LIBS=$ac_check_lib_save_LIBS
17324 fi
17325 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17326 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17327 if test $ac_cv_lib_cExt_drand48 = yes; then
17328 LIBS="$LIBS -lcExt"
17329 fi
17330
17331 else
17332 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17333 fi
17334 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17335 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17336 if test "${wx_cv_gccversion+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 else
17339
17340 if test "$cross_compiling" = yes; then
17341 wx_cv_gccversion="EMX2"
17342
17343 else
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350
17351 #include <stdio.h>
17352
17353 int main()
17354 {
17355 FILE *f=fopen("conftestval", "w");
17356 if (!f) exit(1);
17357 fprintf(f,
17358 #if (__GNUC__ < 3)
17359 "EMX2"
17360 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17361 "EMX3"
17362 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17363 "Innotek5"
17364 #else
17365 "Innotek6"
17366 #endif
17367 );
17368 exit(0);
17369 }
17370
17371 _ACEOF
17372 rm -f conftest$ac_exeext
17373 if { (ac_try="$ac_link"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17377 esac
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_link") 2>&5
17380 ac_status=$?
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17383 { (case "(($ac_try" in
17384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17385 *) ac_try_echo=$ac_try;;
17386 esac
17387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17388 (eval "$ac_try") 2>&5
17389 ac_status=$?
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 wx_cv_gccversion=`cat conftestval`
17393 else
17394 echo "$as_me: program exited with status $ac_status" >&5
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17397
17398 ( exit $ac_status )
17399 wx_cv_gccversion="EMX2"
17400 fi
17401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17402 fi
17403
17404
17405
17406 fi
17407 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17408 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17409 if test "$wx_cv_gccversion" = "EMX2"; then
17410 LIBS="$LIBS -lstdcpp"
17411 LDFLAGS="$LDFLAGS -Zsysv-signals"
17412 else
17413 if test "$wx_cv_gccversion" = "EMX3"; then
17414 LIBS="$LIBS -lstdcxx -lgcc"
17415 LDFLAGS="$LDFLAGS -Zsysv-signals"
17416 else
17417 LIBS="$LIBS -lstdc++"
17418 fi
17419 fi
17420 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17421 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17422 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17423 wxUSE_OMF=yes
17424 enable_omf=yes
17425 fi
17426 ;;
17427 *)
17428
17429 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17430 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17431 if test "${ac_cv_string_strcasecmp+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 else
17434
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441
17442 #include <string.h>
17443
17444 int
17445 main ()
17446 {
17447
17448 strcasecmp("foo", "bar");
17449
17450 ;
17451 return 0;
17452 }
17453 _ACEOF
17454 rm -f conftest.$ac_objext conftest$ac_exeext
17455 if { (ac_try="$ac_link"
17456 case "(($ac_try" in
17457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17458 *) ac_try_echo=$ac_try;;
17459 esac
17460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_link") 2>conftest.er1
17462 ac_status=$?
17463 grep -v '^ *+' conftest.er1 >conftest.err
17464 rm -f conftest.er1
17465 cat conftest.err >&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } && {
17468 test -z "$ac_c_werror_flag" ||
17469 test ! -s conftest.err
17470 } && test -s conftest$ac_exeext &&
17471 $as_test_x conftest$ac_exeext; then
17472 ac_cv_string_strcasecmp=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17476
17477 ac_cv_string_strcasecmp=no
17478
17479 fi
17480
17481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17482 conftest$ac_exeext conftest.$ac_ext
17483
17484 fi
17485 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17486 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17487
17488 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17489 cat >>confdefs.h <<\_ACEOF
17490 #define HAVE_STRCASECMP_IN_STRING_H 1
17491 _ACEOF
17492
17493 else
17494 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17495 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17496 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17499
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506
17507 #include <strings.h>
17508
17509 int
17510 main ()
17511 {
17512
17513 strcasecmp("foo", "bar");
17514
17515 ;
17516 return 0;
17517 }
17518 _ACEOF
17519 rm -f conftest.$ac_objext conftest$ac_exeext
17520 if { (ac_try="$ac_link"
17521 case "(($ac_try" in
17522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17523 *) ac_try_echo=$ac_try;;
17524 esac
17525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17526 (eval "$ac_link") 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } && {
17533 test -z "$ac_c_werror_flag" ||
17534 test ! -s conftest.err
17535 } && test -s conftest$ac_exeext &&
17536 $as_test_x conftest$ac_exeext; then
17537 ac_cv_strings_strcasecmp=yes
17538 else
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17541
17542 ac_cv_strings_strcasecmp=no
17543
17544 fi
17545
17546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17547 conftest$ac_exeext conftest.$ac_ext
17548
17549 fi
17550 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17551 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17552
17553 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17554 cat >>confdefs.h <<\_ACEOF
17555 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17556 _ACEOF
17557
17558 else
17559 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17560 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17561 { (exit 1); exit 1; }; }
17562 fi
17563 fi
17564
17565 ;;
17566 esac
17567
17568
17569 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17570 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17571 if test "${ac_cv_header_stdc+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 else
17574 cat >conftest.$ac_ext <<_ACEOF
17575 /* confdefs.h. */
17576 _ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 #include <stdlib.h>
17581 #include <stdarg.h>
17582 #include <string.h>
17583 #include <float.h>
17584
17585 int
17586 main ()
17587 {
17588
17589 ;
17590 return 0;
17591 }
17592 _ACEOF
17593 rm -f conftest.$ac_objext
17594 if { (ac_try="$ac_compile"
17595 case "(($ac_try" in
17596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17597 *) ac_try_echo=$ac_try;;
17598 esac
17599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17600 (eval "$ac_compile") 2>conftest.er1
17601 ac_status=$?
17602 grep -v '^ *+' conftest.er1 >conftest.err
17603 rm -f conftest.er1
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } && {
17607 test -z "$ac_c_werror_flag" ||
17608 test ! -s conftest.err
17609 } && test -s conftest.$ac_objext; then
17610 ac_cv_header_stdc=yes
17611 else
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17614
17615 ac_cv_header_stdc=no
17616 fi
17617
17618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17619
17620 if test $ac_cv_header_stdc = yes; then
17621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17622 cat >conftest.$ac_ext <<_ACEOF
17623 /* confdefs.h. */
17624 _ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 #include <string.h>
17629
17630 _ACEOF
17631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17632 $EGREP "memchr" >/dev/null 2>&1; then
17633 :
17634 else
17635 ac_cv_header_stdc=no
17636 fi
17637 rm -f conftest*
17638
17639 fi
17640
17641 if test $ac_cv_header_stdc = yes; then
17642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 #include <stdlib.h>
17650
17651 _ACEOF
17652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17653 $EGREP "free" >/dev/null 2>&1; then
17654 :
17655 else
17656 ac_cv_header_stdc=no
17657 fi
17658 rm -f conftest*
17659
17660 fi
17661
17662 if test $ac_cv_header_stdc = yes; then
17663 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17664 if test "$cross_compiling" = yes; then
17665 :
17666 else
17667 cat >conftest.$ac_ext <<_ACEOF
17668 /* confdefs.h. */
17669 _ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17673 #include <ctype.h>
17674 #include <stdlib.h>
17675 #if ((' ' & 0x0FF) == 0x020)
17676 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17677 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17678 #else
17679 # define ISLOWER(c) \
17680 (('a' <= (c) && (c) <= 'i') \
17681 || ('j' <= (c) && (c) <= 'r') \
17682 || ('s' <= (c) && (c) <= 'z'))
17683 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17684 #endif
17685
17686 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17687 int
17688 main ()
17689 {
17690 int i;
17691 for (i = 0; i < 256; i++)
17692 if (XOR (islower (i), ISLOWER (i))
17693 || toupper (i) != TOUPPER (i))
17694 return 2;
17695 return 0;
17696 }
17697 _ACEOF
17698 rm -f conftest$ac_exeext
17699 if { (ac_try="$ac_link"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17703 esac
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_link") 2>&5
17706 ac_status=$?
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17709 { (case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17712 esac
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_try") 2>&5
17715 ac_status=$?
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 :
17719 else
17720 echo "$as_me: program exited with status $ac_status" >&5
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17723
17724 ( exit $ac_status )
17725 ac_cv_header_stdc=no
17726 fi
17727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17728 fi
17729
17730
17731 fi
17732 fi
17733 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17734 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17735 if test $ac_cv_header_stdc = yes; then
17736
17737 cat >>confdefs.h <<\_ACEOF
17738 #define STDC_HEADERS 1
17739 _ACEOF
17740
17741 fi
17742
17743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17754 inttypes.h stdint.h unistd.h
17755 do
17756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17757 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17762 cat >conftest.$ac_ext <<_ACEOF
17763 /* confdefs.h. */
17764 _ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17768 $ac_includes_default
17769
17770 #include <$ac_header>
17771 _ACEOF
17772 rm -f conftest.$ac_objext
17773 if { (ac_try="$ac_compile"
17774 case "(($ac_try" in
17775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17777 esac
17778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_compile") 2>conftest.er1
17780 ac_status=$?
17781 grep -v '^ *+' conftest.er1 >conftest.err
17782 rm -f conftest.er1
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_c_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest.$ac_objext; then
17789 eval "$as_ac_Header=yes"
17790 else
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17793
17794 eval "$as_ac_Header=no"
17795 fi
17796
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17798 fi
17799 ac_res=`eval echo '${'$as_ac_Header'}'`
17800 { echo "$as_me:$LINENO: result: $ac_res" >&5
17801 echo "${ECHO_T}$ac_res" >&6; }
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h <<_ACEOF
17804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17805 _ACEOF
17806
17807 fi
17808
17809 done
17810
17811
17812
17813
17814
17815
17816
17817
17818 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17819 do
17820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17833
17834 #include <$ac_header>
17835 _ACEOF
17836 rm -f conftest.$ac_objext
17837 if { (ac_try="$ac_compile"
17838 case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17841 esac
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_compile") 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } && {
17850 test -z "$ac_c_werror_flag" ||
17851 test ! -s conftest.err
17852 } && test -s conftest.$ac_objext; then
17853 eval "$as_ac_Header=yes"
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 eval "$as_ac_Header=no"
17859 fi
17860
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17862 fi
17863 ac_res=`eval echo '${'$as_ac_Header'}'`
17864 { echo "$as_me:$LINENO: result: $ac_res" >&5
17865 echo "${ECHO_T}$ac_res" >&6; }
17866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17867 cat >>confdefs.h <<_ACEOF
17868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17869 _ACEOF
17870
17871 fi
17872
17873 done
17874
17875
17876 if test "$ac_cv_header_wchar_h" != "yes"; then
17877 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17878 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17879 if test "${ac_cv_header_wcstr_h+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 else
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889
17890 #include <wcstr.h>
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (ac_try="$ac_compile"
17894 case "(($ac_try" in
17895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17896 *) ac_try_echo=$ac_try;;
17897 esac
17898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17899 (eval "$ac_compile") 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } && {
17906 test -z "$ac_c_werror_flag" ||
17907 test ! -s conftest.err
17908 } && test -s conftest.$ac_objext; then
17909 ac_cv_header_wcstr_h=yes
17910 else
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17913
17914 ac_cv_header_wcstr_h=no
17915 fi
17916
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 fi
17919 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17920 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17921
17922
17923 fi
17924
17925 case "${host}" in
17926 *-pc-os2_emx | *-pc-os2-emx )
17927 if test $ac_cv_header_langinfo_h = "yes" \
17928 -a \( "$wx_cv_gccversion" = "EMX2" \
17929 -o "$wx_cv_gccversion" = "EMX3" \
17930 -o "$wx_cv_gccversion" = "Innotek5" \); then
17931 LIBS="$LIBS -lintl"
17932 fi
17933 ;;
17934 esac
17935
17936 if test "$USE_UNIX" = 1 ; then
17937 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17938 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17939 if test "${ac_cv_header_sys_select_h+set}" = set; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 else
17942 cat >conftest.$ac_ext <<_ACEOF
17943 /* confdefs.h. */
17944 _ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 $ac_includes_default
17949
17950 #include <sys/select.h>
17951 _ACEOF
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17957 esac
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 ac_cv_header_sys_select_h=yes
17970 else
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17973
17974 ac_cv_header_sys_select_h=no
17975 fi
17976
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 fi
17979 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17980 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17981
17982
17983 fi
17984
17985
17986 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17987 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17988 if test "${ac_cv_c_const+set}" = set; then
17989 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 else
17991 cat >conftest.$ac_ext <<_ACEOF
17992 /* confdefs.h. */
17993 _ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17997
17998 int
17999 main ()
18000 {
18001 /* FIXME: Include the comments suggested by Paul. */
18002 #ifndef __cplusplus
18003 /* Ultrix mips cc rejects this. */
18004 typedef int charset[2];
18005 const charset cs;
18006 /* SunOS 4.1.1 cc rejects this. */
18007 char const *const *pcpcc;
18008 char **ppc;
18009 /* NEC SVR4.0.2 mips cc rejects this. */
18010 struct point {int x, y;};
18011 static struct point const zero = {0,0};
18012 /* AIX XL C 1.02.0.0 rejects this.
18013 It does not let you subtract one const X* pointer from another in
18014 an arm of an if-expression whose if-part is not a constant
18015 expression */
18016 const char *g = "string";
18017 pcpcc = &g + (g ? g-g : 0);
18018 /* HPUX 7.0 cc rejects these. */
18019 ++pcpcc;
18020 ppc = (char**) pcpcc;
18021 pcpcc = (char const *const *) ppc;
18022 { /* SCO 3.2v4 cc rejects this. */
18023 char *t;
18024 char const *s = 0 ? (char *) 0 : (char const *) 0;
18025
18026 *t++ = 0;
18027 if (s) return 0;
18028 }
18029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18030 int x[] = {25, 17};
18031 const int *foo = &x[0];
18032 ++foo;
18033 }
18034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18035 typedef const int *iptr;
18036 iptr p = 0;
18037 ++p;
18038 }
18039 { /* AIX XL C 1.02.0.0 rejects this saying
18040 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18041 struct s { int j; const int *ap[3]; };
18042 struct s *b; b->j = 5;
18043 }
18044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18045 const int foo = 10;
18046 if (!foo) return 0;
18047 }
18048 return !cs[0] && !zero.x;
18049 #endif
18050
18051 ;
18052 return 0;
18053 }
18054 _ACEOF
18055 rm -f conftest.$ac_objext
18056 if { (ac_try="$ac_compile"
18057 case "(($ac_try" in
18058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18060 esac
18061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18062 (eval "$ac_compile") 2>conftest.er1
18063 ac_status=$?
18064 grep -v '^ *+' conftest.er1 >conftest.err
18065 rm -f conftest.er1
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } && {
18069 test -z "$ac_c_werror_flag" ||
18070 test ! -s conftest.err
18071 } && test -s conftest.$ac_objext; then
18072 ac_cv_c_const=yes
18073 else
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18076
18077 ac_cv_c_const=no
18078 fi
18079
18080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081 fi
18082 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18083 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18084 if test $ac_cv_c_const = no; then
18085
18086 cat >>confdefs.h <<\_ACEOF
18087 #define const
18088 _ACEOF
18089
18090 fi
18091
18092 { echo "$as_me:$LINENO: checking for inline" >&5
18093 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18094 if test "${ac_cv_c_inline+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 ac_cv_c_inline=no
18098 for ac_kw in inline __inline__ __inline; do
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #ifndef __cplusplus
18106 typedef int foo_t;
18107 static $ac_kw foo_t static_foo () {return 0; }
18108 $ac_kw foo_t foo () {return 0; }
18109 #endif
18110
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_c_inline=$ac_kw
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134
18135 fi
18136
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138 test "$ac_cv_c_inline" != no && break
18139 done
18140
18141 fi
18142 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18143 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18144
18145
18146 case $ac_cv_c_inline in
18147 inline | yes) ;;
18148 *)
18149 case $ac_cv_c_inline in
18150 no) ac_val=;;
18151 *) ac_val=$ac_cv_c_inline;;
18152 esac
18153 cat >>confdefs.h <<_ACEOF
18154 #ifndef __cplusplus
18155 #define inline $ac_val
18156 #endif
18157 _ACEOF
18158 ;;
18159 esac
18160
18161
18162 { echo "$as_me:$LINENO: checking for short" >&5
18163 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18164 if test "${ac_cv_type_short+set}" = set; then
18165 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 else
18167 cat >conftest.$ac_ext <<_ACEOF
18168 /* confdefs.h. */
18169 _ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173 $ac_includes_default
18174 typedef short ac__type_new_;
18175 int
18176 main ()
18177 {
18178 if ((ac__type_new_ *) 0)
18179 return 0;
18180 if (sizeof (ac__type_new_))
18181 return 0;
18182 ;
18183 return 0;
18184 }
18185 _ACEOF
18186 rm -f conftest.$ac_objext
18187 if { (ac_try="$ac_compile"
18188 case "(($ac_try" in
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18190 *) ac_try_echo=$ac_try;;
18191 esac
18192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18193 (eval "$ac_compile") 2>conftest.er1
18194 ac_status=$?
18195 grep -v '^ *+' conftest.er1 >conftest.err
18196 rm -f conftest.er1
18197 cat conftest.err >&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); } && {
18200 test -z "$ac_c_werror_flag" ||
18201 test ! -s conftest.err
18202 } && test -s conftest.$ac_objext; then
18203 ac_cv_type_short=yes
18204 else
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18207
18208 ac_cv_type_short=no
18209 fi
18210
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212 fi
18213 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18214 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18215
18216 # The cast to long int works around a bug in the HP C Compiler
18217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18219 # This bug is HP SR number 8606223364.
18220 { echo "$as_me:$LINENO: checking size of short" >&5
18221 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18222 if test "${ac_cv_sizeof_short+set}" = set; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 else
18225 if test "$cross_compiling" = yes; then
18226 # Depending upon the size, compute the lo and hi bounds.
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18234 typedef short ac__type_sizeof_;
18235 int
18236 main ()
18237 {
18238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18239 test_array [0] = 0
18240
18241 ;
18242 return 0;
18243 }
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18250 esac
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18253 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18262 ac_lo=0 ac_mid=0
18263 while :; do
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 $ac_includes_default
18271 typedef short ac__type_sizeof_;
18272 int
18273 main ()
18274 {
18275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18276 test_array [0] = 0
18277
18278 ;
18279 return 0;
18280 }
18281 _ACEOF
18282 rm -f conftest.$ac_objext
18283 if { (ac_try="$ac_compile"
18284 case "(($ac_try" in
18285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18287 esac
18288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_compile") 2>conftest.er1
18290 ac_status=$?
18291 grep -v '^ *+' conftest.er1 >conftest.err
18292 rm -f conftest.er1
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } && {
18296 test -z "$ac_c_werror_flag" ||
18297 test ! -s conftest.err
18298 } && test -s conftest.$ac_objext; then
18299 ac_hi=$ac_mid; break
18300 else
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304 ac_lo=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18306 ac_lo= ac_hi=
18307 break
18308 fi
18309 ac_mid=`expr 2 '*' $ac_mid + 1`
18310 fi
18311
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 done
18314 else
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.$ac_ext >&5
18317
18318 cat >conftest.$ac_ext <<_ACEOF
18319 /* confdefs.h. */
18320 _ACEOF
18321 cat confdefs.h >>conftest.$ac_ext
18322 cat >>conftest.$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 $ac_includes_default
18325 typedef short ac__type_sizeof_;
18326 int
18327 main ()
18328 {
18329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18330 test_array [0] = 0
18331
18332 ;
18333 return 0;
18334 }
18335 _ACEOF
18336 rm -f conftest.$ac_objext
18337 if { (ac_try="$ac_compile"
18338 case "(($ac_try" in
18339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18341 esac
18342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_compile") 2>conftest.er1
18344 ac_status=$?
18345 grep -v '^ *+' conftest.er1 >conftest.err
18346 rm -f conftest.er1
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest.$ac_objext; then
18353 ac_hi=-1 ac_mid=-1
18354 while :; do
18355 cat >conftest.$ac_ext <<_ACEOF
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18362 typedef short ac__type_sizeof_;
18363 int
18364 main ()
18365 {
18366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18367 test_array [0] = 0
18368
18369 ;
18370 return 0;
18371 }
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_lo=$ac_mid; break
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_hi=`expr '(' $ac_mid ')' - 1`
18396 if test $ac_mid -le $ac_hi; then
18397 ac_lo= ac_hi=
18398 break
18399 fi
18400 ac_mid=`expr 2 '*' $ac_mid`
18401 fi
18402
18403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18404 done
18405 else
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18408
18409 ac_lo= ac_hi=
18410 fi
18411
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18413 fi
18414
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416 # Binary search between lo and hi bounds.
18417 while test "x$ac_lo" != "x$ac_hi"; do
18418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18419 cat >conftest.$ac_ext <<_ACEOF
18420 /* confdefs.h. */
18421 _ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 $ac_includes_default
18426 typedef short ac__type_sizeof_;
18427 int
18428 main ()
18429 {
18430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18431 test_array [0] = 0
18432
18433 ;
18434 return 0;
18435 }
18436 _ACEOF
18437 rm -f conftest.$ac_objext
18438 if { (ac_try="$ac_compile"
18439 case "(($ac_try" in
18440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18442 esac
18443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_compile") 2>conftest.er1
18445 ac_status=$?
18446 grep -v '^ *+' conftest.er1 >conftest.err
18447 rm -f conftest.er1
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest.$ac_objext; then
18454 ac_hi=$ac_mid
18455 else
18456 echo "$as_me: failed program was:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18458
18459 ac_lo=`expr '(' $ac_mid ')' + 1`
18460 fi
18461
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 done
18464 case $ac_lo in
18465 ?*) ac_cv_sizeof_short=$ac_lo;;
18466 '') if test "$ac_cv_type_short" = yes; then
18467 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18468 See \`config.log' for more details." >&5
18469 echo "$as_me: error: cannot compute sizeof (short)
18470 See \`config.log' for more details." >&2;}
18471 { (exit 77); exit 77; }; }
18472 else
18473 ac_cv_sizeof_short=0
18474 fi ;;
18475 esac
18476 else
18477 cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h. */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 $ac_includes_default
18484 typedef short ac__type_sizeof_;
18485 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18486 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18487 #include <stdio.h>
18488 #include <stdlib.h>
18489 int
18490 main ()
18491 {
18492
18493 FILE *f = fopen ("conftest.val", "w");
18494 if (! f)
18495 return 1;
18496 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18497 {
18498 long int i = longval ();
18499 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18500 return 1;
18501 fprintf (f, "%ld\n", i);
18502 }
18503 else
18504 {
18505 unsigned long int i = ulongval ();
18506 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18507 return 1;
18508 fprintf (f, "%lu\n", i);
18509 }
18510 return ferror (f) || fclose (f) != 0;
18511
18512 ;
18513 return 0;
18514 }
18515 _ACEOF
18516 rm -f conftest$ac_exeext
18517 if { (ac_try="$ac_link"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18521 esac
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_link") 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18527 { (case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_try") 2>&5
18533 ac_status=$?
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 ac_cv_sizeof_short=`cat conftest.val`
18537 else
18538 echo "$as_me: program exited with status $ac_status" >&5
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18541
18542 ( exit $ac_status )
18543 if test "$ac_cv_type_short" = yes; then
18544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18545 See \`config.log' for more details." >&5
18546 echo "$as_me: error: cannot compute sizeof (short)
18547 See \`config.log' for more details." >&2;}
18548 { (exit 77); exit 77; }; }
18549 else
18550 ac_cv_sizeof_short=0
18551 fi
18552 fi
18553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18554 fi
18555 rm -f conftest.val
18556 fi
18557 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18558 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18559
18560
18561
18562 cat >>confdefs.h <<_ACEOF
18563 #define SIZEOF_SHORT $ac_cv_sizeof_short
18564 _ACEOF
18565
18566
18567 { echo "$as_me:$LINENO: checking for void *" >&5
18568 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18569 if test "${ac_cv_type_void_p+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 else
18572 cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h. */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 $ac_includes_default
18579 typedef void * ac__type_new_;
18580 int
18581 main ()
18582 {
18583 if ((ac__type_new_ *) 0)
18584 return 0;
18585 if (sizeof (ac__type_new_))
18586 return 0;
18587 ;
18588 return 0;
18589 }
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (ac_try="$ac_compile"
18593 case "(($ac_try" in
18594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18595 *) ac_try_echo=$ac_try;;
18596 esac
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_compile") 2>conftest.er1
18599 ac_status=$?
18600 grep -v '^ *+' conftest.er1 >conftest.err
18601 rm -f conftest.er1
18602 cat conftest.err >&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } && {
18605 test -z "$ac_c_werror_flag" ||
18606 test ! -s conftest.err
18607 } && test -s conftest.$ac_objext; then
18608 ac_cv_type_void_p=yes
18609 else
18610 echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.$ac_ext >&5
18612
18613 ac_cv_type_void_p=no
18614 fi
18615
18616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18617 fi
18618 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18619 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18620
18621 # The cast to long int works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 { echo "$as_me:$LINENO: checking size of void *" >&5
18626 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18627 if test "${ac_cv_sizeof_void_p+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 else
18630 if test "$cross_compiling" = yes; then
18631 # Depending upon the size, compute the lo and hi bounds.
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18639 typedef void * ac__type_sizeof_;
18640 int
18641 main ()
18642 {
18643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18644 test_array [0] = 0
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 rm -f conftest.$ac_objext
18651 if { (ac_try="$ac_compile"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18655 esac
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_compile") 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest.$ac_objext; then
18667 ac_lo=0 ac_mid=0
18668 while :; do
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 $ac_includes_default
18676 typedef void * ac__type_sizeof_;
18677 int
18678 main ()
18679 {
18680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18681 test_array [0] = 0
18682
18683 ;
18684 return 0;
18685 }
18686 _ACEOF
18687 rm -f conftest.$ac_objext
18688 if { (ac_try="$ac_compile"
18689 case "(($ac_try" in
18690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18691 *) ac_try_echo=$ac_try;;
18692 esac
18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_compile") 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } && {
18701 test -z "$ac_c_werror_flag" ||
18702 test ! -s conftest.err
18703 } && test -s conftest.$ac_objext; then
18704 ac_hi=$ac_mid; break
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 ac_lo=`expr $ac_mid + 1`
18710 if test $ac_lo -le $ac_mid; then
18711 ac_lo= ac_hi=
18712 break
18713 fi
18714 ac_mid=`expr 2 '*' $ac_mid + 1`
18715 fi
18716
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 done
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18722
18723 cat >conftest.$ac_ext <<_ACEOF
18724 /* confdefs.h. */
18725 _ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18730 typedef void * ac__type_sizeof_;
18731 int
18732 main ()
18733 {
18734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18735 test_array [0] = 0
18736
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 rm -f conftest.$ac_objext
18742 if { (ac_try="$ac_compile"
18743 case "(($ac_try" in
18744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18746 esac
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_compile") 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_c_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest.$ac_objext; then
18758 ac_hi=-1 ac_mid=-1
18759 while :; do
18760 cat >conftest.$ac_ext <<_ACEOF
18761 /* confdefs.h. */
18762 _ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 $ac_includes_default
18767 typedef void * ac__type_sizeof_;
18768 int
18769 main ()
18770 {
18771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18772 test_array [0] = 0
18773
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18786 ac_status=$?
18787 grep -v '^ *+' conftest.er1 >conftest.err
18788 rm -f conftest.er1
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 ac_lo=$ac_mid; break
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18799
18800 ac_hi=`expr '(' $ac_mid ')' - 1`
18801 if test $ac_mid -le $ac_hi; then
18802 ac_lo= ac_hi=
18803 break
18804 fi
18805 ac_mid=`expr 2 '*' $ac_mid`
18806 fi
18807
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18809 done
18810 else
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18813
18814 ac_lo= ac_hi=
18815 fi
18816
18817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18818 fi
18819
18820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18821 # Binary search between lo and hi bounds.
18822 while test "x$ac_lo" != "x$ac_hi"; do
18823 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18824 cat >conftest.$ac_ext <<_ACEOF
18825 /* confdefs.h. */
18826 _ACEOF
18827 cat confdefs.h >>conftest.$ac_ext
18828 cat >>conftest.$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18831 typedef void * ac__type_sizeof_;
18832 int
18833 main ()
18834 {
18835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18836 test_array [0] = 0
18837
18838 ;
18839 return 0;
18840 }
18841 _ACEOF
18842 rm -f conftest.$ac_objext
18843 if { (ac_try="$ac_compile"
18844 case "(($ac_try" in
18845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18846 *) ac_try_echo=$ac_try;;
18847 esac
18848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849 (eval "$ac_compile") 2>conftest.er1
18850 ac_status=$?
18851 grep -v '^ *+' conftest.er1 >conftest.err
18852 rm -f conftest.er1
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } && {
18856 test -z "$ac_c_werror_flag" ||
18857 test ! -s conftest.err
18858 } && test -s conftest.$ac_objext; then
18859 ac_hi=$ac_mid
18860 else
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.$ac_ext >&5
18863
18864 ac_lo=`expr '(' $ac_mid ')' + 1`
18865 fi
18866
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868 done
18869 case $ac_lo in
18870 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18871 '') if test "$ac_cv_type_void_p" = yes; then
18872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18873 See \`config.log' for more details." >&5
18874 echo "$as_me: error: cannot compute sizeof (void *)
18875 See \`config.log' for more details." >&2;}
18876 { (exit 77); exit 77; }; }
18877 else
18878 ac_cv_sizeof_void_p=0
18879 fi ;;
18880 esac
18881 else
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 typedef void * ac__type_sizeof_;
18890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18892 #include <stdio.h>
18893 #include <stdlib.h>
18894 int
18895 main ()
18896 {
18897
18898 FILE *f = fopen ("conftest.val", "w");
18899 if (! f)
18900 return 1;
18901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18902 {
18903 long int i = longval ();
18904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18905 return 1;
18906 fprintf (f, "%ld\n", i);
18907 }
18908 else
18909 {
18910 unsigned long int i = ulongval ();
18911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18912 return 1;
18913 fprintf (f, "%lu\n", i);
18914 }
18915 return ferror (f) || fclose (f) != 0;
18916
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 rm -f conftest$ac_exeext
18922 if { (ac_try="$ac_link"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18926 esac
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_link") 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18932 { (case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18935 esac
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_try") 2>&5
18938 ac_status=$?
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; }; then
18941 ac_cv_sizeof_void_p=`cat conftest.val`
18942 else
18943 echo "$as_me: program exited with status $ac_status" >&5
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18946
18947 ( exit $ac_status )
18948 if test "$ac_cv_type_void_p" = yes; then
18949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18950 See \`config.log' for more details." >&5
18951 echo "$as_me: error: cannot compute sizeof (void *)
18952 See \`config.log' for more details." >&2;}
18953 { (exit 77); exit 77; }; }
18954 else
18955 ac_cv_sizeof_void_p=0
18956 fi
18957 fi
18958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18959 fi
18960 rm -f conftest.val
18961 fi
18962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18963 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18964
18965
18966
18967 cat >>confdefs.h <<_ACEOF
18968 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18969 _ACEOF
18970
18971
18972 { echo "$as_me:$LINENO: checking for int" >&5
18973 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18974 if test "${ac_cv_type_int+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 else
18977 cat >conftest.$ac_ext <<_ACEOF
18978 /* confdefs.h. */
18979 _ACEOF
18980 cat confdefs.h >>conftest.$ac_ext
18981 cat >>conftest.$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 $ac_includes_default
18984 typedef int ac__type_new_;
18985 int
18986 main ()
18987 {
18988 if ((ac__type_new_ *) 0)
18989 return 0;
18990 if (sizeof (ac__type_new_))
18991 return 0;
18992 ;
18993 return 0;
18994 }
18995 _ACEOF
18996 rm -f conftest.$ac_objext
18997 if { (ac_try="$ac_compile"
18998 case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19001 esac
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_compile") 2>conftest.er1
19004 ac_status=$?
19005 grep -v '^ *+' conftest.er1 >conftest.err
19006 rm -f conftest.er1
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } && {
19010 test -z "$ac_c_werror_flag" ||
19011 test ! -s conftest.err
19012 } && test -s conftest.$ac_objext; then
19013 ac_cv_type_int=yes
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19017
19018 ac_cv_type_int=no
19019 fi
19020
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022 fi
19023 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19024 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19025
19026 # The cast to long int works around a bug in the HP C Compiler
19027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19029 # This bug is HP SR number 8606223364.
19030 { echo "$as_me:$LINENO: checking size of int" >&5
19031 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19032 if test "${ac_cv_sizeof_int+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 if test "$cross_compiling" = yes; then
19036 # Depending upon the size, compute the lo and hi bounds.
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 $ac_includes_default
19044 typedef int ac__type_sizeof_;
19045 int
19046 main ()
19047 {
19048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19049 test_array [0] = 0
19050
19051 ;
19052 return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 ac_lo=0 ac_mid=0
19073 while :; do
19074 cat >conftest.$ac_ext <<_ACEOF
19075 /* confdefs.h. */
19076 _ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 typedef int ac__type_sizeof_;
19082 int
19083 main ()
19084 {
19085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19086 test_array [0] = 0
19087
19088 ;
19089 return 0;
19090 }
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (ac_try="$ac_compile"
19094 case "(($ac_try" in
19095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19096 *) ac_try_echo=$ac_try;;
19097 esac
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_compile") 2>conftest.er1
19100 ac_status=$?
19101 grep -v '^ *+' conftest.er1 >conftest.err
19102 rm -f conftest.er1
19103 cat conftest.err >&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && {
19106 test -z "$ac_c_werror_flag" ||
19107 test ! -s conftest.err
19108 } && test -s conftest.$ac_objext; then
19109 ac_hi=$ac_mid; break
19110 else
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.$ac_ext >&5
19113
19114 ac_lo=`expr $ac_mid + 1`
19115 if test $ac_lo -le $ac_mid; then
19116 ac_lo= ac_hi=
19117 break
19118 fi
19119 ac_mid=`expr 2 '*' $ac_mid + 1`
19120 fi
19121
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123 done
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19127
19128 cat >conftest.$ac_ext <<_ACEOF
19129 /* confdefs.h. */
19130 _ACEOF
19131 cat confdefs.h >>conftest.$ac_ext
19132 cat >>conftest.$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19134 $ac_includes_default
19135 typedef int ac__type_sizeof_;
19136 int
19137 main ()
19138 {
19139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19140 test_array [0] = 0
19141
19142 ;
19143 return 0;
19144 }
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (ac_try="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19151 esac
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19154 ac_status=$?
19155 grep -v '^ *+' conftest.er1 >conftest.err
19156 rm -f conftest.er1
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.$ac_objext; then
19163 ac_hi=-1 ac_mid=-1
19164 while :; do
19165 cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h. */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171 $ac_includes_default
19172 typedef int ac__type_sizeof_;
19173 int
19174 main ()
19175 {
19176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19177 test_array [0] = 0
19178
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 ac_lo=$ac_mid; break
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19204
19205 ac_hi=`expr '(' $ac_mid ')' - 1`
19206 if test $ac_mid -le $ac_hi; then
19207 ac_lo= ac_hi=
19208 break
19209 fi
19210 ac_mid=`expr 2 '*' $ac_mid`
19211 fi
19212
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19214 done
19215 else
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19218
19219 ac_lo= ac_hi=
19220 fi
19221
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 fi
19224
19225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19226 # Binary search between lo and hi bounds.
19227 while test "x$ac_lo" != "x$ac_hi"; do
19228 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19229 cat >conftest.$ac_ext <<_ACEOF
19230 /* confdefs.h. */
19231 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 $ac_includes_default
19236 typedef int ac__type_sizeof_;
19237 int
19238 main ()
19239 {
19240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19241 test_array [0] = 0
19242
19243 ;
19244 return 0;
19245 }
19246 _ACEOF
19247 rm -f conftest.$ac_objext
19248 if { (ac_try="$ac_compile"
19249 case "(($ac_try" in
19250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19251 *) ac_try_echo=$ac_try;;
19252 esac
19253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19254 (eval "$ac_compile") 2>conftest.er1
19255 ac_status=$?
19256 grep -v '^ *+' conftest.er1 >conftest.err
19257 rm -f conftest.er1
19258 cat conftest.err >&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && {
19261 test -z "$ac_c_werror_flag" ||
19262 test ! -s conftest.err
19263 } && test -s conftest.$ac_objext; then
19264 ac_hi=$ac_mid
19265 else
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.$ac_ext >&5
19268
19269 ac_lo=`expr '(' $ac_mid ')' + 1`
19270 fi
19271
19272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19273 done
19274 case $ac_lo in
19275 ?*) ac_cv_sizeof_int=$ac_lo;;
19276 '') if test "$ac_cv_type_int" = yes; then
19277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19278 See \`config.log' for more details." >&5
19279 echo "$as_me: error: cannot compute sizeof (int)
19280 See \`config.log' for more details." >&2;}
19281 { (exit 77); exit 77; }; }
19282 else
19283 ac_cv_sizeof_int=0
19284 fi ;;
19285 esac
19286 else
19287 cat >conftest.$ac_ext <<_ACEOF
19288 /* confdefs.h. */
19289 _ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 $ac_includes_default
19294 typedef int ac__type_sizeof_;
19295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19297 #include <stdio.h>
19298 #include <stdlib.h>
19299 int
19300 main ()
19301 {
19302
19303 FILE *f = fopen ("conftest.val", "w");
19304 if (! f)
19305 return 1;
19306 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19307 {
19308 long int i = longval ();
19309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19310 return 1;
19311 fprintf (f, "%ld\n", i);
19312 }
19313 else
19314 {
19315 unsigned long int i = ulongval ();
19316 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19317 return 1;
19318 fprintf (f, "%lu\n", i);
19319 }
19320 return ferror (f) || fclose (f) != 0;
19321
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest$ac_exeext
19327 if { (ac_try="$ac_link"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19331 esac
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_link") 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19337 { (case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19340 esac
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_try") 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_sizeof_int=`cat conftest.val`
19347 else
19348 echo "$as_me: program exited with status $ac_status" >&5
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19351
19352 ( exit $ac_status )
19353 if test "$ac_cv_type_int" = yes; then
19354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19355 See \`config.log' for more details." >&5
19356 echo "$as_me: error: cannot compute sizeof (int)
19357 See \`config.log' for more details." >&2;}
19358 { (exit 77); exit 77; }; }
19359 else
19360 ac_cv_sizeof_int=0
19361 fi
19362 fi
19363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19364 fi
19365 rm -f conftest.val
19366 fi
19367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19368 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19369
19370
19371
19372 cat >>confdefs.h <<_ACEOF
19373 #define SIZEOF_INT $ac_cv_sizeof_int
19374 _ACEOF
19375
19376
19377 { echo "$as_me:$LINENO: checking for long" >&5
19378 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19379 if test "${ac_cv_type_long+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 else
19382 cat >conftest.$ac_ext <<_ACEOF
19383 /* confdefs.h. */
19384 _ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389 typedef long ac__type_new_;
19390 int
19391 main ()
19392 {
19393 if ((ac__type_new_ *) 0)
19394 return 0;
19395 if (sizeof (ac__type_new_))
19396 return 0;
19397 ;
19398 return 0;
19399 }
19400 _ACEOF
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19406 esac
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19409 ac_status=$?
19410 grep -v '^ *+' conftest.er1 >conftest.err
19411 rm -f conftest.er1
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19418 ac_cv_type_long=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423 ac_cv_type_long=no
19424 fi
19425
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 fi
19428 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19429 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19430
19431 # The cast to long int works around a bug in the HP C Compiler
19432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19434 # This bug is HP SR number 8606223364.
19435 { echo "$as_me:$LINENO: checking size of long" >&5
19436 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19437 if test "${ac_cv_sizeof_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 else
19440 if test "$cross_compiling" = yes; then
19441 # Depending upon the size, compute the lo and hi bounds.
19442 cat >conftest.$ac_ext <<_ACEOF
19443 /* confdefs.h. */
19444 _ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 $ac_includes_default
19449 typedef long ac__type_sizeof_;
19450 int
19451 main ()
19452 {
19453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19454 test_array [0] = 0
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (ac_try="$ac_compile"
19462 case "(($ac_try" in
19463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19464 *) ac_try_echo=$ac_try;;
19465 esac
19466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19467 (eval "$ac_compile") 2>conftest.er1
19468 ac_status=$?
19469 grep -v '^ *+' conftest.er1 >conftest.err
19470 rm -f conftest.er1
19471 cat conftest.err >&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && {
19474 test -z "$ac_c_werror_flag" ||
19475 test ! -s conftest.err
19476 } && test -s conftest.$ac_objext; then
19477 ac_lo=0 ac_mid=0
19478 while :; do
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 typedef long ac__type_sizeof_;
19487 int
19488 main ()
19489 {
19490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19491 test_array [0] = 0
19492
19493 ;
19494 return 0;
19495 }
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19502 esac
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 ac_hi=$ac_mid; break
19515 else
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19518
19519 ac_lo=`expr $ac_mid + 1`
19520 if test $ac_lo -le $ac_mid; then
19521 ac_lo= ac_hi=
19522 break
19523 fi
19524 ac_mid=`expr 2 '*' $ac_mid + 1`
19525 fi
19526
19527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19528 done
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19532
19533 cat >conftest.$ac_ext <<_ACEOF
19534 /* confdefs.h. */
19535 _ACEOF
19536 cat confdefs.h >>conftest.$ac_ext
19537 cat >>conftest.$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 $ac_includes_default
19540 typedef long ac__type_sizeof_;
19541 int
19542 main ()
19543 {
19544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19545 test_array [0] = 0
19546
19547 ;
19548 return 0;
19549 }
19550 _ACEOF
19551 rm -f conftest.$ac_objext
19552 if { (ac_try="$ac_compile"
19553 case "(($ac_try" in
19554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19555 *) ac_try_echo=$ac_try;;
19556 esac
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_compile") 2>conftest.er1
19559 ac_status=$?
19560 grep -v '^ *+' conftest.er1 >conftest.err
19561 rm -f conftest.er1
19562 cat conftest.err >&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } && {
19565 test -z "$ac_c_werror_flag" ||
19566 test ! -s conftest.err
19567 } && test -s conftest.$ac_objext; then
19568 ac_hi=-1 ac_mid=-1
19569 while :; do
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 typedef long ac__type_sizeof_;
19578 int
19579 main ()
19580 {
19581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19582 test_array [0] = 0
19583
19584 ;
19585 return 0;
19586 }
19587 _ACEOF
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19593 esac
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19596 ac_status=$?
19597 grep -v '^ *+' conftest.er1 >conftest.err
19598 rm -f conftest.er1
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.$ac_objext; then
19605 ac_lo=$ac_mid; break
19606 else
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.$ac_ext >&5
19609
19610 ac_hi=`expr '(' $ac_mid ')' - 1`
19611 if test $ac_mid -le $ac_hi; then
19612 ac_lo= ac_hi=
19613 break
19614 fi
19615 ac_mid=`expr 2 '*' $ac_mid`
19616 fi
19617
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619 done
19620 else
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.$ac_ext >&5
19623
19624 ac_lo= ac_hi=
19625 fi
19626
19627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 fi
19629
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631 # Binary search between lo and hi bounds.
19632 while test "x$ac_lo" != "x$ac_hi"; do
19633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19634 cat >conftest.$ac_ext <<_ACEOF
19635 /* confdefs.h. */
19636 _ACEOF
19637 cat confdefs.h >>conftest.$ac_ext
19638 cat >>conftest.$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19641 typedef long ac__type_sizeof_;
19642 int
19643 main ()
19644 {
19645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19646 test_array [0] = 0
19647
19648 ;
19649 return 0;
19650 }
19651 _ACEOF
19652 rm -f conftest.$ac_objext
19653 if { (ac_try="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19657 esac
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19660 ac_status=$?
19661 grep -v '^ *+' conftest.er1 >conftest.err
19662 rm -f conftest.er1
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 ac_hi=$ac_mid
19670 else
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 ac_lo=`expr '(' $ac_mid ')' + 1`
19675 fi
19676
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 done
19679 case $ac_lo in
19680 ?*) ac_cv_sizeof_long=$ac_lo;;
19681 '') if test "$ac_cv_type_long" = yes; then
19682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19683 See \`config.log' for more details." >&5
19684 echo "$as_me: error: cannot compute sizeof (long)
19685 See \`config.log' for more details." >&2;}
19686 { (exit 77); exit 77; }; }
19687 else
19688 ac_cv_sizeof_long=0
19689 fi ;;
19690 esac
19691 else
19692 cat >conftest.$ac_ext <<_ACEOF
19693 /* confdefs.h. */
19694 _ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef long ac__type_sizeof_;
19700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19702 #include <stdio.h>
19703 #include <stdlib.h>
19704 int
19705 main ()
19706 {
19707
19708 FILE *f = fopen ("conftest.val", "w");
19709 if (! f)
19710 return 1;
19711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19712 {
19713 long int i = longval ();
19714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19715 return 1;
19716 fprintf (f, "%ld\n", i);
19717 }
19718 else
19719 {
19720 unsigned long int i = ulongval ();
19721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19722 return 1;
19723 fprintf (f, "%lu\n", i);
19724 }
19725 return ferror (f) || fclose (f) != 0;
19726
19727 ;
19728 return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest$ac_exeext
19732 if { (ac_try="$ac_link"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19736 esac
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_link") 2>&5
19739 ac_status=$?
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19742 { (case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19745 esac
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_try") 2>&5
19748 ac_status=$?
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; }; then
19751 ac_cv_sizeof_long=`cat conftest.val`
19752 else
19753 echo "$as_me: program exited with status $ac_status" >&5
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19756
19757 ( exit $ac_status )
19758 if test "$ac_cv_type_long" = yes; then
19759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19760 See \`config.log' for more details." >&5
19761 echo "$as_me: error: cannot compute sizeof (long)
19762 See \`config.log' for more details." >&2;}
19763 { (exit 77); exit 77; }; }
19764 else
19765 ac_cv_sizeof_long=0
19766 fi
19767 fi
19768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19769 fi
19770 rm -f conftest.val
19771 fi
19772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19773 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19774
19775
19776
19777 cat >>confdefs.h <<_ACEOF
19778 #define SIZEOF_LONG $ac_cv_sizeof_long
19779 _ACEOF
19780
19781
19782 { echo "$as_me:$LINENO: checking for size_t" >&5
19783 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19784 if test "${ac_cv_type_size_t+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 else
19787 cat >conftest.$ac_ext <<_ACEOF
19788 /* confdefs.h. */
19789 _ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef size_t ac__type_new_;
19795 int
19796 main ()
19797 {
19798 if ((ac__type_new_ *) 0)
19799 return 0;
19800 if (sizeof (ac__type_new_))
19801 return 0;
19802 ;
19803 return 0;
19804 }
19805 _ACEOF
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810 *) ac_try_echo=$ac_try;;
19811 esac
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19814 ac_status=$?
19815 grep -v '^ *+' conftest.er1 >conftest.err
19816 rm -f conftest.er1
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && {
19820 test -z "$ac_c_werror_flag" ||
19821 test ! -s conftest.err
19822 } && test -s conftest.$ac_objext; then
19823 ac_cv_type_size_t=yes
19824 else
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19827
19828 ac_cv_type_size_t=no
19829 fi
19830
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 fi
19833 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19834 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19835
19836 # The cast to long int works around a bug in the HP C Compiler
19837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19839 # This bug is HP SR number 8606223364.
19840 { echo "$as_me:$LINENO: checking size of size_t" >&5
19841 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19842 if test "${ac_cv_sizeof_size_t+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 else
19845 if test "$cross_compiling" = yes; then
19846 # Depending upon the size, compute the lo and hi bounds.
19847 cat >conftest.$ac_ext <<_ACEOF
19848 /* confdefs.h. */
19849 _ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19854 typedef size_t ac__type_sizeof_;
19855 int
19856 main ()
19857 {
19858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19859 test_array [0] = 0
19860
19861 ;
19862 return 0;
19863 }
19864 _ACEOF
19865 rm -f conftest.$ac_objext
19866 if { (ac_try="$ac_compile"
19867 case "(($ac_try" in
19868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19870 esac
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_compile") 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_c_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest.$ac_objext; then
19882 ac_lo=0 ac_mid=0
19883 while :; do
19884 cat >conftest.$ac_ext <<_ACEOF
19885 /* confdefs.h. */
19886 _ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef size_t ac__type_sizeof_;
19892 int
19893 main ()
19894 {
19895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19896 test_array [0] = 0
19897
19898 ;
19899 return 0;
19900 }
19901 _ACEOF
19902 rm -f conftest.$ac_objext
19903 if { (ac_try="$ac_compile"
19904 case "(($ac_try" in
19905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19906 *) ac_try_echo=$ac_try;;
19907 esac
19908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19909 (eval "$ac_compile") 2>conftest.er1
19910 ac_status=$?
19911 grep -v '^ *+' conftest.er1 >conftest.err
19912 rm -f conftest.er1
19913 cat conftest.err >&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && {
19916 test -z "$ac_c_werror_flag" ||
19917 test ! -s conftest.err
19918 } && test -s conftest.$ac_objext; then
19919 ac_hi=$ac_mid; break
19920 else
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.$ac_ext >&5
19923
19924 ac_lo=`expr $ac_mid + 1`
19925 if test $ac_lo -le $ac_mid; then
19926 ac_lo= ac_hi=
19927 break
19928 fi
19929 ac_mid=`expr 2 '*' $ac_mid + 1`
19930 fi
19931
19932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19933 done
19934 else
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19937
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 $ac_includes_default
19945 typedef size_t ac__type_sizeof_;
19946 int
19947 main ()
19948 {
19949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19950 test_array [0] = 0
19951
19952 ;
19953 return 0;
19954 }
19955 _ACEOF
19956 rm -f conftest.$ac_objext
19957 if { (ac_try="$ac_compile"
19958 case "(($ac_try" in
19959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19960 *) ac_try_echo=$ac_try;;
19961 esac
19962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19963 (eval "$ac_compile") 2>conftest.er1
19964 ac_status=$?
19965 grep -v '^ *+' conftest.er1 >conftest.err
19966 rm -f conftest.er1
19967 cat conftest.err >&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } && {
19970 test -z "$ac_c_werror_flag" ||
19971 test ! -s conftest.err
19972 } && test -s conftest.$ac_objext; then
19973 ac_hi=-1 ac_mid=-1
19974 while :; do
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 typedef size_t ac__type_sizeof_;
19983 int
19984 main ()
19985 {
19986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19987 test_array [0] = 0
19988
19989 ;
19990 return 0;
19991 }
19992 _ACEOF
19993 rm -f conftest.$ac_objext
19994 if { (ac_try="$ac_compile"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19998 esac
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_compile") 2>conftest.er1
20001 ac_status=$?
20002 grep -v '^ *+' conftest.er1 >conftest.err
20003 rm -f conftest.er1
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest.$ac_objext; then
20010 ac_lo=$ac_mid; break
20011 else
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20014
20015 ac_hi=`expr '(' $ac_mid ')' - 1`
20016 if test $ac_mid -le $ac_hi; then
20017 ac_lo= ac_hi=
20018 break
20019 fi
20020 ac_mid=`expr 2 '*' $ac_mid`
20021 fi
20022
20023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 done
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20028
20029 ac_lo= ac_hi=
20030 fi
20031
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 fi
20034
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 # Binary search between lo and hi bounds.
20037 while test "x$ac_lo" != "x$ac_hi"; do
20038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 $ac_includes_default
20046 typedef size_t ac__type_sizeof_;
20047 int
20048 main ()
20049 {
20050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20051 test_array [0] = 0
20052
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20062 esac
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_c_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 ac_hi=$ac_mid
20075 else
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20078
20079 ac_lo=`expr '(' $ac_mid ')' + 1`
20080 fi
20081
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 done
20084 case $ac_lo in
20085 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20086 '') if test "$ac_cv_type_size_t" = yes; then
20087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20088 See \`config.log' for more details." >&5
20089 echo "$as_me: error: cannot compute sizeof (size_t)
20090 See \`config.log' for more details." >&2;}
20091 { (exit 77); exit 77; }; }
20092 else
20093 ac_cv_sizeof_size_t=0
20094 fi ;;
20095 esac
20096 else
20097 cat >conftest.$ac_ext <<_ACEOF
20098 /* confdefs.h. */
20099 _ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef size_t ac__type_sizeof_;
20105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20107 #include <stdio.h>
20108 #include <stdlib.h>
20109 int
20110 main ()
20111 {
20112
20113 FILE *f = fopen ("conftest.val", "w");
20114 if (! f)
20115 return 1;
20116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20117 {
20118 long int i = longval ();
20119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20120 return 1;
20121 fprintf (f, "%ld\n", i);
20122 }
20123 else
20124 {
20125 unsigned long int i = ulongval ();
20126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20127 return 1;
20128 fprintf (f, "%lu\n", i);
20129 }
20130 return ferror (f) || fclose (f) != 0;
20131
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 rm -f conftest$ac_exeext
20137 if { (ac_try="$ac_link"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20141 esac
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_link") 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20147 { (case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20150 esac
20151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_try") 2>&5
20153 ac_status=$?
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; }; then
20156 ac_cv_sizeof_size_t=`cat conftest.val`
20157 else
20158 echo "$as_me: program exited with status $ac_status" >&5
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20161
20162 ( exit $ac_status )
20163 if test "$ac_cv_type_size_t" = yes; then
20164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20165 See \`config.log' for more details." >&5
20166 echo "$as_me: error: cannot compute sizeof (size_t)
20167 See \`config.log' for more details." >&2;}
20168 { (exit 77); exit 77; }; }
20169 else
20170 ac_cv_sizeof_size_t=0
20171 fi
20172 fi
20173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20174 fi
20175 rm -f conftest.val
20176 fi
20177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20178 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20179
20180
20181
20182 cat >>confdefs.h <<_ACEOF
20183 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20184 _ACEOF
20185
20186
20187
20188 case "${host}" in
20189 arm-*-linux* )
20190 { echo "$as_me:$LINENO: checking for long long" >&5
20191 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20192 if test "${ac_cv_type_long_long+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 else
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 typedef long long ac__type_new_;
20203 int
20204 main ()
20205 {
20206 if ((ac__type_new_ *) 0)
20207 return 0;
20208 if (sizeof (ac__type_new_))
20209 return 0;
20210 ;
20211 return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20219 esac
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_cv_type_long_long=yes
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20235
20236 ac_cv_type_long_long=no
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 fi
20241 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20242 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20243
20244 # The cast to long int works around a bug in the HP C Compiler
20245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20247 # This bug is HP SR number 8606223364.
20248 { echo "$as_me:$LINENO: checking size of long long" >&5
20249 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20250 if test "${ac_cv_sizeof_long_long+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 else
20253 if test "$cross_compiling" = yes; then
20254 # Depending upon the size, compute the lo and hi bounds.
20255 cat >conftest.$ac_ext <<_ACEOF
20256 /* confdefs.h. */
20257 _ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 $ac_includes_default
20262 typedef long long ac__type_sizeof_;
20263 int
20264 main ()
20265 {
20266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20267 test_array [0] = 0
20268
20269 ;
20270 return 0;
20271 }
20272 _ACEOF
20273 rm -f conftest.$ac_objext
20274 if { (ac_try="$ac_compile"
20275 case "(($ac_try" in
20276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;;
20278 esac
20279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20280 (eval "$ac_compile") 2>conftest.er1
20281 ac_status=$?
20282 grep -v '^ *+' conftest.er1 >conftest.err
20283 rm -f conftest.er1
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } && {
20287 test -z "$ac_c_werror_flag" ||
20288 test ! -s conftest.err
20289 } && test -s conftest.$ac_objext; then
20290 ac_lo=0 ac_mid=0
20291 while :; do
20292 cat >conftest.$ac_ext <<_ACEOF
20293 /* confdefs.h. */
20294 _ACEOF
20295 cat confdefs.h >>conftest.$ac_ext
20296 cat >>conftest.$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 $ac_includes_default
20299 typedef long long ac__type_sizeof_;
20300 int
20301 main ()
20302 {
20303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20304 test_array [0] = 0
20305
20306 ;
20307 return 0;
20308 }
20309 _ACEOF
20310 rm -f conftest.$ac_objext
20311 if { (ac_try="$ac_compile"
20312 case "(($ac_try" in
20313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20314 *) ac_try_echo=$ac_try;;
20315 esac
20316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20317 (eval "$ac_compile") 2>conftest.er1
20318 ac_status=$?
20319 grep -v '^ *+' conftest.er1 >conftest.err
20320 rm -f conftest.er1
20321 cat conftest.err >&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } && {
20324 test -z "$ac_c_werror_flag" ||
20325 test ! -s conftest.err
20326 } && test -s conftest.$ac_objext; then
20327 ac_hi=$ac_mid; break
20328 else
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20331
20332 ac_lo=`expr $ac_mid + 1`
20333 if test $ac_lo -le $ac_mid; then
20334 ac_lo= ac_hi=
20335 break
20336 fi
20337 ac_mid=`expr 2 '*' $ac_mid + 1`
20338 fi
20339
20340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341 done
20342 else
20343 echo "$as_me: failed program was:" >&5
20344 sed 's/^/| /' conftest.$ac_ext >&5
20345
20346 cat >conftest.$ac_ext <<_ACEOF
20347 /* confdefs.h. */
20348 _ACEOF
20349 cat confdefs.h >>conftest.$ac_ext
20350 cat >>conftest.$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 $ac_includes_default
20353 typedef long long ac__type_sizeof_;
20354 int
20355 main ()
20356 {
20357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20358 test_array [0] = 0
20359
20360 ;
20361 return 0;
20362 }
20363 _ACEOF
20364 rm -f conftest.$ac_objext
20365 if { (ac_try="$ac_compile"
20366 case "(($ac_try" in
20367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20369 esac
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_compile") 2>conftest.er1
20372 ac_status=$?
20373 grep -v '^ *+' conftest.er1 >conftest.err
20374 rm -f conftest.er1
20375 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && {
20378 test -z "$ac_c_werror_flag" ||
20379 test ! -s conftest.err
20380 } && test -s conftest.$ac_objext; then
20381 ac_hi=-1 ac_mid=-1
20382 while :; do
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 $ac_includes_default
20390 typedef long long ac__type_sizeof_;
20391 int
20392 main ()
20393 {
20394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20395 test_array [0] = 0
20396
20397 ;
20398 return 0;
20399 }
20400 _ACEOF
20401 rm -f conftest.$ac_objext
20402 if { (ac_try="$ac_compile"
20403 case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;;
20406 esac
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_compile") 2>conftest.er1
20409 ac_status=$?
20410 grep -v '^ *+' conftest.er1 >conftest.err
20411 rm -f conftest.er1
20412 cat conftest.err >&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && {
20415 test -z "$ac_c_werror_flag" ||
20416 test ! -s conftest.err
20417 } && test -s conftest.$ac_objext; then
20418 ac_lo=$ac_mid; break
20419 else
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20422
20423 ac_hi=`expr '(' $ac_mid ')' - 1`
20424 if test $ac_mid -le $ac_hi; then
20425 ac_lo= ac_hi=
20426 break
20427 fi
20428 ac_mid=`expr 2 '*' $ac_mid`
20429 fi
20430
20431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20432 done
20433 else
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 ac_lo= ac_hi=
20438 fi
20439
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 fi
20442
20443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20444 # Binary search between lo and hi bounds.
20445 while test "x$ac_lo" != "x$ac_hi"; do
20446 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20447 cat >conftest.$ac_ext <<_ACEOF
20448 /* confdefs.h. */
20449 _ACEOF
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 $ac_includes_default
20454 typedef long long ac__type_sizeof_;
20455 int
20456 main ()
20457 {
20458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20459 test_array [0] = 0
20460
20461 ;
20462 return 0;
20463 }
20464 _ACEOF
20465 rm -f conftest.$ac_objext
20466 if { (ac_try="$ac_compile"
20467 case "(($ac_try" in
20468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20469 *) ac_try_echo=$ac_try;;
20470 esac
20471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20472 (eval "$ac_compile") 2>conftest.er1
20473 ac_status=$?
20474 grep -v '^ *+' conftest.er1 >conftest.err
20475 rm -f conftest.er1
20476 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } && {
20479 test -z "$ac_c_werror_flag" ||
20480 test ! -s conftest.err
20481 } && test -s conftest.$ac_objext; then
20482 ac_hi=$ac_mid
20483 else
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.$ac_ext >&5
20486
20487 ac_lo=`expr '(' $ac_mid ')' + 1`
20488 fi
20489
20490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20491 done
20492 case $ac_lo in
20493 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20494 '') if test "$ac_cv_type_long_long" = yes; then
20495 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20496 See \`config.log' for more details." >&5
20497 echo "$as_me: error: cannot compute sizeof (long long)
20498 See \`config.log' for more details." >&2;}
20499 { (exit 77); exit 77; }; }
20500 else
20501 ac_cv_sizeof_long_long=0
20502 fi ;;
20503 esac
20504 else
20505 cat >conftest.$ac_ext <<_ACEOF
20506 /* confdefs.h. */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20512 typedef long long ac__type_sizeof_;
20513 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20514 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20515 #include <stdio.h>
20516 #include <stdlib.h>
20517 int
20518 main ()
20519 {
20520
20521 FILE *f = fopen ("conftest.val", "w");
20522 if (! f)
20523 return 1;
20524 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20525 {
20526 long int i = longval ();
20527 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20528 return 1;
20529 fprintf (f, "%ld\n", i);
20530 }
20531 else
20532 {
20533 unsigned long int i = ulongval ();
20534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20535 return 1;
20536 fprintf (f, "%lu\n", i);
20537 }
20538 return ferror (f) || fclose (f) != 0;
20539
20540 ;
20541 return 0;
20542 }
20543 _ACEOF
20544 rm -f conftest$ac_exeext
20545 if { (ac_try="$ac_link"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20549 esac
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_link") 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20555 { (case "(($ac_try" in
20556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20557 *) ac_try_echo=$ac_try;;
20558 esac
20559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_try") 2>&5
20561 ac_status=$?
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20564 ac_cv_sizeof_long_long=`cat conftest.val`
20565 else
20566 echo "$as_me: program exited with status $ac_status" >&5
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.$ac_ext >&5
20569
20570 ( exit $ac_status )
20571 if test "$ac_cv_type_long_long" = yes; then
20572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20573 See \`config.log' for more details." >&5
20574 echo "$as_me: error: cannot compute sizeof (long long)
20575 See \`config.log' for more details." >&2;}
20576 { (exit 77); exit 77; }; }
20577 else
20578 ac_cv_sizeof_long_long=0
20579 fi
20580 fi
20581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20582 fi
20583 rm -f conftest.val
20584 fi
20585 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20586 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20587
20588
20589
20590 cat >>confdefs.h <<_ACEOF
20591 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20592 _ACEOF
20593
20594
20595 ;;
20596 *-hp-hpux* )
20597 { echo "$as_me:$LINENO: checking for long long" >&5
20598 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20599 if test "${ac_cv_type_long_long+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 else
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef long long ac__type_new_;
20610 int
20611 main ()
20612 {
20613 if ((ac__type_new_ *) 0)
20614 return 0;
20615 if (sizeof (ac__type_new_))
20616 return 0;
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20626 esac
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20629 ac_status=$?
20630 grep -v '^ *+' conftest.er1 >conftest.err
20631 rm -f conftest.er1
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20638 ac_cv_type_long_long=yes
20639 else
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20642
20643 ac_cv_type_long_long=no
20644 fi
20645
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 fi
20648 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20649 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20650
20651 # The cast to long int works around a bug in the HP C Compiler
20652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20654 # This bug is HP SR number 8606223364.
20655 { echo "$as_me:$LINENO: checking size of long long" >&5
20656 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20657 if test "${ac_cv_sizeof_long_long+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660 if test "$cross_compiling" = yes; then
20661 # Depending upon the size, compute the lo and hi bounds.
20662 cat >conftest.$ac_ext <<_ACEOF
20663 /* confdefs.h. */
20664 _ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 $ac_includes_default
20669 typedef long long ac__type_sizeof_;
20670 int
20671 main ()
20672 {
20673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20674 test_array [0] = 0
20675
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20697 ac_lo=0 ac_mid=0
20698 while :; do
20699 cat >conftest.$ac_ext <<_ACEOF
20700 /* confdefs.h. */
20701 _ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef long long ac__type_sizeof_;
20707 int
20708 main ()
20709 {
20710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20711 test_array [0] = 0
20712
20713 ;
20714 return 0;
20715 }
20716 _ACEOF
20717 rm -f conftest.$ac_objext
20718 if { (ac_try="$ac_compile"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20721 *) ac_try_echo=$ac_try;;
20722 esac
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_compile") 2>conftest.er1
20725 ac_status=$?
20726 grep -v '^ *+' conftest.er1 >conftest.err
20727 rm -f conftest.er1
20728 cat conftest.err >&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest.$ac_objext; then
20734 ac_hi=$ac_mid; break
20735 else
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.$ac_ext >&5
20738
20739 ac_lo=`expr $ac_mid + 1`
20740 if test $ac_lo -le $ac_mid; then
20741 ac_lo= ac_hi=
20742 break
20743 fi
20744 ac_mid=`expr 2 '*' $ac_mid + 1`
20745 fi
20746
20747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20748 done
20749 else
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20752
20753 cat >conftest.$ac_ext <<_ACEOF
20754 /* confdefs.h. */
20755 _ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef long long ac__type_sizeof_;
20761 int
20762 main ()
20763 {
20764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20765 test_array [0] = 0
20766
20767 ;
20768 return 0;
20769 }
20770 _ACEOF
20771 rm -f conftest.$ac_objext
20772 if { (ac_try="$ac_compile"
20773 case "(($ac_try" in
20774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20776 esac
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_compile") 2>conftest.er1
20779 ac_status=$?
20780 grep -v '^ *+' conftest.er1 >conftest.err
20781 rm -f conftest.er1
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } && {
20785 test -z "$ac_c_werror_flag" ||
20786 test ! -s conftest.err
20787 } && test -s conftest.$ac_objext; then
20788 ac_hi=-1 ac_mid=-1
20789 while :; do
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef long long ac__type_sizeof_;
20798 int
20799 main ()
20800 {
20801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20802 test_array [0] = 0
20803
20804 ;
20805 return 0;
20806 }
20807 _ACEOF
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20812 *) ac_try_echo=$ac_try;;
20813 esac
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.$ac_objext; then
20825 ac_lo=$ac_mid; break
20826 else
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20829
20830 ac_hi=`expr '(' $ac_mid ')' - 1`
20831 if test $ac_mid -le $ac_hi; then
20832 ac_lo= ac_hi=
20833 break
20834 fi
20835 ac_mid=`expr 2 '*' $ac_mid`
20836 fi
20837
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 done
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20843
20844 ac_lo= ac_hi=
20845 fi
20846
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 fi
20849
20850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851 # Binary search between lo and hi bounds.
20852 while test "x$ac_lo" != "x$ac_hi"; do
20853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20854 cat >conftest.$ac_ext <<_ACEOF
20855 /* confdefs.h. */
20856 _ACEOF
20857 cat confdefs.h >>conftest.$ac_ext
20858 cat >>conftest.$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20861 typedef long long ac__type_sizeof_;
20862 int
20863 main ()
20864 {
20865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20866 test_array [0] = 0
20867
20868 ;
20869 return 0;
20870 }
20871 _ACEOF
20872 rm -f conftest.$ac_objext
20873 if { (ac_try="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20877 esac
20878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20879 (eval "$ac_compile") 2>conftest.er1
20880 ac_status=$?
20881 grep -v '^ *+' conftest.er1 >conftest.err
20882 rm -f conftest.er1
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } && {
20886 test -z "$ac_c_werror_flag" ||
20887 test ! -s conftest.err
20888 } && test -s conftest.$ac_objext; then
20889 ac_hi=$ac_mid
20890 else
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20893
20894 ac_lo=`expr '(' $ac_mid ')' + 1`
20895 fi
20896
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 done
20899 case $ac_lo in
20900 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20901 '') if test "$ac_cv_type_long_long" = yes; then
20902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20903 See \`config.log' for more details." >&5
20904 echo "$as_me: error: cannot compute sizeof (long long)
20905 See \`config.log' for more details." >&2;}
20906 { (exit 77); exit 77; }; }
20907 else
20908 ac_cv_sizeof_long_long=0
20909 fi ;;
20910 esac
20911 else
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef long long ac__type_sizeof_;
20920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20922 #include <stdio.h>
20923 #include <stdlib.h>
20924 int
20925 main ()
20926 {
20927
20928 FILE *f = fopen ("conftest.val", "w");
20929 if (! f)
20930 return 1;
20931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20932 {
20933 long int i = longval ();
20934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20935 return 1;
20936 fprintf (f, "%ld\n", i);
20937 }
20938 else
20939 {
20940 unsigned long int i = ulongval ();
20941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20942 return 1;
20943 fprintf (f, "%lu\n", i);
20944 }
20945 return ferror (f) || fclose (f) != 0;
20946
20947 ;
20948 return 0;
20949 }
20950 _ACEOF
20951 rm -f conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20956 esac
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20962 { (case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20965 esac
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_try") 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 ac_cv_sizeof_long_long=`cat conftest.val`
20972 else
20973 echo "$as_me: program exited with status $ac_status" >&5
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20976
20977 ( exit $ac_status )
20978 if test "$ac_cv_type_long_long" = yes; then
20979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20980 See \`config.log' for more details." >&5
20981 echo "$as_me: error: cannot compute sizeof (long long)
20982 See \`config.log' for more details." >&2;}
20983 { (exit 77); exit 77; }; }
20984 else
20985 ac_cv_sizeof_long_long=0
20986 fi
20987 fi
20988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20989 fi
20990 rm -f conftest.val
20991 fi
20992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20993 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20994
20995
20996
20997 cat >>confdefs.h <<_ACEOF
20998 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20999 _ACEOF
21000
21001
21002 if test "$ac_cv_sizeof_long_long" != "0"; then
21003 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21004 fi
21005 ;;
21006 * )
21007 { echo "$as_me:$LINENO: checking for long long" >&5
21008 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21009 if test "${ac_cv_type_long_long+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 else
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 typedef long long ac__type_new_;
21020 int
21021 main ()
21022 {
21023 if ((ac__type_new_ *) 0)
21024 return 0;
21025 if (sizeof (ac__type_new_))
21026 return 0;
21027 ;
21028 return 0;
21029 }
21030 _ACEOF
21031 rm -f conftest.$ac_objext
21032 if { (ac_try="$ac_compile"
21033 case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21036 esac
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_compile") 2>conftest.er1
21039 ac_status=$?
21040 grep -v '^ *+' conftest.er1 >conftest.err
21041 rm -f conftest.er1
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } && {
21045 test -z "$ac_c_werror_flag" ||
21046 test ! -s conftest.err
21047 } && test -s conftest.$ac_objext; then
21048 ac_cv_type_long_long=yes
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 ac_cv_type_long_long=no
21054 fi
21055
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 fi
21058 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21059 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21060
21061 # The cast to long int works around a bug in the HP C Compiler
21062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21064 # This bug is HP SR number 8606223364.
21065 { echo "$as_me:$LINENO: checking size of long long" >&5
21066 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21067 if test "${ac_cv_sizeof_long_long+set}" = set; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 else
21070 if test "$cross_compiling" = yes; then
21071 # Depending upon the size, compute the lo and hi bounds.
21072 cat >conftest.$ac_ext <<_ACEOF
21073 /* confdefs.h. */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 $ac_includes_default
21079 typedef long long ac__type_sizeof_;
21080 int
21081 main ()
21082 {
21083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21084 test_array [0] = 0
21085
21086 ;
21087 return 0;
21088 }
21089 _ACEOF
21090 rm -f conftest.$ac_objext
21091 if { (ac_try="$ac_compile"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21095 esac
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_compile") 2>conftest.er1
21098 ac_status=$?
21099 grep -v '^ *+' conftest.er1 >conftest.err
21100 rm -f conftest.er1
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && {
21104 test -z "$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 } && test -s conftest.$ac_objext; then
21107 ac_lo=0 ac_mid=0
21108 while :; do
21109 cat >conftest.$ac_ext <<_ACEOF
21110 /* confdefs.h. */
21111 _ACEOF
21112 cat confdefs.h >>conftest.$ac_ext
21113 cat >>conftest.$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21116 typedef long long ac__type_sizeof_;
21117 int
21118 main ()
21119 {
21120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21121 test_array [0] = 0
21122
21123 ;
21124 return 0;
21125 }
21126 _ACEOF
21127 rm -f conftest.$ac_objext
21128 if { (ac_try="$ac_compile"
21129 case "(($ac_try" in
21130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21131 *) ac_try_echo=$ac_try;;
21132 esac
21133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134 (eval "$ac_compile") 2>conftest.er1
21135 ac_status=$?
21136 grep -v '^ *+' conftest.er1 >conftest.err
21137 rm -f conftest.er1
21138 cat conftest.err >&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } && {
21141 test -z "$ac_c_werror_flag" ||
21142 test ! -s conftest.err
21143 } && test -s conftest.$ac_objext; then
21144 ac_hi=$ac_mid; break
21145 else
21146 echo "$as_me: failed program was:" >&5
21147 sed 's/^/| /' conftest.$ac_ext >&5
21148
21149 ac_lo=`expr $ac_mid + 1`
21150 if test $ac_lo -le $ac_mid; then
21151 ac_lo= ac_hi=
21152 break
21153 fi
21154 ac_mid=`expr 2 '*' $ac_mid + 1`
21155 fi
21156
21157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21158 done
21159 else
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21162
21163 cat >conftest.$ac_ext <<_ACEOF
21164 /* confdefs.h. */
21165 _ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 $ac_includes_default
21170 typedef long long ac__type_sizeof_;
21171 int
21172 main ()
21173 {
21174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21175 test_array [0] = 0
21176
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (ac_try="$ac_compile"
21183 case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21186 esac
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_compile") 2>conftest.er1
21189 ac_status=$?
21190 grep -v '^ *+' conftest.er1 >conftest.err
21191 rm -f conftest.er1
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } && {
21195 test -z "$ac_c_werror_flag" ||
21196 test ! -s conftest.err
21197 } && test -s conftest.$ac_objext; then
21198 ac_hi=-1 ac_mid=-1
21199 while :; do
21200 cat >conftest.$ac_ext <<_ACEOF
21201 /* confdefs.h. */
21202 _ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 $ac_includes_default
21207 typedef long long ac__type_sizeof_;
21208 int
21209 main ()
21210 {
21211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21212 test_array [0] = 0
21213
21214 ;
21215 return 0;
21216 }
21217 _ACEOF
21218 rm -f conftest.$ac_objext
21219 if { (ac_try="$ac_compile"
21220 case "(($ac_try" in
21221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21222 *) ac_try_echo=$ac_try;;
21223 esac
21224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21225 (eval "$ac_compile") 2>conftest.er1
21226 ac_status=$?
21227 grep -v '^ *+' conftest.er1 >conftest.err
21228 rm -f conftest.er1
21229 cat conftest.err >&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } && {
21232 test -z "$ac_c_werror_flag" ||
21233 test ! -s conftest.err
21234 } && test -s conftest.$ac_objext; then
21235 ac_lo=$ac_mid; break
21236 else
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21239
21240 ac_hi=`expr '(' $ac_mid ')' - 1`
21241 if test $ac_mid -le $ac_hi; then
21242 ac_lo= ac_hi=
21243 break
21244 fi
21245 ac_mid=`expr 2 '*' $ac_mid`
21246 fi
21247
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 done
21250 else
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21253
21254 ac_lo= ac_hi=
21255 fi
21256
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258 fi
21259
21260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261 # Binary search between lo and hi bounds.
21262 while test "x$ac_lo" != "x$ac_hi"; do
21263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef long long ac__type_sizeof_;
21272 int
21273 main ()
21274 {
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21276 test_array [0] = 0
21277
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 rm -f conftest.$ac_objext
21283 if { (ac_try="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21287 esac
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21299 ac_hi=$ac_mid
21300 else
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.$ac_ext >&5
21303
21304 ac_lo=`expr '(' $ac_mid ')' + 1`
21305 fi
21306
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 done
21309 case $ac_lo in
21310 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21311 '') if test "$ac_cv_type_long_long" = yes; then
21312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21313 See \`config.log' for more details." >&5
21314 echo "$as_me: error: cannot compute sizeof (long long)
21315 See \`config.log' for more details." >&2;}
21316 { (exit 77); exit 77; }; }
21317 else
21318 ac_cv_sizeof_long_long=0
21319 fi ;;
21320 esac
21321 else
21322 cat >conftest.$ac_ext <<_ACEOF
21323 /* confdefs.h. */
21324 _ACEOF
21325 cat confdefs.h >>conftest.$ac_ext
21326 cat >>conftest.$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 $ac_includes_default
21329 typedef long long ac__type_sizeof_;
21330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21332 #include <stdio.h>
21333 #include <stdlib.h>
21334 int
21335 main ()
21336 {
21337
21338 FILE *f = fopen ("conftest.val", "w");
21339 if (! f)
21340 return 1;
21341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21342 {
21343 long int i = longval ();
21344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21345 return 1;
21346 fprintf (f, "%ld\n", i);
21347 }
21348 else
21349 {
21350 unsigned long int i = ulongval ();
21351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21352 return 1;
21353 fprintf (f, "%lu\n", i);
21354 }
21355 return ferror (f) || fclose (f) != 0;
21356
21357 ;
21358 return 0;
21359 }
21360 _ACEOF
21361 rm -f conftest$ac_exeext
21362 if { (ac_try="$ac_link"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21366 esac
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_link") 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21372 { (case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21375 esac
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_try") 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_sizeof_long_long=`cat conftest.val`
21382 else
21383 echo "$as_me: program exited with status $ac_status" >&5
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21386
21387 ( exit $ac_status )
21388 if test "$ac_cv_type_long_long" = yes; then
21389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21390 See \`config.log' for more details." >&5
21391 echo "$as_me: error: cannot compute sizeof (long long)
21392 See \`config.log' for more details." >&2;}
21393 { (exit 77); exit 77; }; }
21394 else
21395 ac_cv_sizeof_long_long=0
21396 fi
21397 fi
21398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21399 fi
21400 rm -f conftest.val
21401 fi
21402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21403 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21404
21405
21406
21407 cat >>confdefs.h <<_ACEOF
21408 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21409 _ACEOF
21410
21411
21412 esac
21413
21414 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21415 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21416 if test "${ac_cv_type_wchar_t+set}" = set; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21418 else
21419 cat >conftest.$ac_ext <<_ACEOF
21420 /* confdefs.h. */
21421 _ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21425
21426 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21427 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21428 # error "fake wchar_t"
21429 #endif
21430 #ifdef HAVE_WCHAR_H
21431 # ifdef __CYGWIN__
21432 # include <stddef.h>
21433 # endif
21434 # include <wchar.h>
21435 #endif
21436 #ifdef HAVE_STDLIB_H
21437 # include <stdlib.h>
21438 #endif
21439 #include <stdio.h>
21440
21441
21442
21443 typedef wchar_t ac__type_new_;
21444 int
21445 main ()
21446 {
21447 if ((ac__type_new_ *) 0)
21448 return 0;
21449 if (sizeof (ac__type_new_))
21450 return 0;
21451 ;
21452 return 0;
21453 }
21454 _ACEOF
21455 rm -f conftest.$ac_objext
21456 if { (ac_try="$ac_compile"
21457 case "(($ac_try" in
21458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21459 *) ac_try_echo=$ac_try;;
21460 esac
21461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21462 (eval "$ac_compile") 2>conftest.er1
21463 ac_status=$?
21464 grep -v '^ *+' conftest.er1 >conftest.err
21465 rm -f conftest.er1
21466 cat conftest.err >&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } && {
21469 test -z "$ac_c_werror_flag" ||
21470 test ! -s conftest.err
21471 } && test -s conftest.$ac_objext; then
21472 ac_cv_type_wchar_t=yes
21473 else
21474 echo "$as_me: failed program was:" >&5
21475 sed 's/^/| /' conftest.$ac_ext >&5
21476
21477 ac_cv_type_wchar_t=no
21478 fi
21479
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 fi
21482 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21483 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21484
21485 # The cast to long int works around a bug in the HP C Compiler
21486 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21487 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21488 # This bug is HP SR number 8606223364.
21489 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21490 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21491 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21493 else
21494 if test "$cross_compiling" = yes; then
21495 # Depending upon the size, compute the lo and hi bounds.
21496 cat >conftest.$ac_ext <<_ACEOF
21497 /* confdefs.h. */
21498 _ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502
21503 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21504 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21505 # error "fake wchar_t"
21506 #endif
21507 #ifdef HAVE_WCHAR_H
21508 # ifdef __CYGWIN__
21509 # include <stddef.h>
21510 # endif
21511 # include <wchar.h>
21512 #endif
21513 #ifdef HAVE_STDLIB_H
21514 # include <stdlib.h>
21515 #endif
21516 #include <stdio.h>
21517
21518
21519
21520 typedef wchar_t ac__type_sizeof_;
21521 int
21522 main ()
21523 {
21524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21525 test_array [0] = 0
21526
21527 ;
21528 return 0;
21529 }
21530 _ACEOF
21531 rm -f conftest.$ac_objext
21532 if { (ac_try="$ac_compile"
21533 case "(($ac_try" in
21534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21536 esac
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_compile") 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } && {
21545 test -z "$ac_c_werror_flag" ||
21546 test ! -s conftest.err
21547 } && test -s conftest.$ac_objext; then
21548 ac_lo=0 ac_mid=0
21549 while :; do
21550 cat >conftest.$ac_ext <<_ACEOF
21551 /* confdefs.h. */
21552 _ACEOF
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556
21557 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21558 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21559 # error "fake wchar_t"
21560 #endif
21561 #ifdef HAVE_WCHAR_H
21562 # ifdef __CYGWIN__
21563 # include <stddef.h>
21564 # endif
21565 # include <wchar.h>
21566 #endif
21567 #ifdef HAVE_STDLIB_H
21568 # include <stdlib.h>
21569 #endif
21570 #include <stdio.h>
21571
21572
21573
21574 typedef wchar_t ac__type_sizeof_;
21575 int
21576 main ()
21577 {
21578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21579 test_array [0] = 0
21580
21581 ;
21582 return 0;
21583 }
21584 _ACEOF
21585 rm -f conftest.$ac_objext
21586 if { (ac_try="$ac_compile"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21590 esac
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_compile") 2>conftest.er1
21593 ac_status=$?
21594 grep -v '^ *+' conftest.er1 >conftest.err
21595 rm -f conftest.er1
21596 cat conftest.err >&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && {
21599 test -z "$ac_c_werror_flag" ||
21600 test ! -s conftest.err
21601 } && test -s conftest.$ac_objext; then
21602 ac_hi=$ac_mid; break
21603 else
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.$ac_ext >&5
21606
21607 ac_lo=`expr $ac_mid + 1`
21608 if test $ac_lo -le $ac_mid; then
21609 ac_lo= ac_hi=
21610 break
21611 fi
21612 ac_mid=`expr 2 '*' $ac_mid + 1`
21613 fi
21614
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21616 done
21617 else
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.$ac_ext >&5
21620
21621 cat >conftest.$ac_ext <<_ACEOF
21622 /* confdefs.h. */
21623 _ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21627
21628 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21629 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21630 # error "fake wchar_t"
21631 #endif
21632 #ifdef HAVE_WCHAR_H
21633 # ifdef __CYGWIN__
21634 # include <stddef.h>
21635 # endif
21636 # include <wchar.h>
21637 #endif
21638 #ifdef HAVE_STDLIB_H
21639 # include <stdlib.h>
21640 #endif
21641 #include <stdio.h>
21642
21643
21644
21645 typedef wchar_t ac__type_sizeof_;
21646 int
21647 main ()
21648 {
21649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21650 test_array [0] = 0
21651
21652 ;
21653 return 0;
21654 }
21655 _ACEOF
21656 rm -f conftest.$ac_objext
21657 if { (ac_try="$ac_compile"
21658 case "(($ac_try" in
21659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21660 *) ac_try_echo=$ac_try;;
21661 esac
21662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21663 (eval "$ac_compile") 2>conftest.er1
21664 ac_status=$?
21665 grep -v '^ *+' conftest.er1 >conftest.err
21666 rm -f conftest.er1
21667 cat conftest.err >&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } && {
21670 test -z "$ac_c_werror_flag" ||
21671 test ! -s conftest.err
21672 } && test -s conftest.$ac_objext; then
21673 ac_hi=-1 ac_mid=-1
21674 while :; do
21675 cat >conftest.$ac_ext <<_ACEOF
21676 /* confdefs.h. */
21677 _ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21681
21682 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21683 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21684 # error "fake wchar_t"
21685 #endif
21686 #ifdef HAVE_WCHAR_H
21687 # ifdef __CYGWIN__
21688 # include <stddef.h>
21689 # endif
21690 # include <wchar.h>
21691 #endif
21692 #ifdef HAVE_STDLIB_H
21693 # include <stdlib.h>
21694 #endif
21695 #include <stdio.h>
21696
21697
21698
21699 typedef wchar_t ac__type_sizeof_;
21700 int
21701 main ()
21702 {
21703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21704 test_array [0] = 0
21705
21706 ;
21707 return 0;
21708 }
21709 _ACEOF
21710 rm -f conftest.$ac_objext
21711 if { (ac_try="$ac_compile"
21712 case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714 *) ac_try_echo=$ac_try;;
21715 esac
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_compile") 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest.$ac_objext; then
21727 ac_lo=$ac_mid; break
21728 else
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.$ac_ext >&5
21731
21732 ac_hi=`expr '(' $ac_mid ')' - 1`
21733 if test $ac_mid -le $ac_hi; then
21734 ac_lo= ac_hi=
21735 break
21736 fi
21737 ac_mid=`expr 2 '*' $ac_mid`
21738 fi
21739
21740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21741 done
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_lo= ac_hi=
21747 fi
21748
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 fi
21751
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 # Binary search between lo and hi bounds.
21754 while test "x$ac_lo" != "x$ac_hi"; do
21755 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21756 cat >conftest.$ac_ext <<_ACEOF
21757 /* confdefs.h. */
21758 _ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762
21763 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21764 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21765 # error "fake wchar_t"
21766 #endif
21767 #ifdef HAVE_WCHAR_H
21768 # ifdef __CYGWIN__
21769 # include <stddef.h>
21770 # endif
21771 # include <wchar.h>
21772 #endif
21773 #ifdef HAVE_STDLIB_H
21774 # include <stdlib.h>
21775 #endif
21776 #include <stdio.h>
21777
21778
21779
21780 typedef wchar_t ac__type_sizeof_;
21781 int
21782 main ()
21783 {
21784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21785 test_array [0] = 0
21786
21787 ;
21788 return 0;
21789 }
21790 _ACEOF
21791 rm -f conftest.$ac_objext
21792 if { (ac_try="$ac_compile"
21793 case "(($ac_try" in
21794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21795 *) ac_try_echo=$ac_try;;
21796 esac
21797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21798 (eval "$ac_compile") 2>conftest.er1
21799 ac_status=$?
21800 grep -v '^ *+' conftest.er1 >conftest.err
21801 rm -f conftest.er1
21802 cat conftest.err >&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } && {
21805 test -z "$ac_c_werror_flag" ||
21806 test ! -s conftest.err
21807 } && test -s conftest.$ac_objext; then
21808 ac_hi=$ac_mid
21809 else
21810 echo "$as_me: failed program was:" >&5
21811 sed 's/^/| /' conftest.$ac_ext >&5
21812
21813 ac_lo=`expr '(' $ac_mid ')' + 1`
21814 fi
21815
21816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21817 done
21818 case $ac_lo in
21819 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21820 '') if test "$ac_cv_type_wchar_t" = yes; then
21821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21822 See \`config.log' for more details." >&5
21823 echo "$as_me: error: cannot compute sizeof (wchar_t)
21824 See \`config.log' for more details." >&2;}
21825 { (exit 77); exit 77; }; }
21826 else
21827 ac_cv_sizeof_wchar_t=0
21828 fi ;;
21829 esac
21830 else
21831 cat >conftest.$ac_ext <<_ACEOF
21832 /* confdefs.h. */
21833 _ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21837
21838 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21839 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21840 # error "fake wchar_t"
21841 #endif
21842 #ifdef HAVE_WCHAR_H
21843 # ifdef __CYGWIN__
21844 # include <stddef.h>
21845 # endif
21846 # include <wchar.h>
21847 #endif
21848 #ifdef HAVE_STDLIB_H
21849 # include <stdlib.h>
21850 #endif
21851 #include <stdio.h>
21852
21853
21854
21855 typedef wchar_t ac__type_sizeof_;
21856 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21857 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21858 #include <stdio.h>
21859 #include <stdlib.h>
21860 int
21861 main ()
21862 {
21863
21864 FILE *f = fopen ("conftest.val", "w");
21865 if (! f)
21866 return 1;
21867 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21868 {
21869 long int i = longval ();
21870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21871 return 1;
21872 fprintf (f, "%ld\n", i);
21873 }
21874 else
21875 {
21876 unsigned long int i = ulongval ();
21877 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21878 return 1;
21879 fprintf (f, "%lu\n", i);
21880 }
21881 return ferror (f) || fclose (f) != 0;
21882
21883 ;
21884 return 0;
21885 }
21886 _ACEOF
21887 rm -f conftest$ac_exeext
21888 if { (ac_try="$ac_link"
21889 case "(($ac_try" in
21890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21891 *) ac_try_echo=$ac_try;;
21892 esac
21893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21894 (eval "$ac_link") 2>&5
21895 ac_status=$?
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21898 { (case "(($ac_try" in
21899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21900 *) ac_try_echo=$ac_try;;
21901 esac
21902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_try") 2>&5
21904 ac_status=$?
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_sizeof_wchar_t=`cat conftest.val`
21908 else
21909 echo "$as_me: program exited with status $ac_status" >&5
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21912
21913 ( exit $ac_status )
21914 if test "$ac_cv_type_wchar_t" = yes; then
21915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21916 See \`config.log' for more details." >&5
21917 echo "$as_me: error: cannot compute sizeof (wchar_t)
21918 See \`config.log' for more details." >&2;}
21919 { (exit 77); exit 77; }; }
21920 else
21921 ac_cv_sizeof_wchar_t=0
21922 fi
21923 fi
21924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21925 fi
21926 rm -f conftest.val
21927 fi
21928 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21929 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21930
21931
21932
21933 cat >>confdefs.h <<_ACEOF
21934 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21935 _ACEOF
21936
21937
21938 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21939 wxUSE_WCHAR_T=yes
21940 else
21941 wxUSE_WCHAR_T=no
21942 fi
21943
21944 { echo "$as_me:$LINENO: checking for va_copy" >&5
21945 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21946 if test "${wx_cv_func_va_copy+set}" = set; then
21947 echo $ECHO_N "(cached) $ECHO_C" >&6
21948 else
21949
21950 cat >conftest.$ac_ext <<_ACEOF
21951
21952 #include <stdarg.h>
21953 void foo(char *f, ...)
21954 {
21955 va_list ap1, ap2;
21956 va_start(ap1, f);
21957 va_copy(ap2, ap1);
21958 va_end(ap2);
21959 va_end(ap1);
21960 }
21961 int main()
21962 {
21963 foo("hi", 17);
21964 return 0;
21965 }
21966 _ACEOF
21967 rm -f conftest.$ac_objext conftest$ac_exeext
21968 if { (ac_try="$ac_link"
21969 case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21972 esac
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_link") 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } && {
21981 test -z "$ac_c_werror_flag" ||
21982 test ! -s conftest.err
21983 } && test -s conftest$ac_exeext &&
21984 $as_test_x conftest$ac_exeext; then
21985 wx_cv_func_va_copy=yes
21986 else
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.$ac_ext >&5
21989
21990 wx_cv_func_va_copy=no
21991
21992 fi
21993
21994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21995 conftest$ac_exeext conftest.$ac_ext
21996
21997
21998 fi
21999 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22000 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22001
22002 if test $wx_cv_func_va_copy = "yes"; then
22003 cat >>confdefs.h <<\_ACEOF
22004 #define HAVE_VA_COPY 1
22005 _ACEOF
22006
22007 else
22008 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22009 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22010 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22011 echo $ECHO_N "(cached) $ECHO_C" >&6
22012 else
22013
22014 if test "$cross_compiling" = yes; then
22015 wx_cv_type_va_list_lvalue=yes
22016
22017 else
22018 cat >conftest.$ac_ext <<_ACEOF
22019
22020 #include <stdarg.h>
22021 int foo(char *f, ...)
22022 {
22023 va_list ap1, ap2;
22024 va_start(ap1, f);
22025 ap2 = ap1;
22026 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22027 return 1;
22028 va_end(ap2);
22029 va_end(ap1);
22030 return 0;
22031 }
22032 int main()
22033 {
22034 return foo("hi", 17);
22035 }
22036 _ACEOF
22037 rm -f conftest$ac_exeext
22038 if { (ac_try="$ac_link"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22042 esac
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_link") 2>&5
22045 ac_status=$?
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22048 { (case "(($ac_try" in
22049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22050 *) ac_try_echo=$ac_try;;
22051 esac
22052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22053 (eval "$ac_try") 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 wx_cv_type_va_list_lvalue=yes
22058 else
22059 echo "$as_me: program exited with status $ac_status" >&5
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22062
22063 ( exit $ac_status )
22064 wx_cv_type_va_list_lvalue=no
22065 fi
22066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22067 fi
22068
22069
22070
22071
22072 fi
22073 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22074 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22075
22076 if test $wx_cv_type_va_list_lvalue != "yes"; then
22077 cat >>confdefs.h <<\_ACEOF
22078 #define VA_LIST_IS_ARRAY 1
22079 _ACEOF
22080
22081 fi
22082 fi
22083
22084 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22085
22086 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22087 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22088 if test "${wx_cv_have_variadic_macros+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 else
22091
22092 ac_ext=cpp
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22097
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104
22105 #include <stdio.h>
22106 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22107
22108 int
22109 main ()
22110 {
22111
22112 test("%s %d %p", "test", 1, 0);
22113
22114
22115 ;
22116 return 0;
22117 }
22118 _ACEOF
22119 rm -f conftest.$ac_objext
22120 if { (ac_try="$ac_compile"
22121 case "(($ac_try" in
22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22123 *) ac_try_echo=$ac_try;;
22124 esac
22125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126 (eval "$ac_compile") 2>conftest.er1
22127 ac_status=$?
22128 grep -v '^ *+' conftest.er1 >conftest.err
22129 rm -f conftest.er1
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } && {
22133 test -z "$ac_cxx_werror_flag" ||
22134 test ! -s conftest.err
22135 } && test -s conftest.$ac_objext; then
22136 wx_cv_have_variadic_macros=yes
22137 else
22138 echo "$as_me: failed program was:" >&5
22139 sed 's/^/| /' conftest.$ac_ext >&5
22140
22141 wx_cv_have_variadic_macros=no
22142
22143 fi
22144
22145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22146 ac_ext=c
22147 ac_cpp='$CPP $CPPFLAGS'
22148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22151
22152
22153
22154 fi
22155 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22156 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22157
22158 if test $wx_cv_have_variadic_macros = "yes"; then
22159 cat >>confdefs.h <<\_ACEOF
22160 #define HAVE_VARIADIC_MACROS 1
22161 _ACEOF
22162
22163 fi
22164
22165 fi
22166 # Check whether --enable-largefile was given.
22167 if test "${enable_largefile+set}" = set; then
22168 enableval=$enable_largefile;
22169 fi
22170
22171 if test "$enable_largefile" != no; then
22172 wx_largefile=no
22173
22174 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22175 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22176 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22177 echo $ECHO_N "(cached) $ECHO_C" >&6
22178 else
22179
22180 cat >conftest.$ac_ext <<_ACEOF
22181 /* confdefs.h. */
22182 _ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22186 #define _FILE_OFFSET_BITS 64
22187 #include <sys/types.h>
22188 int
22189 main ()
22190 {
22191 typedef struct {
22192 unsigned int field: sizeof(off_t) == 8;
22193 } wxlf;
22194
22195 ;
22196 return 0;
22197 }
22198 _ACEOF
22199 rm -f conftest.$ac_objext
22200 if { (ac_try="$ac_compile"
22201 case "(($ac_try" in
22202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22204 esac
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_compile") 2>conftest.er1
22207 ac_status=$?
22208 grep -v '^ *+' conftest.er1 >conftest.err
22209 rm -f conftest.er1
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } && {
22213 test -z "$ac_c_werror_flag" ||
22214 test ! -s conftest.err
22215 } && test -s conftest.$ac_objext; then
22216 ac_cv_sys_file_offset_bits=64
22217 else
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.$ac_ext >&5
22220
22221 ac_cv_sys_file_offset_bits=no
22222 fi
22223
22224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22225
22226
22227 fi
22228 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22229 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22230
22231 if test "$ac_cv_sys_file_offset_bits" != no; then
22232 wx_largefile=yes
22233 cat >>confdefs.h <<_ACEOF
22234 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22235 _ACEOF
22236
22237 fi
22238
22239 if test "x$wx_largefile" != "xyes"; then
22240
22241 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22242 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22243 if test "${ac_cv_sys_large_files+set}" = set; then
22244 echo $ECHO_N "(cached) $ECHO_C" >&6
22245 else
22246
22247 cat >conftest.$ac_ext <<_ACEOF
22248 /* confdefs.h. */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 #define _LARGE_FILES 1
22254 #include <sys/types.h>
22255 int
22256 main ()
22257 {
22258 typedef struct {
22259 unsigned int field: sizeof(off_t) == 8;
22260 } wxlf;
22261
22262 ;
22263 return 0;
22264 }
22265 _ACEOF
22266 rm -f conftest.$ac_objext
22267 if { (ac_try="$ac_compile"
22268 case "(($ac_try" in
22269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22270 *) ac_try_echo=$ac_try;;
22271 esac
22272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22273 (eval "$ac_compile") 2>conftest.er1
22274 ac_status=$?
22275 grep -v '^ *+' conftest.er1 >conftest.err
22276 rm -f conftest.er1
22277 cat conftest.err >&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } && {
22280 test -z "$ac_c_werror_flag" ||
22281 test ! -s conftest.err
22282 } && test -s conftest.$ac_objext; then
22283 ac_cv_sys_large_files=1
22284 else
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22287
22288 ac_cv_sys_large_files=no
22289 fi
22290
22291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22292
22293
22294 fi
22295 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22296 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22297
22298 if test "$ac_cv_sys_large_files" != no; then
22299 wx_largefile=yes
22300 cat >>confdefs.h <<_ACEOF
22301 #define _LARGE_FILES $ac_cv_sys_large_files
22302 _ACEOF
22303
22304 fi
22305
22306 fi
22307
22308 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22309 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22310 if test "x$wx_largefile" = "xyes"; then
22311 cat >>confdefs.h <<\_ACEOF
22312 #define HAVE_LARGEFILE_SUPPORT 1
22313 _ACEOF
22314
22315 fi
22316 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22317 echo "${ECHO_T}$wx_largefile" >&6; }
22318 fi
22319
22320
22321 if test "x$wx_largefile" = "xyes"; then
22322 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22323 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22324
22325 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22326 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22327 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22328 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 else
22331
22332 ac_ext=cpp
22333 ac_cpp='$CXXCPP $CPPFLAGS'
22334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22337
22338 cat >conftest.$ac_ext <<_ACEOF
22339 /* confdefs.h. */
22340 _ACEOF
22341 cat confdefs.h >>conftest.$ac_ext
22342 cat >>conftest.$ac_ext <<_ACEOF
22343 /* end confdefs.h. */
22344
22345 int
22346 main ()
22347 {
22348
22349 #ifndef __STDC_EXT__
22350 choke me
22351 #endif
22352
22353 ;
22354 return 0;
22355 }
22356 _ACEOF
22357 rm -f conftest.$ac_objext
22358 if { (ac_try="$ac_compile"
22359 case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22362 esac
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_compile") 2>conftest.er1
22365 ac_status=$?
22366 grep -v '^ *+' conftest.er1 >conftest.err
22367 rm -f conftest.er1
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } && {
22371 test -z "$ac_cxx_werror_flag" ||
22372 test ! -s conftest.err
22373 } && test -s conftest.$ac_objext; then
22374 wx_cv_STDC_EXT_required=no
22375 else
22376 echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.$ac_ext >&5
22378
22379 wx_cv_STDC_EXT_required=yes
22380
22381 fi
22382
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 ac_ext=c
22385 ac_cpp='$CPP $CPPFLAGS'
22386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22389
22390
22391
22392 fi
22393 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22394 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22395 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22396 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22397 fi
22398 fi
22399 else
22400 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22401 fi
22402 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22403 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22404 if test "${ac_cv_sys_largefile_source+set}" = set; then
22405 echo $ECHO_N "(cached) $ECHO_C" >&6
22406 else
22407 while :; do
22408 cat >conftest.$ac_ext <<_ACEOF
22409 /* confdefs.h. */
22410 _ACEOF
22411 cat confdefs.h >>conftest.$ac_ext
22412 cat >>conftest.$ac_ext <<_ACEOF
22413 /* end confdefs.h. */
22414 #include <sys/types.h> /* for off_t */
22415 #include <stdio.h>
22416 int
22417 main ()
22418 {
22419 int (*fp) (FILE *, off_t, int) = fseeko;
22420 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22421 ;
22422 return 0;
22423 }
22424 _ACEOF
22425 rm -f conftest.$ac_objext conftest$ac_exeext
22426 if { (ac_try="$ac_link"
22427 case "(($ac_try" in
22428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22429 *) ac_try_echo=$ac_try;;
22430 esac
22431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22432 (eval "$ac_link") 2>conftest.er1
22433 ac_status=$?
22434 grep -v '^ *+' conftest.er1 >conftest.err
22435 rm -f conftest.er1
22436 cat conftest.err >&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } && {
22439 test -z "$ac_c_werror_flag" ||
22440 test ! -s conftest.err
22441 } && test -s conftest$ac_exeext &&
22442 $as_test_x conftest$ac_exeext; then
22443 ac_cv_sys_largefile_source=no; break
22444 else
22445 echo "$as_me: failed program was:" >&5
22446 sed 's/^/| /' conftest.$ac_ext >&5
22447
22448
22449 fi
22450
22451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22452 conftest$ac_exeext conftest.$ac_ext
22453 cat >conftest.$ac_ext <<_ACEOF
22454 /* confdefs.h. */
22455 _ACEOF
22456 cat confdefs.h >>conftest.$ac_ext
22457 cat >>conftest.$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22459 #define _LARGEFILE_SOURCE 1
22460 #include <sys/types.h> /* for off_t */
22461 #include <stdio.h>
22462 int
22463 main ()
22464 {
22465 int (*fp) (FILE *, off_t, int) = fseeko;
22466 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22467 ;
22468 return 0;
22469 }
22470 _ACEOF
22471 rm -f conftest.$ac_objext conftest$ac_exeext
22472 if { (ac_try="$ac_link"
22473 case "(($ac_try" in
22474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22475 *) ac_try_echo=$ac_try;;
22476 esac
22477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22478 (eval "$ac_link") 2>conftest.er1
22479 ac_status=$?
22480 grep -v '^ *+' conftest.er1 >conftest.err
22481 rm -f conftest.er1
22482 cat conftest.err >&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); } && {
22485 test -z "$ac_c_werror_flag" ||
22486 test ! -s conftest.err
22487 } && test -s conftest$ac_exeext &&
22488 $as_test_x conftest$ac_exeext; then
22489 ac_cv_sys_largefile_source=1; break
22490 else
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.$ac_ext >&5
22493
22494
22495 fi
22496
22497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22498 conftest$ac_exeext conftest.$ac_ext
22499 ac_cv_sys_largefile_source=unknown
22500 break
22501 done
22502 fi
22503 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22504 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22505 case $ac_cv_sys_largefile_source in #(
22506 no | unknown) ;;
22507 *)
22508 cat >>confdefs.h <<_ACEOF
22509 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22510 _ACEOF
22511 ;;
22512 esac
22513 rm -f conftest*
22514
22515 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22516 # in glibc 2.1.3, but that breaks too many other things.
22517 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22518 if test $ac_cv_sys_largefile_source != unknown; then
22519
22520 cat >>confdefs.h <<\_ACEOF
22521 #define HAVE_FSEEKO 1
22522 _ACEOF
22523
22524 fi
22525
22526 if test "$ac_cv_sys_largefile_source" != no; then
22527 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22528 fi
22529 fi
22530
22531 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22532 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22533 if test "${ac_cv_c_bigendian+set}" = set; then
22534 echo $ECHO_N "(cached) $ECHO_C" >&6
22535 else
22536 ac_cv_c_bigendian=unknown
22537 # See if sys/param.h defines the BYTE_ORDER macro.
22538 cat >conftest.$ac_ext <<_ACEOF
22539 /* confdefs.h. */
22540 _ACEOF
22541 cat confdefs.h >>conftest.$ac_ext
22542 cat >>conftest.$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544 #include <sys/types.h>
22545 #include <sys/param.h>
22546 int
22547 main ()
22548 {
22549
22550 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22551 bogus endian macros
22552 #endif
22553 ;
22554 return 0;
22555 }
22556 _ACEOF
22557 rm -f conftest.$ac_objext
22558 if { (ac_try="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22562 esac
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22565 ac_status=$?
22566 grep -v '^ *+' conftest.er1 >conftest.err
22567 rm -f conftest.er1
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.$ac_objext; then
22574 # It does; now see whether it defined to BIG_ENDIAN or not.
22575 cat >conftest.$ac_ext <<_ACEOF
22576 /* confdefs.h. */
22577 _ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581 #include <sys/types.h>
22582 #include <sys/param.h>
22583 int
22584 main ()
22585 {
22586
22587 #if BYTE_ORDER != BIG_ENDIAN
22588 not big endian
22589 #endif
22590 ;
22591 return 0;
22592 }
22593 _ACEOF
22594 rm -f conftest.$ac_objext
22595 if { (ac_try="$ac_compile"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22599 esac
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_compile") 2>conftest.er1
22602 ac_status=$?
22603 grep -v '^ *+' conftest.er1 >conftest.err
22604 rm -f conftest.er1
22605 cat conftest.err >&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } && {
22608 test -z "$ac_c_werror_flag" ||
22609 test ! -s conftest.err
22610 } && test -s conftest.$ac_objext; then
22611 ac_cv_c_bigendian=yes
22612 else
22613 echo "$as_me: failed program was:" >&5
22614 sed 's/^/| /' conftest.$ac_ext >&5
22615
22616 ac_cv_c_bigendian=no
22617 fi
22618
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 else
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.$ac_ext >&5
22623
22624
22625 fi
22626
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 if test $ac_cv_c_bigendian = unknown; then
22629 if test "$cross_compiling" = yes; then
22630 ac_cv_c_bigendian=unknown
22631 else
22632 cat >conftest.$ac_ext <<_ACEOF
22633 /* confdefs.h. */
22634 _ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 main () {
22639 /* Are we little or big endian? From Harbison&Steele. */
22640 union
22641 {
22642 long l;
22643 char c[sizeof (long)];
22644 } u;
22645 u.l = 1;
22646 exit (u.c[sizeof (long) - 1] == 1);
22647 }
22648 _ACEOF
22649 rm -f conftest$ac_exeext
22650 if { (ac_try="$ac_link"
22651 case "(($ac_try" in
22652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22653 *) ac_try_echo=$ac_try;;
22654 esac
22655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22656 (eval "$ac_link") 2>&5
22657 ac_status=$?
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22660 { (case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22663 esac
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_try") 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_c_bigendian=no
22670 else
22671 echo "$as_me: program exited with status $ac_status" >&5
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22674
22675 ( exit $ac_status )
22676 ac_cv_c_bigendian=yes
22677 fi
22678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22679 fi
22680
22681
22682 fi
22683 fi
22684 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22685 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22686 if test $ac_cv_c_bigendian = unknown; then
22687 { 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
22688 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;}
22689 fi
22690 if test $ac_cv_c_bigendian = yes; then
22691 cat >>confdefs.h <<\_ACEOF
22692 #define WORDS_BIGENDIAN 1
22693 _ACEOF
22694
22695 fi
22696
22697
22698
22699
22700 ac_ext=cpp
22701 ac_cpp='$CXXCPP $CPPFLAGS'
22702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22705
22706
22707 { echo "$as_me:$LINENO: checking for iostream" >&5
22708 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22709 if test "${ac_cv_header_iostream+set}" = set; then
22710 echo $ECHO_N "(cached) $ECHO_C" >&6
22711 else
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718
22719
22720 #include <iostream>
22721 _ACEOF
22722 rm -f conftest.$ac_objext
22723 if { (ac_try="$ac_compile"
22724 case "(($ac_try" in
22725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22726 *) ac_try_echo=$ac_try;;
22727 esac
22728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22729 (eval "$ac_compile") 2>conftest.er1
22730 ac_status=$?
22731 grep -v '^ *+' conftest.er1 >conftest.err
22732 rm -f conftest.er1
22733 cat conftest.err >&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } && {
22736 test -z "$ac_cxx_werror_flag" ||
22737 test ! -s conftest.err
22738 } && test -s conftest.$ac_objext; then
22739 ac_cv_header_iostream=yes
22740 else
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.$ac_ext >&5
22743
22744 ac_cv_header_iostream=no
22745 fi
22746
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748 fi
22749 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22750 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22751
22752
22753
22754 if test "$ac_cv_header_iostream" = "yes" ; then
22755 :
22756 else
22757 cat >>confdefs.h <<\_ACEOF
22758 #define wxUSE_IOSTREAMH 1
22759 _ACEOF
22760
22761 fi
22762
22763 ac_ext=c
22764 ac_cpp='$CPP $CPPFLAGS'
22765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22768
22769
22770
22771
22772 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22773 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22774 if test "${wx_cv_cpp_bool+set}" = set; then
22775 echo $ECHO_N "(cached) $ECHO_C" >&6
22776 else
22777
22778
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22784
22785
22786 cat >conftest.$ac_ext <<_ACEOF
22787 /* confdefs.h. */
22788 _ACEOF
22789 cat confdefs.h >>conftest.$ac_ext
22790 cat >>conftest.$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22792
22793
22794 int
22795 main ()
22796 {
22797
22798 bool b = true;
22799
22800 return 0;
22801
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22811 esac
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22814 ac_status=$?
22815 grep -v '^ *+' conftest.er1 >conftest.err
22816 rm -f conftest.er1
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_cxx_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22823
22824 wx_cv_cpp_bool=yes
22825
22826 else
22827 echo "$as_me: failed program was:" >&5
22828 sed 's/^/| /' conftest.$ac_ext >&5
22829
22830
22831 wx_cv_cpp_bool=no
22832
22833
22834 fi
22835
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837
22838 ac_ext=c
22839 ac_cpp='$CPP $CPPFLAGS'
22840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22843
22844
22845 fi
22846 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22847 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22848
22849 if test "$wx_cv_cpp_bool" = "yes"; then
22850 cat >>confdefs.h <<\_ACEOF
22851 #define HAVE_BOOL 1
22852 _ACEOF
22853
22854 fi
22855
22856
22857
22858 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22859 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22860 if test "${wx_cv_explicit+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22862 else
22863
22864
22865 ac_ext=cpp
22866 ac_cpp='$CXXCPP $CPPFLAGS'
22867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22870
22871
22872 cat >conftest.$ac_ext <<_ACEOF
22873 /* confdefs.h. */
22874 _ACEOF
22875 cat confdefs.h >>conftest.$ac_ext
22876 cat >>conftest.$ac_ext <<_ACEOF
22877 /* end confdefs.h. */
22878
22879 class Foo { public: explicit Foo(int) {} };
22880
22881 int
22882 main ()
22883 {
22884
22885 return 0;
22886
22887 ;
22888 return 0;
22889 }
22890 _ACEOF
22891 rm -f conftest.$ac_objext
22892 if { (ac_try="$ac_compile"
22893 case "(($ac_try" in
22894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22895 *) ac_try_echo=$ac_try;;
22896 esac
22897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22898 (eval "$ac_compile") 2>conftest.er1
22899 ac_status=$?
22900 grep -v '^ *+' conftest.er1 >conftest.err
22901 rm -f conftest.er1
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && {
22905 test -z "$ac_cxx_werror_flag" ||
22906 test ! -s conftest.err
22907 } && test -s conftest.$ac_objext; then
22908
22909 cat >conftest.$ac_ext <<_ACEOF
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915
22916 class Foo { public: explicit Foo(int) {} };
22917 static void TakeFoo(const Foo& foo) { }
22918
22919 int
22920 main ()
22921 {
22922
22923 TakeFoo(17);
22924 return 0;
22925
22926 ;
22927 return 0;
22928 }
22929 _ACEOF
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22935 esac
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_cxx_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 wx_cv_explicit=no
22948 else
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22951
22952 wx_cv_explicit=yes
22953
22954 fi
22955
22956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22957
22958 else
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.$ac_ext >&5
22961
22962 wx_cv_explicit=no
22963
22964 fi
22965
22966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22967
22968 ac_ext=c
22969 ac_cpp='$CPP $CPPFLAGS'
22970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22973
22974
22975 fi
22976 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22977 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22978
22979 if test "$wx_cv_explicit" = "yes"; then
22980 cat >>confdefs.h <<\_ACEOF
22981 #define HAVE_EXPLICIT 1
22982 _ACEOF
22983
22984 fi
22985
22986
22987 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22988 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22989 if test "${ac_cv_cxx_const_cast+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22991 else
22992
22993 ac_ext=cpp
22994 ac_cpp='$CXXCPP $CPPFLAGS'
22995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22998
22999 cat >conftest.$ac_ext <<_ACEOF
23000 /* confdefs.h. */
23001 _ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23005
23006 int
23007 main ()
23008 {
23009 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23010 ;
23011 return 0;
23012 }
23013 _ACEOF
23014 rm -f conftest.$ac_objext
23015 if { (ac_try="$ac_compile"
23016 case "(($ac_try" in
23017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23018 *) ac_try_echo=$ac_try;;
23019 esac
23020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23021 (eval "$ac_compile") 2>conftest.er1
23022 ac_status=$?
23023 grep -v '^ *+' conftest.er1 >conftest.err
23024 rm -f conftest.er1
23025 cat conftest.err >&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } && {
23028 test -z "$ac_cxx_werror_flag" ||
23029 test ! -s conftest.err
23030 } && test -s conftest.$ac_objext; then
23031 ac_cv_cxx_const_cast=yes
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23035
23036 ac_cv_cxx_const_cast=no
23037 fi
23038
23039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23040 ac_ext=c
23041 ac_cpp='$CPP $CPPFLAGS'
23042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23045
23046
23047 fi
23048 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23049 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23050 if test "$ac_cv_cxx_const_cast" = yes; then
23051
23052 cat >>confdefs.h <<\_ACEOF
23053 #define HAVE_CONST_CAST
23054 _ACEOF
23055
23056 fi
23057
23058 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23059 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23060 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else
23063
23064 ac_ext=cpp
23065 ac_cpp='$CXXCPP $CPPFLAGS'
23066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069
23070 cat >conftest.$ac_ext <<_ACEOF
23071 /* confdefs.h. */
23072 _ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 #include <typeinfo>
23077 class Base { public : Base () {} virtual void f () = 0;};
23078 class Derived : public Base { public : Derived () {} virtual void f () {} };
23079 class Unrelated { public : Unrelated () {} };
23080 int g (Unrelated&) { return 0; }
23081 int
23082 main ()
23083 {
23084
23085 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23086 ;
23087 return 0;
23088 }
23089 _ACEOF
23090 rm -f conftest.$ac_objext
23091 if { (ac_try="$ac_compile"
23092 case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23094 *) ac_try_echo=$ac_try;;
23095 esac
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_compile") 2>conftest.er1
23098 ac_status=$?
23099 grep -v '^ *+' conftest.er1 >conftest.err
23100 rm -f conftest.er1
23101 cat conftest.err >&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } && {
23104 test -z "$ac_cxx_werror_flag" ||
23105 test ! -s conftest.err
23106 } && test -s conftest.$ac_objext; then
23107 ac_cv_cxx_reinterpret_cast=yes
23108 else
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.$ac_ext >&5
23111
23112 ac_cv_cxx_reinterpret_cast=no
23113 fi
23114
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122
23123 fi
23124 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23125 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23126 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23127
23128 cat >>confdefs.h <<\_ACEOF
23129 #define HAVE_REINTERPRET_CAST
23130 _ACEOF
23131
23132 fi
23133
23134 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23135 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23136 if test "${ac_cv_cxx_static_cast+set}" = set; then
23137 echo $ECHO_N "(cached) $ECHO_C" >&6
23138 else
23139
23140 ac_ext=cpp
23141 ac_cpp='$CXXCPP $CPPFLAGS'
23142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23145
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #include <typeinfo>
23153 class Base { public : Base () {} virtual void f () = 0; };
23154 class Derived : public Base { public : Derived () {} virtual void f () {} };
23155 int g (Derived&) { return 0; }
23156 int
23157 main ()
23158 {
23159
23160 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23173 ac_status=$?
23174 grep -v '^ *+' conftest.er1 >conftest.err
23175 rm -f conftest.er1
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_cxx_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_cv_cxx_static_cast=yes
23183 else
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187 ac_cv_cxx_static_cast=no
23188 fi
23189
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23196
23197
23198 fi
23199 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23200 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23201 if test "$ac_cv_cxx_static_cast" = yes; then
23202
23203 cat >>confdefs.h <<\_ACEOF
23204 #define HAVE_STATIC_CAST
23205 _ACEOF
23206
23207 fi
23208
23209
23210 if test "x$SUNCXX" = xyes; then
23211 CXXFLAGS="-features=tmplife $CXXFLAGS"
23212 fi
23213
23214 if test "x$SUNCC" = xyes; then
23215 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23216 fi
23217
23218 if test "x$SGICC" = "xyes"; then
23219 CFLAGS="-woff 3970 $CFLAGS"
23220 fi
23221 if test "x$SGICXX" = "xyes"; then
23222 CXXFLAGS="-woff 3970 $CXXFLAGS"
23223 fi
23224
23225 if test "x$HPCC" = "xyes"; then
23226 CFLAGS="+W 2011,2450 $CFLAGS"
23227 fi
23228 if test "x$HPCXX" = "xyes"; then
23229 CXXFLAGS="+W 2340 $CXXFLAGS"
23230 fi
23231
23232 if test "x$COMPAQCXX" = "xyes"; then
23233 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23234 fi
23235
23236 ac_ext=cpp
23237 ac_cpp='$CXXCPP $CPPFLAGS'
23238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23241
23242
23243 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23244 if test "$wxUSE_UNICODE" = "yes"; then
23245 std_string="std::wstring"
23246 char_type="wchar_t"
23247 else
23248 std_string="std::string"
23249 char_type="char"
23250 fi
23251
23252 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23253 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23254 if test "${wx_cv_class_stdstring+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 else
23257
23258 cat >conftest.$ac_ext <<_ACEOF
23259 /* confdefs.h. */
23260 _ACEOF
23261 cat confdefs.h >>conftest.$ac_ext
23262 cat >>conftest.$ac_ext <<_ACEOF
23263 /* end confdefs.h. */
23264 #include <string>
23265 int
23266 main ()
23267 {
23268 $std_string foo;
23269 ;
23270 return 0;
23271 }
23272 _ACEOF
23273 rm -f conftest.$ac_objext
23274 if { (ac_try="$ac_compile"
23275 case "(($ac_try" in
23276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23278 esac
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_compile") 2>conftest.er1
23281 ac_status=$?
23282 grep -v '^ *+' conftest.er1 >conftest.err
23283 rm -f conftest.er1
23284 cat conftest.err >&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } && {
23287 test -z "$ac_cxx_werror_flag" ||
23288 test ! -s conftest.err
23289 } && test -s conftest.$ac_objext; then
23290 wx_cv_class_stdstring=yes
23291 else
23292 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.$ac_ext >&5
23294
23295 wx_cv_class_stdstring=no
23296
23297 fi
23298
23299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23300
23301
23302 fi
23303 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23304 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23305
23306 if test "$wx_cv_class_stdstring" = yes; then
23307 if test "$wxUSE_UNICODE" = "yes"; then
23308 cat >>confdefs.h <<\_ACEOF
23309 #define HAVE_STD_WSTRING 1
23310 _ACEOF
23311
23312 fi
23313 else
23314 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23315 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23316 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23318 else
23319
23320 cat >conftest.$ac_ext <<_ACEOF
23321 /* confdefs.h. */
23322 _ACEOF
23323 cat confdefs.h >>conftest.$ac_ext
23324 cat >>conftest.$ac_ext <<_ACEOF
23325 /* end confdefs.h. */
23326
23327 #ifdef HAVE_WCHAR_H
23328 # ifdef __CYGWIN__
23329 # include <stddef.h>
23330 # endif
23331 # include <wchar.h>
23332 #endif
23333 #ifdef HAVE_STDLIB_H
23334 # include <stdlib.h>
23335 #endif
23336 #include <stdio.h>
23337 #include <string>
23338
23339 int
23340 main ()
23341 {
23342 std::basic_string<$char_type> foo;
23343 const $char_type* dummy = foo.c_str();
23344 ;
23345 return 0;
23346 }
23347 _ACEOF
23348 rm -f conftest.$ac_objext
23349 if { (ac_try="$ac_compile"
23350 case "(($ac_try" in
23351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23352 *) ac_try_echo=$ac_try;;
23353 esac
23354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23355 (eval "$ac_compile") 2>conftest.er1
23356 ac_status=$?
23357 grep -v '^ *+' conftest.er1 >conftest.err
23358 rm -f conftest.er1
23359 cat conftest.err >&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); } && {
23362 test -z "$ac_cxx_werror_flag" ||
23363 test ! -s conftest.err
23364 } && test -s conftest.$ac_objext; then
23365 wx_cv_class_stdbasicstring=yes
23366 else
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.$ac_ext >&5
23369
23370 wx_cv_class_stdbasicstring=no
23371
23372 fi
23373
23374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23375
23376
23377 fi
23378 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23379 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23380
23381 if test "$wx_cv_class_stdbasicstring" != yes; then
23382 if test "$wxUSE_STL" = "yes"; then
23383 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23384 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23385 { (exit 1); exit 1; }; }
23386 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23387 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23388 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23389 { (exit 1); exit 1; }; }
23390 else
23391 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23392 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23393 wxUSE_STD_STRING=no
23394 fi
23395 fi
23396 fi
23397 fi
23398
23399 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23400 { echo "$as_me:$LINENO: checking for std::istream" >&5
23401 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23402 if test "${ac_cv_type_std__istream+set}" = set; then
23403 echo $ECHO_N "(cached) $ECHO_C" >&6
23404 else
23405 cat >conftest.$ac_ext <<_ACEOF
23406 /* confdefs.h. */
23407 _ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23411 #include <iostream>
23412
23413 typedef std::istream ac__type_new_;
23414 int
23415 main ()
23416 {
23417 if ((ac__type_new_ *) 0)
23418 return 0;
23419 if (sizeof (ac__type_new_))
23420 return 0;
23421 ;
23422 return 0;
23423 }
23424 _ACEOF
23425 rm -f conftest.$ac_objext
23426 if { (ac_try="$ac_compile"
23427 case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23430 esac
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_compile") 2>conftest.er1
23433 ac_status=$?
23434 grep -v '^ *+' conftest.er1 >conftest.err
23435 rm -f conftest.er1
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } && {
23439 test -z "$ac_cxx_werror_flag" ||
23440 test ! -s conftest.err
23441 } && test -s conftest.$ac_objext; then
23442 ac_cv_type_std__istream=yes
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 ac_cv_type_std__istream=no
23448 fi
23449
23450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23451 fi
23452 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23453 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23454 if test $ac_cv_type_std__istream = yes; then
23455
23456 cat >>confdefs.h <<_ACEOF
23457 #define HAVE_STD__ISTREAM 1
23458 _ACEOF
23459
23460
23461 else
23462 wxUSE_STD_IOSTREAM=no
23463 fi
23464 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23465 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23466 if test "${ac_cv_type_std__ostream+set}" = set; then
23467 echo $ECHO_N "(cached) $ECHO_C" >&6
23468 else
23469 cat >conftest.$ac_ext <<_ACEOF
23470 /* confdefs.h. */
23471 _ACEOF
23472 cat confdefs.h >>conftest.$ac_ext
23473 cat >>conftest.$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23475 #include <iostream>
23476
23477 typedef std::ostream ac__type_new_;
23478 int
23479 main ()
23480 {
23481 if ((ac__type_new_ *) 0)
23482 return 0;
23483 if (sizeof (ac__type_new_))
23484 return 0;
23485 ;
23486 return 0;
23487 }
23488 _ACEOF
23489 rm -f conftest.$ac_objext
23490 if { (ac_try="$ac_compile"
23491 case "(($ac_try" in
23492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23493 *) ac_try_echo=$ac_try;;
23494 esac
23495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23496 (eval "$ac_compile") 2>conftest.er1
23497 ac_status=$?
23498 grep -v '^ *+' conftest.er1 >conftest.err
23499 rm -f conftest.er1
23500 cat conftest.err >&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } && {
23503 test -z "$ac_cxx_werror_flag" ||
23504 test ! -s conftest.err
23505 } && test -s conftest.$ac_objext; then
23506 ac_cv_type_std__ostream=yes
23507 else
23508 echo "$as_me: failed program was:" >&5
23509 sed 's/^/| /' conftest.$ac_ext >&5
23510
23511 ac_cv_type_std__ostream=no
23512 fi
23513
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 fi
23516 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23517 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23518 if test $ac_cv_type_std__ostream = yes; then
23519
23520 cat >>confdefs.h <<_ACEOF
23521 #define HAVE_STD__OSTREAM 1
23522 _ACEOF
23523
23524
23525 else
23526 wxUSE_STD_IOSTREAM=no
23527 fi
23528
23529
23530 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23531 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23532 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23533 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23534 { (exit 1); exit 1; }; }
23535 else
23536 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23537 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23538 fi
23539 fi
23540 fi
23541
23542 if test "$wxUSE_STL" = "yes"; then
23543 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23544 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23545 if test "${wx_cv_lib_stl+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 else
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 #include <string>
23555 #include <functional>
23556 #include <algorithm>
23557 #include <vector>
23558 #include <list>
23559 int
23560 main ()
23561 {
23562 std::vector<int> moo;
23563 std::list<int> foo;
23564 std::vector<int>::iterator it =
23565 std::find_if(moo.begin(), moo.end(),
23566 std::bind2nd(std::less<int>(), 3));
23567 ;
23568 return 0;
23569 }
23570 _ACEOF
23571 rm -f conftest.$ac_objext
23572 if { (ac_try="$ac_compile"
23573 case "(($ac_try" in
23574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23575 *) ac_try_echo=$ac_try;;
23576 esac
23577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23578 (eval "$ac_compile") 2>conftest.er1
23579 ac_status=$?
23580 grep -v '^ *+' conftest.er1 >conftest.err
23581 rm -f conftest.er1
23582 cat conftest.err >&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } && {
23585 test -z "$ac_cxx_werror_flag" ||
23586 test ! -s conftest.err
23587 } && test -s conftest.$ac_objext; then
23588 wx_cv_lib_stl=yes
23589 else
23590 echo "$as_me: failed program was:" >&5
23591 sed 's/^/| /' conftest.$ac_ext >&5
23592
23593 wx_cv_lib_stl=no
23594
23595 fi
23596
23597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23598
23599 fi
23600 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23601 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23602
23603 if test "$wx_cv_lib_stl" != yes; then
23604 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23605 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23606 { (exit 1); exit 1; }; }
23607 fi
23608
23609 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23610 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23611 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23612 echo $ECHO_N "(cached) $ECHO_C" >&6
23613 else
23614 cat >conftest.$ac_ext <<_ACEOF
23615 /* confdefs.h. */
23616 _ACEOF
23617 cat confdefs.h >>conftest.$ac_ext
23618 cat >>conftest.$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23620 #include <string>
23621 int
23622 main ()
23623 {
23624 std::string foo, bar;
23625 foo.compare(bar);
23626 foo.compare(1, 1, bar);
23627 foo.compare(1, 1, bar, 1, 1);
23628 foo.compare("");
23629 foo.compare(1, 1, "");
23630 foo.compare(1, 1, "", 2);
23631 ;
23632 return 0;
23633 }
23634 _ACEOF
23635 rm -f conftest.$ac_objext
23636 if { (ac_try="$ac_compile"
23637 case "(($ac_try" in
23638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23639 *) ac_try_echo=$ac_try;;
23640 esac
23641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23642 (eval "$ac_compile") 2>conftest.er1
23643 ac_status=$?
23644 grep -v '^ *+' conftest.er1 >conftest.err
23645 rm -f conftest.er1
23646 cat conftest.err >&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); } && {
23649 test -z "$ac_cxx_werror_flag" ||
23650 test ! -s conftest.err
23651 } && test -s conftest.$ac_objext; then
23652 wx_cv_func_stdstring_compare=yes
23653 else
23654 echo "$as_me: failed program was:" >&5
23655 sed 's/^/| /' conftest.$ac_ext >&5
23656
23657 wx_cv_func_stdstring_compare=no
23658
23659 fi
23660
23661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23662
23663 fi
23664 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23665 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23666
23667 if test "$wx_cv_func_stdstring_compare" = yes; then
23668 cat >>confdefs.h <<\_ACEOF
23669 #define HAVE_STD_STRING_COMPARE 1
23670 _ACEOF
23671
23672 fi
23673
23674 { echo "$as_me:$LINENO: checking for hash_map" >&5
23675 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23676 if test "${ac_cv_header_hash_map+set}" = set; then
23677 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 else
23679 cat >conftest.$ac_ext <<_ACEOF
23680 /* confdefs.h. */
23681 _ACEOF
23682 cat confdefs.h >>conftest.$ac_ext
23683 cat >>conftest.$ac_ext <<_ACEOF
23684 /* end confdefs.h. */
23685
23686
23687
23688 #include <hash_map>
23689 _ACEOF
23690 rm -f conftest.$ac_objext
23691 if { (ac_try="$ac_compile"
23692 case "(($ac_try" in
23693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23694 *) ac_try_echo=$ac_try;;
23695 esac
23696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23697 (eval "$ac_compile") 2>conftest.er1
23698 ac_status=$?
23699 grep -v '^ *+' conftest.er1 >conftest.err
23700 rm -f conftest.er1
23701 cat conftest.err >&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); } && {
23704 test -z "$ac_cxx_werror_flag" ||
23705 test ! -s conftest.err
23706 } && test -s conftest.$ac_objext; then
23707 ac_cv_header_hash_map=yes
23708 else
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.$ac_ext >&5
23711
23712 ac_cv_header_hash_map=no
23713 fi
23714
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23716 fi
23717 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23718 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23719 if test $ac_cv_header_hash_map = yes; then
23720 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23721 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23722 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 else
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h. */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <hash_map>
23732 #include <hash_set>
23733 int
23734 main ()
23735 {
23736 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23737 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23738 ;
23739 return 0;
23740 }
23741 _ACEOF
23742 rm -f conftest.$ac_objext
23743 if { (ac_try="$ac_compile"
23744 case "(($ac_try" in
23745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746 *) ac_try_echo=$ac_try;;
23747 esac
23748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23749 (eval "$ac_compile") 2>conftest.er1
23750 ac_status=$?
23751 grep -v '^ *+' conftest.er1 >conftest.err
23752 rm -f conftest.er1
23753 cat conftest.err >&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } && {
23756 test -z "$ac_cxx_werror_flag" ||
23757 test ! -s conftest.err
23758 } && test -s conftest.$ac_objext; then
23759 wx_cv_class_stdhashmapset=yes
23760 else
23761 echo "$as_me: failed program was:" >&5
23762 sed 's/^/| /' conftest.$ac_ext >&5
23763
23764 wx_cv_class_stdhashmapset=no
23765 fi
23766
23767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768
23769
23770 fi
23771 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23772 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23773 fi
23774
23775
23776
23777 if test "$wx_cv_class_stdhashmapset" = yes; then
23778 cat >>confdefs.h <<\_ACEOF
23779 #define HAVE_HASH_MAP 1
23780 _ACEOF
23781
23782 cat >>confdefs.h <<\_ACEOF
23783 #define HAVE_STD_HASH_MAP 1
23784 _ACEOF
23785
23786 fi
23787
23788 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23789 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23790 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23791 echo $ECHO_N "(cached) $ECHO_C" >&6
23792 else
23793 cat >conftest.$ac_ext <<_ACEOF
23794 /* confdefs.h. */
23795 _ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799
23800
23801
23802 #include <ext/hash_map>
23803 _ACEOF
23804 rm -f conftest.$ac_objext
23805 if { (ac_try="$ac_compile"
23806 case "(($ac_try" in
23807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23808 *) ac_try_echo=$ac_try;;
23809 esac
23810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23811 (eval "$ac_compile") 2>conftest.er1
23812 ac_status=$?
23813 grep -v '^ *+' conftest.er1 >conftest.err
23814 rm -f conftest.er1
23815 cat conftest.err >&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); } && {
23818 test -z "$ac_cxx_werror_flag" ||
23819 test ! -s conftest.err
23820 } && test -s conftest.$ac_objext; then
23821 ac_cv_header_ext_hash_map=yes
23822 else
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23825
23826 ac_cv_header_ext_hash_map=no
23827 fi
23828
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23830 fi
23831 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23832 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23833 if test $ac_cv_header_ext_hash_map = yes; then
23834 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23835 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23836 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23838 else
23839 cat >conftest.$ac_ext <<_ACEOF
23840 /* confdefs.h. */
23841 _ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 #include <ext/hash_map>
23846 #include <ext/hash_set>
23847 int
23848 main ()
23849 {
23850 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23851 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23852 ;
23853 return 0;
23854 }
23855 _ACEOF
23856 rm -f conftest.$ac_objext
23857 if { (ac_try="$ac_compile"
23858 case "(($ac_try" in
23859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23860 *) ac_try_echo=$ac_try;;
23861 esac
23862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23863 (eval "$ac_compile") 2>conftest.er1
23864 ac_status=$?
23865 grep -v '^ *+' conftest.er1 >conftest.err
23866 rm -f conftest.er1
23867 cat conftest.err >&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && {
23870 test -z "$ac_cxx_werror_flag" ||
23871 test ! -s conftest.err
23872 } && test -s conftest.$ac_objext; then
23873 wx_cv_class_gnuhashmapset=yes
23874 else
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.$ac_ext >&5
23877
23878 wx_cv_class_gnuhashmapset=no
23879 fi
23880
23881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23882
23883
23884 fi
23885 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23886 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23887 fi
23888
23889
23890
23891 if test "$wx_cv_class_gnuhashmapset" = yes; then
23892 cat >>confdefs.h <<\_ACEOF
23893 #define HAVE_EXT_HASH_MAP 1
23894 _ACEOF
23895
23896 cat >>confdefs.h <<\_ACEOF
23897 #define HAVE_GNU_CXX_HASH_MAP 1
23898 _ACEOF
23899
23900 fi
23901 fi
23902
23903 ac_ext=c
23904 ac_cpp='$CPP $CPPFLAGS'
23905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23908
23909
23910
23911 SEARCH_INCLUDE="\
23912 /usr/local/include \
23913 \
23914 /usr/Motif-2.1/include \
23915 /usr/Motif-1.2/include \
23916 /usr/include/Motif1.2 \
23917 \
23918 /usr/dt/include \
23919 /usr/openwin/include \
23920 \
23921 /usr/include/Xm \
23922 \
23923 /usr/X11R6/include \
23924 /usr/X11R6.4/include \
23925 /usr/X11R5/include \
23926 /usr/X11R4/include \
23927 \
23928 /usr/include/X11R6 \
23929 /usr/include/X11R5 \
23930 /usr/include/X11R4 \
23931 \
23932 /usr/local/X11R6/include \
23933 /usr/local/X11R5/include \
23934 /usr/local/X11R4/include \
23935 \
23936 /usr/local/include/X11R6 \
23937 /usr/local/include/X11R5 \
23938 /usr/local/include/X11R4 \
23939 \
23940 /usr/X11/include \
23941 /usr/include/X11 \
23942 /usr/local/X11/include \
23943 /usr/local/include/X11 \
23944 \
23945 /usr/XFree86/include/X11 \
23946 /usr/pkg/include \
23947 \
23948 /usr/openwin/share/include"
23949
23950 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23951 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23952
23953 case "${host}" in
23954 *-*-irix6* )
23955 if test "${wx_cv_std_libpath+set}" = set; then
23956 echo $ECHO_N "(cached) $ECHO_C" >&6
23957 else
23958
23959 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23960 for e in a so sl dylib dll.a; do
23961 libc="$d/libc.$e"
23962 if test -f $libc; then
23963 save_LIBS="$LIBS"
23964 LIBS="$libc"
23965 cat >conftest.$ac_ext <<_ACEOF
23966 int main() { return 0; }
23967 _ACEOF
23968 rm -f conftest.$ac_objext conftest$ac_exeext
23969 if { (ac_try="$ac_link"
23970 case "(($ac_try" in
23971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23972 *) ac_try_echo=$ac_try;;
23973 esac
23974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23975 (eval "$ac_link") 2>conftest.er1
23976 ac_status=$?
23977 grep -v '^ *+' conftest.er1 >conftest.err
23978 rm -f conftest.er1
23979 cat conftest.err >&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); } && {
23982 test -z "$ac_c_werror_flag" ||
23983 test ! -s conftest.err
23984 } && test -s conftest$ac_exeext &&
23985 $as_test_x conftest$ac_exeext; then
23986 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23987 else
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.$ac_ext >&5
23990
23991
23992 fi
23993
23994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23995 conftest$ac_exeext conftest.$ac_ext
23996 LIBS="$save_LIBS"
23997 if test "x$wx_cv_std_libpath" != "x"; then
23998 break 2
23999 fi
24000 fi
24001 done
24002 done
24003 if test "x$wx_cv_std_libpath" = "x"; then
24004 wx_cv_std_libpath="lib"
24005 fi
24006
24007
24008 fi
24009
24010 ;;
24011
24012 *-*-solaris2* )
24013 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24014 wx_cv_std_libpath="lib/64"
24015 else
24016 wx_cv_std_libpath="lib"
24017 fi
24018 ;;
24019
24020 *-*-linux* )
24021 if test "$ac_cv_sizeof_void_p" = 8 -a \
24022 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24023 wx_cv_std_libpath="lib64"
24024 else
24025 wx_cv_std_libpath="lib"
24026 fi
24027 ;;
24028
24029 *)
24030 wx_cv_std_libpath="lib";
24031 ;;
24032 esac
24033
24034 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24035 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24036
24037 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24038
24039 if test "$build" != "$host" -a "$GCC" = yes; then
24040 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24041 cross_root=`dirname $cross_root`
24042 cross_root=`dirname $cross_root`
24043
24044 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24045 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24046 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24047
24048 if test -z "$PKG_CONFIG_PATH"; then
24049 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24050 export PKG_CONFIG_PATH
24051 fi
24052
24053 if test -z "$x_includes" -o "$x_includes" = NONE; then
24054
24055 ac_find_includes=
24056 for ac_dir in $SEARCH_INCLUDE /usr/include;
24057 do
24058 if test -f "$ac_dir/X11/Intrinsic.h"; then
24059 ac_find_includes=$ac_dir
24060 break
24061 fi
24062 done
24063
24064 x_includes=$ac_find_includes
24065 fi
24066 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24067
24068 ac_find_libraries=
24069 for ac_dir in $SEARCH_LIB;
24070 do
24071 for ac_extension in a so sl dylib dll.a; do
24072 if test -f "$ac_dir/libXt.$ac_extension"; then
24073 ac_find_libraries=$ac_dir
24074 break 2
24075 fi
24076 done
24077 done
24078
24079 x_libraries=$ac_find_libraries
24080 fi
24081 fi
24082 fi
24083
24084
24085 cat >confcache <<\_ACEOF
24086 # This file is a shell script that caches the results of configure
24087 # tests run on this system so they can be shared between configure
24088 # scripts and configure runs, see configure's option --config-cache.
24089 # It is not useful on other systems. If it contains results you don't
24090 # want to keep, you may remove or edit it.
24091 #
24092 # config.status only pays attention to the cache file if you give it
24093 # the --recheck option to rerun configure.
24094 #
24095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24097 # following values.
24098
24099 _ACEOF
24100
24101 # The following way of writing the cache mishandles newlines in values,
24102 # but we know of no workaround that is simple, portable, and efficient.
24103 # So, we kill variables containing newlines.
24104 # Ultrix sh set writes to stderr and can't be redirected directly,
24105 # and sets the high bit in the cache file unless we assign to the vars.
24106 (
24107 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24108 eval ac_val=\$$ac_var
24109 case $ac_val in #(
24110 *${as_nl}*)
24111 case $ac_var in #(
24112 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24113 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24114 esac
24115 case $ac_var in #(
24116 _ | IFS | as_nl) ;; #(
24117 *) $as_unset $ac_var ;;
24118 esac ;;
24119 esac
24120 done
24121
24122 (set) 2>&1 |
24123 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24124 *${as_nl}ac_space=\ *)
24125 # `set' does not quote correctly, so add quotes (double-quote
24126 # substitution turns \\\\ into \\, and sed turns \\ into \).
24127 sed -n \
24128 "s/'/'\\\\''/g;
24129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24130 ;; #(
24131 *)
24132 # `set' quotes correctly as required by POSIX, so do not add quotes.
24133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24134 ;;
24135 esac |
24136 sort
24137 ) |
24138 sed '
24139 /^ac_cv_env_/b end
24140 t clear
24141 :clear
24142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24143 t end
24144 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24145 :end' >>confcache
24146 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24147 if test -w "$cache_file"; then
24148 test "x$cache_file" != "x/dev/null" &&
24149 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24150 echo "$as_me: updating cache $cache_file" >&6;}
24151 cat confcache >$cache_file
24152 else
24153 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24154 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24155 fi
24156 fi
24157 rm -f confcache
24158
24159 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24160 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24161 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24162 if test "${wx_cv_lib_glibc21+set}" = set; then
24163 echo $ECHO_N "(cached) $ECHO_C" >&6
24164 else
24165
24166 cat >conftest.$ac_ext <<_ACEOF
24167 /* confdefs.h. */
24168 _ACEOF
24169 cat confdefs.h >>conftest.$ac_ext
24170 cat >>conftest.$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24172 #include <features.h>
24173 int
24174 main ()
24175 {
24176
24177 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24178 not glibc 2.1
24179 #endif
24180
24181 ;
24182 return 0;
24183 }
24184 _ACEOF
24185 rm -f conftest.$ac_objext
24186 if { (ac_try="$ac_compile"
24187 case "(($ac_try" in
24188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24190 esac
24191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_compile") 2>conftest.er1
24193 ac_status=$?
24194 grep -v '^ *+' conftest.er1 >conftest.err
24195 rm -f conftest.er1
24196 cat conftest.err >&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } && {
24199 test -z "$ac_c_werror_flag" ||
24200 test ! -s conftest.err
24201 } && test -s conftest.$ac_objext; then
24202
24203 wx_cv_lib_glibc21=yes
24204
24205 else
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24208
24209
24210 wx_cv_lib_glibc21=no
24211
24212
24213 fi
24214
24215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24216
24217 fi
24218 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24219 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24220 if test "$wx_cv_lib_glibc21" = "yes"; then
24221 cat >>confdefs.h <<\_ACEOF
24222 #define wxHAVE_GLIBC2 1
24223 _ACEOF
24224
24225 fi
24226 fi
24227
24228 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24229 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24230 cat >>confdefs.h <<\_ACEOF
24231 #define _GNU_SOURCE 1
24232 _ACEOF
24233
24234 fi
24235 fi
24236
24237 have_cos=0
24238 have_floor=0
24239
24240 for ac_func in cos
24241 do
24242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24246 echo $ECHO_N "(cached) $ECHO_C" >&6
24247 else
24248 cat >conftest.$ac_ext <<_ACEOF
24249 /* confdefs.h. */
24250 _ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24256 #define $ac_func innocuous_$ac_func
24257
24258 /* System header to define __stub macros and hopefully few prototypes,
24259 which can conflict with char $ac_func (); below.
24260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24261 <limits.h> exists even on freestanding compilers. */
24262
24263 #ifdef __STDC__
24264 # include <limits.h>
24265 #else
24266 # include <assert.h>
24267 #endif
24268
24269 #undef $ac_func
24270
24271 /* Override any GCC internal prototype to avoid an error.
24272 Use char because int might match the return type of a GCC
24273 builtin and then its argument prototype would still apply. */
24274 #ifdef __cplusplus
24275 extern "C"
24276 #endif
24277 char $ac_func ();
24278 /* The GNU C library defines this for functions which it implements
24279 to always fail with ENOSYS. Some functions are actually named
24280 something starting with __ and the normal name is an alias. */
24281 #if defined __stub_$ac_func || defined __stub___$ac_func
24282 choke me
24283 #endif
24284
24285 int
24286 main ()
24287 {
24288 return $ac_func ();
24289 ;
24290 return 0;
24291 }
24292 _ACEOF
24293 rm -f conftest.$ac_objext conftest$ac_exeext
24294 if { (ac_try="$ac_link"
24295 case "(($ac_try" in
24296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24297 *) ac_try_echo=$ac_try;;
24298 esac
24299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24300 (eval "$ac_link") 2>conftest.er1
24301 ac_status=$?
24302 grep -v '^ *+' conftest.er1 >conftest.err
24303 rm -f conftest.er1
24304 cat conftest.err >&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && {
24307 test -z "$ac_c_werror_flag" ||
24308 test ! -s conftest.err
24309 } && test -s conftest$ac_exeext &&
24310 $as_test_x conftest$ac_exeext; then
24311 eval "$as_ac_var=yes"
24312 else
24313 echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.$ac_ext >&5
24315
24316 eval "$as_ac_var=no"
24317 fi
24318
24319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24320 conftest$ac_exeext conftest.$ac_ext
24321 fi
24322 ac_res=`eval echo '${'$as_ac_var'}'`
24323 { echo "$as_me:$LINENO: result: $ac_res" >&5
24324 echo "${ECHO_T}$ac_res" >&6; }
24325 if test `eval echo '${'$as_ac_var'}'` = yes; then
24326 cat >>confdefs.h <<_ACEOF
24327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24328 _ACEOF
24329 have_cos=1
24330 fi
24331 done
24332
24333
24334 for ac_func in floor
24335 do
24336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24337 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24341 else
24342 cat >conftest.$ac_ext <<_ACEOF
24343 /* confdefs.h. */
24344 _ACEOF
24345 cat confdefs.h >>conftest.$ac_ext
24346 cat >>conftest.$ac_ext <<_ACEOF
24347 /* end confdefs.h. */
24348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24350 #define $ac_func innocuous_$ac_func
24351
24352 /* System header to define __stub macros and hopefully few prototypes,
24353 which can conflict with char $ac_func (); below.
24354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24355 <limits.h> exists even on freestanding compilers. */
24356
24357 #ifdef __STDC__
24358 # include <limits.h>
24359 #else
24360 # include <assert.h>
24361 #endif
24362
24363 #undef $ac_func
24364
24365 /* Override any GCC internal prototype to avoid an error.
24366 Use char because int might match the return type of a GCC
24367 builtin and then its argument prototype would still apply. */
24368 #ifdef __cplusplus
24369 extern "C"
24370 #endif
24371 char $ac_func ();
24372 /* The GNU C library defines this for functions which it implements
24373 to always fail with ENOSYS. Some functions are actually named
24374 something starting with __ and the normal name is an alias. */
24375 #if defined __stub_$ac_func || defined __stub___$ac_func
24376 choke me
24377 #endif
24378
24379 int
24380 main ()
24381 {
24382 return $ac_func ();
24383 ;
24384 return 0;
24385 }
24386 _ACEOF
24387 rm -f conftest.$ac_objext conftest$ac_exeext
24388 if { (ac_try="$ac_link"
24389 case "(($ac_try" in
24390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24391 *) ac_try_echo=$ac_try;;
24392 esac
24393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24394 (eval "$ac_link") 2>conftest.er1
24395 ac_status=$?
24396 grep -v '^ *+' conftest.er1 >conftest.err
24397 rm -f conftest.er1
24398 cat conftest.err >&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); } && {
24401 test -z "$ac_c_werror_flag" ||
24402 test ! -s conftest.err
24403 } && test -s conftest$ac_exeext &&
24404 $as_test_x conftest$ac_exeext; then
24405 eval "$as_ac_var=yes"
24406 else
24407 echo "$as_me: failed program was:" >&5
24408 sed 's/^/| /' conftest.$ac_ext >&5
24409
24410 eval "$as_ac_var=no"
24411 fi
24412
24413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24414 conftest$ac_exeext conftest.$ac_ext
24415 fi
24416 ac_res=`eval echo '${'$as_ac_var'}'`
24417 { echo "$as_me:$LINENO: result: $ac_res" >&5
24418 echo "${ECHO_T}$ac_res" >&6; }
24419 if test `eval echo '${'$as_ac_var'}'` = yes; then
24420 cat >>confdefs.h <<_ACEOF
24421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24422 _ACEOF
24423 have_floor=1
24424 fi
24425 done
24426
24427 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24428 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24429 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24430 { echo "$as_me:$LINENO: result: yes" >&5
24431 echo "${ECHO_T}yes" >&6; }
24432 else
24433 { echo "$as_me:$LINENO: result: no" >&5
24434 echo "${ECHO_T}no" >&6; }
24435 LIBS="$LIBS -lm"
24436 # use different functions to avoid configure caching
24437 have_sin=0
24438 have_ceil=0
24439
24440 for ac_func in sin
24441 do
24442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24445 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24446 echo $ECHO_N "(cached) $ECHO_C" >&6
24447 else
24448 cat >conftest.$ac_ext <<_ACEOF
24449 /* confdefs.h. */
24450 _ACEOF
24451 cat confdefs.h >>conftest.$ac_ext
24452 cat >>conftest.$ac_ext <<_ACEOF
24453 /* end confdefs.h. */
24454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24456 #define $ac_func innocuous_$ac_func
24457
24458 /* System header to define __stub macros and hopefully few prototypes,
24459 which can conflict with char $ac_func (); below.
24460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24461 <limits.h> exists even on freestanding compilers. */
24462
24463 #ifdef __STDC__
24464 # include <limits.h>
24465 #else
24466 # include <assert.h>
24467 #endif
24468
24469 #undef $ac_func
24470
24471 /* Override any GCC internal prototype to avoid an error.
24472 Use char because int might match the return type of a GCC
24473 builtin and then its argument prototype would still apply. */
24474 #ifdef __cplusplus
24475 extern "C"
24476 #endif
24477 char $ac_func ();
24478 /* The GNU C library defines this for functions which it implements
24479 to always fail with ENOSYS. Some functions are actually named
24480 something starting with __ and the normal name is an alias. */
24481 #if defined __stub_$ac_func || defined __stub___$ac_func
24482 choke me
24483 #endif
24484
24485 int
24486 main ()
24487 {
24488 return $ac_func ();
24489 ;
24490 return 0;
24491 }
24492 _ACEOF
24493 rm -f conftest.$ac_objext conftest$ac_exeext
24494 if { (ac_try="$ac_link"
24495 case "(($ac_try" in
24496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24497 *) ac_try_echo=$ac_try;;
24498 esac
24499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24500 (eval "$ac_link") 2>conftest.er1
24501 ac_status=$?
24502 grep -v '^ *+' conftest.er1 >conftest.err
24503 rm -f conftest.er1
24504 cat conftest.err >&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } && {
24507 test -z "$ac_c_werror_flag" ||
24508 test ! -s conftest.err
24509 } && test -s conftest$ac_exeext &&
24510 $as_test_x conftest$ac_exeext; then
24511 eval "$as_ac_var=yes"
24512 else
24513 echo "$as_me: failed program was:" >&5
24514 sed 's/^/| /' conftest.$ac_ext >&5
24515
24516 eval "$as_ac_var=no"
24517 fi
24518
24519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24520 conftest$ac_exeext conftest.$ac_ext
24521 fi
24522 ac_res=`eval echo '${'$as_ac_var'}'`
24523 { echo "$as_me:$LINENO: result: $ac_res" >&5
24524 echo "${ECHO_T}$ac_res" >&6; }
24525 if test `eval echo '${'$as_ac_var'}'` = yes; then
24526 cat >>confdefs.h <<_ACEOF
24527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24528 _ACEOF
24529 have_sin=1
24530 fi
24531 done
24532
24533
24534 for ac_func in ceil
24535 do
24536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24540 echo $ECHO_N "(cached) $ECHO_C" >&6
24541 else
24542 cat >conftest.$ac_ext <<_ACEOF
24543 /* confdefs.h. */
24544 _ACEOF
24545 cat confdefs.h >>conftest.$ac_ext
24546 cat >>conftest.$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24550 #define $ac_func innocuous_$ac_func
24551
24552 /* System header to define __stub macros and hopefully few prototypes,
24553 which can conflict with char $ac_func (); below.
24554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24555 <limits.h> exists even on freestanding compilers. */
24556
24557 #ifdef __STDC__
24558 # include <limits.h>
24559 #else
24560 # include <assert.h>
24561 #endif
24562
24563 #undef $ac_func
24564
24565 /* Override any GCC internal prototype to avoid an error.
24566 Use char because int might match the return type of a GCC
24567 builtin and then its argument prototype would still apply. */
24568 #ifdef __cplusplus
24569 extern "C"
24570 #endif
24571 char $ac_func ();
24572 /* The GNU C library defines this for functions which it implements
24573 to always fail with ENOSYS. Some functions are actually named
24574 something starting with __ and the normal name is an alias. */
24575 #if defined __stub_$ac_func || defined __stub___$ac_func
24576 choke me
24577 #endif
24578
24579 int
24580 main ()
24581 {
24582 return $ac_func ();
24583 ;
24584 return 0;
24585 }
24586 _ACEOF
24587 rm -f conftest.$ac_objext conftest$ac_exeext
24588 if { (ac_try="$ac_link"
24589 case "(($ac_try" in
24590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24591 *) ac_try_echo=$ac_try;;
24592 esac
24593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24594 (eval "$ac_link") 2>conftest.er1
24595 ac_status=$?
24596 grep -v '^ *+' conftest.er1 >conftest.err
24597 rm -f conftest.er1
24598 cat conftest.err >&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); } && {
24601 test -z "$ac_c_werror_flag" ||
24602 test ! -s conftest.err
24603 } && test -s conftest$ac_exeext &&
24604 $as_test_x conftest$ac_exeext; then
24605 eval "$as_ac_var=yes"
24606 else
24607 echo "$as_me: failed program was:" >&5
24608 sed 's/^/| /' conftest.$ac_ext >&5
24609
24610 eval "$as_ac_var=no"
24611 fi
24612
24613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24614 conftest$ac_exeext conftest.$ac_ext
24615 fi
24616 ac_res=`eval echo '${'$as_ac_var'}'`
24617 { echo "$as_me:$LINENO: result: $ac_res" >&5
24618 echo "${ECHO_T}$ac_res" >&6; }
24619 if test `eval echo '${'$as_ac_var'}'` = yes; then
24620 cat >>confdefs.h <<_ACEOF
24621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24622 _ACEOF
24623 have_ceil=1
24624 fi
24625 done
24626
24627 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24628 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24629 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24630 { echo "$as_me:$LINENO: result: yes" >&5
24631 echo "${ECHO_T}yes" >&6; }
24632 else
24633 { echo "$as_me:$LINENO: result: no" >&5
24634 echo "${ECHO_T}no" >&6; }
24635 # not sure we should warn the user, crash, etc.
24636 fi
24637 fi
24638
24639 ac_ext=cpp
24640 ac_cpp='$CXXCPP $CPPFLAGS'
24641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24644
24645 if test "wxUSE_UNICODE" = "yes"; then
24646
24647 for wx_func in wcstoull
24648 do
24649 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24650 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24651 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24653 else
24654
24655 cat >conftest.$ac_ext <<_ACEOF
24656
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662
24663
24664 $ac_includes_default
24665
24666 int
24667 main ()
24668 {
24669
24670 #ifndef $wx_func
24671 &$wx_func;
24672 #endif
24673
24674
24675 ;
24676 return 0;
24677 }
24678
24679 _ACEOF
24680 rm -f conftest.$ac_objext conftest$ac_exeext
24681 if { (ac_try="$ac_link"
24682 case "(($ac_try" in
24683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24684 *) ac_try_echo=$ac_try;;
24685 esac
24686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24687 (eval "$ac_link") 2>conftest.er1
24688 ac_status=$?
24689 grep -v '^ *+' conftest.er1 >conftest.err
24690 rm -f conftest.er1
24691 cat conftest.err >&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && {
24694 test -z "$ac_cxx_werror_flag" ||
24695 test ! -s conftest.err
24696 } && test -s conftest$ac_exeext &&
24697 $as_test_x conftest$ac_exeext; then
24698 eval wx_cv_func_$wx_func=yes
24699 else
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.$ac_ext >&5
24702
24703 eval wx_cv_func_$wx_func=no
24704 fi
24705
24706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24707 conftest$ac_exeext conftest.$ac_ext
24708
24709 fi
24710 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24711 { echo "$as_me:$LINENO: result: $ac_res" >&5
24712 echo "${ECHO_T}$ac_res" >&6; }
24713
24714 if eval test \$wx_cv_func_$wx_func = yes
24715 then
24716 cat >>confdefs.h <<_ACEOF
24717 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24718 _ACEOF
24719
24720
24721 else
24722 :
24723
24724 fi
24725 done
24726
24727 else
24728
24729 for wx_func in strtoull
24730 do
24731 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24732 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24733 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24734 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 else
24736
24737 cat >conftest.$ac_ext <<_ACEOF
24738
24739 /* confdefs.h. */
24740 _ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744
24745
24746 $ac_includes_default
24747
24748 int
24749 main ()
24750 {
24751
24752 #ifndef $wx_func
24753 &$wx_func;
24754 #endif
24755
24756
24757 ;
24758 return 0;
24759 }
24760
24761 _ACEOF
24762 rm -f conftest.$ac_objext conftest$ac_exeext
24763 if { (ac_try="$ac_link"
24764 case "(($ac_try" in
24765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24766 *) ac_try_echo=$ac_try;;
24767 esac
24768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24769 (eval "$ac_link") 2>conftest.er1
24770 ac_status=$?
24771 grep -v '^ *+' conftest.er1 >conftest.err
24772 rm -f conftest.er1
24773 cat conftest.err >&5
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); } && {
24776 test -z "$ac_cxx_werror_flag" ||
24777 test ! -s conftest.err
24778 } && test -s conftest$ac_exeext &&
24779 $as_test_x conftest$ac_exeext; then
24780 eval wx_cv_func_$wx_func=yes
24781 else
24782 echo "$as_me: failed program was:" >&5
24783 sed 's/^/| /' conftest.$ac_ext >&5
24784
24785 eval wx_cv_func_$wx_func=no
24786 fi
24787
24788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24789 conftest$ac_exeext conftest.$ac_ext
24790
24791 fi
24792 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24793 { echo "$as_me:$LINENO: result: $ac_res" >&5
24794 echo "${ECHO_T}$ac_res" >&6; }
24795
24796 if eval test \$wx_cv_func_$wx_func = yes
24797 then
24798 cat >>confdefs.h <<_ACEOF
24799 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24800 _ACEOF
24801
24802
24803 else
24804 :
24805
24806 fi
24807 done
24808
24809 fi
24810 ac_ext=c
24811 ac_cpp='$CPP $CPPFLAGS'
24812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24815
24816
24817
24818
24819 if test "$wxUSE_REGEX" != "no"; then
24820 cat >>confdefs.h <<\_ACEOF
24821 #define wxUSE_REGEX 1
24822 _ACEOF
24823
24824
24825 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24826 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24827 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24828 wxUSE_REGEX=builtin
24829 fi
24830
24831 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24832 { echo "$as_me:$LINENO: checking for regex.h" >&5
24833 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24834 if test "${ac_cv_header_regex_h+set}" = set; then
24835 echo $ECHO_N "(cached) $ECHO_C" >&6
24836 else
24837 cat >conftest.$ac_ext <<_ACEOF
24838 /* confdefs.h. */
24839 _ACEOF
24840 cat confdefs.h >>conftest.$ac_ext
24841 cat >>conftest.$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24843
24844
24845 #include <regex.h>
24846 _ACEOF
24847 rm -f conftest.$ac_objext
24848 if { (ac_try="$ac_compile"
24849 case "(($ac_try" in
24850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24851 *) ac_try_echo=$ac_try;;
24852 esac
24853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24854 (eval "$ac_compile") 2>conftest.er1
24855 ac_status=$?
24856 grep -v '^ *+' conftest.er1 >conftest.err
24857 rm -f conftest.er1
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } && {
24861 test -z "$ac_c_werror_flag" ||
24862 test ! -s conftest.err
24863 } && test -s conftest.$ac_objext; then
24864 ac_cv_header_regex_h=yes
24865 else
24866 echo "$as_me: failed program was:" >&5
24867 sed 's/^/| /' conftest.$ac_ext >&5
24868
24869 ac_cv_header_regex_h=no
24870 fi
24871
24872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873 fi
24874 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24875 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24876 if test $ac_cv_header_regex_h = yes; then
24877
24878
24879 for ac_func in regcomp re_search
24880 do
24881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24884 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24886 else
24887 cat >conftest.$ac_ext <<_ACEOF
24888 /* confdefs.h. */
24889 _ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24895 #define $ac_func innocuous_$ac_func
24896
24897 /* System header to define __stub macros and hopefully few prototypes,
24898 which can conflict with char $ac_func (); below.
24899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24900 <limits.h> exists even on freestanding compilers. */
24901
24902 #ifdef __STDC__
24903 # include <limits.h>
24904 #else
24905 # include <assert.h>
24906 #endif
24907
24908 #undef $ac_func
24909
24910 /* Override any GCC internal prototype to avoid an error.
24911 Use char because int might match the return type of a GCC
24912 builtin and then its argument prototype would still apply. */
24913 #ifdef __cplusplus
24914 extern "C"
24915 #endif
24916 char $ac_func ();
24917 /* The GNU C library defines this for functions which it implements
24918 to always fail with ENOSYS. Some functions are actually named
24919 something starting with __ and the normal name is an alias. */
24920 #if defined __stub_$ac_func || defined __stub___$ac_func
24921 choke me
24922 #endif
24923
24924 int
24925 main ()
24926 {
24927 return $ac_func ();
24928 ;
24929 return 0;
24930 }
24931 _ACEOF
24932 rm -f conftest.$ac_objext conftest$ac_exeext
24933 if { (ac_try="$ac_link"
24934 case "(($ac_try" in
24935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24936 *) ac_try_echo=$ac_try;;
24937 esac
24938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24939 (eval "$ac_link") 2>conftest.er1
24940 ac_status=$?
24941 grep -v '^ *+' conftest.er1 >conftest.err
24942 rm -f conftest.er1
24943 cat conftest.err >&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } && {
24946 test -z "$ac_c_werror_flag" ||
24947 test ! -s conftest.err
24948 } && test -s conftest$ac_exeext &&
24949 $as_test_x conftest$ac_exeext; then
24950 eval "$as_ac_var=yes"
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24954
24955 eval "$as_ac_var=no"
24956 fi
24957
24958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24959 conftest$ac_exeext conftest.$ac_ext
24960 fi
24961 ac_res=`eval echo '${'$as_ac_var'}'`
24962 { echo "$as_me:$LINENO: result: $ac_res" >&5
24963 echo "${ECHO_T}$ac_res" >&6; }
24964 if test `eval echo '${'$as_ac_var'}'` = yes; then
24965 cat >>confdefs.h <<_ACEOF
24966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24967 _ACEOF
24968
24969 fi
24970 done
24971
24972 fi
24973
24974
24975
24976 if test "x$ac_cv_func_regcomp" != "xyes"; then
24977 if test "$wxUSE_REGEX" = "sys" ; then
24978 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24979 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24980 { (exit 1); exit 1; }; }
24981 else
24982 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24983 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24984 wxUSE_REGEX=builtin
24985 fi
24986 else
24987 wxUSE_REGEX=sys
24988 cat >>confdefs.h <<\_ACEOF
24989 #define WX_NO_REGEX_ADVANCED 1
24990 _ACEOF
24991
24992 fi
24993 fi
24994 fi
24995
24996
24997 ZLIB_LINK=
24998 if test "$wxUSE_ZLIB" != "no" ; then
24999 cat >>confdefs.h <<\_ACEOF
25000 #define wxUSE_ZLIB 1
25001 _ACEOF
25002
25003
25004 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25005 if test "$USE_DARWIN" = 1; then
25006 system_zlib_h_ok="yes"
25007 else
25008 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25009 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25010 if test "${ac_cv_header_zlib_h+set}" = set; then
25011 echo $ECHO_N "(cached) $ECHO_C" >&6
25012 else
25013 if test "$cross_compiling" = yes; then
25014 unset ac_cv_header_zlib_h
25015
25016 else
25017 cat >conftest.$ac_ext <<_ACEOF
25018 /* confdefs.h. */
25019 _ACEOF
25020 cat confdefs.h >>conftest.$ac_ext
25021 cat >>conftest.$ac_ext <<_ACEOF
25022 /* end confdefs.h. */
25023
25024 #include <zlib.h>
25025 #include <stdio.h>
25026
25027 int main()
25028 {
25029 FILE *f=fopen("conftestval", "w");
25030 if (!f) exit(1);
25031 fprintf(f, "%s",
25032 ZLIB_VERSION[0] == '1' &&
25033 (ZLIB_VERSION[2] > '1' ||
25034 (ZLIB_VERSION[2] == '1' &&
25035 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25036 exit(0);
25037 }
25038
25039 _ACEOF
25040 rm -f conftest$ac_exeext
25041 if { (ac_try="$ac_link"
25042 case "(($ac_try" in
25043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25044 *) ac_try_echo=$ac_try;;
25045 esac
25046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25047 (eval "$ac_link") 2>&5
25048 ac_status=$?
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25051 { (case "(($ac_try" in
25052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25053 *) ac_try_echo=$ac_try;;
25054 esac
25055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25056 (eval "$ac_try") 2>&5
25057 ac_status=$?
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); }; }; then
25060 ac_cv_header_zlib_h=`cat conftestval`
25061 else
25062 echo "$as_me: program exited with status $ac_status" >&5
25063 echo "$as_me: failed program was:" >&5
25064 sed 's/^/| /' conftest.$ac_ext >&5
25065
25066 ( exit $ac_status )
25067 ac_cv_header_zlib_h=no
25068 fi
25069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25070 fi
25071
25072
25073
25074 fi
25075 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25076 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25077 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25078 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25079 if test "${ac_cv_header_zlib_h+set}" = set; then
25080 echo $ECHO_N "(cached) $ECHO_C" >&6
25081 else
25082 cat >conftest.$ac_ext <<_ACEOF
25083 /* confdefs.h. */
25084 _ACEOF
25085 cat confdefs.h >>conftest.$ac_ext
25086 cat >>conftest.$ac_ext <<_ACEOF
25087 /* end confdefs.h. */
25088
25089
25090 #include <zlib.h>
25091 _ACEOF
25092 rm -f conftest.$ac_objext
25093 if { (ac_try="$ac_compile"
25094 case "(($ac_try" in
25095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25096 *) ac_try_echo=$ac_try;;
25097 esac
25098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25099 (eval "$ac_compile") 2>conftest.er1
25100 ac_status=$?
25101 grep -v '^ *+' conftest.er1 >conftest.err
25102 rm -f conftest.er1
25103 cat conftest.err >&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); } && {
25106 test -z "$ac_c_werror_flag" ||
25107 test ! -s conftest.err
25108 } && test -s conftest.$ac_objext; then
25109 ac_cv_header_zlib_h=yes
25110 else
25111 echo "$as_me: failed program was:" >&5
25112 sed 's/^/| /' conftest.$ac_ext >&5
25113
25114 ac_cv_header_zlib_h=no
25115 fi
25116
25117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25118 fi
25119 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25120 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25121
25122
25123
25124 system_zlib_h_ok=$ac_cv_header_zlib_h
25125 fi
25126
25127 if test "$system_zlib_h_ok" = "yes"; then
25128 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25129 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25130 if test "${ac_cv_lib_z_deflate+set}" = set; then
25131 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 else
25133 ac_check_lib_save_LIBS=$LIBS
25134 LIBS="-lz $LIBS"
25135 cat >conftest.$ac_ext <<_ACEOF
25136 /* confdefs.h. */
25137 _ACEOF
25138 cat confdefs.h >>conftest.$ac_ext
25139 cat >>conftest.$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25141
25142 /* Override any GCC internal prototype to avoid an error.
25143 Use char because int might match the return type of a GCC
25144 builtin and then its argument prototype would still apply. */
25145 #ifdef __cplusplus
25146 extern "C"
25147 #endif
25148 char deflate ();
25149 int
25150 main ()
25151 {
25152 return deflate ();
25153 ;
25154 return 0;
25155 }
25156 _ACEOF
25157 rm -f conftest.$ac_objext conftest$ac_exeext
25158 if { (ac_try="$ac_link"
25159 case "(($ac_try" in
25160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25161 *) ac_try_echo=$ac_try;;
25162 esac
25163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25164 (eval "$ac_link") 2>conftest.er1
25165 ac_status=$?
25166 grep -v '^ *+' conftest.er1 >conftest.err
25167 rm -f conftest.er1
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } && {
25171 test -z "$ac_c_werror_flag" ||
25172 test ! -s conftest.err
25173 } && test -s conftest$ac_exeext &&
25174 $as_test_x conftest$ac_exeext; then
25175 ac_cv_lib_z_deflate=yes
25176 else
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.$ac_ext >&5
25179
25180 ac_cv_lib_z_deflate=no
25181 fi
25182
25183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25184 conftest$ac_exeext conftest.$ac_ext
25185 LIBS=$ac_check_lib_save_LIBS
25186 fi
25187 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25188 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25189 if test $ac_cv_lib_z_deflate = yes; then
25190 ZLIB_LINK=" -lz"
25191 fi
25192
25193 fi
25194
25195 if test "x$ZLIB_LINK" = "x" ; then
25196 if test "$wxUSE_ZLIB" = "sys" ; then
25197 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25198 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25199 { (exit 1); exit 1; }; }
25200 else
25201 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25202 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25203 wxUSE_ZLIB=builtin
25204 fi
25205 else
25206 wxUSE_ZLIB=sys
25207 fi
25208 fi
25209 fi
25210
25211
25212 PNG_LINK=
25213 if test "$wxUSE_LIBPNG" != "no" ; then
25214 cat >>confdefs.h <<\_ACEOF
25215 #define wxUSE_LIBPNG 1
25216 _ACEOF
25217
25218
25219 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25220 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25221 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25222 wxUSE_LIBPNG=sys
25223 fi
25224
25225 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25226 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25227 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25228 wxUSE_LIBPNG=builtin
25229 fi
25230
25231 if test "$wxUSE_MGL" != 1 ; then
25232 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25233 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25234 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25235 if test "${ac_cv_header_png_h+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25237 else
25238 if test "$cross_compiling" = yes; then
25239 unset ac_cv_header_png_h
25240
25241 else
25242 cat >conftest.$ac_ext <<_ACEOF
25243 /* confdefs.h. */
25244 _ACEOF
25245 cat confdefs.h >>conftest.$ac_ext
25246 cat >>conftest.$ac_ext <<_ACEOF
25247 /* end confdefs.h. */
25248
25249 #include <png.h>
25250 #include <stdio.h>
25251
25252 int main()
25253 {
25254 FILE *f=fopen("conftestval", "w");
25255 if (!f) exit(1);
25256 fprintf(f, "%s",
25257 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25258 exit(0);
25259 }
25260
25261 _ACEOF
25262 rm -f conftest$ac_exeext
25263 if { (ac_try="$ac_link"
25264 case "(($ac_try" in
25265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25266 *) ac_try_echo=$ac_try;;
25267 esac
25268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25269 (eval "$ac_link") 2>&5
25270 ac_status=$?
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25273 { (case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25275 *) ac_try_echo=$ac_try;;
25276 esac
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_try") 2>&5
25279 ac_status=$?
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); }; }; then
25282 ac_cv_header_png_h=`cat conftestval`
25283 else
25284 echo "$as_me: program exited with status $ac_status" >&5
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25287
25288 ( exit $ac_status )
25289 ac_cv_header_png_h=no
25290 fi
25291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25292 fi
25293
25294
25295
25296 fi
25297 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25298 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25299 { echo "$as_me:$LINENO: checking for png.h" >&5
25300 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25301 if test "${ac_cv_header_png_h+set}" = set; then
25302 echo $ECHO_N "(cached) $ECHO_C" >&6
25303 else
25304 cat >conftest.$ac_ext <<_ACEOF
25305 /* confdefs.h. */
25306 _ACEOF
25307 cat confdefs.h >>conftest.$ac_ext
25308 cat >>conftest.$ac_ext <<_ACEOF
25309 /* end confdefs.h. */
25310
25311
25312 #include <png.h>
25313 _ACEOF
25314 rm -f conftest.$ac_objext
25315 if { (ac_try="$ac_compile"
25316 case "(($ac_try" in
25317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25318 *) ac_try_echo=$ac_try;;
25319 esac
25320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25321 (eval "$ac_compile") 2>conftest.er1
25322 ac_status=$?
25323 grep -v '^ *+' conftest.er1 >conftest.err
25324 rm -f conftest.er1
25325 cat conftest.err >&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); } && {
25328 test -z "$ac_c_werror_flag" ||
25329 test ! -s conftest.err
25330 } && test -s conftest.$ac_objext; then
25331 ac_cv_header_png_h=yes
25332 else
25333 echo "$as_me: failed program was:" >&5
25334 sed 's/^/| /' conftest.$ac_ext >&5
25335
25336 ac_cv_header_png_h=no
25337 fi
25338
25339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25340 fi
25341 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25342 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25343
25344
25345
25346 if test "$ac_cv_header_png_h" = "yes"; then
25347 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25348 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25349 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 else
25352 ac_check_lib_save_LIBS=$LIBS
25353 LIBS="-lpng -lz -lm $LIBS"
25354 cat >conftest.$ac_ext <<_ACEOF
25355 /* confdefs.h. */
25356 _ACEOF
25357 cat confdefs.h >>conftest.$ac_ext
25358 cat >>conftest.$ac_ext <<_ACEOF
25359 /* end confdefs.h. */
25360
25361 /* Override any GCC internal prototype to avoid an error.
25362 Use char because int might match the return type of a GCC
25363 builtin and then its argument prototype would still apply. */
25364 #ifdef __cplusplus
25365 extern "C"
25366 #endif
25367 char png_check_sig ();
25368 int
25369 main ()
25370 {
25371 return png_check_sig ();
25372 ;
25373 return 0;
25374 }
25375 _ACEOF
25376 rm -f conftest.$ac_objext conftest$ac_exeext
25377 if { (ac_try="$ac_link"
25378 case "(($ac_try" in
25379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25381 esac
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_link") 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } && {
25390 test -z "$ac_c_werror_flag" ||
25391 test ! -s conftest.err
25392 } && test -s conftest$ac_exeext &&
25393 $as_test_x conftest$ac_exeext; then
25394 ac_cv_lib_png_png_check_sig=yes
25395 else
25396 echo "$as_me: failed program was:" >&5
25397 sed 's/^/| /' conftest.$ac_ext >&5
25398
25399 ac_cv_lib_png_png_check_sig=no
25400 fi
25401
25402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25403 conftest$ac_exeext conftest.$ac_ext
25404 LIBS=$ac_check_lib_save_LIBS
25405 fi
25406 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25407 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25408 if test $ac_cv_lib_png_png_check_sig = yes; then
25409 PNG_LINK=" -lpng -lz"
25410 fi
25411
25412 fi
25413
25414 if test "x$PNG_LINK" = "x" ; then
25415 if test "$wxUSE_LIBPNG" = "sys" ; then
25416 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25417 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25418 { (exit 1); exit 1; }; }
25419 else
25420 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25421 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25422 wxUSE_LIBPNG=builtin
25423 fi
25424 else
25425 wxUSE_LIBPNG=sys
25426 fi
25427 fi
25428 fi
25429
25430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25431 fi
25432
25433
25434 JPEG_LINK=
25435 if test "$wxUSE_LIBJPEG" != "no" ; then
25436 cat >>confdefs.h <<\_ACEOF
25437 #define wxUSE_LIBJPEG 1
25438 _ACEOF
25439
25440
25441 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25442 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25443 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25444 wxUSE_LIBJPEG=sys
25445 fi
25446
25447 if test "$wxUSE_MGL" != 1 ; then
25448 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25449 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25450 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25451 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25452 echo $ECHO_N "(cached) $ECHO_C" >&6
25453 else
25454 cat >conftest.$ac_ext <<_ACEOF
25455 /* confdefs.h. */
25456 _ACEOF
25457 cat confdefs.h >>conftest.$ac_ext
25458 cat >>conftest.$ac_ext <<_ACEOF
25459 /* end confdefs.h. */
25460
25461 #undef HAVE_STDLIB_H
25462 #include <stdio.h>
25463 #include <jpeglib.h>
25464
25465 int
25466 main ()
25467 {
25468
25469
25470 ;
25471 return 0;
25472 }
25473 _ACEOF
25474 rm -f conftest.$ac_objext
25475 if { (ac_try="$ac_compile"
25476 case "(($ac_try" in
25477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25478 *) ac_try_echo=$ac_try;;
25479 esac
25480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25481 (eval "$ac_compile") 2>conftest.er1
25482 ac_status=$?
25483 grep -v '^ *+' conftest.er1 >conftest.err
25484 rm -f conftest.er1
25485 cat conftest.err >&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } && {
25488 test -z "$ac_c_werror_flag" ||
25489 test ! -s conftest.err
25490 } && test -s conftest.$ac_objext; then
25491 ac_cv_header_jpeglib_h=yes
25492 else
25493 echo "$as_me: failed program was:" >&5
25494 sed 's/^/| /' conftest.$ac_ext >&5
25495
25496 ac_cv_header_jpeglib_h=no
25497
25498 fi
25499
25500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25501
25502 fi
25503
25504 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25505 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25506
25507 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25508 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25509 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25510 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25511 echo $ECHO_N "(cached) $ECHO_C" >&6
25512 else
25513 ac_check_lib_save_LIBS=$LIBS
25514 LIBS="-ljpeg $LIBS"
25515 cat >conftest.$ac_ext <<_ACEOF
25516 /* confdefs.h. */
25517 _ACEOF
25518 cat confdefs.h >>conftest.$ac_ext
25519 cat >>conftest.$ac_ext <<_ACEOF
25520 /* end confdefs.h. */
25521
25522 /* Override any GCC internal prototype to avoid an error.
25523 Use char because int might match the return type of a GCC
25524 builtin and then its argument prototype would still apply. */
25525 #ifdef __cplusplus
25526 extern "C"
25527 #endif
25528 char jpeg_read_header ();
25529 int
25530 main ()
25531 {
25532 return jpeg_read_header ();
25533 ;
25534 return 0;
25535 }
25536 _ACEOF
25537 rm -f conftest.$ac_objext conftest$ac_exeext
25538 if { (ac_try="$ac_link"
25539 case "(($ac_try" in
25540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25541 *) ac_try_echo=$ac_try;;
25542 esac
25543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25544 (eval "$ac_link") 2>conftest.er1
25545 ac_status=$?
25546 grep -v '^ *+' conftest.er1 >conftest.err
25547 rm -f conftest.er1
25548 cat conftest.err >&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); } && {
25551 test -z "$ac_c_werror_flag" ||
25552 test ! -s conftest.err
25553 } && test -s conftest$ac_exeext &&
25554 $as_test_x conftest$ac_exeext; then
25555 ac_cv_lib_jpeg_jpeg_read_header=yes
25556 else
25557 echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.$ac_ext >&5
25559
25560 ac_cv_lib_jpeg_jpeg_read_header=no
25561 fi
25562
25563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25564 conftest$ac_exeext conftest.$ac_ext
25565 LIBS=$ac_check_lib_save_LIBS
25566 fi
25567 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25568 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25569 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25570 JPEG_LINK=" -ljpeg"
25571 fi
25572
25573 fi
25574
25575 if test "x$JPEG_LINK" = "x" ; then
25576 if test "$wxUSE_LIBJPEG" = "sys" ; then
25577 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25578 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25579 { (exit 1); exit 1; }; }
25580 else
25581 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25582 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25583 wxUSE_LIBJPEG=builtin
25584 fi
25585 else
25586 wxUSE_LIBJPEG=sys
25587
25588 if test "$wxUSE_MSW" = 1; then
25589 { echo "$as_me:$LINENO: checking for boolean" >&5
25590 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25591 if test "${ac_cv_type_boolean+set}" = set; then
25592 echo $ECHO_N "(cached) $ECHO_C" >&6
25593 else
25594 cat >conftest.$ac_ext <<_ACEOF
25595 /* confdefs.h. */
25596 _ACEOF
25597 cat confdefs.h >>conftest.$ac_ext
25598 cat >>conftest.$ac_ext <<_ACEOF
25599 /* end confdefs.h. */
25600 #include <windows.h>
25601
25602 typedef boolean ac__type_new_;
25603 int
25604 main ()
25605 {
25606 if ((ac__type_new_ *) 0)
25607 return 0;
25608 if (sizeof (ac__type_new_))
25609 return 0;
25610 ;
25611 return 0;
25612 }
25613 _ACEOF
25614 rm -f conftest.$ac_objext
25615 if { (ac_try="$ac_compile"
25616 case "(($ac_try" in
25617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25618 *) ac_try_echo=$ac_try;;
25619 esac
25620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25621 (eval "$ac_compile") 2>conftest.er1
25622 ac_status=$?
25623 grep -v '^ *+' conftest.er1 >conftest.err
25624 rm -f conftest.er1
25625 cat conftest.err >&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } && {
25628 test -z "$ac_c_werror_flag" ||
25629 test ! -s conftest.err
25630 } && test -s conftest.$ac_objext; then
25631 ac_cv_type_boolean=yes
25632 else
25633 echo "$as_me: failed program was:" >&5
25634 sed 's/^/| /' conftest.$ac_ext >&5
25635
25636 ac_cv_type_boolean=no
25637 fi
25638
25639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25640 fi
25641 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25642 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25643 if test $ac_cv_type_boolean = yes; then
25644
25645 cat >>confdefs.h <<_ACEOF
25646 #define HAVE_BOOLEAN 1
25647 _ACEOF
25648
25649
25650 { echo "$as_me:$LINENO: checking for boolean" >&5
25651 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25652 if test "${ac_cv_type_boolean+set}" = set; then
25653 echo $ECHO_N "(cached) $ECHO_C" >&6
25654 else
25655 cat >conftest.$ac_ext <<_ACEOF
25656 /* confdefs.h. */
25657 _ACEOF
25658 cat confdefs.h >>conftest.$ac_ext
25659 cat >>conftest.$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25661
25662 #undef HAVE_BOOLEAN
25663 #include <stdio.h>
25664 #include <jpeglib.h>
25665
25666
25667 typedef boolean ac__type_new_;
25668 int
25669 main ()
25670 {
25671 if ((ac__type_new_ *) 0)
25672 return 0;
25673 if (sizeof (ac__type_new_))
25674 return 0;
25675 ;
25676 return 0;
25677 }
25678 _ACEOF
25679 rm -f conftest.$ac_objext
25680 if { (ac_try="$ac_compile"
25681 case "(($ac_try" in
25682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25683 *) ac_try_echo=$ac_try;;
25684 esac
25685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25686 (eval "$ac_compile") 2>conftest.er1
25687 ac_status=$?
25688 grep -v '^ *+' conftest.er1 >conftest.err
25689 rm -f conftest.er1
25690 cat conftest.err >&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); } && {
25693 test -z "$ac_c_werror_flag" ||
25694 test ! -s conftest.err
25695 } && test -s conftest.$ac_objext; then
25696 ac_cv_type_boolean=yes
25697 else
25698 echo "$as_me: failed program was:" >&5
25699 sed 's/^/| /' conftest.$ac_ext >&5
25700
25701 ac_cv_type_boolean=no
25702 fi
25703
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 fi
25706 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25707 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25708
25709 # The cast to long int works around a bug in the HP C Compiler
25710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25712 # This bug is HP SR number 8606223364.
25713 { echo "$as_me:$LINENO: checking size of boolean" >&5
25714 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25715 if test "${ac_cv_sizeof_boolean+set}" = set; then
25716 echo $ECHO_N "(cached) $ECHO_C" >&6
25717 else
25718 if test "$cross_compiling" = yes; then
25719 # Depending upon the size, compute the lo and hi bounds.
25720 cat >conftest.$ac_ext <<_ACEOF
25721 /* confdefs.h. */
25722 _ACEOF
25723 cat confdefs.h >>conftest.$ac_ext
25724 cat >>conftest.$ac_ext <<_ACEOF
25725 /* end confdefs.h. */
25726
25727 #undef HAVE_BOOLEAN
25728 #include <stdio.h>
25729 #include <jpeglib.h>
25730
25731
25732 typedef boolean ac__type_sizeof_;
25733 int
25734 main ()
25735 {
25736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25737 test_array [0] = 0
25738
25739 ;
25740 return 0;
25741 }
25742 _ACEOF
25743 rm -f conftest.$ac_objext
25744 if { (ac_try="$ac_compile"
25745 case "(($ac_try" in
25746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25747 *) ac_try_echo=$ac_try;;
25748 esac
25749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25750 (eval "$ac_compile") 2>conftest.er1
25751 ac_status=$?
25752 grep -v '^ *+' conftest.er1 >conftest.err
25753 rm -f conftest.er1
25754 cat conftest.err >&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && {
25757 test -z "$ac_c_werror_flag" ||
25758 test ! -s conftest.err
25759 } && test -s conftest.$ac_objext; then
25760 ac_lo=0 ac_mid=0
25761 while :; do
25762 cat >conftest.$ac_ext <<_ACEOF
25763 /* confdefs.h. */
25764 _ACEOF
25765 cat confdefs.h >>conftest.$ac_ext
25766 cat >>conftest.$ac_ext <<_ACEOF
25767 /* end confdefs.h. */
25768
25769 #undef HAVE_BOOLEAN
25770 #include <stdio.h>
25771 #include <jpeglib.h>
25772
25773
25774 typedef boolean ac__type_sizeof_;
25775 int
25776 main ()
25777 {
25778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25779 test_array [0] = 0
25780
25781 ;
25782 return 0;
25783 }
25784 _ACEOF
25785 rm -f conftest.$ac_objext
25786 if { (ac_try="$ac_compile"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25790 esac
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_compile") 2>conftest.er1
25793 ac_status=$?
25794 grep -v '^ *+' conftest.er1 >conftest.err
25795 rm -f conftest.er1
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } && {
25799 test -z "$ac_c_werror_flag" ||
25800 test ! -s conftest.err
25801 } && test -s conftest.$ac_objext; then
25802 ac_hi=$ac_mid; break
25803 else
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.$ac_ext >&5
25806
25807 ac_lo=`expr $ac_mid + 1`
25808 if test $ac_lo -le $ac_mid; then
25809 ac_lo= ac_hi=
25810 break
25811 fi
25812 ac_mid=`expr 2 '*' $ac_mid + 1`
25813 fi
25814
25815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25816 done
25817 else
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25820
25821 cat >conftest.$ac_ext <<_ACEOF
25822 /* confdefs.h. */
25823 _ACEOF
25824 cat confdefs.h >>conftest.$ac_ext
25825 cat >>conftest.$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25827
25828 #undef HAVE_BOOLEAN
25829 #include <stdio.h>
25830 #include <jpeglib.h>
25831
25832
25833 typedef boolean ac__type_sizeof_;
25834 int
25835 main ()
25836 {
25837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25838 test_array [0] = 0
25839
25840 ;
25841 return 0;
25842 }
25843 _ACEOF
25844 rm -f conftest.$ac_objext
25845 if { (ac_try="$ac_compile"
25846 case "(($ac_try" in
25847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25848 *) ac_try_echo=$ac_try;;
25849 esac
25850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25851 (eval "$ac_compile") 2>conftest.er1
25852 ac_status=$?
25853 grep -v '^ *+' conftest.er1 >conftest.err
25854 rm -f conftest.er1
25855 cat conftest.err >&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); } && {
25858 test -z "$ac_c_werror_flag" ||
25859 test ! -s conftest.err
25860 } && test -s conftest.$ac_objext; then
25861 ac_hi=-1 ac_mid=-1
25862 while :; do
25863 cat >conftest.$ac_ext <<_ACEOF
25864 /* confdefs.h. */
25865 _ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25869
25870 #undef HAVE_BOOLEAN
25871 #include <stdio.h>
25872 #include <jpeglib.h>
25873
25874
25875 typedef boolean ac__type_sizeof_;
25876 int
25877 main ()
25878 {
25879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25880 test_array [0] = 0
25881
25882 ;
25883 return 0;
25884 }
25885 _ACEOF
25886 rm -f conftest.$ac_objext
25887 if { (ac_try="$ac_compile"
25888 case "(($ac_try" in
25889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25890 *) ac_try_echo=$ac_try;;
25891 esac
25892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25893 (eval "$ac_compile") 2>conftest.er1
25894 ac_status=$?
25895 grep -v '^ *+' conftest.er1 >conftest.err
25896 rm -f conftest.er1
25897 cat conftest.err >&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); } && {
25900 test -z "$ac_c_werror_flag" ||
25901 test ! -s conftest.err
25902 } && test -s conftest.$ac_objext; then
25903 ac_lo=$ac_mid; break
25904 else
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.$ac_ext >&5
25907
25908 ac_hi=`expr '(' $ac_mid ')' - 1`
25909 if test $ac_mid -le $ac_hi; then
25910 ac_lo= ac_hi=
25911 break
25912 fi
25913 ac_mid=`expr 2 '*' $ac_mid`
25914 fi
25915
25916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25917 done
25918 else
25919 echo "$as_me: failed program was:" >&5
25920 sed 's/^/| /' conftest.$ac_ext >&5
25921
25922 ac_lo= ac_hi=
25923 fi
25924
25925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25926 fi
25927
25928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25929 # Binary search between lo and hi bounds.
25930 while test "x$ac_lo" != "x$ac_hi"; do
25931 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25932 cat >conftest.$ac_ext <<_ACEOF
25933 /* confdefs.h. */
25934 _ACEOF
25935 cat confdefs.h >>conftest.$ac_ext
25936 cat >>conftest.$ac_ext <<_ACEOF
25937 /* end confdefs.h. */
25938
25939 #undef HAVE_BOOLEAN
25940 #include <stdio.h>
25941 #include <jpeglib.h>
25942
25943
25944 typedef boolean ac__type_sizeof_;
25945 int
25946 main ()
25947 {
25948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25949 test_array [0] = 0
25950
25951 ;
25952 return 0;
25953 }
25954 _ACEOF
25955 rm -f conftest.$ac_objext
25956 if { (ac_try="$ac_compile"
25957 case "(($ac_try" in
25958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25959 *) ac_try_echo=$ac_try;;
25960 esac
25961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25962 (eval "$ac_compile") 2>conftest.er1
25963 ac_status=$?
25964 grep -v '^ *+' conftest.er1 >conftest.err
25965 rm -f conftest.er1
25966 cat conftest.err >&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } && {
25969 test -z "$ac_c_werror_flag" ||
25970 test ! -s conftest.err
25971 } && test -s conftest.$ac_objext; then
25972 ac_hi=$ac_mid
25973 else
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25976
25977 ac_lo=`expr '(' $ac_mid ')' + 1`
25978 fi
25979
25980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25981 done
25982 case $ac_lo in
25983 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25984 '') if test "$ac_cv_type_boolean" = yes; then
25985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25986 See \`config.log' for more details." >&5
25987 echo "$as_me: error: cannot compute sizeof (boolean)
25988 See \`config.log' for more details." >&2;}
25989 { (exit 77); exit 77; }; }
25990 else
25991 ac_cv_sizeof_boolean=0
25992 fi ;;
25993 esac
25994 else
25995 cat >conftest.$ac_ext <<_ACEOF
25996 /* confdefs.h. */
25997 _ACEOF
25998 cat confdefs.h >>conftest.$ac_ext
25999 cat >>conftest.$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26001
26002 #undef HAVE_BOOLEAN
26003 #include <stdio.h>
26004 #include <jpeglib.h>
26005
26006
26007 typedef boolean ac__type_sizeof_;
26008 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26009 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26010 #include <stdio.h>
26011 #include <stdlib.h>
26012 int
26013 main ()
26014 {
26015
26016 FILE *f = fopen ("conftest.val", "w");
26017 if (! f)
26018 return 1;
26019 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26020 {
26021 long int i = longval ();
26022 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26023 return 1;
26024 fprintf (f, "%ld\n", i);
26025 }
26026 else
26027 {
26028 unsigned long int i = ulongval ();
26029 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26030 return 1;
26031 fprintf (f, "%lu\n", i);
26032 }
26033 return ferror (f) || fclose (f) != 0;
26034
26035 ;
26036 return 0;
26037 }
26038 _ACEOF
26039 rm -f conftest$ac_exeext
26040 if { (ac_try="$ac_link"
26041 case "(($ac_try" in
26042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26043 *) ac_try_echo=$ac_try;;
26044 esac
26045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26046 (eval "$ac_link") 2>&5
26047 ac_status=$?
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26050 { (case "(($ac_try" in
26051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26052 *) ac_try_echo=$ac_try;;
26053 esac
26054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26055 (eval "$ac_try") 2>&5
26056 ac_status=$?
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_cv_sizeof_boolean=`cat conftest.val`
26060 else
26061 echo "$as_me: program exited with status $ac_status" >&5
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 ( exit $ac_status )
26066 if test "$ac_cv_type_boolean" = yes; then
26067 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26068 See \`config.log' for more details." >&5
26069 echo "$as_me: error: cannot compute sizeof (boolean)
26070 See \`config.log' for more details." >&2;}
26071 { (exit 77); exit 77; }; }
26072 else
26073 ac_cv_sizeof_boolean=0
26074 fi
26075 fi
26076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26077 fi
26078 rm -f conftest.val
26079 fi
26080 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26081 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26082
26083
26084
26085 cat >>confdefs.h <<_ACEOF
26086 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26087 _ACEOF
26088
26089
26090 cat >>confdefs.h <<_ACEOF
26091 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26092 _ACEOF
26093
26094
26095 fi
26096
26097 fi
26098 fi
26099 fi
26100 fi
26101 fi
26102
26103
26104 TIFF_LINK=
26105 TIFF_PREREQ_LINKS=-lm
26106 if test "$wxUSE_LIBTIFF" != "no" ; then
26107 cat >>confdefs.h <<\_ACEOF
26108 #define wxUSE_LIBTIFF 1
26109 _ACEOF
26110
26111
26112 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26113 if test "$wxUSE_LIBJPEG" = "sys"; then
26114 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26115 fi
26116 if test "$wxUSE_ZLIB" = "sys"; then
26117 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26118 fi
26119 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26120 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26121 if test "${ac_cv_header_tiffio_h+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26123 else
26124 cat >conftest.$ac_ext <<_ACEOF
26125 /* confdefs.h. */
26126 _ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26130
26131
26132
26133 #include <tiffio.h>
26134 _ACEOF
26135 rm -f conftest.$ac_objext
26136 if { (ac_try="$ac_compile"
26137 case "(($ac_try" in
26138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26139 *) ac_try_echo=$ac_try;;
26140 esac
26141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26142 (eval "$ac_compile") 2>conftest.er1
26143 ac_status=$?
26144 grep -v '^ *+' conftest.er1 >conftest.err
26145 rm -f conftest.er1
26146 cat conftest.err >&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } && {
26149 test -z "$ac_c_werror_flag" ||
26150 test ! -s conftest.err
26151 } && test -s conftest.$ac_objext; then
26152 ac_cv_header_tiffio_h=yes
26153 else
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26156
26157 ac_cv_header_tiffio_h=no
26158 fi
26159
26160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161 fi
26162 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26163 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26164 if test $ac_cv_header_tiffio_h = yes; then
26165
26166 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26167 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26168 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26169 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 else
26171 ac_check_lib_save_LIBS=$LIBS
26172 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26173 cat >conftest.$ac_ext <<_ACEOF
26174 /* confdefs.h. */
26175 _ACEOF
26176 cat confdefs.h >>conftest.$ac_ext
26177 cat >>conftest.$ac_ext <<_ACEOF
26178 /* end confdefs.h. */
26179
26180 /* Override any GCC internal prototype to avoid an error.
26181 Use char because int might match the return type of a GCC
26182 builtin and then its argument prototype would still apply. */
26183 #ifdef __cplusplus
26184 extern "C"
26185 #endif
26186 char TIFFError ();
26187 int
26188 main ()
26189 {
26190 return TIFFError ();
26191 ;
26192 return 0;
26193 }
26194 _ACEOF
26195 rm -f conftest.$ac_objext conftest$ac_exeext
26196 if { (ac_try="$ac_link"
26197 case "(($ac_try" in
26198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26199 *) ac_try_echo=$ac_try;;
26200 esac
26201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26202 (eval "$ac_link") 2>conftest.er1
26203 ac_status=$?
26204 grep -v '^ *+' conftest.er1 >conftest.err
26205 rm -f conftest.er1
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } && {
26209 test -z "$ac_c_werror_flag" ||
26210 test ! -s conftest.err
26211 } && test -s conftest$ac_exeext &&
26212 $as_test_x conftest$ac_exeext; then
26213 ac_cv_lib_tiff_TIFFError=yes
26214 else
26215 echo "$as_me: failed program was:" >&5
26216 sed 's/^/| /' conftest.$ac_ext >&5
26217
26218 ac_cv_lib_tiff_TIFFError=no
26219 fi
26220
26221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26222 conftest$ac_exeext conftest.$ac_ext
26223 LIBS=$ac_check_lib_save_LIBS
26224 fi
26225 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26226 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26227 if test $ac_cv_lib_tiff_TIFFError = yes; then
26228 TIFF_LINK=" -ltiff"
26229 fi
26230
26231
26232 fi
26233
26234
26235
26236 if test "x$TIFF_LINK" = "x" ; then
26237 if test "$wxUSE_LIBTIFF" = "sys" ; then
26238 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26239 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26240 { (exit 1); exit 1; }; }
26241 else
26242 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26243 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26244 wxUSE_LIBTIFF=builtin
26245 fi
26246 else
26247 wxUSE_LIBTIFF=sys
26248 fi
26249 fi
26250 fi
26251
26252
26253 if test "$wxUSE_WCHAR_T" != "yes"; then
26254 if test "$wxUSE_EXPAT" != "no"; then
26255 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26256 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26257 wxUSE_EXPAT=no
26258 fi
26259 if test "$wxUSE_XML" != "no"; then
26260 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26261 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26262 wxUSE_XML=no
26263 fi
26264 fi
26265
26266 if test "$wxUSE_EXPAT" != "no"; then
26267 wxUSE_XML=yes
26268 cat >>confdefs.h <<\_ACEOF
26269 #define wxUSE_EXPAT 1
26270 _ACEOF
26271
26272 cat >>confdefs.h <<\_ACEOF
26273 #define wxUSE_XML 1
26274 _ACEOF
26275
26276
26277 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26278 { echo "$as_me:$LINENO: checking for expat.h" >&5
26279 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26280 if test "${ac_cv_header_expat_h+set}" = set; then
26281 echo $ECHO_N "(cached) $ECHO_C" >&6
26282 else
26283 cat >conftest.$ac_ext <<_ACEOF
26284 /* confdefs.h. */
26285 _ACEOF
26286 cat confdefs.h >>conftest.$ac_ext
26287 cat >>conftest.$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26289
26290
26291 #include <expat.h>
26292 _ACEOF
26293 rm -f conftest.$ac_objext
26294 if { (ac_try="$ac_compile"
26295 case "(($ac_try" in
26296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26297 *) ac_try_echo=$ac_try;;
26298 esac
26299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26300 (eval "$ac_compile") 2>conftest.er1
26301 ac_status=$?
26302 grep -v '^ *+' conftest.er1 >conftest.err
26303 rm -f conftest.er1
26304 cat conftest.err >&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); } && {
26307 test -z "$ac_c_werror_flag" ||
26308 test ! -s conftest.err
26309 } && test -s conftest.$ac_objext; then
26310 ac_cv_header_expat_h=yes
26311 else
26312 echo "$as_me: failed program was:" >&5
26313 sed 's/^/| /' conftest.$ac_ext >&5
26314
26315 ac_cv_header_expat_h=no
26316 fi
26317
26318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26319 fi
26320 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26321 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26322 if test $ac_cv_header_expat_h = yes; then
26323 found_expat_h=1
26324 fi
26325
26326
26327 if test "x$found_expat_h" = "x1"; then
26328 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26329 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26330 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26332 else
26333
26334 ac_ext=cpp
26335 ac_cpp='$CXXCPP $CPPFLAGS'
26336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26339
26340 cat >conftest.$ac_ext <<_ACEOF
26341 /* confdefs.h. */
26342 _ACEOF
26343 cat confdefs.h >>conftest.$ac_ext
26344 cat >>conftest.$ac_ext <<_ACEOF
26345 /* end confdefs.h. */
26346 #include <expat.h>
26347 int
26348 main ()
26349 {
26350
26351 ;
26352 return 0;
26353 }
26354 _ACEOF
26355 rm -f conftest.$ac_objext
26356 if { (ac_try="$ac_compile"
26357 case "(($ac_try" in
26358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26359 *) ac_try_echo=$ac_try;;
26360 esac
26361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26362 (eval "$ac_compile") 2>conftest.er1
26363 ac_status=$?
26364 grep -v '^ *+' conftest.er1 >conftest.err
26365 rm -f conftest.er1
26366 cat conftest.err >&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } && {
26369 test -z "$ac_cxx_werror_flag" ||
26370 test ! -s conftest.err
26371 } && test -s conftest.$ac_objext; then
26372 wx_cv_expat_is_not_broken=yes
26373 else
26374 echo "$as_me: failed program was:" >&5
26375 sed 's/^/| /' conftest.$ac_ext >&5
26376
26377 wx_cv_expat_is_not_broken=no
26378
26379 fi
26380
26381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26382 ac_ext=c
26383 ac_cpp='$CPP $CPPFLAGS'
26384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26387
26388
26389
26390 fi
26391 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26392 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26393 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26394 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26395 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26396 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26397 echo $ECHO_N "(cached) $ECHO_C" >&6
26398 else
26399 ac_check_lib_save_LIBS=$LIBS
26400 LIBS="-lexpat $LIBS"
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h. */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407
26408 /* Override any GCC internal prototype to avoid an error.
26409 Use char because int might match the return type of a GCC
26410 builtin and then its argument prototype would still apply. */
26411 #ifdef __cplusplus
26412 extern "C"
26413 #endif
26414 char XML_ParserCreate ();
26415 int
26416 main ()
26417 {
26418 return XML_ParserCreate ();
26419 ;
26420 return 0;
26421 }
26422 _ACEOF
26423 rm -f conftest.$ac_objext conftest$ac_exeext
26424 if { (ac_try="$ac_link"
26425 case "(($ac_try" in
26426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26427 *) ac_try_echo=$ac_try;;
26428 esac
26429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26430 (eval "$ac_link") 2>conftest.er1
26431 ac_status=$?
26432 grep -v '^ *+' conftest.er1 >conftest.err
26433 rm -f conftest.er1
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } && {
26437 test -z "$ac_c_werror_flag" ||
26438 test ! -s conftest.err
26439 } && test -s conftest$ac_exeext &&
26440 $as_test_x conftest$ac_exeext; then
26441 ac_cv_lib_expat_XML_ParserCreate=yes
26442 else
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26445
26446 ac_cv_lib_expat_XML_ParserCreate=no
26447 fi
26448
26449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26450 conftest$ac_exeext conftest.$ac_ext
26451 LIBS=$ac_check_lib_save_LIBS
26452 fi
26453 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26454 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26455 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26456 EXPAT_LINK=" -lexpat"
26457 fi
26458
26459 fi
26460 fi
26461 if test "x$EXPAT_LINK" = "x" ; then
26462 if test "$wxUSE_EXPAT" = "sys" ; then
26463 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26464 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26465 { (exit 1); exit 1; }; }
26466 else
26467 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26468 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26469 wxUSE_EXPAT=builtin
26470 fi
26471 else
26472 wxUSE_EXPAT=sys
26473 fi
26474 fi
26475 if test "$wxUSE_EXPAT" = "builtin" ; then
26476 subdirs="$subdirs src/expat"
26477
26478 fi
26479 fi
26480
26481
26482
26483 if test "$wxUSE_LIBMSPACK" != "no"; then
26484 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26485 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26486 if test "${ac_cv_header_mspack_h+set}" = set; then
26487 echo $ECHO_N "(cached) $ECHO_C" >&6
26488 else
26489 cat >conftest.$ac_ext <<_ACEOF
26490 /* confdefs.h. */
26491 _ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26495
26496
26497 #include <mspack.h>
26498 _ACEOF
26499 rm -f conftest.$ac_objext
26500 if { (ac_try="$ac_compile"
26501 case "(($ac_try" in
26502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26503 *) ac_try_echo=$ac_try;;
26504 esac
26505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26506 (eval "$ac_compile") 2>conftest.er1
26507 ac_status=$?
26508 grep -v '^ *+' conftest.er1 >conftest.err
26509 rm -f conftest.er1
26510 cat conftest.err >&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } && {
26513 test -z "$ac_c_werror_flag" ||
26514 test ! -s conftest.err
26515 } && test -s conftest.$ac_objext; then
26516 ac_cv_header_mspack_h=yes
26517 else
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26520
26521 ac_cv_header_mspack_h=no
26522 fi
26523
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26525 fi
26526 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26527 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26528 if test $ac_cv_header_mspack_h = yes; then
26529 found_mspack_h=1
26530 fi
26531
26532
26533 if test "x$found_mspack_h" = "x1"; then
26534 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26535 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26536 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26537 echo $ECHO_N "(cached) $ECHO_C" >&6
26538 else
26539 ac_check_lib_save_LIBS=$LIBS
26540 LIBS="-lmspack $LIBS"
26541 cat >conftest.$ac_ext <<_ACEOF
26542 /* confdefs.h. */
26543 _ACEOF
26544 cat confdefs.h >>conftest.$ac_ext
26545 cat >>conftest.$ac_ext <<_ACEOF
26546 /* end confdefs.h. */
26547
26548 /* Override any GCC internal prototype to avoid an error.
26549 Use char because int might match the return type of a GCC
26550 builtin and then its argument prototype would still apply. */
26551 #ifdef __cplusplus
26552 extern "C"
26553 #endif
26554 char mspack_create_chm_decompressor ();
26555 int
26556 main ()
26557 {
26558 return mspack_create_chm_decompressor ();
26559 ;
26560 return 0;
26561 }
26562 _ACEOF
26563 rm -f conftest.$ac_objext conftest$ac_exeext
26564 if { (ac_try="$ac_link"
26565 case "(($ac_try" in
26566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26567 *) ac_try_echo=$ac_try;;
26568 esac
26569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26570 (eval "$ac_link") 2>conftest.er1
26571 ac_status=$?
26572 grep -v '^ *+' conftest.er1 >conftest.err
26573 rm -f conftest.er1
26574 cat conftest.err >&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } && {
26577 test -z "$ac_c_werror_flag" ||
26578 test ! -s conftest.err
26579 } && test -s conftest$ac_exeext &&
26580 $as_test_x conftest$ac_exeext; then
26581 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26582 else
26583 echo "$as_me: failed program was:" >&5
26584 sed 's/^/| /' conftest.$ac_ext >&5
26585
26586 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26587 fi
26588
26589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26590 conftest$ac_exeext conftest.$ac_ext
26591 LIBS=$ac_check_lib_save_LIBS
26592 fi
26593 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26594 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26595 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26596 MSPACK_LINK=" -lmspack"
26597 fi
26598
26599 fi
26600 if test "x$MSPACK_LINK" = "x" ; then
26601 wxUSE_LIBMSPACK=no
26602 fi
26603 fi
26604
26605 if test "$wxUSE_LIBMSPACK" != "no"; then
26606 cat >>confdefs.h <<\_ACEOF
26607 #define wxUSE_LIBMSPACK 1
26608 _ACEOF
26609
26610 fi
26611
26612
26613
26614 AFMINSTALL=
26615 WIN32INSTALL=
26616
26617 TOOLKIT=
26618 TOOLKIT_INCLUDE=
26619 WIDGET_SET=
26620
26621 if test "$USE_WIN32" = 1 ; then
26622 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26623 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26624 if test "${ac_cv_header_w32api_h+set}" = set; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 else
26627 cat >conftest.$ac_ext <<_ACEOF
26628 /* confdefs.h. */
26629 _ACEOF
26630 cat confdefs.h >>conftest.$ac_ext
26631 cat >>conftest.$ac_ext <<_ACEOF
26632 /* end confdefs.h. */
26633
26634
26635 #include <w32api.h>
26636 _ACEOF
26637 rm -f conftest.$ac_objext
26638 if { (ac_try="$ac_compile"
26639 case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26641 *) ac_try_echo=$ac_try;;
26642 esac
26643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_compile") 2>conftest.er1
26645 ac_status=$?
26646 grep -v '^ *+' conftest.er1 >conftest.err
26647 rm -f conftest.er1
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } && {
26651 test -z "$ac_c_werror_flag" ||
26652 test ! -s conftest.err
26653 } && test -s conftest.$ac_objext; then
26654 ac_cv_header_w32api_h=yes
26655 else
26656 echo "$as_me: failed program was:" >&5
26657 sed 's/^/| /' conftest.$ac_ext >&5
26658
26659 ac_cv_header_w32api_h=no
26660 fi
26661
26662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26663 fi
26664 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26665 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26666
26667
26668 { echo "$as_me:$LINENO: checking for windows.h" >&5
26669 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26670 if test "${ac_cv_header_windows_h+set}" = set; then
26671 echo $ECHO_N "(cached) $ECHO_C" >&6
26672 else
26673 cat >conftest.$ac_ext <<_ACEOF
26674 /* confdefs.h. */
26675 _ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26679
26680
26681 #include <windows.h>
26682 _ACEOF
26683 rm -f conftest.$ac_objext
26684 if { (ac_try="$ac_compile"
26685 case "(($ac_try" in
26686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687 *) ac_try_echo=$ac_try;;
26688 esac
26689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26690 (eval "$ac_compile") 2>conftest.er1
26691 ac_status=$?
26692 grep -v '^ *+' conftest.er1 >conftest.err
26693 rm -f conftest.er1
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } && {
26697 test -z "$ac_c_werror_flag" ||
26698 test ! -s conftest.err
26699 } && test -s conftest.$ac_objext; then
26700 ac_cv_header_windows_h=yes
26701 else
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26704
26705 ac_cv_header_windows_h=no
26706 fi
26707
26708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709 fi
26710 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26711 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26712 if test $ac_cv_header_windows_h = yes; then
26713 :
26714 else
26715
26716 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26717 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26718 { (exit 1); exit 1; }; }
26719
26720 fi
26721
26722
26723
26724 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26725
26726 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26727 LIBS="$LIBS -loleacc"
26728 fi
26729
26730 case "${host}" in
26731 *-*-cygwin* )
26732 LIBS="$LIBS -lkernel32 -luser32"
26733 esac
26734
26735 if test "$wxUSE_ODBC" = "sys" ; then
26736 wxUSE_ODBC = "yes"
26737 fi
26738 if test "$wxUSE_ODBC" = "yes" ; then
26739 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26740 cat >>confdefs.h <<\_ACEOF
26741 #define wxUSE_ODBC 1
26742 _ACEOF
26743
26744 fi
26745
26746 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26747 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26748
26749 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26750
26751 WIN32INSTALL=win32install
26752
26753 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26754 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26755 if test "${ac_cv_header_pbt_h+set}" = set; then
26756 echo $ECHO_N "(cached) $ECHO_C" >&6
26757 else
26758 cat >conftest.$ac_ext <<_ACEOF
26759 /* confdefs.h. */
26760 _ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26764
26765
26766 #include <pbt.h>
26767 _ACEOF
26768 rm -f conftest.$ac_objext
26769 if { (ac_try="$ac_compile"
26770 case "(($ac_try" in
26771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26772 *) ac_try_echo=$ac_try;;
26773 esac
26774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26775 (eval "$ac_compile") 2>conftest.er1
26776 ac_status=$?
26777 grep -v '^ *+' conftest.er1 >conftest.err
26778 rm -f conftest.er1
26779 cat conftest.err >&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } && {
26782 test -z "$ac_c_werror_flag" ||
26783 test ! -s conftest.err
26784 } && test -s conftest.$ac_objext; then
26785 ac_cv_header_pbt_h=yes
26786 else
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26789
26790 ac_cv_header_pbt_h=no
26791 fi
26792
26793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26794 fi
26795 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26796 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26797 if test $ac_cv_header_pbt_h = yes; then
26798 :
26799 else
26800 cat >>confdefs.h <<\_ACEOF
26801 #define NEED_PBT_H 1
26802 _ACEOF
26803
26804 fi
26805
26806
26807 fi
26808
26809 if test "$wxUSE_GUI" = "yes"; then
26810 USE_GUI=1
26811
26812 GUI_TK_LIBRARY=
26813
26814 WXGTK12=
26815 WXGTK127=
26816 WXGTK20=
26817 WXGPE=
26818
26819 if test "$wxUSE_COCOA" = 1 ; then
26820 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26821 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26822 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26823 wxUSE_PRINTING_ARCHITECTURE=no
26824 fi
26825 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26826 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26827 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26828 wxUSE_DRAG_AND_DROP=no
26829 fi
26830 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26831 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26832 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26833 wxUSE_DRAGIMAGE=no
26834 fi
26835 fi
26836
26837 if test "$wxUSE_MSW" = 1 ; then
26838 TOOLKIT=MSW
26839 GUIDIST=MSW_DIST
26840
26841 case "${host}" in
26842 *-*-mingw32* )
26843 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26844 esac
26845 fi
26846
26847 if test "$wxUSE_GTK" = 1; then
26848 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26849 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26850
26851 gtk_version_cached=1
26852 if test "${wx_cv_lib_gtk+set}" = set; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 else
26855
26856 gtk_version_cached=0
26857 { echo "$as_me:$LINENO: result: " >&5
26858 echo "${ECHO_T}" >&6; }
26859
26860 GTK_MODULES=
26861 if test "$wxUSE_THREADS" = "yes"; then
26862 GTK_MODULES=gthread
26863 fi
26864
26865 wx_cv_lib_gtk=
26866 if test "x$wxGTK_VERSION" != "x1"
26867 then
26868 case "${host}" in
26869 *-*-solaris2* )
26870 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26871 enable_gtktest=no
26872 fi
26873 esac
26874
26875 # Check whether --enable-gtktest was given.
26876 if test "${enable_gtktest+set}" = set; then
26877 enableval=$enable_gtktest;
26878 else
26879 enable_gtktest=yes
26880 fi
26881
26882
26883 pkg_config_args=gtk+-2.0
26884 for module in . $GTK_MODULES
26885 do
26886 case "$module" in
26887 gthread)
26888 pkg_config_args="$pkg_config_args gthread-2.0"
26889 ;;
26890 esac
26891 done
26892
26893 no_gtk=""
26894
26895 # Extract the first word of "pkg-config", so it can be a program name with args.
26896 set dummy pkg-config; ac_word=$2
26897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26899 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26900 echo $ECHO_N "(cached) $ECHO_C" >&6
26901 else
26902 case $PKG_CONFIG in
26903 [\\/]* | ?:[\\/]*)
26904 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26905 ;;
26906 *)
26907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26908 for as_dir in $PATH
26909 do
26910 IFS=$as_save_IFS
26911 test -z "$as_dir" && as_dir=.
26912 for ac_exec_ext in '' $ac_executable_extensions; do
26913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26914 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26916 break 2
26917 fi
26918 done
26919 done
26920 IFS=$as_save_IFS
26921
26922 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26923 ;;
26924 esac
26925 fi
26926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26927 if test -n "$PKG_CONFIG"; then
26928 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26929 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26930 else
26931 { echo "$as_me:$LINENO: result: no" >&5
26932 echo "${ECHO_T}no" >&6; }
26933 fi
26934
26935
26936
26937 if test x$PKG_CONFIG != xno ; then
26938 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26939 :
26940 else
26941 echo "*** pkg-config too old; version 0.7 or better required."
26942 no_gtk=yes
26943 PKG_CONFIG=no
26944 fi
26945 else
26946 no_gtk=yes
26947 fi
26948
26949 min_gtk_version=2.0.0
26950 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26951 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
26952
26953 if test x$PKG_CONFIG != xno ; then
26954 ## don't try to run the test against uninstalled libtool libs
26955 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26956 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26957 enable_gtktest=no
26958 fi
26959
26960 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26961 :
26962 else
26963 no_gtk=yes
26964 fi
26965 fi
26966
26967 if test x"$no_gtk" = x ; then
26968 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26969 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26970 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26972 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26974 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26976 if test "x$enable_gtktest" = "xyes" ; then
26977 ac_save_CFLAGS="$CFLAGS"
26978 ac_save_LIBS="$LIBS"
26979 CFLAGS="$CFLAGS $GTK_CFLAGS"
26980 LIBS="$GTK_LIBS $LIBS"
26981 rm -f conf.gtktest
26982 if test "$cross_compiling" = yes; then
26983 echo $ac_n "cross compiling; assumed OK... $ac_c"
26984 else
26985 cat >conftest.$ac_ext <<_ACEOF
26986 /* confdefs.h. */
26987 _ACEOF
26988 cat confdefs.h >>conftest.$ac_ext
26989 cat >>conftest.$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991
26992 #include <gtk/gtk.h>
26993 #include <stdio.h>
26994 #include <stdlib.h>
26995
26996 int
26997 main ()
26998 {
26999 int major, minor, micro;
27000 char *tmp_version;
27001
27002 system ("touch conf.gtktest");
27003
27004 /* HP/UX 9 (%@#!) writes to sscanf strings */
27005 tmp_version = g_strdup("$min_gtk_version");
27006 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27007 printf("%s, bad version string\n", "$min_gtk_version");
27008 exit(1);
27009 }
27010
27011 if ((gtk_major_version != $gtk_config_major_version) ||
27012 (gtk_minor_version != $gtk_config_minor_version) ||
27013 (gtk_micro_version != $gtk_config_micro_version))
27014 {
27015 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27016 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27017 gtk_major_version, gtk_minor_version, gtk_micro_version);
27018 printf ("*** was found! If pkg-config was correct, then it is best\n");
27019 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27020 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27021 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27022 printf("*** required on your system.\n");
27023 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27024 printf("*** to point to the correct configuration files\n");
27025 }
27026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27027 (gtk_minor_version != GTK_MINOR_VERSION) ||
27028 (gtk_micro_version != GTK_MICRO_VERSION))
27029 {
27030 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27032 printf("*** library (version %d.%d.%d)\n",
27033 gtk_major_version, gtk_minor_version, gtk_micro_version);
27034 }
27035 else
27036 {
27037 if ((gtk_major_version > major) ||
27038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27040 {
27041 return 0;
27042 }
27043 else
27044 {
27045 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27046 gtk_major_version, gtk_minor_version, gtk_micro_version);
27047 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27048 major, minor, micro);
27049 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27050 printf("***\n");
27051 printf("*** If you have already installed a sufficiently new version, this error\n");
27052 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27053 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27054 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27055 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27056 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27057 printf("*** so that the correct libraries are found at run-time))\n");
27058 }
27059 }
27060 return 1;
27061 }
27062
27063 _ACEOF
27064 rm -f conftest$ac_exeext
27065 if { (ac_try="$ac_link"
27066 case "(($ac_try" in
27067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27068 *) ac_try_echo=$ac_try;;
27069 esac
27070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27071 (eval "$ac_link") 2>&5
27072 ac_status=$?
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27075 { (case "(($ac_try" in
27076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27078 esac
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_try") 2>&5
27081 ac_status=$?
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; }; then
27084 :
27085 else
27086 echo "$as_me: program exited with status $ac_status" >&5
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.$ac_ext >&5
27089
27090 ( exit $ac_status )
27091 no_gtk=yes
27092 fi
27093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27094 fi
27095
27096
27097 CFLAGS="$ac_save_CFLAGS"
27098 LIBS="$ac_save_LIBS"
27099 fi
27100 fi
27101 if test "x$no_gtk" = x ; then
27102 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27103 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27104 wx_cv_lib_gtk=2.0
27105 else
27106 { echo "$as_me:$LINENO: result: no" >&5
27107 echo "${ECHO_T}no" >&6; }
27108 if test "$PKG_CONFIG" = "no" ; then
27109 echo "*** A new enough version of pkg-config was not found."
27110 echo "*** See http://pkgconfig.sourceforge.net"
27111 else
27112 if test -f conf.gtktest ; then
27113 :
27114 else
27115 echo "*** Could not run GTK+ test program, checking why..."
27116 ac_save_CFLAGS="$CFLAGS"
27117 ac_save_LIBS="$LIBS"
27118 CFLAGS="$CFLAGS $GTK_CFLAGS"
27119 LIBS="$LIBS $GTK_LIBS"
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126
27127 #include <gtk/gtk.h>
27128 #include <stdio.h>
27129
27130 int
27131 main ()
27132 {
27133 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27134 ;
27135 return 0;
27136 }
27137 _ACEOF
27138 rm -f conftest.$ac_objext conftest$ac_exeext
27139 if { (ac_try="$ac_link"
27140 case "(($ac_try" in
27141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27142 *) ac_try_echo=$ac_try;;
27143 esac
27144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27145 (eval "$ac_link") 2>conftest.er1
27146 ac_status=$?
27147 grep -v '^ *+' conftest.er1 >conftest.err
27148 rm -f conftest.er1
27149 cat conftest.err >&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); } && {
27152 test -z "$ac_c_werror_flag" ||
27153 test ! -s conftest.err
27154 } && test -s conftest$ac_exeext &&
27155 $as_test_x conftest$ac_exeext; then
27156 echo "*** The test program compiled, but did not run. This usually means"
27157 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27158 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27161 echo "*** is required on your system"
27162 echo "***"
27163 echo "*** If you have an old version installed, it is best to remove it, although"
27164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27165 else
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27168
27169 echo "*** The test program failed to compile or link. See the file config.log for the"
27170 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27171 fi
27172
27173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27174 conftest$ac_exeext conftest.$ac_ext
27175 CFLAGS="$ac_save_CFLAGS"
27176 LIBS="$ac_save_LIBS"
27177 fi
27178 fi
27179 GTK_CFLAGS=""
27180 GTK_LIBS=""
27181 :
27182 fi
27183
27184
27185 rm -f conf.gtktest
27186
27187
27188 case "${host}" in
27189 *-*-solaris2* )
27190 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27191 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27192 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27193 fi
27194 if test "$wxUSE_SHARED" != "yes"; then
27195 GTK_LIBS="$GTK_LIBS -lX11"
27196 fi
27197 esac
27198 fi
27199
27200 if test -z "$wx_cv_lib_gtk"; then
27201 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27202
27203 # Check whether --with-gtk-prefix was given.
27204 if test "${with_gtk_prefix+set}" = set; then
27205 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27206 else
27207 gtk_config_prefix=""
27208 fi
27209
27210
27211 # Check whether --with-gtk-exec-prefix was given.
27212 if test "${with_gtk_exec_prefix+set}" = set; then
27213 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27214 else
27215 gtk_config_exec_prefix=""
27216 fi
27217
27218 # Check whether --enable-gtktest was given.
27219 if test "${enable_gtktest+set}" = set; then
27220 enableval=$enable_gtktest;
27221 else
27222 enable_gtktest=yes
27223 fi
27224
27225
27226 for module in . $GTK_MODULES
27227 do
27228 case "$module" in
27229 gthread)
27230 gtk_config_args="$gtk_config_args gthread"
27231 ;;
27232 esac
27233 done
27234
27235 if test x$gtk_config_exec_prefix != x ; then
27236 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27237 if test x${GTK_CONFIG+set} != xset ; then
27238 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27239 fi
27240 fi
27241 if test x$gtk_config_prefix != x ; then
27242 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27243 if test x${GTK_CONFIG+set} != xset ; then
27244 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27245 fi
27246 fi
27247
27248 # Extract the first word of "gtk-config", so it can be a program name with args.
27249 set dummy gtk-config; ac_word=$2
27250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27252 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27253 echo $ECHO_N "(cached) $ECHO_C" >&6
27254 else
27255 case $GTK_CONFIG in
27256 [\\/]* | ?:[\\/]*)
27257 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27258 ;;
27259 *)
27260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27261 for as_dir in $PATH
27262 do
27263 IFS=$as_save_IFS
27264 test -z "$as_dir" && as_dir=.
27265 for ac_exec_ext in '' $ac_executable_extensions; do
27266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27267 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27269 break 2
27270 fi
27271 done
27272 done
27273 IFS=$as_save_IFS
27274
27275 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27276 ;;
27277 esac
27278 fi
27279 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27280 if test -n "$GTK_CONFIG"; then
27281 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27282 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27283 else
27284 { echo "$as_me:$LINENO: result: no" >&5
27285 echo "${ECHO_T}no" >&6; }
27286 fi
27287
27288
27289 min_gtk_version=1.2.7
27290 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27291 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27292 no_gtk=""
27293 if test "$GTK_CONFIG" = "no" ; then
27294 no_gtk=yes
27295 else
27296 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27297 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27298 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27300 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27302 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27304 if test "x$enable_gtktest" = "xyes" ; then
27305 ac_save_CFLAGS="$CFLAGS"
27306 ac_save_LIBS="$LIBS"
27307 CFLAGS="$CFLAGS $GTK_CFLAGS"
27308 LIBS="$GTK_LIBS $LIBS"
27309 rm -f conf.gtktest
27310 if test "$cross_compiling" = yes; then
27311 echo $ac_n "cross compiling; assumed OK... $ac_c"
27312 else
27313 cat >conftest.$ac_ext <<_ACEOF
27314 /* confdefs.h. */
27315 _ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319
27320 #include <gtk/gtk.h>
27321 #include <stdio.h>
27322 #include <stdlib.h>
27323
27324 int
27325 main ()
27326 {
27327 int major, minor, micro;
27328 char *tmp_version;
27329
27330 system ("touch conf.gtktest");
27331
27332 /* HP/UX 9 (%@#!) writes to sscanf strings */
27333 tmp_version = g_strdup("$min_gtk_version");
27334 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27335 printf("%s, bad version string\n", "$min_gtk_version");
27336 exit(1);
27337 }
27338
27339 if ((gtk_major_version != $gtk_config_major_version) ||
27340 (gtk_minor_version != $gtk_config_minor_version) ||
27341 (gtk_micro_version != $gtk_config_micro_version))
27342 {
27343 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27344 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27345 gtk_major_version, gtk_minor_version, gtk_micro_version);
27346 printf ("*** was found! If gtk-config was correct, then it is best\n");
27347 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27348 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27349 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27350 printf("*** required on your system.\n");
27351 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27352 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27353 printf("*** before re-running configure\n");
27354 }
27355 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27356 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27357 (gtk_minor_version != GTK_MINOR_VERSION) ||
27358 (gtk_micro_version != GTK_MICRO_VERSION))
27359 {
27360 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27361 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27362 printf("*** library (version %d.%d.%d)\n",
27363 gtk_major_version, gtk_minor_version, gtk_micro_version);
27364 }
27365 #endif /* defined (GTK_MAJOR_VERSION) ... */
27366 else
27367 {
27368 if ((gtk_major_version > major) ||
27369 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27370 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27371 {
27372 return 0;
27373 }
27374 else
27375 {
27376 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27377 gtk_major_version, gtk_minor_version, gtk_micro_version);
27378 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27379 major, minor, micro);
27380 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27381 printf("***\n");
27382 printf("*** If you have already installed a sufficiently new version, this error\n");
27383 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27384 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27385 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27386 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27387 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27388 printf("*** so that the correct libraries are found at run-time))\n");
27389 }
27390 }
27391 return 1;
27392 }
27393
27394 _ACEOF
27395 rm -f conftest$ac_exeext
27396 if { (ac_try="$ac_link"
27397 case "(($ac_try" in
27398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27399 *) ac_try_echo=$ac_try;;
27400 esac
27401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27402 (eval "$ac_link") 2>&5
27403 ac_status=$?
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27406 { (case "(($ac_try" in
27407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27408 *) ac_try_echo=$ac_try;;
27409 esac
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_try") 2>&5
27412 ac_status=$?
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27415 :
27416 else
27417 echo "$as_me: program exited with status $ac_status" >&5
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27420
27421 ( exit $ac_status )
27422 no_gtk=yes
27423 fi
27424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27425 fi
27426
27427
27428 CFLAGS="$ac_save_CFLAGS"
27429 LIBS="$ac_save_LIBS"
27430 fi
27431 fi
27432 if test "x$no_gtk" = x ; then
27433 { echo "$as_me:$LINENO: result: yes" >&5
27434 echo "${ECHO_T}yes" >&6; }
27435 wx_cv_lib_gtk=1.2.7
27436 else
27437 { echo "$as_me:$LINENO: result: no" >&5
27438 echo "${ECHO_T}no" >&6; }
27439 if test "$GTK_CONFIG" = "no" ; then
27440 echo "*** The gtk-config script installed by GTK could not be found"
27441 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27442 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27443 echo "*** full path to gtk-config."
27444 else
27445 if test -f conf.gtktest ; then
27446 :
27447 else
27448 echo "*** Could not run GTK test program, checking why..."
27449 CFLAGS="$CFLAGS $GTK_CFLAGS"
27450 LIBS="$LIBS $GTK_LIBS"
27451 cat >conftest.$ac_ext <<_ACEOF
27452 /* confdefs.h. */
27453 _ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457
27458 #include <gtk/gtk.h>
27459 #include <stdio.h>
27460
27461 int
27462 main ()
27463 {
27464 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27465 ;
27466 return 0;
27467 }
27468 _ACEOF
27469 rm -f conftest.$ac_objext conftest$ac_exeext
27470 if { (ac_try="$ac_link"
27471 case "(($ac_try" in
27472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27473 *) ac_try_echo=$ac_try;;
27474 esac
27475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27476 (eval "$ac_link") 2>conftest.er1
27477 ac_status=$?
27478 grep -v '^ *+' conftest.er1 >conftest.err
27479 rm -f conftest.er1
27480 cat conftest.err >&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); } && {
27483 test -z "$ac_c_werror_flag" ||
27484 test ! -s conftest.err
27485 } && test -s conftest$ac_exeext &&
27486 $as_test_x conftest$ac_exeext; then
27487 echo "*** The test program compiled, but did not run. This usually means"
27488 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27489 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27490 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27491 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27492 echo "*** is required on your system"
27493 echo "***"
27494 echo "*** If you have an old version installed, it is best to remove it, although"
27495 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27496 echo "***"
27497 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27498 echo "*** came with the system with the command"
27499 echo "***"
27500 echo "*** rpm --erase --nodeps gtk gtk-devel"
27501 else
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.$ac_ext >&5
27504
27505 echo "*** The test program failed to compile or link. See the file config.log for the"
27506 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27507 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27508 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27509 fi
27510
27511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27512 conftest$ac_exeext conftest.$ac_ext
27513 CFLAGS="$ac_save_CFLAGS"
27514 LIBS="$ac_save_LIBS"
27515 fi
27516 fi
27517 GTK_CFLAGS=""
27518 GTK_LIBS=""
27519 :
27520 fi
27521
27522
27523 rm -f conf.gtktest
27524
27525
27526 if test -z "$wx_cv_lib_gtk"; then
27527
27528 # Check whether --with-gtk-prefix was given.
27529 if test "${with_gtk_prefix+set}" = set; then
27530 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27531 else
27532 gtk_config_prefix=""
27533 fi
27534
27535
27536 # Check whether --with-gtk-exec-prefix was given.
27537 if test "${with_gtk_exec_prefix+set}" = set; then
27538 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27539 else
27540 gtk_config_exec_prefix=""
27541 fi
27542
27543 # Check whether --enable-gtktest was given.
27544 if test "${enable_gtktest+set}" = set; then
27545 enableval=$enable_gtktest;
27546 else
27547 enable_gtktest=yes
27548 fi
27549
27550
27551 for module in . $GTK_MODULES
27552 do
27553 case "$module" in
27554 gthread)
27555 gtk_config_args="$gtk_config_args gthread"
27556 ;;
27557 esac
27558 done
27559
27560 if test x$gtk_config_exec_prefix != x ; then
27561 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27562 if test x${GTK_CONFIG+set} != xset ; then
27563 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27564 fi
27565 fi
27566 if test x$gtk_config_prefix != x ; then
27567 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27568 if test x${GTK_CONFIG+set} != xset ; then
27569 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27570 fi
27571 fi
27572
27573 # Extract the first word of "gtk-config", so it can be a program name with args.
27574 set dummy gtk-config; ac_word=$2
27575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27577 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27578 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 else
27580 case $GTK_CONFIG in
27581 [\\/]* | ?:[\\/]*)
27582 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27583 ;;
27584 *)
27585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27586 for as_dir in $PATH
27587 do
27588 IFS=$as_save_IFS
27589 test -z "$as_dir" && as_dir=.
27590 for ac_exec_ext in '' $ac_executable_extensions; do
27591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27592 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27594 break 2
27595 fi
27596 done
27597 done
27598 IFS=$as_save_IFS
27599
27600 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27601 ;;
27602 esac
27603 fi
27604 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27605 if test -n "$GTK_CONFIG"; then
27606 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27607 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27608 else
27609 { echo "$as_me:$LINENO: result: no" >&5
27610 echo "${ECHO_T}no" >&6; }
27611 fi
27612
27613
27614 min_gtk_version=1.2.3
27615 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27616 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27617 no_gtk=""
27618 if test "$GTK_CONFIG" = "no" ; then
27619 no_gtk=yes
27620 else
27621 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27622 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27623 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27624 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27625 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27626 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27627 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27628 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27629 if test "x$enable_gtktest" = "xyes" ; then
27630 ac_save_CFLAGS="$CFLAGS"
27631 ac_save_LIBS="$LIBS"
27632 CFLAGS="$CFLAGS $GTK_CFLAGS"
27633 LIBS="$GTK_LIBS $LIBS"
27634 rm -f conf.gtktest
27635 if test "$cross_compiling" = yes; then
27636 echo $ac_n "cross compiling; assumed OK... $ac_c"
27637 else
27638 cat >conftest.$ac_ext <<_ACEOF
27639 /* confdefs.h. */
27640 _ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27644
27645 #include <gtk/gtk.h>
27646 #include <stdio.h>
27647 #include <stdlib.h>
27648
27649 int
27650 main ()
27651 {
27652 int major, minor, micro;
27653 char *tmp_version;
27654
27655 system ("touch conf.gtktest");
27656
27657 /* HP/UX 9 (%@#!) writes to sscanf strings */
27658 tmp_version = g_strdup("$min_gtk_version");
27659 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27660 printf("%s, bad version string\n", "$min_gtk_version");
27661 exit(1);
27662 }
27663
27664 if ((gtk_major_version != $gtk_config_major_version) ||
27665 (gtk_minor_version != $gtk_config_minor_version) ||
27666 (gtk_micro_version != $gtk_config_micro_version))
27667 {
27668 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27669 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27670 gtk_major_version, gtk_minor_version, gtk_micro_version);
27671 printf ("*** was found! If gtk-config was correct, then it is best\n");
27672 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27673 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27674 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27675 printf("*** required on your system.\n");
27676 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27677 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27678 printf("*** before re-running configure\n");
27679 }
27680 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27681 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27682 (gtk_minor_version != GTK_MINOR_VERSION) ||
27683 (gtk_micro_version != GTK_MICRO_VERSION))
27684 {
27685 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27686 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27687 printf("*** library (version %d.%d.%d)\n",
27688 gtk_major_version, gtk_minor_version, gtk_micro_version);
27689 }
27690 #endif /* defined (GTK_MAJOR_VERSION) ... */
27691 else
27692 {
27693 if ((gtk_major_version > major) ||
27694 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27695 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27696 {
27697 return 0;
27698 }
27699 else
27700 {
27701 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27702 gtk_major_version, gtk_minor_version, gtk_micro_version);
27703 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27704 major, minor, micro);
27705 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27706 printf("***\n");
27707 printf("*** If you have already installed a sufficiently new version, this error\n");
27708 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27709 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27710 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27711 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27712 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27713 printf("*** so that the correct libraries are found at run-time))\n");
27714 }
27715 }
27716 return 1;
27717 }
27718
27719 _ACEOF
27720 rm -f conftest$ac_exeext
27721 if { (ac_try="$ac_link"
27722 case "(($ac_try" in
27723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27724 *) ac_try_echo=$ac_try;;
27725 esac
27726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_link") 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27731 { (case "(($ac_try" in
27732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27733 *) ac_try_echo=$ac_try;;
27734 esac
27735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27736 (eval "$ac_try") 2>&5
27737 ac_status=$?
27738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27739 (exit $ac_status); }; }; then
27740 :
27741 else
27742 echo "$as_me: program exited with status $ac_status" >&5
27743 echo "$as_me: failed program was:" >&5
27744 sed 's/^/| /' conftest.$ac_ext >&5
27745
27746 ( exit $ac_status )
27747 no_gtk=yes
27748 fi
27749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27750 fi
27751
27752
27753 CFLAGS="$ac_save_CFLAGS"
27754 LIBS="$ac_save_LIBS"
27755 fi
27756 fi
27757 if test "x$no_gtk" = x ; then
27758 { echo "$as_me:$LINENO: result: yes" >&5
27759 echo "${ECHO_T}yes" >&6; }
27760 wx_cv_lib_gtk=1.2.3
27761 else
27762 { echo "$as_me:$LINENO: result: no" >&5
27763 echo "${ECHO_T}no" >&6; }
27764 if test "$GTK_CONFIG" = "no" ; then
27765 echo "*** The gtk-config script installed by GTK could not be found"
27766 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27767 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27768 echo "*** full path to gtk-config."
27769 else
27770 if test -f conf.gtktest ; then
27771 :
27772 else
27773 echo "*** Could not run GTK test program, checking why..."
27774 CFLAGS="$CFLAGS $GTK_CFLAGS"
27775 LIBS="$LIBS $GTK_LIBS"
27776 cat >conftest.$ac_ext <<_ACEOF
27777 /* confdefs.h. */
27778 _ACEOF
27779 cat confdefs.h >>conftest.$ac_ext
27780 cat >>conftest.$ac_ext <<_ACEOF
27781 /* end confdefs.h. */
27782
27783 #include <gtk/gtk.h>
27784 #include <stdio.h>
27785
27786 int
27787 main ()
27788 {
27789 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27790 ;
27791 return 0;
27792 }
27793 _ACEOF
27794 rm -f conftest.$ac_objext conftest$ac_exeext
27795 if { (ac_try="$ac_link"
27796 case "(($ac_try" in
27797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27798 *) ac_try_echo=$ac_try;;
27799 esac
27800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27801 (eval "$ac_link") 2>conftest.er1
27802 ac_status=$?
27803 grep -v '^ *+' conftest.er1 >conftest.err
27804 rm -f conftest.er1
27805 cat conftest.err >&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); } && {
27808 test -z "$ac_c_werror_flag" ||
27809 test ! -s conftest.err
27810 } && test -s conftest$ac_exeext &&
27811 $as_test_x conftest$ac_exeext; then
27812 echo "*** The test program compiled, but did not run. This usually means"
27813 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27814 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27815 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27816 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27817 echo "*** is required on your system"
27818 echo "***"
27819 echo "*** If you have an old version installed, it is best to remove it, although"
27820 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27821 echo "***"
27822 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27823 echo "*** came with the system with the command"
27824 echo "***"
27825 echo "*** rpm --erase --nodeps gtk gtk-devel"
27826 else
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27829
27830 echo "*** The test program failed to compile or link. See the file config.log for the"
27831 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27832 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27833 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27834 fi
27835
27836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27837 conftest$ac_exeext conftest.$ac_ext
27838 CFLAGS="$ac_save_CFLAGS"
27839 LIBS="$ac_save_LIBS"
27840 fi
27841 fi
27842 GTK_CFLAGS=""
27843 GTK_LIBS=""
27844 :
27845 fi
27846
27847
27848 rm -f conf.gtktest
27849
27850 fi
27851 fi
27852 fi
27853
27854 if test -z "$wx_cv_lib_gtk"; then
27855 wx_cv_lib_gtk=none
27856 else
27857 wx_cv_cflags_gtk=$GTK_CFLAGS
27858 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27859 fi
27860
27861
27862 fi
27863
27864
27865 if test "$gtk_version_cached" = 1; then
27866 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27867 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27868 fi
27869
27870 case "$wx_cv_lib_gtk" in
27871 2.0) WXGTK20=1
27872 TOOLKIT_VERSION=2
27873 ;;
27874 1.2.7) WXGTK127=1
27875 WXGTK12=1
27876 ;;
27877 1.2.3) WXGTK12=1
27878 ;;
27879 *) { { echo "$as_me:$LINENO: error:
27880 The development files for GTK+ were not found. For GTK+ 2, please
27881 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27882 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27883 and that the version is 1.2.3 or above. Also check that the
27884 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27885 --libs' are in the LD_LIBRARY_PATH or equivalent.
27886 " >&5
27887 echo "$as_me: error:
27888 The development files for GTK+ were not found. For GTK+ 2, please
27889 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27890 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27891 and that the version is 1.2.3 or above. Also check that the
27892 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27893 --libs' are in the LD_LIBRARY_PATH or equivalent.
27894 " >&2;}
27895 { (exit 1); exit 1; }; }
27896 ;;
27897 esac
27898
27899 if test "$WXGTK20" = 1; then
27900 save_CFLAGS="$CFLAGS"
27901 save_LIBS="$LIBS"
27902 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27903 LIBS="$LIBS $wx_cv_libs_gtk"
27904
27905 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27906 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27907 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27908 echo $ECHO_N "(cached) $ECHO_C" >&6
27909 else
27910 cat >conftest.$ac_ext <<_ACEOF
27911 /* confdefs.h. */
27912 _ACEOF
27913 cat confdefs.h >>conftest.$ac_ext
27914 cat >>conftest.$ac_ext <<_ACEOF
27915 /* end confdefs.h. */
27916 #include <gtk/gtk.h>
27917
27918 int
27919 main ()
27920 {
27921 #ifndef gtk_icon_size_lookup
27922 (void) gtk_icon_size_lookup;
27923 #endif
27924
27925 ;
27926 return 0;
27927 }
27928 _ACEOF
27929 rm -f conftest.$ac_objext
27930 if { (ac_try="$ac_compile"
27931 case "(($ac_try" in
27932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27933 *) ac_try_echo=$ac_try;;
27934 esac
27935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27936 (eval "$ac_compile") 2>conftest.er1
27937 ac_status=$?
27938 grep -v '^ *+' conftest.er1 >conftest.err
27939 rm -f conftest.er1
27940 cat conftest.err >&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); } && {
27943 test -z "$ac_c_werror_flag" ||
27944 test ! -s conftest.err
27945 } && test -s conftest.$ac_objext; then
27946 ac_cv_have_decl_gtk_icon_size_lookup=yes
27947 else
27948 echo "$as_me: failed program was:" >&5
27949 sed 's/^/| /' conftest.$ac_ext >&5
27950
27951 ac_cv_have_decl_gtk_icon_size_lookup=no
27952 fi
27953
27954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27955 fi
27956 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27957 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27958 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27959
27960 cat >>confdefs.h <<_ACEOF
27961 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27962 _ACEOF
27963
27964
27965 else
27966 cat >>confdefs.h <<_ACEOF
27967 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27968 _ACEOF
27969
27970 cat >>confdefs.h <<\_ACEOF
27971 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27972 _ACEOF
27973
27974 fi
27975
27976
27977
27978
27979 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27980 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27981 cat >conftest.$ac_ext <<_ACEOF
27982 /* confdefs.h. */
27983 _ACEOF
27984 cat confdefs.h >>conftest.$ac_ext
27985 cat >>conftest.$ac_ext <<_ACEOF
27986 /* end confdefs.h. */
27987
27988 #include <gtk/gtk.h>
27989
27990 int
27991 main ()
27992 {
27993
27994 #if !GTK_CHECK_VERSION(2,10,0)
27995 Not GTK+ 2.10
27996 #endif
27997
27998 ;
27999 return 0;
28000 }
28001 _ACEOF
28002 rm -f conftest.$ac_objext
28003 if { (ac_try="$ac_compile"
28004 case "(($ac_try" in
28005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28006 *) ac_try_echo=$ac_try;;
28007 esac
28008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28009 (eval "$ac_compile") 2>conftest.er1
28010 ac_status=$?
28011 grep -v '^ *+' conftest.er1 >conftest.err
28012 rm -f conftest.er1
28013 cat conftest.err >&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); } && {
28016 test -z "$ac_c_werror_flag" ||
28017 test ! -s conftest.err
28018 } && test -s conftest.$ac_objext; then
28019
28020 cat >>confdefs.h <<\_ACEOF
28021 #define __WXGTK210__ 1
28022 _ACEOF
28023
28024 cat >>confdefs.h <<\_ACEOF
28025 #define __WXGTK26__ 1
28026 _ACEOF
28027
28028 cat >>confdefs.h <<\_ACEOF
28029 #define __WXGTK24__ 1
28030 _ACEOF
28031
28032 { echo "$as_me:$LINENO: result: yes" >&5
28033 echo "${ECHO_T}yes" >&6; }
28034 ac_wxgtk210=1
28035
28036 else
28037 echo "$as_me: failed program was:" >&5
28038 sed 's/^/| /' conftest.$ac_ext >&5
28039
28040
28041 { echo "$as_me:$LINENO: result: no" >&5
28042 echo "${ECHO_T}no" >&6; }
28043 ac_wxgtk210=0
28044
28045 fi
28046
28047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28048
28049 if test "$ac_wxgtk210" = 0; then
28050 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28051 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28052 cat >conftest.$ac_ext <<_ACEOF
28053 /* confdefs.h. */
28054 _ACEOF
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h. */
28058
28059 #include <gtk/gtk.h>
28060
28061 int
28062 main ()
28063 {
28064
28065 #if !GTK_CHECK_VERSION(2,6,0)
28066 Not GTK+ 2.6
28067 #endif
28068
28069 ;
28070 return 0;
28071 }
28072 _ACEOF
28073 rm -f conftest.$ac_objext
28074 if { (ac_try="$ac_compile"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28078 esac
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_compile") 2>conftest.er1
28081 ac_status=$?
28082 grep -v '^ *+' conftest.er1 >conftest.err
28083 rm -f conftest.er1
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } && {
28087 test -z "$ac_c_werror_flag" ||
28088 test ! -s conftest.err
28089 } && test -s conftest.$ac_objext; then
28090
28091 cat >>confdefs.h <<\_ACEOF
28092 #define __WXGTK26__ 1
28093 _ACEOF
28094
28095 cat >>confdefs.h <<\_ACEOF
28096 #define __WXGTK24__ 1
28097 _ACEOF
28098
28099 { echo "$as_me:$LINENO: result: yes" >&5
28100 echo "${ECHO_T}yes" >&6; }
28101 ac_wxgtk26=1
28102
28103 else
28104 echo "$as_me: failed program was:" >&5
28105 sed 's/^/| /' conftest.$ac_ext >&5
28106
28107
28108 { echo "$as_me:$LINENO: result: no" >&5
28109 echo "${ECHO_T}no" >&6; }
28110 ac_wxgtk26=0
28111
28112 fi
28113
28114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28115 fi
28116
28117 if test "$ac_wxgtk26" = 0; then
28118 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28119 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28120 cat >conftest.$ac_ext <<_ACEOF
28121 /* confdefs.h. */
28122 _ACEOF
28123 cat confdefs.h >>conftest.$ac_ext
28124 cat >>conftest.$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28126
28127 #include <gtk/gtk.h>
28128
28129 int
28130 main ()
28131 {
28132
28133 #if !GTK_CHECK_VERSION(2,4,0)
28134 Not GTK+ 2.4
28135 #endif
28136
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 rm -f conftest.$ac_objext
28142 if { (ac_try="$ac_compile"
28143 case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28146 esac
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_compile") 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } && {
28155 test -z "$ac_c_werror_flag" ||
28156 test ! -s conftest.err
28157 } && test -s conftest.$ac_objext; then
28158
28159 cat >>confdefs.h <<\_ACEOF
28160 #define __WXGTK24__ 1
28161 _ACEOF
28162
28163 { echo "$as_me:$LINENO: result: yes" >&5
28164 echo "${ECHO_T}yes" >&6; }
28165
28166 else
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28169
28170
28171 { echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6; }
28173
28174 fi
28175
28176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28177 fi
28178
28179 CFLAGS="$save_CFLAGS"
28180 LIBS="$save_LIBS"
28181 else
28182 if test "$wxUSE_UNICODE" = "yes"; then
28183 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28184 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28185 wxUSE_UNICODE=no
28186 fi
28187
28188 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28189 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28190 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28191 echo $ECHO_N "(cached) $ECHO_C" >&6
28192 else
28193 ac_check_lib_save_LIBS=$LIBS
28194 LIBS="-lgdk $LIBS"
28195 cat >conftest.$ac_ext <<_ACEOF
28196 /* confdefs.h. */
28197 _ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h. */
28201
28202 /* Override any GCC internal prototype to avoid an error.
28203 Use char because int might match the return type of a GCC
28204 builtin and then its argument prototype would still apply. */
28205 #ifdef __cplusplus
28206 extern "C"
28207 #endif
28208 char gdk_im_open ();
28209 int
28210 main ()
28211 {
28212 return gdk_im_open ();
28213 ;
28214 return 0;
28215 }
28216 _ACEOF
28217 rm -f conftest.$ac_objext conftest$ac_exeext
28218 if { (ac_try="$ac_link"
28219 case "(($ac_try" in
28220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221 *) ac_try_echo=$ac_try;;
28222 esac
28223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28224 (eval "$ac_link") 2>conftest.er1
28225 ac_status=$?
28226 grep -v '^ *+' conftest.er1 >conftest.err
28227 rm -f conftest.er1
28228 cat conftest.err >&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } && {
28231 test -z "$ac_c_werror_flag" ||
28232 test ! -s conftest.err
28233 } && test -s conftest$ac_exeext &&
28234 $as_test_x conftest$ac_exeext; then
28235 ac_cv_lib_gdk_gdk_im_open=yes
28236 else
28237 echo "$as_me: failed program was:" >&5
28238 sed 's/^/| /' conftest.$ac_ext >&5
28239
28240 ac_cv_lib_gdk_gdk_im_open=no
28241 fi
28242
28243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28244 conftest$ac_exeext conftest.$ac_ext
28245 LIBS=$ac_check_lib_save_LIBS
28246 fi
28247 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28248 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28249 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28250 cat >>confdefs.h <<\_ACEOF
28251 #define HAVE_XIM 1
28252 _ACEOF
28253
28254 fi
28255
28256
28257 if test "$USE_DARWIN" != 1; then
28258
28259 for ac_func in poll
28260 do
28261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28264 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 else
28267 cat >conftest.$ac_ext <<_ACEOF
28268 /* confdefs.h. */
28269 _ACEOF
28270 cat confdefs.h >>conftest.$ac_ext
28271 cat >>conftest.$ac_ext <<_ACEOF
28272 /* end confdefs.h. */
28273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28275 #define $ac_func innocuous_$ac_func
28276
28277 /* System header to define __stub macros and hopefully few prototypes,
28278 which can conflict with char $ac_func (); below.
28279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28280 <limits.h> exists even on freestanding compilers. */
28281
28282 #ifdef __STDC__
28283 # include <limits.h>
28284 #else
28285 # include <assert.h>
28286 #endif
28287
28288 #undef $ac_func
28289
28290 /* Override any GCC internal prototype to avoid an error.
28291 Use char because int might match the return type of a GCC
28292 builtin and then its argument prototype would still apply. */
28293 #ifdef __cplusplus
28294 extern "C"
28295 #endif
28296 char $ac_func ();
28297 /* The GNU C library defines this for functions which it implements
28298 to always fail with ENOSYS. Some functions are actually named
28299 something starting with __ and the normal name is an alias. */
28300 #if defined __stub_$ac_func || defined __stub___$ac_func
28301 choke me
28302 #endif
28303
28304 int
28305 main ()
28306 {
28307 return $ac_func ();
28308 ;
28309 return 0;
28310 }
28311 _ACEOF
28312 rm -f conftest.$ac_objext conftest$ac_exeext
28313 if { (ac_try="$ac_link"
28314 case "(($ac_try" in
28315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28316 *) ac_try_echo=$ac_try;;
28317 esac
28318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28319 (eval "$ac_link") 2>conftest.er1
28320 ac_status=$?
28321 grep -v '^ *+' conftest.er1 >conftest.err
28322 rm -f conftest.er1
28323 cat conftest.err >&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); } && {
28326 test -z "$ac_c_werror_flag" ||
28327 test ! -s conftest.err
28328 } && test -s conftest$ac_exeext &&
28329 $as_test_x conftest$ac_exeext; then
28330 eval "$as_ac_var=yes"
28331 else
28332 echo "$as_me: failed program was:" >&5
28333 sed 's/^/| /' conftest.$ac_ext >&5
28334
28335 eval "$as_ac_var=no"
28336 fi
28337
28338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28339 conftest$ac_exeext conftest.$ac_ext
28340 fi
28341 ac_res=`eval echo '${'$as_ac_var'}'`
28342 { echo "$as_me:$LINENO: result: $ac_res" >&5
28343 echo "${ECHO_T}$ac_res" >&6; }
28344 if test `eval echo '${'$as_ac_var'}'` = yes; then
28345 cat >>confdefs.h <<_ACEOF
28346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28347 _ACEOF
28348
28349 fi
28350 done
28351
28352 fi
28353 fi
28354
28355 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28356 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28357
28358 AFMINSTALL=afminstall
28359 TOOLKIT=GTK
28360 GUIDIST=GTK_DIST
28361
28362 if test "$wxUSE_GPE" = "yes"; then
28363 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28364 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28365
28366 ac_find_libraries=
28367 for ac_dir in $SEARCH_LIB;
28368 do
28369 for ac_extension in a so sl dylib dll.a; do
28370 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28371 ac_find_libraries=$ac_dir
28372 break 2
28373 fi
28374 done
28375 done
28376
28377 if test "$ac_find_libraries" != "" ; then
28378
28379 if test "$ac_find_libraries" = "default location"; then
28380 ac_path_to_link=""
28381 else
28382 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28383 result=$?
28384 if test $result = 0; then
28385 ac_path_to_link=""
28386 else
28387 ac_path_to_link=" -L$ac_find_libraries"
28388 fi
28389 fi
28390
28391 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28392 WXGPE=1
28393 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28394 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28395 else
28396 { echo "$as_me:$LINENO: result: not found" >&5
28397 echo "${ECHO_T}not found" >&6; }
28398 fi
28399
28400 fi
28401 fi
28402
28403 if test "$wxUSE_MGL" = 1; then
28404 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28405 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28406 if test "x$MGL_ROOT" = x ; then
28407 { echo "$as_me:$LINENO: result: not found" >&5
28408 echo "${ECHO_T}not found" >&6; }
28409 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28410 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28411 { (exit 1); exit 1; }; }
28412 else
28413 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28414 echo "${ECHO_T}$MGL_ROOT" >&6; }
28415 fi
28416
28417 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28418 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28419 case "${host}" in
28420 *-*-linux* )
28421 if test "x$wxUSE_SHARED" = xyes ; then
28422 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28423 else
28424 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28425 fi
28426 ;;
28427 *-pc-msdosdjgpp )
28428 mgl_os_candidates="dos32/dj2"
28429 ;;
28430 *)
28431 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28432 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28433 { (exit 1); exit 1; }; }
28434 esac
28435
28436 mgl_lib_type=""
28437 mgl_os=""
28438
28439 for mgl_os_i in $mgl_os_candidates ; do
28440 if test "x$mgl_os" = x ; then
28441 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28442 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28443 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28444 mgl_lib_type=debug
28445 mgl_os=$mgl_os_i
28446 fi
28447 fi
28448 if test "x$mgl_lib_type" = x ; then
28449 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28450 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28451 mgl_lib_type=release
28452 mgl_os=$mgl_os_i
28453 fi
28454 fi
28455 fi
28456 done
28457
28458 if test "x$mgl_os" = x ; then
28459 { echo "$as_me:$LINENO: result: not found" >&5
28460 echo "${ECHO_T}not found" >&6; }
28461 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28462 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28463 { (exit 1); exit 1; }; }
28464 fi
28465 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28466 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28467
28468 wxUSE_UNIVERSAL="yes"
28469
28470 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28471 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28472
28473 AFMINSTALL=afminstall
28474 TOOLKIT=MGL
28475 GUIDIST=MGL_DIST
28476 fi
28477
28478 if test "$wxUSE_DFB" = 1; then
28479
28480
28481 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28482 if test -n "$ac_tool_prefix"; then
28483 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28484 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28488 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 else
28490 case $PKG_CONFIG in
28491 [\\/]* | ?:[\\/]*)
28492 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28493 ;;
28494 *)
28495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28496 for as_dir in $PATH
28497 do
28498 IFS=$as_save_IFS
28499 test -z "$as_dir" && as_dir=.
28500 for ac_exec_ext in '' $ac_executable_extensions; do
28501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28502 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28504 break 2
28505 fi
28506 done
28507 done
28508 IFS=$as_save_IFS
28509
28510 ;;
28511 esac
28512 fi
28513 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28514 if test -n "$PKG_CONFIG"; then
28515 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28516 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28517 else
28518 { echo "$as_me:$LINENO: result: no" >&5
28519 echo "${ECHO_T}no" >&6; }
28520 fi
28521
28522
28523 fi
28524 if test -z "$ac_cv_path_PKG_CONFIG"; then
28525 ac_pt_PKG_CONFIG=$PKG_CONFIG
28526 # Extract the first word of "pkg-config", so it can be a program name with args.
28527 set dummy pkg-config; ac_word=$2
28528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28530 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28532 else
28533 case $ac_pt_PKG_CONFIG in
28534 [\\/]* | ?:[\\/]*)
28535 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28536 ;;
28537 *)
28538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28539 for as_dir in $PATH
28540 do
28541 IFS=$as_save_IFS
28542 test -z "$as_dir" && as_dir=.
28543 for ac_exec_ext in '' $ac_executable_extensions; do
28544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28545 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28547 break 2
28548 fi
28549 done
28550 done
28551 IFS=$as_save_IFS
28552
28553 ;;
28554 esac
28555 fi
28556 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28557 if test -n "$ac_pt_PKG_CONFIG"; then
28558 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28559 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28560 else
28561 { echo "$as_me:$LINENO: result: no" >&5
28562 echo "${ECHO_T}no" >&6; }
28563 fi
28564
28565 if test "x$ac_pt_PKG_CONFIG" = x; then
28566 PKG_CONFIG=""
28567 else
28568 case $cross_compiling:$ac_tool_warned in
28569 yes:)
28570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28571 whose name does not start with the host triplet. If you think this
28572 configuration is useful to you, please write to autoconf@gnu.org." >&5
28573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28574 whose name does not start with the host triplet. If you think this
28575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28576 ac_tool_warned=yes ;;
28577 esac
28578 PKG_CONFIG=$ac_pt_PKG_CONFIG
28579 fi
28580 else
28581 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28582 fi
28583
28584 fi
28585 if test -n "$PKG_CONFIG"; then
28586 _pkg_min_version=0.9.0
28587 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28588 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28589 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28590 { echo "$as_me:$LINENO: result: yes" >&5
28591 echo "${ECHO_T}yes" >&6; }
28592 else
28593 { echo "$as_me:$LINENO: result: no" >&5
28594 echo "${ECHO_T}no" >&6; }
28595 PKG_CONFIG=""
28596 fi
28597
28598 fi
28599
28600
28601 pkg_failed=no
28602 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28603 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28604
28605 if test -n "$PKG_CONFIG"; then
28606 if test -n "$DIRECTFB_CFLAGS"; then
28607 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28608 else
28609 if test -n "$PKG_CONFIG" && \
28610 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28611 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; then
28615 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28616 else
28617 pkg_failed=yes
28618 fi
28619 fi
28620 else
28621 pkg_failed=untried
28622 fi
28623 if test -n "$PKG_CONFIG"; then
28624 if test -n "$DIRECTFB_LIBS"; then
28625 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28626 else
28627 if test -n "$PKG_CONFIG" && \
28628 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28629 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28630 ac_status=$?
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; then
28633 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28634 else
28635 pkg_failed=yes
28636 fi
28637 fi
28638 else
28639 pkg_failed=untried
28640 fi
28641
28642
28643
28644 if test $pkg_failed = yes; then
28645
28646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28647 _pkg_short_errors_supported=yes
28648 else
28649 _pkg_short_errors_supported=no
28650 fi
28651 if test $_pkg_short_errors_supported = yes; then
28652 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28653 else
28654 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28655 fi
28656 # Put the nasty error message in config.log where it belongs
28657 echo "$DIRECTFB_PKG_ERRORS" >&5
28658
28659
28660 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28661 echo "$as_me: error: DirectFB not found." >&2;}
28662 { (exit 1); exit 1; }; }
28663
28664
28665 elif test $pkg_failed = untried; then
28666
28667 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28668 echo "$as_me: error: DirectFB not found." >&2;}
28669 { (exit 1); exit 1; }; }
28670
28671
28672 else
28673 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28674 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28675 { echo "$as_me:$LINENO: result: yes" >&5
28676 echo "${ECHO_T}yes" >&6; }
28677
28678 wxUSE_UNIVERSAL="yes"
28679 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28680 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28681 TOOLKIT=DFB
28682 GUIDIST=DFB_DIST
28683
28684 fi
28685 fi
28686
28687 if test "$wxUSE_MICROWIN" = 1; then
28688 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28689 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28690 if test "x$MICROWINDOWS" = x ; then
28691 { echo "$as_me:$LINENO: result: not found" >&5
28692 echo "${ECHO_T}not found" >&6; }
28693 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28694 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28695 { (exit 1); exit 1; }; }
28696 else
28697 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28698 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28699 fi
28700
28701 if test -f $MICROWINDOWS/lib/libmwin.a; then
28702 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28703 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28704 else
28705 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28706 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28707 { (exit 1); exit 1; }; }
28708 fi
28709
28710 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28711 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28712
28713 wxUSE_UNIVERSAL="yes"
28714
28715 AFMINSTALL=afminstall
28716 TOOLKIT=MICROWIN
28717 GUIDIST=MICROWIN_DIST
28718
28719 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28720 fi
28721
28722 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28723 { echo "$as_me:$LINENO: checking for X" >&5
28724 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28725
28726
28727 # Check whether --with-x was given.
28728 if test "${with_x+set}" = set; then
28729 withval=$with_x;
28730 fi
28731
28732 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28733 if test "x$with_x" = xno; then
28734 # The user explicitly disabled X.
28735 have_x=disabled
28736 else
28737 case $x_includes,$x_libraries in #(
28738 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28739 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28740 { (exit 1); exit 1; }; };; #(
28741 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28742 echo $ECHO_N "(cached) $ECHO_C" >&6
28743 else
28744 # One or both of the vars are not set, and there is no cached value.
28745 ac_x_includes=no ac_x_libraries=no
28746 rm -f -r conftest.dir
28747 if mkdir conftest.dir; then
28748 cd conftest.dir
28749 cat >Imakefile <<'_ACEOF'
28750 incroot:
28751 @echo incroot='${INCROOT}'
28752 usrlibdir:
28753 @echo usrlibdir='${USRLIBDIR}'
28754 libdir:
28755 @echo libdir='${LIBDIR}'
28756 _ACEOF
28757 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28759 for ac_var in incroot usrlibdir libdir; do
28760 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28761 done
28762 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28763 for ac_extension in a so sl; do
28764 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28765 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28766 ac_im_usrlibdir=$ac_im_libdir; break
28767 fi
28768 done
28769 # Screen out bogus values from the imake configuration. They are
28770 # bogus both because they are the default anyway, and because
28771 # using them would break gcc on systems where it needs fixed includes.
28772 case $ac_im_incroot in
28773 /usr/include) ac_x_includes= ;;
28774 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28775 esac
28776 case $ac_im_usrlibdir in
28777 /usr/lib | /lib) ;;
28778 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28779 esac
28780 fi
28781 cd ..
28782 rm -f -r conftest.dir
28783 fi
28784
28785 # Standard set of common directories for X headers.
28786 # Check X11 before X11Rn because it is often a symlink to the current release.
28787 ac_x_header_dirs='
28788 /usr/X11/include
28789 /usr/X11R6/include
28790 /usr/X11R5/include
28791 /usr/X11R4/include
28792
28793 /usr/include/X11
28794 /usr/include/X11R6
28795 /usr/include/X11R5
28796 /usr/include/X11R4
28797
28798 /usr/local/X11/include
28799 /usr/local/X11R6/include
28800 /usr/local/X11R5/include
28801 /usr/local/X11R4/include
28802
28803 /usr/local/include/X11
28804 /usr/local/include/X11R6
28805 /usr/local/include/X11R5
28806 /usr/local/include/X11R4
28807
28808 /usr/X386/include
28809 /usr/x386/include
28810 /usr/XFree86/include/X11
28811
28812 /usr/include
28813 /usr/local/include
28814 /usr/unsupported/include
28815 /usr/athena/include
28816 /usr/local/x11r5/include
28817 /usr/lpp/Xamples/include
28818
28819 /usr/openwin/include
28820 /usr/openwin/share/include'
28821
28822 if test "$ac_x_includes" = no; then
28823 # Guess where to find include files, by looking for Xlib.h.
28824 # First, try using that file with no special directory specified.
28825 cat >conftest.$ac_ext <<_ACEOF
28826 /* confdefs.h. */
28827 _ACEOF
28828 cat confdefs.h >>conftest.$ac_ext
28829 cat >>conftest.$ac_ext <<_ACEOF
28830 /* end confdefs.h. */
28831 #include <X11/Xlib.h>
28832 _ACEOF
28833 if { (ac_try="$ac_cpp conftest.$ac_ext"
28834 case "(($ac_try" in
28835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28836 *) ac_try_echo=$ac_try;;
28837 esac
28838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28840 ac_status=$?
28841 grep -v '^ *+' conftest.er1 >conftest.err
28842 rm -f conftest.er1
28843 cat conftest.err >&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); } >/dev/null && {
28846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28847 test ! -s conftest.err
28848 }; then
28849 # We can compile using X headers with no special include directory.
28850 ac_x_includes=
28851 else
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.$ac_ext >&5
28854
28855 for ac_dir in $ac_x_header_dirs; do
28856 if test -r "$ac_dir/X11/Xlib.h"; then
28857 ac_x_includes=$ac_dir
28858 break
28859 fi
28860 done
28861 fi
28862
28863 rm -f conftest.err conftest.$ac_ext
28864 fi # $ac_x_includes = no
28865
28866 if test "$ac_x_libraries" = no; then
28867 # Check for the libraries.
28868 # See if we find them without any special options.
28869 # Don't add to $LIBS permanently.
28870 ac_save_LIBS=$LIBS
28871 LIBS="-lX11 $LIBS"
28872 cat >conftest.$ac_ext <<_ACEOF
28873 /* confdefs.h. */
28874 _ACEOF
28875 cat confdefs.h >>conftest.$ac_ext
28876 cat >>conftest.$ac_ext <<_ACEOF
28877 /* end confdefs.h. */
28878 #include <X11/Xlib.h>
28879 int
28880 main ()
28881 {
28882 XrmInitialize ()
28883 ;
28884 return 0;
28885 }
28886 _ACEOF
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (ac_try="$ac_link"
28889 case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28892 esac
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_link") 2>conftest.er1
28895 ac_status=$?
28896 grep -v '^ *+' conftest.er1 >conftest.err
28897 rm -f conftest.er1
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } && {
28901 test -z "$ac_c_werror_flag" ||
28902 test ! -s conftest.err
28903 } && test -s conftest$ac_exeext &&
28904 $as_test_x conftest$ac_exeext; then
28905 LIBS=$ac_save_LIBS
28906 # We can link X programs with no special library path.
28907 ac_x_libraries=
28908 else
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28911
28912 LIBS=$ac_save_LIBS
28913 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28914 do
28915 # Don't even attempt the hair of trying to link an X program!
28916 for ac_extension in a so sl; do
28917 if test -r "$ac_dir/libX11.$ac_extension"; then
28918 ac_x_libraries=$ac_dir
28919 break 2
28920 fi
28921 done
28922 done
28923 fi
28924
28925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28926 conftest$ac_exeext conftest.$ac_ext
28927 fi # $ac_x_libraries = no
28928
28929 case $ac_x_includes,$ac_x_libraries in #(
28930 no,* | *,no | *\'*)
28931 # Didn't find X, or a directory has "'" in its name.
28932 ac_cv_have_x="have_x=no";; #(
28933 *)
28934 # Record where we found X for the cache.
28935 ac_cv_have_x="have_x=yes\
28936 ac_x_includes='$ac_x_includes'\
28937 ac_x_libraries='$ac_x_libraries'"
28938 esac
28939 fi
28940 ;; #(
28941 *) have_x=yes;;
28942 esac
28943 eval "$ac_cv_have_x"
28944 fi # $with_x != no
28945
28946 if test "$have_x" != yes; then
28947 { echo "$as_me:$LINENO: result: $have_x" >&5
28948 echo "${ECHO_T}$have_x" >&6; }
28949 no_x=yes
28950 else
28951 # If each of the values was on the command line, it overrides each guess.
28952 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28953 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28954 # Update the cache value to reflect the command line values.
28955 ac_cv_have_x="have_x=yes\
28956 ac_x_includes='$x_includes'\
28957 ac_x_libraries='$x_libraries'"
28958 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28959 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28960 fi
28961
28962 if test "$no_x" = yes; then
28963 # Not all programs may use this symbol, but it does not hurt to define it.
28964
28965 cat >>confdefs.h <<\_ACEOF
28966 #define X_DISPLAY_MISSING 1
28967 _ACEOF
28968
28969 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28970 else
28971 if test -n "$x_includes"; then
28972 X_CFLAGS="$X_CFLAGS -I$x_includes"
28973 fi
28974
28975 # It would also be nice to do this for all -L options, not just this one.
28976 if test -n "$x_libraries"; then
28977 X_LIBS="$X_LIBS -L$x_libraries"
28978 # For Solaris; some versions of Sun CC require a space after -R and
28979 # others require no space. Words are not sufficient . . . .
28980 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28981 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28982 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28983 ac_xsave_c_werror_flag=$ac_c_werror_flag
28984 ac_c_werror_flag=yes
28985 cat >conftest.$ac_ext <<_ACEOF
28986 /* confdefs.h. */
28987 _ACEOF
28988 cat confdefs.h >>conftest.$ac_ext
28989 cat >>conftest.$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
28991
28992 int
28993 main ()
28994 {
28995
28996 ;
28997 return 0;
28998 }
28999 _ACEOF
29000 rm -f conftest.$ac_objext conftest$ac_exeext
29001 if { (ac_try="$ac_link"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29004 *) ac_try_echo=$ac_try;;
29005 esac
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_link") 2>conftest.er1
29008 ac_status=$?
29009 grep -v '^ *+' conftest.er1 >conftest.err
29010 rm -f conftest.er1
29011 cat conftest.err >&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } && {
29014 test -z "$ac_c_werror_flag" ||
29015 test ! -s conftest.err
29016 } && test -s conftest$ac_exeext &&
29017 $as_test_x conftest$ac_exeext; then
29018 { echo "$as_me:$LINENO: result: no" >&5
29019 echo "${ECHO_T}no" >&6; }
29020 X_LIBS="$X_LIBS -R$x_libraries"
29021 else
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29024
29025 LIBS="$ac_xsave_LIBS -R $x_libraries"
29026 cat >conftest.$ac_ext <<_ACEOF
29027 /* confdefs.h. */
29028 _ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29032
29033 int
29034 main ()
29035 {
29036
29037 ;
29038 return 0;
29039 }
29040 _ACEOF
29041 rm -f conftest.$ac_objext conftest$ac_exeext
29042 if { (ac_try="$ac_link"
29043 case "(($ac_try" in
29044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29045 *) ac_try_echo=$ac_try;;
29046 esac
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_link") 2>conftest.er1
29049 ac_status=$?
29050 grep -v '^ *+' conftest.er1 >conftest.err
29051 rm -f conftest.er1
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } && {
29055 test -z "$ac_c_werror_flag" ||
29056 test ! -s conftest.err
29057 } && test -s conftest$ac_exeext &&
29058 $as_test_x conftest$ac_exeext; then
29059 { echo "$as_me:$LINENO: result: yes" >&5
29060 echo "${ECHO_T}yes" >&6; }
29061 X_LIBS="$X_LIBS -R $x_libraries"
29062 else
29063 echo "$as_me: failed program was:" >&5
29064 sed 's/^/| /' conftest.$ac_ext >&5
29065
29066 { echo "$as_me:$LINENO: result: neither works" >&5
29067 echo "${ECHO_T}neither works" >&6; }
29068 fi
29069
29070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29071 conftest$ac_exeext conftest.$ac_ext
29072 fi
29073
29074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29075 conftest$ac_exeext conftest.$ac_ext
29076 ac_c_werror_flag=$ac_xsave_c_werror_flag
29077 LIBS=$ac_xsave_LIBS
29078 fi
29079
29080 # Check for system-dependent libraries X programs must link with.
29081 # Do this before checking for the system-independent R6 libraries
29082 # (-lICE), since we may need -lsocket or whatever for X linking.
29083
29084 if test "$ISC" = yes; then
29085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29086 else
29087 # Martyn Johnson says this is needed for Ultrix, if the X
29088 # libraries were built with DECnet support. And Karl Berry says
29089 # the Alpha needs dnet_stub (dnet does not exist).
29090 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29091 cat >conftest.$ac_ext <<_ACEOF
29092 /* confdefs.h. */
29093 _ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097
29098 /* Override any GCC internal prototype to avoid an error.
29099 Use char because int might match the return type of a GCC
29100 builtin and then its argument prototype would still apply. */
29101 #ifdef __cplusplus
29102 extern "C"
29103 #endif
29104 char XOpenDisplay ();
29105 int
29106 main ()
29107 {
29108 return XOpenDisplay ();
29109 ;
29110 return 0;
29111 }
29112 _ACEOF
29113 rm -f conftest.$ac_objext conftest$ac_exeext
29114 if { (ac_try="$ac_link"
29115 case "(($ac_try" in
29116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29117 *) ac_try_echo=$ac_try;;
29118 esac
29119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29120 (eval "$ac_link") 2>conftest.er1
29121 ac_status=$?
29122 grep -v '^ *+' conftest.er1 >conftest.err
29123 rm -f conftest.er1
29124 cat conftest.err >&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } && {
29127 test -z "$ac_c_werror_flag" ||
29128 test ! -s conftest.err
29129 } && test -s conftest$ac_exeext &&
29130 $as_test_x conftest$ac_exeext; then
29131 :
29132 else
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.$ac_ext >&5
29135
29136 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29137 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29138 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29139 echo $ECHO_N "(cached) $ECHO_C" >&6
29140 else
29141 ac_check_lib_save_LIBS=$LIBS
29142 LIBS="-ldnet $LIBS"
29143 cat >conftest.$ac_ext <<_ACEOF
29144 /* confdefs.h. */
29145 _ACEOF
29146 cat confdefs.h >>conftest.$ac_ext
29147 cat >>conftest.$ac_ext <<_ACEOF
29148 /* end confdefs.h. */
29149
29150 /* Override any GCC internal prototype to avoid an error.
29151 Use char because int might match the return type of a GCC
29152 builtin and then its argument prototype would still apply. */
29153 #ifdef __cplusplus
29154 extern "C"
29155 #endif
29156 char dnet_ntoa ();
29157 int
29158 main ()
29159 {
29160 return dnet_ntoa ();
29161 ;
29162 return 0;
29163 }
29164 _ACEOF
29165 rm -f conftest.$ac_objext conftest$ac_exeext
29166 if { (ac_try="$ac_link"
29167 case "(($ac_try" in
29168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29170 esac
29171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_link") 2>conftest.er1
29173 ac_status=$?
29174 grep -v '^ *+' conftest.er1 >conftest.err
29175 rm -f conftest.er1
29176 cat conftest.err >&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); } && {
29179 test -z "$ac_c_werror_flag" ||
29180 test ! -s conftest.err
29181 } && test -s conftest$ac_exeext &&
29182 $as_test_x conftest$ac_exeext; then
29183 ac_cv_lib_dnet_dnet_ntoa=yes
29184 else
29185 echo "$as_me: failed program was:" >&5
29186 sed 's/^/| /' conftest.$ac_ext >&5
29187
29188 ac_cv_lib_dnet_dnet_ntoa=no
29189 fi
29190
29191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29192 conftest$ac_exeext conftest.$ac_ext
29193 LIBS=$ac_check_lib_save_LIBS
29194 fi
29195 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29196 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29197 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29198 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29199 fi
29200
29201 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29202 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29203 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29204 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29206 else
29207 ac_check_lib_save_LIBS=$LIBS
29208 LIBS="-ldnet_stub $LIBS"
29209 cat >conftest.$ac_ext <<_ACEOF
29210 /* confdefs.h. */
29211 _ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29215
29216 /* Override any GCC internal prototype to avoid an error.
29217 Use char because int might match the return type of a GCC
29218 builtin and then its argument prototype would still apply. */
29219 #ifdef __cplusplus
29220 extern "C"
29221 #endif
29222 char dnet_ntoa ();
29223 int
29224 main ()
29225 {
29226 return dnet_ntoa ();
29227 ;
29228 return 0;
29229 }
29230 _ACEOF
29231 rm -f conftest.$ac_objext conftest$ac_exeext
29232 if { (ac_try="$ac_link"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 *) ac_try_echo=$ac_try;;
29236 esac
29237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_link") 2>conftest.er1
29239 ac_status=$?
29240 grep -v '^ *+' conftest.er1 >conftest.err
29241 rm -f conftest.er1
29242 cat conftest.err >&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } && {
29245 test -z "$ac_c_werror_flag" ||
29246 test ! -s conftest.err
29247 } && test -s conftest$ac_exeext &&
29248 $as_test_x conftest$ac_exeext; then
29249 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29250 else
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29253
29254 ac_cv_lib_dnet_stub_dnet_ntoa=no
29255 fi
29256
29257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29258 conftest$ac_exeext conftest.$ac_ext
29259 LIBS=$ac_check_lib_save_LIBS
29260 fi
29261 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29262 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29263 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29264 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29265 fi
29266
29267 fi
29268 fi
29269
29270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29271 conftest$ac_exeext conftest.$ac_ext
29272 LIBS="$ac_xsave_LIBS"
29273
29274 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29275 # to get the SysV transport functions.
29276 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29277 # needs -lnsl.
29278 # The nsl library prevents programs from opening the X display
29279 # on Irix 5.2, according to T.E. Dickey.
29280 # The functions gethostbyname, getservbyname, and inet_addr are
29281 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29282 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29283 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29284 if test "${ac_cv_func_gethostbyname+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 cat >conftest.$ac_ext <<_ACEOF
29288 /* confdefs.h. */
29289 _ACEOF
29290 cat confdefs.h >>conftest.$ac_ext
29291 cat >>conftest.$ac_ext <<_ACEOF
29292 /* end confdefs.h. */
29293 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29295 #define gethostbyname innocuous_gethostbyname
29296
29297 /* System header to define __stub macros and hopefully few prototypes,
29298 which can conflict with char gethostbyname (); below.
29299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29300 <limits.h> exists even on freestanding compilers. */
29301
29302 #ifdef __STDC__
29303 # include <limits.h>
29304 #else
29305 # include <assert.h>
29306 #endif
29307
29308 #undef gethostbyname
29309
29310 /* Override any GCC internal prototype to avoid an error.
29311 Use char because int might match the return type of a GCC
29312 builtin and then its argument prototype would still apply. */
29313 #ifdef __cplusplus
29314 extern "C"
29315 #endif
29316 char gethostbyname ();
29317 /* The GNU C library defines this for functions which it implements
29318 to always fail with ENOSYS. Some functions are actually named
29319 something starting with __ and the normal name is an alias. */
29320 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29321 choke me
29322 #endif
29323
29324 int
29325 main ()
29326 {
29327 return gethostbyname ();
29328 ;
29329 return 0;
29330 }
29331 _ACEOF
29332 rm -f conftest.$ac_objext conftest$ac_exeext
29333 if { (ac_try="$ac_link"
29334 case "(($ac_try" in
29335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29336 *) ac_try_echo=$ac_try;;
29337 esac
29338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29339 (eval "$ac_link") 2>conftest.er1
29340 ac_status=$?
29341 grep -v '^ *+' conftest.er1 >conftest.err
29342 rm -f conftest.er1
29343 cat conftest.err >&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); } && {
29346 test -z "$ac_c_werror_flag" ||
29347 test ! -s conftest.err
29348 } && test -s conftest$ac_exeext &&
29349 $as_test_x conftest$ac_exeext; then
29350 ac_cv_func_gethostbyname=yes
29351 else
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29354
29355 ac_cv_func_gethostbyname=no
29356 fi
29357
29358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29359 conftest$ac_exeext conftest.$ac_ext
29360 fi
29361 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29362 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29363
29364 if test $ac_cv_func_gethostbyname = no; then
29365 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29366 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29367 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 else
29370 ac_check_lib_save_LIBS=$LIBS
29371 LIBS="-lnsl $LIBS"
29372 cat >conftest.$ac_ext <<_ACEOF
29373 /* confdefs.h. */
29374 _ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h. */
29378
29379 /* Override any GCC internal prototype to avoid an error.
29380 Use char because int might match the return type of a GCC
29381 builtin and then its argument prototype would still apply. */
29382 #ifdef __cplusplus
29383 extern "C"
29384 #endif
29385 char gethostbyname ();
29386 int
29387 main ()
29388 {
29389 return gethostbyname ();
29390 ;
29391 return 0;
29392 }
29393 _ACEOF
29394 rm -f conftest.$ac_objext conftest$ac_exeext
29395 if { (ac_try="$ac_link"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29398 *) ac_try_echo=$ac_try;;
29399 esac
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_link") 2>conftest.er1
29402 ac_status=$?
29403 grep -v '^ *+' conftest.er1 >conftest.err
29404 rm -f conftest.er1
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest$ac_exeext &&
29411 $as_test_x conftest$ac_exeext; then
29412 ac_cv_lib_nsl_gethostbyname=yes
29413 else
29414 echo "$as_me: failed program was:" >&5
29415 sed 's/^/| /' conftest.$ac_ext >&5
29416
29417 ac_cv_lib_nsl_gethostbyname=no
29418 fi
29419
29420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29421 conftest$ac_exeext conftest.$ac_ext
29422 LIBS=$ac_check_lib_save_LIBS
29423 fi
29424 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29425 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29426 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29427 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29428 fi
29429
29430 if test $ac_cv_lib_nsl_gethostbyname = no; then
29431 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29432 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29433 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29435 else
29436 ac_check_lib_save_LIBS=$LIBS
29437 LIBS="-lbsd $LIBS"
29438 cat >conftest.$ac_ext <<_ACEOF
29439 /* confdefs.h. */
29440 _ACEOF
29441 cat confdefs.h >>conftest.$ac_ext
29442 cat >>conftest.$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29444
29445 /* Override any GCC internal prototype to avoid an error.
29446 Use char because int might match the return type of a GCC
29447 builtin and then its argument prototype would still apply. */
29448 #ifdef __cplusplus
29449 extern "C"
29450 #endif
29451 char gethostbyname ();
29452 int
29453 main ()
29454 {
29455 return gethostbyname ();
29456 ;
29457 return 0;
29458 }
29459 _ACEOF
29460 rm -f conftest.$ac_objext conftest$ac_exeext
29461 if { (ac_try="$ac_link"
29462 case "(($ac_try" in
29463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29464 *) ac_try_echo=$ac_try;;
29465 esac
29466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29467 (eval "$ac_link") 2>conftest.er1
29468 ac_status=$?
29469 grep -v '^ *+' conftest.er1 >conftest.err
29470 rm -f conftest.er1
29471 cat conftest.err >&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } && {
29474 test -z "$ac_c_werror_flag" ||
29475 test ! -s conftest.err
29476 } && test -s conftest$ac_exeext &&
29477 $as_test_x conftest$ac_exeext; then
29478 ac_cv_lib_bsd_gethostbyname=yes
29479 else
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.$ac_ext >&5
29482
29483 ac_cv_lib_bsd_gethostbyname=no
29484 fi
29485
29486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29487 conftest$ac_exeext conftest.$ac_ext
29488 LIBS=$ac_check_lib_save_LIBS
29489 fi
29490 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29491 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29492 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29493 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29494 fi
29495
29496 fi
29497 fi
29498
29499 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29500 # socket/setsockopt and other routines are undefined under SCO ODT
29501 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29502 # on later versions), says Simon Leinen: it contains gethostby*
29503 # variants that don't use the name server (or something). -lsocket
29504 # must be given before -lnsl if both are needed. We assume that
29505 # if connect needs -lnsl, so does gethostbyname.
29506 { echo "$as_me:$LINENO: checking for connect" >&5
29507 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29508 if test "${ac_cv_func_connect+set}" = set; then
29509 echo $ECHO_N "(cached) $ECHO_C" >&6
29510 else
29511 cat >conftest.$ac_ext <<_ACEOF
29512 /* confdefs.h. */
29513 _ACEOF
29514 cat confdefs.h >>conftest.$ac_ext
29515 cat >>conftest.$ac_ext <<_ACEOF
29516 /* end confdefs.h. */
29517 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29519 #define connect innocuous_connect
29520
29521 /* System header to define __stub macros and hopefully few prototypes,
29522 which can conflict with char connect (); below.
29523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29524 <limits.h> exists even on freestanding compilers. */
29525
29526 #ifdef __STDC__
29527 # include <limits.h>
29528 #else
29529 # include <assert.h>
29530 #endif
29531
29532 #undef connect
29533
29534 /* Override any GCC internal prototype to avoid an error.
29535 Use char because int might match the return type of a GCC
29536 builtin and then its argument prototype would still apply. */
29537 #ifdef __cplusplus
29538 extern "C"
29539 #endif
29540 char connect ();
29541 /* The GNU C library defines this for functions which it implements
29542 to always fail with ENOSYS. Some functions are actually named
29543 something starting with __ and the normal name is an alias. */
29544 #if defined __stub_connect || defined __stub___connect
29545 choke me
29546 #endif
29547
29548 int
29549 main ()
29550 {
29551 return connect ();
29552 ;
29553 return 0;
29554 }
29555 _ACEOF
29556 rm -f conftest.$ac_objext conftest$ac_exeext
29557 if { (ac_try="$ac_link"
29558 case "(($ac_try" in
29559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29560 *) ac_try_echo=$ac_try;;
29561 esac
29562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29563 (eval "$ac_link") 2>conftest.er1
29564 ac_status=$?
29565 grep -v '^ *+' conftest.er1 >conftest.err
29566 rm -f conftest.er1
29567 cat conftest.err >&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); } && {
29570 test -z "$ac_c_werror_flag" ||
29571 test ! -s conftest.err
29572 } && test -s conftest$ac_exeext &&
29573 $as_test_x conftest$ac_exeext; then
29574 ac_cv_func_connect=yes
29575 else
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.$ac_ext >&5
29578
29579 ac_cv_func_connect=no
29580 fi
29581
29582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29583 conftest$ac_exeext conftest.$ac_ext
29584 fi
29585 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29586 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29587
29588 if test $ac_cv_func_connect = no; then
29589 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29590 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29591 if test "${ac_cv_lib_socket_connect+set}" = set; then
29592 echo $ECHO_N "(cached) $ECHO_C" >&6
29593 else
29594 ac_check_lib_save_LIBS=$LIBS
29595 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29596 cat >conftest.$ac_ext <<_ACEOF
29597 /* confdefs.h. */
29598 _ACEOF
29599 cat confdefs.h >>conftest.$ac_ext
29600 cat >>conftest.$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29602
29603 /* Override any GCC internal prototype to avoid an error.
29604 Use char because int might match the return type of a GCC
29605 builtin and then its argument prototype would still apply. */
29606 #ifdef __cplusplus
29607 extern "C"
29608 #endif
29609 char connect ();
29610 int
29611 main ()
29612 {
29613 return connect ();
29614 ;
29615 return 0;
29616 }
29617 _ACEOF
29618 rm -f conftest.$ac_objext conftest$ac_exeext
29619 if { (ac_try="$ac_link"
29620 case "(($ac_try" in
29621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29622 *) ac_try_echo=$ac_try;;
29623 esac
29624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29625 (eval "$ac_link") 2>conftest.er1
29626 ac_status=$?
29627 grep -v '^ *+' conftest.er1 >conftest.err
29628 rm -f conftest.er1
29629 cat conftest.err >&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); } && {
29632 test -z "$ac_c_werror_flag" ||
29633 test ! -s conftest.err
29634 } && test -s conftest$ac_exeext &&
29635 $as_test_x conftest$ac_exeext; then
29636 ac_cv_lib_socket_connect=yes
29637 else
29638 echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.$ac_ext >&5
29640
29641 ac_cv_lib_socket_connect=no
29642 fi
29643
29644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29645 conftest$ac_exeext conftest.$ac_ext
29646 LIBS=$ac_check_lib_save_LIBS
29647 fi
29648 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29649 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29650 if test $ac_cv_lib_socket_connect = yes; then
29651 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29652 fi
29653
29654 fi
29655
29656 # Guillermo Gomez says -lposix is necessary on A/UX.
29657 { echo "$as_me:$LINENO: checking for remove" >&5
29658 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29659 if test "${ac_cv_func_remove+set}" = set; then
29660 echo $ECHO_N "(cached) $ECHO_C" >&6
29661 else
29662 cat >conftest.$ac_ext <<_ACEOF
29663 /* confdefs.h. */
29664 _ACEOF
29665 cat confdefs.h >>conftest.$ac_ext
29666 cat >>conftest.$ac_ext <<_ACEOF
29667 /* end confdefs.h. */
29668 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29670 #define remove innocuous_remove
29671
29672 /* System header to define __stub macros and hopefully few prototypes,
29673 which can conflict with char remove (); below.
29674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29675 <limits.h> exists even on freestanding compilers. */
29676
29677 #ifdef __STDC__
29678 # include <limits.h>
29679 #else
29680 # include <assert.h>
29681 #endif
29682
29683 #undef remove
29684
29685 /* Override any GCC internal prototype to avoid an error.
29686 Use char because int might match the return type of a GCC
29687 builtin and then its argument prototype would still apply. */
29688 #ifdef __cplusplus
29689 extern "C"
29690 #endif
29691 char remove ();
29692 /* The GNU C library defines this for functions which it implements
29693 to always fail with ENOSYS. Some functions are actually named
29694 something starting with __ and the normal name is an alias. */
29695 #if defined __stub_remove || defined __stub___remove
29696 choke me
29697 #endif
29698
29699 int
29700 main ()
29701 {
29702 return remove ();
29703 ;
29704 return 0;
29705 }
29706 _ACEOF
29707 rm -f conftest.$ac_objext conftest$ac_exeext
29708 if { (ac_try="$ac_link"
29709 case "(($ac_try" in
29710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29711 *) ac_try_echo=$ac_try;;
29712 esac
29713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29714 (eval "$ac_link") 2>conftest.er1
29715 ac_status=$?
29716 grep -v '^ *+' conftest.er1 >conftest.err
29717 rm -f conftest.er1
29718 cat conftest.err >&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } && {
29721 test -z "$ac_c_werror_flag" ||
29722 test ! -s conftest.err
29723 } && test -s conftest$ac_exeext &&
29724 $as_test_x conftest$ac_exeext; then
29725 ac_cv_func_remove=yes
29726 else
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.$ac_ext >&5
29729
29730 ac_cv_func_remove=no
29731 fi
29732
29733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29734 conftest$ac_exeext conftest.$ac_ext
29735 fi
29736 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29737 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29738
29739 if test $ac_cv_func_remove = no; then
29740 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29741 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29742 if test "${ac_cv_lib_posix_remove+set}" = set; then
29743 echo $ECHO_N "(cached) $ECHO_C" >&6
29744 else
29745 ac_check_lib_save_LIBS=$LIBS
29746 LIBS="-lposix $LIBS"
29747 cat >conftest.$ac_ext <<_ACEOF
29748 /* confdefs.h. */
29749 _ACEOF
29750 cat confdefs.h >>conftest.$ac_ext
29751 cat >>conftest.$ac_ext <<_ACEOF
29752 /* end confdefs.h. */
29753
29754 /* Override any GCC internal prototype to avoid an error.
29755 Use char because int might match the return type of a GCC
29756 builtin and then its argument prototype would still apply. */
29757 #ifdef __cplusplus
29758 extern "C"
29759 #endif
29760 char remove ();
29761 int
29762 main ()
29763 {
29764 return remove ();
29765 ;
29766 return 0;
29767 }
29768 _ACEOF
29769 rm -f conftest.$ac_objext conftest$ac_exeext
29770 if { (ac_try="$ac_link"
29771 case "(($ac_try" in
29772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29773 *) ac_try_echo=$ac_try;;
29774 esac
29775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29776 (eval "$ac_link") 2>conftest.er1
29777 ac_status=$?
29778 grep -v '^ *+' conftest.er1 >conftest.err
29779 rm -f conftest.er1
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } && {
29783 test -z "$ac_c_werror_flag" ||
29784 test ! -s conftest.err
29785 } && test -s conftest$ac_exeext &&
29786 $as_test_x conftest$ac_exeext; then
29787 ac_cv_lib_posix_remove=yes
29788 else
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.$ac_ext >&5
29791
29792 ac_cv_lib_posix_remove=no
29793 fi
29794
29795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29796 conftest$ac_exeext conftest.$ac_ext
29797 LIBS=$ac_check_lib_save_LIBS
29798 fi
29799 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29800 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29801 if test $ac_cv_lib_posix_remove = yes; then
29802 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29803 fi
29804
29805 fi
29806
29807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29808 { echo "$as_me:$LINENO: checking for shmat" >&5
29809 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29810 if test "${ac_cv_func_shmat+set}" = set; then
29811 echo $ECHO_N "(cached) $ECHO_C" >&6
29812 else
29813 cat >conftest.$ac_ext <<_ACEOF
29814 /* confdefs.h. */
29815 _ACEOF
29816 cat confdefs.h >>conftest.$ac_ext
29817 cat >>conftest.$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29819 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29821 #define shmat innocuous_shmat
29822
29823 /* System header to define __stub macros and hopefully few prototypes,
29824 which can conflict with char shmat (); below.
29825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29826 <limits.h> exists even on freestanding compilers. */
29827
29828 #ifdef __STDC__
29829 # include <limits.h>
29830 #else
29831 # include <assert.h>
29832 #endif
29833
29834 #undef shmat
29835
29836 /* Override any GCC internal prototype to avoid an error.
29837 Use char because int might match the return type of a GCC
29838 builtin and then its argument prototype would still apply. */
29839 #ifdef __cplusplus
29840 extern "C"
29841 #endif
29842 char shmat ();
29843 /* The GNU C library defines this for functions which it implements
29844 to always fail with ENOSYS. Some functions are actually named
29845 something starting with __ and the normal name is an alias. */
29846 #if defined __stub_shmat || defined __stub___shmat
29847 choke me
29848 #endif
29849
29850 int
29851 main ()
29852 {
29853 return shmat ();
29854 ;
29855 return 0;
29856 }
29857 _ACEOF
29858 rm -f conftest.$ac_objext conftest$ac_exeext
29859 if { (ac_try="$ac_link"
29860 case "(($ac_try" in
29861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29862 *) ac_try_echo=$ac_try;;
29863 esac
29864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29865 (eval "$ac_link") 2>conftest.er1
29866 ac_status=$?
29867 grep -v '^ *+' conftest.er1 >conftest.err
29868 rm -f conftest.er1
29869 cat conftest.err >&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); } && {
29872 test -z "$ac_c_werror_flag" ||
29873 test ! -s conftest.err
29874 } && test -s conftest$ac_exeext &&
29875 $as_test_x conftest$ac_exeext; then
29876 ac_cv_func_shmat=yes
29877 else
29878 echo "$as_me: failed program was:" >&5
29879 sed 's/^/| /' conftest.$ac_ext >&5
29880
29881 ac_cv_func_shmat=no
29882 fi
29883
29884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29885 conftest$ac_exeext conftest.$ac_ext
29886 fi
29887 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29888 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29889
29890 if test $ac_cv_func_shmat = no; then
29891 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29892 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29893 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29894 echo $ECHO_N "(cached) $ECHO_C" >&6
29895 else
29896 ac_check_lib_save_LIBS=$LIBS
29897 LIBS="-lipc $LIBS"
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904
29905 /* Override any GCC internal prototype to avoid an error.
29906 Use char because int might match the return type of a GCC
29907 builtin and then its argument prototype would still apply. */
29908 #ifdef __cplusplus
29909 extern "C"
29910 #endif
29911 char shmat ();
29912 int
29913 main ()
29914 {
29915 return shmat ();
29916 ;
29917 return 0;
29918 }
29919 _ACEOF
29920 rm -f conftest.$ac_objext conftest$ac_exeext
29921 if { (ac_try="$ac_link"
29922 case "(($ac_try" in
29923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29924 *) ac_try_echo=$ac_try;;
29925 esac
29926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29927 (eval "$ac_link") 2>conftest.er1
29928 ac_status=$?
29929 grep -v '^ *+' conftest.er1 >conftest.err
29930 rm -f conftest.er1
29931 cat conftest.err >&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } && {
29934 test -z "$ac_c_werror_flag" ||
29935 test ! -s conftest.err
29936 } && test -s conftest$ac_exeext &&
29937 $as_test_x conftest$ac_exeext; then
29938 ac_cv_lib_ipc_shmat=yes
29939 else
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29942
29943 ac_cv_lib_ipc_shmat=no
29944 fi
29945
29946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29947 conftest$ac_exeext conftest.$ac_ext
29948 LIBS=$ac_check_lib_save_LIBS
29949 fi
29950 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29951 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29952 if test $ac_cv_lib_ipc_shmat = yes; then
29953 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29954 fi
29955
29956 fi
29957 fi
29958
29959 # Check for libraries that X11R6 Xt/Xaw programs need.
29960 ac_save_LDFLAGS=$LDFLAGS
29961 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29962 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29963 # check for ICE first), but we must link in the order -lSM -lICE or
29964 # we get undefined symbols. So assume we have SM if we have ICE.
29965 # These have to be linked with before -lX11, unlike the other
29966 # libraries we check for below, so use a different variable.
29967 # John Interrante, Karl Berry
29968 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29969 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29970 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29971 echo $ECHO_N "(cached) $ECHO_C" >&6
29972 else
29973 ac_check_lib_save_LIBS=$LIBS
29974 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29975 cat >conftest.$ac_ext <<_ACEOF
29976 /* confdefs.h. */
29977 _ACEOF
29978 cat confdefs.h >>conftest.$ac_ext
29979 cat >>conftest.$ac_ext <<_ACEOF
29980 /* end confdefs.h. */
29981
29982 /* Override any GCC internal prototype to avoid an error.
29983 Use char because int might match the return type of a GCC
29984 builtin and then its argument prototype would still apply. */
29985 #ifdef __cplusplus
29986 extern "C"
29987 #endif
29988 char IceConnectionNumber ();
29989 int
29990 main ()
29991 {
29992 return IceConnectionNumber ();
29993 ;
29994 return 0;
29995 }
29996 _ACEOF
29997 rm -f conftest.$ac_objext conftest$ac_exeext
29998 if { (ac_try="$ac_link"
29999 case "(($ac_try" in
30000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30001 *) ac_try_echo=$ac_try;;
30002 esac
30003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30004 (eval "$ac_link") 2>conftest.er1
30005 ac_status=$?
30006 grep -v '^ *+' conftest.er1 >conftest.err
30007 rm -f conftest.er1
30008 cat conftest.err >&5
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); } && {
30011 test -z "$ac_c_werror_flag" ||
30012 test ! -s conftest.err
30013 } && test -s conftest$ac_exeext &&
30014 $as_test_x conftest$ac_exeext; then
30015 ac_cv_lib_ICE_IceConnectionNumber=yes
30016 else
30017 echo "$as_me: failed program was:" >&5
30018 sed 's/^/| /' conftest.$ac_ext >&5
30019
30020 ac_cv_lib_ICE_IceConnectionNumber=no
30021 fi
30022
30023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30024 conftest$ac_exeext conftest.$ac_ext
30025 LIBS=$ac_check_lib_save_LIBS
30026 fi
30027 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30028 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30029 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30030 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30031 fi
30032
30033 LDFLAGS=$ac_save_LDFLAGS
30034
30035 fi
30036
30037
30038 if test "$no_x" = "yes"; then
30039 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30040 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30041 { (exit 1); exit 1; }; }
30042 fi
30043
30044 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30045 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30046 AFMINSTALL=afminstall
30047 COMPILED_X_PROGRAM=0
30048
30049 fi
30050
30051 if test "$wxUSE_X11" = 1; then
30052 if test "$wxUSE_NANOX" = "yes"; then
30053 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30054 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30055 if test "x$MICROWIN" = x ; then
30056 { echo "$as_me:$LINENO: result: not found" >&5
30057 echo "${ECHO_T}not found" >&6; }
30058 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30059 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30060 { (exit 1); exit 1; }; }
30061 else
30062 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30063 echo "${ECHO_T}$MICROWIN" >&6; }
30064 cat >>confdefs.h <<\_ACEOF
30065 #define wxUSE_NANOX 1
30066 _ACEOF
30067
30068 fi
30069 fi
30070
30071 if test "$wxUSE_UNICODE" = "yes"; then
30072
30073
30074 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30075 if test -n "$ac_tool_prefix"; then
30076 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30077 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30080 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30081 echo $ECHO_N "(cached) $ECHO_C" >&6
30082 else
30083 case $PKG_CONFIG in
30084 [\\/]* | ?:[\\/]*)
30085 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30086 ;;
30087 *)
30088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30089 for as_dir in $PATH
30090 do
30091 IFS=$as_save_IFS
30092 test -z "$as_dir" && as_dir=.
30093 for ac_exec_ext in '' $ac_executable_extensions; do
30094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30095 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30097 break 2
30098 fi
30099 done
30100 done
30101 IFS=$as_save_IFS
30102
30103 ;;
30104 esac
30105 fi
30106 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30107 if test -n "$PKG_CONFIG"; then
30108 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30109 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30110 else
30111 { echo "$as_me:$LINENO: result: no" >&5
30112 echo "${ECHO_T}no" >&6; }
30113 fi
30114
30115
30116 fi
30117 if test -z "$ac_cv_path_PKG_CONFIG"; then
30118 ac_pt_PKG_CONFIG=$PKG_CONFIG
30119 # Extract the first word of "pkg-config", so it can be a program name with args.
30120 set dummy pkg-config; ac_word=$2
30121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30123 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30124 echo $ECHO_N "(cached) $ECHO_C" >&6
30125 else
30126 case $ac_pt_PKG_CONFIG in
30127 [\\/]* | ?:[\\/]*)
30128 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30129 ;;
30130 *)
30131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30132 for as_dir in $PATH
30133 do
30134 IFS=$as_save_IFS
30135 test -z "$as_dir" && as_dir=.
30136 for ac_exec_ext in '' $ac_executable_extensions; do
30137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30138 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30140 break 2
30141 fi
30142 done
30143 done
30144 IFS=$as_save_IFS
30145
30146 ;;
30147 esac
30148 fi
30149 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30150 if test -n "$ac_pt_PKG_CONFIG"; then
30151 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30152 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30153 else
30154 { echo "$as_me:$LINENO: result: no" >&5
30155 echo "${ECHO_T}no" >&6; }
30156 fi
30157
30158 if test "x$ac_pt_PKG_CONFIG" = x; then
30159 PKG_CONFIG=""
30160 else
30161 case $cross_compiling:$ac_tool_warned in
30162 yes:)
30163 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30164 whose name does not start with the host triplet. If you think this
30165 configuration is useful to you, please write to autoconf@gnu.org." >&5
30166 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30167 whose name does not start with the host triplet. If you think this
30168 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30169 ac_tool_warned=yes ;;
30170 esac
30171 PKG_CONFIG=$ac_pt_PKG_CONFIG
30172 fi
30173 else
30174 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30175 fi
30176
30177 fi
30178 if test -n "$PKG_CONFIG"; then
30179 _pkg_min_version=0.9.0
30180 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30181 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30182 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30183 { echo "$as_me:$LINENO: result: yes" >&5
30184 echo "${ECHO_T}yes" >&6; }
30185 else
30186 { echo "$as_me:$LINENO: result: no" >&5
30187 echo "${ECHO_T}no" >&6; }
30188 PKG_CONFIG=""
30189 fi
30190
30191 fi
30192
30193
30194 pkg_failed=no
30195 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30196 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30197
30198 if test -n "$PKG_CONFIG"; then
30199 if test -n "$PANGOX_CFLAGS"; then
30200 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30201 else
30202 if test -n "$PKG_CONFIG" && \
30203 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30204 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30205 ac_status=$?
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; then
30208 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30209 else
30210 pkg_failed=yes
30211 fi
30212 fi
30213 else
30214 pkg_failed=untried
30215 fi
30216 if test -n "$PKG_CONFIG"; then
30217 if test -n "$PANGOX_LIBS"; then
30218 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30219 else
30220 if test -n "$PKG_CONFIG" && \
30221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30222 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30223 ac_status=$?
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; then
30226 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30227 else
30228 pkg_failed=yes
30229 fi
30230 fi
30231 else
30232 pkg_failed=untried
30233 fi
30234
30235
30236
30237 if test $pkg_failed = yes; then
30238
30239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30240 _pkg_short_errors_supported=yes
30241 else
30242 _pkg_short_errors_supported=no
30243 fi
30244 if test $_pkg_short_errors_supported = yes; then
30245 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30246 else
30247 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30248 fi
30249 # Put the nasty error message in config.log where it belongs
30250 echo "$PANGOX_PKG_ERRORS" >&5
30251
30252
30253 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30254 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30255 { (exit 1); exit 1; }; }
30256
30257
30258 elif test $pkg_failed = untried; then
30259
30260 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30261 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30262 { (exit 1); exit 1; }; }
30263
30264
30265 else
30266 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30267 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30268 { echo "$as_me:$LINENO: result: yes" >&5
30269 echo "${ECHO_T}yes" >&6; }
30270
30271 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30272 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30274
30275 fi
30276
30277 pkg_failed=no
30278 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30279 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30280
30281 if test -n "$PKG_CONFIG"; then
30282 if test -n "$PANGOFT2_CFLAGS"; then
30283 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30284 else
30285 if test -n "$PKG_CONFIG" && \
30286 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30287 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30288 ac_status=$?
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); }; then
30291 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30292 else
30293 pkg_failed=yes
30294 fi
30295 fi
30296 else
30297 pkg_failed=untried
30298 fi
30299 if test -n "$PKG_CONFIG"; then
30300 if test -n "$PANGOFT2_LIBS"; then
30301 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30302 else
30303 if test -n "$PKG_CONFIG" && \
30304 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30305 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; then
30309 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30310 else
30311 pkg_failed=yes
30312 fi
30313 fi
30314 else
30315 pkg_failed=untried
30316 fi
30317
30318
30319
30320 if test $pkg_failed = yes; then
30321
30322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30323 _pkg_short_errors_supported=yes
30324 else
30325 _pkg_short_errors_supported=no
30326 fi
30327 if test $_pkg_short_errors_supported = yes; then
30328 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30329 else
30330 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30331 fi
30332 # Put the nasty error message in config.log where it belongs
30333 echo "$PANGOFT2_PKG_ERRORS" >&5
30334
30335
30336 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30337 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30338 wxUSE_PRINTING_ARCHITECTURE="no"
30339
30340
30341 elif test $pkg_failed = untried; then
30342
30343 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30344 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30345 wxUSE_PRINTING_ARCHITECTURE="no"
30346
30347
30348 else
30349 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30350 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30351 { echo "$as_me:$LINENO: result: yes" >&5
30352 echo "${ECHO_T}yes" >&6; }
30353
30354 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30355 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30357
30358 fi
30359
30360 pkg_failed=no
30361 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30362 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30363
30364 if test -n "$PKG_CONFIG"; then
30365 if test -n "$PANGOXFT_CFLAGS"; then
30366 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30367 else
30368 if test -n "$PKG_CONFIG" && \
30369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30370 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30371 ac_status=$?
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); }; then
30374 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30375 else
30376 pkg_failed=yes
30377 fi
30378 fi
30379 else
30380 pkg_failed=untried
30381 fi
30382 if test -n "$PKG_CONFIG"; then
30383 if test -n "$PANGOXFT_LIBS"; then
30384 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30385 else
30386 if test -n "$PKG_CONFIG" && \
30387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30388 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30389 ac_status=$?
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; then
30392 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30393 else
30394 pkg_failed=yes
30395 fi
30396 fi
30397 else
30398 pkg_failed=untried
30399 fi
30400
30401
30402
30403 if test $pkg_failed = yes; then
30404
30405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30406 _pkg_short_errors_supported=yes
30407 else
30408 _pkg_short_errors_supported=no
30409 fi
30410 if test $_pkg_short_errors_supported = yes; then
30411 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30412 else
30413 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30414 fi
30415 # Put the nasty error message in config.log where it belongs
30416 echo "$PANGOXFT_PKG_ERRORS" >&5
30417
30418
30419 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30420 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30421
30422
30423 elif test $pkg_failed = untried; then
30424
30425 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30426 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30427
30428
30429 else
30430 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30431 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30432 { echo "$as_me:$LINENO: result: yes" >&5
30433 echo "${ECHO_T}yes" >&6; }
30434
30435 cat >>confdefs.h <<\_ACEOF
30436 #define HAVE_PANGO_XFT 1
30437 _ACEOF
30438
30439 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30440 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30441 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30442
30443 fi
30444 save_LIBS="$LIBS"
30445 LIBS="$LIBS $PANGOX_LIBS"
30446
30447 for ac_func in pango_font_family_is_monospace
30448 do
30449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30450 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30452 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 else
30455 cat >conftest.$ac_ext <<_ACEOF
30456 /* confdefs.h. */
30457 _ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30463 #define $ac_func innocuous_$ac_func
30464
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char $ac_func (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30469
30470 #ifdef __STDC__
30471 # include <limits.h>
30472 #else
30473 # include <assert.h>
30474 #endif
30475
30476 #undef $ac_func
30477
30478 /* Override any GCC internal prototype to avoid an error.
30479 Use char because int might match the return type of a GCC
30480 builtin and then its argument prototype would still apply. */
30481 #ifdef __cplusplus
30482 extern "C"
30483 #endif
30484 char $ac_func ();
30485 /* The GNU C library defines this for functions which it implements
30486 to always fail with ENOSYS. Some functions are actually named
30487 something starting with __ and the normal name is an alias. */
30488 #if defined __stub_$ac_func || defined __stub___$ac_func
30489 choke me
30490 #endif
30491
30492 int
30493 main ()
30494 {
30495 return $ac_func ();
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 rm -f conftest.$ac_objext conftest$ac_exeext
30501 if { (ac_try="$ac_link"
30502 case "(($ac_try" in
30503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30504 *) ac_try_echo=$ac_try;;
30505 esac
30506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30507 (eval "$ac_link") 2>conftest.er1
30508 ac_status=$?
30509 grep -v '^ *+' conftest.er1 >conftest.err
30510 rm -f conftest.er1
30511 cat conftest.err >&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); } && {
30514 test -z "$ac_c_werror_flag" ||
30515 test ! -s conftest.err
30516 } && test -s conftest$ac_exeext &&
30517 $as_test_x conftest$ac_exeext; then
30518 eval "$as_ac_var=yes"
30519 else
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.$ac_ext >&5
30522
30523 eval "$as_ac_var=no"
30524 fi
30525
30526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30527 conftest$ac_exeext conftest.$ac_ext
30528 fi
30529 ac_res=`eval echo '${'$as_ac_var'}'`
30530 { echo "$as_me:$LINENO: result: $ac_res" >&5
30531 echo "${ECHO_T}$ac_res" >&6; }
30532 if test `eval echo '${'$as_ac_var'}'` = yes; then
30533 cat >>confdefs.h <<_ACEOF
30534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30535 _ACEOF
30536
30537 fi
30538 done
30539
30540 LIBS="$save_LIBS"
30541 fi
30542
30543 wxUSE_UNIVERSAL="yes"
30544
30545 if test "$wxUSE_NANOX" = "yes"; then
30546 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30547 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"
30548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30549 else
30550 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30551 fi
30552
30553 TOOLKIT=X11
30554 GUIDIST=X11_DIST
30555 fi
30556
30557 if test "$wxUSE_MOTIF" = 1; then
30558 if test "$wxUSE_UNICODE" = "yes"; then
30559 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30560 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30561 { (exit 1); exit 1; }; }
30562 fi
30563
30564 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30565 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30566
30567 ac_find_includes=
30568 for ac_dir in $SEARCH_INCLUDE /usr/include;
30569 do
30570 if test -f "$ac_dir/Xm/Xm.h"; then
30571 ac_find_includes=$ac_dir
30572 break
30573 fi
30574 done
30575
30576 if test "$ac_find_includes" != "" ; then
30577 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30578 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30579
30580 if test "x$ac_find_includes" = "x/usr/include"; then
30581 ac_path_to_include=""
30582 else
30583 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30584 result=$?
30585 if test $result = 0; then
30586 ac_path_to_include=""
30587 else
30588 ac_path_to_include=" -I$ac_find_includes"
30589 fi
30590 fi
30591
30592 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30593 else
30594 save_CFLAGS=$CFLAGS
30595 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30596
30597 cat >conftest.$ac_ext <<_ACEOF
30598 /* confdefs.h. */
30599 _ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30603
30604 #include <Xm/Xm.h>
30605
30606 int
30607 main ()
30608 {
30609
30610 int version;
30611 version = xmUseVersion;
30612
30613 ;
30614 return 0;
30615 }
30616 _ACEOF
30617 rm -f conftest.$ac_objext
30618 if { (ac_try="$ac_compile"
30619 case "(($ac_try" in
30620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30621 *) ac_try_echo=$ac_try;;
30622 esac
30623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30624 (eval "$ac_compile") 2>conftest.er1
30625 ac_status=$?
30626 grep -v '^ *+' conftest.er1 >conftest.err
30627 rm -f conftest.er1
30628 cat conftest.err >&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); } && {
30631 test -z "$ac_c_werror_flag" ||
30632 test ! -s conftest.err
30633 } && test -s conftest.$ac_objext; then
30634
30635 { echo "$as_me:$LINENO: result: found in default search path" >&5
30636 echo "${ECHO_T}found in default search path" >&6; }
30637 COMPILED_X_PROGRAM=1
30638
30639 else
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.$ac_ext >&5
30642
30643
30644 { echo "$as_me:$LINENO: result: no" >&5
30645 echo "${ECHO_T}no" >&6; }
30646 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30647 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30648 { (exit 1); exit 1; }; }
30649
30650
30651 fi
30652
30653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30654
30655 CFLAGS=$save_CFLAGS
30656 fi
30657
30658
30659 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30660 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30661
30662 ac_find_libraries=
30663 for ac_dir in $SEARCH_LIB;
30664 do
30665 for ac_extension in a so sl dylib dll.a; do
30666 if test -f "$ac_dir/libXm.$ac_extension"; then
30667 ac_find_libraries=$ac_dir
30668 break 2
30669 fi
30670 done
30671 done
30672
30673
30674 if test "x$ac_find_libraries" != "x" ; then
30675 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30676 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30677
30678
30679 if test "$ac_find_libraries" = "default location"; then
30680 ac_path_to_link=""
30681 else
30682 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30683 result=$?
30684 if test $result = 0; then
30685 ac_path_to_link=""
30686 else
30687 ac_path_to_link=" -L$ac_find_libraries"
30688 fi
30689 fi
30690
30691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30692 else
30693 save_CFLAGS=$CFLAGS
30694 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30695 save_LIBS="$LIBS"
30696 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30697
30698 cat >conftest.$ac_ext <<_ACEOF
30699 /* confdefs.h. */
30700 _ACEOF
30701 cat confdefs.h >>conftest.$ac_ext
30702 cat >>conftest.$ac_ext <<_ACEOF
30703 /* end confdefs.h. */
30704
30705 #include <Xm/Xm.h>
30706
30707 int
30708 main ()
30709 {
30710
30711 int version;
30712 version = xmUseVersion;
30713
30714 ;
30715 return 0;
30716 }
30717 _ACEOF
30718 rm -f conftest.$ac_objext conftest$ac_exeext
30719 if { (ac_try="$ac_link"
30720 case "(($ac_try" in
30721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30722 *) ac_try_echo=$ac_try;;
30723 esac
30724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30725 (eval "$ac_link") 2>conftest.er1
30726 ac_status=$?
30727 grep -v '^ *+' conftest.er1 >conftest.err
30728 rm -f conftest.er1
30729 cat conftest.err >&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } && {
30732 test -z "$ac_c_werror_flag" ||
30733 test ! -s conftest.err
30734 } && test -s conftest$ac_exeext &&
30735 $as_test_x conftest$ac_exeext; then
30736
30737 { echo "$as_me:$LINENO: result: found in default search path" >&5
30738 echo "${ECHO_T}found in default search path" >&6; }
30739 COMPILED_X_PROGRAM=1
30740
30741 else
30742 echo "$as_me: failed program was:" >&5
30743 sed 's/^/| /' conftest.$ac_ext >&5
30744
30745
30746 { echo "$as_me:$LINENO: result: no" >&5
30747 echo "${ECHO_T}no" >&6; }
30748 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30749 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30750 { (exit 1); exit 1; }; }
30751
30752
30753 fi
30754
30755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30756 conftest$ac_exeext conftest.$ac_ext
30757
30758 CFLAGS=$save_CFLAGS
30759 LIBS="$save_LIBS"
30760 fi
30761
30762 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30763 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30764 libp_link=""
30765 libsm_ice_link=""
30766 libs_found=0
30767 for libp in "" " -lXp"; do
30768 if test "$libs_found" = "0"; then
30769 for libsm_ice in "" " -lSM -lICE"; do
30770 if test "$libs_found" = "0"; then
30771 save_LIBS="$LIBS"
30772 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30773 save_CFLAGS=$CFLAGS
30774 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30775
30776 cat >conftest.$ac_ext <<_ACEOF
30777 /* confdefs.h. */
30778 _ACEOF
30779 cat confdefs.h >>conftest.$ac_ext
30780 cat >>conftest.$ac_ext <<_ACEOF
30781 /* end confdefs.h. */
30782
30783 #include <Xm/Xm.h>
30784 #include <Xm/List.h>
30785
30786 int
30787 main ()
30788 {
30789
30790 XmString string = NULL;
30791 Widget w = NULL;
30792 int position = 0;
30793 XmListAddItem(w, string, position);
30794
30795 ;
30796 return 0;
30797 }
30798 _ACEOF
30799 rm -f conftest.$ac_objext conftest$ac_exeext
30800 if { (ac_try="$ac_link"
30801 case "(($ac_try" in
30802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30803 *) ac_try_echo=$ac_try;;
30804 esac
30805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30806 (eval "$ac_link") 2>conftest.er1
30807 ac_status=$?
30808 grep -v '^ *+' conftest.er1 >conftest.err
30809 rm -f conftest.er1
30810 cat conftest.err >&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); } && {
30813 test -z "$ac_c_werror_flag" ||
30814 test ! -s conftest.err
30815 } && test -s conftest$ac_exeext &&
30816 $as_test_x conftest$ac_exeext; then
30817
30818 libp_link="$libp"
30819 libsm_ice_link="$libsm_ice"
30820 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30821 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30822 libs_found=1
30823
30824 else
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.$ac_ext >&5
30827
30828
30829
30830 fi
30831
30832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30833 conftest$ac_exeext conftest.$ac_ext
30834
30835 LIBS="$save_LIBS"
30836 CFLAGS=$save_CFLAGS
30837 fi
30838 done
30839 fi
30840 done
30841
30842 if test "$libs_found" = "0"; then
30843 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30844 echo "${ECHO_T}can't find the right libraries" >&6; }
30845 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30846 echo "$as_me: error: can't link a simple motif program" >&2;}
30847 { (exit 1); exit 1; }; }
30848 fi
30849
30850 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30851 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30852 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30853 echo $ECHO_N "(cached) $ECHO_C" >&6
30854 else
30855 ac_check_lib_save_LIBS=$LIBS
30856 LIBS="-lSgm $LIBS"
30857 cat >conftest.$ac_ext <<_ACEOF
30858 /* confdefs.h. */
30859 _ACEOF
30860 cat confdefs.h >>conftest.$ac_ext
30861 cat >>conftest.$ac_ext <<_ACEOF
30862 /* end confdefs.h. */
30863
30864 /* Override any GCC internal prototype to avoid an error.
30865 Use char because int might match the return type of a GCC
30866 builtin and then its argument prototype would still apply. */
30867 #ifdef __cplusplus
30868 extern "C"
30869 #endif
30870 char SgCreateList ();
30871 int
30872 main ()
30873 {
30874 return SgCreateList ();
30875 ;
30876 return 0;
30877 }
30878 _ACEOF
30879 rm -f conftest.$ac_objext conftest$ac_exeext
30880 if { (ac_try="$ac_link"
30881 case "(($ac_try" in
30882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30883 *) ac_try_echo=$ac_try;;
30884 esac
30885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30886 (eval "$ac_link") 2>conftest.er1
30887 ac_status=$?
30888 grep -v '^ *+' conftest.er1 >conftest.err
30889 rm -f conftest.er1
30890 cat conftest.err >&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } && {
30893 test -z "$ac_c_werror_flag" ||
30894 test ! -s conftest.err
30895 } && test -s conftest$ac_exeext &&
30896 $as_test_x conftest$ac_exeext; then
30897 ac_cv_lib_Sgm_SgCreateList=yes
30898 else
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.$ac_ext >&5
30901
30902 ac_cv_lib_Sgm_SgCreateList=no
30903 fi
30904
30905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30906 conftest$ac_exeext conftest.$ac_ext
30907 LIBS=$ac_check_lib_save_LIBS
30908 fi
30909 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30910 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30911 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30912 libsgm_link=" -lSgm"
30913 fi
30914
30915
30916 save_CFLAGS=$CFLAGS
30917 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30918
30919 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30920 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30921 if test "${wx_cv_lib_motif2+set}" = set; then
30922 echo $ECHO_N "(cached) $ECHO_C" >&6
30923 else
30924 cat >conftest.$ac_ext <<_ACEOF
30925 /* confdefs.h. */
30926 _ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h. */
30930
30931 #include <Xm/Xm.h>
30932
30933 int
30934 main ()
30935 {
30936
30937 #if XmVersion < 2000
30938 Not Motif 2
30939 #endif
30940
30941 ;
30942 return 0;
30943 }
30944 _ACEOF
30945 rm -f conftest.$ac_objext
30946 if { (ac_try="$ac_compile"
30947 case "(($ac_try" in
30948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30949 *) ac_try_echo=$ac_try;;
30950 esac
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_compile") 2>conftest.er1
30953 ac_status=$?
30954 grep -v '^ *+' conftest.er1 >conftest.err
30955 rm -f conftest.er1
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest.$ac_objext; then
30962 wx_cv_lib_motif2="yes"
30963 else
30964 echo "$as_me: failed program was:" >&5
30965 sed 's/^/| /' conftest.$ac_ext >&5
30966
30967 wx_cv_lib_motif2="no"
30968 fi
30969
30970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30971 fi
30972 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30973 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30974 if test "$wx_cv_lib_motif2" = "yes"; then
30975 cat >>confdefs.h <<\_ACEOF
30976 #define __WXMOTIF20__ 1
30977 _ACEOF
30978
30979 else
30980 cat >>confdefs.h <<\_ACEOF
30981 #define __WXMOTIF20__ 0
30982 _ACEOF
30983
30984 fi
30985
30986 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30987 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30988 if test "${wx_cv_lib_lesstif+set}" = set; then
30989 echo $ECHO_N "(cached) $ECHO_C" >&6
30990 else
30991 cat >conftest.$ac_ext <<_ACEOF
30992 /* confdefs.h. */
30993 _ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30997
30998 #include <Xm/Xm.h>
30999
31000 int
31001 main ()
31002 {
31003
31004 #if !defined(LesstifVersion) || LesstifVersion <= 0
31005 Not Lesstif
31006 #endif
31007
31008 ;
31009 return 0;
31010 }
31011 _ACEOF
31012 rm -f conftest.$ac_objext
31013 if { (ac_try="$ac_compile"
31014 case "(($ac_try" in
31015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31016 *) ac_try_echo=$ac_try;;
31017 esac
31018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31019 (eval "$ac_compile") 2>conftest.er1
31020 ac_status=$?
31021 grep -v '^ *+' conftest.er1 >conftest.err
31022 rm -f conftest.er1
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } && {
31026 test -z "$ac_c_werror_flag" ||
31027 test ! -s conftest.err
31028 } && test -s conftest.$ac_objext; then
31029 wx_cv_lib_lesstif="yes"
31030 else
31031 echo "$as_me: failed program was:" >&5
31032 sed 's/^/| /' conftest.$ac_ext >&5
31033
31034 wx_cv_lib_lesstif="no"
31035 fi
31036
31037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31038
31039 fi
31040 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31041 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31042 if test "$wx_cv_lib_lesstif" = "yes"; then
31043 cat >>confdefs.h <<\_ACEOF
31044 #define __WXLESSTIF__ 1
31045 _ACEOF
31046
31047 else
31048 cat >>confdefs.h <<\_ACEOF
31049 #define __WXLESSTIF__ 0
31050 _ACEOF
31051
31052 fi
31053
31054 CFLAGS=$save_CFLAGS
31055
31056 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31057 TOOLKIT=MOTIF
31058 GUIDIST=MOTIF_DIST
31059 fi
31060
31061 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31062 if test "$wxUSE_LIBXPM" = "sys"; then
31063 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31064 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31065
31066 ac_find_libraries=
31067 for ac_dir in $SEARCH_LIB;
31068 do
31069 for ac_extension in a so sl dylib dll.a; do
31070 if test -f "$ac_dir/libXpm.$ac_extension"; then
31071 ac_find_libraries=$ac_dir
31072 break 2
31073 fi
31074 done
31075 done
31076
31077 if test "$ac_find_libraries" != "" ; then
31078
31079 if test "$ac_find_libraries" = "default location"; then
31080 ac_path_to_link=""
31081 else
31082 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31083 result=$?
31084 if test $result = 0; then
31085 ac_path_to_link=""
31086 else
31087 ac_path_to_link=" -L$ac_find_libraries"
31088 fi
31089 fi
31090
31091 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31092 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31093 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31094
31095 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31096 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31097 if test "${wx_cv_x11_xpm_h+set}" = set; then
31098 echo $ECHO_N "(cached) $ECHO_C" >&6
31099 else
31100
31101 save_CFLAGS=$CFLAGS
31102 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31103
31104 cat >conftest.$ac_ext <<_ACEOF
31105 /* confdefs.h. */
31106 _ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110
31111 #include <X11/xpm.h>
31112
31113 int
31114 main ()
31115 {
31116
31117 int version;
31118 version = XpmLibraryVersion();
31119
31120 ;
31121 return 0;
31122 }
31123 _ACEOF
31124 rm -f conftest.$ac_objext
31125 if { (ac_try="$ac_compile"
31126 case "(($ac_try" in
31127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31128 *) ac_try_echo=$ac_try;;
31129 esac
31130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31131 (eval "$ac_compile") 2>conftest.er1
31132 ac_status=$?
31133 grep -v '^ *+' conftest.er1 >conftest.err
31134 rm -f conftest.er1
31135 cat conftest.err >&5
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); } && {
31138 test -z "$ac_c_werror_flag" ||
31139 test ! -s conftest.err
31140 } && test -s conftest.$ac_objext; then
31141 wx_cv_x11_xpm_h=yes
31142 else
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.$ac_ext >&5
31145
31146 wx_cv_x11_xpm_h=no
31147
31148 fi
31149
31150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31151
31152 CFLAGS=$save_CFLAGS
31153
31154
31155 fi
31156 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31157 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31158
31159 if test $wx_cv_x11_xpm_h = "yes"; then
31160 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31161 cat >>confdefs.h <<\_ACEOF
31162 #define wxHAVE_LIB_XPM 1
31163 _ACEOF
31164
31165 else
31166 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31167 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31168 fi
31169 fi
31170
31171 fi
31172
31173 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31174 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31175 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 else
31178 ac_check_lib_save_LIBS=$LIBS
31179 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31180 cat >conftest.$ac_ext <<_ACEOF
31181 /* confdefs.h. */
31182 _ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31186
31187 /* Override any GCC internal prototype to avoid an error.
31188 Use char because int might match the return type of a GCC
31189 builtin and then its argument prototype would still apply. */
31190 #ifdef __cplusplus
31191 extern "C"
31192 #endif
31193 char XShapeQueryExtension ();
31194 int
31195 main ()
31196 {
31197 return XShapeQueryExtension ();
31198 ;
31199 return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext conftest$ac_exeext
31203 if { (ac_try="$ac_link"
31204 case "(($ac_try" in
31205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31207 esac
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_link") 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } && {
31216 test -z "$ac_c_werror_flag" ||
31217 test ! -s conftest.err
31218 } && test -s conftest$ac_exeext &&
31219 $as_test_x conftest$ac_exeext; then
31220 ac_cv_lib_Xext_XShapeQueryExtension=yes
31221 else
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31224
31225 ac_cv_lib_Xext_XShapeQueryExtension=no
31226 fi
31227
31228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31229 conftest$ac_exeext conftest.$ac_ext
31230 LIBS=$ac_check_lib_save_LIBS
31231 fi
31232 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31233 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31234 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31235
31236 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31237 wxHAVE_XEXT_LIB=1
31238
31239 fi
31240
31241
31242 if test "$wxHAVE_XEXT_LIB" = 1; then
31243 save_CFLAGS="$CFLAGS"
31244 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31245
31246 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31247 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31248 cat >conftest.$ac_ext <<_ACEOF
31249 /* confdefs.h. */
31250 _ACEOF
31251 cat confdefs.h >>conftest.$ac_ext
31252 cat >>conftest.$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31254
31255 #include <X11/Xlib.h>
31256 #include <X11/extensions/shape.h>
31257
31258 int
31259 main ()
31260 {
31261
31262 int dummy1, dummy2;
31263 XShapeQueryExtension((Display*)NULL,
31264 (int*)NULL, (int*)NULL);
31265
31266 ;
31267 return 0;
31268 }
31269 _ACEOF
31270 rm -f conftest.$ac_objext
31271 if { (ac_try="$ac_compile"
31272 case "(($ac_try" in
31273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31274 *) ac_try_echo=$ac_try;;
31275 esac
31276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31277 (eval "$ac_compile") 2>conftest.er1
31278 ac_status=$?
31279 grep -v '^ *+' conftest.er1 >conftest.err
31280 rm -f conftest.er1
31281 cat conftest.err >&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); } && {
31284 test -z "$ac_c_werror_flag" ||
31285 test ! -s conftest.err
31286 } && test -s conftest.$ac_objext; then
31287
31288 cat >>confdefs.h <<\_ACEOF
31289 #define HAVE_XSHAPE 1
31290 _ACEOF
31291
31292 { echo "$as_me:$LINENO: result: found" >&5
31293 echo "${ECHO_T}found" >&6; }
31294
31295 else
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.$ac_ext >&5
31298
31299
31300 { echo "$as_me:$LINENO: result: not found" >&5
31301 echo "${ECHO_T}not found" >&6; }
31302
31303 fi
31304
31305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31306 CFLAGS="$save_CFLAGS"
31307
31308 fi
31309 fi
31310
31311 if test "$wxUSE_MAC" = 1; then
31312 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31313 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31314 if test "$GCC" = yes; then
31315 { echo "$as_me:$LINENO: result: gcc" >&5
31316 echo "${ECHO_T}gcc" >&6; }
31317 CPPFLAGS_PASCAL="-fpascal-strings"
31318 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31319 { echo "$as_me:$LINENO: result: xlc" >&5
31320 echo "${ECHO_T}xlc" >&6; }
31321 CPPFLAGS_PASCAL="-qmacpstr"
31322 else
31323 { echo "$as_me:$LINENO: result: none" >&5
31324 echo "${ECHO_T}none" >&6; }
31325 fi
31326
31327 if test "x$wxUSE_UNIX" = "xyes"; then
31328 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31329 else
31330 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31331 fi
31332
31333 TOOLKIT=MAC
31334 GUIDIST=MACX_DIST
31335 WXBASEPORT="_carbon"
31336 fi
31337
31338 if test "$wxUSE_COCOA" = 1; then
31339 TOOLKIT=COCOA
31340 GUIDIST=COCOA_DIST
31341 fi
31342
31343 if test "$wxUSE_PM" = 1; then
31344 TOOLKIT=PM
31345 GUIDIST=PM_DIST
31346 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31347 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31348 if test "${wx_cv_spbcdata+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 else
31351
31352 cat >conftest.$ac_ext <<_ACEOF
31353 /* confdefs.h. */
31354 _ACEOF
31355 cat confdefs.h >>conftest.$ac_ext
31356 cat >>conftest.$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31358
31359 #define INCL_PM
31360 #include <os2.h>
31361
31362 int
31363 main ()
31364 {
31365
31366 SPBCDATA test;
31367
31368 ;
31369 return 0;
31370 }
31371 _ACEOF
31372 rm -f conftest.$ac_objext
31373 if { (ac_try="$ac_compile"
31374 case "(($ac_try" in
31375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31376 *) ac_try_echo=$ac_try;;
31377 esac
31378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31379 (eval "$ac_compile") 2>conftest.er1
31380 ac_status=$?
31381 grep -v '^ *+' conftest.er1 >conftest.err
31382 rm -f conftest.er1
31383 cat conftest.err >&5
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); } && {
31386 test -z "$ac_c_werror_flag" ||
31387 test ! -s conftest.err
31388 } && test -s conftest.$ac_objext; then
31389 wx_cv_spbcdata=yes
31390 else
31391 echo "$as_me: failed program was:" >&5
31392 sed 's/^/| /' conftest.$ac_ext >&5
31393
31394 wx_cv_spbcdata=no
31395
31396 fi
31397
31398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31399
31400
31401 fi
31402 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31403 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31404
31405 if test $wx_cv_spbcdata = "yes"; then
31406 cat >>confdefs.h <<\_ACEOF
31407 #define HAVE_SPBCDATA 1
31408 _ACEOF
31409
31410 fi
31411 fi
31412
31413 if test "$TOOLKIT" = "PM" ; then
31414 TOOLKIT_DIR="os2"
31415 else
31416 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31417 fi
31418
31419 if test "$wxUSE_UNIVERSAL" = "yes"; then
31420 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31421 WIDGET_SET=univ
31422 fi
31423
31424 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31425 DISTDIR="wx\$(TOOLKIT)"
31426 else
31427 USE_GUI=0
31428
31429 TOOLKIT_DIR="base"
31430
31431 if test "$USE_WIN32" = 1 ; then
31432 TOOLKIT="MSW"
31433 fi
31434
31435 GUIDIST="BASE_DIST"
31436 DISTDIR="wxBase"
31437 fi
31438
31439
31440 if test "$wxUSE_GUI" = "yes"; then
31441 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31442 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31443 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31444 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31446 else
31447 cat >conftest.$ac_ext <<_ACEOF
31448 /* confdefs.h. */
31449 _ACEOF
31450 cat confdefs.h >>conftest.$ac_ext
31451 cat >>conftest.$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31453
31454
31455 #include <X11/Xlib.h>
31456 _ACEOF
31457 rm -f conftest.$ac_objext
31458 if { (ac_try="$ac_compile"
31459 case "(($ac_try" in
31460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31461 *) ac_try_echo=$ac_try;;
31462 esac
31463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31464 (eval "$ac_compile") 2>conftest.er1
31465 ac_status=$?
31466 grep -v '^ *+' conftest.er1 >conftest.err
31467 rm -f conftest.er1
31468 cat conftest.err >&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } && {
31471 test -z "$ac_c_werror_flag" ||
31472 test ! -s conftest.err
31473 } && test -s conftest.$ac_objext; then
31474 ac_cv_header_X11_Xlib_h=yes
31475 else
31476 echo "$as_me: failed program was:" >&5
31477 sed 's/^/| /' conftest.$ac_ext >&5
31478
31479 ac_cv_header_X11_Xlib_h=no
31480 fi
31481
31482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31483 fi
31484 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31485 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31486
31487
31488 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31489 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31490 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31491 echo $ECHO_N "(cached) $ECHO_C" >&6
31492 else
31493 cat >conftest.$ac_ext <<_ACEOF
31494 /* confdefs.h. */
31495 _ACEOF
31496 cat confdefs.h >>conftest.$ac_ext
31497 cat >>conftest.$ac_ext <<_ACEOF
31498 /* end confdefs.h. */
31499
31500 #if HAVE_X11_XLIB_H
31501 #include <X11/Xlib.h>
31502 #endif
31503
31504
31505 #include <X11/XKBlib.h>
31506 _ACEOF
31507 rm -f conftest.$ac_objext
31508 if { (ac_try="$ac_compile"
31509 case "(($ac_try" in
31510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31511 *) ac_try_echo=$ac_try;;
31512 esac
31513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31514 (eval "$ac_compile") 2>conftest.er1
31515 ac_status=$?
31516 grep -v '^ *+' conftest.er1 >conftest.err
31517 rm -f conftest.er1
31518 cat conftest.err >&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); } && {
31521 test -z "$ac_c_werror_flag" ||
31522 test ! -s conftest.err
31523 } && test -s conftest.$ac_objext; then
31524 ac_cv_header_X11_XKBlib_h=yes
31525 else
31526 echo "$as_me: failed program was:" >&5
31527 sed 's/^/| /' conftest.$ac_ext >&5
31528
31529 ac_cv_header_X11_XKBlib_h=no
31530 fi
31531
31532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31533 fi
31534 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31535 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31536
31537
31538 fi
31539 fi
31540
31541
31542
31543 IODBC_C_SRC=""
31544
31545
31546 if test "$TOOLKIT" != "MSW" ; then
31547
31548 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31549
31550 { echo "$as_me:$LINENO: checking for sql.h" >&5
31551 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31552 if test "${ac_cv_header_sql_h+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31554 else
31555 cat >conftest.$ac_ext <<_ACEOF
31556 /* confdefs.h. */
31557 _ACEOF
31558 cat confdefs.h >>conftest.$ac_ext
31559 cat >>conftest.$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31561
31562
31563 #include <sql.h>
31564 _ACEOF
31565 rm -f conftest.$ac_objext
31566 if { (ac_try="$ac_compile"
31567 case "(($ac_try" in
31568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31569 *) ac_try_echo=$ac_try;;
31570 esac
31571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31572 (eval "$ac_compile") 2>conftest.er1
31573 ac_status=$?
31574 grep -v '^ *+' conftest.er1 >conftest.err
31575 rm -f conftest.er1
31576 cat conftest.err >&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } && {
31579 test -z "$ac_c_werror_flag" ||
31580 test ! -s conftest.err
31581 } && test -s conftest.$ac_objext; then
31582 ac_cv_header_sql_h=yes
31583 else
31584 echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.$ac_ext >&5
31586
31587 ac_cv_header_sql_h=no
31588 fi
31589
31590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31591 fi
31592 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31593 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31594 if test $ac_cv_header_sql_h = yes; then
31595 found_sql_h=1
31596 fi
31597
31598
31599 if test "x$found_sql_h" = "x1" ; then
31600 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31601 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31602 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31603 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 else
31605 ac_check_lib_save_LIBS=$LIBS
31606 LIBS="-liodbc $LIBS"
31607 cat >conftest.$ac_ext <<_ACEOF
31608 /* confdefs.h. */
31609 _ACEOF
31610 cat confdefs.h >>conftest.$ac_ext
31611 cat >>conftest.$ac_ext <<_ACEOF
31612 /* end confdefs.h. */
31613
31614 /* Override any GCC internal prototype to avoid an error.
31615 Use char because int might match the return type of a GCC
31616 builtin and then its argument prototype would still apply. */
31617 #ifdef __cplusplus
31618 extern "C"
31619 #endif
31620 char SQLAllocEnv ();
31621 int
31622 main ()
31623 {
31624 return SQLAllocEnv ();
31625 ;
31626 return 0;
31627 }
31628 _ACEOF
31629 rm -f conftest.$ac_objext conftest$ac_exeext
31630 if { (ac_try="$ac_link"
31631 case "(($ac_try" in
31632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31633 *) ac_try_echo=$ac_try;;
31634 esac
31635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31636 (eval "$ac_link") 2>conftest.er1
31637 ac_status=$?
31638 grep -v '^ *+' conftest.er1 >conftest.err
31639 rm -f conftest.er1
31640 cat conftest.err >&5
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); } && {
31643 test -z "$ac_c_werror_flag" ||
31644 test ! -s conftest.err
31645 } && test -s conftest$ac_exeext &&
31646 $as_test_x conftest$ac_exeext; then
31647 ac_cv_lib_iodbc_SQLAllocEnv=yes
31648 else
31649 echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.$ac_ext >&5
31651
31652 ac_cv_lib_iodbc_SQLAllocEnv=no
31653 fi
31654
31655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31656 conftest$ac_exeext conftest.$ac_ext
31657 LIBS=$ac_check_lib_save_LIBS
31658 fi
31659 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31660 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31661 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31662 ODBC_LINK=" -liodbc"
31663 else
31664
31665 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31666 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31667 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31669 else
31670 ac_check_lib_save_LIBS=$LIBS
31671 LIBS="-lunixodbc $LIBS"
31672 cat >conftest.$ac_ext <<_ACEOF
31673 /* confdefs.h. */
31674 _ACEOF
31675 cat confdefs.h >>conftest.$ac_ext
31676 cat >>conftest.$ac_ext <<_ACEOF
31677 /* end confdefs.h. */
31678
31679 /* Override any GCC internal prototype to avoid an error.
31680 Use char because int might match the return type of a GCC
31681 builtin and then its argument prototype would still apply. */
31682 #ifdef __cplusplus
31683 extern "C"
31684 #endif
31685 char SQLAllocEnv ();
31686 int
31687 main ()
31688 {
31689 return SQLAllocEnv ();
31690 ;
31691 return 0;
31692 }
31693 _ACEOF
31694 rm -f conftest.$ac_objext conftest$ac_exeext
31695 if { (ac_try="$ac_link"
31696 case "(($ac_try" in
31697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31698 *) ac_try_echo=$ac_try;;
31699 esac
31700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31701 (eval "$ac_link") 2>conftest.er1
31702 ac_status=$?
31703 grep -v '^ *+' conftest.er1 >conftest.err
31704 rm -f conftest.er1
31705 cat conftest.err >&5
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); } && {
31708 test -z "$ac_c_werror_flag" ||
31709 test ! -s conftest.err
31710 } && test -s conftest$ac_exeext &&
31711 $as_test_x conftest$ac_exeext; then
31712 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31713 else
31714 echo "$as_me: failed program was:" >&5
31715 sed 's/^/| /' conftest.$ac_ext >&5
31716
31717 ac_cv_lib_unixodbc_SQLAllocEnv=no
31718 fi
31719
31720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31721 conftest$ac_exeext conftest.$ac_ext
31722 LIBS=$ac_check_lib_save_LIBS
31723 fi
31724 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31725 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31726 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31727 ODBC_LINK=" -lunixodbc"
31728 else
31729
31730 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31731 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31732 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31733 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 else
31735 ac_check_lib_save_LIBS=$LIBS
31736 LIBS="-lodbc $LIBS"
31737 cat >conftest.$ac_ext <<_ACEOF
31738 /* confdefs.h. */
31739 _ACEOF
31740 cat confdefs.h >>conftest.$ac_ext
31741 cat >>conftest.$ac_ext <<_ACEOF
31742 /* end confdefs.h. */
31743
31744 /* Override any GCC internal prototype to avoid an error.
31745 Use char because int might match the return type of a GCC
31746 builtin and then its argument prototype would still apply. */
31747 #ifdef __cplusplus
31748 extern "C"
31749 #endif
31750 char SQLAllocEnv ();
31751 int
31752 main ()
31753 {
31754 return SQLAllocEnv ();
31755 ;
31756 return 0;
31757 }
31758 _ACEOF
31759 rm -f conftest.$ac_objext conftest$ac_exeext
31760 if { (ac_try="$ac_link"
31761 case "(($ac_try" in
31762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31763 *) ac_try_echo=$ac_try;;
31764 esac
31765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31766 (eval "$ac_link") 2>conftest.er1
31767 ac_status=$?
31768 grep -v '^ *+' conftest.er1 >conftest.err
31769 rm -f conftest.er1
31770 cat conftest.err >&5
31771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772 (exit $ac_status); } && {
31773 test -z "$ac_c_werror_flag" ||
31774 test ! -s conftest.err
31775 } && test -s conftest$ac_exeext &&
31776 $as_test_x conftest$ac_exeext; then
31777 ac_cv_lib_odbc_SQLAllocEnv=yes
31778 else
31779 echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.$ac_ext >&5
31781
31782 ac_cv_lib_odbc_SQLAllocEnv=no
31783 fi
31784
31785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31786 conftest$ac_exeext conftest.$ac_ext
31787 LIBS=$ac_check_lib_save_LIBS
31788 fi
31789 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31790 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31791 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31792 ODBC_LINK=" -lodbc"
31793 fi
31794
31795
31796 fi
31797
31798
31799 fi
31800
31801 fi
31802 if test "x$ODBC_LINK" = "x" ; then
31803 if test "$wxUSE_ODBC" = "sys" ; then
31804 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31805 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31806 { (exit 1); exit 1; }; }
31807 else
31808 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31809 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31810 wxUSE_ODBC=builtin
31811 fi
31812 else
31813 wxUSE_ODBC=sys
31814 fi
31815 fi
31816
31817 if test "$wxUSE_ODBC" = "builtin" ; then
31818 cat >>confdefs.h <<\_ACEOF
31819 #define wxUSE_BUILTIN_IODBC 1
31820 _ACEOF
31821
31822 fi
31823 fi
31824
31825 if test "$wxUSE_ODBC" != "no" ; then
31826 cat >>confdefs.h <<\_ACEOF
31827 #define wxUSE_ODBC 1
31828 _ACEOF
31829
31830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31831
31832 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31833 fi
31834
31835
31836 if test "$wxUSE_DISPLAY" = "yes"; then
31837 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31838 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31839 echo $ECHO_N "checking for Xinerama... $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/libXinerama.$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
31854 if test "$ac_find_libraries" = "default location"; then
31855 ac_path_to_link=""
31856 else
31857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31858 result=$?
31859 if test $result = 0; then
31860 ac_path_to_link=""
31861 else
31862 ac_path_to_link=" -L$ac_find_libraries"
31863 fi
31864 fi
31865
31866 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31867 LDFLAGS="$LDFLAGS $ac_path_to_link"
31868 fi
31869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31870 { echo "$as_me:$LINENO: result: yes" >&5
31871 echo "${ECHO_T}yes" >&6; }
31872
31873 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31874 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31875
31876 ac_find_libraries=
31877 for ac_dir in $SEARCH_LIB;
31878 do
31879 for ac_extension in a so sl dylib dll.a; do
31880 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31881 ac_find_libraries=$ac_dir
31882 break 2
31883 fi
31884 done
31885 done
31886
31887 if test "$ac_find_libraries" != "" ; then
31888 { echo "$as_me:$LINENO: result: yes" >&5
31889 echo "${ECHO_T}yes" >&6; }
31890 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31891 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31892 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31894 else
31895 cat >conftest.$ac_ext <<_ACEOF
31896 /* confdefs.h. */
31897 _ACEOF
31898 cat confdefs.h >>conftest.$ac_ext
31899 cat >>conftest.$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31901
31902 #if HAVE_X11_XLIB_H
31903 #include <X11/Xlib.h>
31904 #endif
31905
31906
31907 #include <X11/extensions/xf86vmode.h>
31908 _ACEOF
31909 rm -f conftest.$ac_objext
31910 if { (ac_try="$ac_compile"
31911 case "(($ac_try" in
31912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31913 *) ac_try_echo=$ac_try;;
31914 esac
31915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31916 (eval "$ac_compile") 2>conftest.er1
31917 ac_status=$?
31918 grep -v '^ *+' conftest.er1 >conftest.err
31919 rm -f conftest.er1
31920 cat conftest.err >&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); } && {
31923 test -z "$ac_c_werror_flag" ||
31924 test ! -s conftest.err
31925 } && test -s conftest.$ac_objext; then
31926 ac_cv_header_X11_extensions_xf86vmode_h=yes
31927 else
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31930
31931 ac_cv_header_X11_extensions_xf86vmode_h=no
31932 fi
31933
31934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31935 fi
31936 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31937 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31938 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31939
31940 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31941
31942 fi
31943
31944
31945 else
31946 { echo "$as_me:$LINENO: result: no" >&5
31947 echo "${ECHO_T}no" >&6; }
31948 fi
31949
31950 else
31951 { echo "$as_me:$LINENO: result: no" >&5
31952 echo "${ECHO_T}no" >&6; }
31953 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31954 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31955 wxUSE_DISPLAY="no"
31956 fi
31957 elif test "$wxUSE_MSW" = 1; then
31958 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31959 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31960 if test "${ac_cv_header_ddraw_h+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31962 else
31963 cat >conftest.$ac_ext <<_ACEOF
31964 /* confdefs.h. */
31965 _ACEOF
31966 cat confdefs.h >>conftest.$ac_ext
31967 cat >>conftest.$ac_ext <<_ACEOF
31968 /* end confdefs.h. */
31969 #include <windows.h>
31970
31971 #include <ddraw.h>
31972 _ACEOF
31973 rm -f conftest.$ac_objext
31974 if { (ac_try="$ac_compile"
31975 case "(($ac_try" in
31976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31977 *) ac_try_echo=$ac_try;;
31978 esac
31979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31980 (eval "$ac_compile") 2>conftest.er1
31981 ac_status=$?
31982 grep -v '^ *+' conftest.er1 >conftest.err
31983 rm -f conftest.er1
31984 cat conftest.err >&5
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); } && {
31987 test -z "$ac_c_werror_flag" ||
31988 test ! -s conftest.err
31989 } && test -s conftest.$ac_objext; then
31990 ac_cv_header_ddraw_h=yes
31991 else
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.$ac_ext >&5
31994
31995 ac_cv_header_ddraw_h=no
31996 fi
31997
31998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31999 fi
32000 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32001 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32002
32003
32004 fi
32005 fi
32006
32007 if test "$wxUSE_DETECT_SM" = "yes"; then
32008 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32009 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32010 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32011
32012 ac_find_libraries=
32013 for ac_dir in $SEARCH_LIB;
32014 do
32015 for ac_extension in a so sl dylib dll.a; do
32016 if test -f "$ac_dir/libSM.$ac_extension"; then
32017 ac_find_libraries=$ac_dir
32018 break 2
32019 fi
32020 done
32021 done
32022
32023 if test "$ac_find_libraries" != "" ; then
32024
32025 if test "$ac_find_libraries" = "default location"; then
32026 ac_path_to_link=""
32027 else
32028 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32029 result=$?
32030 if test $result = 0; then
32031 ac_path_to_link=""
32032 else
32033 ac_path_to_link=" -L$ac_find_libraries"
32034 fi
32035 fi
32036
32037 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32038 LDFLAGS="$LDFLAGS $ac_path_to_link"
32039 fi
32040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32041 { echo "$as_me:$LINENO: result: yes" >&5
32042 echo "${ECHO_T}yes" >&6; }
32043 else
32044 { echo "$as_me:$LINENO: result: no" >&5
32045 echo "${ECHO_T}no" >&6; }
32046 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32047 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32048 wxUSE_DETECT_SM="no"
32049 fi
32050 else
32051 wxUSE_DETECT_SM="no"
32052 fi
32053 fi
32054
32055
32056
32057 USE_OPENGL=0
32058 if test "$wxUSE_OPENGL" = "yes"; then
32059 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32060 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32061 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32062 wxUSE_OPENGL="no"
32063 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32064 OPENGL_LIBS="-framework OpenGL -framework AGL"
32065 elif test "$wxUSE_MSW" = 1; then
32066 OPENGL_LIBS="-lopengl32 -lglu32"
32067 else
32068 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32069 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32070
32071 ac_find_includes=
32072 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32073 do
32074 if test -f "$ac_dir/GL/gl.h"; then
32075 ac_find_includes=$ac_dir
32076 break
32077 fi
32078 done
32079
32080 if test "$ac_find_includes" != "" ; then
32081 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32082 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32083
32084 if test "x$ac_find_includes" = "x/usr/include"; then
32085 ac_path_to_include=""
32086 else
32087 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32088 result=$?
32089 if test $result = 0; then
32090 ac_path_to_include=""
32091 else
32092 ac_path_to_include=" -I$ac_find_includes"
32093 fi
32094 fi
32095
32096 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32097 else
32098 { echo "$as_me:$LINENO: result: not found" >&5
32099 echo "${ECHO_T}not found" >&6; }
32100 fi
32101
32102 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32103 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32104 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32106 else
32107 cat >conftest.$ac_ext <<_ACEOF
32108 /* confdefs.h. */
32109 _ACEOF
32110 cat confdefs.h >>conftest.$ac_ext
32111 cat >>conftest.$ac_ext <<_ACEOF
32112 /* end confdefs.h. */
32113
32114
32115 #include <GL/gl.h>
32116 _ACEOF
32117 rm -f conftest.$ac_objext
32118 if { (ac_try="$ac_compile"
32119 case "(($ac_try" in
32120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32121 *) ac_try_echo=$ac_try;;
32122 esac
32123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32124 (eval "$ac_compile") 2>conftest.er1
32125 ac_status=$?
32126 grep -v '^ *+' conftest.er1 >conftest.err
32127 rm -f conftest.er1
32128 cat conftest.err >&5
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); } && {
32131 test -z "$ac_c_werror_flag" ||
32132 test ! -s conftest.err
32133 } && test -s conftest.$ac_objext; then
32134 ac_cv_header_GL_gl_h=yes
32135 else
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.$ac_ext >&5
32138
32139 ac_cv_header_GL_gl_h=no
32140 fi
32141
32142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32143 fi
32144 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32145 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32146 if test $ac_cv_header_GL_gl_h = yes; then
32147
32148 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32149 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32150 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32151 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32153 fi
32154 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32155 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32156 else
32157 # Is the header compilable?
32158 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32159 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32160 cat >conftest.$ac_ext <<_ACEOF
32161 /* confdefs.h. */
32162 _ACEOF
32163 cat confdefs.h >>conftest.$ac_ext
32164 cat >>conftest.$ac_ext <<_ACEOF
32165 /* end confdefs.h. */
32166 $ac_includes_default
32167 #include <GL/glu.h>
32168 _ACEOF
32169 rm -f conftest.$ac_objext
32170 if { (ac_try="$ac_compile"
32171 case "(($ac_try" in
32172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32173 *) ac_try_echo=$ac_try;;
32174 esac
32175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32176 (eval "$ac_compile") 2>conftest.er1
32177 ac_status=$?
32178 grep -v '^ *+' conftest.er1 >conftest.err
32179 rm -f conftest.er1
32180 cat conftest.err >&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); } && {
32183 test -z "$ac_c_werror_flag" ||
32184 test ! -s conftest.err
32185 } && test -s conftest.$ac_objext; then
32186 ac_header_compiler=yes
32187 else
32188 echo "$as_me: failed program was:" >&5
32189 sed 's/^/| /' conftest.$ac_ext >&5
32190
32191 ac_header_compiler=no
32192 fi
32193
32194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32195 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32196 echo "${ECHO_T}$ac_header_compiler" >&6; }
32197
32198 # Is the header present?
32199 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32200 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32201 cat >conftest.$ac_ext <<_ACEOF
32202 /* confdefs.h. */
32203 _ACEOF
32204 cat confdefs.h >>conftest.$ac_ext
32205 cat >>conftest.$ac_ext <<_ACEOF
32206 /* end confdefs.h. */
32207 #include <GL/glu.h>
32208 _ACEOF
32209 if { (ac_try="$ac_cpp conftest.$ac_ext"
32210 case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32213 esac
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32216 ac_status=$?
32217 grep -v '^ *+' conftest.er1 >conftest.err
32218 rm -f conftest.er1
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } >/dev/null && {
32222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32223 test ! -s conftest.err
32224 }; then
32225 ac_header_preproc=yes
32226 else
32227 echo "$as_me: failed program was:" >&5
32228 sed 's/^/| /' conftest.$ac_ext >&5
32229
32230 ac_header_preproc=no
32231 fi
32232
32233 rm -f conftest.err conftest.$ac_ext
32234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32235 echo "${ECHO_T}$ac_header_preproc" >&6; }
32236
32237 # So? What about this header?
32238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32239 yes:no: )
32240 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32241 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32242 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32243 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32244 ac_header_preproc=yes
32245 ;;
32246 no:yes:* )
32247 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32248 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32249 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32250 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32251 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32252 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32253 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32254 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32255 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32256 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32257 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32258 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32259 ( cat <<\_ASBOX
32260 ## ----------------------------------------- ##
32261 ## Report this to wx-dev@lists.wxwidgets.org ##
32262 ## ----------------------------------------- ##
32263 _ASBOX
32264 ) | sed "s/^/$as_me: WARNING: /" >&2
32265 ;;
32266 esac
32267 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32268 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32269 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32270 echo $ECHO_N "(cached) $ECHO_C" >&6
32271 else
32272 ac_cv_header_GL_glu_h=$ac_header_preproc
32273 fi
32274 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32275 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32276
32277 fi
32278 if test $ac_cv_header_GL_glu_h = yes; then
32279
32280 found_gl=0
32281
32282 { echo "$as_me:$LINENO: checking for -lGL" >&5
32283 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32284
32285 ac_find_libraries=
32286 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32287 do
32288 for ac_extension in a so sl dylib dll.a; do
32289 if test -f "$ac_dir/libGL.$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 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32298 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32299
32300
32301 if test "$ac_find_libraries" = "default location"; then
32302 ac_path_to_link=""
32303 else
32304 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32305 result=$?
32306 if test $result = 0; then
32307 ac_path_to_link=""
32308 else
32309 ac_path_to_link=" -L$ac_find_libraries"
32310 fi
32311 fi
32312
32313 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32314 LDFLAGS_GL="$ac_path_to_link"
32315 fi
32316
32317 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32318 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32319
32320 ac_find_libraries=
32321 for ac_dir in $SEARCH_LIB;
32322 do
32323 for ac_extension in a so sl dylib dll.a; do
32324 if test -f "$ac_dir/libGLU.$ac_extension"; then
32325 ac_find_libraries=$ac_dir
32326 break 2
32327 fi
32328 done
32329 done
32330
32331 if test "$ac_find_libraries" != "" ; then
32332
32333 if test "$ac_find_libraries" = "default location"; then
32334 ac_path_to_link=""
32335 else
32336 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32337 result=$?
32338 if test $result = 0; then
32339 ac_path_to_link=""
32340 else
32341 ac_path_to_link=" -L$ac_find_libraries"
32342 fi
32343 fi
32344
32345 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32346 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32347 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32348 fi
32349
32350 found_gl=1
32351 OPENGL_LIBS="-lGL -lGLU"
32352 { echo "$as_me:$LINENO: result: yes" >&5
32353 echo "${ECHO_T}yes" >&6; }
32354 else
32355 { echo "$as_me:$LINENO: result: no" >&5
32356 echo "${ECHO_T}no" >&6; }
32357 fi
32358 else
32359 { echo "$as_me:$LINENO: result: no" >&5
32360 echo "${ECHO_T}no" >&6; }
32361 fi
32362
32363 if test "$found_gl" != 1; then
32364 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32365 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32366
32367 ac_find_libraries=
32368 for ac_dir in $SEARCH_LIB;
32369 do
32370 for ac_extension in a so sl dylib dll.a; do
32371 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32372 ac_find_libraries=$ac_dir
32373 break 2
32374 fi
32375 done
32376 done
32377
32378 if test "$ac_find_libraries" != "" ; then
32379
32380 if test "$ac_find_libraries" = "default location"; then
32381 ac_path_to_link=""
32382 else
32383 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32384 result=$?
32385 if test $result = 0; then
32386 ac_path_to_link=""
32387 else
32388 ac_path_to_link=" -L$ac_find_libraries"
32389 fi
32390 fi
32391
32392 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32393 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32394 { echo "$as_me:$LINENO: result: yes" >&5
32395 echo "${ECHO_T}yes" >&6; }
32396 else
32397 { echo "$as_me:$LINENO: result: no" >&5
32398 echo "${ECHO_T}no" >&6; }
32399 fi
32400 fi
32401
32402 fi
32403
32404
32405
32406 fi
32407
32408
32409
32410 if test "x$OPENGL_LIBS" = "x"; then
32411 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32412 echo "$as_me: error: OpenGL libraries not available" >&2;}
32413 { (exit 1); exit 1; }; }
32414 fi
32415 fi
32416
32417 if test "$wxUSE_OPENGL" = "yes"; then
32418 USE_OPENGL=1
32419 cat >>confdefs.h <<\_ACEOF
32420 #define wxUSE_OPENGL 1
32421 _ACEOF
32422
32423 cat >>confdefs.h <<\_ACEOF
32424 #define wxUSE_GLCANVAS 1
32425 _ACEOF
32426
32427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32428 fi
32429 fi
32430
32431
32432 if test -n "$TOOLKIT" ; then
32433 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32434 fi
32435
32436
32437
32438 if test "$wxUSE_SHARED" = "yes"; then
32439 case "${host}" in
32440 *-pc-msdosdjgpp )
32441 wxUSE_SHARED=no
32442 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32443 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32444 ;;
32445 esac
32446 fi
32447
32448 if test "$wxUSE_SHARED" = "yes"; then
32449
32450
32451 case "${host}" in
32452 *-*-cygwin* | *-*-mingw* )
32453 wx_cv_version_script=no
32454 ;;
32455
32456 *)
32457 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32458 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32459 if test "${wx_cv_version_script+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 else
32462
32463 echo "VER_1 { *; };" >conftest.sym
32464 echo "int main() { return 0; }" >conftest.cpp
32465
32466 if { ac_try='
32467 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32468 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } ; then
32474 if test -s conftest.stderr ; then
32475 wx_cv_version_script=no
32476 else
32477 wx_cv_version_script=yes
32478 fi
32479 else
32480 wx_cv_version_script=no
32481 fi
32482
32483 if test $wx_cv_version_script = yes
32484 then
32485 echo "struct B { virtual ~B() { } }; \
32486 struct D : public B { }; \
32487 void F() { D d; }" > conftest.cpp
32488
32489 if { ac_try='
32490 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32491 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32493 (eval $ac_try) 2>&5
32494 ac_status=$?
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); }; } &&
32497 { ac_try='
32498 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32499 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501 (eval $ac_try) 2>&5
32502 ac_status=$?
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; }
32505 then
32506 if { ac_try='
32507 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32508 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32510 (eval $ac_try) 2>&5
32511 ac_status=$?
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); }; }
32514 then
32515 wx_cv_version_script=yes
32516 else
32517 wx_cv_version_script=no
32518 fi
32519 fi
32520 fi
32521
32522 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32523 rm -f conftest1.output conftest2.output conftest3.output
32524
32525 fi
32526 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32527 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32528
32529 if test $wx_cv_version_script = yes ; then
32530 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32531 fi
32532 ;;
32533 esac
32534
32535
32536 case "${host}" in
32537 *-*-linux* | *-*-gnu* )
32538 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32539 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32540 ;;
32541
32542 *-*-solaris2* )
32543 if test "$GCC" = yes ; then
32544 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32545
32546 saveLdflags="$LDFLAGS"
32547 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32548 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32549 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32550 cat >conftest.$ac_ext <<_ACEOF
32551 /* confdefs.h. */
32552 _ACEOF
32553 cat confdefs.h >>conftest.$ac_ext
32554 cat >>conftest.$ac_ext <<_ACEOF
32555 /* end confdefs.h. */
32556
32557 int
32558 main ()
32559 {
32560
32561 ;
32562 return 0;
32563 }
32564 _ACEOF
32565 rm -f conftest.$ac_objext conftest$ac_exeext
32566 if { (ac_try="$ac_link"
32567 case "(($ac_try" in
32568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32569 *) ac_try_echo=$ac_try;;
32570 esac
32571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32572 (eval "$ac_link") 2>conftest.er1
32573 ac_status=$?
32574 grep -v '^ *+' conftest.er1 >conftest.err
32575 rm -f conftest.er1
32576 cat conftest.err >&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } && {
32579 test -z "$ac_c_werror_flag" ||
32580 test ! -s conftest.err
32581 } && test -s conftest$ac_exeext &&
32582 $as_test_x conftest$ac_exeext; then
32583
32584 { echo "$as_me:$LINENO: result: yes" >&5
32585 echo "${ECHO_T}yes" >&6; }
32586 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32587 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32588
32589 else
32590 echo "$as_me: failed program was:" >&5
32591 sed 's/^/| /' conftest.$ac_ext >&5
32592
32593
32594 { echo "$as_me:$LINENO: result: no" >&5
32595 echo "${ECHO_T}no" >&6; }
32596 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32597 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32598 LDFLAGS="$saveLdflags -Wl,-R,/"
32599 cat >conftest.$ac_ext <<_ACEOF
32600 /* confdefs.h. */
32601 _ACEOF
32602 cat confdefs.h >>conftest.$ac_ext
32603 cat >>conftest.$ac_ext <<_ACEOF
32604 /* end confdefs.h. */
32605
32606 int
32607 main ()
32608 {
32609
32610 ;
32611 return 0;
32612 }
32613 _ACEOF
32614 rm -f conftest.$ac_objext conftest$ac_exeext
32615 if { (ac_try="$ac_link"
32616 case "(($ac_try" in
32617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32618 *) ac_try_echo=$ac_try;;
32619 esac
32620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32621 (eval "$ac_link") 2>conftest.er1
32622 ac_status=$?
32623 grep -v '^ *+' conftest.er1 >conftest.err
32624 rm -f conftest.er1
32625 cat conftest.err >&5
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); } && {
32628 test -z "$ac_c_werror_flag" ||
32629 test ! -s conftest.err
32630 } && test -s conftest$ac_exeext &&
32631 $as_test_x conftest$ac_exeext; then
32632
32633 { echo "$as_me:$LINENO: result: yes" >&5
32634 echo "${ECHO_T}yes" >&6; }
32635 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32636 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32637
32638 else
32639 echo "$as_me: failed program was:" >&5
32640 sed 's/^/| /' conftest.$ac_ext >&5
32641
32642
32643 { echo "$as_me:$LINENO: result: no" >&5
32644 echo "${ECHO_T}no" >&6; }
32645
32646 fi
32647
32648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32649 conftest$ac_exeext conftest.$ac_ext
32650
32651 fi
32652
32653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32654 conftest$ac_exeext conftest.$ac_ext
32655 LDFLAGS="$saveLdflags"
32656 else
32657 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32658 WXCONFIG_RPATH="-R\$libdir"
32659 fi
32660 ;;
32661
32662 *-*-darwin* )
32663 install_name_tool=`which install_name_tool`
32664 if test "$install_name_tool" -a -x "$install_name_tool"; then
32665 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32666 cat <<EOF >change-install-names
32667 #!/bin/sh
32668 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32669 inst_cmd="install_name_tool "
32670 for i in \${libnames} ; do
32671 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32672 done
32673 \${inst_cmd} \${3}
32674 EOF
32675 chmod +x change-install-names
32676 fi
32677 ;;
32678
32679 *-*-cygwin* | *-*-mingw32* )
32680 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32681 ;;
32682
32683 *-*-hpux* )
32684 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32685 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32686 ;;
32687
32688 esac
32689
32690 if test $wxUSE_RPATH = "no"; then
32691 SAMPLES_RPATH_FLAG=''
32692 SAMPLES_RPATH_POSTLINK=''
32693 WXCONFIG_RPATH=''
32694 fi
32695
32696 SHARED=1
32697
32698 else
32699
32700 config_linkage_component="-static"
32701 SHARED=0
32702
32703 fi
32704
32705
32706 UNICODE=0
32707 lib_unicode_suffix=
32708 WX_CHARTYPE="ansi"
32709 if test "$wxUSE_UNICODE" = "yes"; then
32710 lib_unicode_suffix=u
32711 WX_CHARTYPE="unicode"
32712 UNICODE=1
32713 fi
32714
32715 lib_debug_suffix=
32716 WX_DEBUGTYPE="release"
32717 DEBUG_FLAG=0
32718 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32719 lib_debug_suffix=d
32720 WX_DEBUGTYPE="debug"
32721 DEBUG_FLAG=1
32722 fi
32723
32724 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32725 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32726
32727 DEBUG_INFO=0
32728 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32729 DEBUG_INFO=1
32730 fi
32731
32732 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32733
32734 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32735
32736 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32737
32738 if test "$cross_compiling" = "yes"; then
32739 HOST_SUFFIX="-$host_alias"
32740 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32741 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32742 fi
32743
32744 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32745 if test "${TOOLKIT_DIR}" = "os2"; then
32746 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32747 else
32748 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32749 fi
32750
32751
32752
32753 if test "$wxUSE_COCOA" = 1; then
32754
32755 ac_ext=c
32756 ac_cpp='$CPP $CPPFLAGS'
32757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32760
32761 ac_ext=m
32762
32763 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32764 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32765 cat >conftest.$ac_ext <<_ACEOF
32766 /* confdefs.h. */
32767 _ACEOF
32768 cat confdefs.h >>conftest.$ac_ext
32769 cat >>conftest.$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 #include <AppKit/NSEvent.h>
32772 #include <CoreFoundation/CoreFoundation.h>
32773
32774 int
32775 main ()
32776 {
32777
32778 ;
32779 return 0;
32780 }
32781 _ACEOF
32782 rm -f conftest.$ac_objext
32783 if { (ac_try="$ac_compile"
32784 case "(($ac_try" in
32785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32786 *) ac_try_echo=$ac_try;;
32787 esac
32788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32789 (eval "$ac_compile") 2>conftest.er1
32790 ac_status=$?
32791 grep -v '^ *+' conftest.er1 >conftest.err
32792 rm -f conftest.er1
32793 cat conftest.err >&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); } && {
32796 test -z "$ac_c_werror_flag" ||
32797 test ! -s conftest.err
32798 } && test -s conftest.$ac_objext; then
32799 { echo "$as_me:$LINENO: result: no" >&5
32800 echo "${ECHO_T}no" >&6; }
32801 else
32802 echo "$as_me: failed program was:" >&5
32803 sed 's/^/| /' conftest.$ac_ext >&5
32804
32805 { echo "$as_me:$LINENO: result: yes" >&5
32806 echo "${ECHO_T}yes" >&6; }
32807 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32808 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32809 cat >conftest.$ac_ext <<_ACEOF
32810 /* confdefs.h. */
32811 _ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815 #define __Point__ 1
32816 #include <AppKit/NSEvent.h>
32817 #include <CoreFoundation/CoreFoundation.h>
32818
32819 int
32820 main ()
32821 {
32822
32823 ;
32824 return 0;
32825 }
32826 _ACEOF
32827 rm -f conftest.$ac_objext
32828 if { (ac_try="$ac_compile"
32829 case "(($ac_try" in
32830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32831 *) ac_try_echo=$ac_try;;
32832 esac
32833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32834 (eval "$ac_compile") 2>conftest.er1
32835 ac_status=$?
32836 grep -v '^ *+' conftest.er1 >conftest.err
32837 rm -f conftest.er1
32838 cat conftest.err >&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } && {
32841 test -z "$ac_c_werror_flag" ||
32842 test ! -s conftest.err
32843 } && test -s conftest.$ac_objext; then
32844 { echo "$as_me:$LINENO: result: yes" >&5
32845 echo "${ECHO_T}yes" >&6; }
32846 cat >>confdefs.h <<\_ACEOF
32847 #define __Point__ 1
32848 _ACEOF
32849
32850
32851 else
32852 echo "$as_me: failed program was:" >&5
32853 sed 's/^/| /' conftest.$ac_ext >&5
32854
32855 { { echo "$as_me:$LINENO: error: no
32856 See \`config.log' for more details." >&5
32857 echo "$as_me: error: no
32858 See \`config.log' for more details." >&2;}
32859 { (exit 1); exit 1; }; }
32860
32861 fi
32862
32863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32864
32865 fi
32866
32867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32868 ac_ext=c
32869 ac_cpp='$CPP $CPPFLAGS'
32870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32873
32874 fi
32875
32876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32877 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32878 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32879
32880 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32881
32882 # Extract the first word of "Rez", so it can be a program name with args.
32883 set dummy Rez; ac_word=$2
32884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32886 if test "${ac_cv_prog_REZ+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32888 else
32889 if test -n "$REZ"; then
32890 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32891 else
32892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32893 for as_dir in $PATH
32894 do
32895 IFS=$as_save_IFS
32896 test -z "$as_dir" && as_dir=.
32897 for ac_exec_ext in '' $ac_executable_extensions; do
32898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32899 ac_cv_prog_REZ="Rez"
32900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32901 break 2
32902 fi
32903 done
32904 done
32905 IFS=$as_save_IFS
32906
32907 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32908 fi
32909 fi
32910 REZ=$ac_cv_prog_REZ
32911 if test -n "$REZ"; then
32912 { echo "$as_me:$LINENO: result: $REZ" >&5
32913 echo "${ECHO_T}$REZ" >&6; }
32914 else
32915 { echo "$as_me:$LINENO: result: no" >&5
32916 echo "${ECHO_T}no" >&6; }
32917 fi
32918
32919
32920 # Extract the first word of "DeRez", so it can be a program name with args.
32921 set dummy DeRez; ac_word=$2
32922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32924 if test "${ac_cv_prog_DEREZ+set}" = set; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32926 else
32927 if test -n "$DEREZ"; then
32928 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32929 else
32930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32931 for as_dir in $PATH
32932 do
32933 IFS=$as_save_IFS
32934 test -z "$as_dir" && as_dir=.
32935 for ac_exec_ext in '' $ac_executable_extensions; do
32936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32937 ac_cv_prog_DEREZ="DeRez"
32938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32939 break 2
32940 fi
32941 done
32942 done
32943 IFS=$as_save_IFS
32944
32945 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32946 fi
32947 fi
32948 DEREZ=$ac_cv_prog_DEREZ
32949 if test -n "$DEREZ"; then
32950 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32951 echo "${ECHO_T}$DEREZ" >&6; }
32952 else
32953 { echo "$as_me:$LINENO: result: no" >&5
32954 echo "${ECHO_T}no" >&6; }
32955 fi
32956
32957
32958 # Extract the first word of "SetFile", so it can be a program name with args.
32959 set dummy SetFile; ac_word=$2
32960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32962 if test "${ac_cv_prog_SETFILE+set}" = set; then
32963 echo $ECHO_N "(cached) $ECHO_C" >&6
32964 else
32965 if test -n "$SETFILE"; then
32966 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32967 else
32968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32969 for as_dir in $PATH
32970 do
32971 IFS=$as_save_IFS
32972 test -z "$as_dir" && as_dir=.
32973 for ac_exec_ext in '' $ac_executable_extensions; do
32974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32975 ac_cv_prog_SETFILE="SetFile"
32976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32977 break 2
32978 fi
32979 done
32980 done
32981 IFS=$as_save_IFS
32982
32983 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32984 fi
32985 fi
32986 SETFILE=$ac_cv_prog_SETFILE
32987 if test -n "$SETFILE"; then
32988 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32989 echo "${ECHO_T}$SETFILE" >&6; }
32990 else
32991 { echo "$as_me:$LINENO: result: no" >&5
32992 echo "${ECHO_T}no" >&6; }
32993 fi
32994
32995
32996
32997 MACSETFILE="\$(SETFILE)"
32998
32999 if test "$wxUSE_MAC" = 1; then
33000 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33001 RESCOMP="$REZ"
33002 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33003 else
33004 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33005 RESCOMP="echo -n \| $REZ"
33006 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33007 fi
33008
33009 else
33010 MACSETFILE="@true"
33011
33012 if test "$wxUSE_PM" = 1; then
33013 RESCOMP="emxbind"
33014 WXCONFIG_RESFLAGS="-ep"
33015
33016 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33017 else
33018 POSTLINK_COMMAND="@true"
33019 fi
33020
33021 fi
33022
33023
33024
33025 { echo "$as_me:$LINENO: checking for mode_t" >&5
33026 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33027 if test "${ac_cv_type_mode_t+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33029 else
33030 cat >conftest.$ac_ext <<_ACEOF
33031 /* confdefs.h. */
33032 _ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33036 $ac_includes_default
33037 typedef mode_t ac__type_new_;
33038 int
33039 main ()
33040 {
33041 if ((ac__type_new_ *) 0)
33042 return 0;
33043 if (sizeof (ac__type_new_))
33044 return 0;
33045 ;
33046 return 0;
33047 }
33048 _ACEOF
33049 rm -f conftest.$ac_objext
33050 if { (ac_try="$ac_compile"
33051 case "(($ac_try" in
33052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33053 *) ac_try_echo=$ac_try;;
33054 esac
33055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33056 (eval "$ac_compile") 2>conftest.er1
33057 ac_status=$?
33058 grep -v '^ *+' conftest.er1 >conftest.err
33059 rm -f conftest.er1
33060 cat conftest.err >&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); } && {
33063 test -z "$ac_c_werror_flag" ||
33064 test ! -s conftest.err
33065 } && test -s conftest.$ac_objext; then
33066 ac_cv_type_mode_t=yes
33067 else
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33070
33071 ac_cv_type_mode_t=no
33072 fi
33073
33074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33075 fi
33076 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33077 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33078 if test $ac_cv_type_mode_t = yes; then
33079 :
33080 else
33081
33082 cat >>confdefs.h <<_ACEOF
33083 #define mode_t int
33084 _ACEOF
33085
33086 fi
33087
33088 { echo "$as_me:$LINENO: checking for off_t" >&5
33089 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33090 if test "${ac_cv_type_off_t+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33092 else
33093 cat >conftest.$ac_ext <<_ACEOF
33094 /* confdefs.h. */
33095 _ACEOF
33096 cat confdefs.h >>conftest.$ac_ext
33097 cat >>conftest.$ac_ext <<_ACEOF
33098 /* end confdefs.h. */
33099 $ac_includes_default
33100 typedef off_t ac__type_new_;
33101 int
33102 main ()
33103 {
33104 if ((ac__type_new_ *) 0)
33105 return 0;
33106 if (sizeof (ac__type_new_))
33107 return 0;
33108 ;
33109 return 0;
33110 }
33111 _ACEOF
33112 rm -f conftest.$ac_objext
33113 if { (ac_try="$ac_compile"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33116 *) ac_try_echo=$ac_try;;
33117 esac
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_compile") 2>conftest.er1
33120 ac_status=$?
33121 grep -v '^ *+' conftest.er1 >conftest.err
33122 rm -f conftest.er1
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_c_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest.$ac_objext; then
33129 ac_cv_type_off_t=yes
33130 else
33131 echo "$as_me: failed program was:" >&5
33132 sed 's/^/| /' conftest.$ac_ext >&5
33133
33134 ac_cv_type_off_t=no
33135 fi
33136
33137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33138 fi
33139 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33140 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33141 if test $ac_cv_type_off_t = yes; then
33142 :
33143 else
33144
33145 cat >>confdefs.h <<_ACEOF
33146 #define off_t long int
33147 _ACEOF
33148
33149 fi
33150
33151 { echo "$as_me:$LINENO: checking for pid_t" >&5
33152 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33153 if test "${ac_cv_type_pid_t+set}" = set; then
33154 echo $ECHO_N "(cached) $ECHO_C" >&6
33155 else
33156 cat >conftest.$ac_ext <<_ACEOF
33157 /* confdefs.h. */
33158 _ACEOF
33159 cat confdefs.h >>conftest.$ac_ext
33160 cat >>conftest.$ac_ext <<_ACEOF
33161 /* end confdefs.h. */
33162 $ac_includes_default
33163 typedef pid_t ac__type_new_;
33164 int
33165 main ()
33166 {
33167 if ((ac__type_new_ *) 0)
33168 return 0;
33169 if (sizeof (ac__type_new_))
33170 return 0;
33171 ;
33172 return 0;
33173 }
33174 _ACEOF
33175 rm -f conftest.$ac_objext
33176 if { (ac_try="$ac_compile"
33177 case "(($ac_try" in
33178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33179 *) ac_try_echo=$ac_try;;
33180 esac
33181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33182 (eval "$ac_compile") 2>conftest.er1
33183 ac_status=$?
33184 grep -v '^ *+' conftest.er1 >conftest.err
33185 rm -f conftest.er1
33186 cat conftest.err >&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } && {
33189 test -z "$ac_c_werror_flag" ||
33190 test ! -s conftest.err
33191 } && test -s conftest.$ac_objext; then
33192 ac_cv_type_pid_t=yes
33193 else
33194 echo "$as_me: failed program was:" >&5
33195 sed 's/^/| /' conftest.$ac_ext >&5
33196
33197 ac_cv_type_pid_t=no
33198 fi
33199
33200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33201 fi
33202 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33203 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33204 if test $ac_cv_type_pid_t = yes; then
33205 :
33206 else
33207
33208 cat >>confdefs.h <<_ACEOF
33209 #define pid_t int
33210 _ACEOF
33211
33212 fi
33213
33214 { echo "$as_me:$LINENO: checking for size_t" >&5
33215 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33216 if test "${ac_cv_type_size_t+set}" = set; then
33217 echo $ECHO_N "(cached) $ECHO_C" >&6
33218 else
33219 cat >conftest.$ac_ext <<_ACEOF
33220 /* confdefs.h. */
33221 _ACEOF
33222 cat confdefs.h >>conftest.$ac_ext
33223 cat >>conftest.$ac_ext <<_ACEOF
33224 /* end confdefs.h. */
33225 $ac_includes_default
33226 typedef size_t ac__type_new_;
33227 int
33228 main ()
33229 {
33230 if ((ac__type_new_ *) 0)
33231 return 0;
33232 if (sizeof (ac__type_new_))
33233 return 0;
33234 ;
33235 return 0;
33236 }
33237 _ACEOF
33238 rm -f conftest.$ac_objext
33239 if { (ac_try="$ac_compile"
33240 case "(($ac_try" in
33241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33242 *) ac_try_echo=$ac_try;;
33243 esac
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_compile") 2>conftest.er1
33246 ac_status=$?
33247 grep -v '^ *+' conftest.er1 >conftest.err
33248 rm -f conftest.er1
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } && {
33252 test -z "$ac_c_werror_flag" ||
33253 test ! -s conftest.err
33254 } && test -s conftest.$ac_objext; then
33255 ac_cv_type_size_t=yes
33256 else
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.$ac_ext >&5
33259
33260 ac_cv_type_size_t=no
33261 fi
33262
33263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33264 fi
33265 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33266 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33267 if test $ac_cv_type_size_t = yes; then
33268 :
33269 else
33270
33271 cat >>confdefs.h <<_ACEOF
33272 #define size_t unsigned int
33273 _ACEOF
33274
33275 fi
33276
33277 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33278 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33279 if test "${ac_cv_type_uid_t+set}" = set; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 else
33282 cat >conftest.$ac_ext <<_ACEOF
33283 /* confdefs.h. */
33284 _ACEOF
33285 cat confdefs.h >>conftest.$ac_ext
33286 cat >>conftest.$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33288 #include <sys/types.h>
33289
33290 _ACEOF
33291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33292 $EGREP "uid_t" >/dev/null 2>&1; then
33293 ac_cv_type_uid_t=yes
33294 else
33295 ac_cv_type_uid_t=no
33296 fi
33297 rm -f conftest*
33298
33299 fi
33300 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33301 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33302 if test $ac_cv_type_uid_t = no; then
33303
33304 cat >>confdefs.h <<\_ACEOF
33305 #define uid_t int
33306 _ACEOF
33307
33308
33309 cat >>confdefs.h <<\_ACEOF
33310 #define gid_t int
33311 _ACEOF
33312
33313 fi
33314
33315
33316 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33317 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33318 if test "${ac_cv_type_ssize_t+set}" = set; then
33319 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 else
33321 cat >conftest.$ac_ext <<_ACEOF
33322 /* confdefs.h. */
33323 _ACEOF
33324 cat confdefs.h >>conftest.$ac_ext
33325 cat >>conftest.$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33327 $ac_includes_default
33328 typedef ssize_t ac__type_new_;
33329 int
33330 main ()
33331 {
33332 if ((ac__type_new_ *) 0)
33333 return 0;
33334 if (sizeof (ac__type_new_))
33335 return 0;
33336 ;
33337 return 0;
33338 }
33339 _ACEOF
33340 rm -f conftest.$ac_objext
33341 if { (ac_try="$ac_compile"
33342 case "(($ac_try" in
33343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33344 *) ac_try_echo=$ac_try;;
33345 esac
33346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33347 (eval "$ac_compile") 2>conftest.er1
33348 ac_status=$?
33349 grep -v '^ *+' conftest.er1 >conftest.err
33350 rm -f conftest.er1
33351 cat conftest.err >&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } && {
33354 test -z "$ac_c_werror_flag" ||
33355 test ! -s conftest.err
33356 } && test -s conftest.$ac_objext; then
33357 ac_cv_type_ssize_t=yes
33358 else
33359 echo "$as_me: failed program was:" >&5
33360 sed 's/^/| /' conftest.$ac_ext >&5
33361
33362 ac_cv_type_ssize_t=no
33363 fi
33364
33365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33366 fi
33367 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33368 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33369 if test $ac_cv_type_ssize_t = yes; then
33370
33371 cat >>confdefs.h <<_ACEOF
33372 #define HAVE_SSIZE_T 1
33373 _ACEOF
33374
33375
33376 fi
33377
33378
33379 ac_ext=cpp
33380 ac_cpp='$CXXCPP $CPPFLAGS'
33381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33384 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33385 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33386 if test "${wx_cv_size_t_is_uint+set}" = set; then
33387 echo $ECHO_N "(cached) $ECHO_C" >&6
33388 else
33389
33390 cat >conftest.$ac_ext <<_ACEOF
33391 /* confdefs.h. */
33392 _ACEOF
33393 cat confdefs.h >>conftest.$ac_ext
33394 cat >>conftest.$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33396 #include <stddef.h>
33397 int
33398 main ()
33399 {
33400
33401 return 0; }
33402
33403 struct Foo { void foo(size_t); void foo(unsigned int); };
33404
33405 int bar() {
33406
33407 ;
33408 return 0;
33409 }
33410 _ACEOF
33411 rm -f conftest.$ac_objext
33412 if { (ac_try="$ac_compile"
33413 case "(($ac_try" in
33414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33415 *) ac_try_echo=$ac_try;;
33416 esac
33417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33418 (eval "$ac_compile") 2>conftest.er1
33419 ac_status=$?
33420 grep -v '^ *+' conftest.er1 >conftest.err
33421 rm -f conftest.er1
33422 cat conftest.err >&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); } && {
33425 test -z "$ac_cxx_werror_flag" ||
33426 test ! -s conftest.err
33427 } && test -s conftest.$ac_objext; then
33428 wx_cv_size_t_is_uint=no
33429 else
33430 echo "$as_me: failed program was:" >&5
33431 sed 's/^/| /' conftest.$ac_ext >&5
33432
33433 wx_cv_size_t_is_uint=yes
33434
33435 fi
33436
33437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33438
33439
33440 fi
33441 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33442 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33443
33444 if test "$wx_cv_size_t_is_uint" = "yes"; then
33445 cat >>confdefs.h <<\_ACEOF
33446 #define wxSIZE_T_IS_UINT 1
33447 _ACEOF
33448
33449 else
33450 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33451 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33452 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33453 echo $ECHO_N "(cached) $ECHO_C" >&6
33454 else
33455 cat >conftest.$ac_ext <<_ACEOF
33456 /* confdefs.h. */
33457 _ACEOF
33458 cat confdefs.h >>conftest.$ac_ext
33459 cat >>conftest.$ac_ext <<_ACEOF
33460 /* end confdefs.h. */
33461 #include <stddef.h>
33462 int
33463 main ()
33464 {
33465
33466 return 0; }
33467
33468 struct Foo { void foo(size_t); void foo(unsigned long); };
33469
33470 int bar() {
33471
33472 ;
33473 return 0;
33474 }
33475 _ACEOF
33476 rm -f conftest.$ac_objext
33477 if { (ac_try="$ac_compile"
33478 case "(($ac_try" in
33479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33480 *) ac_try_echo=$ac_try;;
33481 esac
33482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33483 (eval "$ac_compile") 2>conftest.er1
33484 ac_status=$?
33485 grep -v '^ *+' conftest.er1 >conftest.err
33486 rm -f conftest.er1
33487 cat conftest.err >&5
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); } && {
33490 test -z "$ac_cxx_werror_flag" ||
33491 test ! -s conftest.err
33492 } && test -s conftest.$ac_objext; then
33493 wx_cv_size_t_is_ulong=no
33494 else
33495 echo "$as_me: failed program was:" >&5
33496 sed 's/^/| /' conftest.$ac_ext >&5
33497
33498 wx_cv_size_t_is_ulong=yes
33499
33500 fi
33501
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33503
33504 fi
33505 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33506 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33507
33508 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33509 cat >>confdefs.h <<\_ACEOF
33510 #define wxSIZE_T_IS_ULONG 1
33511 _ACEOF
33512
33513 fi
33514 fi
33515
33516 ac_ext=c
33517 ac_cpp='$CPP $CPPFLAGS'
33518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33521
33522
33523 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33524 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33525 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33526 echo $ECHO_N "(cached) $ECHO_C" >&6
33527 else
33528
33529 cat >conftest.$ac_ext <<_ACEOF
33530 /* confdefs.h. */
33531 _ACEOF
33532 cat confdefs.h >>conftest.$ac_ext
33533 cat >>conftest.$ac_ext <<_ACEOF
33534 /* end confdefs.h. */
33535 #include <pwd.h>
33536 int
33537 main ()
33538 {
33539
33540 char *p;
33541 struct passwd *pw;
33542 p = pw->pw_gecos;
33543
33544 ;
33545 return 0;
33546 }
33547 _ACEOF
33548 rm -f conftest.$ac_objext
33549 if { (ac_try="$ac_compile"
33550 case "(($ac_try" in
33551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33552 *) ac_try_echo=$ac_try;;
33553 esac
33554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33555 (eval "$ac_compile") 2>conftest.er1
33556 ac_status=$?
33557 grep -v '^ *+' conftest.er1 >conftest.err
33558 rm -f conftest.er1
33559 cat conftest.err >&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); } && {
33562 test -z "$ac_c_werror_flag" ||
33563 test ! -s conftest.err
33564 } && test -s conftest.$ac_objext; then
33565
33566 wx_cv_struct_pw_gecos=yes
33567
33568 else
33569 echo "$as_me: failed program was:" >&5
33570 sed 's/^/| /' conftest.$ac_ext >&5
33571
33572
33573 wx_cv_struct_pw_gecos=no
33574
33575
33576 fi
33577
33578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33579
33580
33581 fi
33582 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33583 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33584
33585 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33586 cat >>confdefs.h <<\_ACEOF
33587 #define HAVE_PW_GECOS 1
33588 _ACEOF
33589
33590 fi
33591
33592
33593 if test "$wxUSE_WCHAR_T" = "yes"; then
33594 cat >>confdefs.h <<\_ACEOF
33595 #define wxUSE_WCHAR_T 1
33596 _ACEOF
33597
33598
33599 WCSLEN_FOUND=0
33600 WCHAR_LINK=
33601
33602 for ac_func in wcslen
33603 do
33604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 else
33610 cat >conftest.$ac_ext <<_ACEOF
33611 /* confdefs.h. */
33612 _ACEOF
33613 cat confdefs.h >>conftest.$ac_ext
33614 cat >>conftest.$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33618 #define $ac_func innocuous_$ac_func
33619
33620 /* System header to define __stub macros and hopefully few prototypes,
33621 which can conflict with char $ac_func (); below.
33622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33623 <limits.h> exists even on freestanding compilers. */
33624
33625 #ifdef __STDC__
33626 # include <limits.h>
33627 #else
33628 # include <assert.h>
33629 #endif
33630
33631 #undef $ac_func
33632
33633 /* Override any GCC internal prototype to avoid an error.
33634 Use char because int might match the return type of a GCC
33635 builtin and then its argument prototype would still apply. */
33636 #ifdef __cplusplus
33637 extern "C"
33638 #endif
33639 char $ac_func ();
33640 /* The GNU C library defines this for functions which it implements
33641 to always fail with ENOSYS. Some functions are actually named
33642 something starting with __ and the normal name is an alias. */
33643 #if defined __stub_$ac_func || defined __stub___$ac_func
33644 choke me
33645 #endif
33646
33647 int
33648 main ()
33649 {
33650 return $ac_func ();
33651 ;
33652 return 0;
33653 }
33654 _ACEOF
33655 rm -f conftest.$ac_objext conftest$ac_exeext
33656 if { (ac_try="$ac_link"
33657 case "(($ac_try" in
33658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33659 *) ac_try_echo=$ac_try;;
33660 esac
33661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33662 (eval "$ac_link") 2>conftest.er1
33663 ac_status=$?
33664 grep -v '^ *+' conftest.er1 >conftest.err
33665 rm -f conftest.er1
33666 cat conftest.err >&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } && {
33669 test -z "$ac_c_werror_flag" ||
33670 test ! -s conftest.err
33671 } && test -s conftest$ac_exeext &&
33672 $as_test_x conftest$ac_exeext; then
33673 eval "$as_ac_var=yes"
33674 else
33675 echo "$as_me: failed program was:" >&5
33676 sed 's/^/| /' conftest.$ac_ext >&5
33677
33678 eval "$as_ac_var=no"
33679 fi
33680
33681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33682 conftest$ac_exeext conftest.$ac_ext
33683 fi
33684 ac_res=`eval echo '${'$as_ac_var'}'`
33685 { echo "$as_me:$LINENO: result: $ac_res" >&5
33686 echo "${ECHO_T}$ac_res" >&6; }
33687 if test `eval echo '${'$as_ac_var'}'` = yes; then
33688 cat >>confdefs.h <<_ACEOF
33689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33690 _ACEOF
33691 WCSLEN_FOUND=1
33692 fi
33693 done
33694
33695
33696 if test "$WCSLEN_FOUND" = 0; then
33697 if test "$TOOLKIT" = "MSW"; then
33698 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33699 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33700 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33701 echo $ECHO_N "(cached) $ECHO_C" >&6
33702 else
33703 ac_check_lib_save_LIBS=$LIBS
33704 LIBS="-lmsvcrt $LIBS"
33705 cat >conftest.$ac_ext <<_ACEOF
33706 /* confdefs.h. */
33707 _ACEOF
33708 cat confdefs.h >>conftest.$ac_ext
33709 cat >>conftest.$ac_ext <<_ACEOF
33710 /* end confdefs.h. */
33711
33712 /* Override any GCC internal prototype to avoid an error.
33713 Use char because int might match the return type of a GCC
33714 builtin and then its argument prototype would still apply. */
33715 #ifdef __cplusplus
33716 extern "C"
33717 #endif
33718 char wcslen ();
33719 int
33720 main ()
33721 {
33722 return wcslen ();
33723 ;
33724 return 0;
33725 }
33726 _ACEOF
33727 rm -f conftest.$ac_objext conftest$ac_exeext
33728 if { (ac_try="$ac_link"
33729 case "(($ac_try" in
33730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33731 *) ac_try_echo=$ac_try;;
33732 esac
33733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33734 (eval "$ac_link") 2>conftest.er1
33735 ac_status=$?
33736 grep -v '^ *+' conftest.er1 >conftest.err
33737 rm -f conftest.er1
33738 cat conftest.err >&5
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); } && {
33741 test -z "$ac_c_werror_flag" ||
33742 test ! -s conftest.err
33743 } && test -s conftest$ac_exeext &&
33744 $as_test_x conftest$ac_exeext; then
33745 ac_cv_lib_msvcrt_wcslen=yes
33746 else
33747 echo "$as_me: failed program was:" >&5
33748 sed 's/^/| /' conftest.$ac_ext >&5
33749
33750 ac_cv_lib_msvcrt_wcslen=no
33751 fi
33752
33753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33754 conftest$ac_exeext conftest.$ac_ext
33755 LIBS=$ac_check_lib_save_LIBS
33756 fi
33757 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33758 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33759 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33760 WCHAR_OK=1
33761 fi
33762
33763 else
33764 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33765 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33766 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 else
33769 ac_check_lib_save_LIBS=$LIBS
33770 LIBS="-lw $LIBS"
33771 cat >conftest.$ac_ext <<_ACEOF
33772 /* confdefs.h. */
33773 _ACEOF
33774 cat confdefs.h >>conftest.$ac_ext
33775 cat >>conftest.$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33777
33778 /* Override any GCC internal prototype to avoid an error.
33779 Use char because int might match the return type of a GCC
33780 builtin and then its argument prototype would still apply. */
33781 #ifdef __cplusplus
33782 extern "C"
33783 #endif
33784 char wcslen ();
33785 int
33786 main ()
33787 {
33788 return wcslen ();
33789 ;
33790 return 0;
33791 }
33792 _ACEOF
33793 rm -f conftest.$ac_objext conftest$ac_exeext
33794 if { (ac_try="$ac_link"
33795 case "(($ac_try" in
33796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33797 *) ac_try_echo=$ac_try;;
33798 esac
33799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33800 (eval "$ac_link") 2>conftest.er1
33801 ac_status=$?
33802 grep -v '^ *+' conftest.er1 >conftest.err
33803 rm -f conftest.er1
33804 cat conftest.err >&5
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); } && {
33807 test -z "$ac_c_werror_flag" ||
33808 test ! -s conftest.err
33809 } && test -s conftest$ac_exeext &&
33810 $as_test_x conftest$ac_exeext; then
33811 ac_cv_lib_w_wcslen=yes
33812 else
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.$ac_ext >&5
33815
33816 ac_cv_lib_w_wcslen=no
33817 fi
33818
33819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33820 conftest$ac_exeext conftest.$ac_ext
33821 LIBS=$ac_check_lib_save_LIBS
33822 fi
33823 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33824 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33825 if test $ac_cv_lib_w_wcslen = yes; then
33826
33827 WCHAR_LINK=" -lw"
33828 WCSLEN_FOUND=1
33829
33830 fi
33831
33832 fi
33833 fi
33834
33835 if test "$WCSLEN_FOUND" = 1; then
33836 cat >>confdefs.h <<\_ACEOF
33837 #define HAVE_WCSLEN 1
33838 _ACEOF
33839
33840 fi
33841
33842 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33843 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33844 fi
33845
33846 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33847 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33848 if test "${ac_cv_type_mbstate_t+set}" = set; then
33849 echo $ECHO_N "(cached) $ECHO_C" >&6
33850 else
33851 cat >conftest.$ac_ext <<_ACEOF
33852 /* confdefs.h. */
33853 _ACEOF
33854 cat confdefs.h >>conftest.$ac_ext
33855 cat >>conftest.$ac_ext <<_ACEOF
33856 /* end confdefs.h. */
33857 #include <wchar.h>
33858
33859 typedef mbstate_t ac__type_new_;
33860 int
33861 main ()
33862 {
33863 if ((ac__type_new_ *) 0)
33864 return 0;
33865 if (sizeof (ac__type_new_))
33866 return 0;
33867 ;
33868 return 0;
33869 }
33870 _ACEOF
33871 rm -f conftest.$ac_objext
33872 if { (ac_try="$ac_compile"
33873 case "(($ac_try" in
33874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33875 *) ac_try_echo=$ac_try;;
33876 esac
33877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33878 (eval "$ac_compile") 2>conftest.er1
33879 ac_status=$?
33880 grep -v '^ *+' conftest.er1 >conftest.err
33881 rm -f conftest.er1
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } && {
33885 test -z "$ac_c_werror_flag" ||
33886 test ! -s conftest.err
33887 } && test -s conftest.$ac_objext; then
33888 ac_cv_type_mbstate_t=yes
33889 else
33890 echo "$as_me: failed program was:" >&5
33891 sed 's/^/| /' conftest.$ac_ext >&5
33892
33893 ac_cv_type_mbstate_t=no
33894 fi
33895
33896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33897 fi
33898 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33899 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33900 if test $ac_cv_type_mbstate_t = yes; then
33901
33902 cat >>confdefs.h <<_ACEOF
33903 #define HAVE_MBSTATE_T 1
33904 _ACEOF
33905
33906
33907 for ac_func in wcsrtombs
33908 do
33909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 else
33915 cat >conftest.$ac_ext <<_ACEOF
33916 /* confdefs.h. */
33917 _ACEOF
33918 cat confdefs.h >>conftest.$ac_ext
33919 cat >>conftest.$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33923 #define $ac_func innocuous_$ac_func
33924
33925 /* System header to define __stub macros and hopefully few prototypes,
33926 which can conflict with char $ac_func (); below.
33927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33928 <limits.h> exists even on freestanding compilers. */
33929
33930 #ifdef __STDC__
33931 # include <limits.h>
33932 #else
33933 # include <assert.h>
33934 #endif
33935
33936 #undef $ac_func
33937
33938 /* Override any GCC internal prototype to avoid an error.
33939 Use char because int might match the return type of a GCC
33940 builtin and then its argument prototype would still apply. */
33941 #ifdef __cplusplus
33942 extern "C"
33943 #endif
33944 char $ac_func ();
33945 /* The GNU C library defines this for functions which it implements
33946 to always fail with ENOSYS. Some functions are actually named
33947 something starting with __ and the normal name is an alias. */
33948 #if defined __stub_$ac_func || defined __stub___$ac_func
33949 choke me
33950 #endif
33951
33952 int
33953 main ()
33954 {
33955 return $ac_func ();
33956 ;
33957 return 0;
33958 }
33959 _ACEOF
33960 rm -f conftest.$ac_objext conftest$ac_exeext
33961 if { (ac_try="$ac_link"
33962 case "(($ac_try" in
33963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33964 *) ac_try_echo=$ac_try;;
33965 esac
33966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33967 (eval "$ac_link") 2>conftest.er1
33968 ac_status=$?
33969 grep -v '^ *+' conftest.er1 >conftest.err
33970 rm -f conftest.er1
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } && {
33974 test -z "$ac_c_werror_flag" ||
33975 test ! -s conftest.err
33976 } && test -s conftest$ac_exeext &&
33977 $as_test_x conftest$ac_exeext; then
33978 eval "$as_ac_var=yes"
33979 else
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33982
33983 eval "$as_ac_var=no"
33984 fi
33985
33986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33987 conftest$ac_exeext conftest.$ac_ext
33988 fi
33989 ac_res=`eval echo '${'$as_ac_var'}'`
33990 { echo "$as_me:$LINENO: result: $ac_res" >&5
33991 echo "${ECHO_T}$ac_res" >&6; }
33992 if test `eval echo '${'$as_ac_var'}'` = yes; then
33993 cat >>confdefs.h <<_ACEOF
33994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33995 _ACEOF
33996
33997 fi
33998 done
33999
34000 fi
34001
34002 else
34003 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34004 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34005 fi
34006
34007
34008
34009 for ac_func in snprintf vsnprintf
34010 do
34011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34014 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34017 cat >conftest.$ac_ext <<_ACEOF
34018 /* confdefs.h. */
34019 _ACEOF
34020 cat confdefs.h >>conftest.$ac_ext
34021 cat >>conftest.$ac_ext <<_ACEOF
34022 /* end confdefs.h. */
34023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34025 #define $ac_func innocuous_$ac_func
34026
34027 /* System header to define __stub macros and hopefully few prototypes,
34028 which can conflict with char $ac_func (); below.
34029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34030 <limits.h> exists even on freestanding compilers. */
34031
34032 #ifdef __STDC__
34033 # include <limits.h>
34034 #else
34035 # include <assert.h>
34036 #endif
34037
34038 #undef $ac_func
34039
34040 /* Override any GCC internal prototype to avoid an error.
34041 Use char because int might match the return type of a GCC
34042 builtin and then its argument prototype would still apply. */
34043 #ifdef __cplusplus
34044 extern "C"
34045 #endif
34046 char $ac_func ();
34047 /* The GNU C library defines this for functions which it implements
34048 to always fail with ENOSYS. Some functions are actually named
34049 something starting with __ and the normal name is an alias. */
34050 #if defined __stub_$ac_func || defined __stub___$ac_func
34051 choke me
34052 #endif
34053
34054 int
34055 main ()
34056 {
34057 return $ac_func ();
34058 ;
34059 return 0;
34060 }
34061 _ACEOF
34062 rm -f conftest.$ac_objext conftest$ac_exeext
34063 if { (ac_try="$ac_link"
34064 case "(($ac_try" in
34065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34066 *) ac_try_echo=$ac_try;;
34067 esac
34068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34069 (eval "$ac_link") 2>conftest.er1
34070 ac_status=$?
34071 grep -v '^ *+' conftest.er1 >conftest.err
34072 rm -f conftest.er1
34073 cat conftest.err >&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); } && {
34076 test -z "$ac_c_werror_flag" ||
34077 test ! -s conftest.err
34078 } && test -s conftest$ac_exeext &&
34079 $as_test_x conftest$ac_exeext; then
34080 eval "$as_ac_var=yes"
34081 else
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.$ac_ext >&5
34084
34085 eval "$as_ac_var=no"
34086 fi
34087
34088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34089 conftest$ac_exeext conftest.$ac_ext
34090 fi
34091 ac_res=`eval echo '${'$as_ac_var'}'`
34092 { echo "$as_me:$LINENO: result: $ac_res" >&5
34093 echo "${ECHO_T}$ac_res" >&6; }
34094 if test `eval echo '${'$as_ac_var'}'` = yes; then
34095 cat >>confdefs.h <<_ACEOF
34096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34097 _ACEOF
34098
34099 fi
34100 done
34101
34102
34103 if test "$ac_cv_func_vsnprintf" = "yes"; then
34104 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34105 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34106 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 else
34109
34110 cat >conftest.$ac_ext <<_ACEOF
34111 /* confdefs.h. */
34112 _ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34116
34117 #include <stdio.h>
34118 #include <stdarg.h>
34119 #ifdef __MSL__
34120 #if __MSL__ >= 0x6000
34121 namespace std {}
34122 using namespace std;
34123 #endif
34124 #endif
34125
34126 int
34127 main ()
34128 {
34129
34130 char *buf;
34131 va_list ap;
34132 vsnprintf(buf, 10u, "%s", ap);
34133
34134 ;
34135 return 0;
34136 }
34137 _ACEOF
34138 rm -f conftest.$ac_objext
34139 if { (ac_try="$ac_compile"
34140 case "(($ac_try" in
34141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34142 *) ac_try_echo=$ac_try;;
34143 esac
34144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34145 (eval "$ac_compile") 2>conftest.er1
34146 ac_status=$?
34147 grep -v '^ *+' conftest.er1 >conftest.err
34148 rm -f conftest.er1
34149 cat conftest.err >&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); } && {
34152 test -z "$ac_c_werror_flag" ||
34153 test ! -s conftest.err
34154 } && test -s conftest.$ac_objext; then
34155 wx_cv_func_vsnprintf_decl=yes
34156 else
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.$ac_ext >&5
34159
34160 wx_cv_func_vsnprintf_decl=no
34161
34162 fi
34163
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165
34166
34167 fi
34168 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34169 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34170
34171 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34172 cat >>confdefs.h <<\_ACEOF
34173 #define HAVE_VSNPRINTF_DECL 1
34174 _ACEOF
34175
34176
34177 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34178 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34179 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34180 echo $ECHO_N "(cached) $ECHO_C" >&6
34181 else
34182
34183 cat >conftest.$ac_ext <<_ACEOF
34184 /* confdefs.h. */
34185 _ACEOF
34186 cat confdefs.h >>conftest.$ac_ext
34187 cat >>conftest.$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34189
34190 #include <stdio.h>
34191 #include <stdarg.h>
34192 #ifdef __MSL__
34193 #if __MSL__ >= 0x6000
34194 namespace std {}
34195 using namespace std;
34196 #endif
34197 #endif
34198
34199 int
34200 main ()
34201 {
34202
34203 char *buf;
34204 va_list ap;
34205 const char *fmt = "%s";
34206 vsnprintf(buf, 10u, fmt, ap);
34207
34208 ;
34209 return 0;
34210 }
34211 _ACEOF
34212 rm -f conftest.$ac_objext
34213 if { (ac_try="$ac_compile"
34214 case "(($ac_try" in
34215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34216 *) ac_try_echo=$ac_try;;
34217 esac
34218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34219 (eval "$ac_compile") 2>conftest.er1
34220 ac_status=$?
34221 grep -v '^ *+' conftest.er1 >conftest.err
34222 rm -f conftest.er1
34223 cat conftest.err >&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); } && {
34226 test -z "$ac_c_werror_flag" ||
34227 test ! -s conftest.err
34228 } && test -s conftest.$ac_objext; then
34229 wx_cv_func_broken_vsnprintf_decl=no
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34233
34234 wx_cv_func_broken_vsnprintf_decl=yes
34235
34236 fi
34237
34238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34239
34240
34241 fi
34242 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34243 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34244
34245 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34246 cat >>confdefs.h <<\_ACEOF
34247 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34248 _ACEOF
34249
34250 fi
34251 fi
34252 fi
34253
34254 if test "$ac_cv_func_snprintf" = "yes"; then
34255 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34256 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34257 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 else
34260
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267
34268 #include <stdio.h>
34269 #include <stdarg.h>
34270 #ifdef __MSL__
34271 #if __MSL__ >= 0x6000
34272 namespace std {}
34273 using namespace std;
34274 #endif
34275 #endif
34276
34277 int
34278 main ()
34279 {
34280
34281 char *buf;
34282 snprintf(buf, 10u, "%s", "wx");
34283
34284 ;
34285 return 0;
34286 }
34287 _ACEOF
34288 rm -f conftest.$ac_objext
34289 if { (ac_try="$ac_compile"
34290 case "(($ac_try" in
34291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34292 *) ac_try_echo=$ac_try;;
34293 esac
34294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34295 (eval "$ac_compile") 2>conftest.er1
34296 ac_status=$?
34297 grep -v '^ *+' conftest.er1 >conftest.err
34298 rm -f conftest.er1
34299 cat conftest.err >&5
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); } && {
34302 test -z "$ac_c_werror_flag" ||
34303 test ! -s conftest.err
34304 } && test -s conftest.$ac_objext; then
34305 wx_cv_func_snprintf_decl=yes
34306 else
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34309
34310 wx_cv_func_snprintf_decl=no
34311
34312 fi
34313
34314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34315
34316
34317 fi
34318 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34319 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34320
34321 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34322 cat >>confdefs.h <<\_ACEOF
34323 #define HAVE_SNPRINTF_DECL 1
34324 _ACEOF
34325
34326
34327 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34328 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34329 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34330 echo $ECHO_N "(cached) $ECHO_C" >&6
34331 else
34332
34333 cat >conftest.$ac_ext <<_ACEOF
34334 /* confdefs.h. */
34335 _ACEOF
34336 cat confdefs.h >>conftest.$ac_ext
34337 cat >>conftest.$ac_ext <<_ACEOF
34338 /* end confdefs.h. */
34339
34340 #include <stdio.h>
34341 #include <stdarg.h>
34342 #ifdef __MSL__
34343 #if __MSL__ >= 0x6000
34344 namespace std {}
34345 using namespace std;
34346 #endif
34347 #endif
34348
34349 int
34350 main ()
34351 {
34352
34353 char *buf;
34354 const char *fmt = "%s";
34355 snprintf(buf, 10u, fmt, "wx");
34356
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34365 *) ac_try_echo=$ac_try;;
34366 esac
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34369 ac_status=$?
34370 grep -v '^ *+' conftest.er1 >conftest.err
34371 rm -f conftest.er1
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.$ac_objext; then
34378 wx_cv_func_broken_snprintf_decl=no
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 wx_cv_func_broken_snprintf_decl=yes
34384
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388
34389
34390 fi
34391 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34392 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34393
34394 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34395 cat >>confdefs.h <<\_ACEOF
34396 #define HAVE_BROKEN_SNPRINTF_DECL 1
34397 _ACEOF
34398
34399 fi
34400 fi
34401
34402 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34403
34404 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34405 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34406 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34407 echo $ECHO_N "(cached) $ECHO_C" >&6
34408 else
34409
34410 if test "$cross_compiling" = yes; then
34411
34412 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34413 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34414 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34415 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34416 wx_cv_func_snprintf_pos_params=no
34417
34418
34419 else
34420 cat >conftest.$ac_ext <<_ACEOF
34421 /* confdefs.h. */
34422 _ACEOF
34423 cat confdefs.h >>conftest.$ac_ext
34424 cat >>conftest.$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34426
34427 #include <stdio.h>
34428
34429 int main (void)
34430 {
34431 char buffer[128];
34432 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34433 if (strcmp ("2 3 1", buffer) == 0)
34434 exit (0);
34435 exit (1);
34436 }
34437
34438 _ACEOF
34439 rm -f conftest$ac_exeext
34440 if { (ac_try="$ac_link"
34441 case "(($ac_try" in
34442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34443 *) ac_try_echo=$ac_try;;
34444 esac
34445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34446 (eval "$ac_link") 2>&5
34447 ac_status=$?
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34450 { (case "(($ac_try" in
34451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34452 *) ac_try_echo=$ac_try;;
34453 esac
34454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34455 (eval "$ac_try") 2>&5
34456 ac_status=$?
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; }; then
34459 wx_cv_func_snprintf_pos_params=no
34460 else
34461 echo "$as_me: program exited with status $ac_status" >&5
34462 echo "$as_me: failed program was:" >&5
34463 sed 's/^/| /' conftest.$ac_ext >&5
34464
34465 ( exit $ac_status )
34466 wx_cv_func_snprintf_pos_params=yes
34467 fi
34468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34469 fi
34470
34471
34472
34473
34474 fi
34475 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34476 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34477
34478 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34479 cat >>confdefs.h <<\_ACEOF
34480 #define HAVE_UNIX98_PRINTF 1
34481 _ACEOF
34482
34483 fi
34484 fi
34485 fi
34486
34487 if test "$wxUSE_UNICODE" = yes; then
34488
34489
34490 for ac_func in swprintf
34491 do
34492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 else
34498 cat >conftest.$ac_ext <<_ACEOF
34499 /* confdefs.h. */
34500 _ACEOF
34501 cat confdefs.h >>conftest.$ac_ext
34502 cat >>conftest.$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34506 #define $ac_func innocuous_$ac_func
34507
34508 /* System header to define __stub macros and hopefully few prototypes,
34509 which can conflict with char $ac_func (); below.
34510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34511 <limits.h> exists even on freestanding compilers. */
34512
34513 #ifdef __STDC__
34514 # include <limits.h>
34515 #else
34516 # include <assert.h>
34517 #endif
34518
34519 #undef $ac_func
34520
34521 /* Override any GCC internal prototype to avoid an error.
34522 Use char because int might match the return type of a GCC
34523 builtin and then its argument prototype would still apply. */
34524 #ifdef __cplusplus
34525 extern "C"
34526 #endif
34527 char $ac_func ();
34528 /* The GNU C library defines this for functions which it implements
34529 to always fail with ENOSYS. Some functions are actually named
34530 something starting with __ and the normal name is an alias. */
34531 #if defined __stub_$ac_func || defined __stub___$ac_func
34532 choke me
34533 #endif
34534
34535 int
34536 main ()
34537 {
34538 return $ac_func ();
34539 ;
34540 return 0;
34541 }
34542 _ACEOF
34543 rm -f conftest.$ac_objext conftest$ac_exeext
34544 if { (ac_try="$ac_link"
34545 case "(($ac_try" in
34546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34547 *) ac_try_echo=$ac_try;;
34548 esac
34549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34550 (eval "$ac_link") 2>conftest.er1
34551 ac_status=$?
34552 grep -v '^ *+' conftest.er1 >conftest.err
34553 rm -f conftest.er1
34554 cat conftest.err >&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } && {
34557 test -z "$ac_c_werror_flag" ||
34558 test ! -s conftest.err
34559 } && test -s conftest$ac_exeext &&
34560 $as_test_x conftest$ac_exeext; then
34561 eval "$as_ac_var=yes"
34562 else
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34565
34566 eval "$as_ac_var=no"
34567 fi
34568
34569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34570 conftest$ac_exeext conftest.$ac_ext
34571 fi
34572 ac_res=`eval echo '${'$as_ac_var'}'`
34573 { echo "$as_me:$LINENO: result: $ac_res" >&5
34574 echo "${ECHO_T}$ac_res" >&6; }
34575 if test `eval echo '${'$as_ac_var'}'` = yes; then
34576 cat >>confdefs.h <<_ACEOF
34577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34578 _ACEOF
34579
34580 fi
34581 done
34582
34583
34584 if test "$ac_cv_func_swprintf" = "yes"; then
34585 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34586 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34587 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 else
34590
34591 cat >conftest.$ac_ext <<_ACEOF
34592 /* confdefs.h. */
34593 _ACEOF
34594 cat confdefs.h >>conftest.$ac_ext
34595 cat >>conftest.$ac_ext <<_ACEOF
34596 /* end confdefs.h. */
34597
34598 #include <stdio.h>
34599 #include <stdarg.h>
34600 #include <wchar.h>
34601
34602 int
34603 main ()
34604 {
34605
34606 wchar_t *buf;
34607 const wchar_t *fmt = L"test";
34608 swprintf(buf, 10u, fmt);
34609
34610 ;
34611 return 0;
34612 }
34613 _ACEOF
34614 rm -f conftest.$ac_objext
34615 if { (ac_try="$ac_compile"
34616 case "(($ac_try" in
34617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34618 *) ac_try_echo=$ac_try;;
34619 esac
34620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34621 (eval "$ac_compile") 2>conftest.er1
34622 ac_status=$?
34623 grep -v '^ *+' conftest.er1 >conftest.err
34624 rm -f conftest.er1
34625 cat conftest.err >&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); } && {
34628 test -z "$ac_c_werror_flag" ||
34629 test ! -s conftest.err
34630 } && test -s conftest.$ac_objext; then
34631 wx_cv_func_broken_swprintf_decl=no
34632 else
34633 echo "$as_me: failed program was:" >&5
34634 sed 's/^/| /' conftest.$ac_ext >&5
34635
34636 wx_cv_func_broken_swprintf_decl=yes
34637
34638 fi
34639
34640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34641
34642
34643 fi
34644 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34645 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34646
34647 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34648 cat >>confdefs.h <<\_ACEOF
34649 #define HAVE_BROKEN_SWPRINTF_DECL 1
34650 _ACEOF
34651
34652 fi
34653 fi
34654
34655 wchar_headers="#include <stdio.h>
34656 #include <wchar.h>"
34657 case "${host}" in
34658 *-*-solaris2* )
34659 { echo "$as_me:$LINENO: checking for widec.h" >&5
34660 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34661 if test "${ac_cv_header_widec_h+set}" = set; then
34662 echo $ECHO_N "(cached) $ECHO_C" >&6
34663 else
34664 cat >conftest.$ac_ext <<_ACEOF
34665 /* confdefs.h. */
34666 _ACEOF
34667 cat confdefs.h >>conftest.$ac_ext
34668 cat >>conftest.$ac_ext <<_ACEOF
34669 /* end confdefs.h. */
34670 $ac_includes_default
34671
34672 #include <widec.h>
34673 _ACEOF
34674 rm -f conftest.$ac_objext
34675 if { (ac_try="$ac_compile"
34676 case "(($ac_try" in
34677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34678 *) ac_try_echo=$ac_try;;
34679 esac
34680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34681 (eval "$ac_compile") 2>conftest.er1
34682 ac_status=$?
34683 grep -v '^ *+' conftest.er1 >conftest.err
34684 rm -f conftest.er1
34685 cat conftest.err >&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } && {
34688 test -z "$ac_c_werror_flag" ||
34689 test ! -s conftest.err
34690 } && test -s conftest.$ac_objext; then
34691 ac_cv_header_widec_h=yes
34692 else
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34695
34696 ac_cv_header_widec_h=no
34697 fi
34698
34699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34700 fi
34701 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34702 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34703
34704
34705 if test "$ac_cv_header_widec_h" = "yes"; then
34706 wchar_headers="$wchar_headers
34707 #include <widec.h>"
34708 fi
34709 esac
34710
34711
34712 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34713 do
34714 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34715 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34716 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34717 echo $ECHO_N "(cached) $ECHO_C" >&6
34718 else
34719
34720 cat >conftest.$ac_ext <<_ACEOF
34721
34722 /* confdefs.h. */
34723 _ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34727
34728 $wchar_headers
34729 $ac_includes_default
34730
34731 int
34732 main ()
34733 {
34734
34735 #ifndef $wx_func
34736 &$wx_func;
34737 #endif
34738
34739
34740 ;
34741 return 0;
34742 }
34743
34744 _ACEOF
34745 rm -f conftest.$ac_objext conftest$ac_exeext
34746 if { (ac_try="$ac_link"
34747 case "(($ac_try" in
34748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34749 *) ac_try_echo=$ac_try;;
34750 esac
34751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34752 (eval "$ac_link") 2>conftest.er1
34753 ac_status=$?
34754 grep -v '^ *+' conftest.er1 >conftest.err
34755 rm -f conftest.er1
34756 cat conftest.err >&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } && {
34759 test -z "$ac_c_werror_flag" ||
34760 test ! -s conftest.err
34761 } && test -s conftest$ac_exeext &&
34762 $as_test_x conftest$ac_exeext; then
34763 eval wx_cv_func_$wx_func=yes
34764 else
34765 echo "$as_me: failed program was:" >&5
34766 sed 's/^/| /' conftest.$ac_ext >&5
34767
34768 eval wx_cv_func_$wx_func=no
34769 fi
34770
34771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34772 conftest$ac_exeext conftest.$ac_ext
34773
34774 fi
34775 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34776 { echo "$as_me:$LINENO: result: $ac_res" >&5
34777 echo "${ECHO_T}$ac_res" >&6; }
34778
34779 if eval test \$wx_cv_func_$wx_func = yes
34780 then
34781 cat >>confdefs.h <<_ACEOF
34782 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34783 _ACEOF
34784
34785
34786 else
34787 :
34788
34789 fi
34790 done
34791
34792
34793 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34794 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34795 cat >conftest.$ac_ext <<_ACEOF
34796 /* confdefs.h. */
34797 _ACEOF
34798 cat confdefs.h >>conftest.$ac_ext
34799 cat >>conftest.$ac_ext <<_ACEOF
34800 /* end confdefs.h. */
34801 #include <wchar.h>
34802 int
34803 main ()
34804 {
34805 &_vsnwprintf;
34806 ;
34807 return 0;
34808 }
34809 _ACEOF
34810 rm -f conftest.$ac_objext
34811 if { (ac_try="$ac_compile"
34812 case "(($ac_try" in
34813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34814 *) ac_try_echo=$ac_try;;
34815 esac
34816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34817 (eval "$ac_compile") 2>conftest.er1
34818 ac_status=$?
34819 grep -v '^ *+' conftest.er1 >conftest.err
34820 rm -f conftest.er1
34821 cat conftest.err >&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); } && {
34824 test -z "$ac_c_werror_flag" ||
34825 test ! -s conftest.err
34826 } && test -s conftest.$ac_objext; then
34827 { echo "$as_me:$LINENO: result: yes" >&5
34828 echo "${ECHO_T}yes" >&6; }
34829 cat >>confdefs.h <<\_ACEOF
34830 #define HAVE__VSNWPRINTF 1
34831 _ACEOF
34832
34833 else
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.$ac_ext >&5
34836
34837 { echo "$as_me:$LINENO: result: no" >&5
34838 echo "${ECHO_T}no" >&6; }
34839 fi
34840
34841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34842 fi
34843
34844 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34845
34846 for wx_func in fnmatch
34847 do
34848 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34849 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34850 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34851 echo $ECHO_N "(cached) $ECHO_C" >&6
34852 else
34853
34854 cat >conftest.$ac_ext <<_ACEOF
34855
34856 /* confdefs.h. */
34857 _ACEOF
34858 cat confdefs.h >>conftest.$ac_ext
34859 cat >>conftest.$ac_ext <<_ACEOF
34860 /* end confdefs.h. */
34861
34862 #include <fnmatch.h>
34863 $ac_includes_default
34864
34865 int
34866 main ()
34867 {
34868
34869 #ifndef $wx_func
34870 &$wx_func;
34871 #endif
34872
34873
34874 ;
34875 return 0;
34876 }
34877
34878 _ACEOF
34879 rm -f conftest.$ac_objext conftest$ac_exeext
34880 if { (ac_try="$ac_link"
34881 case "(($ac_try" in
34882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34883 *) ac_try_echo=$ac_try;;
34884 esac
34885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34886 (eval "$ac_link") 2>conftest.er1
34887 ac_status=$?
34888 grep -v '^ *+' conftest.er1 >conftest.err
34889 rm -f conftest.er1
34890 cat conftest.err >&5
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); } && {
34893 test -z "$ac_c_werror_flag" ||
34894 test ! -s conftest.err
34895 } && test -s conftest$ac_exeext &&
34896 $as_test_x conftest$ac_exeext; then
34897 eval wx_cv_func_$wx_func=yes
34898 else
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.$ac_ext >&5
34901
34902 eval wx_cv_func_$wx_func=no
34903 fi
34904
34905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34906 conftest$ac_exeext conftest.$ac_ext
34907
34908 fi
34909 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34910 { echo "$as_me:$LINENO: result: $ac_res" >&5
34911 echo "${ECHO_T}$ac_res" >&6; }
34912
34913 if eval test \$wx_cv_func_$wx_func = yes
34914 then
34915 cat >>confdefs.h <<_ACEOF
34916 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34917 _ACEOF
34918
34919
34920 else
34921 :
34922
34923 fi
34924 done
34925
34926 fi
34927
34928 if test "$wxUSE_FILE" = "yes"; then
34929
34930 for wx_func in fsync
34931 do
34932 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34933 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34934 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34935 echo $ECHO_N "(cached) $ECHO_C" >&6
34936 else
34937
34938 cat >conftest.$ac_ext <<_ACEOF
34939
34940 /* confdefs.h. */
34941 _ACEOF
34942 cat confdefs.h >>conftest.$ac_ext
34943 cat >>conftest.$ac_ext <<_ACEOF
34944 /* end confdefs.h. */
34945
34946
34947 $ac_includes_default
34948
34949 int
34950 main ()
34951 {
34952
34953 #ifndef $wx_func
34954 &$wx_func;
34955 #endif
34956
34957
34958 ;
34959 return 0;
34960 }
34961
34962 _ACEOF
34963 rm -f conftest.$ac_objext conftest$ac_exeext
34964 if { (ac_try="$ac_link"
34965 case "(($ac_try" in
34966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34967 *) ac_try_echo=$ac_try;;
34968 esac
34969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34970 (eval "$ac_link") 2>conftest.er1
34971 ac_status=$?
34972 grep -v '^ *+' conftest.er1 >conftest.err
34973 rm -f conftest.er1
34974 cat conftest.err >&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } && {
34977 test -z "$ac_c_werror_flag" ||
34978 test ! -s conftest.err
34979 } && test -s conftest$ac_exeext &&
34980 $as_test_x conftest$ac_exeext; then
34981 eval wx_cv_func_$wx_func=yes
34982 else
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34985
34986 eval wx_cv_func_$wx_func=no
34987 fi
34988
34989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34990 conftest$ac_exeext conftest.$ac_ext
34991
34992 fi
34993 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34994 { echo "$as_me:$LINENO: result: $ac_res" >&5
34995 echo "${ECHO_T}$ac_res" >&6; }
34996
34997 if eval test \$wx_cv_func_$wx_func = yes
34998 then
34999 cat >>confdefs.h <<_ACEOF
35000 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35001 _ACEOF
35002
35003
35004 else
35005 :
35006
35007 fi
35008 done
35009
35010 fi
35011
35012
35013 for wx_func in round
35014 do
35015 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35016 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35017 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35018 echo $ECHO_N "(cached) $ECHO_C" >&6
35019 else
35020
35021 cat >conftest.$ac_ext <<_ACEOF
35022
35023 /* confdefs.h. */
35024 _ACEOF
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35028
35029 #include <math.h>
35030 $ac_includes_default
35031
35032 int
35033 main ()
35034 {
35035
35036 #ifndef $wx_func
35037 &$wx_func;
35038 #endif
35039
35040
35041 ;
35042 return 0;
35043 }
35044
35045 _ACEOF
35046 rm -f conftest.$ac_objext conftest$ac_exeext
35047 if { (ac_try="$ac_link"
35048 case "(($ac_try" in
35049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35050 *) ac_try_echo=$ac_try;;
35051 esac
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053 (eval "$ac_link") 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } && {
35060 test -z "$ac_c_werror_flag" ||
35061 test ! -s conftest.err
35062 } && test -s conftest$ac_exeext &&
35063 $as_test_x conftest$ac_exeext; then
35064 eval wx_cv_func_$wx_func=yes
35065 else
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35068
35069 eval wx_cv_func_$wx_func=no
35070 fi
35071
35072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35073 conftest$ac_exeext conftest.$ac_ext
35074
35075 fi
35076 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35077 { echo "$as_me:$LINENO: result: $ac_res" >&5
35078 echo "${ECHO_T}$ac_res" >&6; }
35079
35080 if eval test \$wx_cv_func_$wx_func = yes
35081 then
35082 cat >>confdefs.h <<_ACEOF
35083 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35084 _ACEOF
35085
35086
35087 else
35088 :
35089
35090 fi
35091 done
35092
35093
35094 if test "$TOOLKIT" != "MSW"; then
35095
35096
35097
35098
35099
35100 # Check whether --with-libiconv-prefix was given.
35101 if test "${with_libiconv_prefix+set}" = set; then
35102 withval=$with_libiconv_prefix;
35103 for dir in `echo "$withval" | tr : ' '`; do
35104 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35105 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35106 done
35107
35108 fi
35109
35110
35111 { echo "$as_me:$LINENO: checking for iconv" >&5
35112 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35113 if test "${am_cv_func_iconv+set}" = set; then
35114 echo $ECHO_N "(cached) $ECHO_C" >&6
35115 else
35116
35117 am_cv_func_iconv="no, consider installing GNU libiconv"
35118 am_cv_lib_iconv=no
35119 cat >conftest.$ac_ext <<_ACEOF
35120 /* confdefs.h. */
35121 _ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35125 #include <stdlib.h>
35126 #include <iconv.h>
35127 int
35128 main ()
35129 {
35130 iconv_t cd = iconv_open("","");
35131 iconv(cd,NULL,NULL,NULL,NULL);
35132 iconv_close(cd);
35133 ;
35134 return 0;
35135 }
35136 _ACEOF
35137 rm -f conftest.$ac_objext conftest$ac_exeext
35138 if { (ac_try="$ac_link"
35139 case "(($ac_try" in
35140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35141 *) ac_try_echo=$ac_try;;
35142 esac
35143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35144 (eval "$ac_link") 2>conftest.er1
35145 ac_status=$?
35146 grep -v '^ *+' conftest.er1 >conftest.err
35147 rm -f conftest.er1
35148 cat conftest.err >&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); } && {
35151 test -z "$ac_c_werror_flag" ||
35152 test ! -s conftest.err
35153 } && test -s conftest$ac_exeext &&
35154 $as_test_x conftest$ac_exeext; then
35155 am_cv_func_iconv=yes
35156 else
35157 echo "$as_me: failed program was:" >&5
35158 sed 's/^/| /' conftest.$ac_ext >&5
35159
35160
35161 fi
35162
35163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35164 conftest$ac_exeext conftest.$ac_ext
35165 if test "$am_cv_func_iconv" != yes; then
35166 am_save_LIBS="$LIBS"
35167 LIBS="$LIBS -liconv"
35168 cat >conftest.$ac_ext <<_ACEOF
35169 /* confdefs.h. */
35170 _ACEOF
35171 cat confdefs.h >>conftest.$ac_ext
35172 cat >>conftest.$ac_ext <<_ACEOF
35173 /* end confdefs.h. */
35174 #include <stdlib.h>
35175 #include <iconv.h>
35176 int
35177 main ()
35178 {
35179 iconv_t cd = iconv_open("","");
35180 iconv(cd,NULL,NULL,NULL,NULL);
35181 iconv_close(cd);
35182 ;
35183 return 0;
35184 }
35185 _ACEOF
35186 rm -f conftest.$ac_objext conftest$ac_exeext
35187 if { (ac_try="$ac_link"
35188 case "(($ac_try" in
35189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35190 *) ac_try_echo=$ac_try;;
35191 esac
35192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35193 (eval "$ac_link") 2>conftest.er1
35194 ac_status=$?
35195 grep -v '^ *+' conftest.er1 >conftest.err
35196 rm -f conftest.er1
35197 cat conftest.err >&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } && {
35200 test -z "$ac_c_werror_flag" ||
35201 test ! -s conftest.err
35202 } && test -s conftest$ac_exeext &&
35203 $as_test_x conftest$ac_exeext; then
35204 am_cv_lib_iconv=yes
35205 am_cv_func_iconv=yes
35206 else
35207 echo "$as_me: failed program was:" >&5
35208 sed 's/^/| /' conftest.$ac_ext >&5
35209
35210
35211 fi
35212
35213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35214 conftest$ac_exeext conftest.$ac_ext
35215 LIBS="$am_save_LIBS"
35216 fi
35217
35218 fi
35219 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35220 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35221 if test "$am_cv_func_iconv" = yes; then
35222
35223 cat >>confdefs.h <<\_ACEOF
35224 #define HAVE_ICONV 1
35225 _ACEOF
35226
35227 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35228 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35229 if test "${wx_cv_func_iconv_const+set}" = set; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232 cat >conftest.$ac_ext <<_ACEOF
35233 /* confdefs.h. */
35234 _ACEOF
35235 cat confdefs.h >>conftest.$ac_ext
35236 cat >>conftest.$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35238
35239 #include <stdlib.h>
35240 #include <iconv.h>
35241 extern
35242 #ifdef __cplusplus
35243 "C"
35244 #endif
35245 #if defined(__STDC__) || defined(__cplusplus)
35246 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35247 #else
35248 size_t iconv();
35249 #endif
35250
35251 int
35252 main ()
35253 {
35254
35255 ;
35256 return 0;
35257 }
35258 _ACEOF
35259 rm -f conftest.$ac_objext
35260 if { (ac_try="$ac_compile"
35261 case "(($ac_try" in
35262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35263 *) ac_try_echo=$ac_try;;
35264 esac
35265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35266 (eval "$ac_compile") 2>conftest.er1
35267 ac_status=$?
35268 grep -v '^ *+' conftest.er1 >conftest.err
35269 rm -f conftest.er1
35270 cat conftest.err >&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); } && {
35273 test -z "$ac_c_werror_flag" ||
35274 test ! -s conftest.err
35275 } && test -s conftest.$ac_objext; then
35276 wx_cv_func_iconv_const="no"
35277 else
35278 echo "$as_me: failed program was:" >&5
35279 sed 's/^/| /' conftest.$ac_ext >&5
35280
35281 wx_cv_func_iconv_const="yes"
35282
35283 fi
35284
35285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35286
35287 fi
35288 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35289 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35290
35291 iconv_const=
35292 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35293 iconv_const="const"
35294 fi
35295
35296
35297 cat >>confdefs.h <<_ACEOF
35298 #define ICONV_CONST $iconv_const
35299 _ACEOF
35300
35301 fi
35302 LIBICONV=
35303 if test "$am_cv_lib_iconv" = yes; then
35304 LIBICONV="-liconv"
35305 fi
35306
35307
35308 LIBS="$LIBICONV $LIBS"
35309
35310 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35311
35312 for ac_func in sigaction
35313 do
35314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35315 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35317 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35318 echo $ECHO_N "(cached) $ECHO_C" >&6
35319 else
35320 cat >conftest.$ac_ext <<_ACEOF
35321 /* confdefs.h. */
35322 _ACEOF
35323 cat confdefs.h >>conftest.$ac_ext
35324 cat >>conftest.$ac_ext <<_ACEOF
35325 /* end confdefs.h. */
35326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35328 #define $ac_func innocuous_$ac_func
35329
35330 /* System header to define __stub macros and hopefully few prototypes,
35331 which can conflict with char $ac_func (); below.
35332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35333 <limits.h> exists even on freestanding compilers. */
35334
35335 #ifdef __STDC__
35336 # include <limits.h>
35337 #else
35338 # include <assert.h>
35339 #endif
35340
35341 #undef $ac_func
35342
35343 /* Override any GCC internal prototype to avoid an error.
35344 Use char because int might match the return type of a GCC
35345 builtin and then its argument prototype would still apply. */
35346 #ifdef __cplusplus
35347 extern "C"
35348 #endif
35349 char $ac_func ();
35350 /* The GNU C library defines this for functions which it implements
35351 to always fail with ENOSYS. Some functions are actually named
35352 something starting with __ and the normal name is an alias. */
35353 #if defined __stub_$ac_func || defined __stub___$ac_func
35354 choke me
35355 #endif
35356
35357 int
35358 main ()
35359 {
35360 return $ac_func ();
35361 ;
35362 return 0;
35363 }
35364 _ACEOF
35365 rm -f conftest.$ac_objext conftest$ac_exeext
35366 if { (ac_try="$ac_link"
35367 case "(($ac_try" in
35368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35369 *) ac_try_echo=$ac_try;;
35370 esac
35371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35372 (eval "$ac_link") 2>conftest.er1
35373 ac_status=$?
35374 grep -v '^ *+' conftest.er1 >conftest.err
35375 rm -f conftest.er1
35376 cat conftest.err >&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } && {
35379 test -z "$ac_c_werror_flag" ||
35380 test ! -s conftest.err
35381 } && test -s conftest$ac_exeext &&
35382 $as_test_x conftest$ac_exeext; then
35383 eval "$as_ac_var=yes"
35384 else
35385 echo "$as_me: failed program was:" >&5
35386 sed 's/^/| /' conftest.$ac_ext >&5
35387
35388 eval "$as_ac_var=no"
35389 fi
35390
35391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35392 conftest$ac_exeext conftest.$ac_ext
35393 fi
35394 ac_res=`eval echo '${'$as_ac_var'}'`
35395 { echo "$as_me:$LINENO: result: $ac_res" >&5
35396 echo "${ECHO_T}$ac_res" >&6; }
35397 if test `eval echo '${'$as_ac_var'}'` = yes; then
35398 cat >>confdefs.h <<_ACEOF
35399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35400 _ACEOF
35401
35402 fi
35403 done
35404
35405
35406 if test "$ac_cv_func_sigaction" = "no"; then
35407 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35408 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35409 wxUSE_ON_FATAL_EXCEPTION=no
35410 fi
35411
35412 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35413 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35414 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35415 if test "${wx_cv_type_sa_handler+set}" = set; then
35416 echo $ECHO_N "(cached) $ECHO_C" >&6
35417 else
35418
35419 ac_ext=cpp
35420 ac_cpp='$CXXCPP $CPPFLAGS'
35421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35424
35425 cat >conftest.$ac_ext <<_ACEOF
35426 /* confdefs.h. */
35427 _ACEOF
35428 cat confdefs.h >>conftest.$ac_ext
35429 cat >>conftest.$ac_ext <<_ACEOF
35430 /* end confdefs.h. */
35431 #include <signal.h>
35432 int
35433 main ()
35434 {
35435
35436 extern void testSigHandler(int);
35437
35438 struct sigaction sa;
35439 sa.sa_handler = testSigHandler;
35440
35441 ;
35442 return 0;
35443 }
35444 _ACEOF
35445 rm -f conftest.$ac_objext
35446 if { (ac_try="$ac_compile"
35447 case "(($ac_try" in
35448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35449 *) ac_try_echo=$ac_try;;
35450 esac
35451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35452 (eval "$ac_compile") 2>conftest.er1
35453 ac_status=$?
35454 grep -v '^ *+' conftest.er1 >conftest.err
35455 rm -f conftest.er1
35456 cat conftest.err >&5
35457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458 (exit $ac_status); } && {
35459 test -z "$ac_cxx_werror_flag" ||
35460 test ! -s conftest.err
35461 } && test -s conftest.$ac_objext; then
35462
35463 wx_cv_type_sa_handler=int
35464
35465 else
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35468
35469
35470 wx_cv_type_sa_handler=void
35471
35472 fi
35473
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35475 ac_ext=c
35476 ac_cpp='$CPP $CPPFLAGS'
35477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35480
35481
35482 fi
35483 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35484 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35485
35486 cat >>confdefs.h <<_ACEOF
35487 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35488 _ACEOF
35489
35490 fi
35491 fi
35492
35493 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35494 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35495 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35496 if test "${wx_cv_func_backtrace+set}" = set; then
35497 echo $ECHO_N "(cached) $ECHO_C" >&6
35498 else
35499
35500 ac_ext=cpp
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35505
35506 cat >conftest.$ac_ext <<_ACEOF
35507 /* confdefs.h. */
35508 _ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 #include <execinfo.h>
35513 int
35514 main ()
35515 {
35516
35517 void *trace[1];
35518 char **messages;
35519
35520 backtrace(trace, 1);
35521 messages = backtrace_symbols(trace, 1);
35522
35523 ;
35524 return 0;
35525 }
35526 _ACEOF
35527 rm -f conftest.$ac_objext
35528 if { (ac_try="$ac_compile"
35529 case "(($ac_try" in
35530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35531 *) ac_try_echo=$ac_try;;
35532 esac
35533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35534 (eval "$ac_compile") 2>conftest.er1
35535 ac_status=$?
35536 grep -v '^ *+' conftest.er1 >conftest.err
35537 rm -f conftest.er1
35538 cat conftest.err >&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); } && {
35541 test -z "$ac_cxx_werror_flag" ||
35542 test ! -s conftest.err
35543 } && test -s conftest.$ac_objext; then
35544 wx_cv_func_backtrace=yes
35545 else
35546 echo "$as_me: failed program was:" >&5
35547 sed 's/^/| /' conftest.$ac_ext >&5
35548
35549 wx_cv_func_backtrace=no
35550
35551 fi
35552
35553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35554 ac_ext=c
35555 ac_cpp='$CPP $CPPFLAGS'
35556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35559
35560
35561
35562 fi
35563 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35564 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35565
35566
35567 if test "$wx_cv_func_backtrace" = "no"; then
35568 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35569 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35570 wxUSE_STACKWALKER=no
35571 else
35572 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35573 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35574 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35575 echo $ECHO_N "(cached) $ECHO_C" >&6
35576 else
35577
35578 ac_ext=cpp
35579 ac_cpp='$CXXCPP $CPPFLAGS'
35580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35583
35584 cat >conftest.$ac_ext <<_ACEOF
35585 /* confdefs.h. */
35586 _ACEOF
35587 cat confdefs.h >>conftest.$ac_ext
35588 cat >>conftest.$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590 #include <cxxabi.h>
35591 int
35592 main ()
35593 {
35594
35595 int rc;
35596 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35597
35598 ;
35599 return 0;
35600 }
35601 _ACEOF
35602 rm -f conftest.$ac_objext conftest$ac_exeext
35603 if { (ac_try="$ac_link"
35604 case "(($ac_try" in
35605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35606 *) ac_try_echo=$ac_try;;
35607 esac
35608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35609 (eval "$ac_link") 2>conftest.er1
35610 ac_status=$?
35611 grep -v '^ *+' conftest.er1 >conftest.err
35612 rm -f conftest.er1
35613 cat conftest.err >&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); } && {
35616 test -z "$ac_cxx_werror_flag" ||
35617 test ! -s conftest.err
35618 } && test -s conftest$ac_exeext &&
35619 $as_test_x conftest$ac_exeext; then
35620 wx_cv_func_cxa_demangle=yes
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625 wx_cv_func_cxa_demangle=no
35626
35627 fi
35628
35629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35630 conftest$ac_exeext conftest.$ac_ext
35631 ac_ext=c
35632 ac_cpp='$CPP $CPPFLAGS'
35633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35636
35637
35638
35639 fi
35640 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35641 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35642
35643 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35644 cat >>confdefs.h <<\_ACEOF
35645 #define HAVE_CXA_DEMANGLE 1
35646 _ACEOF
35647
35648 fi
35649 fi
35650 fi
35651
35652 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35653 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35654 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35655 wxUSE_STACKWALKER=no
35656 fi
35657
35658
35659
35660
35661 for ac_func in mkstemp mktemp
35662 do
35663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35664 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35666 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 else
35669 cat >conftest.$ac_ext <<_ACEOF
35670 /* confdefs.h. */
35671 _ACEOF
35672 cat confdefs.h >>conftest.$ac_ext
35673 cat >>conftest.$ac_ext <<_ACEOF
35674 /* end confdefs.h. */
35675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35677 #define $ac_func innocuous_$ac_func
35678
35679 /* System header to define __stub macros and hopefully few prototypes,
35680 which can conflict with char $ac_func (); below.
35681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35682 <limits.h> exists even on freestanding compilers. */
35683
35684 #ifdef __STDC__
35685 # include <limits.h>
35686 #else
35687 # include <assert.h>
35688 #endif
35689
35690 #undef $ac_func
35691
35692 /* Override any GCC internal prototype to avoid an error.
35693 Use char because int might match the return type of a GCC
35694 builtin and then its argument prototype would still apply. */
35695 #ifdef __cplusplus
35696 extern "C"
35697 #endif
35698 char $ac_func ();
35699 /* The GNU C library defines this for functions which it implements
35700 to always fail with ENOSYS. Some functions are actually named
35701 something starting with __ and the normal name is an alias. */
35702 #if defined __stub_$ac_func || defined __stub___$ac_func
35703 choke me
35704 #endif
35705
35706 int
35707 main ()
35708 {
35709 return $ac_func ();
35710 ;
35711 return 0;
35712 }
35713 _ACEOF
35714 rm -f conftest.$ac_objext conftest$ac_exeext
35715 if { (ac_try="$ac_link"
35716 case "(($ac_try" in
35717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35718 *) ac_try_echo=$ac_try;;
35719 esac
35720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35721 (eval "$ac_link") 2>conftest.er1
35722 ac_status=$?
35723 grep -v '^ *+' conftest.er1 >conftest.err
35724 rm -f conftest.er1
35725 cat conftest.err >&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); } && {
35728 test -z "$ac_c_werror_flag" ||
35729 test ! -s conftest.err
35730 } && test -s conftest$ac_exeext &&
35731 $as_test_x conftest$ac_exeext; then
35732 eval "$as_ac_var=yes"
35733 else
35734 echo "$as_me: failed program was:" >&5
35735 sed 's/^/| /' conftest.$ac_ext >&5
35736
35737 eval "$as_ac_var=no"
35738 fi
35739
35740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35741 conftest$ac_exeext conftest.$ac_ext
35742 fi
35743 ac_res=`eval echo '${'$as_ac_var'}'`
35744 { echo "$as_me:$LINENO: result: $ac_res" >&5
35745 echo "${ECHO_T}$ac_res" >&6; }
35746 if test `eval echo '${'$as_ac_var'}'` = yes; then
35747 cat >>confdefs.h <<_ACEOF
35748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35749 _ACEOF
35750 break
35751 fi
35752 done
35753
35754
35755 { echo "$as_me:$LINENO: checking for statfs" >&5
35756 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35757 if test "${wx_cv_func_statfs+set}" = set; then
35758 echo $ECHO_N "(cached) $ECHO_C" >&6
35759 else
35760 cat >conftest.$ac_ext <<_ACEOF
35761 /* confdefs.h. */
35762 _ACEOF
35763 cat confdefs.h >>conftest.$ac_ext
35764 cat >>conftest.$ac_ext <<_ACEOF
35765 /* end confdefs.h. */
35766
35767 #if defined(__BSD__)
35768 #include <sys/param.h>
35769 #include <sys/mount.h>
35770 #else
35771 #include <sys/vfs.h>
35772 #endif
35773
35774 int
35775 main ()
35776 {
35777
35778 long l;
35779 struct statfs fs;
35780 statfs("/", &fs);
35781 l = fs.f_bsize;
35782 l += fs.f_blocks;
35783 l += fs.f_bavail;
35784
35785 ;
35786 return 0;
35787 }
35788 _ACEOF
35789 rm -f conftest.$ac_objext
35790 if { (ac_try="$ac_compile"
35791 case "(($ac_try" in
35792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35793 *) ac_try_echo=$ac_try;;
35794 esac
35795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35796 (eval "$ac_compile") 2>conftest.er1
35797 ac_status=$?
35798 grep -v '^ *+' conftest.er1 >conftest.err
35799 rm -f conftest.er1
35800 cat conftest.err >&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); } && {
35803 test -z "$ac_c_werror_flag" ||
35804 test ! -s conftest.err
35805 } && test -s conftest.$ac_objext; then
35806 wx_cv_func_statfs=yes
35807 else
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.$ac_ext >&5
35810
35811 wx_cv_func_statfs=no
35812
35813 fi
35814
35815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35816
35817 fi
35818 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35819 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35820
35821 if test "$wx_cv_func_statfs" = "yes"; then
35822 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35823 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35824 if test "${wx_cv_func_statfs_decl+set}" = set; then
35825 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 else
35827 ac_ext=cpp
35828 ac_cpp='$CXXCPP $CPPFLAGS'
35829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35832
35833 cat >conftest.$ac_ext <<_ACEOF
35834 /* confdefs.h. */
35835 _ACEOF
35836 cat confdefs.h >>conftest.$ac_ext
35837 cat >>conftest.$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35839
35840 #if defined(__BSD__)
35841 #include <sys/param.h>
35842 #include <sys/mount.h>
35843 #else
35844 #include <sys/vfs.h>
35845 #endif
35846
35847 int
35848 main ()
35849 {
35850
35851 struct statfs fs;
35852 statfs("", &fs);
35853
35854 ;
35855 return 0;
35856 }
35857 _ACEOF
35858 rm -f conftest.$ac_objext
35859 if { (ac_try="$ac_compile"
35860 case "(($ac_try" in
35861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35862 *) ac_try_echo=$ac_try;;
35863 esac
35864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35865 (eval "$ac_compile") 2>conftest.er1
35866 ac_status=$?
35867 grep -v '^ *+' conftest.er1 >conftest.err
35868 rm -f conftest.er1
35869 cat conftest.err >&5
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); } && {
35872 test -z "$ac_cxx_werror_flag" ||
35873 test ! -s conftest.err
35874 } && test -s conftest.$ac_objext; then
35875 wx_cv_func_statfs_decl=yes
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35879
35880 wx_cv_func_statfs_decl=no
35881
35882 fi
35883
35884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35885 ac_ext=c
35886 ac_cpp='$CPP $CPPFLAGS'
35887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35890
35891
35892 fi
35893 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35894 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35895
35896 if test "$wx_cv_func_statfs_decl" = "yes"; then
35897 cat >>confdefs.h <<\_ACEOF
35898 #define HAVE_STATFS_DECL 1
35899 _ACEOF
35900
35901 fi
35902
35903 wx_cv_type_statvfs_t="struct statfs"
35904 cat >>confdefs.h <<\_ACEOF
35905 #define HAVE_STATFS 1
35906 _ACEOF
35907
35908 else
35909 { echo "$as_me:$LINENO: checking for statvfs" >&5
35910 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35911 if test "${wx_cv_func_statvfs+set}" = set; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35913 else
35914 cat >conftest.$ac_ext <<_ACEOF
35915 /* confdefs.h. */
35916 _ACEOF
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35920
35921 #include <stddef.h>
35922 #include <sys/statvfs.h>
35923
35924 int
35925 main ()
35926 {
35927
35928 statvfs("/", NULL);
35929
35930 ;
35931 return 0;
35932 }
35933 _ACEOF
35934 rm -f conftest.$ac_objext
35935 if { (ac_try="$ac_compile"
35936 case "(($ac_try" in
35937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35938 *) ac_try_echo=$ac_try;;
35939 esac
35940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35941 (eval "$ac_compile") 2>conftest.er1
35942 ac_status=$?
35943 grep -v '^ *+' conftest.er1 >conftest.err
35944 rm -f conftest.er1
35945 cat conftest.err >&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } && {
35948 test -z "$ac_c_werror_flag" ||
35949 test ! -s conftest.err
35950 } && test -s conftest.$ac_objext; then
35951 wx_cv_func_statvfs=yes
35952 else
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35955
35956 wx_cv_func_statvfs=no
35957
35958 fi
35959
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35961
35962 fi
35963 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35964 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35965
35966 if test "$wx_cv_func_statvfs" = "yes"; then
35967 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35968 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35969 if test "${wx_cv_type_statvfs_t+set}" = set; then
35970 echo $ECHO_N "(cached) $ECHO_C" >&6
35971 else
35972 ac_ext=cpp
35973 ac_cpp='$CXXCPP $CPPFLAGS'
35974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35977
35978 cat >conftest.$ac_ext <<_ACEOF
35979 /* confdefs.h. */
35980 _ACEOF
35981 cat confdefs.h >>conftest.$ac_ext
35982 cat >>conftest.$ac_ext <<_ACEOF
35983 /* end confdefs.h. */
35984
35985 #include <sys/statvfs.h>
35986
35987 int
35988 main ()
35989 {
35990
35991 long l;
35992 statvfs_t fs;
35993 statvfs("/", &fs);
35994 l = fs.f_bsize;
35995 l += fs.f_blocks;
35996 l += fs.f_bavail;
35997
35998 ;
35999 return 0;
36000 }
36001 _ACEOF
36002 rm -f conftest.$ac_objext
36003 if { (ac_try="$ac_compile"
36004 case "(($ac_try" in
36005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36006 *) ac_try_echo=$ac_try;;
36007 esac
36008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36009 (eval "$ac_compile") 2>conftest.er1
36010 ac_status=$?
36011 grep -v '^ *+' conftest.er1 >conftest.err
36012 rm -f conftest.er1
36013 cat conftest.err >&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } && {
36016 test -z "$ac_cxx_werror_flag" ||
36017 test ! -s conftest.err
36018 } && test -s conftest.$ac_objext; then
36019 wx_cv_type_statvfs_t=statvfs_t
36020 else
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.$ac_ext >&5
36023
36024
36025 cat >conftest.$ac_ext <<_ACEOF
36026 /* confdefs.h. */
36027 _ACEOF
36028 cat confdefs.h >>conftest.$ac_ext
36029 cat >>conftest.$ac_ext <<_ACEOF
36030 /* end confdefs.h. */
36031
36032 #include <sys/statvfs.h>
36033
36034 int
36035 main ()
36036 {
36037
36038 long l;
36039 struct statvfs fs;
36040 statvfs("/", &fs);
36041 l = fs.f_bsize;
36042 l += fs.f_blocks;
36043 l += fs.f_bavail;
36044
36045 ;
36046 return 0;
36047 }
36048 _ACEOF
36049 rm -f conftest.$ac_objext
36050 if { (ac_try="$ac_compile"
36051 case "(($ac_try" in
36052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36053 *) ac_try_echo=$ac_try;;
36054 esac
36055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36056 (eval "$ac_compile") 2>conftest.er1
36057 ac_status=$?
36058 grep -v '^ *+' conftest.er1 >conftest.err
36059 rm -f conftest.er1
36060 cat conftest.err >&5
36061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36062 (exit $ac_status); } && {
36063 test -z "$ac_cxx_werror_flag" ||
36064 test ! -s conftest.err
36065 } && test -s conftest.$ac_objext; then
36066 wx_cv_type_statvfs_t="struct statvfs"
36067 else
36068 echo "$as_me: failed program was:" >&5
36069 sed 's/^/| /' conftest.$ac_ext >&5
36070
36071 wx_cv_type_statvfs_t="unknown"
36072
36073 fi
36074
36075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36076
36077
36078 fi
36079
36080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36081 ac_ext=c
36082 ac_cpp='$CPP $CPPFLAGS'
36083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36086
36087
36088 fi
36089 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36090 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36091
36092 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36093 cat >>confdefs.h <<\_ACEOF
36094 #define HAVE_STATVFS 1
36095 _ACEOF
36096
36097 fi
36098 else
36099 wx_cv_type_statvfs_t="unknown"
36100 fi
36101 fi
36102
36103 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36104 cat >>confdefs.h <<_ACEOF
36105 #define WX_STATFS_T $wx_cv_type_statvfs_t
36106 _ACEOF
36107
36108 else
36109 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36110 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36111 fi
36112
36113 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36114
36115
36116 for ac_func in fcntl flock
36117 do
36118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 else
36124 cat >conftest.$ac_ext <<_ACEOF
36125 /* confdefs.h. */
36126 _ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36132 #define $ac_func innocuous_$ac_func
36133
36134 /* System header to define __stub macros and hopefully few prototypes,
36135 which can conflict with char $ac_func (); below.
36136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36137 <limits.h> exists even on freestanding compilers. */
36138
36139 #ifdef __STDC__
36140 # include <limits.h>
36141 #else
36142 # include <assert.h>
36143 #endif
36144
36145 #undef $ac_func
36146
36147 /* Override any GCC internal prototype to avoid an error.
36148 Use char because int might match the return type of a GCC
36149 builtin and then its argument prototype would still apply. */
36150 #ifdef __cplusplus
36151 extern "C"
36152 #endif
36153 char $ac_func ();
36154 /* The GNU C library defines this for functions which it implements
36155 to always fail with ENOSYS. Some functions are actually named
36156 something starting with __ and the normal name is an alias. */
36157 #if defined __stub_$ac_func || defined __stub___$ac_func
36158 choke me
36159 #endif
36160
36161 int
36162 main ()
36163 {
36164 return $ac_func ();
36165 ;
36166 return 0;
36167 }
36168 _ACEOF
36169 rm -f conftest.$ac_objext conftest$ac_exeext
36170 if { (ac_try="$ac_link"
36171 case "(($ac_try" in
36172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36173 *) ac_try_echo=$ac_try;;
36174 esac
36175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36176 (eval "$ac_link") 2>conftest.er1
36177 ac_status=$?
36178 grep -v '^ *+' conftest.er1 >conftest.err
36179 rm -f conftest.er1
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } && {
36183 test -z "$ac_c_werror_flag" ||
36184 test ! -s conftest.err
36185 } && test -s conftest$ac_exeext &&
36186 $as_test_x conftest$ac_exeext; then
36187 eval "$as_ac_var=yes"
36188 else
36189 echo "$as_me: failed program was:" >&5
36190 sed 's/^/| /' conftest.$ac_ext >&5
36191
36192 eval "$as_ac_var=no"
36193 fi
36194
36195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36196 conftest$ac_exeext conftest.$ac_ext
36197 fi
36198 ac_res=`eval echo '${'$as_ac_var'}'`
36199 { echo "$as_me:$LINENO: result: $ac_res" >&5
36200 echo "${ECHO_T}$ac_res" >&6; }
36201 if test `eval echo '${'$as_ac_var'}'` = yes; then
36202 cat >>confdefs.h <<_ACEOF
36203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36204 _ACEOF
36205 break
36206 fi
36207 done
36208
36209
36210 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36211 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36212 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36213 wxUSE_SNGLINST_CHECKER=no
36214 fi
36215 fi
36216
36217
36218 for ac_func in timegm
36219 do
36220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36225 else
36226 cat >conftest.$ac_ext <<_ACEOF
36227 /* confdefs.h. */
36228 _ACEOF
36229 cat confdefs.h >>conftest.$ac_ext
36230 cat >>conftest.$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36234 #define $ac_func innocuous_$ac_func
36235
36236 /* System header to define __stub macros and hopefully few prototypes,
36237 which can conflict with char $ac_func (); below.
36238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36239 <limits.h> exists even on freestanding compilers. */
36240
36241 #ifdef __STDC__
36242 # include <limits.h>
36243 #else
36244 # include <assert.h>
36245 #endif
36246
36247 #undef $ac_func
36248
36249 /* Override any GCC internal prototype to avoid an error.
36250 Use char because int might match the return type of a GCC
36251 builtin and then its argument prototype would still apply. */
36252 #ifdef __cplusplus
36253 extern "C"
36254 #endif
36255 char $ac_func ();
36256 /* The GNU C library defines this for functions which it implements
36257 to always fail with ENOSYS. Some functions are actually named
36258 something starting with __ and the normal name is an alias. */
36259 #if defined __stub_$ac_func || defined __stub___$ac_func
36260 choke me
36261 #endif
36262
36263 int
36264 main ()
36265 {
36266 return $ac_func ();
36267 ;
36268 return 0;
36269 }
36270 _ACEOF
36271 rm -f conftest.$ac_objext conftest$ac_exeext
36272 if { (ac_try="$ac_link"
36273 case "(($ac_try" in
36274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36275 *) ac_try_echo=$ac_try;;
36276 esac
36277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36278 (eval "$ac_link") 2>conftest.er1
36279 ac_status=$?
36280 grep -v '^ *+' conftest.er1 >conftest.err
36281 rm -f conftest.er1
36282 cat conftest.err >&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && {
36285 test -z "$ac_c_werror_flag" ||
36286 test ! -s conftest.err
36287 } && test -s conftest$ac_exeext &&
36288 $as_test_x conftest$ac_exeext; then
36289 eval "$as_ac_var=yes"
36290 else
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36293
36294 eval "$as_ac_var=no"
36295 fi
36296
36297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36298 conftest$ac_exeext conftest.$ac_ext
36299 fi
36300 ac_res=`eval echo '${'$as_ac_var'}'`
36301 { echo "$as_me:$LINENO: result: $ac_res" >&5
36302 echo "${ECHO_T}$ac_res" >&6; }
36303 if test `eval echo '${'$as_ac_var'}'` = yes; then
36304 cat >>confdefs.h <<_ACEOF
36305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36306 _ACEOF
36307
36308 fi
36309 done
36310
36311
36312
36313
36314 for ac_func in putenv setenv
36315 do
36316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36322 cat >conftest.$ac_ext <<_ACEOF
36323 /* confdefs.h. */
36324 _ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36330 #define $ac_func innocuous_$ac_func
36331
36332 /* System header to define __stub macros and hopefully few prototypes,
36333 which can conflict with char $ac_func (); below.
36334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36335 <limits.h> exists even on freestanding compilers. */
36336
36337 #ifdef __STDC__
36338 # include <limits.h>
36339 #else
36340 # include <assert.h>
36341 #endif
36342
36343 #undef $ac_func
36344
36345 /* Override any GCC internal prototype to avoid an error.
36346 Use char because int might match the return type of a GCC
36347 builtin and then its argument prototype would still apply. */
36348 #ifdef __cplusplus
36349 extern "C"
36350 #endif
36351 char $ac_func ();
36352 /* The GNU C library defines this for functions which it implements
36353 to always fail with ENOSYS. Some functions are actually named
36354 something starting with __ and the normal name is an alias. */
36355 #if defined __stub_$ac_func || defined __stub___$ac_func
36356 choke me
36357 #endif
36358
36359 int
36360 main ()
36361 {
36362 return $ac_func ();
36363 ;
36364 return 0;
36365 }
36366 _ACEOF
36367 rm -f conftest.$ac_objext conftest$ac_exeext
36368 if { (ac_try="$ac_link"
36369 case "(($ac_try" in
36370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36371 *) ac_try_echo=$ac_try;;
36372 esac
36373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36374 (eval "$ac_link") 2>conftest.er1
36375 ac_status=$?
36376 grep -v '^ *+' conftest.er1 >conftest.err
36377 rm -f conftest.er1
36378 cat conftest.err >&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } && {
36381 test -z "$ac_c_werror_flag" ||
36382 test ! -s conftest.err
36383 } && test -s conftest$ac_exeext &&
36384 $as_test_x conftest$ac_exeext; then
36385 eval "$as_ac_var=yes"
36386 else
36387 echo "$as_me: failed program was:" >&5
36388 sed 's/^/| /' conftest.$ac_ext >&5
36389
36390 eval "$as_ac_var=no"
36391 fi
36392
36393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36394 conftest$ac_exeext conftest.$ac_ext
36395 fi
36396 ac_res=`eval echo '${'$as_ac_var'}'`
36397 { echo "$as_me:$LINENO: result: $ac_res" >&5
36398 echo "${ECHO_T}$ac_res" >&6; }
36399 if test `eval echo '${'$as_ac_var'}'` = yes; then
36400 cat >>confdefs.h <<_ACEOF
36401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36402 _ACEOF
36403 break
36404 fi
36405 done
36406
36407
36408 HAVE_SOME_SLEEP_FUNC=0
36409 if test "$USE_BEOS" = 1; then
36410 cat >>confdefs.h <<\_ACEOF
36411 #define HAVE_SLEEP 1
36412 _ACEOF
36413
36414 HAVE_SOME_SLEEP_FUNC=1
36415 fi
36416
36417 if test "$USE_DARWIN" = 1; then
36418 cat >>confdefs.h <<\_ACEOF
36419 #define HAVE_USLEEP 1
36420 _ACEOF
36421
36422 HAVE_SOME_SLEEP_FUNC=1
36423 fi
36424
36425 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36426 POSIX4_LINK=
36427
36428 for ac_func in nanosleep
36429 do
36430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36435 else
36436 cat >conftest.$ac_ext <<_ACEOF
36437 /* confdefs.h. */
36438 _ACEOF
36439 cat confdefs.h >>conftest.$ac_ext
36440 cat >>conftest.$ac_ext <<_ACEOF
36441 /* end confdefs.h. */
36442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36444 #define $ac_func innocuous_$ac_func
36445
36446 /* System header to define __stub macros and hopefully few prototypes,
36447 which can conflict with char $ac_func (); below.
36448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36449 <limits.h> exists even on freestanding compilers. */
36450
36451 #ifdef __STDC__
36452 # include <limits.h>
36453 #else
36454 # include <assert.h>
36455 #endif
36456
36457 #undef $ac_func
36458
36459 /* Override any GCC internal prototype to avoid an error.
36460 Use char because int might match the return type of a GCC
36461 builtin and then its argument prototype would still apply. */
36462 #ifdef __cplusplus
36463 extern "C"
36464 #endif
36465 char $ac_func ();
36466 /* The GNU C library defines this for functions which it implements
36467 to always fail with ENOSYS. Some functions are actually named
36468 something starting with __ and the normal name is an alias. */
36469 #if defined __stub_$ac_func || defined __stub___$ac_func
36470 choke me
36471 #endif
36472
36473 int
36474 main ()
36475 {
36476 return $ac_func ();
36477 ;
36478 return 0;
36479 }
36480 _ACEOF
36481 rm -f conftest.$ac_objext conftest$ac_exeext
36482 if { (ac_try="$ac_link"
36483 case "(($ac_try" in
36484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36485 *) ac_try_echo=$ac_try;;
36486 esac
36487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36488 (eval "$ac_link") 2>conftest.er1
36489 ac_status=$?
36490 grep -v '^ *+' conftest.er1 >conftest.err
36491 rm -f conftest.er1
36492 cat conftest.err >&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); } && {
36495 test -z "$ac_c_werror_flag" ||
36496 test ! -s conftest.err
36497 } && test -s conftest$ac_exeext &&
36498 $as_test_x conftest$ac_exeext; then
36499 eval "$as_ac_var=yes"
36500 else
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36503
36504 eval "$as_ac_var=no"
36505 fi
36506
36507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36508 conftest$ac_exeext conftest.$ac_ext
36509 fi
36510 ac_res=`eval echo '${'$as_ac_var'}'`
36511 { echo "$as_me:$LINENO: result: $ac_res" >&5
36512 echo "${ECHO_T}$ac_res" >&6; }
36513 if test `eval echo '${'$as_ac_var'}'` = yes; then
36514 cat >>confdefs.h <<_ACEOF
36515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36516 _ACEOF
36517 cat >>confdefs.h <<\_ACEOF
36518 #define HAVE_NANOSLEEP 1
36519 _ACEOF
36520
36521 else
36522
36523 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36524 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36525 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36526 echo $ECHO_N "(cached) $ECHO_C" >&6
36527 else
36528 ac_check_lib_save_LIBS=$LIBS
36529 LIBS="-lposix4 $LIBS"
36530 cat >conftest.$ac_ext <<_ACEOF
36531 /* confdefs.h. */
36532 _ACEOF
36533 cat confdefs.h >>conftest.$ac_ext
36534 cat >>conftest.$ac_ext <<_ACEOF
36535 /* end confdefs.h. */
36536
36537 /* Override any GCC internal prototype to avoid an error.
36538 Use char because int might match the return type of a GCC
36539 builtin and then its argument prototype would still apply. */
36540 #ifdef __cplusplus
36541 extern "C"
36542 #endif
36543 char nanosleep ();
36544 int
36545 main ()
36546 {
36547 return nanosleep ();
36548 ;
36549 return 0;
36550 }
36551 _ACEOF
36552 rm -f conftest.$ac_objext conftest$ac_exeext
36553 if { (ac_try="$ac_link"
36554 case "(($ac_try" in
36555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36556 *) ac_try_echo=$ac_try;;
36557 esac
36558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36559 (eval "$ac_link") 2>conftest.er1
36560 ac_status=$?
36561 grep -v '^ *+' conftest.er1 >conftest.err
36562 rm -f conftest.er1
36563 cat conftest.err >&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); } && {
36566 test -z "$ac_c_werror_flag" ||
36567 test ! -s conftest.err
36568 } && test -s conftest$ac_exeext &&
36569 $as_test_x conftest$ac_exeext; then
36570 ac_cv_lib_posix4_nanosleep=yes
36571 else
36572 echo "$as_me: failed program was:" >&5
36573 sed 's/^/| /' conftest.$ac_ext >&5
36574
36575 ac_cv_lib_posix4_nanosleep=no
36576 fi
36577
36578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36579 conftest$ac_exeext conftest.$ac_ext
36580 LIBS=$ac_check_lib_save_LIBS
36581 fi
36582 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36583 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36584 if test $ac_cv_lib_posix4_nanosleep = yes; then
36585
36586 cat >>confdefs.h <<\_ACEOF
36587 #define HAVE_NANOSLEEP 1
36588 _ACEOF
36589
36590 POSIX4_LINK=" -lposix4"
36591
36592 else
36593
36594
36595 for wx_func in usleep
36596 do
36597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36600 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 else
36602
36603 cat >conftest.$ac_ext <<_ACEOF
36604
36605 /* confdefs.h. */
36606 _ACEOF
36607 cat confdefs.h >>conftest.$ac_ext
36608 cat >>conftest.$ac_ext <<_ACEOF
36609 /* end confdefs.h. */
36610
36611
36612 $ac_includes_default
36613
36614 int
36615 main ()
36616 {
36617
36618 #ifndef $wx_func
36619 &$wx_func;
36620 #endif
36621
36622
36623 ;
36624 return 0;
36625 }
36626
36627 _ACEOF
36628 rm -f conftest.$ac_objext conftest$ac_exeext
36629 if { (ac_try="$ac_link"
36630 case "(($ac_try" in
36631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36632 *) ac_try_echo=$ac_try;;
36633 esac
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_link") 2>conftest.er1
36636 ac_status=$?
36637 grep -v '^ *+' conftest.er1 >conftest.err
36638 rm -f conftest.er1
36639 cat conftest.err >&5
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest$ac_exeext &&
36645 $as_test_x conftest$ac_exeext; then
36646 eval wx_cv_func_$wx_func=yes
36647 else
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36650
36651 eval wx_cv_func_$wx_func=no
36652 fi
36653
36654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36655 conftest$ac_exeext conftest.$ac_ext
36656
36657 fi
36658 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36659 { echo "$as_me:$LINENO: result: $ac_res" >&5
36660 echo "${ECHO_T}$ac_res" >&6; }
36661
36662 if eval test \$wx_cv_func_$wx_func = yes
36663 then
36664 cat >>confdefs.h <<_ACEOF
36665 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36666 _ACEOF
36667
36668
36669 else
36670 :
36671 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36672 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36673
36674 fi
36675 done
36676
36677
36678
36679 fi
36680
36681
36682
36683 fi
36684 done
36685
36686 fi
36687
36688
36689 for wx_func in uname
36690 do
36691 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36692 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36693 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 else
36696
36697 cat >conftest.$ac_ext <<_ACEOF
36698
36699 /* confdefs.h. */
36700 _ACEOF
36701 cat confdefs.h >>conftest.$ac_ext
36702 cat >>conftest.$ac_ext <<_ACEOF
36703 /* end confdefs.h. */
36704
36705 #include <sys/utsname.h>
36706 $ac_includes_default
36707
36708 int
36709 main ()
36710 {
36711
36712 #ifndef $wx_func
36713 &$wx_func;
36714 #endif
36715
36716
36717 ;
36718 return 0;
36719 }
36720
36721 _ACEOF
36722 rm -f conftest.$ac_objext conftest$ac_exeext
36723 if { (ac_try="$ac_link"
36724 case "(($ac_try" in
36725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36726 *) ac_try_echo=$ac_try;;
36727 esac
36728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36729 (eval "$ac_link") 2>conftest.er1
36730 ac_status=$?
36731 grep -v '^ *+' conftest.er1 >conftest.err
36732 rm -f conftest.er1
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } && {
36736 test -z "$ac_c_werror_flag" ||
36737 test ! -s conftest.err
36738 } && test -s conftest$ac_exeext &&
36739 $as_test_x conftest$ac_exeext; then
36740 eval wx_cv_func_$wx_func=yes
36741 else
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36744
36745 eval wx_cv_func_$wx_func=no
36746 fi
36747
36748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36749 conftest$ac_exeext conftest.$ac_ext
36750
36751 fi
36752 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36753 { echo "$as_me:$LINENO: result: $ac_res" >&5
36754 echo "${ECHO_T}$ac_res" >&6; }
36755
36756 if eval test \$wx_cv_func_$wx_func = yes
36757 then
36758 cat >>confdefs.h <<_ACEOF
36759 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36760 _ACEOF
36761
36762
36763 else
36764 :
36765
36766 fi
36767 done
36768
36769 if test "$wx_cv_func_uname" != yes; then
36770
36771 for wx_func in gethostname
36772 do
36773 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36774 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36775 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36776 echo $ECHO_N "(cached) $ECHO_C" >&6
36777 else
36778
36779 cat >conftest.$ac_ext <<_ACEOF
36780
36781 /* confdefs.h. */
36782 _ACEOF
36783 cat confdefs.h >>conftest.$ac_ext
36784 cat >>conftest.$ac_ext <<_ACEOF
36785 /* end confdefs.h. */
36786
36787
36788 $ac_includes_default
36789
36790 int
36791 main ()
36792 {
36793
36794 #ifndef $wx_func
36795 &$wx_func;
36796 #endif
36797
36798
36799 ;
36800 return 0;
36801 }
36802
36803 _ACEOF
36804 rm -f conftest.$ac_objext conftest$ac_exeext
36805 if { (ac_try="$ac_link"
36806 case "(($ac_try" in
36807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36808 *) ac_try_echo=$ac_try;;
36809 esac
36810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36811 (eval "$ac_link") 2>conftest.er1
36812 ac_status=$?
36813 grep -v '^ *+' conftest.er1 >conftest.err
36814 rm -f conftest.er1
36815 cat conftest.err >&5
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); } && {
36818 test -z "$ac_c_werror_flag" ||
36819 test ! -s conftest.err
36820 } && test -s conftest$ac_exeext &&
36821 $as_test_x conftest$ac_exeext; then
36822 eval wx_cv_func_$wx_func=yes
36823 else
36824 echo "$as_me: failed program was:" >&5
36825 sed 's/^/| /' conftest.$ac_ext >&5
36826
36827 eval wx_cv_func_$wx_func=no
36828 fi
36829
36830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36831 conftest$ac_exeext conftest.$ac_ext
36832
36833 fi
36834 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36835 { echo "$as_me:$LINENO: result: $ac_res" >&5
36836 echo "${ECHO_T}$ac_res" >&6; }
36837
36838 if eval test \$wx_cv_func_$wx_func = yes
36839 then
36840 cat >>confdefs.h <<_ACEOF
36841 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36842 _ACEOF
36843
36844
36845 else
36846 :
36847
36848 fi
36849 done
36850
36851 fi
36852
36853
36854 for wx_func in strtok_r
36855 do
36856 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36857 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36858 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36859 echo $ECHO_N "(cached) $ECHO_C" >&6
36860 else
36861
36862 cat >conftest.$ac_ext <<_ACEOF
36863
36864 /* confdefs.h. */
36865 _ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36869
36870 #define _REENTRANT
36871 $ac_includes_default
36872
36873 int
36874 main ()
36875 {
36876
36877 #ifndef $wx_func
36878 &$wx_func;
36879 #endif
36880
36881
36882 ;
36883 return 0;
36884 }
36885
36886 _ACEOF
36887 rm -f conftest.$ac_objext conftest$ac_exeext
36888 if { (ac_try="$ac_link"
36889 case "(($ac_try" in
36890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36891 *) ac_try_echo=$ac_try;;
36892 esac
36893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36894 (eval "$ac_link") 2>conftest.er1
36895 ac_status=$?
36896 grep -v '^ *+' conftest.er1 >conftest.err
36897 rm -f conftest.er1
36898 cat conftest.err >&5
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); } && {
36901 test -z "$ac_c_werror_flag" ||
36902 test ! -s conftest.err
36903 } && test -s conftest$ac_exeext &&
36904 $as_test_x conftest$ac_exeext; then
36905 eval wx_cv_func_$wx_func=yes
36906 else
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.$ac_ext >&5
36909
36910 eval wx_cv_func_$wx_func=no
36911 fi
36912
36913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36914 conftest$ac_exeext conftest.$ac_ext
36915
36916 fi
36917 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36918 { echo "$as_me:$LINENO: result: $ac_res" >&5
36919 echo "${ECHO_T}$ac_res" >&6; }
36920
36921 if eval test \$wx_cv_func_$wx_func = yes
36922 then
36923 cat >>confdefs.h <<_ACEOF
36924 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36925 _ACEOF
36926
36927
36928 else
36929 :
36930
36931 fi
36932 done
36933
36934
36935 INET_LINK=
36936
36937 for ac_func in inet_addr
36938 do
36939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 else
36945 cat >conftest.$ac_ext <<_ACEOF
36946 /* confdefs.h. */
36947 _ACEOF
36948 cat confdefs.h >>conftest.$ac_ext
36949 cat >>conftest.$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36953 #define $ac_func innocuous_$ac_func
36954
36955 /* System header to define __stub macros and hopefully few prototypes,
36956 which can conflict with char $ac_func (); below.
36957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36958 <limits.h> exists even on freestanding compilers. */
36959
36960 #ifdef __STDC__
36961 # include <limits.h>
36962 #else
36963 # include <assert.h>
36964 #endif
36965
36966 #undef $ac_func
36967
36968 /* Override any GCC internal prototype to avoid an error.
36969 Use char because int might match the return type of a GCC
36970 builtin and then its argument prototype would still apply. */
36971 #ifdef __cplusplus
36972 extern "C"
36973 #endif
36974 char $ac_func ();
36975 /* The GNU C library defines this for functions which it implements
36976 to always fail with ENOSYS. Some functions are actually named
36977 something starting with __ and the normal name is an alias. */
36978 #if defined __stub_$ac_func || defined __stub___$ac_func
36979 choke me
36980 #endif
36981
36982 int
36983 main ()
36984 {
36985 return $ac_func ();
36986 ;
36987 return 0;
36988 }
36989 _ACEOF
36990 rm -f conftest.$ac_objext conftest$ac_exeext
36991 if { (ac_try="$ac_link"
36992 case "(($ac_try" in
36993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36994 *) ac_try_echo=$ac_try;;
36995 esac
36996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36997 (eval "$ac_link") 2>conftest.er1
36998 ac_status=$?
36999 grep -v '^ *+' conftest.er1 >conftest.err
37000 rm -f conftest.er1
37001 cat conftest.err >&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && {
37004 test -z "$ac_c_werror_flag" ||
37005 test ! -s conftest.err
37006 } && test -s conftest$ac_exeext &&
37007 $as_test_x conftest$ac_exeext; then
37008 eval "$as_ac_var=yes"
37009 else
37010 echo "$as_me: failed program was:" >&5
37011 sed 's/^/| /' conftest.$ac_ext >&5
37012
37013 eval "$as_ac_var=no"
37014 fi
37015
37016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37017 conftest$ac_exeext conftest.$ac_ext
37018 fi
37019 ac_res=`eval echo '${'$as_ac_var'}'`
37020 { echo "$as_me:$LINENO: result: $ac_res" >&5
37021 echo "${ECHO_T}$ac_res" >&6; }
37022 if test `eval echo '${'$as_ac_var'}'` = yes; then
37023 cat >>confdefs.h <<_ACEOF
37024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37025 _ACEOF
37026 cat >>confdefs.h <<\_ACEOF
37027 #define HAVE_INET_ADDR 1
37028 _ACEOF
37029
37030 else
37031
37032 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37033 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37034 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37036 else
37037 ac_check_lib_save_LIBS=$LIBS
37038 LIBS="-lnsl $LIBS"
37039 cat >conftest.$ac_ext <<_ACEOF
37040 /* confdefs.h. */
37041 _ACEOF
37042 cat confdefs.h >>conftest.$ac_ext
37043 cat >>conftest.$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37045
37046 /* Override any GCC internal prototype to avoid an error.
37047 Use char because int might match the return type of a GCC
37048 builtin and then its argument prototype would still apply. */
37049 #ifdef __cplusplus
37050 extern "C"
37051 #endif
37052 char inet_addr ();
37053 int
37054 main ()
37055 {
37056 return inet_addr ();
37057 ;
37058 return 0;
37059 }
37060 _ACEOF
37061 rm -f conftest.$ac_objext conftest$ac_exeext
37062 if { (ac_try="$ac_link"
37063 case "(($ac_try" in
37064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37065 *) ac_try_echo=$ac_try;;
37066 esac
37067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37068 (eval "$ac_link") 2>conftest.er1
37069 ac_status=$?
37070 grep -v '^ *+' conftest.er1 >conftest.err
37071 rm -f conftest.er1
37072 cat conftest.err >&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } && {
37075 test -z "$ac_c_werror_flag" ||
37076 test ! -s conftest.err
37077 } && test -s conftest$ac_exeext &&
37078 $as_test_x conftest$ac_exeext; then
37079 ac_cv_lib_nsl_inet_addr=yes
37080 else
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37083
37084 ac_cv_lib_nsl_inet_addr=no
37085 fi
37086
37087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37088 conftest$ac_exeext conftest.$ac_ext
37089 LIBS=$ac_check_lib_save_LIBS
37090 fi
37091 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37092 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37093 if test $ac_cv_lib_nsl_inet_addr = yes; then
37094 INET_LINK="nsl"
37095 else
37096
37097 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37098 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37099 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37100 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 else
37102 ac_check_lib_save_LIBS=$LIBS
37103 LIBS="-lresolv $LIBS"
37104 cat >conftest.$ac_ext <<_ACEOF
37105 /* confdefs.h. */
37106 _ACEOF
37107 cat confdefs.h >>conftest.$ac_ext
37108 cat >>conftest.$ac_ext <<_ACEOF
37109 /* end confdefs.h. */
37110
37111 /* Override any GCC internal prototype to avoid an error.
37112 Use char because int might match the return type of a GCC
37113 builtin and then its argument prototype would still apply. */
37114 #ifdef __cplusplus
37115 extern "C"
37116 #endif
37117 char inet_addr ();
37118 int
37119 main ()
37120 {
37121 return inet_addr ();
37122 ;
37123 return 0;
37124 }
37125 _ACEOF
37126 rm -f conftest.$ac_objext conftest$ac_exeext
37127 if { (ac_try="$ac_link"
37128 case "(($ac_try" in
37129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37130 *) ac_try_echo=$ac_try;;
37131 esac
37132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37133 (eval "$ac_link") 2>conftest.er1
37134 ac_status=$?
37135 grep -v '^ *+' conftest.er1 >conftest.err
37136 rm -f conftest.er1
37137 cat conftest.err >&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } && {
37140 test -z "$ac_c_werror_flag" ||
37141 test ! -s conftest.err
37142 } && test -s conftest$ac_exeext &&
37143 $as_test_x conftest$ac_exeext; then
37144 ac_cv_lib_resolv_inet_addr=yes
37145 else
37146 echo "$as_me: failed program was:" >&5
37147 sed 's/^/| /' conftest.$ac_ext >&5
37148
37149 ac_cv_lib_resolv_inet_addr=no
37150 fi
37151
37152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37153 conftest$ac_exeext conftest.$ac_ext
37154 LIBS=$ac_check_lib_save_LIBS
37155 fi
37156 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37157 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37158 if test $ac_cv_lib_resolv_inet_addr = yes; then
37159 INET_LINK="resolv"
37160 else
37161
37162 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37163 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37164 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37165 echo $ECHO_N "(cached) $ECHO_C" >&6
37166 else
37167 ac_check_lib_save_LIBS=$LIBS
37168 LIBS="-lsocket $LIBS"
37169 cat >conftest.$ac_ext <<_ACEOF
37170 /* confdefs.h. */
37171 _ACEOF
37172 cat confdefs.h >>conftest.$ac_ext
37173 cat >>conftest.$ac_ext <<_ACEOF
37174 /* end confdefs.h. */
37175
37176 /* Override any GCC internal prototype to avoid an error.
37177 Use char because int might match the return type of a GCC
37178 builtin and then its argument prototype would still apply. */
37179 #ifdef __cplusplus
37180 extern "C"
37181 #endif
37182 char inet_addr ();
37183 int
37184 main ()
37185 {
37186 return inet_addr ();
37187 ;
37188 return 0;
37189 }
37190 _ACEOF
37191 rm -f conftest.$ac_objext conftest$ac_exeext
37192 if { (ac_try="$ac_link"
37193 case "(($ac_try" in
37194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37195 *) ac_try_echo=$ac_try;;
37196 esac
37197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37198 (eval "$ac_link") 2>conftest.er1
37199 ac_status=$?
37200 grep -v '^ *+' conftest.er1 >conftest.err
37201 rm -f conftest.er1
37202 cat conftest.err >&5
37203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37204 (exit $ac_status); } && {
37205 test -z "$ac_c_werror_flag" ||
37206 test ! -s conftest.err
37207 } && test -s conftest$ac_exeext &&
37208 $as_test_x conftest$ac_exeext; then
37209 ac_cv_lib_socket_inet_addr=yes
37210 else
37211 echo "$as_me: failed program was:" >&5
37212 sed 's/^/| /' conftest.$ac_ext >&5
37213
37214 ac_cv_lib_socket_inet_addr=no
37215 fi
37216
37217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37218 conftest$ac_exeext conftest.$ac_ext
37219 LIBS=$ac_check_lib_save_LIBS
37220 fi
37221 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37222 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37223 if test $ac_cv_lib_socket_inet_addr = yes; then
37224 INET_LINK="socket"
37225
37226 fi
37227
37228
37229
37230 fi
37231
37232
37233
37234 fi
37235
37236
37237
37238 fi
37239 done
37240
37241
37242
37243 for ac_func in inet_aton
37244 do
37245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37246 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37248 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37250 else
37251 cat >conftest.$ac_ext <<_ACEOF
37252 /* confdefs.h. */
37253 _ACEOF
37254 cat confdefs.h >>conftest.$ac_ext
37255 cat >>conftest.$ac_ext <<_ACEOF
37256 /* end confdefs.h. */
37257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37259 #define $ac_func innocuous_$ac_func
37260
37261 /* System header to define __stub macros and hopefully few prototypes,
37262 which can conflict with char $ac_func (); below.
37263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37264 <limits.h> exists even on freestanding compilers. */
37265
37266 #ifdef __STDC__
37267 # include <limits.h>
37268 #else
37269 # include <assert.h>
37270 #endif
37271
37272 #undef $ac_func
37273
37274 /* Override any GCC internal prototype to avoid an error.
37275 Use char because int might match the return type of a GCC
37276 builtin and then its argument prototype would still apply. */
37277 #ifdef __cplusplus
37278 extern "C"
37279 #endif
37280 char $ac_func ();
37281 /* The GNU C library defines this for functions which it implements
37282 to always fail with ENOSYS. Some functions are actually named
37283 something starting with __ and the normal name is an alias. */
37284 #if defined __stub_$ac_func || defined __stub___$ac_func
37285 choke me
37286 #endif
37287
37288 int
37289 main ()
37290 {
37291 return $ac_func ();
37292 ;
37293 return 0;
37294 }
37295 _ACEOF
37296 rm -f conftest.$ac_objext conftest$ac_exeext
37297 if { (ac_try="$ac_link"
37298 case "(($ac_try" in
37299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37300 *) ac_try_echo=$ac_try;;
37301 esac
37302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37303 (eval "$ac_link") 2>conftest.er1
37304 ac_status=$?
37305 grep -v '^ *+' conftest.er1 >conftest.err
37306 rm -f conftest.er1
37307 cat conftest.err >&5
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); } && {
37310 test -z "$ac_c_werror_flag" ||
37311 test ! -s conftest.err
37312 } && test -s conftest$ac_exeext &&
37313 $as_test_x conftest$ac_exeext; then
37314 eval "$as_ac_var=yes"
37315 else
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.$ac_ext >&5
37318
37319 eval "$as_ac_var=no"
37320 fi
37321
37322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37323 conftest$ac_exeext conftest.$ac_ext
37324 fi
37325 ac_res=`eval echo '${'$as_ac_var'}'`
37326 { echo "$as_me:$LINENO: result: $ac_res" >&5
37327 echo "${ECHO_T}$ac_res" >&6; }
37328 if test `eval echo '${'$as_ac_var'}'` = yes; then
37329 cat >>confdefs.h <<_ACEOF
37330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37331 _ACEOF
37332 cat >>confdefs.h <<\_ACEOF
37333 #define HAVE_INET_ATON 1
37334 _ACEOF
37335
37336 else
37337
37338 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37339 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37340 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37341 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37342 echo $ECHO_N "(cached) $ECHO_C" >&6
37343 else
37344 ac_check_lib_save_LIBS=$LIBS
37345 LIBS="-l$INET_LINK $LIBS"
37346 cat >conftest.$ac_ext <<_ACEOF
37347 /* confdefs.h. */
37348 _ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352
37353 /* Override any GCC internal prototype to avoid an error.
37354 Use char because int might match the return type of a GCC
37355 builtin and then its argument prototype would still apply. */
37356 #ifdef __cplusplus
37357 extern "C"
37358 #endif
37359 char inet_aton ();
37360 int
37361 main ()
37362 {
37363 return inet_aton ();
37364 ;
37365 return 0;
37366 }
37367 _ACEOF
37368 rm -f conftest.$ac_objext conftest$ac_exeext
37369 if { (ac_try="$ac_link"
37370 case "(($ac_try" in
37371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37372 *) ac_try_echo=$ac_try;;
37373 esac
37374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37375 (eval "$ac_link") 2>conftest.er1
37376 ac_status=$?
37377 grep -v '^ *+' conftest.er1 >conftest.err
37378 rm -f conftest.er1
37379 cat conftest.err >&5
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); } && {
37382 test -z "$ac_c_werror_flag" ||
37383 test ! -s conftest.err
37384 } && test -s conftest$ac_exeext &&
37385 $as_test_x conftest$ac_exeext; then
37386 eval "$as_ac_Lib=yes"
37387 else
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37390
37391 eval "$as_ac_Lib=no"
37392 fi
37393
37394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37395 conftest$ac_exeext conftest.$ac_ext
37396 LIBS=$ac_check_lib_save_LIBS
37397 fi
37398 ac_res=`eval echo '${'$as_ac_Lib'}'`
37399 { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37402 cat >>confdefs.h <<\_ACEOF
37403 #define HAVE_INET_ATON 1
37404 _ACEOF
37405
37406 fi
37407
37408
37409 fi
37410 done
37411
37412
37413 if test "x$INET_LINK" != "x"; then
37414 cat >>confdefs.h <<\_ACEOF
37415 #define HAVE_INET_ADDR 1
37416 _ACEOF
37417
37418 INET_LINK=" -l$INET_LINK"
37419 fi
37420
37421
37422 for wx_func in fdopen
37423 do
37424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37427 echo $ECHO_N "(cached) $ECHO_C" >&6
37428 else
37429
37430 cat >conftest.$ac_ext <<_ACEOF
37431
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437
37438
37439 $ac_includes_default
37440
37441 int
37442 main ()
37443 {
37444
37445 #ifndef $wx_func
37446 &$wx_func;
37447 #endif
37448
37449
37450 ;
37451 return 0;
37452 }
37453
37454 _ACEOF
37455 rm -f conftest.$ac_objext conftest$ac_exeext
37456 if { (ac_try="$ac_link"
37457 case "(($ac_try" in
37458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37459 *) ac_try_echo=$ac_try;;
37460 esac
37461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37462 (eval "$ac_link") 2>conftest.er1
37463 ac_status=$?
37464 grep -v '^ *+' conftest.er1 >conftest.err
37465 rm -f conftest.er1
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_c_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest$ac_exeext &&
37472 $as_test_x conftest$ac_exeext; then
37473 eval wx_cv_func_$wx_func=yes
37474 else
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37477
37478 eval wx_cv_func_$wx_func=no
37479 fi
37480
37481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37482 conftest$ac_exeext conftest.$ac_ext
37483
37484 fi
37485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37486 { echo "$as_me:$LINENO: result: $ac_res" >&5
37487 echo "${ECHO_T}$ac_res" >&6; }
37488
37489 if eval test \$wx_cv_func_$wx_func = yes
37490 then
37491 cat >>confdefs.h <<_ACEOF
37492 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37493 _ACEOF
37494
37495
37496 else
37497 :
37498
37499 fi
37500 done
37501
37502
37503 fi
37504
37505
37506
37507
37508 EXTRALIBS_ESD=
37509 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37510 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
37511 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37512 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 else
37514 ac_check_lib_save_LIBS=$LIBS
37515 LIBS="-lesd $LIBS"
37516 cat >conftest.$ac_ext <<_ACEOF
37517 /* confdefs.h. */
37518 _ACEOF
37519 cat confdefs.h >>conftest.$ac_ext
37520 cat >>conftest.$ac_ext <<_ACEOF
37521 /* end confdefs.h. */
37522
37523 /* Override any GCC internal prototype to avoid an error.
37524 Use char because int might match the return type of a GCC
37525 builtin and then its argument prototype would still apply. */
37526 #ifdef __cplusplus
37527 extern "C"
37528 #endif
37529 char esd_close ();
37530 int
37531 main ()
37532 {
37533 return esd_close ();
37534 ;
37535 return 0;
37536 }
37537 _ACEOF
37538 rm -f conftest.$ac_objext conftest$ac_exeext
37539 if { (ac_try="$ac_link"
37540 case "(($ac_try" in
37541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37542 *) ac_try_echo=$ac_try;;
37543 esac
37544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37545 (eval "$ac_link") 2>conftest.er1
37546 ac_status=$?
37547 grep -v '^ *+' conftest.er1 >conftest.err
37548 rm -f conftest.er1
37549 cat conftest.err >&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); } && {
37552 test -z "$ac_c_werror_flag" ||
37553 test ! -s conftest.err
37554 } && test -s conftest$ac_exeext &&
37555 $as_test_x conftest$ac_exeext; then
37556 ac_cv_lib_esd_esd_close=yes
37557 else
37558 echo "$as_me: failed program was:" >&5
37559 sed 's/^/| /' conftest.$ac_ext >&5
37560
37561 ac_cv_lib_esd_esd_close=no
37562 fi
37563
37564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37565 conftest$ac_exeext conftest.$ac_ext
37566 LIBS=$ac_check_lib_save_LIBS
37567 fi
37568 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37569 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
37570 if test $ac_cv_lib_esd_esd_close = yes; then
37571
37572 { echo "$as_me:$LINENO: checking for esd.h" >&5
37573 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6; }
37574 if test "${ac_cv_header_esd_h+set}" = set; then
37575 echo $ECHO_N "(cached) $ECHO_C" >&6
37576 else
37577 cat >conftest.$ac_ext <<_ACEOF
37578 /* confdefs.h. */
37579 _ACEOF
37580 cat confdefs.h >>conftest.$ac_ext
37581 cat >>conftest.$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37583
37584
37585 #include <esd.h>
37586 _ACEOF
37587 rm -f conftest.$ac_objext
37588 if { (ac_try="$ac_compile"
37589 case "(($ac_try" in
37590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37591 *) ac_try_echo=$ac_try;;
37592 esac
37593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37594 (eval "$ac_compile") 2>conftest.er1
37595 ac_status=$?
37596 grep -v '^ *+' conftest.er1 >conftest.err
37597 rm -f conftest.er1
37598 cat conftest.err >&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); } && {
37601 test -z "$ac_c_werror_flag" ||
37602 test ! -s conftest.err
37603 } && test -s conftest.$ac_objext; then
37604 ac_cv_header_esd_h=yes
37605 else
37606 echo "$as_me: failed program was:" >&5
37607 sed 's/^/| /' conftest.$ac_ext >&5
37608
37609 ac_cv_header_esd_h=no
37610 fi
37611
37612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37613 fi
37614 { echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
37615 echo "${ECHO_T}$ac_cv_header_esd_h" >&6; }
37616 if test $ac_cv_header_esd_h = yes; then
37617
37618 EXTRALIBS_ESD="-lesd"
37619
37620 fi
37621
37622
37623
37624 fi
37625
37626
37627
37628 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37629 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
37630 cat >conftest.$ac_ext <<_ACEOF
37631 /* confdefs.h. */
37632 _ACEOF
37633 cat confdefs.h >>conftest.$ac_ext
37634 cat >>conftest.$ac_ext <<_ACEOF
37635 /* end confdefs.h. */
37636 #ifdef __linux__
37637 #include <linux/cdrom.h>
37638 #else
37639 /* For Solaris */
37640 #include <sys/cdio.h>
37641 #endif
37642
37643 int
37644 main ()
37645 {
37646 struct cdrom_tocentry entry, old_entry;
37647 ;
37648 return 0;
37649 }
37650 _ACEOF
37651 rm -f conftest.$ac_objext
37652 if { (ac_try="$ac_compile"
37653 case "(($ac_try" in
37654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37655 *) ac_try_echo=$ac_try;;
37656 esac
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_compile") 2>conftest.er1
37659 ac_status=$?
37660 grep -v '^ *+' conftest.er1 >conftest.err
37661 rm -f conftest.er1
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest.$ac_objext; then
37668 { echo "$as_me:$LINENO: result: yes" >&5
37669 echo "${ECHO_T}yes" >&6; }
37670 cat >>confdefs.h <<\_ACEOF
37671 #define HAVE_KNOWN_CDROM_INTERFACE 1
37672 _ACEOF
37673
37674 else
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.$ac_ext >&5
37677
37678 { echo "$as_me:$LINENO: result: no" >&5
37679 echo "${ECHO_T}no" >&6; }
37680 fi
37681
37682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37683
37684
37685 cat >confcache <<\_ACEOF
37686 # This file is a shell script that caches the results of configure
37687 # tests run on this system so they can be shared between configure
37688 # scripts and configure runs, see configure's option --config-cache.
37689 # It is not useful on other systems. If it contains results you don't
37690 # want to keep, you may remove or edit it.
37691 #
37692 # config.status only pays attention to the cache file if you give it
37693 # the --recheck option to rerun configure.
37694 #
37695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37697 # following values.
37698
37699 _ACEOF
37700
37701 # The following way of writing the cache mishandles newlines in values,
37702 # but we know of no workaround that is simple, portable, and efficient.
37703 # So, we kill variables containing newlines.
37704 # Ultrix sh set writes to stderr and can't be redirected directly,
37705 # and sets the high bit in the cache file unless we assign to the vars.
37706 (
37707 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37708 eval ac_val=\$$ac_var
37709 case $ac_val in #(
37710 *${as_nl}*)
37711 case $ac_var in #(
37712 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37713 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37714 esac
37715 case $ac_var in #(
37716 _ | IFS | as_nl) ;; #(
37717 *) $as_unset $ac_var ;;
37718 esac ;;
37719 esac
37720 done
37721
37722 (set) 2>&1 |
37723 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37724 *${as_nl}ac_space=\ *)
37725 # `set' does not quote correctly, so add quotes (double-quote
37726 # substitution turns \\\\ into \\, and sed turns \\ into \).
37727 sed -n \
37728 "s/'/'\\\\''/g;
37729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37730 ;; #(
37731 *)
37732 # `set' quotes correctly as required by POSIX, so do not add quotes.
37733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37734 ;;
37735 esac |
37736 sort
37737 ) |
37738 sed '
37739 /^ac_cv_env_/b end
37740 t clear
37741 :clear
37742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37743 t end
37744 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37745 :end' >>confcache
37746 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37747 if test -w "$cache_file"; then
37748 test "x$cache_file" != "x/dev/null" &&
37749 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37750 echo "$as_me: updating cache $cache_file" >&6;}
37751 cat confcache >$cache_file
37752 else
37753 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37754 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37755 fi
37756 fi
37757 rm -f confcache
37758
37759
37760 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37761
37762
37763 THREADS_LINK=
37764 THREADS_CFLAGS=
37765
37766 if test "$wxUSE_THREADS" = "yes" ; then
37767 if test "$USE_BEOS" = 1; then
37768 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37769 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37770 wxUSE_THREADS="no"
37771 fi
37772 fi
37773
37774 if test "$wxUSE_THREADS" = "yes" ; then
37775
37776
37777 THREAD_OPTS="-pthread"
37778 case "${host}" in
37779 *-*-solaris2* | *-*-sunos4* )
37780 if test "x$GCC" = "xyes"; then
37781 THREAD_OPTS="-pthreads $THREAD_OPTS"
37782 else
37783 THREAD_OPTS="-mt $THREAD_OPTS"
37784 fi
37785 ;;
37786 *-*-freebsd*)
37787 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37788 ;;
37789 *-*-darwin* | *-*-cygwin* )
37790 THREAD_OPTS=""
37791 ;;
37792 *-*-aix*)
37793 THREAD_OPTS="pthreads"
37794 ;;
37795 *-hp-hpux* )
37796 if test "x$GCC" = "xyes"; then
37797 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37798 THREAD_OPTS=""
37799 else
37800 THREAD_OPTS="-mt"
37801 fi
37802 ;;
37803
37804 *-*-irix* )
37805 if test "x$GCC" = "xyes"; then
37806 THREAD_OPTS=""
37807 fi
37808 ;;
37809
37810 *-*-*UnixWare*)
37811 if test "x$GCC" != "xyes"; then
37812 THREAD_OPTS="-Ethread"
37813 fi
37814 ;;
37815 esac
37816
37817 THREAD_OPTS="$THREAD_OPTS pthread none"
37818
37819 THREADS_OK=no
37820 for flag in $THREAD_OPTS; do
37821 case $flag in
37822 none)
37823 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37824 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37825 ;;
37826
37827 -*)
37828 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37829 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37830 THREADS_CFLAGS="$flag"
37831 ;;
37832
37833 *)
37834 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37835 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37836 THREADS_LINK="-l$flag"
37837 ;;
37838 esac
37839
37840 save_LIBS="$LIBS"
37841 save_CFLAGS="$CFLAGS"
37842 LIBS="$THREADS_LINK $LIBS"
37843 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37844
37845 cat >conftest.$ac_ext <<_ACEOF
37846 /* confdefs.h. */
37847 _ACEOF
37848 cat confdefs.h >>conftest.$ac_ext
37849 cat >>conftest.$ac_ext <<_ACEOF
37850 /* end confdefs.h. */
37851 #include <pthread.h>
37852 int
37853 main ()
37854 {
37855 pthread_create(0,0,0,0);
37856 ;
37857 return 0;
37858 }
37859 _ACEOF
37860 rm -f conftest.$ac_objext conftest$ac_exeext
37861 if { (ac_try="$ac_link"
37862 case "(($ac_try" in
37863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37864 *) ac_try_echo=$ac_try;;
37865 esac
37866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37867 (eval "$ac_link") 2>conftest.er1
37868 ac_status=$?
37869 grep -v '^ *+' conftest.er1 >conftest.err
37870 rm -f conftest.er1
37871 cat conftest.err >&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); } && {
37874 test -z "$ac_c_werror_flag" ||
37875 test ! -s conftest.err
37876 } && test -s conftest$ac_exeext &&
37877 $as_test_x conftest$ac_exeext; then
37878 THREADS_OK=yes
37879 else
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37882
37883
37884 fi
37885
37886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37887 conftest$ac_exeext conftest.$ac_ext
37888
37889 LIBS="$save_LIBS"
37890 CFLAGS="$save_CFLAGS"
37891
37892 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37893 echo "${ECHO_T}$THREADS_OK" >&6; }
37894 if test "x$THREADS_OK" = "xyes"; then
37895 break;
37896 fi
37897
37898 THREADS_LINK=""
37899 THREADS_CFLAGS=""
37900 done
37901
37902 if test "x$THREADS_OK" != "xyes"; then
37903 wxUSE_THREADS=no
37904 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37905 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37906 else
37907 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37908 LIBS="$THREADS_LINK $LIBS"
37909
37910 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37911 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37912 flag=no
37913 case "${host}" in
37914 *-aix*)
37915 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37916 flag="-D_THREAD_SAFE"
37917 ;;
37918 *-freebsd*)
37919 flag="-D_THREAD_SAFE"
37920 ;;
37921 *-hp-hpux* )
37922 flag="-D_REENTRANT"
37923 if test "x$GCC" != "xyes"; then
37924 flag="$flag -D_RWSTD_MULTI_THREAD"
37925 fi
37926 ;;
37927 *solaris* | alpha*-osf*)
37928 flag="-D_REENTRANT"
37929 ;;
37930 esac
37931 { echo "$as_me:$LINENO: result: ${flag}" >&5
37932 echo "${ECHO_T}${flag}" >&6; }
37933 if test "x$flag" != xno; then
37934 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37935 fi
37936
37937 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37938 fi
37939 fi
37940
37941 if test "$wxUSE_THREADS" = "yes" ; then
37942
37943 for ac_func in thr_setconcurrency
37944 do
37945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37949 echo $ECHO_N "(cached) $ECHO_C" >&6
37950 else
37951 cat >conftest.$ac_ext <<_ACEOF
37952 /* confdefs.h. */
37953 _ACEOF
37954 cat confdefs.h >>conftest.$ac_ext
37955 cat >>conftest.$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37959 #define $ac_func innocuous_$ac_func
37960
37961 /* System header to define __stub macros and hopefully few prototypes,
37962 which can conflict with char $ac_func (); below.
37963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37964 <limits.h> exists even on freestanding compilers. */
37965
37966 #ifdef __STDC__
37967 # include <limits.h>
37968 #else
37969 # include <assert.h>
37970 #endif
37971
37972 #undef $ac_func
37973
37974 /* Override any GCC internal prototype to avoid an error.
37975 Use char because int might match the return type of a GCC
37976 builtin and then its argument prototype would still apply. */
37977 #ifdef __cplusplus
37978 extern "C"
37979 #endif
37980 char $ac_func ();
37981 /* The GNU C library defines this for functions which it implements
37982 to always fail with ENOSYS. Some functions are actually named
37983 something starting with __ and the normal name is an alias. */
37984 #if defined __stub_$ac_func || defined __stub___$ac_func
37985 choke me
37986 #endif
37987
37988 int
37989 main ()
37990 {
37991 return $ac_func ();
37992 ;
37993 return 0;
37994 }
37995 _ACEOF
37996 rm -f conftest.$ac_objext conftest$ac_exeext
37997 if { (ac_try="$ac_link"
37998 case "(($ac_try" in
37999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38000 *) ac_try_echo=$ac_try;;
38001 esac
38002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38003 (eval "$ac_link") 2>conftest.er1
38004 ac_status=$?
38005 grep -v '^ *+' conftest.er1 >conftest.err
38006 rm -f conftest.er1
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } && {
38010 test -z "$ac_c_werror_flag" ||
38011 test ! -s conftest.err
38012 } && test -s conftest$ac_exeext &&
38013 $as_test_x conftest$ac_exeext; then
38014 eval "$as_ac_var=yes"
38015 else
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.$ac_ext >&5
38018
38019 eval "$as_ac_var=no"
38020 fi
38021
38022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38023 conftest$ac_exeext conftest.$ac_ext
38024 fi
38025 ac_res=`eval echo '${'$as_ac_var'}'`
38026 { echo "$as_me:$LINENO: result: $ac_res" >&5
38027 echo "${ECHO_T}$ac_res" >&6; }
38028 if test `eval echo '${'$as_ac_var'}'` = yes; then
38029 cat >>confdefs.h <<_ACEOF
38030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38031 _ACEOF
38032
38033 fi
38034 done
38035
38036
38037 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38038 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38039 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38040 echo $ECHO_N "(cached) $ECHO_C" >&6
38041 else
38042
38043 cat >conftest.$ac_ext <<_ACEOF
38044 /* confdefs.h. */
38045 _ACEOF
38046 cat confdefs.h >>conftest.$ac_ext
38047 cat >>conftest.$ac_ext <<_ACEOF
38048 /* end confdefs.h. */
38049 #include <pthread.h>
38050 void ThreadCleanupFunc(void *p);
38051
38052 int
38053 main ()
38054 {
38055
38056 void *p;
38057 pthread_cleanup_push(ThreadCleanupFunc, p);
38058 pthread_cleanup_pop(0);
38059
38060 ;
38061 return 0;
38062 }
38063 _ACEOF
38064 rm -f conftest.$ac_objext
38065 if { (ac_try="$ac_compile"
38066 case "(($ac_try" in
38067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38068 *) ac_try_echo=$ac_try;;
38069 esac
38070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38071 (eval "$ac_compile") 2>conftest.er1
38072 ac_status=$?
38073 grep -v '^ *+' conftest.er1 >conftest.err
38074 rm -f conftest.er1
38075 cat conftest.err >&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } && {
38078 test -z "$ac_c_werror_flag" ||
38079 test ! -s conftest.err
38080 } && test -s conftest.$ac_objext; then
38081
38082 wx_cv_func_pthread_cleanup=yes
38083
38084 else
38085 echo "$as_me: failed program was:" >&5
38086 sed 's/^/| /' conftest.$ac_ext >&5
38087
38088
38089 wx_cv_func_pthread_cleanup=no
38090
38091
38092 fi
38093
38094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38095
38096 fi
38097 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38098 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38099 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38100 cat >>confdefs.h <<\_ACEOF
38101 #define wxHAVE_PTHREAD_CLEANUP 1
38102 _ACEOF
38103
38104 fi
38105
38106 { echo "$as_me:$LINENO: checking for sched.h" >&5
38107 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38108 if test "${ac_cv_header_sched_h+set}" = set; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38110 else
38111 cat >conftest.$ac_ext <<_ACEOF
38112 /* confdefs.h. */
38113 _ACEOF
38114 cat confdefs.h >>conftest.$ac_ext
38115 cat >>conftest.$ac_ext <<_ACEOF
38116 /* end confdefs.h. */
38117 $ac_includes_default
38118
38119 #include <sched.h>
38120 _ACEOF
38121 rm -f conftest.$ac_objext
38122 if { (ac_try="$ac_compile"
38123 case "(($ac_try" in
38124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38125 *) ac_try_echo=$ac_try;;
38126 esac
38127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38128 (eval "$ac_compile") 2>conftest.er1
38129 ac_status=$?
38130 grep -v '^ *+' conftest.er1 >conftest.err
38131 rm -f conftest.er1
38132 cat conftest.err >&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } && {
38135 test -z "$ac_c_werror_flag" ||
38136 test ! -s conftest.err
38137 } && test -s conftest.$ac_objext; then
38138 ac_cv_header_sched_h=yes
38139 else
38140 echo "$as_me: failed program was:" >&5
38141 sed 's/^/| /' conftest.$ac_ext >&5
38142
38143 ac_cv_header_sched_h=no
38144 fi
38145
38146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38147 fi
38148 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38149 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38150
38151
38152 if test "$ac_cv_header_sched_h" = "yes"; then
38153 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38154 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38155 if test "${ac_cv_func_sched_yield+set}" = set; then
38156 echo $ECHO_N "(cached) $ECHO_C" >&6
38157 else
38158 cat >conftest.$ac_ext <<_ACEOF
38159 /* confdefs.h. */
38160 _ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38166 #define sched_yield innocuous_sched_yield
38167
38168 /* System header to define __stub macros and hopefully few prototypes,
38169 which can conflict with char sched_yield (); below.
38170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38171 <limits.h> exists even on freestanding compilers. */
38172
38173 #ifdef __STDC__
38174 # include <limits.h>
38175 #else
38176 # include <assert.h>
38177 #endif
38178
38179 #undef sched_yield
38180
38181 /* Override any GCC internal prototype to avoid an error.
38182 Use char because int might match the return type of a GCC
38183 builtin and then its argument prototype would still apply. */
38184 #ifdef __cplusplus
38185 extern "C"
38186 #endif
38187 char sched_yield ();
38188 /* The GNU C library defines this for functions which it implements
38189 to always fail with ENOSYS. Some functions are actually named
38190 something starting with __ and the normal name is an alias. */
38191 #if defined __stub_sched_yield || defined __stub___sched_yield
38192 choke me
38193 #endif
38194
38195 int
38196 main ()
38197 {
38198 return sched_yield ();
38199 ;
38200 return 0;
38201 }
38202 _ACEOF
38203 rm -f conftest.$ac_objext conftest$ac_exeext
38204 if { (ac_try="$ac_link"
38205 case "(($ac_try" in
38206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38207 *) ac_try_echo=$ac_try;;
38208 esac
38209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38210 (eval "$ac_link") 2>conftest.er1
38211 ac_status=$?
38212 grep -v '^ *+' conftest.er1 >conftest.err
38213 rm -f conftest.er1
38214 cat conftest.err >&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } && {
38217 test -z "$ac_c_werror_flag" ||
38218 test ! -s conftest.err
38219 } && test -s conftest$ac_exeext &&
38220 $as_test_x conftest$ac_exeext; then
38221 ac_cv_func_sched_yield=yes
38222 else
38223 echo "$as_me: failed program was:" >&5
38224 sed 's/^/| /' conftest.$ac_ext >&5
38225
38226 ac_cv_func_sched_yield=no
38227 fi
38228
38229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38230 conftest$ac_exeext conftest.$ac_ext
38231 fi
38232 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38233 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38234 if test $ac_cv_func_sched_yield = yes; then
38235 cat >>confdefs.h <<\_ACEOF
38236 #define HAVE_SCHED_YIELD 1
38237 _ACEOF
38238
38239 else
38240
38241 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38242 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38243 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246 ac_check_lib_save_LIBS=$LIBS
38247 LIBS="-lposix4 $LIBS"
38248 cat >conftest.$ac_ext <<_ACEOF
38249 /* confdefs.h. */
38250 _ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38254
38255 /* Override any GCC internal prototype to avoid an error.
38256 Use char because int might match the return type of a GCC
38257 builtin and then its argument prototype would still apply. */
38258 #ifdef __cplusplus
38259 extern "C"
38260 #endif
38261 char sched_yield ();
38262 int
38263 main ()
38264 {
38265 return sched_yield ();
38266 ;
38267 return 0;
38268 }
38269 _ACEOF
38270 rm -f conftest.$ac_objext conftest$ac_exeext
38271 if { (ac_try="$ac_link"
38272 case "(($ac_try" in
38273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38274 *) ac_try_echo=$ac_try;;
38275 esac
38276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38277 (eval "$ac_link") 2>conftest.er1
38278 ac_status=$?
38279 grep -v '^ *+' conftest.er1 >conftest.err
38280 rm -f conftest.er1
38281 cat conftest.err >&5
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); } && {
38284 test -z "$ac_c_werror_flag" ||
38285 test ! -s conftest.err
38286 } && test -s conftest$ac_exeext &&
38287 $as_test_x conftest$ac_exeext; then
38288 ac_cv_lib_posix4_sched_yield=yes
38289 else
38290 echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.$ac_ext >&5
38292
38293 ac_cv_lib_posix4_sched_yield=no
38294 fi
38295
38296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38297 conftest$ac_exeext conftest.$ac_ext
38298 LIBS=$ac_check_lib_save_LIBS
38299 fi
38300 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38301 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38302 if test $ac_cv_lib_posix4_sched_yield = yes; then
38303 cat >>confdefs.h <<\_ACEOF
38304 #define HAVE_SCHED_YIELD 1
38305 _ACEOF
38306 POSIX4_LINK=" -lposix4"
38307 else
38308 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38309 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38310
38311 fi
38312
38313
38314
38315 fi
38316
38317 fi
38318
38319 HAVE_PRIOR_FUNCS=0
38320 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38321 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38322 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38323 echo $ECHO_N "(cached) $ECHO_C" >&6
38324 else
38325 cat >conftest.$ac_ext <<_ACEOF
38326 /* confdefs.h. */
38327 _ACEOF
38328 cat confdefs.h >>conftest.$ac_ext
38329 cat >>conftest.$ac_ext <<_ACEOF
38330 /* end confdefs.h. */
38331 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38333 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38334
38335 /* System header to define __stub macros and hopefully few prototypes,
38336 which can conflict with char pthread_attr_getschedpolicy (); below.
38337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38338 <limits.h> exists even on freestanding compilers. */
38339
38340 #ifdef __STDC__
38341 # include <limits.h>
38342 #else
38343 # include <assert.h>
38344 #endif
38345
38346 #undef pthread_attr_getschedpolicy
38347
38348 /* Override any GCC internal prototype to avoid an error.
38349 Use char because int might match the return type of a GCC
38350 builtin and then its argument prototype would still apply. */
38351 #ifdef __cplusplus
38352 extern "C"
38353 #endif
38354 char pthread_attr_getschedpolicy ();
38355 /* The GNU C library defines this for functions which it implements
38356 to always fail with ENOSYS. Some functions are actually named
38357 something starting with __ and the normal name is an alias. */
38358 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38359 choke me
38360 #endif
38361
38362 int
38363 main ()
38364 {
38365 return pthread_attr_getschedpolicy ();
38366 ;
38367 return 0;
38368 }
38369 _ACEOF
38370 rm -f conftest.$ac_objext conftest$ac_exeext
38371 if { (ac_try="$ac_link"
38372 case "(($ac_try" in
38373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38374 *) ac_try_echo=$ac_try;;
38375 esac
38376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38377 (eval "$ac_link") 2>conftest.er1
38378 ac_status=$?
38379 grep -v '^ *+' conftest.er1 >conftest.err
38380 rm -f conftest.er1
38381 cat conftest.err >&5
38382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38383 (exit $ac_status); } && {
38384 test -z "$ac_c_werror_flag" ||
38385 test ! -s conftest.err
38386 } && test -s conftest$ac_exeext &&
38387 $as_test_x conftest$ac_exeext; then
38388 ac_cv_func_pthread_attr_getschedpolicy=yes
38389 else
38390 echo "$as_me: failed program was:" >&5
38391 sed 's/^/| /' conftest.$ac_ext >&5
38392
38393 ac_cv_func_pthread_attr_getschedpolicy=no
38394 fi
38395
38396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38397 conftest$ac_exeext conftest.$ac_ext
38398 fi
38399 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38400 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38401 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38402 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38403 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38404 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38405 echo $ECHO_N "(cached) $ECHO_C" >&6
38406 else
38407 cat >conftest.$ac_ext <<_ACEOF
38408 /* confdefs.h. */
38409 _ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38415 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38416
38417 /* System header to define __stub macros and hopefully few prototypes,
38418 which can conflict with char pthread_attr_setschedparam (); below.
38419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38420 <limits.h> exists even on freestanding compilers. */
38421
38422 #ifdef __STDC__
38423 # include <limits.h>
38424 #else
38425 # include <assert.h>
38426 #endif
38427
38428 #undef pthread_attr_setschedparam
38429
38430 /* Override any GCC internal prototype to avoid an error.
38431 Use char because int might match the return type of a GCC
38432 builtin and then its argument prototype would still apply. */
38433 #ifdef __cplusplus
38434 extern "C"
38435 #endif
38436 char pthread_attr_setschedparam ();
38437 /* The GNU C library defines this for functions which it implements
38438 to always fail with ENOSYS. Some functions are actually named
38439 something starting with __ and the normal name is an alias. */
38440 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38441 choke me
38442 #endif
38443
38444 int
38445 main ()
38446 {
38447 return pthread_attr_setschedparam ();
38448 ;
38449 return 0;
38450 }
38451 _ACEOF
38452 rm -f conftest.$ac_objext conftest$ac_exeext
38453 if { (ac_try="$ac_link"
38454 case "(($ac_try" in
38455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38456 *) ac_try_echo=$ac_try;;
38457 esac
38458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38459 (eval "$ac_link") 2>conftest.er1
38460 ac_status=$?
38461 grep -v '^ *+' conftest.er1 >conftest.err
38462 rm -f conftest.er1
38463 cat conftest.err >&5
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); } && {
38466 test -z "$ac_c_werror_flag" ||
38467 test ! -s conftest.err
38468 } && test -s conftest$ac_exeext &&
38469 $as_test_x conftest$ac_exeext; then
38470 ac_cv_func_pthread_attr_setschedparam=yes
38471 else
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.$ac_ext >&5
38474
38475 ac_cv_func_pthread_attr_setschedparam=no
38476 fi
38477
38478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38479 conftest$ac_exeext conftest.$ac_ext
38480 fi
38481 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38482 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38483 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38484 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38485 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38486 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38487 echo $ECHO_N "(cached) $ECHO_C" >&6
38488 else
38489 cat >conftest.$ac_ext <<_ACEOF
38490 /* confdefs.h. */
38491 _ACEOF
38492 cat confdefs.h >>conftest.$ac_ext
38493 cat >>conftest.$ac_ext <<_ACEOF
38494 /* end confdefs.h. */
38495 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38497 #define sched_get_priority_max innocuous_sched_get_priority_max
38498
38499 /* System header to define __stub macros and hopefully few prototypes,
38500 which can conflict with char sched_get_priority_max (); below.
38501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38502 <limits.h> exists even on freestanding compilers. */
38503
38504 #ifdef __STDC__
38505 # include <limits.h>
38506 #else
38507 # include <assert.h>
38508 #endif
38509
38510 #undef sched_get_priority_max
38511
38512 /* Override any GCC internal prototype to avoid an error.
38513 Use char because int might match the return type of a GCC
38514 builtin and then its argument prototype would still apply. */
38515 #ifdef __cplusplus
38516 extern "C"
38517 #endif
38518 char sched_get_priority_max ();
38519 /* The GNU C library defines this for functions which it implements
38520 to always fail with ENOSYS. Some functions are actually named
38521 something starting with __ and the normal name is an alias. */
38522 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38523 choke me
38524 #endif
38525
38526 int
38527 main ()
38528 {
38529 return sched_get_priority_max ();
38530 ;
38531 return 0;
38532 }
38533 _ACEOF
38534 rm -f conftest.$ac_objext conftest$ac_exeext
38535 if { (ac_try="$ac_link"
38536 case "(($ac_try" in
38537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38538 *) ac_try_echo=$ac_try;;
38539 esac
38540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38541 (eval "$ac_link") 2>conftest.er1
38542 ac_status=$?
38543 grep -v '^ *+' conftest.er1 >conftest.err
38544 rm -f conftest.er1
38545 cat conftest.err >&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); } && {
38548 test -z "$ac_c_werror_flag" ||
38549 test ! -s conftest.err
38550 } && test -s conftest$ac_exeext &&
38551 $as_test_x conftest$ac_exeext; then
38552 ac_cv_func_sched_get_priority_max=yes
38553 else
38554 echo "$as_me: failed program was:" >&5
38555 sed 's/^/| /' conftest.$ac_ext >&5
38556
38557 ac_cv_func_sched_get_priority_max=no
38558 fi
38559
38560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38561 conftest$ac_exeext conftest.$ac_ext
38562 fi
38563 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38564 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38565 if test $ac_cv_func_sched_get_priority_max = yes; then
38566 HAVE_PRIOR_FUNCS=1
38567 else
38568 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38569 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38570 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38571 echo $ECHO_N "(cached) $ECHO_C" >&6
38572 else
38573 ac_check_lib_save_LIBS=$LIBS
38574 LIBS="-lposix4 $LIBS"
38575 cat >conftest.$ac_ext <<_ACEOF
38576 /* confdefs.h. */
38577 _ACEOF
38578 cat confdefs.h >>conftest.$ac_ext
38579 cat >>conftest.$ac_ext <<_ACEOF
38580 /* end confdefs.h. */
38581
38582 /* Override any GCC internal prototype to avoid an error.
38583 Use char because int might match the return type of a GCC
38584 builtin and then its argument prototype would still apply. */
38585 #ifdef __cplusplus
38586 extern "C"
38587 #endif
38588 char sched_get_priority_max ();
38589 int
38590 main ()
38591 {
38592 return sched_get_priority_max ();
38593 ;
38594 return 0;
38595 }
38596 _ACEOF
38597 rm -f conftest.$ac_objext conftest$ac_exeext
38598 if { (ac_try="$ac_link"
38599 case "(($ac_try" in
38600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38601 *) ac_try_echo=$ac_try;;
38602 esac
38603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38604 (eval "$ac_link") 2>conftest.er1
38605 ac_status=$?
38606 grep -v '^ *+' conftest.er1 >conftest.err
38607 rm -f conftest.er1
38608 cat conftest.err >&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } && {
38611 test -z "$ac_c_werror_flag" ||
38612 test ! -s conftest.err
38613 } && test -s conftest$ac_exeext &&
38614 $as_test_x conftest$ac_exeext; then
38615 ac_cv_lib_posix4_sched_get_priority_max=yes
38616 else
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.$ac_ext >&5
38619
38620 ac_cv_lib_posix4_sched_get_priority_max=no
38621 fi
38622
38623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38624 conftest$ac_exeext conftest.$ac_ext
38625 LIBS=$ac_check_lib_save_LIBS
38626 fi
38627 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38628 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38629 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38630
38631 HAVE_PRIOR_FUNCS=1
38632 POSIX4_LINK=" -lposix4"
38633
38634 fi
38635
38636
38637 fi
38638
38639
38640 fi
38641
38642
38643 fi
38644
38645
38646 if test "$HAVE_PRIOR_FUNCS" = 1; then
38647 cat >>confdefs.h <<\_ACEOF
38648 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38649 _ACEOF
38650
38651 else
38652 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38653 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38654 fi
38655
38656 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38657 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38658 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38659 echo $ECHO_N "(cached) $ECHO_C" >&6
38660 else
38661 cat >conftest.$ac_ext <<_ACEOF
38662 /* confdefs.h. */
38663 _ACEOF
38664 cat confdefs.h >>conftest.$ac_ext
38665 cat >>conftest.$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38669 #define pthread_cancel innocuous_pthread_cancel
38670
38671 /* System header to define __stub macros and hopefully few prototypes,
38672 which can conflict with char pthread_cancel (); below.
38673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38674 <limits.h> exists even on freestanding compilers. */
38675
38676 #ifdef __STDC__
38677 # include <limits.h>
38678 #else
38679 # include <assert.h>
38680 #endif
38681
38682 #undef pthread_cancel
38683
38684 /* Override any GCC internal prototype to avoid an error.
38685 Use char because int might match the return type of a GCC
38686 builtin and then its argument prototype would still apply. */
38687 #ifdef __cplusplus
38688 extern "C"
38689 #endif
38690 char pthread_cancel ();
38691 /* The GNU C library defines this for functions which it implements
38692 to always fail with ENOSYS. Some functions are actually named
38693 something starting with __ and the normal name is an alias. */
38694 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38695 choke me
38696 #endif
38697
38698 int
38699 main ()
38700 {
38701 return pthread_cancel ();
38702 ;
38703 return 0;
38704 }
38705 _ACEOF
38706 rm -f conftest.$ac_objext conftest$ac_exeext
38707 if { (ac_try="$ac_link"
38708 case "(($ac_try" in
38709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38710 *) ac_try_echo=$ac_try;;
38711 esac
38712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38713 (eval "$ac_link") 2>conftest.er1
38714 ac_status=$?
38715 grep -v '^ *+' conftest.er1 >conftest.err
38716 rm -f conftest.er1
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } && {
38720 test -z "$ac_c_werror_flag" ||
38721 test ! -s conftest.err
38722 } && test -s conftest$ac_exeext &&
38723 $as_test_x conftest$ac_exeext; then
38724 ac_cv_func_pthread_cancel=yes
38725 else
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38728
38729 ac_cv_func_pthread_cancel=no
38730 fi
38731
38732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38733 conftest$ac_exeext conftest.$ac_ext
38734 fi
38735 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38736 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38737 if test $ac_cv_func_pthread_cancel = yes; then
38738 cat >>confdefs.h <<\_ACEOF
38739 #define HAVE_PTHREAD_CANCEL 1
38740 _ACEOF
38741
38742 else
38743 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38744 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38745 fi
38746
38747
38748 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38749 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38750 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38751 echo $ECHO_N "(cached) $ECHO_C" >&6
38752 else
38753 cat >conftest.$ac_ext <<_ACEOF
38754 /* confdefs.h. */
38755 _ACEOF
38756 cat confdefs.h >>conftest.$ac_ext
38757 cat >>conftest.$ac_ext <<_ACEOF
38758 /* end confdefs.h. */
38759 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38761 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38762
38763 /* System header to define __stub macros and hopefully few prototypes,
38764 which can conflict with char pthread_mutex_timedlock (); below.
38765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38766 <limits.h> exists even on freestanding compilers. */
38767
38768 #ifdef __STDC__
38769 # include <limits.h>
38770 #else
38771 # include <assert.h>
38772 #endif
38773
38774 #undef pthread_mutex_timedlock
38775
38776 /* Override any GCC internal prototype to avoid an error.
38777 Use char because int might match the return type of a GCC
38778 builtin and then its argument prototype would still apply. */
38779 #ifdef __cplusplus
38780 extern "C"
38781 #endif
38782 char pthread_mutex_timedlock ();
38783 /* The GNU C library defines this for functions which it implements
38784 to always fail with ENOSYS. Some functions are actually named
38785 something starting with __ and the normal name is an alias. */
38786 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38787 choke me
38788 #endif
38789
38790 int
38791 main ()
38792 {
38793 return pthread_mutex_timedlock ();
38794 ;
38795 return 0;
38796 }
38797 _ACEOF
38798 rm -f conftest.$ac_objext conftest$ac_exeext
38799 if { (ac_try="$ac_link"
38800 case "(($ac_try" in
38801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38802 *) ac_try_echo=$ac_try;;
38803 esac
38804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38805 (eval "$ac_link") 2>conftest.er1
38806 ac_status=$?
38807 grep -v '^ *+' conftest.er1 >conftest.err
38808 rm -f conftest.er1
38809 cat conftest.err >&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } && {
38812 test -z "$ac_c_werror_flag" ||
38813 test ! -s conftest.err
38814 } && test -s conftest$ac_exeext &&
38815 $as_test_x conftest$ac_exeext; then
38816 ac_cv_func_pthread_mutex_timedlock=yes
38817 else
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.$ac_ext >&5
38820
38821 ac_cv_func_pthread_mutex_timedlock=no
38822 fi
38823
38824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38825 conftest$ac_exeext conftest.$ac_ext
38826 fi
38827 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38828 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38829 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38830 cat >>confdefs.h <<\_ACEOF
38831 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38832 _ACEOF
38833
38834 else
38835 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38836 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38837 fi
38838
38839
38840 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38841 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38842 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38844 else
38845 cat >conftest.$ac_ext <<_ACEOF
38846 /* confdefs.h. */
38847 _ACEOF
38848 cat confdefs.h >>conftest.$ac_ext
38849 cat >>conftest.$ac_ext <<_ACEOF
38850 /* end confdefs.h. */
38851 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38853 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38854
38855 /* System header to define __stub macros and hopefully few prototypes,
38856 which can conflict with char pthread_attr_setstacksize (); below.
38857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38858 <limits.h> exists even on freestanding compilers. */
38859
38860 #ifdef __STDC__
38861 # include <limits.h>
38862 #else
38863 # include <assert.h>
38864 #endif
38865
38866 #undef pthread_attr_setstacksize
38867
38868 /* Override any GCC internal prototype to avoid an error.
38869 Use char because int might match the return type of a GCC
38870 builtin and then its argument prototype would still apply. */
38871 #ifdef __cplusplus
38872 extern "C"
38873 #endif
38874 char pthread_attr_setstacksize ();
38875 /* The GNU C library defines this for functions which it implements
38876 to always fail with ENOSYS. Some functions are actually named
38877 something starting with __ and the normal name is an alias. */
38878 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38879 choke me
38880 #endif
38881
38882 int
38883 main ()
38884 {
38885 return pthread_attr_setstacksize ();
38886 ;
38887 return 0;
38888 }
38889 _ACEOF
38890 rm -f conftest.$ac_objext conftest$ac_exeext
38891 if { (ac_try="$ac_link"
38892 case "(($ac_try" in
38893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38894 *) ac_try_echo=$ac_try;;
38895 esac
38896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38897 (eval "$ac_link") 2>conftest.er1
38898 ac_status=$?
38899 grep -v '^ *+' conftest.er1 >conftest.err
38900 rm -f conftest.er1
38901 cat conftest.err >&5
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); } && {
38904 test -z "$ac_c_werror_flag" ||
38905 test ! -s conftest.err
38906 } && test -s conftest$ac_exeext &&
38907 $as_test_x conftest$ac_exeext; then
38908 ac_cv_func_pthread_attr_setstacksize=yes
38909 else
38910 echo "$as_me: failed program was:" >&5
38911 sed 's/^/| /' conftest.$ac_ext >&5
38912
38913 ac_cv_func_pthread_attr_setstacksize=no
38914 fi
38915
38916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38917 conftest$ac_exeext conftest.$ac_ext
38918 fi
38919 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38920 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38921 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38922 cat >>confdefs.h <<\_ACEOF
38923 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38924 _ACEOF
38925
38926 fi
38927
38928
38929
38930 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38931 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38932 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38933 echo $ECHO_N "(cached) $ECHO_C" >&6
38934 else
38935
38936 cat >conftest.$ac_ext <<_ACEOF
38937 /* confdefs.h. */
38938 _ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942 #include <pthread.h>
38943 int
38944 main ()
38945 {
38946
38947 pthread_mutexattr_t attr;
38948 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38949
38950 ;
38951 return 0;
38952 }
38953 _ACEOF
38954 rm -f conftest.$ac_objext
38955 if { (ac_try="$ac_compile"
38956 case "(($ac_try" in
38957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38958 *) ac_try_echo=$ac_try;;
38959 esac
38960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38961 (eval "$ac_compile") 2>conftest.er1
38962 ac_status=$?
38963 grep -v '^ *+' conftest.er1 >conftest.err
38964 rm -f conftest.er1
38965 cat conftest.err >&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } && {
38968 test -z "$ac_c_werror_flag" ||
38969 test ! -s conftest.err
38970 } && test -s conftest.$ac_objext; then
38971 wx_cv_type_pthread_mutexattr_t=yes
38972 else
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38975
38976 wx_cv_type_pthread_mutexattr_t=no
38977
38978 fi
38979
38980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38981
38982 fi
38983 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38984 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38985
38986 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38987 cat >>confdefs.h <<\_ACEOF
38988 #define HAVE_PTHREAD_MUTEXATTR_T 1
38989 _ACEOF
38990
38991
38992 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38993 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38994 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38995 echo $ECHO_N "(cached) $ECHO_C" >&6
38996 else
38997
38998 cat >conftest.$ac_ext <<_ACEOF
38999 /* confdefs.h. */
39000 _ACEOF
39001 cat confdefs.h >>conftest.$ac_ext
39002 cat >>conftest.$ac_ext <<_ACEOF
39003 /* end confdefs.h. */
39004 #include <pthread.h>
39005 int
39006 main ()
39007 {
39008
39009 pthread_mutexattr_t attr;
39010 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39011
39012 ;
39013 return 0;
39014 }
39015 _ACEOF
39016 rm -f conftest.$ac_objext
39017 if { (ac_try="$ac_compile"
39018 case "(($ac_try" in
39019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39020 *) ac_try_echo=$ac_try;;
39021 esac
39022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39023 (eval "$ac_compile") 2>conftest.er1
39024 ac_status=$?
39025 grep -v '^ *+' conftest.er1 >conftest.err
39026 rm -f conftest.er1
39027 cat conftest.err >&5
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); } && {
39030 test -z "$ac_c_werror_flag" ||
39031 test ! -s conftest.err
39032 } && test -s conftest.$ac_objext; then
39033 wx_cv_func_pthread_mutexattr_settype_decl=yes
39034 else
39035 echo "$as_me: failed program was:" >&5
39036 sed 's/^/| /' conftest.$ac_ext >&5
39037
39038 wx_cv_func_pthread_mutexattr_settype_decl=no
39039
39040 fi
39041
39042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39043
39044 fi
39045 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39046 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39047 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39048 cat >>confdefs.h <<\_ACEOF
39049 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39050 _ACEOF
39051
39052 fi
39053 else
39054 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39055 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39056 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39057 echo $ECHO_N "(cached) $ECHO_C" >&6
39058 else
39059
39060 cat >conftest.$ac_ext <<_ACEOF
39061 /* confdefs.h. */
39062 _ACEOF
39063 cat confdefs.h >>conftest.$ac_ext
39064 cat >>conftest.$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066 #include <pthread.h>
39067 int
39068 main ()
39069 {
39070
39071 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39072
39073 ;
39074 return 0;
39075 }
39076 _ACEOF
39077 rm -f conftest.$ac_objext
39078 if { (ac_try="$ac_compile"
39079 case "(($ac_try" in
39080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39081 *) ac_try_echo=$ac_try;;
39082 esac
39083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39084 (eval "$ac_compile") 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } && {
39091 test -z "$ac_c_werror_flag" ||
39092 test ! -s conftest.err
39093 } && test -s conftest.$ac_objext; then
39094
39095 wx_cv_type_pthread_rec_mutex_init=yes
39096
39097 else
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.$ac_ext >&5
39100
39101
39102 wx_cv_type_pthread_rec_mutex_init=no
39103
39104
39105 fi
39106
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39108
39109 fi
39110 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39111 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39112 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39113 cat >>confdefs.h <<\_ACEOF
39114 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39115 _ACEOF
39116
39117 else
39118 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39119 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39120 fi
39121 fi
39122 fi
39123
39124 else
39125 if test "$wxUSE_THREADS" = "yes" ; then
39126 case "${host}" in
39127 *-*-mingw32* )
39128 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39129 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39130 if test "${wx_cv_cflags_mthread+set}" = set; then
39131 echo $ECHO_N "(cached) $ECHO_C" >&6
39132 else
39133
39134 CFLAGS_OLD="$CFLAGS"
39135 CFLAGS="-mthreads $CFLAGS"
39136 cat >conftest.$ac_ext <<_ACEOF
39137 /* confdefs.h. */
39138 _ACEOF
39139 cat confdefs.h >>conftest.$ac_ext
39140 cat >>conftest.$ac_ext <<_ACEOF
39141 /* end confdefs.h. */
39142
39143 int
39144 main ()
39145 {
39146
39147 ;
39148 return 0;
39149 }
39150 _ACEOF
39151 rm -f conftest.$ac_objext
39152 if { (ac_try="$ac_compile"
39153 case "(($ac_try" in
39154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39155 *) ac_try_echo=$ac_try;;
39156 esac
39157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39158 (eval "$ac_compile") 2>conftest.er1
39159 ac_status=$?
39160 grep -v '^ *+' conftest.er1 >conftest.err
39161 rm -f conftest.er1
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } && {
39165 test -z "$ac_c_werror_flag" ||
39166 test ! -s conftest.err
39167 } && test -s conftest.$ac_objext; then
39168 wx_cv_cflags_mthread=yes
39169 else
39170 echo "$as_me: failed program was:" >&5
39171 sed 's/^/| /' conftest.$ac_ext >&5
39172
39173 wx_cv_cflags_mthread=no
39174
39175 fi
39176
39177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39178
39179
39180 fi
39181 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39182 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39183
39184 if test "$wx_cv_cflags_mthread" = "yes"; then
39185 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39186 LDFLAGS="$LDFLAGS -mthreads"
39187 else
39188 CFLAGS="$CFLAGS_OLD"
39189 fi
39190 ;;
39191 *-pc-os2*emx )
39192 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39193 LDFLAGS="$LDFLAGS -Zmt"
39194 ;;
39195 esac
39196 fi
39197 fi
39198
39199 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39200 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39201 if test "${ac_cv_func_localtime_r+set}" = set; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 else
39204 cat >conftest.$ac_ext <<_ACEOF
39205 /* confdefs.h. */
39206 _ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39212 #define localtime_r innocuous_localtime_r
39213
39214 /* System header to define __stub macros and hopefully few prototypes,
39215 which can conflict with char localtime_r (); below.
39216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39217 <limits.h> exists even on freestanding compilers. */
39218
39219 #ifdef __STDC__
39220 # include <limits.h>
39221 #else
39222 # include <assert.h>
39223 #endif
39224
39225 #undef localtime_r
39226
39227 /* Override any GCC internal prototype to avoid an error.
39228 Use char because int might match the return type of a GCC
39229 builtin and then its argument prototype would still apply. */
39230 #ifdef __cplusplus
39231 extern "C"
39232 #endif
39233 char localtime_r ();
39234 /* The GNU C library defines this for functions which it implements
39235 to always fail with ENOSYS. Some functions are actually named
39236 something starting with __ and the normal name is an alias. */
39237 #if defined __stub_localtime_r || defined __stub___localtime_r
39238 choke me
39239 #endif
39240
39241 int
39242 main ()
39243 {
39244 return localtime_r ();
39245 ;
39246 return 0;
39247 }
39248 _ACEOF
39249 rm -f conftest.$ac_objext conftest$ac_exeext
39250 if { (ac_try="$ac_link"
39251 case "(($ac_try" in
39252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39253 *) ac_try_echo=$ac_try;;
39254 esac
39255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39256 (eval "$ac_link") 2>conftest.er1
39257 ac_status=$?
39258 grep -v '^ *+' conftest.er1 >conftest.err
39259 rm -f conftest.er1
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } && {
39263 test -z "$ac_c_werror_flag" ||
39264 test ! -s conftest.err
39265 } && test -s conftest$ac_exeext &&
39266 $as_test_x conftest$ac_exeext; then
39267 ac_cv_func_localtime_r=yes
39268 else
39269 echo "$as_me: failed program was:" >&5
39270 sed 's/^/| /' conftest.$ac_ext >&5
39271
39272 ac_cv_func_localtime_r=no
39273 fi
39274
39275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39276 conftest$ac_exeext conftest.$ac_ext
39277 fi
39278 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39279 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39280 if test $ac_cv_func_localtime_r = yes; then
39281 cat >>confdefs.h <<\_ACEOF
39282 #define HAVE_LOCALTIME_R 1
39283 _ACEOF
39284
39285 fi
39286
39287 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39288 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39289 if test "${ac_cv_func_gmtime_r+set}" = set; then
39290 echo $ECHO_N "(cached) $ECHO_C" >&6
39291 else
39292 cat >conftest.$ac_ext <<_ACEOF
39293 /* confdefs.h. */
39294 _ACEOF
39295 cat confdefs.h >>conftest.$ac_ext
39296 cat >>conftest.$ac_ext <<_ACEOF
39297 /* end confdefs.h. */
39298 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39300 #define gmtime_r innocuous_gmtime_r
39301
39302 /* System header to define __stub macros and hopefully few prototypes,
39303 which can conflict with char gmtime_r (); below.
39304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39305 <limits.h> exists even on freestanding compilers. */
39306
39307 #ifdef __STDC__
39308 # include <limits.h>
39309 #else
39310 # include <assert.h>
39311 #endif
39312
39313 #undef gmtime_r
39314
39315 /* Override any GCC internal prototype to avoid an error.
39316 Use char because int might match the return type of a GCC
39317 builtin and then its argument prototype would still apply. */
39318 #ifdef __cplusplus
39319 extern "C"
39320 #endif
39321 char gmtime_r ();
39322 /* The GNU C library defines this for functions which it implements
39323 to always fail with ENOSYS. Some functions are actually named
39324 something starting with __ and the normal name is an alias. */
39325 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39326 choke me
39327 #endif
39328
39329 int
39330 main ()
39331 {
39332 return gmtime_r ();
39333 ;
39334 return 0;
39335 }
39336 _ACEOF
39337 rm -f conftest.$ac_objext conftest$ac_exeext
39338 if { (ac_try="$ac_link"
39339 case "(($ac_try" in
39340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39341 *) ac_try_echo=$ac_try;;
39342 esac
39343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39344 (eval "$ac_link") 2>conftest.er1
39345 ac_status=$?
39346 grep -v '^ *+' conftest.er1 >conftest.err
39347 rm -f conftest.er1
39348 cat conftest.err >&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } && {
39351 test -z "$ac_c_werror_flag" ||
39352 test ! -s conftest.err
39353 } && test -s conftest$ac_exeext &&
39354 $as_test_x conftest$ac_exeext; then
39355 ac_cv_func_gmtime_r=yes
39356 else
39357 echo "$as_me: failed program was:" >&5
39358 sed 's/^/| /' conftest.$ac_ext >&5
39359
39360 ac_cv_func_gmtime_r=no
39361 fi
39362
39363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39364 conftest$ac_exeext conftest.$ac_ext
39365 fi
39366 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39367 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39368 if test $ac_cv_func_gmtime_r = yes; then
39369 cat >>confdefs.h <<\_ACEOF
39370 #define HAVE_GMTIME_R 1
39371 _ACEOF
39372
39373 fi
39374
39375 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39376 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39377 if test "${ac_cv_func_readdir_r+set}" = set; then
39378 echo $ECHO_N "(cached) $ECHO_C" >&6
39379 else
39380 cat >conftest.$ac_ext <<_ACEOF
39381 /* confdefs.h. */
39382 _ACEOF
39383 cat confdefs.h >>conftest.$ac_ext
39384 cat >>conftest.$ac_ext <<_ACEOF
39385 /* end confdefs.h. */
39386 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39388 #define readdir_r innocuous_readdir_r
39389
39390 /* System header to define __stub macros and hopefully few prototypes,
39391 which can conflict with char readdir_r (); below.
39392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39393 <limits.h> exists even on freestanding compilers. */
39394
39395 #ifdef __STDC__
39396 # include <limits.h>
39397 #else
39398 # include <assert.h>
39399 #endif
39400
39401 #undef readdir_r
39402
39403 /* Override any GCC internal prototype to avoid an error.
39404 Use char because int might match the return type of a GCC
39405 builtin and then its argument prototype would still apply. */
39406 #ifdef __cplusplus
39407 extern "C"
39408 #endif
39409 char readdir_r ();
39410 /* The GNU C library defines this for functions which it implements
39411 to always fail with ENOSYS. Some functions are actually named
39412 something starting with __ and the normal name is an alias. */
39413 #if defined __stub_readdir_r || defined __stub___readdir_r
39414 choke me
39415 #endif
39416
39417 int
39418 main ()
39419 {
39420 return readdir_r ();
39421 ;
39422 return 0;
39423 }
39424 _ACEOF
39425 rm -f conftest.$ac_objext conftest$ac_exeext
39426 if { (ac_try="$ac_link"
39427 case "(($ac_try" in
39428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39429 *) ac_try_echo=$ac_try;;
39430 esac
39431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39432 (eval "$ac_link") 2>conftest.er1
39433 ac_status=$?
39434 grep -v '^ *+' conftest.er1 >conftest.err
39435 rm -f conftest.er1
39436 cat conftest.err >&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); } && {
39439 test -z "$ac_c_werror_flag" ||
39440 test ! -s conftest.err
39441 } && test -s conftest$ac_exeext &&
39442 $as_test_x conftest$ac_exeext; then
39443 ac_cv_func_readdir_r=yes
39444 else
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.$ac_ext >&5
39447
39448 ac_cv_func_readdir_r=no
39449 fi
39450
39451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39452 conftest$ac_exeext conftest.$ac_ext
39453 fi
39454 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39455 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39456 if test $ac_cv_func_readdir_r = yes; then
39457 cat >>confdefs.h <<\_ACEOF
39458 #define HAVE_READDIR_R 1
39459 _ACEOF
39460
39461 fi
39462
39463
39464
39465
39466 ac_ext=c
39467 ac_cpp='$CPP $CPPFLAGS'
39468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39471
39472 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39473 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39474
39475 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39476 echo $ECHO_N "(cached) $ECHO_C" >&6
39477 else
39478
39479
39480 ################################################################
39481
39482 ac_cv_func_which_gethostbyname_r=unknown
39483
39484 #
39485 # ONE ARGUMENT (sanity check)
39486 #
39487
39488 # This should fail, as there is no variant of gethostbyname_r() that takes
39489 # a single argument. If it actually compiles, then we can assume that
39490 # netdb.h is not declaring the function, and the compiler is thereby
39491 # assuming an implicit prototype. In which case, we're out of luck.
39492 #
39493 cat >conftest.$ac_ext <<_ACEOF
39494 /* confdefs.h. */
39495 _ACEOF
39496 cat confdefs.h >>conftest.$ac_ext
39497 cat >>conftest.$ac_ext <<_ACEOF
39498 /* end confdefs.h. */
39499 #include <netdb.h>
39500 int
39501 main ()
39502 {
39503
39504 char *name = "www.gnu.org";
39505 (void)gethostbyname_r(name) /* ; */
39506
39507 ;
39508 return 0;
39509 }
39510 _ACEOF
39511 rm -f conftest.$ac_objext
39512 if { (ac_try="$ac_compile"
39513 case "(($ac_try" in
39514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39515 *) ac_try_echo=$ac_try;;
39516 esac
39517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39518 (eval "$ac_compile") 2>conftest.er1
39519 ac_status=$?
39520 grep -v '^ *+' conftest.er1 >conftest.err
39521 rm -f conftest.er1
39522 cat conftest.err >&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } && {
39525 test -z "$ac_c_werror_flag" ||
39526 test ! -s conftest.err
39527 } && test -s conftest.$ac_objext; then
39528 ac_cv_func_which_gethostbyname_r=no
39529 else
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39532
39533
39534 fi
39535
39536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39537
39538 #
39539 # SIX ARGUMENTS
39540 # (e.g. Linux)
39541 #
39542
39543 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39544
39545 cat >conftest.$ac_ext <<_ACEOF
39546 /* confdefs.h. */
39547 _ACEOF
39548 cat confdefs.h >>conftest.$ac_ext
39549 cat >>conftest.$ac_ext <<_ACEOF
39550 /* end confdefs.h. */
39551 #include <netdb.h>
39552 int
39553 main ()
39554 {
39555
39556 char *name = "www.gnu.org";
39557 struct hostent ret, *retp;
39558 char buf[1024];
39559 int buflen = 1024;
39560 int my_h_errno;
39561 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39562
39563 ;
39564 return 0;
39565 }
39566 _ACEOF
39567 rm -f conftest.$ac_objext
39568 if { (ac_try="$ac_compile"
39569 case "(($ac_try" in
39570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39571 *) ac_try_echo=$ac_try;;
39572 esac
39573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39574 (eval "$ac_compile") 2>conftest.er1
39575 ac_status=$?
39576 grep -v '^ *+' conftest.er1 >conftest.err
39577 rm -f conftest.er1
39578 cat conftest.err >&5
39579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39580 (exit $ac_status); } && {
39581 test -z "$ac_c_werror_flag" ||
39582 test ! -s conftest.err
39583 } && test -s conftest.$ac_objext; then
39584 ac_cv_func_which_gethostbyname_r=six
39585 else
39586 echo "$as_me: failed program was:" >&5
39587 sed 's/^/| /' conftest.$ac_ext >&5
39588
39589
39590 fi
39591
39592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39593
39594 fi
39595
39596 #
39597 # FIVE ARGUMENTS
39598 # (e.g. Solaris)
39599 #
39600
39601 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39602
39603 cat >conftest.$ac_ext <<_ACEOF
39604 /* confdefs.h. */
39605 _ACEOF
39606 cat confdefs.h >>conftest.$ac_ext
39607 cat >>conftest.$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39609 #include <netdb.h>
39610 int
39611 main ()
39612 {
39613
39614 char *name = "www.gnu.org";
39615 struct hostent ret;
39616 char buf[1024];
39617 int buflen = 1024;
39618 int my_h_errno;
39619 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39620
39621 ;
39622 return 0;
39623 }
39624 _ACEOF
39625 rm -f conftest.$ac_objext
39626 if { (ac_try="$ac_compile"
39627 case "(($ac_try" in
39628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39629 *) ac_try_echo=$ac_try;;
39630 esac
39631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39632 (eval "$ac_compile") 2>conftest.er1
39633 ac_status=$?
39634 grep -v '^ *+' conftest.er1 >conftest.err
39635 rm -f conftest.er1
39636 cat conftest.err >&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } && {
39639 test -z "$ac_c_werror_flag" ||
39640 test ! -s conftest.err
39641 } && test -s conftest.$ac_objext; then
39642 ac_cv_func_which_gethostbyname_r=five
39643 else
39644 echo "$as_me: failed program was:" >&5
39645 sed 's/^/| /' conftest.$ac_ext >&5
39646
39647
39648 fi
39649
39650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39651
39652 fi
39653
39654 #
39655 # THREE ARGUMENTS
39656 # (e.g. AIX, HP-UX, Tru64)
39657 #
39658
39659 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39660
39661 cat >conftest.$ac_ext <<_ACEOF
39662 /* confdefs.h. */
39663 _ACEOF
39664 cat confdefs.h >>conftest.$ac_ext
39665 cat >>conftest.$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39667 #include <netdb.h>
39668 int
39669 main ()
39670 {
39671
39672 char *name = "www.gnu.org";
39673 struct hostent ret;
39674 struct hostent_data data;
39675 (void)gethostbyname_r(name, &ret, &data) /* ; */
39676
39677 ;
39678 return 0;
39679 }
39680 _ACEOF
39681 rm -f conftest.$ac_objext
39682 if { (ac_try="$ac_compile"
39683 case "(($ac_try" in
39684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39685 *) ac_try_echo=$ac_try;;
39686 esac
39687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39688 (eval "$ac_compile") 2>conftest.er1
39689 ac_status=$?
39690 grep -v '^ *+' conftest.er1 >conftest.err
39691 rm -f conftest.er1
39692 cat conftest.err >&5
39693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694 (exit $ac_status); } && {
39695 test -z "$ac_c_werror_flag" ||
39696 test ! -s conftest.err
39697 } && test -s conftest.$ac_objext; then
39698 ac_cv_func_which_gethostbyname_r=three
39699 else
39700 echo "$as_me: failed program was:" >&5
39701 sed 's/^/| /' conftest.$ac_ext >&5
39702
39703
39704 fi
39705
39706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707
39708 fi
39709
39710 ################################################################
39711
39712
39713 fi
39714
39715 case "$ac_cv_func_which_gethostbyname_r" in
39716 three)
39717 { echo "$as_me:$LINENO: result: three" >&5
39718 echo "${ECHO_T}three" >&6; }
39719 cat >>confdefs.h <<\_ACEOF
39720 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39721 _ACEOF
39722
39723 ;;
39724
39725 five)
39726 { echo "$as_me:$LINENO: result: five" >&5
39727 echo "${ECHO_T}five" >&6; }
39728 cat >>confdefs.h <<\_ACEOF
39729 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39730 _ACEOF
39731
39732 ;;
39733
39734 six)
39735 { echo "$as_me:$LINENO: result: six" >&5
39736 echo "${ECHO_T}six" >&6; }
39737 cat >>confdefs.h <<\_ACEOF
39738 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39739 _ACEOF
39740
39741 ;;
39742
39743 no)
39744 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39745 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39746 ;;
39747
39748 unknown)
39749 { echo "$as_me:$LINENO: result: can't tell" >&5
39750 echo "${ECHO_T}can't tell" >&6; }
39751 ;;
39752
39753 *)
39754 { { echo "$as_me:$LINENO: error: internal error" >&5
39755 echo "$as_me: error: internal error" >&2;}
39756 { (exit 1); exit 1; }; }
39757 ;;
39758 esac
39759
39760 ac_ext=c
39761 ac_cpp='$CPP $CPPFLAGS'
39762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39765
39766
39767
39768 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39769 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39770 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39771 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39772 if test "${ac_cv_func_gethostbyname+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39774 else
39775 cat >conftest.$ac_ext <<_ACEOF
39776 /* confdefs.h. */
39777 _ACEOF
39778 cat confdefs.h >>conftest.$ac_ext
39779 cat >>conftest.$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39783 #define gethostbyname innocuous_gethostbyname
39784
39785 /* System header to define __stub macros and hopefully few prototypes,
39786 which can conflict with char gethostbyname (); below.
39787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788 <limits.h> exists even on freestanding compilers. */
39789
39790 #ifdef __STDC__
39791 # include <limits.h>
39792 #else
39793 # include <assert.h>
39794 #endif
39795
39796 #undef gethostbyname
39797
39798 /* Override any GCC internal prototype to avoid an error.
39799 Use char because int might match the return type of a GCC
39800 builtin and then its argument prototype would still apply. */
39801 #ifdef __cplusplus
39802 extern "C"
39803 #endif
39804 char gethostbyname ();
39805 /* The GNU C library defines this for functions which it implements
39806 to always fail with ENOSYS. Some functions are actually named
39807 something starting with __ and the normal name is an alias. */
39808 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39809 choke me
39810 #endif
39811
39812 int
39813 main ()
39814 {
39815 return gethostbyname ();
39816 ;
39817 return 0;
39818 }
39819 _ACEOF
39820 rm -f conftest.$ac_objext conftest$ac_exeext
39821 if { (ac_try="$ac_link"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39825 esac
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_link") 2>conftest.er1
39828 ac_status=$?
39829 grep -v '^ *+' conftest.er1 >conftest.err
39830 rm -f conftest.er1
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest$ac_exeext &&
39837 $as_test_x conftest$ac_exeext; then
39838 ac_cv_func_gethostbyname=yes
39839 else
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39842
39843 ac_cv_func_gethostbyname=no
39844 fi
39845
39846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39847 conftest$ac_exeext conftest.$ac_ext
39848 fi
39849 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39850 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39851 if test $ac_cv_func_gethostbyname = yes; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define HAVE_GETHOSTBYNAME 1
39854 _ACEOF
39855
39856 fi
39857
39858 fi
39859
39860 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39861 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39862 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39863 echo $ECHO_N "(cached) $ECHO_C" >&6
39864 else
39865
39866 ac_ext=cpp
39867 ac_cpp='$CXXCPP $CPPFLAGS'
39868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39871
39872
39873 cat >conftest.$ac_ext <<_ACEOF
39874 /* confdefs.h. */
39875 _ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h. */
39879 #include <netdb.h>
39880 int
39881 main ()
39882 {
39883
39884 char *name;
39885 char *proto;
39886 struct servent *se, *res;
39887 char buffer[2048];
39888 int buflen = 2048;
39889 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39890
39891 ;
39892 return 0;
39893 }
39894 _ACEOF
39895 rm -f conftest.$ac_objext
39896 if { (ac_try="$ac_compile"
39897 case "(($ac_try" in
39898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39899 *) ac_try_echo=$ac_try;;
39900 esac
39901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39902 (eval "$ac_compile") 2>conftest.er1
39903 ac_status=$?
39904 grep -v '^ *+' conftest.er1 >conftest.err
39905 rm -f conftest.er1
39906 cat conftest.err >&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } && {
39909 test -z "$ac_cxx_werror_flag" ||
39910 test ! -s conftest.err
39911 } && test -s conftest.$ac_objext; then
39912 ac_cv_func_which_getservbyname_r=six
39913 else
39914 echo "$as_me: failed program was:" >&5
39915 sed 's/^/| /' conftest.$ac_ext >&5
39916
39917
39918 cat >conftest.$ac_ext <<_ACEOF
39919 /* confdefs.h. */
39920 _ACEOF
39921 cat confdefs.h >>conftest.$ac_ext
39922 cat >>conftest.$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39924 #include <netdb.h>
39925 int
39926 main ()
39927 {
39928
39929 char *name;
39930 char *proto;
39931 struct servent *se;
39932 char buffer[2048];
39933 int buflen = 2048;
39934 (void) getservbyname_r(name, proto, se, buffer, buflen)
39935
39936 ;
39937 return 0;
39938 }
39939 _ACEOF
39940 rm -f conftest.$ac_objext
39941 if { (ac_try="$ac_compile"
39942 case "(($ac_try" in
39943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39944 *) ac_try_echo=$ac_try;;
39945 esac
39946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39947 (eval "$ac_compile") 2>conftest.er1
39948 ac_status=$?
39949 grep -v '^ *+' conftest.er1 >conftest.err
39950 rm -f conftest.er1
39951 cat conftest.err >&5
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); } && {
39954 test -z "$ac_cxx_werror_flag" ||
39955 test ! -s conftest.err
39956 } && test -s conftest.$ac_objext; then
39957 ac_cv_func_which_getservbyname_r=five
39958 else
39959 echo "$as_me: failed program was:" >&5
39960 sed 's/^/| /' conftest.$ac_ext >&5
39961
39962
39963 cat >conftest.$ac_ext <<_ACEOF
39964 /* confdefs.h. */
39965 _ACEOF
39966 cat confdefs.h >>conftest.$ac_ext
39967 cat >>conftest.$ac_ext <<_ACEOF
39968 /* end confdefs.h. */
39969 #include <netdb.h>
39970 int
39971 main ()
39972 {
39973
39974 char *name;
39975 char *proto;
39976 struct servent *se;
39977 struct servent_data data;
39978 (void) getservbyname_r(name, proto, se, &data);
39979
39980 ;
39981 return 0;
39982 }
39983 _ACEOF
39984 rm -f conftest.$ac_objext
39985 if { (ac_try="$ac_compile"
39986 case "(($ac_try" in
39987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39988 *) ac_try_echo=$ac_try;;
39989 esac
39990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39991 (eval "$ac_compile") 2>conftest.er1
39992 ac_status=$?
39993 grep -v '^ *+' conftest.er1 >conftest.err
39994 rm -f conftest.er1
39995 cat conftest.err >&5
39996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39997 (exit $ac_status); } && {
39998 test -z "$ac_cxx_werror_flag" ||
39999 test ! -s conftest.err
40000 } && test -s conftest.$ac_objext; then
40001 ac_cv_func_which_getservbyname_r=four
40002 else
40003 echo "$as_me: failed program was:" >&5
40004 sed 's/^/| /' conftest.$ac_ext >&5
40005
40006 ac_cv_func_which_getservbyname_r=no
40007
40008 fi
40009
40010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40011
40012
40013 fi
40014
40015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40016
40017
40018 fi
40019
40020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40021 ac_ext=c
40022 ac_cpp='$CPP $CPPFLAGS'
40023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40026
40027
40028
40029 fi
40030 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40031 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40032
40033 if test $ac_cv_func_which_getservbyname_r = six; then
40034 cat >>confdefs.h <<\_ACEOF
40035 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40036 _ACEOF
40037
40038 elif test $ac_cv_func_which_getservbyname_r = five; then
40039 cat >>confdefs.h <<\_ACEOF
40040 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40041 _ACEOF
40042
40043 elif test $ac_cv_func_which_getservbyname_r = four; then
40044 cat >>confdefs.h <<\_ACEOF
40045 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40046 _ACEOF
40047
40048 fi
40049
40050
40051 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40052 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40053
40054 for ac_func in getservbyname
40055 do
40056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40059 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40061 else
40062 cat >conftest.$ac_ext <<_ACEOF
40063 /* confdefs.h. */
40064 _ACEOF
40065 cat confdefs.h >>conftest.$ac_ext
40066 cat >>conftest.$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40070 #define $ac_func innocuous_$ac_func
40071
40072 /* System header to define __stub macros and hopefully few prototypes,
40073 which can conflict with char $ac_func (); below.
40074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40075 <limits.h> exists even on freestanding compilers. */
40076
40077 #ifdef __STDC__
40078 # include <limits.h>
40079 #else
40080 # include <assert.h>
40081 #endif
40082
40083 #undef $ac_func
40084
40085 /* Override any GCC internal prototype to avoid an error.
40086 Use char because int might match the return type of a GCC
40087 builtin and then its argument prototype would still apply. */
40088 #ifdef __cplusplus
40089 extern "C"
40090 #endif
40091 char $ac_func ();
40092 /* The GNU C library defines this for functions which it implements
40093 to always fail with ENOSYS. Some functions are actually named
40094 something starting with __ and the normal name is an alias. */
40095 #if defined __stub_$ac_func || defined __stub___$ac_func
40096 choke me
40097 #endif
40098
40099 int
40100 main ()
40101 {
40102 return $ac_func ();
40103 ;
40104 return 0;
40105 }
40106 _ACEOF
40107 rm -f conftest.$ac_objext conftest$ac_exeext
40108 if { (ac_try="$ac_link"
40109 case "(($ac_try" in
40110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40111 *) ac_try_echo=$ac_try;;
40112 esac
40113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40114 (eval "$ac_link") 2>conftest.er1
40115 ac_status=$?
40116 grep -v '^ *+' conftest.er1 >conftest.err
40117 rm -f conftest.er1
40118 cat conftest.err >&5
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); } && {
40121 test -z "$ac_c_werror_flag" ||
40122 test ! -s conftest.err
40123 } && test -s conftest$ac_exeext &&
40124 $as_test_x conftest$ac_exeext; then
40125 eval "$as_ac_var=yes"
40126 else
40127 echo "$as_me: failed program was:" >&5
40128 sed 's/^/| /' conftest.$ac_ext >&5
40129
40130 eval "$as_ac_var=no"
40131 fi
40132
40133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40134 conftest$ac_exeext conftest.$ac_ext
40135 fi
40136 ac_res=`eval echo '${'$as_ac_var'}'`
40137 { echo "$as_me:$LINENO: result: $ac_res" >&5
40138 echo "${ECHO_T}$ac_res" >&6; }
40139 if test `eval echo '${'$as_ac_var'}'` = yes; then
40140 cat >>confdefs.h <<_ACEOF
40141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40142 _ACEOF
40143 cat >>confdefs.h <<\_ACEOF
40144 #define HAVE_GETSERVBYNAME 1
40145 _ACEOF
40146
40147 fi
40148 done
40149
40150 fi
40151
40152 if test "$wxUSE_THREADS" = "yes"; then
40153 cat >>confdefs.h <<\_ACEOF
40154 #define wxUSE_THREADS 1
40155 _ACEOF
40156
40157
40158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40159 else
40160 if test "$wx_cv_func_strtok_r" = "yes"; then
40161 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40162 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40163 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40164 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40165 { echo "$as_me:$LINENO: result: yes" >&5
40166 echo "${ECHO_T}yes" >&6; }
40167 else
40168 { echo "$as_me:$LINENO: result: no" >&5
40169 echo "${ECHO_T}no" >&6; }
40170 fi
40171 fi
40172 fi
40173
40174 if test "$WXGTK20" = 1 ; then
40175 cat >>confdefs.h <<_ACEOF
40176 #define __WXGTK20__ $WXGTK20
40177 _ACEOF
40178
40179 WXGTK12=1
40180 fi
40181
40182 if test "$WXGTK12" = 1 ; then
40183 cat >>confdefs.h <<_ACEOF
40184 #define __WXGTK12__ $WXGTK12
40185 _ACEOF
40186
40187 fi
40188
40189 if test "$WXGTK127" = 1 ; then
40190 cat >>confdefs.h <<_ACEOF
40191 #define __WXGTK127__ $WXGTK127
40192 _ACEOF
40193
40194 fi
40195
40196 if test "$WXGPE" = 1 ; then
40197 cat >>confdefs.h <<_ACEOF
40198 #define __WXGPE__ $WXGPE
40199 _ACEOF
40200
40201 fi
40202
40203 DEBUG_CFLAGS=
40204 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40205 DEBUG_CFLAGS="-g"
40206 wxUSE_OPTIMISE=no
40207 fi
40208
40209 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40210 wxUSE_DEBUG_INFO=yes
40211 if test "$GCC" = yes; then
40212 DEBUG_CFLAGS="-ggdb"
40213 fi
40214 fi
40215
40216 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40217 cat >>confdefs.h <<\_ACEOF
40218 #define WXDEBUG 1
40219 _ACEOF
40220
40221 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40222 else
40223 if test "$wxUSE_GTK" = 1 ; then
40224 if test "x$wxGTK_VERSION" = "x1" ; then
40225 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40226 fi
40227 fi
40228 fi
40229
40230 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40231 cat >>confdefs.h <<\_ACEOF
40232 #define wxUSE_MEMORY_TRACING 1
40233 _ACEOF
40234
40235 cat >>confdefs.h <<\_ACEOF
40236 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40237 _ACEOF
40238
40239 cat >>confdefs.h <<\_ACEOF
40240 #define wxUSE_DEBUG_NEW_ALWAYS 1
40241 _ACEOF
40242
40243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40244 fi
40245
40246 if test "$wxUSE_DMALLOC" = "yes" ; then
40247 DMALLOC_LIBS="-ldmallocthcxx"
40248 fi
40249
40250 PROFILE_FLAGS=
40251 if test "$wxUSE_PROFILE" = "yes" ; then
40252 PROFILE_FLAGS=" -pg"
40253 fi
40254
40255 if test "$GCC" = "yes" ; then
40256 if test "$wxUSE_NO_RTTI" = "yes" ; then
40257 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40258 fi
40259 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40260 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40261 fi
40262 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40263 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40264 fi
40265
40266 case "${host}" in
40267 powerpc*-*-aix* )
40268 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40269 ;;
40270 *-hppa* )
40271 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40272 ;;
40273 esac
40274 fi
40275
40276 OPTIMISE_CFLAGS=
40277 if test "$wxUSE_OPTIMISE" = "no" ; then
40278 if test "$GCC" = yes ; then
40279 OPTIMISE_CFLAGS="-O0"
40280 fi
40281 else
40282 if test "$GCC" = yes ; then
40283 case "${host}" in
40284 *-pc-os2_emx | *-pc-os2-emx )
40285 OPTIMISE_CFLAGS="-O2"
40286 ;;
40287 *)
40288 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40289 ;;
40290 esac
40291 else
40292 OPTIMISE_CFLAGS="-O"
40293 fi
40294 fi
40295
40296
40297 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40298 cat >>confdefs.h <<\_ACEOF
40299 #define WXWIN_COMPATIBILITY_2_6 1
40300 _ACEOF
40301
40302
40303 WXWIN_COMPATIBILITY_2_8="yes"
40304 fi
40305
40306 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40307 cat >>confdefs.h <<\_ACEOF
40308 #define WXWIN_COMPATIBILITY_2_8 1
40309 _ACEOF
40310
40311 fi
40312
40313
40314 if test "$wxUSE_GUI" = "yes"; then
40315 cat >>confdefs.h <<\_ACEOF
40316 #define wxUSE_GUI 1
40317 _ACEOF
40318
40319
40320 fi
40321
40322
40323 if test "$wxUSE_UNIX" = "yes"; then
40324 cat >>confdefs.h <<\_ACEOF
40325 #define wxUSE_UNIX 1
40326 _ACEOF
40327
40328 fi
40329
40330
40331 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40332
40333 HAVE_DL_FUNCS=0
40334 HAVE_SHL_FUNCS=0
40335 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40336 if test "$USE_DARWIN" = 1; then
40337 HAVE_DL_FUNCS=1
40338 elif test "$USE_DOS" = 1; then
40339 HAVE_DL_FUNCS=0
40340 else
40341
40342 for ac_func in dlopen
40343 do
40344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40348 echo $ECHO_N "(cached) $ECHO_C" >&6
40349 else
40350 cat >conftest.$ac_ext <<_ACEOF
40351 /* confdefs.h. */
40352 _ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40358 #define $ac_func innocuous_$ac_func
40359
40360 /* System header to define __stub macros and hopefully few prototypes,
40361 which can conflict with char $ac_func (); below.
40362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40363 <limits.h> exists even on freestanding compilers. */
40364
40365 #ifdef __STDC__
40366 # include <limits.h>
40367 #else
40368 # include <assert.h>
40369 #endif
40370
40371 #undef $ac_func
40372
40373 /* Override any GCC internal prototype to avoid an error.
40374 Use char because int might match the return type of a GCC
40375 builtin and then its argument prototype would still apply. */
40376 #ifdef __cplusplus
40377 extern "C"
40378 #endif
40379 char $ac_func ();
40380 /* The GNU C library defines this for functions which it implements
40381 to always fail with ENOSYS. Some functions are actually named
40382 something starting with __ and the normal name is an alias. */
40383 #if defined __stub_$ac_func || defined __stub___$ac_func
40384 choke me
40385 #endif
40386
40387 int
40388 main ()
40389 {
40390 return $ac_func ();
40391 ;
40392 return 0;
40393 }
40394 _ACEOF
40395 rm -f conftest.$ac_objext conftest$ac_exeext
40396 if { (ac_try="$ac_link"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40399 *) ac_try_echo=$ac_try;;
40400 esac
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_link") 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_c_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest$ac_exeext &&
40412 $as_test_x conftest$ac_exeext; then
40413 eval "$as_ac_var=yes"
40414 else
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.$ac_ext >&5
40417
40418 eval "$as_ac_var=no"
40419 fi
40420
40421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40422 conftest$ac_exeext conftest.$ac_ext
40423 fi
40424 ac_res=`eval echo '${'$as_ac_var'}'`
40425 { echo "$as_me:$LINENO: result: $ac_res" >&5
40426 echo "${ECHO_T}$ac_res" >&6; }
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428 cat >>confdefs.h <<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40430 _ACEOF
40431
40432 cat >>confdefs.h <<\_ACEOF
40433 #define HAVE_DLOPEN 1
40434 _ACEOF
40435
40436 HAVE_DL_FUNCS=1
40437
40438 else
40439
40440 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40441 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40442 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40443 echo $ECHO_N "(cached) $ECHO_C" >&6
40444 else
40445 ac_check_lib_save_LIBS=$LIBS
40446 LIBS="-ldl $LIBS"
40447 cat >conftest.$ac_ext <<_ACEOF
40448 /* confdefs.h. */
40449 _ACEOF
40450 cat confdefs.h >>conftest.$ac_ext
40451 cat >>conftest.$ac_ext <<_ACEOF
40452 /* end confdefs.h. */
40453
40454 /* Override any GCC internal prototype to avoid an error.
40455 Use char because int might match the return type of a GCC
40456 builtin and then its argument prototype would still apply. */
40457 #ifdef __cplusplus
40458 extern "C"
40459 #endif
40460 char dlopen ();
40461 int
40462 main ()
40463 {
40464 return dlopen ();
40465 ;
40466 return 0;
40467 }
40468 _ACEOF
40469 rm -f conftest.$ac_objext conftest$ac_exeext
40470 if { (ac_try="$ac_link"
40471 case "(($ac_try" in
40472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40473 *) ac_try_echo=$ac_try;;
40474 esac
40475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40476 (eval "$ac_link") 2>conftest.er1
40477 ac_status=$?
40478 grep -v '^ *+' conftest.er1 >conftest.err
40479 rm -f conftest.er1
40480 cat conftest.err >&5
40481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40482 (exit $ac_status); } && {
40483 test -z "$ac_c_werror_flag" ||
40484 test ! -s conftest.err
40485 } && test -s conftest$ac_exeext &&
40486 $as_test_x conftest$ac_exeext; then
40487 ac_cv_lib_dl_dlopen=yes
40488 else
40489 echo "$as_me: failed program was:" >&5
40490 sed 's/^/| /' conftest.$ac_ext >&5
40491
40492 ac_cv_lib_dl_dlopen=no
40493 fi
40494
40495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40496 conftest$ac_exeext conftest.$ac_ext
40497 LIBS=$ac_check_lib_save_LIBS
40498 fi
40499 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40500 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40501 if test $ac_cv_lib_dl_dlopen = yes; then
40502
40503 cat >>confdefs.h <<\_ACEOF
40504 #define HAVE_DLOPEN 1
40505 _ACEOF
40506
40507 HAVE_DL_FUNCS=1
40508 DL_LINK=" -ldl$DL_LINK"
40509
40510 else
40511
40512
40513 for ac_func in shl_load
40514 do
40515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40516 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40519 echo $ECHO_N "(cached) $ECHO_C" >&6
40520 else
40521 cat >conftest.$ac_ext <<_ACEOF
40522 /* confdefs.h. */
40523 _ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40529 #define $ac_func innocuous_$ac_func
40530
40531 /* System header to define __stub macros and hopefully few prototypes,
40532 which can conflict with char $ac_func (); below.
40533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40534 <limits.h> exists even on freestanding compilers. */
40535
40536 #ifdef __STDC__
40537 # include <limits.h>
40538 #else
40539 # include <assert.h>
40540 #endif
40541
40542 #undef $ac_func
40543
40544 /* Override any GCC internal prototype to avoid an error.
40545 Use char because int might match the return type of a GCC
40546 builtin and then its argument prototype would still apply. */
40547 #ifdef __cplusplus
40548 extern "C"
40549 #endif
40550 char $ac_func ();
40551 /* The GNU C library defines this for functions which it implements
40552 to always fail with ENOSYS. Some functions are actually named
40553 something starting with __ and the normal name is an alias. */
40554 #if defined __stub_$ac_func || defined __stub___$ac_func
40555 choke me
40556 #endif
40557
40558 int
40559 main ()
40560 {
40561 return $ac_func ();
40562 ;
40563 return 0;
40564 }
40565 _ACEOF
40566 rm -f conftest.$ac_objext conftest$ac_exeext
40567 if { (ac_try="$ac_link"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40570 *) ac_try_echo=$ac_try;;
40571 esac
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_link") 2>conftest.er1
40574 ac_status=$?
40575 grep -v '^ *+' conftest.er1 >conftest.err
40576 rm -f conftest.er1
40577 cat conftest.err >&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest$ac_exeext &&
40583 $as_test_x conftest$ac_exeext; then
40584 eval "$as_ac_var=yes"
40585 else
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40588
40589 eval "$as_ac_var=no"
40590 fi
40591
40592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40593 conftest$ac_exeext conftest.$ac_ext
40594 fi
40595 ac_res=`eval echo '${'$as_ac_var'}'`
40596 { echo "$as_me:$LINENO: result: $ac_res" >&5
40597 echo "${ECHO_T}$ac_res" >&6; }
40598 if test `eval echo '${'$as_ac_var'}'` = yes; then
40599 cat >>confdefs.h <<_ACEOF
40600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40601 _ACEOF
40602
40603 cat >>confdefs.h <<\_ACEOF
40604 #define HAVE_SHL_LOAD 1
40605 _ACEOF
40606
40607 HAVE_SHL_FUNCS=1
40608
40609 else
40610
40611 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40612 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40613 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40614 echo $ECHO_N "(cached) $ECHO_C" >&6
40615 else
40616 ac_check_lib_save_LIBS=$LIBS
40617 LIBS="-lshl_load $LIBS"
40618 cat >conftest.$ac_ext <<_ACEOF
40619 /* confdefs.h. */
40620 _ACEOF
40621 cat confdefs.h >>conftest.$ac_ext
40622 cat >>conftest.$ac_ext <<_ACEOF
40623 /* end confdefs.h. */
40624
40625 /* Override any GCC internal prototype to avoid an error.
40626 Use char because int might match the return type of a GCC
40627 builtin and then its argument prototype would still apply. */
40628 #ifdef __cplusplus
40629 extern "C"
40630 #endif
40631 char dld ();
40632 int
40633 main ()
40634 {
40635 return dld ();
40636 ;
40637 return 0;
40638 }
40639 _ACEOF
40640 rm -f conftest.$ac_objext conftest$ac_exeext
40641 if { (ac_try="$ac_link"
40642 case "(($ac_try" in
40643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40644 *) ac_try_echo=$ac_try;;
40645 esac
40646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40647 (eval "$ac_link") 2>conftest.er1
40648 ac_status=$?
40649 grep -v '^ *+' conftest.er1 >conftest.err
40650 rm -f conftest.er1
40651 cat conftest.err >&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } && {
40654 test -z "$ac_c_werror_flag" ||
40655 test ! -s conftest.err
40656 } && test -s conftest$ac_exeext &&
40657 $as_test_x conftest$ac_exeext; then
40658 ac_cv_lib_shl_load_dld=yes
40659 else
40660 echo "$as_me: failed program was:" >&5
40661 sed 's/^/| /' conftest.$ac_ext >&5
40662
40663 ac_cv_lib_shl_load_dld=no
40664 fi
40665
40666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40667 conftest$ac_exeext conftest.$ac_ext
40668 LIBS=$ac_check_lib_save_LIBS
40669 fi
40670 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40671 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40672 if test $ac_cv_lib_shl_load_dld = yes; then
40673
40674 HAVE_SHL_FUNCS=1
40675 DL_LINK=" -ldld$DL_LINK"
40676
40677 fi
40678
40679
40680 fi
40681 done
40682
40683
40684 fi
40685
40686
40687 fi
40688 done
40689
40690
40691 if test "$HAVE_DL_FUNCS" = 1; then
40692
40693 for ac_func in dlerror
40694 do
40695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40700 else
40701 cat >conftest.$ac_ext <<_ACEOF
40702 /* confdefs.h. */
40703 _ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40709 #define $ac_func innocuous_$ac_func
40710
40711 /* System header to define __stub macros and hopefully few prototypes,
40712 which can conflict with char $ac_func (); below.
40713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40714 <limits.h> exists even on freestanding compilers. */
40715
40716 #ifdef __STDC__
40717 # include <limits.h>
40718 #else
40719 # include <assert.h>
40720 #endif
40721
40722 #undef $ac_func
40723
40724 /* Override any GCC internal prototype to avoid an error.
40725 Use char because int might match the return type of a GCC
40726 builtin and then its argument prototype would still apply. */
40727 #ifdef __cplusplus
40728 extern "C"
40729 #endif
40730 char $ac_func ();
40731 /* The GNU C library defines this for functions which it implements
40732 to always fail with ENOSYS. Some functions are actually named
40733 something starting with __ and the normal name is an alias. */
40734 #if defined __stub_$ac_func || defined __stub___$ac_func
40735 choke me
40736 #endif
40737
40738 int
40739 main ()
40740 {
40741 return $ac_func ();
40742 ;
40743 return 0;
40744 }
40745 _ACEOF
40746 rm -f conftest.$ac_objext conftest$ac_exeext
40747 if { (ac_try="$ac_link"
40748 case "(($ac_try" in
40749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40750 *) ac_try_echo=$ac_try;;
40751 esac
40752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40753 (eval "$ac_link") 2>conftest.er1
40754 ac_status=$?
40755 grep -v '^ *+' conftest.er1 >conftest.err
40756 rm -f conftest.er1
40757 cat conftest.err >&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); } && {
40760 test -z "$ac_c_werror_flag" ||
40761 test ! -s conftest.err
40762 } && test -s conftest$ac_exeext &&
40763 $as_test_x conftest$ac_exeext; then
40764 eval "$as_ac_var=yes"
40765 else
40766 echo "$as_me: failed program was:" >&5
40767 sed 's/^/| /' conftest.$ac_ext >&5
40768
40769 eval "$as_ac_var=no"
40770 fi
40771
40772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40773 conftest$ac_exeext conftest.$ac_ext
40774 fi
40775 ac_res=`eval echo '${'$as_ac_var'}'`
40776 { echo "$as_me:$LINENO: result: $ac_res" >&5
40777 echo "${ECHO_T}$ac_res" >&6; }
40778 if test `eval echo '${'$as_ac_var'}'` = yes; then
40779 cat >>confdefs.h <<_ACEOF
40780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40781 _ACEOF
40782 cat >>confdefs.h <<\_ACEOF
40783 #define HAVE_DLERROR 1
40784 _ACEOF
40785
40786 else
40787
40788 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40789 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40790 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40791 echo $ECHO_N "(cached) $ECHO_C" >&6
40792 else
40793 ac_check_lib_save_LIBS=$LIBS
40794 LIBS="-ldl $LIBS"
40795 cat >conftest.$ac_ext <<_ACEOF
40796 /* confdefs.h. */
40797 _ACEOF
40798 cat confdefs.h >>conftest.$ac_ext
40799 cat >>conftest.$ac_ext <<_ACEOF
40800 /* end confdefs.h. */
40801
40802 /* Override any GCC internal prototype to avoid an error.
40803 Use char because int might match the return type of a GCC
40804 builtin and then its argument prototype would still apply. */
40805 #ifdef __cplusplus
40806 extern "C"
40807 #endif
40808 char dlerror ();
40809 int
40810 main ()
40811 {
40812 return dlerror ();
40813 ;
40814 return 0;
40815 }
40816 _ACEOF
40817 rm -f conftest.$ac_objext conftest$ac_exeext
40818 if { (ac_try="$ac_link"
40819 case "(($ac_try" in
40820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40821 *) ac_try_echo=$ac_try;;
40822 esac
40823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40824 (eval "$ac_link") 2>conftest.er1
40825 ac_status=$?
40826 grep -v '^ *+' conftest.er1 >conftest.err
40827 rm -f conftest.er1
40828 cat conftest.err >&5
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); } && {
40831 test -z "$ac_c_werror_flag" ||
40832 test ! -s conftest.err
40833 } && test -s conftest$ac_exeext &&
40834 $as_test_x conftest$ac_exeext; then
40835 ac_cv_lib_dl_dlerror=yes
40836 else
40837 echo "$as_me: failed program was:" >&5
40838 sed 's/^/| /' conftest.$ac_ext >&5
40839
40840 ac_cv_lib_dl_dlerror=no
40841 fi
40842
40843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40844 conftest$ac_exeext conftest.$ac_ext
40845 LIBS=$ac_check_lib_save_LIBS
40846 fi
40847 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40848 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40849 if test $ac_cv_lib_dl_dlerror = yes; then
40850 cat >>confdefs.h <<\_ACEOF
40851 #define HAVE_DLERROR 1
40852 _ACEOF
40853
40854 fi
40855
40856
40857
40858 fi
40859 done
40860
40861 fi
40862 fi
40863
40864 if test "$HAVE_DL_FUNCS" = 0; then
40865 if test "$HAVE_SHL_FUNCS" = 0; then
40866 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40867 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40868 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40869 wxUSE_DYNAMIC_LOADER=no
40870 wxUSE_DYNLIB_CLASS=no
40871 else
40872 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40873 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40874 fi
40875 fi
40876 fi
40877 fi
40878 fi
40879
40880 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40881 cat >>confdefs.h <<\_ACEOF
40882 #define wxUSE_DYNAMIC_LOADER 1
40883 _ACEOF
40884
40885 fi
40886 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40887 cat >>confdefs.h <<\_ACEOF
40888 #define wxUSE_DYNLIB_CLASS 1
40889 _ACEOF
40890
40891 fi
40892
40893
40894
40895 if test "$wxUSE_PLUGINS" = "yes" ; then
40896 if test "$wxUSE_SHARED" = "no" ; then
40897 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40898 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40899 wxUSE_PLUGINS=no
40900 fi
40901 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40902 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40903 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40904 wxUSE_PLUGINS=no
40905 fi
40906 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40907 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40908 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40909 wxUSE_PLUGINS=no
40910 fi
40911 if test "$wxUSE_PLUGINS" = "yes" ; then
40912 cat >>confdefs.h <<\_ACEOF
40913 #define wxUSE_PLUGINS 1
40914 _ACEOF
40915
40916 fi
40917 fi
40918
40919
40920 if test "$wxUSE_STL" = "yes"; then
40921 cat >>confdefs.h <<\_ACEOF
40922 #define wxUSE_STL 1
40923 _ACEOF
40924
40925 fi
40926
40927 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40928 cat >>confdefs.h <<\_ACEOF
40929 #define wxUSE_APPLE_IEEE 1
40930 _ACEOF
40931
40932 fi
40933
40934 if test "$wxUSE_TIMER" = "yes"; then
40935 cat >>confdefs.h <<\_ACEOF
40936 #define wxUSE_TIMER 1
40937 _ACEOF
40938
40939 fi
40940
40941 if test "$USE_UNIX" = "1" ; then
40942 if test "$wxUSE_MGL" != 1; then
40943 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40944 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40945 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40946 echo $ECHO_N "(cached) $ECHO_C" >&6
40947 else
40948
40949 cat >conftest.$ac_ext <<_ACEOF
40950 /* confdefs.h. */
40951 _ACEOF
40952 cat confdefs.h >>conftest.$ac_ext
40953 cat >>conftest.$ac_ext <<_ACEOF
40954 /* end confdefs.h. */
40955
40956 #include <sys/ioctl.h>
40957 #include <sys/soundcard.h>
40958
40959 int
40960 main ()
40961 {
40962
40963 ioctl(0, SNDCTL_DSP_SPEED, 0);
40964
40965 ;
40966 return 0;
40967 }
40968 _ACEOF
40969 rm -f conftest.$ac_objext conftest$ac_exeext
40970 if { (ac_try="$ac_link"
40971 case "(($ac_try" in
40972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40973 *) ac_try_echo=$ac_try;;
40974 esac
40975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40976 (eval "$ac_link") 2>conftest.er1
40977 ac_status=$?
40978 grep -v '^ *+' conftest.er1 >conftest.err
40979 rm -f conftest.er1
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } && {
40983 test -z "$ac_c_werror_flag" ||
40984 test ! -s conftest.err
40985 } && test -s conftest$ac_exeext &&
40986 $as_test_x conftest$ac_exeext; then
40987 ac_cv_header_sys_soundcard=yes
40988 else
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40991
40992
40993 saveLibs="$LIBS"
40994 LIBS="$saveLibs -lossaudio"
40995 cat >conftest.$ac_ext <<_ACEOF
40996 /* confdefs.h. */
40997 _ACEOF
40998 cat confdefs.h >>conftest.$ac_ext
40999 cat >>conftest.$ac_ext <<_ACEOF
41000 /* end confdefs.h. */
41001
41002 #include <sys/ioctl.h>
41003 #include <sys/soundcard.h>
41004
41005 int
41006 main ()
41007 {
41008
41009 ioctl(0, SNDCTL_DSP_SPEED, 0);
41010
41011 ;
41012 return 0;
41013 }
41014 _ACEOF
41015 rm -f conftest.$ac_objext conftest$ac_exeext
41016 if { (ac_try="$ac_link"
41017 case "(($ac_try" in
41018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41019 *) ac_try_echo=$ac_try;;
41020 esac
41021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41022 (eval "$ac_link") 2>conftest.er1
41023 ac_status=$?
41024 grep -v '^ *+' conftest.er1 >conftest.err
41025 rm -f conftest.er1
41026 cat conftest.err >&5
41027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028 (exit $ac_status); } && {
41029 test -z "$ac_c_werror_flag" ||
41030 test ! -s conftest.err
41031 } && test -s conftest$ac_exeext &&
41032 $as_test_x conftest$ac_exeext; then
41033 ac_cv_header_sys_soundcard=yes
41034 else
41035 echo "$as_me: failed program was:" >&5
41036 sed 's/^/| /' conftest.$ac_ext >&5
41037
41038
41039 LIBS="$saveLibs"
41040 ac_cv_header_sys_soundcard=no
41041
41042
41043 fi
41044
41045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41046 conftest$ac_exeext conftest.$ac_ext
41047
41048
41049 fi
41050
41051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41052 conftest$ac_exeext conftest.$ac_ext
41053
41054 fi
41055 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41056 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41057 fi
41058
41059 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41060 cat >>confdefs.h <<\_ACEOF
41061 #define HAVE_SYS_SOUNDCARD_H 1
41062 _ACEOF
41063
41064 else
41065 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41066 fi
41067 fi
41068
41069 WITH_PLUGIN_SDL=0
41070 if test "$wxUSE_SOUND" = "yes"; then
41071 if test "$USE_UNIX" = "1" ; then
41072 if test "$wxUSE_LIBSDL" != "no"; then
41073
41074 # Check whether --with-sdl-prefix was given.
41075 if test "${with_sdl_prefix+set}" = set; then
41076 withval=$with_sdl_prefix; sdl_prefix="$withval"
41077 else
41078 sdl_prefix=""
41079 fi
41080
41081
41082 # Check whether --with-sdl-exec-prefix was given.
41083 if test "${with_sdl_exec_prefix+set}" = set; then
41084 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41085 else
41086 sdl_exec_prefix=""
41087 fi
41088
41089 # Check whether --enable-sdltest was given.
41090 if test "${enable_sdltest+set}" = set; then
41091 enableval=$enable_sdltest;
41092 else
41093 enable_sdltest=yes
41094 fi
41095
41096
41097 if test x$sdl_exec_prefix != x ; then
41098 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41099 if test x${SDL_CONFIG+set} != xset ; then
41100 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41101 fi
41102 fi
41103 if test x$sdl_prefix != x ; then
41104 sdl_args="$sdl_args --prefix=$sdl_prefix"
41105 if test x${SDL_CONFIG+set} != xset ; then
41106 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41107 fi
41108 fi
41109
41110 if test "x$prefix" != xNONE; then
41111 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41112 fi
41113 # Extract the first word of "sdl-config", so it can be a program name with args.
41114 set dummy sdl-config; ac_word=$2
41115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41117 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41118 echo $ECHO_N "(cached) $ECHO_C" >&6
41119 else
41120 case $SDL_CONFIG in
41121 [\\/]* | ?:[\\/]*)
41122 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41123 ;;
41124 *)
41125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41126 for as_dir in $PATH
41127 do
41128 IFS=$as_save_IFS
41129 test -z "$as_dir" && as_dir=.
41130 for ac_exec_ext in '' $ac_executable_extensions; do
41131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41132 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41134 break 2
41135 fi
41136 done
41137 done
41138 IFS=$as_save_IFS
41139
41140 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41141 ;;
41142 esac
41143 fi
41144 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41145 if test -n "$SDL_CONFIG"; then
41146 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41147 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41148 else
41149 { echo "$as_me:$LINENO: result: no" >&5
41150 echo "${ECHO_T}no" >&6; }
41151 fi
41152
41153
41154 min_sdl_version=1.2.0
41155 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41156 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41157 no_sdl=""
41158 if test "$SDL_CONFIG" = "no" ; then
41159 no_sdl=yes
41160 else
41161 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41162 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41163
41164 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41166 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41168 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41170 if test "x$enable_sdltest" = "xyes" ; then
41171 ac_save_CFLAGS="$CFLAGS"
41172 ac_save_CXXFLAGS="$CXXFLAGS"
41173 ac_save_LIBS="$LIBS"
41174 CFLAGS="$CFLAGS $SDL_CFLAGS"
41175 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41176 LIBS="$LIBS $SDL_LIBS"
41177 rm -f conf.sdltest
41178 if test "$cross_compiling" = yes; then
41179 echo $ac_n "cross compiling; assumed OK... $ac_c"
41180 else
41181 cat >conftest.$ac_ext <<_ACEOF
41182 /* confdefs.h. */
41183 _ACEOF
41184 cat confdefs.h >>conftest.$ac_ext
41185 cat >>conftest.$ac_ext <<_ACEOF
41186 /* end confdefs.h. */
41187
41188 #include <stdio.h>
41189 #include <stdlib.h>
41190 #include <string.h>
41191 #include "SDL.h"
41192
41193 char*
41194 my_strdup (char *str)
41195 {
41196 char *new_str;
41197
41198 if (str)
41199 {
41200 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41201 strcpy (new_str, str);
41202 }
41203 else
41204 new_str = NULL;
41205
41206 return new_str;
41207 }
41208
41209 int main (int argc, char *argv[])
41210 {
41211 int major, minor, micro;
41212 char *tmp_version;
41213
41214 /* This hangs on some systems (?)
41215 system ("touch conf.sdltest");
41216 */
41217 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41218
41219 /* HP/UX 9 (%@#!) writes to sscanf strings */
41220 tmp_version = my_strdup("$min_sdl_version");
41221 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41222 printf("%s, bad version string\n", "$min_sdl_version");
41223 exit(1);
41224 }
41225
41226 if (($sdl_major_version > major) ||
41227 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41228 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41229 {
41230 return 0;
41231 }
41232 else
41233 {
41234 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41235 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41236 printf("*** best to upgrade to the required version.\n");
41237 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41238 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41239 printf("*** config.cache before re-running configure\n");
41240 return 1;
41241 }
41242 }
41243
41244
41245 _ACEOF
41246 rm -f conftest$ac_exeext
41247 if { (ac_try="$ac_link"
41248 case "(($ac_try" in
41249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41250 *) ac_try_echo=$ac_try;;
41251 esac
41252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41253 (eval "$ac_link") 2>&5
41254 ac_status=$?
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41257 { (case "(($ac_try" in
41258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41259 *) ac_try_echo=$ac_try;;
41260 esac
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_try") 2>&5
41263 ac_status=$?
41264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265 (exit $ac_status); }; }; then
41266 :
41267 else
41268 echo "$as_me: program exited with status $ac_status" >&5
41269 echo "$as_me: failed program was:" >&5
41270 sed 's/^/| /' conftest.$ac_ext >&5
41271
41272 ( exit $ac_status )
41273 no_sdl=yes
41274 fi
41275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41276 fi
41277
41278
41279 CFLAGS="$ac_save_CFLAGS"
41280 CXXFLAGS="$ac_save_CXXFLAGS"
41281 LIBS="$ac_save_LIBS"
41282 fi
41283 fi
41284 if test "x$no_sdl" = x ; then
41285 { echo "$as_me:$LINENO: result: yes" >&5
41286 echo "${ECHO_T}yes" >&6; }
41287
41288 EXTRALIBS_SDL="$SDL_LIBS"
41289 CFLAGS="$SDL_CFLAGS $CFLAGS"
41290 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41291 cat >>confdefs.h <<\_ACEOF
41292 #define wxUSE_LIBSDL 1
41293 _ACEOF
41294
41295
41296 else
41297 { echo "$as_me:$LINENO: result: no" >&5
41298 echo "${ECHO_T}no" >&6; }
41299 if test "$SDL_CONFIG" = "no" ; then
41300 echo "*** The sdl-config script installed by SDL could not be found"
41301 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41302 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41303 echo "*** full path to sdl-config."
41304 else
41305 if test -f conf.sdltest ; then
41306 :
41307 else
41308 echo "*** Could not run SDL test program, checking why..."
41309 CFLAGS="$CFLAGS $SDL_CFLAGS"
41310 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41311 LIBS="$LIBS $SDL_LIBS"
41312 cat >conftest.$ac_ext <<_ACEOF
41313 /* confdefs.h. */
41314 _ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41318
41319 #include <stdio.h>
41320 #include "SDL.h"
41321
41322 int main(int argc, char *argv[])
41323 { return 0; }
41324 #undef main
41325 #define main K_and_R_C_main
41326
41327 int
41328 main ()
41329 {
41330 return 0;
41331 ;
41332 return 0;
41333 }
41334 _ACEOF
41335 rm -f conftest.$ac_objext conftest$ac_exeext
41336 if { (ac_try="$ac_link"
41337 case "(($ac_try" in
41338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41339 *) ac_try_echo=$ac_try;;
41340 esac
41341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41342 (eval "$ac_link") 2>conftest.er1
41343 ac_status=$?
41344 grep -v '^ *+' conftest.er1 >conftest.err
41345 rm -f conftest.er1
41346 cat conftest.err >&5
41347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41348 (exit $ac_status); } && {
41349 test -z "$ac_c_werror_flag" ||
41350 test ! -s conftest.err
41351 } && test -s conftest$ac_exeext &&
41352 $as_test_x conftest$ac_exeext; then
41353 echo "*** The test program compiled, but did not run. This usually means"
41354 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41355 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41358 echo "*** is required on your system"
41359 echo "***"
41360 echo "*** If you have an old version installed, it is best to remove it, although"
41361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41362 else
41363 echo "$as_me: failed program was:" >&5
41364 sed 's/^/| /' conftest.$ac_ext >&5
41365
41366 echo "*** The test program failed to compile or link. See the file config.log for the"
41367 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41368 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41369 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41370 fi
41371
41372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41373 conftest$ac_exeext conftest.$ac_ext
41374 CFLAGS="$ac_save_CFLAGS"
41375 CXXFLAGS="$ac_save_CXXFLAGS"
41376 LIBS="$ac_save_LIBS"
41377 fi
41378 fi
41379 SDL_CFLAGS=""
41380 SDL_LIBS=""
41381 wxUSE_LIBSDL="no"
41382 fi
41383
41384
41385 rm -f conf.sdltest
41386
41387 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41388 WITH_PLUGIN_SDL=1
41389 fi
41390 fi
41391 else
41392 if test "$wxUSE_MGL" = 1; then
41393 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41394 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41395 wxUSE_SOUND="no"
41396 fi
41397 fi
41398 fi
41399
41400 if test "$wxUSE_SOUND" = "yes"; then
41401 cat >>confdefs.h <<\_ACEOF
41402 #define wxUSE_SOUND 1
41403 _ACEOF
41404
41405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41406 fi
41407
41408 if test "$WXGTK20" = 1; then
41409
41410
41411 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41412 if test -n "$ac_tool_prefix"; then
41413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41414 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41418 echo $ECHO_N "(cached) $ECHO_C" >&6
41419 else
41420 case $PKG_CONFIG in
41421 [\\/]* | ?:[\\/]*)
41422 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41423 ;;
41424 *)
41425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41426 for as_dir in $PATH
41427 do
41428 IFS=$as_save_IFS
41429 test -z "$as_dir" && as_dir=.
41430 for ac_exec_ext in '' $ac_executable_extensions; do
41431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41432 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41434 break 2
41435 fi
41436 done
41437 done
41438 IFS=$as_save_IFS
41439
41440 ;;
41441 esac
41442 fi
41443 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41444 if test -n "$PKG_CONFIG"; then
41445 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41446 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41447 else
41448 { echo "$as_me:$LINENO: result: no" >&5
41449 echo "${ECHO_T}no" >&6; }
41450 fi
41451
41452
41453 fi
41454 if test -z "$ac_cv_path_PKG_CONFIG"; then
41455 ac_pt_PKG_CONFIG=$PKG_CONFIG
41456 # Extract the first word of "pkg-config", so it can be a program name with args.
41457 set dummy pkg-config; ac_word=$2
41458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41460 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41461 echo $ECHO_N "(cached) $ECHO_C" >&6
41462 else
41463 case $ac_pt_PKG_CONFIG in
41464 [\\/]* | ?:[\\/]*)
41465 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41466 ;;
41467 *)
41468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41469 for as_dir in $PATH
41470 do
41471 IFS=$as_save_IFS
41472 test -z "$as_dir" && as_dir=.
41473 for ac_exec_ext in '' $ac_executable_extensions; do
41474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41475 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41477 break 2
41478 fi
41479 done
41480 done
41481 IFS=$as_save_IFS
41482
41483 ;;
41484 esac
41485 fi
41486 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41487 if test -n "$ac_pt_PKG_CONFIG"; then
41488 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41489 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41490 else
41491 { echo "$as_me:$LINENO: result: no" >&5
41492 echo "${ECHO_T}no" >&6; }
41493 fi
41494
41495 if test "x$ac_pt_PKG_CONFIG" = x; then
41496 PKG_CONFIG=""
41497 else
41498 case $cross_compiling:$ac_tool_warned in
41499 yes:)
41500 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41501 whose name does not start with the host triplet. If you think this
41502 configuration is useful to you, please write to autoconf@gnu.org." >&5
41503 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41504 whose name does not start with the host triplet. If you think this
41505 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41506 ac_tool_warned=yes ;;
41507 esac
41508 PKG_CONFIG=$ac_pt_PKG_CONFIG
41509 fi
41510 else
41511 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41512 fi
41513
41514 fi
41515 if test -n "$PKG_CONFIG"; then
41516 _pkg_min_version=0.9.0
41517 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41518 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41520 { echo "$as_me:$LINENO: result: yes" >&5
41521 echo "${ECHO_T}yes" >&6; }
41522 else
41523 { echo "$as_me:$LINENO: result: no" >&5
41524 echo "${ECHO_T}no" >&6; }
41525 PKG_CONFIG=""
41526 fi
41527
41528 fi
41529
41530 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41531 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41532
41533
41534 pkg_failed=no
41535 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41536 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41537
41538 if test -n "$PKG_CONFIG"; then
41539 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41540 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41541 else
41542 if test -n "$PKG_CONFIG" && \
41543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41544 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41545 ac_status=$?
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; then
41548 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41549 else
41550 pkg_failed=yes
41551 fi
41552 fi
41553 else
41554 pkg_failed=untried
41555 fi
41556 if test -n "$PKG_CONFIG"; then
41557 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41558 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41559 else
41560 if test -n "$PKG_CONFIG" && \
41561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41562 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41563 ac_status=$?
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; then
41566 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41567 else
41568 pkg_failed=yes
41569 fi
41570 fi
41571 else
41572 pkg_failed=untried
41573 fi
41574
41575
41576
41577 if test $pkg_failed = yes; then
41578
41579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41580 _pkg_short_errors_supported=yes
41581 else
41582 _pkg_short_errors_supported=no
41583 fi
41584 if test $_pkg_short_errors_supported = yes; then
41585 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41586 else
41587 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41588 fi
41589 # Put the nasty error message in config.log where it belongs
41590 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41591
41592
41593 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41594 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41595 wxUSE_LIBGNOMEPRINT="no"
41596
41597
41598 elif test $pkg_failed = untried; then
41599
41600 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41601 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41602 wxUSE_LIBGNOMEPRINT="no"
41603
41604
41605 else
41606 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41607 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41608 { echo "$as_me:$LINENO: result: yes" >&5
41609 echo "${ECHO_T}yes" >&6; }
41610
41611 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41612 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41613 cat >>confdefs.h <<\_ACEOF
41614 #define wxUSE_LIBGNOMEPRINT 1
41615 _ACEOF
41616
41617
41618 fi
41619 fi
41620 fi
41621
41622 if test "$wxUSE_MIMETYPE" = "yes" ; then
41623 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41624
41625
41626 pkg_failed=no
41627 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41628 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41629
41630 if test -n "$PKG_CONFIG"; then
41631 if test -n "$GNOMEVFS_CFLAGS"; then
41632 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41633 else
41634 if test -n "$PKG_CONFIG" && \
41635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41636 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41637 ac_status=$?
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); }; then
41640 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41641 else
41642 pkg_failed=yes
41643 fi
41644 fi
41645 else
41646 pkg_failed=untried
41647 fi
41648 if test -n "$PKG_CONFIG"; then
41649 if test -n "$GNOMEVFS_LIBS"; then
41650 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41651 else
41652 if test -n "$PKG_CONFIG" && \
41653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41654 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41655 ac_status=$?
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); }; then
41658 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41659 else
41660 pkg_failed=yes
41661 fi
41662 fi
41663 else
41664 pkg_failed=untried
41665 fi
41666
41667
41668
41669 if test $pkg_failed = yes; then
41670
41671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41672 _pkg_short_errors_supported=yes
41673 else
41674 _pkg_short_errors_supported=no
41675 fi
41676 if test $_pkg_short_errors_supported = yes; then
41677 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41678 else
41679 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41680 fi
41681 # Put the nasty error message in config.log where it belongs
41682 echo "$GNOMEVFS_PKG_ERRORS" >&5
41683
41684
41685 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41686 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41687 wxUSE_LIBGNOMEVFS="no"
41688
41689
41690 elif test $pkg_failed = untried; then
41691
41692 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41693 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41694 wxUSE_LIBGNOMEVFS="no"
41695
41696
41697 else
41698 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41699 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41700 { echo "$as_me:$LINENO: result: yes" >&5
41701 echo "${ECHO_T}yes" >&6; }
41702
41703 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41704 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41705 cat >>confdefs.h <<\_ACEOF
41706 #define wxUSE_LIBGNOMEVFS 1
41707 _ACEOF
41708
41709
41710 fi
41711 fi
41712 fi
41713
41714 if test "$wxUSE_LIBHILDON" = "yes" ; then
41715
41716 pkg_failed=no
41717 { echo "$as_me:$LINENO: checking for HILDON" >&5
41718 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41719
41720 if test -n "$PKG_CONFIG"; then
41721 if test -n "$HILDON_CFLAGS"; then
41722 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41723 else
41724 if test -n "$PKG_CONFIG" && \
41725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41726 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41727 ac_status=$?
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; then
41730 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41731 else
41732 pkg_failed=yes
41733 fi
41734 fi
41735 else
41736 pkg_failed=untried
41737 fi
41738 if test -n "$PKG_CONFIG"; then
41739 if test -n "$HILDON_LIBS"; then
41740 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41741 else
41742 if test -n "$PKG_CONFIG" && \
41743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41744 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41745 ac_status=$?
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); }; then
41748 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41749 else
41750 pkg_failed=yes
41751 fi
41752 fi
41753 else
41754 pkg_failed=untried
41755 fi
41756
41757
41758
41759 if test $pkg_failed = yes; then
41760
41761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41762 _pkg_short_errors_supported=yes
41763 else
41764 _pkg_short_errors_supported=no
41765 fi
41766 if test $_pkg_short_errors_supported = yes; then
41767 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41768 else
41769 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41770 fi
41771 # Put the nasty error message in config.log where it belongs
41772 echo "$HILDON_PKG_ERRORS" >&5
41773
41774
41775 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41776 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41777 wxUSE_LIBHILDON="no"
41778
41779
41780 elif test $pkg_failed = untried; then
41781
41782 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41783 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41784 wxUSE_LIBHILDON="no"
41785
41786
41787 else
41788 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41789 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41790 { echo "$as_me:$LINENO: result: yes" >&5
41791 echo "${ECHO_T}yes" >&6; }
41792
41793 EXTRALIBS_HILDON="$HILDON_LIBS"
41794 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41795 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_LIBHILDON 1
41798 _ACEOF
41799
41800
41801 fi
41802 fi
41803 fi
41804
41805 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41806 cat >>confdefs.h <<\_ACEOF
41807 #define wxUSE_CMDLINE_PARSER 1
41808 _ACEOF
41809
41810 fi
41811
41812 if test "$wxUSE_STOPWATCH" = "yes"; then
41813 cat >>confdefs.h <<\_ACEOF
41814 #define wxUSE_STOPWATCH 1
41815 _ACEOF
41816
41817 fi
41818
41819 if test "$wxUSE_DATETIME" = "yes"; then
41820 cat >>confdefs.h <<\_ACEOF
41821 #define wxUSE_DATETIME 1
41822 _ACEOF
41823
41824 fi
41825
41826 if test "$wxUSE_FILE" = "yes"; then
41827 cat >>confdefs.h <<\_ACEOF
41828 #define wxUSE_FILE 1
41829 _ACEOF
41830
41831 fi
41832
41833 if test "$wxUSE_FFILE" = "yes"; then
41834 cat >>confdefs.h <<\_ACEOF
41835 #define wxUSE_FFILE 1
41836 _ACEOF
41837
41838 fi
41839
41840 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41841 if test "$wxUSE_STREAMS" != yes; then
41842 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41843 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41844 wxUSE_ARCHIVE_STREAMS=no
41845 else
41846 cat >>confdefs.h <<\_ACEOF
41847 #define wxUSE_ARCHIVE_STREAMS 1
41848 _ACEOF
41849
41850 fi
41851 fi
41852
41853 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41854 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41855 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41856 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41857 elif test "$wxUSE_ZLIB" = "no"; then
41858 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41859 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41860 else
41861 cat >>confdefs.h <<\_ACEOF
41862 #define wxUSE_ZIPSTREAM 1
41863 _ACEOF
41864
41865 fi
41866 fi
41867
41868 if test "$wxUSE_TARSTREAM" = "yes"; then
41869 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41870 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41871 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41872 else
41873 cat >>confdefs.h <<\_ACEOF
41874 #define wxUSE_TARSTREAM 1
41875 _ACEOF
41876
41877 fi
41878 fi
41879
41880 if test "$wxUSE_FILESYSTEM" = "yes"; then
41881 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41882 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41883 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41884 wxUSE_FILESYSTEM=no
41885 else
41886 cat >>confdefs.h <<\_ACEOF
41887 #define wxUSE_FILESYSTEM 1
41888 _ACEOF
41889
41890 fi
41891 fi
41892
41893 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41894 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41895 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41896 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41897 else
41898 cat >>confdefs.h <<\_ACEOF
41899 #define wxUSE_FS_ARCHIVE 1
41900 _ACEOF
41901
41902 fi
41903 fi
41904
41905 if test "$wxUSE_FS_ZIP" = "yes"; then
41906 if test "$wxUSE_FS_ARCHIVE" != yes; then
41907 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41908 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41909 else
41910 cat >>confdefs.h <<\_ACEOF
41911 #define wxUSE_FS_ZIP 1
41912 _ACEOF
41913
41914 fi
41915 fi
41916
41917 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41918 if test "$USE_UNIX" != 1; then
41919 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41920 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41921 wxUSE_ON_FATAL_EXCEPTION=no
41922 else
41923 cat >>confdefs.h <<\_ACEOF
41924 #define wxUSE_ON_FATAL_EXCEPTION 1
41925 _ACEOF
41926
41927 fi
41928 fi
41929
41930 if test "$wxUSE_STACKWALKER" = "yes"; then
41931 cat >>confdefs.h <<\_ACEOF
41932 #define wxUSE_STACKWALKER 1
41933 _ACEOF
41934
41935 fi
41936
41937 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41938 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41939 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41940 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41941 wxUSE_DEBUGREPORT=no
41942 else
41943 cat >>confdefs.h <<\_ACEOF
41944 #define wxUSE_DEBUGREPORT 1
41945 _ACEOF
41946
41947 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41949 fi
41950 fi
41951 fi
41952
41953 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxUSE_SNGLINST_CHECKER 1
41956 _ACEOF
41957
41958 fi
41959
41960 if test "$wxUSE_BUSYINFO" = "yes"; then
41961 cat >>confdefs.h <<\_ACEOF
41962 #define wxUSE_BUSYINFO 1
41963 _ACEOF
41964
41965 fi
41966
41967 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41968 cat >>confdefs.h <<\_ACEOF
41969 #define wxUSE_STD_IOSTREAM 1
41970 _ACEOF
41971
41972 fi
41973
41974 if test "$wxUSE_STD_STRING" = "yes"; then
41975 cat >>confdefs.h <<\_ACEOF
41976 #define wxUSE_STD_STRING 1
41977 _ACEOF
41978
41979 fi
41980
41981 if test "$wxUSE_STDPATHS" = "yes"; then
41982 cat >>confdefs.h <<\_ACEOF
41983 #define wxUSE_STDPATHS 1
41984 _ACEOF
41985
41986 fi
41987
41988 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41989 cat >>confdefs.h <<\_ACEOF
41990 #define wxUSE_TEXTBUFFER 1
41991 _ACEOF
41992
41993 fi
41994
41995 if test "$wxUSE_TEXTFILE" = "yes"; then
41996 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41997 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41998 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41999 else
42000 cat >>confdefs.h <<\_ACEOF
42001 #define wxUSE_TEXTFILE 1
42002 _ACEOF
42003
42004 fi
42005 fi
42006
42007 if test "$wxUSE_CONFIG" = "yes" ; then
42008 if test "$wxUSE_TEXTFILE" != "yes"; then
42009 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42010 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42011 else
42012 cat >>confdefs.h <<\_ACEOF
42013 #define wxUSE_CONFIG 1
42014 _ACEOF
42015
42016 cat >>confdefs.h <<\_ACEOF
42017 #define wxUSE_CONFIG_NATIVE 1
42018 _ACEOF
42019
42020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42021 fi
42022 fi
42023
42024 if test "$wxUSE_INTL" = "yes" ; then
42025 if test "$wxUSE_FILE" != "yes"; then
42026 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42027 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42028 else
42029 cat >>confdefs.h <<\_ACEOF
42030 #define wxUSE_INTL 1
42031 _ACEOF
42032
42033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42034 GUIDIST="$GUIDIST INTL_DIST"
42035 fi
42036 fi
42037
42038 if test "$wxUSE_LOG" = "yes"; then
42039 cat >>confdefs.h <<\_ACEOF
42040 #define wxUSE_LOG 1
42041 _ACEOF
42042
42043
42044 if test "$wxUSE_LOGGUI" = "yes"; then
42045 cat >>confdefs.h <<\_ACEOF
42046 #define wxUSE_LOGGUI 1
42047 _ACEOF
42048
42049 fi
42050
42051 if test "$wxUSE_LOGWINDOW" = "yes"; then
42052 cat >>confdefs.h <<\_ACEOF
42053 #define wxUSE_LOGWINDOW 1
42054 _ACEOF
42055
42056 fi
42057
42058 if test "$wxUSE_LOGDIALOG" = "yes"; then
42059 cat >>confdefs.h <<\_ACEOF
42060 #define wxUSE_LOG_DIALOG 1
42061 _ACEOF
42062
42063 fi
42064
42065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42066 fi
42067
42068 if test "$wxUSE_LONGLONG" = "yes"; then
42069 cat >>confdefs.h <<\_ACEOF
42070 #define wxUSE_LONGLONG 1
42071 _ACEOF
42072
42073 fi
42074
42075 if test "$wxUSE_GEOMETRY" = "yes"; then
42076 cat >>confdefs.h <<\_ACEOF
42077 #define wxUSE_GEOMETRY 1
42078 _ACEOF
42079
42080 fi
42081
42082 if test "$wxUSE_STREAMS" = "yes" ; then
42083 cat >>confdefs.h <<\_ACEOF
42084 #define wxUSE_STREAMS 1
42085 _ACEOF
42086
42087 fi
42088
42089 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42090 cat >>confdefs.h <<\_ACEOF
42091 #define wxUSE_PRINTF_POS_PARAMS 1
42092 _ACEOF
42093
42094 fi
42095
42096
42097
42098 if test "$wxUSE_DATETIME" = "yes"; then
42099
42100 for ac_func in strptime
42101 do
42102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42106 echo $ECHO_N "(cached) $ECHO_C" >&6
42107 else
42108 cat >conftest.$ac_ext <<_ACEOF
42109 /* confdefs.h. */
42110 _ACEOF
42111 cat confdefs.h >>conftest.$ac_ext
42112 cat >>conftest.$ac_ext <<_ACEOF
42113 /* end confdefs.h. */
42114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42116 #define $ac_func innocuous_$ac_func
42117
42118 /* System header to define __stub macros and hopefully few prototypes,
42119 which can conflict with char $ac_func (); below.
42120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42121 <limits.h> exists even on freestanding compilers. */
42122
42123 #ifdef __STDC__
42124 # include <limits.h>
42125 #else
42126 # include <assert.h>
42127 #endif
42128
42129 #undef $ac_func
42130
42131 /* Override any GCC internal prototype to avoid an error.
42132 Use char because int might match the return type of a GCC
42133 builtin and then its argument prototype would still apply. */
42134 #ifdef __cplusplus
42135 extern "C"
42136 #endif
42137 char $ac_func ();
42138 /* The GNU C library defines this for functions which it implements
42139 to always fail with ENOSYS. Some functions are actually named
42140 something starting with __ and the normal name is an alias. */
42141 #if defined __stub_$ac_func || defined __stub___$ac_func
42142 choke me
42143 #endif
42144
42145 int
42146 main ()
42147 {
42148 return $ac_func ();
42149 ;
42150 return 0;
42151 }
42152 _ACEOF
42153 rm -f conftest.$ac_objext conftest$ac_exeext
42154 if { (ac_try="$ac_link"
42155 case "(($ac_try" in
42156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42157 *) ac_try_echo=$ac_try;;
42158 esac
42159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42160 (eval "$ac_link") 2>conftest.er1
42161 ac_status=$?
42162 grep -v '^ *+' conftest.er1 >conftest.err
42163 rm -f conftest.er1
42164 cat conftest.err >&5
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); } && {
42167 test -z "$ac_c_werror_flag" ||
42168 test ! -s conftest.err
42169 } && test -s conftest$ac_exeext &&
42170 $as_test_x conftest$ac_exeext; then
42171 eval "$as_ac_var=yes"
42172 else
42173 echo "$as_me: failed program was:" >&5
42174 sed 's/^/| /' conftest.$ac_ext >&5
42175
42176 eval "$as_ac_var=no"
42177 fi
42178
42179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42180 conftest$ac_exeext conftest.$ac_ext
42181 fi
42182 ac_res=`eval echo '${'$as_ac_var'}'`
42183 { echo "$as_me:$LINENO: result: $ac_res" >&5
42184 echo "${ECHO_T}$ac_res" >&6; }
42185 if test `eval echo '${'$as_ac_var'}'` = yes; then
42186 cat >>confdefs.h <<_ACEOF
42187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42188 _ACEOF
42189
42190 fi
42191 done
42192
42193 if test "$ac_cv_func_strptime" = "yes"; then
42194 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42195 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42196 if test "${wx_cv_func_strptime_decl+set}" = set; then
42197 echo $ECHO_N "(cached) $ECHO_C" >&6
42198 else
42199
42200 ac_ext=cpp
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42205
42206 cat >conftest.$ac_ext <<_ACEOF
42207 /* confdefs.h. */
42208 _ACEOF
42209 cat confdefs.h >>conftest.$ac_ext
42210 cat >>conftest.$ac_ext <<_ACEOF
42211 /* end confdefs.h. */
42212
42213 #include <time.h>
42214
42215 int
42216 main ()
42217 {
42218
42219 struct tm t;
42220 strptime("foo", "bar", &t);
42221
42222 ;
42223 return 0;
42224 }
42225 _ACEOF
42226 rm -f conftest.$ac_objext
42227 if { (ac_try="$ac_compile"
42228 case "(($ac_try" in
42229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42230 *) ac_try_echo=$ac_try;;
42231 esac
42232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42233 (eval "$ac_compile") 2>conftest.er1
42234 ac_status=$?
42235 grep -v '^ *+' conftest.er1 >conftest.err
42236 rm -f conftest.er1
42237 cat conftest.err >&5
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); } && {
42240 test -z "$ac_cxx_werror_flag" ||
42241 test ! -s conftest.err
42242 } && test -s conftest.$ac_objext; then
42243 wx_cv_func_strptime_decl=yes
42244 else
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42247
42248 wx_cv_func_strptime_decl=no
42249
42250 fi
42251
42252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42253 ac_ext=c
42254 ac_cpp='$CPP $CPPFLAGS'
42255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42258
42259
42260
42261 fi
42262 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42263 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42264 fi
42265 if test "$wx_cv_func_strptime_decl" = "yes"; then
42266 cat >>confdefs.h <<\_ACEOF
42267 #define HAVE_STRPTIME_DECL 1
42268 _ACEOF
42269
42270 fi
42271
42272 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42273 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42274 if test "${wx_cv_var_timezone+set}" = set; then
42275 echo $ECHO_N "(cached) $ECHO_C" >&6
42276 else
42277
42278 ac_ext=cpp
42279 ac_cpp='$CXXCPP $CPPFLAGS'
42280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42283
42284 cat >conftest.$ac_ext <<_ACEOF
42285 /* confdefs.h. */
42286 _ACEOF
42287 cat confdefs.h >>conftest.$ac_ext
42288 cat >>conftest.$ac_ext <<_ACEOF
42289 /* end confdefs.h. */
42290
42291 #include <time.h>
42292
42293 int
42294 main ()
42295 {
42296
42297 int tz;
42298 tz = timezone;
42299
42300 ;
42301 return 0;
42302 }
42303 _ACEOF
42304 rm -f conftest.$ac_objext
42305 if { (ac_try="$ac_compile"
42306 case "(($ac_try" in
42307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42308 *) ac_try_echo=$ac_try;;
42309 esac
42310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42311 (eval "$ac_compile") 2>conftest.er1
42312 ac_status=$?
42313 grep -v '^ *+' conftest.er1 >conftest.err
42314 rm -f conftest.er1
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } && {
42318 test -z "$ac_cxx_werror_flag" ||
42319 test ! -s conftest.err
42320 } && test -s conftest.$ac_objext; then
42321
42322 wx_cv_var_timezone=timezone
42323
42324 else
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42327
42328
42329 cat >conftest.$ac_ext <<_ACEOF
42330 /* confdefs.h. */
42331 _ACEOF
42332 cat confdefs.h >>conftest.$ac_ext
42333 cat >>conftest.$ac_ext <<_ACEOF
42334 /* end confdefs.h. */
42335
42336 #include <time.h>
42337
42338 int
42339 main ()
42340 {
42341
42342 int tz;
42343 tz = _timezone;
42344
42345 ;
42346 return 0;
42347 }
42348 _ACEOF
42349 rm -f conftest.$ac_objext
42350 if { (ac_try="$ac_compile"
42351 case "(($ac_try" in
42352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42353 *) ac_try_echo=$ac_try;;
42354 esac
42355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42356 (eval "$ac_compile") 2>conftest.er1
42357 ac_status=$?
42358 grep -v '^ *+' conftest.er1 >conftest.err
42359 rm -f conftest.er1
42360 cat conftest.err >&5
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); } && {
42363 test -z "$ac_cxx_werror_flag" ||
42364 test ! -s conftest.err
42365 } && test -s conftest.$ac_objext; then
42366
42367 wx_cv_var_timezone=_timezone
42368
42369 else
42370 echo "$as_me: failed program was:" >&5
42371 sed 's/^/| /' conftest.$ac_ext >&5
42372
42373
42374 cat >conftest.$ac_ext <<_ACEOF
42375 /* confdefs.h. */
42376 _ACEOF
42377 cat confdefs.h >>conftest.$ac_ext
42378 cat >>conftest.$ac_ext <<_ACEOF
42379 /* end confdefs.h. */
42380
42381 #include <time.h>
42382
42383 int
42384 main ()
42385 {
42386
42387 int tz;
42388 tz = __timezone;
42389
42390 ;
42391 return 0;
42392 }
42393 _ACEOF
42394 rm -f conftest.$ac_objext
42395 if { (ac_try="$ac_compile"
42396 case "(($ac_try" in
42397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42398 *) ac_try_echo=$ac_try;;
42399 esac
42400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42401 (eval "$ac_compile") 2>conftest.er1
42402 ac_status=$?
42403 grep -v '^ *+' conftest.er1 >conftest.err
42404 rm -f conftest.er1
42405 cat conftest.err >&5
42406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42407 (exit $ac_status); } && {
42408 test -z "$ac_cxx_werror_flag" ||
42409 test ! -s conftest.err
42410 } && test -s conftest.$ac_objext; then
42411
42412 wx_cv_var_timezone=__timezone
42413
42414 else
42415 echo "$as_me: failed program was:" >&5
42416 sed 's/^/| /' conftest.$ac_ext >&5
42417
42418
42419 if test "$USE_DOS" = 0 ; then
42420 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42421 echo "$as_me: WARNING: no timezone variable" >&2;}
42422 fi
42423
42424
42425 fi
42426
42427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42428
42429
42430 fi
42431
42432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42433
42434
42435 fi
42436
42437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42438 ac_ext=c
42439 ac_cpp='$CPP $CPPFLAGS'
42440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443
42444
42445
42446 fi
42447 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42448 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42449
42450 if test "x$wx_cv_var_timezone" != x ; then
42451 cat >>confdefs.h <<_ACEOF
42452 #define WX_TIMEZONE $wx_cv_var_timezone
42453 _ACEOF
42454
42455 fi
42456
42457
42458 for ac_func in localtime
42459 do
42460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42463 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42464 echo $ECHO_N "(cached) $ECHO_C" >&6
42465 else
42466 cat >conftest.$ac_ext <<_ACEOF
42467 /* confdefs.h. */
42468 _ACEOF
42469 cat confdefs.h >>conftest.$ac_ext
42470 cat >>conftest.$ac_ext <<_ACEOF
42471 /* end confdefs.h. */
42472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42474 #define $ac_func innocuous_$ac_func
42475
42476 /* System header to define __stub macros and hopefully few prototypes,
42477 which can conflict with char $ac_func (); below.
42478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42479 <limits.h> exists even on freestanding compilers. */
42480
42481 #ifdef __STDC__
42482 # include <limits.h>
42483 #else
42484 # include <assert.h>
42485 #endif
42486
42487 #undef $ac_func
42488
42489 /* Override any GCC internal prototype to avoid an error.
42490 Use char because int might match the return type of a GCC
42491 builtin and then its argument prototype would still apply. */
42492 #ifdef __cplusplus
42493 extern "C"
42494 #endif
42495 char $ac_func ();
42496 /* The GNU C library defines this for functions which it implements
42497 to always fail with ENOSYS. Some functions are actually named
42498 something starting with __ and the normal name is an alias. */
42499 #if defined __stub_$ac_func || defined __stub___$ac_func
42500 choke me
42501 #endif
42502
42503 int
42504 main ()
42505 {
42506 return $ac_func ();
42507 ;
42508 return 0;
42509 }
42510 _ACEOF
42511 rm -f conftest.$ac_objext conftest$ac_exeext
42512 if { (ac_try="$ac_link"
42513 case "(($ac_try" in
42514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42515 *) ac_try_echo=$ac_try;;
42516 esac
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_link") 2>conftest.er1
42519 ac_status=$?
42520 grep -v '^ *+' conftest.er1 >conftest.err
42521 rm -f conftest.er1
42522 cat conftest.err >&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); } && {
42525 test -z "$ac_c_werror_flag" ||
42526 test ! -s conftest.err
42527 } && test -s conftest$ac_exeext &&
42528 $as_test_x conftest$ac_exeext; then
42529 eval "$as_ac_var=yes"
42530 else
42531 echo "$as_me: failed program was:" >&5
42532 sed 's/^/| /' conftest.$ac_ext >&5
42533
42534 eval "$as_ac_var=no"
42535 fi
42536
42537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42538 conftest$ac_exeext conftest.$ac_ext
42539 fi
42540 ac_res=`eval echo '${'$as_ac_var'}'`
42541 { echo "$as_me:$LINENO: result: $ac_res" >&5
42542 echo "${ECHO_T}$ac_res" >&6; }
42543 if test `eval echo '${'$as_ac_var'}'` = yes; then
42544 cat >>confdefs.h <<_ACEOF
42545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42546 _ACEOF
42547
42548 fi
42549 done
42550
42551
42552 if test "$ac_cv_func_localtime" = "yes"; then
42553 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42554 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42555 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42556 echo $ECHO_N "(cached) $ECHO_C" >&6
42557 else
42558
42559 cat >conftest.$ac_ext <<_ACEOF
42560 /* confdefs.h. */
42561 _ACEOF
42562 cat confdefs.h >>conftest.$ac_ext
42563 cat >>conftest.$ac_ext <<_ACEOF
42564 /* end confdefs.h. */
42565
42566 #include <time.h>
42567
42568 int
42569 main ()
42570 {
42571
42572 struct tm tm;
42573 tm.tm_gmtoff++;
42574
42575 ;
42576 return 0;
42577 }
42578 _ACEOF
42579 rm -f conftest.$ac_objext
42580 if { (ac_try="$ac_compile"
42581 case "(($ac_try" in
42582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42583 *) ac_try_echo=$ac_try;;
42584 esac
42585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42586 (eval "$ac_compile") 2>conftest.er1
42587 ac_status=$?
42588 grep -v '^ *+' conftest.er1 >conftest.err
42589 rm -f conftest.er1
42590 cat conftest.err >&5
42591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42592 (exit $ac_status); } && {
42593 test -z "$ac_c_werror_flag" ||
42594 test ! -s conftest.err
42595 } && test -s conftest.$ac_objext; then
42596
42597 wx_cv_struct_tm_has_gmtoff=yes
42598
42599 else
42600 echo "$as_me: failed program was:" >&5
42601 sed 's/^/| /' conftest.$ac_ext >&5
42602
42603 wx_cv_struct_tm_has_gmtoff=no
42604
42605 fi
42606
42607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42608
42609 fi
42610 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42611 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42612 fi
42613
42614 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42615 cat >>confdefs.h <<\_ACEOF
42616 #define WX_GMTOFF_IN_TM 1
42617 _ACEOF
42618
42619 fi
42620
42621
42622
42623 for ac_func in gettimeofday ftime
42624 do
42625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42629 echo $ECHO_N "(cached) $ECHO_C" >&6
42630 else
42631 cat >conftest.$ac_ext <<_ACEOF
42632 /* confdefs.h. */
42633 _ACEOF
42634 cat confdefs.h >>conftest.$ac_ext
42635 cat >>conftest.$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42639 #define $ac_func innocuous_$ac_func
42640
42641 /* System header to define __stub macros and hopefully few prototypes,
42642 which can conflict with char $ac_func (); below.
42643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42644 <limits.h> exists even on freestanding compilers. */
42645
42646 #ifdef __STDC__
42647 # include <limits.h>
42648 #else
42649 # include <assert.h>
42650 #endif
42651
42652 #undef $ac_func
42653
42654 /* Override any GCC internal prototype to avoid an error.
42655 Use char because int might match the return type of a GCC
42656 builtin and then its argument prototype would still apply. */
42657 #ifdef __cplusplus
42658 extern "C"
42659 #endif
42660 char $ac_func ();
42661 /* The GNU C library defines this for functions which it implements
42662 to always fail with ENOSYS. Some functions are actually named
42663 something starting with __ and the normal name is an alias. */
42664 #if defined __stub_$ac_func || defined __stub___$ac_func
42665 choke me
42666 #endif
42667
42668 int
42669 main ()
42670 {
42671 return $ac_func ();
42672 ;
42673 return 0;
42674 }
42675 _ACEOF
42676 rm -f conftest.$ac_objext conftest$ac_exeext
42677 if { (ac_try="$ac_link"
42678 case "(($ac_try" in
42679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42680 *) ac_try_echo=$ac_try;;
42681 esac
42682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42683 (eval "$ac_link") 2>conftest.er1
42684 ac_status=$?
42685 grep -v '^ *+' conftest.er1 >conftest.err
42686 rm -f conftest.er1
42687 cat conftest.err >&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); } && {
42690 test -z "$ac_c_werror_flag" ||
42691 test ! -s conftest.err
42692 } && test -s conftest$ac_exeext &&
42693 $as_test_x conftest$ac_exeext; then
42694 eval "$as_ac_var=yes"
42695 else
42696 echo "$as_me: failed program was:" >&5
42697 sed 's/^/| /' conftest.$ac_ext >&5
42698
42699 eval "$as_ac_var=no"
42700 fi
42701
42702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42703 conftest$ac_exeext conftest.$ac_ext
42704 fi
42705 ac_res=`eval echo '${'$as_ac_var'}'`
42706 { echo "$as_me:$LINENO: result: $ac_res" >&5
42707 echo "${ECHO_T}$ac_res" >&6; }
42708 if test `eval echo '${'$as_ac_var'}'` = yes; then
42709 cat >>confdefs.h <<_ACEOF
42710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42711 _ACEOF
42712 break
42713 fi
42714 done
42715
42716
42717 if test "$ac_cv_func_gettimeofday" = "yes"; then
42718 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42719 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42720 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42721 echo $ECHO_N "(cached) $ECHO_C" >&6
42722 else
42723
42724 cat >conftest.$ac_ext <<_ACEOF
42725 /* confdefs.h. */
42726 _ACEOF
42727 cat confdefs.h >>conftest.$ac_ext
42728 cat >>conftest.$ac_ext <<_ACEOF
42729 /* end confdefs.h. */
42730
42731 #include <sys/time.h>
42732 #include <unistd.h>
42733
42734 int
42735 main ()
42736 {
42737
42738 struct timeval tv;
42739 gettimeofday(&tv, NULL);
42740
42741 ;
42742 return 0;
42743 }
42744 _ACEOF
42745 rm -f conftest.$ac_objext
42746 if { (ac_try="$ac_compile"
42747 case "(($ac_try" in
42748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42749 *) ac_try_echo=$ac_try;;
42750 esac
42751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42752 (eval "$ac_compile") 2>conftest.er1
42753 ac_status=$?
42754 grep -v '^ *+' conftest.er1 >conftest.err
42755 rm -f conftest.er1
42756 cat conftest.err >&5
42757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42758 (exit $ac_status); } && {
42759 test -z "$ac_c_werror_flag" ||
42760 test ! -s conftest.err
42761 } && test -s conftest.$ac_objext; then
42762 wx_cv_func_gettimeofday_has_2_args=yes
42763 else
42764 echo "$as_me: failed program was:" >&5
42765 sed 's/^/| /' conftest.$ac_ext >&5
42766
42767 cat >conftest.$ac_ext <<_ACEOF
42768 /* confdefs.h. */
42769 _ACEOF
42770 cat confdefs.h >>conftest.$ac_ext
42771 cat >>conftest.$ac_ext <<_ACEOF
42772 /* end confdefs.h. */
42773
42774 #include <sys/time.h>
42775 #include <unistd.h>
42776
42777 int
42778 main ()
42779 {
42780
42781 struct timeval tv;
42782 gettimeofday(&tv);
42783
42784 ;
42785 return 0;
42786 }
42787 _ACEOF
42788 rm -f conftest.$ac_objext
42789 if { (ac_try="$ac_compile"
42790 case "(($ac_try" in
42791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42792 *) ac_try_echo=$ac_try;;
42793 esac
42794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42795 (eval "$ac_compile") 2>conftest.er1
42796 ac_status=$?
42797 grep -v '^ *+' conftest.er1 >conftest.err
42798 rm -f conftest.er1
42799 cat conftest.err >&5
42800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42801 (exit $ac_status); } && {
42802 test -z "$ac_c_werror_flag" ||
42803 test ! -s conftest.err
42804 } && test -s conftest.$ac_objext; then
42805 wx_cv_func_gettimeofday_has_2_args=no
42806 else
42807 echo "$as_me: failed program was:" >&5
42808 sed 's/^/| /' conftest.$ac_ext >&5
42809
42810
42811 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42812 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42813 wx_cv_func_gettimeofday_has_2_args=unknown
42814
42815
42816 fi
42817
42818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42819
42820 fi
42821
42822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42823
42824 fi
42825 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42826 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42827
42828 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42829 cat >>confdefs.h <<\_ACEOF
42830 #define WX_GETTIMEOFDAY_NO_TZ 1
42831 _ACEOF
42832
42833 fi
42834 fi
42835
42836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42837 fi
42838
42839
42840 if test "$wxUSE_SOCKETS" = "yes"; then
42841 if test "$wxUSE_MGL" = "1"; then
42842 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42843 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42844 wxUSE_SOCKETS="no"
42845 fi
42846 fi
42847
42848 if test "$wxUSE_SOCKETS" = "yes"; then
42849 if test "$TOOLKIT" != "MSW"; then
42850 { echo "$as_me:$LINENO: checking for socket" >&5
42851 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42852 if test "${ac_cv_func_socket+set}" = set; then
42853 echo $ECHO_N "(cached) $ECHO_C" >&6
42854 else
42855 cat >conftest.$ac_ext <<_ACEOF
42856 /* confdefs.h. */
42857 _ACEOF
42858 cat confdefs.h >>conftest.$ac_ext
42859 cat >>conftest.$ac_ext <<_ACEOF
42860 /* end confdefs.h. */
42861 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42863 #define socket innocuous_socket
42864
42865 /* System header to define __stub macros and hopefully few prototypes,
42866 which can conflict with char socket (); below.
42867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42868 <limits.h> exists even on freestanding compilers. */
42869
42870 #ifdef __STDC__
42871 # include <limits.h>
42872 #else
42873 # include <assert.h>
42874 #endif
42875
42876 #undef socket
42877
42878 /* Override any GCC internal prototype to avoid an error.
42879 Use char because int might match the return type of a GCC
42880 builtin and then its argument prototype would still apply. */
42881 #ifdef __cplusplus
42882 extern "C"
42883 #endif
42884 char socket ();
42885 /* The GNU C library defines this for functions which it implements
42886 to always fail with ENOSYS. Some functions are actually named
42887 something starting with __ and the normal name is an alias. */
42888 #if defined __stub_socket || defined __stub___socket
42889 choke me
42890 #endif
42891
42892 int
42893 main ()
42894 {
42895 return socket ();
42896 ;
42897 return 0;
42898 }
42899 _ACEOF
42900 rm -f conftest.$ac_objext conftest$ac_exeext
42901 if { (ac_try="$ac_link"
42902 case "(($ac_try" in
42903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42904 *) ac_try_echo=$ac_try;;
42905 esac
42906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42907 (eval "$ac_link") 2>conftest.er1
42908 ac_status=$?
42909 grep -v '^ *+' conftest.er1 >conftest.err
42910 rm -f conftest.er1
42911 cat conftest.err >&5
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); } && {
42914 test -z "$ac_c_werror_flag" ||
42915 test ! -s conftest.err
42916 } && test -s conftest$ac_exeext &&
42917 $as_test_x conftest$ac_exeext; then
42918 ac_cv_func_socket=yes
42919 else
42920 echo "$as_me: failed program was:" >&5
42921 sed 's/^/| /' conftest.$ac_ext >&5
42922
42923 ac_cv_func_socket=no
42924 fi
42925
42926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42927 conftest$ac_exeext conftest.$ac_ext
42928 fi
42929 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42930 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42931 if test $ac_cv_func_socket = yes; then
42932 :
42933 else
42934
42935 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42936 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42937 if test "${ac_cv_lib_socket_socket+set}" = set; then
42938 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 else
42940 ac_check_lib_save_LIBS=$LIBS
42941 LIBS="-lsocket $LIBS"
42942 cat >conftest.$ac_ext <<_ACEOF
42943 /* confdefs.h. */
42944 _ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42948
42949 /* Override any GCC internal prototype to avoid an error.
42950 Use char because int might match the return type of a GCC
42951 builtin and then its argument prototype would still apply. */
42952 #ifdef __cplusplus
42953 extern "C"
42954 #endif
42955 char socket ();
42956 int
42957 main ()
42958 {
42959 return socket ();
42960 ;
42961 return 0;
42962 }
42963 _ACEOF
42964 rm -f conftest.$ac_objext conftest$ac_exeext
42965 if { (ac_try="$ac_link"
42966 case "(($ac_try" in
42967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42968 *) ac_try_echo=$ac_try;;
42969 esac
42970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42971 (eval "$ac_link") 2>conftest.er1
42972 ac_status=$?
42973 grep -v '^ *+' conftest.er1 >conftest.err
42974 rm -f conftest.er1
42975 cat conftest.err >&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); } && {
42978 test -z "$ac_c_werror_flag" ||
42979 test ! -s conftest.err
42980 } && test -s conftest$ac_exeext &&
42981 $as_test_x conftest$ac_exeext; then
42982 ac_cv_lib_socket_socket=yes
42983 else
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.$ac_ext >&5
42986
42987 ac_cv_lib_socket_socket=no
42988 fi
42989
42990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42991 conftest$ac_exeext conftest.$ac_ext
42992 LIBS=$ac_check_lib_save_LIBS
42993 fi
42994 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42995 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42996 if test $ac_cv_lib_socket_socket = yes; then
42997 if test "$INET_LINK" != " -lsocket"; then
42998 INET_LINK="$INET_LINK -lsocket"
42999 fi
43000 else
43001
43002 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43003 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43004 wxUSE_SOCKETS=no
43005
43006
43007 fi
43008
43009
43010
43011 fi
43012
43013 fi
43014 fi
43015
43016 if test "$wxUSE_SOCKETS" = "yes" ; then
43017 if test "$TOOLKIT" != "MSW"; then
43018 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43019 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43020 if test "${wx_cv_type_getsockname3+set}" = set; then
43021 echo $ECHO_N "(cached) $ECHO_C" >&6
43022 else
43023
43024 ac_ext=cpp
43025 ac_cpp='$CXXCPP $CPPFLAGS'
43026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43029
43030 cat >conftest.$ac_ext <<_ACEOF
43031 /* confdefs.h. */
43032 _ACEOF
43033 cat confdefs.h >>conftest.$ac_ext
43034 cat >>conftest.$ac_ext <<_ACEOF
43035 /* end confdefs.h. */
43036
43037 #include <sys/types.h>
43038 #include <sys/socket.h>
43039
43040 int
43041 main ()
43042 {
43043
43044 socklen_t len;
43045 getsockname(0, 0, &len);
43046
43047 ;
43048 return 0;
43049 }
43050 _ACEOF
43051 rm -f conftest.$ac_objext
43052 if { (ac_try="$ac_compile"
43053 case "(($ac_try" in
43054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43055 *) ac_try_echo=$ac_try;;
43056 esac
43057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43058 (eval "$ac_compile") 2>conftest.er1
43059 ac_status=$?
43060 grep -v '^ *+' conftest.er1 >conftest.err
43061 rm -f conftest.er1
43062 cat conftest.err >&5
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); } && {
43065 test -z "$ac_cxx_werror_flag" ||
43066 test ! -s conftest.err
43067 } && test -s conftest.$ac_objext; then
43068 wx_cv_type_getsockname3=socklen_t
43069 else
43070 echo "$as_me: failed program was:" >&5
43071 sed 's/^/| /' conftest.$ac_ext >&5
43072
43073
43074 CFLAGS_OLD="$CFLAGS"
43075 if test "$GCC" = yes ; then
43076 CFLAGS="-Werror $CFLAGS"
43077 fi
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 size_t len;
43094 getsockname(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_getsockname3=size_t
43118 else
43119 echo "$as_me: failed program was:" >&5
43120 sed 's/^/| /' conftest.$ac_ext >&5
43121
43122 cat >conftest.$ac_ext <<_ACEOF
43123 /* confdefs.h. */
43124 _ACEOF
43125 cat confdefs.h >>conftest.$ac_ext
43126 cat >>conftest.$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43128
43129 #include <sys/types.h>
43130 #include <sys/socket.h>
43131
43132 int
43133 main ()
43134 {
43135
43136 int len;
43137 getsockname(0, 0, &len);
43138
43139 ;
43140 return 0;
43141 }
43142 _ACEOF
43143 rm -f conftest.$ac_objext
43144 if { (ac_try="$ac_compile"
43145 case "(($ac_try" in
43146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43147 *) ac_try_echo=$ac_try;;
43148 esac
43149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43150 (eval "$ac_compile") 2>conftest.er1
43151 ac_status=$?
43152 grep -v '^ *+' conftest.er1 >conftest.err
43153 rm -f conftest.er1
43154 cat conftest.err >&5
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); } && {
43157 test -z "$ac_cxx_werror_flag" ||
43158 test ! -s conftest.err
43159 } && test -s conftest.$ac_objext; then
43160 wx_cv_type_getsockname3=int
43161 else
43162 echo "$as_me: failed program was:" >&5
43163 sed 's/^/| /' conftest.$ac_ext >&5
43164
43165 wx_cv_type_getsockname3=unknown
43166
43167 fi
43168
43169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43170
43171 fi
43172
43173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43174
43175 CFLAGS="$CFLAGS_OLD"
43176
43177
43178 fi
43179
43180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43181 ac_ext=c
43182 ac_cpp='$CPP $CPPFLAGS'
43183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43186
43187
43188 fi
43189 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43190 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43191
43192 if test "$wx_cv_type_getsockname3" = "unknown"; then
43193 wxUSE_SOCKETS=no
43194 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43195 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43196 else
43197 cat >>confdefs.h <<_ACEOF
43198 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43199 _ACEOF
43200
43201 fi
43202 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43203 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43204 if test "${wx_cv_type_getsockopt5+set}" = set; then
43205 echo $ECHO_N "(cached) $ECHO_C" >&6
43206 else
43207
43208 cat >conftest.$ac_ext <<_ACEOF
43209 /* confdefs.h. */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43214
43215 #include <sys/types.h>
43216 #include <sys/socket.h>
43217
43218 int
43219 main ()
43220 {
43221
43222 socklen_t len;
43223 getsockopt(0, 0, 0, 0, &len);
43224
43225 ;
43226 return 0;
43227 }
43228 _ACEOF
43229 rm -f conftest.$ac_objext
43230 if { (ac_try="$ac_compile"
43231 case "(($ac_try" in
43232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43233 *) ac_try_echo=$ac_try;;
43234 esac
43235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43236 (eval "$ac_compile") 2>conftest.er1
43237 ac_status=$?
43238 grep -v '^ *+' conftest.er1 >conftest.err
43239 rm -f conftest.er1
43240 cat conftest.err >&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } && {
43243 test -z "$ac_c_werror_flag" ||
43244 test ! -s conftest.err
43245 } && test -s conftest.$ac_objext; then
43246 wx_cv_type_getsockopt5=socklen_t
43247 else
43248 echo "$as_me: failed program was:" >&5
43249 sed 's/^/| /' conftest.$ac_ext >&5
43250
43251
43252 ac_ext=cpp
43253 ac_cpp='$CXXCPP $CPPFLAGS'
43254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43257
43258 cat >conftest.$ac_ext <<_ACEOF
43259 /* confdefs.h. */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43264
43265 #include <sys/types.h>
43266 #include <sys/socket.h>
43267
43268 int
43269 main ()
43270 {
43271
43272 size_t len;
43273 getsockopt(0, 0, 0, 0, &len);
43274
43275 ;
43276 return 0;
43277 }
43278 _ACEOF
43279 rm -f conftest.$ac_objext
43280 if { (ac_try="$ac_compile"
43281 case "(($ac_try" in
43282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43283 *) ac_try_echo=$ac_try;;
43284 esac
43285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43286 (eval "$ac_compile") 2>conftest.er1
43287 ac_status=$?
43288 grep -v '^ *+' conftest.er1 >conftest.err
43289 rm -f conftest.er1
43290 cat conftest.err >&5
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); } && {
43293 test -z "$ac_cxx_werror_flag" ||
43294 test ! -s conftest.err
43295 } && test -s conftest.$ac_objext; then
43296 wx_cv_type_getsockopt5=size_t
43297 else
43298 echo "$as_me: failed program was:" >&5
43299 sed 's/^/| /' conftest.$ac_ext >&5
43300
43301 cat >conftest.$ac_ext <<_ACEOF
43302 /* confdefs.h. */
43303 _ACEOF
43304 cat confdefs.h >>conftest.$ac_ext
43305 cat >>conftest.$ac_ext <<_ACEOF
43306 /* end confdefs.h. */
43307
43308 #include <sys/types.h>
43309 #include <sys/socket.h>
43310
43311 int
43312 main ()
43313 {
43314
43315 int len;
43316 getsockopt(0, 0, 0, 0, &len);
43317
43318 ;
43319 return 0;
43320 }
43321 _ACEOF
43322 rm -f conftest.$ac_objext
43323 if { (ac_try="$ac_compile"
43324 case "(($ac_try" in
43325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43326 *) ac_try_echo=$ac_try;;
43327 esac
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_compile") 2>conftest.er1
43330 ac_status=$?
43331 grep -v '^ *+' conftest.er1 >conftest.err
43332 rm -f conftest.er1
43333 cat conftest.err >&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_cxx_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest.$ac_objext; then
43339 wx_cv_type_getsockopt5=int
43340 else
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.$ac_ext >&5
43343
43344 wx_cv_type_getsockopt5=unknown
43345
43346 fi
43347
43348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43349
43350 fi
43351
43352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43353 ac_ext=c
43354 ac_cpp='$CPP $CPPFLAGS'
43355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43358
43359
43360
43361 fi
43362
43363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43364
43365 fi
43366 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43367 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43368
43369 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43370 wxUSE_SOCKETS=no
43371 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43372 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43373 else
43374 cat >>confdefs.h <<_ACEOF
43375 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43376 _ACEOF
43377
43378 fi
43379 fi
43380 fi
43381
43382 if test "$wxUSE_SOCKETS" = "yes" ; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define wxUSE_SOCKETS 1
43385 _ACEOF
43386
43387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43388 fi
43389
43390 if test "$wxUSE_PROTOCOL" = "yes"; then
43391 if test "$wxUSE_SOCKETS" != "yes"; then
43392 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43393 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43394 wxUSE_PROTOCOL=no
43395 fi
43396 fi
43397
43398 if test "$wxUSE_PROTOCOL" = "yes"; then
43399 cat >>confdefs.h <<\_ACEOF
43400 #define wxUSE_PROTOCOL 1
43401 _ACEOF
43402
43403
43404 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_PROTOCOL_HTTP 1
43407 _ACEOF
43408
43409 fi
43410 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43411 cat >>confdefs.h <<\_ACEOF
43412 #define wxUSE_PROTOCOL_FTP 1
43413 _ACEOF
43414
43415 fi
43416 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define wxUSE_PROTOCOL_FILE 1
43419 _ACEOF
43420
43421 fi
43422 else
43423 if test "$wxUSE_FS_INET" = "yes"; then
43424 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43425 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43426 wxUSE_FS_INET="no"
43427 fi
43428 fi
43429
43430 if test "$wxUSE_URL" = "yes"; then
43431 if test "$wxUSE_PROTOCOL" != "yes"; then
43432 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43433 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43434 wxUSE_URL=no
43435 fi
43436 if test "$wxUSE_URL" = "yes"; then
43437 cat >>confdefs.h <<\_ACEOF
43438 #define wxUSE_URL 1
43439 _ACEOF
43440
43441 fi
43442 fi
43443
43444 if test "$wxUSE_VARIANT" = "yes"; then
43445 cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_VARIANT 1
43447 _ACEOF
43448
43449 fi
43450
43451 if test "$wxUSE_FS_INET" = "yes"; then
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_FS_INET 1
43454 _ACEOF
43455
43456 fi
43457
43458
43459 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43460 wxUSE_JOYSTICK=no
43461
43462 if test "$TOOLKIT" = "MSW"; then
43463 wxUSE_JOYSTICK=yes
43464
43465 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43466 if test "$USE_DARWIN" = 1; then
43467 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43468 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43469 ac_ext=cpp
43470 ac_cpp='$CXXCPP $CPPFLAGS'
43471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43474
43475 cat >conftest.$ac_ext <<_ACEOF
43476 /* confdefs.h. */
43477 _ACEOF
43478 cat confdefs.h >>conftest.$ac_ext
43479 cat >>conftest.$ac_ext <<_ACEOF
43480 /* end confdefs.h. */
43481 #include <IOKit/hid/IOHIDLib.h>
43482 int
43483 main ()
43484 {
43485 IOHIDQueueInterface *qi = NULL;
43486 IOHIDCallbackFunction cb = NULL;
43487 qi->setEventCallout(NULL, cb, NULL, NULL);
43488 ;
43489 return 0;
43490 }
43491 _ACEOF
43492 rm -f conftest.$ac_objext
43493 if { (ac_try="$ac_compile"
43494 case "(($ac_try" in
43495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43496 *) ac_try_echo=$ac_try;;
43497 esac
43498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43499 (eval "$ac_compile") 2>conftest.er1
43500 ac_status=$?
43501 grep -v '^ *+' conftest.er1 >conftest.err
43502 rm -f conftest.er1
43503 cat conftest.err >&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } && {
43506 test -z "$ac_cxx_werror_flag" ||
43507 test ! -s conftest.err
43508 } && test -s conftest.$ac_objext; then
43509 wxUSE_JOYSTICK=yes
43510
43511 else
43512 echo "$as_me: failed program was:" >&5
43513 sed 's/^/| /' conftest.$ac_ext >&5
43514
43515
43516 fi
43517
43518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43519 ac_ext=c
43520 ac_cpp='$CPP $CPPFLAGS'
43521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43524
43525 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43526 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43527 fi
43528
43529 else
43530 if test "$wxUSE_MGL" != "1"; then
43531 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43532 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43533 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43534 echo $ECHO_N "(cached) $ECHO_C" >&6
43535 else
43536 cat >conftest.$ac_ext <<_ACEOF
43537 /* confdefs.h. */
43538 _ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542 $ac_includes_default
43543
43544 #include <linux/joystick.h>
43545 _ACEOF
43546 rm -f conftest.$ac_objext
43547 if { (ac_try="$ac_compile"
43548 case "(($ac_try" in
43549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43550 *) ac_try_echo=$ac_try;;
43551 esac
43552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43553 (eval "$ac_compile") 2>conftest.er1
43554 ac_status=$?
43555 grep -v '^ *+' conftest.er1 >conftest.err
43556 rm -f conftest.er1
43557 cat conftest.err >&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } && {
43560 test -z "$ac_c_werror_flag" ||
43561 test ! -s conftest.err
43562 } && test -s conftest.$ac_objext; then
43563 ac_cv_header_linux_joystick_h=yes
43564 else
43565 echo "$as_me: failed program was:" >&5
43566 sed 's/^/| /' conftest.$ac_ext >&5
43567
43568 ac_cv_header_linux_joystick_h=no
43569 fi
43570
43571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43572 fi
43573 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43574 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43575 if test $ac_cv_header_linux_joystick_h = yes; then
43576 wxUSE_JOYSTICK=yes
43577 fi
43578
43579
43580 fi
43581 fi
43582
43583 if test "$wxUSE_JOYSTICK" = "yes"; then
43584 cat >>confdefs.h <<\_ACEOF
43585 #define wxUSE_JOYSTICK 1
43586 _ACEOF
43587
43588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43589 else
43590 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43591 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43592 fi
43593 fi
43594
43595
43596
43597 if test "$wxUSE_FONTMAP" = "yes" ; then
43598 cat >>confdefs.h <<\_ACEOF
43599 #define wxUSE_FONTMAP 1
43600 _ACEOF
43601
43602 fi
43603
43604 if test "$wxUSE_UNICODE" = "yes" ; then
43605 cat >>confdefs.h <<\_ACEOF
43606 #define wxUSE_UNICODE 1
43607 _ACEOF
43608
43609
43610 if test "$USE_WIN32" != 1; then
43611 wxUSE_UNICODE_MSLU=no
43612 fi
43613
43614 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43615 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43616 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43617 if test "${ac_cv_lib_unicows_main+set}" = set; then
43618 echo $ECHO_N "(cached) $ECHO_C" >&6
43619 else
43620 ac_check_lib_save_LIBS=$LIBS
43621 LIBS="-lunicows $LIBS"
43622 cat >conftest.$ac_ext <<_ACEOF
43623 /* confdefs.h. */
43624 _ACEOF
43625 cat confdefs.h >>conftest.$ac_ext
43626 cat >>conftest.$ac_ext <<_ACEOF
43627 /* end confdefs.h. */
43628
43629
43630 int
43631 main ()
43632 {
43633 return main ();
43634 ;
43635 return 0;
43636 }
43637 _ACEOF
43638 rm -f conftest.$ac_objext conftest$ac_exeext
43639 if { (ac_try="$ac_link"
43640 case "(($ac_try" in
43641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43642 *) ac_try_echo=$ac_try;;
43643 esac
43644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43645 (eval "$ac_link") 2>conftest.er1
43646 ac_status=$?
43647 grep -v '^ *+' conftest.er1 >conftest.err
43648 rm -f conftest.er1
43649 cat conftest.err >&5
43650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43651 (exit $ac_status); } && {
43652 test -z "$ac_c_werror_flag" ||
43653 test ! -s conftest.err
43654 } && test -s conftest$ac_exeext &&
43655 $as_test_x conftest$ac_exeext; then
43656 ac_cv_lib_unicows_main=yes
43657 else
43658 echo "$as_me: failed program was:" >&5
43659 sed 's/^/| /' conftest.$ac_ext >&5
43660
43661 ac_cv_lib_unicows_main=no
43662 fi
43663
43664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43665 conftest$ac_exeext conftest.$ac_ext
43666 LIBS=$ac_check_lib_save_LIBS
43667 fi
43668 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43669 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43670 if test $ac_cv_lib_unicows_main = yes; then
43671
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_UNICODE_MSLU 1
43674 _ACEOF
43675
43676
43677 else
43678
43679 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43680 Applications will only run on Windows NT/2000/XP!" >&5
43681 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43682 Applications will only run on Windows NT/2000/XP!" >&2;}
43683 wxUSE_UNICODE_MSLU=no
43684
43685 fi
43686
43687 fi
43688 fi
43689
43690 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43691 cat >>confdefs.h <<\_ACEOF
43692 #define wxUSE_EXPERIMENTAL_PRINTF 1
43693 _ACEOF
43694
43695 fi
43696
43697
43698 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_POSTSCRIPT 1
43701 _ACEOF
43702
43703 fi
43704
43705 cat >>confdefs.h <<\_ACEOF
43706 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43707 _ACEOF
43708
43709
43710 cat >>confdefs.h <<\_ACEOF
43711 #define wxUSE_NORMALIZED_PS_FONTS 1
43712 _ACEOF
43713
43714
43715
43716 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43717 cat >>confdefs.h <<\_ACEOF
43718 #define wxUSE_CONSTRAINTS 1
43719 _ACEOF
43720
43721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43722 fi
43723
43724 if test "$wxUSE_MDI" = "yes"; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_MDI 1
43727 _ACEOF
43728
43729
43730 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define wxUSE_MDI_ARCHITECTURE 1
43733 _ACEOF
43734
43735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43736 fi
43737 fi
43738
43739 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43740 cat >>confdefs.h <<\_ACEOF
43741 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43742 _ACEOF
43743
43744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43745 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43747 fi
43748 fi
43749
43750 if test "$wxUSE_HELP" = "yes"; then
43751 cat >>confdefs.h <<\_ACEOF
43752 #define wxUSE_HELP 1
43753 _ACEOF
43754
43755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43756
43757 if test "$wxUSE_MSW" = 1; then
43758 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_MS_HTML_HELP 1
43761 _ACEOF
43762
43763 fi
43764 fi
43765
43766 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43767 if test "$wxUSE_HTML" = "yes"; then
43768 cat >>confdefs.h <<\_ACEOF
43769 #define wxUSE_WXHTML_HELP 1
43770 _ACEOF
43771
43772 else
43773 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43774 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43775 wxUSE_WXHTML_HELP=no
43776 fi
43777 fi
43778 fi
43779
43780 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43781 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43782 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43783 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43784 else
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_PRINTING_ARCHITECTURE 1
43787 _ACEOF
43788
43789 fi
43790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43791 fi
43792
43793 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43794 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43795 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43796 { (exit 1); exit 1; }; }
43797 fi
43798
43799
43800 if test "$wxUSE_METAFILE" = "yes"; then
43801 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43802 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43803 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43804 wxUSE_METAFILE=no
43805 fi
43806 fi
43807
43808
43809 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43810 -o "$wxUSE_CLIPBOARD" = "yes" \
43811 -o "$wxUSE_OLE" = "yes" \
43812 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43813 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43814 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43815 if test "${ac_cv_header_ole2_h+set}" = set; then
43816 echo $ECHO_N "(cached) $ECHO_C" >&6
43817 else
43818 cat >conftest.$ac_ext <<_ACEOF
43819 /* confdefs.h. */
43820 _ACEOF
43821 cat confdefs.h >>conftest.$ac_ext
43822 cat >>conftest.$ac_ext <<_ACEOF
43823 /* end confdefs.h. */
43824
43825
43826 #include <ole2.h>
43827 _ACEOF
43828 rm -f conftest.$ac_objext
43829 if { (ac_try="$ac_compile"
43830 case "(($ac_try" in
43831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43832 *) ac_try_echo=$ac_try;;
43833 esac
43834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43835 (eval "$ac_compile") 2>conftest.er1
43836 ac_status=$?
43837 grep -v '^ *+' conftest.er1 >conftest.err
43838 rm -f conftest.er1
43839 cat conftest.err >&5
43840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841 (exit $ac_status); } && {
43842 test -z "$ac_c_werror_flag" ||
43843 test ! -s conftest.err
43844 } && test -s conftest.$ac_objext; then
43845 ac_cv_header_ole2_h=yes
43846 else
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.$ac_ext >&5
43849
43850 ac_cv_header_ole2_h=no
43851 fi
43852
43853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43854 fi
43855 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43856 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43857
43858
43859
43860 if test "$ac_cv_header_ole2_h" = "yes" ; then
43861 if test "$GCC" = yes ; then
43862 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43863 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43864 cat >conftest.$ac_ext <<_ACEOF
43865 /* confdefs.h. */
43866 _ACEOF
43867 cat confdefs.h >>conftest.$ac_ext
43868 cat >>conftest.$ac_ext <<_ACEOF
43869 /* end confdefs.h. */
43870 #include <windows.h>
43871 #include <ole2.h>
43872 int
43873 main ()
43874 {
43875
43876 ;
43877 return 0;
43878 }
43879 _ACEOF
43880 rm -f conftest.$ac_objext
43881 if { (ac_try="$ac_compile"
43882 case "(($ac_try" in
43883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43884 *) ac_try_echo=$ac_try;;
43885 esac
43886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43887 (eval "$ac_compile") 2>conftest.er1
43888 ac_status=$?
43889 grep -v '^ *+' conftest.er1 >conftest.err
43890 rm -f conftest.er1
43891 cat conftest.err >&5
43892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43893 (exit $ac_status); } && {
43894 test -z "$ac_c_werror_flag" ||
43895 test ! -s conftest.err
43896 } && test -s conftest.$ac_objext; then
43897 { echo "$as_me:$LINENO: result: no" >&5
43898 echo "${ECHO_T}no" >&6; }
43899 else
43900 echo "$as_me: failed program was:" >&5
43901 sed 's/^/| /' conftest.$ac_ext >&5
43902
43903 { echo "$as_me:$LINENO: result: yes" >&5
43904 echo "${ECHO_T}yes" >&6; }
43905 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43906 fi
43907
43908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43909 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43910 if test "$wxUSE_OLE" = "yes" ; then
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_OLE 1
43913 _ACEOF
43914
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_OLE_AUTOMATION 1
43917 _ACEOF
43918
43919 cat >>confdefs.h <<\_ACEOF
43920 #define wxUSE_ACTIVEX 1
43921 _ACEOF
43922
43923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43924 fi
43925 fi
43926
43927 if test "$wxUSE_DATAOBJ" = "yes" ; then
43928 cat >>confdefs.h <<\_ACEOF
43929 #define wxUSE_DATAOBJ 1
43930 _ACEOF
43931
43932 fi
43933 else
43934 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43935 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43936
43937 wxUSE_CLIPBOARD=no
43938 wxUSE_DRAG_AND_DROP=no
43939 wxUSE_DATAOBJ=no
43940 wxUSE_OLE=no
43941 fi
43942
43943 if test "$wxUSE_METAFILE" = "yes"; then
43944 cat >>confdefs.h <<\_ACEOF
43945 #define wxUSE_METAFILE 1
43946 _ACEOF
43947
43948
43949 cat >>confdefs.h <<\_ACEOF
43950 #define wxUSE_ENH_METAFILE 1
43951 _ACEOF
43952
43953 fi
43954 fi
43955
43956 if test "$wxUSE_IPC" = "yes"; then
43957 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43958 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43959 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43960 wxUSE_IPC=no
43961 fi
43962
43963 if test "$wxUSE_IPC" = "yes"; then
43964 cat >>confdefs.h <<\_ACEOF
43965 #define wxUSE_IPC 1
43966 _ACEOF
43967
43968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43969 fi
43970 fi
43971
43972 if test "$wxUSE_DATAOBJ" = "yes"; then
43973 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43974 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43975 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43976 wxUSE_DATAOBJ=no
43977 else
43978 cat >>confdefs.h <<\_ACEOF
43979 #define wxUSE_DATAOBJ 1
43980 _ACEOF
43981
43982 fi
43983 else
43984 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43985 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43986 wxUSE_CLIPBOARD=no
43987 wxUSE_DRAG_AND_DROP=no
43988 fi
43989
43990 if test "$wxUSE_CLIPBOARD" = "yes"; then
43991 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43992 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43993 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43994 wxUSE_CLIPBOARD=no
43995 fi
43996
43997 if test "$wxUSE_CLIPBOARD" = "yes"; then
43998 cat >>confdefs.h <<\_ACEOF
43999 #define wxUSE_CLIPBOARD 1
44000 _ACEOF
44001
44002 fi
44003 fi
44004
44005 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44006 if test "$wxUSE_GTK" = 1; then
44007 if test "$WXGTK12" != 1; then
44008 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44009 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44010 wxUSE_DRAG_AND_DROP=no
44011 fi
44012 fi
44013
44014 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44015 "$wxUSE_DFB" = 1; then
44016 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44017 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44018 wxUSE_DRAG_AND_DROP=no
44019 fi
44020
44021 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44022 cat >>confdefs.h <<\_ACEOF
44023 #define wxUSE_DRAG_AND_DROP 1
44024 _ACEOF
44025
44026 fi
44027
44028 fi
44029
44030 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44032 fi
44033
44034 if test "$wxUSE_SPLINES" = "yes" ; then
44035 cat >>confdefs.h <<\_ACEOF
44036 #define wxUSE_SPLINES 1
44037 _ACEOF
44038
44039 fi
44040
44041 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_MOUSEWHEEL 1
44044 _ACEOF
44045
44046 fi
44047
44048
44049 USES_CONTROLS=0
44050 if test "$wxUSE_CONTROLS" = "yes"; then
44051 USES_CONTROLS=1
44052 fi
44053
44054 if test "$wxUSE_ACCEL" = "yes"; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define wxUSE_ACCEL 1
44057 _ACEOF
44058
44059 USES_CONTROLS=1
44060 fi
44061
44062 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_ANIMATIONCTRL 1
44065 _ACEOF
44066
44067 USES_CONTROLS=1
44068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44069 fi
44070
44071 if test "$wxUSE_BUTTON" = "yes"; then
44072 cat >>confdefs.h <<\_ACEOF
44073 #define wxUSE_BUTTON 1
44074 _ACEOF
44075
44076 USES_CONTROLS=1
44077 fi
44078
44079 if test "$wxUSE_BMPBUTTON" = "yes"; then
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_BMPBUTTON 1
44082 _ACEOF
44083
44084 USES_CONTROLS=1
44085 fi
44086
44087 if test "$wxUSE_CALCTRL" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_CALENDARCTRL 1
44090 _ACEOF
44091
44092 USES_CONTROLS=1
44093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44094 fi
44095
44096 if test "$wxUSE_CARET" = "yes"; then
44097 cat >>confdefs.h <<\_ACEOF
44098 #define wxUSE_CARET 1
44099 _ACEOF
44100
44101 USES_CONTROLS=1
44102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44103 fi
44104
44105 if test "$wxUSE_COLLPANE" = "yes"; then
44106 cat >>confdefs.h <<\_ACEOF
44107 #define wxUSE_COLLPANE 1
44108 _ACEOF
44109
44110 USES_CONTROLS=1
44111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44112 fi
44113
44114 if test "$wxUSE_COMBOBOX" = "yes"; then
44115 cat >>confdefs.h <<\_ACEOF
44116 #define wxUSE_COMBOBOX 1
44117 _ACEOF
44118
44119 USES_CONTROLS=1
44120 fi
44121
44122 if test "$wxUSE_COMBOCTRL" = "yes"; then
44123 cat >>confdefs.h <<\_ACEOF
44124 #define wxUSE_COMBOCTRL 1
44125 _ACEOF
44126
44127 USES_CONTROLS=1
44128 fi
44129
44130 if test "$wxUSE_CHOICE" = "yes"; then
44131 cat >>confdefs.h <<\_ACEOF
44132 #define wxUSE_CHOICE 1
44133 _ACEOF
44134
44135 USES_CONTROLS=1
44136 fi
44137
44138 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_CHOICEBOOK 1
44141 _ACEOF
44142
44143 USES_CONTROLS=1
44144 fi
44145
44146 if test "$wxUSE_CHECKBOX" = "yes"; then
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_CHECKBOX 1
44149 _ACEOF
44150
44151 USES_CONTROLS=1
44152 fi
44153
44154 if test "$wxUSE_CHECKLST" = "yes"; then
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_CHECKLISTBOX 1
44157 _ACEOF
44158
44159 USES_CONTROLS=1
44160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44161 fi
44162
44163 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44164 cat >>confdefs.h <<\_ACEOF
44165 #define wxUSE_COLOURPICKERCTRL 1
44166 _ACEOF
44167
44168 USES_CONTROLS=1
44169 fi
44170
44171 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_DATEPICKCTRL 1
44174 _ACEOF
44175
44176 USES_CONTROLS=1
44177 fi
44178
44179 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_DIRPICKERCTRL 1
44182 _ACEOF
44183
44184 USES_CONTROLS=1
44185 fi
44186
44187 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_FILEPICKERCTRL 1
44190 _ACEOF
44191
44192 USES_CONTROLS=1
44193 fi
44194
44195 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_FONTPICKERCTRL 1
44198 _ACEOF
44199
44200 USES_CONTROLS=1
44201 fi
44202
44203 if test "$wxUSE_DISPLAY" = "yes"; then
44204 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44205 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44206 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44207 wxUSE_DISPLAY=no
44208 else
44209 cat >>confdefs.h <<\_ACEOF
44210 #define wxUSE_DISPLAY 1
44211 _ACEOF
44212
44213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44214 fi
44215 fi
44216
44217 if test "$wxUSE_DETECT_SM" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_DETECT_SM 1
44220 _ACEOF
44221
44222 fi
44223
44224 if test "$wxUSE_GAUGE" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_GAUGE 1
44227 _ACEOF
44228
44229 USES_CONTROLS=1
44230 fi
44231
44232 if test "$wxUSE_GRID" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_GRID 1
44235 _ACEOF
44236
44237 USES_CONTROLS=1
44238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44239 fi
44240
44241 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44242 cat >>confdefs.h <<\_ACEOF
44243 #define wxUSE_HYPERLINKCTRL 1
44244 _ACEOF
44245
44246 USES_CONTROLS=1
44247 fi
44248
44249 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_BITMAPCOMBOBOX 1
44252 _ACEOF
44253
44254 USES_CONTROLS=1
44255 fi
44256
44257 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_DATAVIEWCTRL 1
44260 _ACEOF
44261
44262 USES_CONTROLS=1
44263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44264 fi
44265
44266 if test "$wxUSE_IMAGLIST" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_IMAGLIST 1
44269 _ACEOF
44270
44271 fi
44272
44273 if test "$wxUSE_LISTBOOK" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_LISTBOOK 1
44276 _ACEOF
44277
44278 USES_CONTROLS=1
44279 fi
44280
44281 if test "$wxUSE_LISTBOX" = "yes"; then
44282 cat >>confdefs.h <<\_ACEOF
44283 #define wxUSE_LISTBOX 1
44284 _ACEOF
44285
44286 USES_CONTROLS=1
44287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44288 fi
44289
44290 if test "$wxUSE_LISTCTRL" = "yes"; then
44291 if test "$wxUSE_IMAGLIST" = "yes"; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_LISTCTRL 1
44294 _ACEOF
44295
44296 USES_CONTROLS=1
44297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44298 else
44299 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44300 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44301 fi
44302 fi
44303
44304 if test "$wxUSE_NOTEBOOK" = "yes"; then
44305 cat >>confdefs.h <<\_ACEOF
44306 #define wxUSE_NOTEBOOK 1
44307 _ACEOF
44308
44309 USES_CONTROLS=1
44310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44311 fi
44312
44313 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44314 cat >>confdefs.h <<\_ACEOF
44315 #define wxUSE_ODCOMBOBOX 1
44316 _ACEOF
44317
44318 USES_CONTROLS=1
44319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44320 fi
44321
44322
44323 if test "$wxUSE_RADIOBOX" = "yes"; then
44324 cat >>confdefs.h <<\_ACEOF
44325 #define wxUSE_RADIOBOX 1
44326 _ACEOF
44327
44328 USES_CONTROLS=1
44329 fi
44330
44331 if test "$wxUSE_RADIOBTN" = "yes"; then
44332 cat >>confdefs.h <<\_ACEOF
44333 #define wxUSE_RADIOBTN 1
44334 _ACEOF
44335
44336 USES_CONTROLS=1
44337 fi
44338
44339 if test "$wxUSE_SASH" = "yes"; then
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_SASH 1
44342 _ACEOF
44343
44344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44345 fi
44346
44347 if test "$wxUSE_SCROLLBAR" = "yes"; then
44348 cat >>confdefs.h <<\_ACEOF
44349 #define wxUSE_SCROLLBAR 1
44350 _ACEOF
44351
44352 USES_CONTROLS=1
44353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44354 fi
44355
44356 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44357 cat >>confdefs.h <<\_ACEOF
44358 #define wxUSE_SEARCHCTRL 1
44359 _ACEOF
44360
44361 USES_CONTROLS=1
44362 fi
44363
44364 if test "$wxUSE_SLIDER" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_SLIDER 1
44367 _ACEOF
44368
44369 USES_CONTROLS=1
44370 fi
44371
44372 if test "$wxUSE_SPINBTN" = "yes"; then
44373 cat >>confdefs.h <<\_ACEOF
44374 #define wxUSE_SPINBTN 1
44375 _ACEOF
44376
44377 USES_CONTROLS=1
44378 fi
44379
44380 if test "$wxUSE_SPINCTRL" = "yes"; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define wxUSE_SPINCTRL 1
44383 _ACEOF
44384
44385 USES_CONTROLS=1
44386 fi
44387
44388 if test "$wxUSE_SPLITTER" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_SPLITTER 1
44391 _ACEOF
44392
44393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44394 fi
44395
44396 if test "$wxUSE_STATBMP" = "yes"; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_STATBMP 1
44399 _ACEOF
44400
44401 USES_CONTROLS=1
44402 fi
44403
44404 if test "$wxUSE_STATBOX" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_STATBOX 1
44407 _ACEOF
44408
44409 USES_CONTROLS=1
44410 fi
44411
44412 if test "$wxUSE_STATTEXT" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_STATTEXT 1
44415 _ACEOF
44416
44417 USES_CONTROLS=1
44418 fi
44419
44420 if test "$wxUSE_STATLINE" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_STATLINE 1
44423 _ACEOF
44424
44425 USES_CONTROLS=1
44426 fi
44427
44428 if test "$wxUSE_STATUSBAR" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_NATIVE_STATUSBAR 1
44431 _ACEOF
44432
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_STATUSBAR 1
44435 _ACEOF
44436
44437 USES_CONTROLS=1
44438
44439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44440 fi
44441
44442 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_TAB_DIALOG 1
44445 _ACEOF
44446
44447 fi
44448
44449 if test "$wxUSE_TEXTCTRL" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_TEXTCTRL 1
44452 _ACEOF
44453
44454 USES_CONTROLS=1
44455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44456 fi
44457
44458 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44459 if test "$wxUSE_COCOA" = 1 ; then
44460 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44461 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44462 wxUSE_TOGGLEBTN=no
44463 fi
44464
44465 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44466 cat >>confdefs.h <<\_ACEOF
44467 #define wxUSE_TOGGLEBTN 1
44468 _ACEOF
44469
44470 USES_CONTROLS=1
44471 fi
44472 fi
44473
44474 if test "$wxUSE_TOOLBAR" = "yes"; then
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_TOOLBAR 1
44477 _ACEOF
44478
44479 USES_CONTROLS=1
44480
44481 if test "$wxUSE_UNIVERSAL" = "yes"; then
44482 wxUSE_TOOLBAR_NATIVE="no"
44483 else
44484 wxUSE_TOOLBAR_NATIVE="yes"
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_TOOLBAR_NATIVE 1
44487 _ACEOF
44488
44489 fi
44490
44491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44492 fi
44493
44494 if test "$wxUSE_TOOLTIPS" = "yes"; then
44495 if test "$wxUSE_MOTIF" = 1; then
44496 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44497 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44498 else
44499 if test "$wxUSE_UNIVERSAL" = "yes"; then
44500 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44501 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44502 else
44503 cat >>confdefs.h <<\_ACEOF
44504 #define wxUSE_TOOLTIPS 1
44505 _ACEOF
44506
44507 fi
44508 fi
44509 fi
44510
44511 if test "$wxUSE_TREEBOOK" = "yes"; then
44512 cat >>confdefs.h <<\_ACEOF
44513 #define wxUSE_TREEBOOK 1
44514 _ACEOF
44515
44516 USES_CONTROLS=1
44517 fi
44518
44519 if test "$wxUSE_TOOLBOOK" = "yes"; then
44520 cat >>confdefs.h <<\_ACEOF
44521 #define wxUSE_TOOLBOOK 1
44522 _ACEOF
44523
44524 USES_CONTROLS=1
44525 fi
44526
44527 if test "$wxUSE_TREECTRL" = "yes"; then
44528 if test "$wxUSE_IMAGLIST" = "yes"; then
44529 cat >>confdefs.h <<\_ACEOF
44530 #define wxUSE_TREECTRL 1
44531 _ACEOF
44532
44533 USES_CONTROLS=1
44534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44535 else
44536 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44537 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44538 fi
44539 fi
44540
44541 if test "$wxUSE_POPUPWIN" = "yes"; then
44542 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44543 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44544 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44545 else
44546 if test "$wxUSE_PM" = 1; then
44547 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44548 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44549 else
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_POPUPWIN 1
44552 _ACEOF
44553
44554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44555
44556 USES_CONTROLS=1
44557 fi
44558 fi
44559 fi
44560
44561 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44562 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44563 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44564 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44565 else
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_DIALUP_MANAGER 1
44568 _ACEOF
44569
44570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44571 fi
44572 fi
44573
44574 if test "$wxUSE_TIPWINDOW" = "yes"; then
44575 if test "$wxUSE_PM" = 1; then
44576 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44577 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44578 else
44579 cat >>confdefs.h <<\_ACEOF
44580 #define wxUSE_TIPWINDOW 1
44581 _ACEOF
44582
44583 fi
44584 fi
44585
44586 if test "$USES_CONTROLS" = 1; then
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_CONTROLS 1
44589 _ACEOF
44590
44591 fi
44592
44593
44594 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44595 cat >>confdefs.h <<\_ACEOF
44596 #define wxUSE_ACCESSIBILITY 1
44597 _ACEOF
44598
44599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44600 fi
44601
44602 if test "$wxUSE_DC_CACHEING" = "yes"; then
44603 cat >>confdefs.h <<\_ACEOF
44604 #define wxUSE_DC_CACHEING 1
44605 _ACEOF
44606
44607 fi
44608
44609 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44610 cat >>confdefs.h <<\_ACEOF
44611 #define wxUSE_DRAGIMAGE 1
44612 _ACEOF
44613
44614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44615 fi
44616
44617 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44618 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44619 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44620 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44621 else
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_EXCEPTIONS 1
44624 _ACEOF
44625
44626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44627 fi
44628 fi
44629
44630 USE_HTML=0
44631 if test "$wxUSE_HTML" = "yes"; then
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_HTML 1
44634 _ACEOF
44635
44636 USE_HTML=1
44637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44638 if test "$wxUSE_MAC" = 1; then
44639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44640 fi
44641 fi
44642 if test "$wxUSE_WEBKIT" = "yes"; then
44643 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44644 old_CPPFLAGS="$CPPFLAGS"
44645 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44646 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44647 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44648 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44649 echo $ECHO_N "(cached) $ECHO_C" >&6
44650 else
44651 cat >conftest.$ac_ext <<_ACEOF
44652 /* confdefs.h. */
44653 _ACEOF
44654 cat confdefs.h >>conftest.$ac_ext
44655 cat >>conftest.$ac_ext <<_ACEOF
44656 /* end confdefs.h. */
44657
44658 #include <Carbon/Carbon.h>
44659 #include <WebKit/WebKit.h>
44660
44661
44662 #include <WebKit/HIWebView.h>
44663 _ACEOF
44664 rm -f conftest.$ac_objext
44665 if { (ac_try="$ac_compile"
44666 case "(($ac_try" in
44667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44668 *) ac_try_echo=$ac_try;;
44669 esac
44670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44671 (eval "$ac_compile") 2>conftest.er1
44672 ac_status=$?
44673 grep -v '^ *+' conftest.er1 >conftest.err
44674 rm -f conftest.er1
44675 cat conftest.err >&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); } && {
44678 test -z "$ac_c_werror_flag" ||
44679 test ! -s conftest.err
44680 } && test -s conftest.$ac_objext; then
44681 ac_cv_header_WebKit_HIWebView_h=yes
44682 else
44683 echo "$as_me: failed program was:" >&5
44684 sed 's/^/| /' conftest.$ac_ext >&5
44685
44686 ac_cv_header_WebKit_HIWebView_h=no
44687 fi
44688
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 fi
44691 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44692 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44693 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44694
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_WEBKIT 1
44697 _ACEOF
44698
44699 WEBKIT_LINK="-framework WebKit"
44700
44701 else
44702
44703 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44704 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44705 wxUSE_WEBKIT=no
44706
44707 fi
44708
44709
44710 CPPFLAGS="$old_CPPFLAGS"
44711 elif test "$wxUSE_COCOA" = 1; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_WEBKIT 1
44714 _ACEOF
44715
44716 else
44717 wxUSE_WEBKIT=no
44718 fi
44719 fi
44720
44721 USE_XRC=0
44722 if test "$wxUSE_XRC" = "yes"; then
44723 if test "$wxUSE_XML" != "yes"; then
44724 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44725 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44726 wxUSE_XRC=no
44727 else
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_XRC 1
44730 _ACEOF
44731
44732 USE_XRC=1
44733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44734 fi
44735 fi
44736
44737 USE_AUI=0
44738 if test "$wxUSE_AUI" = "yes"; then
44739 cat >>confdefs.h <<\_ACEOF
44740 #define wxUSE_AUI 1
44741 _ACEOF
44742
44743 USE_AUI=1
44744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44745 fi
44746
44747 if test "$wxUSE_MENUS" = "yes"; then
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_MENUS 1
44750 _ACEOF
44751
44752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44753 fi
44754
44755 if test "$wxUSE_METAFILE" = "yes"; then
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_METAFILE 1
44758 _ACEOF
44759
44760 fi
44761
44762 if test "$wxUSE_MIMETYPE" = "yes"; then
44763 cat >>confdefs.h <<\_ACEOF
44764 #define wxUSE_MIMETYPE 1
44765 _ACEOF
44766
44767 fi
44768
44769 if test "$wxUSE_MINIFRAME" = "yes"; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_MINIFRAME 1
44772 _ACEOF
44773
44774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44775 fi
44776
44777 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_SYSTEM_OPTIONS 1
44780 _ACEOF
44781
44782 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44783 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44785 fi
44786 fi
44787
44788
44789 if test "$wxUSE_VALIDATORS" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_VALIDATORS 1
44792 _ACEOF
44793
44794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44795 fi
44796
44797 if test "$wxUSE_PALETTE" = "yes" ; then
44798 if test "$wxUSE_DFB" = 1; then
44799 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44800 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44801 wxUSE_PALETTE=no
44802 else
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_PALETTE 1
44805 _ACEOF
44806
44807 fi
44808 fi
44809
44810 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44811 LIBS=" -lunicows $LIBS"
44812 fi
44813
44814 USE_RICHTEXT=0
44815 if test "$wxUSE_RICHTEXT" = "yes"; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_RICHTEXT 1
44818 _ACEOF
44819
44820 USE_RICHTEXT=1
44821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44822 fi
44823
44824
44825 if test "$wxUSE_IMAGE" = "yes" ; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_IMAGE 1
44828 _ACEOF
44829
44830
44831 if test "$wxUSE_GIF" = "yes" ; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_GIF 1
44834 _ACEOF
44835
44836 fi
44837
44838 if test "$wxUSE_PCX" = "yes" ; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_PCX 1
44841 _ACEOF
44842
44843 fi
44844
44845 if test "$wxUSE_TGA" = "yes" ; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_TGA 1
44848 _ACEOF
44849
44850 fi
44851
44852 if test "$wxUSE_IFF" = "yes" ; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_IFF 1
44855 _ACEOF
44856
44857 fi
44858
44859 if test "$wxUSE_PNM" = "yes" ; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_PNM 1
44862 _ACEOF
44863
44864 fi
44865
44866 if test "$wxUSE_XPM" = "yes" ; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_XPM 1
44869 _ACEOF
44870
44871 fi
44872
44873 if test "$wxUSE_ICO_CUR" = "yes" ; then
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_ICO_CUR 1
44876 _ACEOF
44877
44878 fi
44879 fi
44880
44881
44882 if test "$wxUSE_ABOUTDLG" = "yes"; then
44883 cat >>confdefs.h <<\_ACEOF
44884 #define wxUSE_ABOUTDLG 1
44885 _ACEOF
44886
44887 fi
44888
44889 if test "$wxUSE_CHOICEDLG" = "yes"; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_CHOICEDLG 1
44892 _ACEOF
44893
44894 fi
44895
44896 if test "$wxUSE_COLOURDLG" = "yes"; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_COLOURDLG 1
44899 _ACEOF
44900
44901 fi
44902
44903 if test "$wxUSE_FILEDLG" = "yes"; then
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_FILEDLG 1
44906 _ACEOF
44907
44908 fi
44909
44910 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_FINDREPLDLG 1
44913 _ACEOF
44914
44915 fi
44916
44917 if test "$wxUSE_FONTDLG" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_FONTDLG 1
44920 _ACEOF
44921
44922 fi
44923
44924 if test "$wxUSE_DIRDLG" = "yes"; then
44925 if test "$wxUSE_TREECTRL" != "yes"; then
44926 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44927 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44928 else
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_DIRDLG 1
44931 _ACEOF
44932
44933 fi
44934 fi
44935
44936 if test "$wxUSE_MSGDLG" = "yes"; then
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_MSGDLG 1
44939 _ACEOF
44940
44941 fi
44942
44943 if test "$wxUSE_NUMBERDLG" = "yes"; then
44944 cat >>confdefs.h <<\_ACEOF
44945 #define wxUSE_NUMBERDLG 1
44946 _ACEOF
44947
44948 fi
44949
44950 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44951 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44952 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44953 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44954 else
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_PROGRESSDLG 1
44957 _ACEOF
44958
44959 fi
44960 fi
44961
44962 if test "$wxUSE_SPLASH" = "yes"; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_SPLASH 1
44965 _ACEOF
44966
44967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44968 fi
44969
44970 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44971 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44972 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44973 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44974 else
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_STARTUP_TIPS 1
44977 _ACEOF
44978
44979 fi
44980 fi
44981
44982 if test "$wxUSE_TEXTDLG" = "yes"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_TEXTDLG 1
44985 _ACEOF
44986
44987 fi
44988
44989 if test "$wxUSE_WIZARDDLG" = "yes"; then
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_WIZARDDLG 1
44992 _ACEOF
44993
44994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44995 fi
44996
44997
44998 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44999 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_GRAPHICS_CONTEXT 1
45002 _ACEOF
45003
45004 elif test "$wxUSE_GTK" != 1; then
45005 cat >>confdefs.h <<\_ACEOF
45006 #define wxUSE_GRAPHICS_CONTEXT 1
45007 _ACEOF
45008
45009 else
45010
45011 pkg_failed=no
45012 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45013 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45014
45015 if test -n "$PKG_CONFIG"; then
45016 if test -n "$CAIRO_CFLAGS"; then
45017 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45018 else
45019 if test -n "$PKG_CONFIG" && \
45020 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45021 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45022 ac_status=$?
45023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45024 (exit $ac_status); }; then
45025 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45026 else
45027 pkg_failed=yes
45028 fi
45029 fi
45030 else
45031 pkg_failed=untried
45032 fi
45033 if test -n "$PKG_CONFIG"; then
45034 if test -n "$CAIRO_LIBS"; then
45035 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45036 else
45037 if test -n "$PKG_CONFIG" && \
45038 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45039 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45040 ac_status=$?
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); }; then
45043 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45044 else
45045 pkg_failed=yes
45046 fi
45047 fi
45048 else
45049 pkg_failed=untried
45050 fi
45051
45052
45053
45054 if test $pkg_failed = yes; then
45055
45056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45057 _pkg_short_errors_supported=yes
45058 else
45059 _pkg_short_errors_supported=no
45060 fi
45061 if test $_pkg_short_errors_supported = yes; then
45062 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45063 else
45064 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45065 fi
45066 # Put the nasty error message in config.log where it belongs
45067 echo "$CAIRO_PKG_ERRORS" >&5
45068
45069 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45070 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45071
45072 elif test $pkg_failed = untried; then
45073 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45074 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45075
45076 else
45077 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45078 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45079 { echo "$as_me:$LINENO: result: yes" >&5
45080 echo "${ECHO_T}yes" >&6; }
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_GRAPHICS_CONTEXT 1
45083 _ACEOF
45084
45085 fi
45086 fi
45087 fi
45088
45089
45090 USE_MEDIA=0
45091
45092 if test "$wxUSE_MEDIACTRL" = "yes"; then
45093 USE_MEDIA=1
45094
45095 if test "$wxUSE_GTK" = 1; then
45096 wxUSE_GSTREAMER="no"
45097
45098 GST_VERSION_MAJOR=0
45099 GST_VERSION_MINOR=10
45100 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45101
45102 if test "$wxUSE_GSTREAMER8" = "no"; then
45103
45104 pkg_failed=no
45105 { echo "$as_me:$LINENO: checking for GST" >&5
45106 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45107
45108 if test -n "$PKG_CONFIG"; then
45109 if test -n "$GST_CFLAGS"; then
45110 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45111 else
45112 if test -n "$PKG_CONFIG" && \
45113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45114 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45115 ac_status=$?
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); }; then
45118 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45119 else
45120 pkg_failed=yes
45121 fi
45122 fi
45123 else
45124 pkg_failed=untried
45125 fi
45126 if test -n "$PKG_CONFIG"; then
45127 if test -n "$GST_LIBS"; then
45128 pkg_cv_GST_LIBS="$GST_LIBS"
45129 else
45130 if test -n "$PKG_CONFIG" && \
45131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45132 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45133 ac_status=$?
45134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45135 (exit $ac_status); }; then
45136 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45137 else
45138 pkg_failed=yes
45139 fi
45140 fi
45141 else
45142 pkg_failed=untried
45143 fi
45144
45145
45146
45147 if test $pkg_failed = yes; then
45148
45149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45150 _pkg_short_errors_supported=yes
45151 else
45152 _pkg_short_errors_supported=no
45153 fi
45154 if test $_pkg_short_errors_supported = yes; then
45155 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45156 else
45157 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45158 fi
45159 # Put the nasty error message in config.log where it belongs
45160 echo "$GST_PKG_ERRORS" >&5
45161
45162
45163 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45164 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45165 GST_VERSION_MINOR=8
45166
45167
45168 elif test $pkg_failed = untried; then
45169
45170 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45171 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45172 GST_VERSION_MINOR=8
45173
45174
45175 else
45176 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45177 GST_LIBS=$pkg_cv_GST_LIBS
45178 { echo "$as_me:$LINENO: result: yes" >&5
45179 echo "${ECHO_T}yes" >&6; }
45180
45181 wxUSE_GSTREAMER="yes"
45182 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45183
45184 fi
45185 else
45186 GST_VERSION_MINOR=8
45187 fi
45188
45189 if test $GST_VERSION_MINOR = "8"; then
45190 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45191
45192 pkg_failed=no
45193 { echo "$as_me:$LINENO: checking for GST" >&5
45194 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45195
45196 if test -n "$PKG_CONFIG"; then
45197 if test -n "$GST_CFLAGS"; then
45198 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45199 else
45200 if test -n "$PKG_CONFIG" && \
45201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45202 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45203 ac_status=$?
45204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45205 (exit $ac_status); }; then
45206 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45207 else
45208 pkg_failed=yes
45209 fi
45210 fi
45211 else
45212 pkg_failed=untried
45213 fi
45214 if test -n "$PKG_CONFIG"; then
45215 if test -n "$GST_LIBS"; then
45216 pkg_cv_GST_LIBS="$GST_LIBS"
45217 else
45218 if test -n "$PKG_CONFIG" && \
45219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45220 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45221 ac_status=$?
45222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45223 (exit $ac_status); }; then
45224 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45225 else
45226 pkg_failed=yes
45227 fi
45228 fi
45229 else
45230 pkg_failed=untried
45231 fi
45232
45233
45234
45235 if test $pkg_failed = yes; then
45236
45237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45238 _pkg_short_errors_supported=yes
45239 else
45240 _pkg_short_errors_supported=no
45241 fi
45242 if test $_pkg_short_errors_supported = yes; then
45243 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45244 else
45245 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45246 fi
45247 # Put the nasty error message in config.log where it belongs
45248 echo "$GST_PKG_ERRORS" >&5
45249
45250
45251 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45252 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45253
45254 elif test $pkg_failed = untried; then
45255
45256 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45257 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45258
45259 else
45260 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45261 GST_LIBS=$pkg_cv_GST_LIBS
45262 { echo "$as_me:$LINENO: result: yes" >&5
45263 echo "${ECHO_T}yes" >&6; }
45264 wxUSE_GSTREAMER="yes"
45265 fi
45266 fi
45267
45268
45269 if test "$wxUSE_GSTREAMER" = "yes"; then
45270 case "${host}" in
45271 *-*-solaris2* )
45272 if "$GCC" = yes; then
45273 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45274 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45275 fi
45276 esac
45277
45278 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45279 LIBS="$GST_LIBS $LIBS"
45280
45281 cat >>confdefs.h <<\_ACEOF
45282 #define wxUSE_GSTREAMER 1
45283 _ACEOF
45284
45285 else
45286 USE_MEDIA=0
45287 fi
45288 fi
45289
45290 if test $USE_MEDIA = 1; then
45291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_MEDIACTRL 1
45294 _ACEOF
45295
45296 fi
45297 fi
45298
45299
45300 if test "$cross_compiling" = "yes"; then
45301 OSINFO="\"$host\""
45302 else
45303 OSINFO=`uname -s -r -m`
45304 OSINFO="\"$OSINFO\""
45305 fi
45306
45307 cat >>confdefs.h <<_ACEOF
45308 #define WXWIN_OS_DESCRIPTION $OSINFO
45309 _ACEOF
45310
45311
45312
45313 if test "x$prefix" != "xNONE"; then
45314 wxPREFIX=$prefix
45315 else
45316 wxPREFIX=$ac_default_prefix
45317 fi
45318
45319 cat >>confdefs.h <<_ACEOF
45320 #define wxINSTALL_PREFIX "$wxPREFIX"
45321 _ACEOF
45322
45323
45324
45325
45326 CORE_BASE_LIBS="net base"
45327 CORE_GUI_LIBS="adv core"
45328
45329 if test "$wxUSE_XML" = "yes" ; then
45330 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45331 fi
45332 if test "$wxUSE_ODBC" != "no" ; then
45333 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45334 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45335 fi
45336 if test "$wxUSE_HTML" = "yes" ; then
45337 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45338 fi
45339 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45340 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45341 fi
45342 if test "$wxUSE_XRC" = "yes" ; then
45343 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45344 fi
45345 if test "$wxUSE_AUI" = "yes" ; then
45346 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45347 fi
45348
45349 if test "$wxUSE_GUI" != "yes"; then
45350 CORE_GUI_LIBS=""
45351 fi
45352
45353
45354
45355
45356
45357
45358 if test "$wxUSE_MAC" = 1 ; then
45359 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45360 if test "$USE_DARWIN" = 1; then
45361 LDFLAGS="$LDFLAGS -framework QuickTime"
45362 else
45363 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45364 fi
45365 fi
45366 if test "$USE_DARWIN" = 1; then
45367 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45368 else
45369 LDFLAGS="$LDFLAGS -lCarbonLib"
45370 fi
45371 fi
45372 if test "$wxUSE_COCOA" = 1 ; then
45373 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45374 if test "$wxUSE_MEDIACTRL" = "yes"; then
45375 LDFLAGS="$LDFLAGS -framework QuickTime"
45376 fi
45377 fi
45378 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45379 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45380 fi
45381
45382 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45383
45384 if test "$wxUSE_GUI" = "yes"; then
45385
45386
45387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45388 dynamic erase event exec font image minimal mobile \
45389 mobile/wxedit mobile/styles propsize render \
45390 rotate shaped vscroll widgets"
45391
45392 if test "$wxUSE_MONOLITHIC" != "yes"; then
45393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45394 fi
45395 if test "$TOOLKIT" = "MSW"; then
45396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45397 if test "$wxUSE_UNIVERSAL" != "yes"; then
45398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45399 fi
45400 fi
45401 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45403 fi
45404 else
45405 SAMPLES_SUBDIRS="console"
45406 fi
45407
45408
45409 if test "x$INTELCC" = "xyes" ; then
45410 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45411 elif test "$GCC" = yes ; then
45412 CWARNINGS="-Wall -Wundef"
45413 fi
45414
45415 if test "x$INTELCXX" = "xyes" ; then
45416 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45417 elif test "$GXX" = yes ; then
45418 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45419 fi
45420
45421
45422 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45423 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45424
45425
45426 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45427 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45428 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45429 $CPPFLAGS `
45430
45431 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45432 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45433 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45434
45435 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45436
45437
45438 if test "x$MWCC" = "xyes"; then
45439
45440 CC="$CC -cwd source -I-"
45441 CXX="$CXX -cwd source -I-"
45442 fi
45443
45444
45445 LIBS=`echo $LIBS`
45446 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45447 EXTRALIBS_XML="$EXPAT_LINK"
45448 EXTRALIBS_HTML="$MSPACK_LINK"
45449 EXTRALIBS_ODBC="$ODBC_LINK"
45450 if test "$wxUSE_GUI" = "yes"; then
45451 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45452 fi
45453 if test "$wxUSE_OPENGL" = "yes"; then
45454 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45455 fi
45456
45457 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45458
45459 WXCONFIG_LIBS="$LIBS"
45460
45461 if test "$wxUSE_REGEX" = "builtin" ; then
45462 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45463 fi
45464 if test "$wxUSE_EXPAT" = "builtin" ; then
45465 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45466 fi
45467 if test "$wxUSE_ODBC" = "builtin" ; then
45468 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45469 fi
45470 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45471 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45472 fi
45473 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45474 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45475 fi
45476 if test "$wxUSE_LIBPNG" = "builtin" ; then
45477 wxconfig_3rdparty="png $wxconfig_3rdparty"
45478 fi
45479 if test "$wxUSE_ZLIB" = "builtin" ; then
45480 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45481 fi
45482
45483 for i in $wxconfig_3rdparty ; do
45484 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45485 done
45486
45487
45488 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45489 WXUNIV=1
45490
45491 case "$wxUNIV_THEMES" in
45492 ''|all)
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_ALL_THEMES 1
45495 _ACEOF
45496
45497 ;;
45498
45499 *)
45500 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45501 cat >>confdefs.h <<_ACEOF
45502 #define wxUSE_THEME_$t 1
45503 _ACEOF
45504
45505 done
45506 esac
45507 else
45508 WXUNIV=0
45509 fi
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519 if test $wxUSE_MONOLITHIC = "yes" ; then
45520 MONOLITHIC=1
45521 else
45522 MONOLITHIC=0
45523 fi
45524
45525 if test $wxUSE_PLUGINS = "yes" ; then
45526 USE_PLUGINS=1
45527 else
45528 USE_PLUGINS=0
45529 fi
45530
45531 if test $wxUSE_ODBC != "no" ; then
45532 USE_ODBC=1
45533 else
45534 USE_ODBC=0
45535 fi
45536
45537 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45538 USE_QA=1
45539 else
45540 USE_QA=0
45541 fi
45542
45543 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45544 OFFICIAL_BUILD=1
45545 else
45546 OFFICIAL_BUILD=0
45547 fi
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45574
45575
45576
45577
45578
45579
45580
45581
45582 case "$TOOLKIT" in
45583 GTK)
45584 TOOLKIT_DESC="GTK+"
45585 if test "$WXGTK20" = 1; then
45586 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45587 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45588 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45589 fi
45590 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45591 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45592 fi
45593 if test "$wxUSE_LIBHILDON" = "yes"; then
45594 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45595 fi
45596
45597 if test "$TOOLKIT_EXTRA" != ""; then
45598 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45599 fi
45600 fi
45601 ;;
45602
45603 ?*)
45604 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45605 ;;
45606
45607 *)
45608 TOOLKIT_DESC="base only"
45609 ;;
45610 esac
45611
45612 if test "$wxUSE_WINE" = "yes"; then
45613 BAKEFILE_FORCE_PLATFORM=win32
45614 fi
45615
45616 if test "$wxUSE_MAC" = 1 ; then
45617 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45618 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45619 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45620 else
45621 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45622 fi
45623 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45624 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45625 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45626 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45627 bk_use_pch=no
45628 fi
45629 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45630 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45631 fi
45632
45633 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45634 then
45635 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45636 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45637 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45638 echo $ECHO_N "(cached) $ECHO_C" >&6
45639 else
45640
45641 echo '#include <stdio.h>
45642 const wchar_t test_var[] = L"awidetest";' > conftest.h
45643
45644 echo '#include "conftest.h"
45645 int main()
45646 {
45647 printf("%ls", test_var);
45648 return 0;
45649 }' > conftest.cpp
45650
45651 wx_cv_gcc_pch_bug="pch not supported"
45652
45653 if $CXX conftest.h >/dev/null 2>&1
45654 then
45655 wx_cv_gcc_pch_bug=
45656
45657 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45658 then
45659 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45660 grep awidetest >/dev/null
45661 then
45662 wx_cv_gcc_pch_bug=no
45663 else
45664 wx_cv_gcc_pch_bug=yes
45665 fi
45666 fi
45667 fi
45668
45669 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45670
45671 fi
45672 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45673 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45674
45675 if test "$wx_cv_gcc_pch_bug" = yes; then
45676 bk_use_pch=no
45677 fi
45678 fi
45679
45680
45681
45682
45683 if test "x$BAKEFILE_HOST" = "x"; then
45684 if test "x${host}" = "x" ; then
45685 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45686 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45687 { (exit 1); exit 1; }; }
45688 fi
45689
45690 BAKEFILE_HOST="${host}"
45691 fi
45692
45693 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45694
45695 if test -n "$ac_tool_prefix"; then
45696 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45697 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45700 if test "${ac_cv_prog_RANLIB+set}" = set; then
45701 echo $ECHO_N "(cached) $ECHO_C" >&6
45702 else
45703 if test -n "$RANLIB"; then
45704 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45705 else
45706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45707 for as_dir in $PATH
45708 do
45709 IFS=$as_save_IFS
45710 test -z "$as_dir" && as_dir=.
45711 for ac_exec_ext in '' $ac_executable_extensions; do
45712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45713 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45715 break 2
45716 fi
45717 done
45718 done
45719 IFS=$as_save_IFS
45720
45721 fi
45722 fi
45723 RANLIB=$ac_cv_prog_RANLIB
45724 if test -n "$RANLIB"; then
45725 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45726 echo "${ECHO_T}$RANLIB" >&6; }
45727 else
45728 { echo "$as_me:$LINENO: result: no" >&5
45729 echo "${ECHO_T}no" >&6; }
45730 fi
45731
45732
45733 fi
45734 if test -z "$ac_cv_prog_RANLIB"; then
45735 ac_ct_RANLIB=$RANLIB
45736 # Extract the first word of "ranlib", so it can be a program name with args.
45737 set dummy ranlib; ac_word=$2
45738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45740 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45741 echo $ECHO_N "(cached) $ECHO_C" >&6
45742 else
45743 if test -n "$ac_ct_RANLIB"; then
45744 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45745 else
45746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45747 for as_dir in $PATH
45748 do
45749 IFS=$as_save_IFS
45750 test -z "$as_dir" && as_dir=.
45751 for ac_exec_ext in '' $ac_executable_extensions; do
45752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45753 ac_cv_prog_ac_ct_RANLIB="ranlib"
45754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45755 break 2
45756 fi
45757 done
45758 done
45759 IFS=$as_save_IFS
45760
45761 fi
45762 fi
45763 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45764 if test -n "$ac_ct_RANLIB"; then
45765 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45766 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45767 else
45768 { echo "$as_me:$LINENO: result: no" >&5
45769 echo "${ECHO_T}no" >&6; }
45770 fi
45771
45772 if test "x$ac_ct_RANLIB" = x; then
45773 RANLIB=":"
45774 else
45775 case $cross_compiling:$ac_tool_warned in
45776 yes:)
45777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45778 whose name does not start with the host triplet. If you think this
45779 configuration is useful to you, please write to autoconf@gnu.org." >&5
45780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45781 whose name does not start with the host triplet. If you think this
45782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45783 ac_tool_warned=yes ;;
45784 esac
45785 RANLIB=$ac_ct_RANLIB
45786 fi
45787 else
45788 RANLIB="$ac_cv_prog_RANLIB"
45789 fi
45790
45791 # Find a good install program. We prefer a C program (faster),
45792 # so one script is as good as another. But avoid the broken or
45793 # incompatible versions:
45794 # SysV /etc/install, /usr/sbin/install
45795 # SunOS /usr/etc/install
45796 # IRIX /sbin/install
45797 # AIX /bin/install
45798 # AmigaOS /C/install, which installs bootblocks on floppy discs
45799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45802 # OS/2's system install, which has a completely different semantic
45803 # ./install, which can be erroneously created by make from ./install.sh.
45804 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45805 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45806 if test -z "$INSTALL"; then
45807 if test "${ac_cv_path_install+set}" = set; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45809 else
45810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45811 for as_dir in $PATH
45812 do
45813 IFS=$as_save_IFS
45814 test -z "$as_dir" && as_dir=.
45815 # Account for people who put trailing slashes in PATH elements.
45816 case $as_dir/ in
45817 ./ | .// | /cC/* | \
45818 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45819 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45820 /usr/ucb/* ) ;;
45821 *)
45822 # OSF1 and SCO ODT 3.0 have their own names for install.
45823 # Don't use installbsd from OSF since it installs stuff as root
45824 # by default.
45825 for ac_prog in ginstall scoinst install; do
45826 for ac_exec_ext in '' $ac_executable_extensions; do
45827 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45828 if test $ac_prog = install &&
45829 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45830 # AIX install. It has an incompatible calling convention.
45831 :
45832 elif test $ac_prog = install &&
45833 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45834 # program-specific install script used by HP pwplus--don't use.
45835 :
45836 else
45837 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45838 break 3
45839 fi
45840 fi
45841 done
45842 done
45843 ;;
45844 esac
45845 done
45846 IFS=$as_save_IFS
45847
45848
45849 fi
45850 if test "${ac_cv_path_install+set}" = set; then
45851 INSTALL=$ac_cv_path_install
45852 else
45853 # As a last resort, use the slow shell script. Don't cache a
45854 # value for INSTALL within a source directory, because that will
45855 # break other packages using the cache if that directory is
45856 # removed, or if the value is a relative name.
45857 INSTALL=$ac_install_sh
45858 fi
45859 fi
45860 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45861 echo "${ECHO_T}$INSTALL" >&6; }
45862
45863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45864 # It thinks the first close brace ends the variable substitution.
45865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45866
45867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45868
45869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45870
45871 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45872 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45873 LN_S=$as_ln_s
45874 if test "$LN_S" = "ln -s"; then
45875 { echo "$as_me:$LINENO: result: yes" >&5
45876 echo "${ECHO_T}yes" >&6; }
45877 else
45878 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45879 echo "${ECHO_T}no, using $LN_S" >&6; }
45880 fi
45881
45882
45883 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45884 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45885 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45886 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45887 echo $ECHO_N "(cached) $ECHO_C" >&6
45888 else
45889 cat >conftest.make <<\_ACEOF
45890 SHELL = /bin/sh
45891 all:
45892 @echo '@@@%%%=$(MAKE)=@@@%%%'
45893 _ACEOF
45894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45895 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45896 *@@@%%%=?*=@@@%%%*)
45897 eval ac_cv_prog_make_${ac_make}_set=yes;;
45898 *)
45899 eval ac_cv_prog_make_${ac_make}_set=no;;
45900 esac
45901 rm -f conftest.make
45902 fi
45903 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45904 { echo "$as_me:$LINENO: result: yes" >&5
45905 echo "${ECHO_T}yes" >&6; }
45906 SET_MAKE=
45907 else
45908 { echo "$as_me:$LINENO: result: no" >&5
45909 echo "${ECHO_T}no" >&6; }
45910 SET_MAKE="MAKE=${MAKE-make}"
45911 fi
45912
45913
45914
45915 if test "x$SUNCXX" = "xyes"; then
45916 AR=$CXX
45917 AROPTIONS="-xar -o"
45918
45919 elif test "x$SGICC" = "xyes"; then
45920 AR=$CXX
45921 AROPTIONS="-ar -o"
45922
45923 else
45924 if test -n "$ac_tool_prefix"; then
45925 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45926 set dummy ${ac_tool_prefix}ar; ac_word=$2
45927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45929 if test "${ac_cv_prog_AR+set}" = set; then
45930 echo $ECHO_N "(cached) $ECHO_C" >&6
45931 else
45932 if test -n "$AR"; then
45933 ac_cv_prog_AR="$AR" # Let the user override the test.
45934 else
45935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45936 for as_dir in $PATH
45937 do
45938 IFS=$as_save_IFS
45939 test -z "$as_dir" && as_dir=.
45940 for ac_exec_ext in '' $ac_executable_extensions; do
45941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45942 ac_cv_prog_AR="${ac_tool_prefix}ar"
45943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45944 break 2
45945 fi
45946 done
45947 done
45948 IFS=$as_save_IFS
45949
45950 fi
45951 fi
45952 AR=$ac_cv_prog_AR
45953 if test -n "$AR"; then
45954 { echo "$as_me:$LINENO: result: $AR" >&5
45955 echo "${ECHO_T}$AR" >&6; }
45956 else
45957 { echo "$as_me:$LINENO: result: no" >&5
45958 echo "${ECHO_T}no" >&6; }
45959 fi
45960
45961
45962 fi
45963 if test -z "$ac_cv_prog_AR"; then
45964 ac_ct_AR=$AR
45965 # Extract the first word of "ar", so it can be a program name with args.
45966 set dummy ar; ac_word=$2
45967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45969 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45970 echo $ECHO_N "(cached) $ECHO_C" >&6
45971 else
45972 if test -n "$ac_ct_AR"; then
45973 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45974 else
45975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45976 for as_dir in $PATH
45977 do
45978 IFS=$as_save_IFS
45979 test -z "$as_dir" && as_dir=.
45980 for ac_exec_ext in '' $ac_executable_extensions; do
45981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45982 ac_cv_prog_ac_ct_AR="ar"
45983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45984 break 2
45985 fi
45986 done
45987 done
45988 IFS=$as_save_IFS
45989
45990 fi
45991 fi
45992 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45993 if test -n "$ac_ct_AR"; then
45994 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45995 echo "${ECHO_T}$ac_ct_AR" >&6; }
45996 else
45997 { echo "$as_me:$LINENO: result: no" >&5
45998 echo "${ECHO_T}no" >&6; }
45999 fi
46000
46001 if test "x$ac_ct_AR" = x; then
46002 AR="ar"
46003 else
46004 case $cross_compiling:$ac_tool_warned in
46005 yes:)
46006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46007 whose name does not start with the host triplet. If you think this
46008 configuration is useful to you, please write to autoconf@gnu.org." >&5
46009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46010 whose name does not start with the host triplet. If you think this
46011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46012 ac_tool_warned=yes ;;
46013 esac
46014 AR=$ac_ct_AR
46015 fi
46016 else
46017 AR="$ac_cv_prog_AR"
46018 fi
46019
46020 AROPTIONS=rcu
46021 fi
46022
46023
46024 if test -n "$ac_tool_prefix"; then
46025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46026 set dummy ${ac_tool_prefix}strip; ac_word=$2
46027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46029 if test "${ac_cv_prog_STRIP+set}" = set; then
46030 echo $ECHO_N "(cached) $ECHO_C" >&6
46031 else
46032 if test -n "$STRIP"; then
46033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46034 else
46035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46036 for as_dir in $PATH
46037 do
46038 IFS=$as_save_IFS
46039 test -z "$as_dir" && as_dir=.
46040 for ac_exec_ext in '' $ac_executable_extensions; do
46041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46042 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46044 break 2
46045 fi
46046 done
46047 done
46048 IFS=$as_save_IFS
46049
46050 fi
46051 fi
46052 STRIP=$ac_cv_prog_STRIP
46053 if test -n "$STRIP"; then
46054 { echo "$as_me:$LINENO: result: $STRIP" >&5
46055 echo "${ECHO_T}$STRIP" >&6; }
46056 else
46057 { echo "$as_me:$LINENO: result: no" >&5
46058 echo "${ECHO_T}no" >&6; }
46059 fi
46060
46061
46062 fi
46063 if test -z "$ac_cv_prog_STRIP"; then
46064 ac_ct_STRIP=$STRIP
46065 # Extract the first word of "strip", so it can be a program name with args.
46066 set dummy strip; ac_word=$2
46067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46069 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46070 echo $ECHO_N "(cached) $ECHO_C" >&6
46071 else
46072 if test -n "$ac_ct_STRIP"; then
46073 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46074 else
46075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46076 for as_dir in $PATH
46077 do
46078 IFS=$as_save_IFS
46079 test -z "$as_dir" && as_dir=.
46080 for ac_exec_ext in '' $ac_executable_extensions; do
46081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46082 ac_cv_prog_ac_ct_STRIP="strip"
46083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46084 break 2
46085 fi
46086 done
46087 done
46088 IFS=$as_save_IFS
46089
46090 fi
46091 fi
46092 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46093 if test -n "$ac_ct_STRIP"; then
46094 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46095 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46096 else
46097 { echo "$as_me:$LINENO: result: no" >&5
46098 echo "${ECHO_T}no" >&6; }
46099 fi
46100
46101 if test "x$ac_ct_STRIP" = x; then
46102 STRIP=":"
46103 else
46104 case $cross_compiling:$ac_tool_warned in
46105 yes:)
46106 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46107 whose name does not start with the host triplet. If you think this
46108 configuration is useful to you, please write to autoconf@gnu.org." >&5
46109 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46110 whose name does not start with the host triplet. If you think this
46111 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46112 ac_tool_warned=yes ;;
46113 esac
46114 STRIP=$ac_ct_STRIP
46115 fi
46116 else
46117 STRIP="$ac_cv_prog_STRIP"
46118 fi
46119
46120 if test -n "$ac_tool_prefix"; then
46121 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46122 set dummy ${ac_tool_prefix}nm; ac_word=$2
46123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46125 if test "${ac_cv_prog_NM+set}" = set; then
46126 echo $ECHO_N "(cached) $ECHO_C" >&6
46127 else
46128 if test -n "$NM"; then
46129 ac_cv_prog_NM="$NM" # Let the user override the test.
46130 else
46131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46132 for as_dir in $PATH
46133 do
46134 IFS=$as_save_IFS
46135 test -z "$as_dir" && as_dir=.
46136 for ac_exec_ext in '' $ac_executable_extensions; do
46137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46138 ac_cv_prog_NM="${ac_tool_prefix}nm"
46139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46140 break 2
46141 fi
46142 done
46143 done
46144 IFS=$as_save_IFS
46145
46146 fi
46147 fi
46148 NM=$ac_cv_prog_NM
46149 if test -n "$NM"; then
46150 { echo "$as_me:$LINENO: result: $NM" >&5
46151 echo "${ECHO_T}$NM" >&6; }
46152 else
46153 { echo "$as_me:$LINENO: result: no" >&5
46154 echo "${ECHO_T}no" >&6; }
46155 fi
46156
46157
46158 fi
46159 if test -z "$ac_cv_prog_NM"; then
46160 ac_ct_NM=$NM
46161 # Extract the first word of "nm", so it can be a program name with args.
46162 set dummy nm; ac_word=$2
46163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46165 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46166 echo $ECHO_N "(cached) $ECHO_C" >&6
46167 else
46168 if test -n "$ac_ct_NM"; then
46169 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46170 else
46171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46172 for as_dir in $PATH
46173 do
46174 IFS=$as_save_IFS
46175 test -z "$as_dir" && as_dir=.
46176 for ac_exec_ext in '' $ac_executable_extensions; do
46177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46178 ac_cv_prog_ac_ct_NM="nm"
46179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46180 break 2
46181 fi
46182 done
46183 done
46184 IFS=$as_save_IFS
46185
46186 fi
46187 fi
46188 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46189 if test -n "$ac_ct_NM"; then
46190 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46191 echo "${ECHO_T}$ac_ct_NM" >&6; }
46192 else
46193 { echo "$as_me:$LINENO: result: no" >&5
46194 echo "${ECHO_T}no" >&6; }
46195 fi
46196
46197 if test "x$ac_ct_NM" = x; then
46198 NM=":"
46199 else
46200 case $cross_compiling:$ac_tool_warned in
46201 yes:)
46202 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46203 whose name does not start with the host triplet. If you think this
46204 configuration is useful to you, please write to autoconf@gnu.org." >&5
46205 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46206 whose name does not start with the host triplet. If you think this
46207 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46208 ac_tool_warned=yes ;;
46209 esac
46210 NM=$ac_ct_NM
46211 fi
46212 else
46213 NM="$ac_cv_prog_NM"
46214 fi
46215
46216
46217 case ${BAKEFILE_HOST} in
46218 *-hp-hpux* )
46219 INSTALL_DIR="mkdir -p"
46220 ;;
46221 * )
46222 INSTALL_DIR='$(INSTALL) -d'
46223 ;;
46224 esac
46225
46226
46227 LDFLAGS_GUI=
46228 case ${BAKEFILE_HOST} in
46229 *-*-cygwin* | *-*-mingw32* )
46230 LDFLAGS_GUI="-mwindows"
46231 esac
46232
46233
46234 fi
46235
46236 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46237 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46238 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46239 echo $ECHO_N "(cached) $ECHO_C" >&6
46240 else
46241
46242 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46243 egrep -s GNU > /dev/null); then
46244 bakefile_cv_prog_makeisgnu="yes"
46245 else
46246 bakefile_cv_prog_makeisgnu="no"
46247 fi
46248
46249 fi
46250 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46251 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46252
46253 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46254 IF_GNU_MAKE=""
46255 else
46256 IF_GNU_MAKE="#"
46257 fi
46258
46259
46260
46261 PLATFORM_UNIX=0
46262 PLATFORM_WIN32=0
46263 PLATFORM_MSDOS=0
46264 PLATFORM_MAC=0
46265 PLATFORM_MACOS=0
46266 PLATFORM_MACOSX=0
46267 PLATFORM_OS2=0
46268 PLATFORM_BEOS=0
46269
46270 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46271 case "${BAKEFILE_HOST}" in
46272 *-*-mingw32* )
46273 PLATFORM_WIN32=1
46274 ;;
46275 *-pc-msdosdjgpp )
46276 PLATFORM_MSDOS=1
46277 ;;
46278 *-pc-os2_emx | *-pc-os2-emx )
46279 PLATFORM_OS2=1
46280 ;;
46281 *-*-darwin* )
46282 PLATFORM_MAC=1
46283 PLATFORM_MACOSX=1
46284 ;;
46285 *-*-beos* )
46286 PLATFORM_BEOS=1
46287 ;;
46288 powerpc-apple-macos* )
46289 PLATFORM_MAC=1
46290 PLATFORM_MACOS=1
46291 ;;
46292 * )
46293 PLATFORM_UNIX=1
46294 ;;
46295 esac
46296 else
46297 case "$BAKEFILE_FORCE_PLATFORM" in
46298 win32 )
46299 PLATFORM_WIN32=1
46300 ;;
46301 msdos )
46302 PLATFORM_MSDOS=1
46303 ;;
46304 os2 )
46305 PLATFORM_OS2=1
46306 ;;
46307 darwin )
46308 PLATFORM_MAC=1
46309 PLATFORM_MACOSX=1
46310 ;;
46311 unix )
46312 PLATFORM_UNIX=1
46313 ;;
46314 beos )
46315 PLATFORM_BEOS=1
46316 ;;
46317 * )
46318 ;;
46319 esac
46320 fi
46321
46322
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332 # Check whether --enable-omf was given.
46333 if test "${enable_omf+set}" = set; then
46334 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46335 fi
46336
46337
46338 case "${BAKEFILE_HOST}" in
46339 *-*-darwin* )
46340 if test "x$GCC" = "xyes"; then
46341 CFLAGS="$CFLAGS -fno-common"
46342 CXXFLAGS="$CXXFLAGS -fno-common"
46343 fi
46344 if test "x$XLCC" = "xyes"; then
46345 CFLAGS="$CFLAGS -qnocommon"
46346 CXXFLAGS="$CXXFLAGS -qnocommon"
46347 fi
46348 ;;
46349
46350 *-pc-os2_emx | *-pc-os2-emx )
46351 if test "x$bk_os2_use_omf" = "xyes" ; then
46352 AR=emxomfar
46353 RANLIB=:
46354 LDFLAGS="-Zomf $LDFLAGS"
46355 CFLAGS="-Zomf $CFLAGS"
46356 CXXFLAGS="-Zomf $CXXFLAGS"
46357 OS2_LIBEXT="lib"
46358 else
46359 OS2_LIBEXT="a"
46360 fi
46361 ;;
46362
46363 i*86-*-beos* )
46364 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46365 ;;
46366 esac
46367
46368
46369 SO_SUFFIX="so"
46370 SO_SUFFIX_MODULE="so"
46371 EXEEXT=""
46372 LIBPREFIX="lib"
46373 LIBEXT=".a"
46374 DLLPREFIX="lib"
46375 DLLPREFIX_MODULE=""
46376 DLLIMP_SUFFIX=""
46377 dlldir="$libdir"
46378
46379 case "${BAKEFILE_HOST}" in
46380 *-hp-hpux* )
46381 SO_SUFFIX="sl"
46382 SO_SUFFIX_MODULE="sl"
46383 ;;
46384 *-*-aix* )
46385 SO_SUFFIX="a"
46386 SO_SUFFIX_MODULE="a"
46387 ;;
46388 *-*-cygwin* )
46389 SO_SUFFIX="dll"
46390 SO_SUFFIX_MODULE="dll"
46391 DLLIMP_SUFFIX="dll.a"
46392 EXEEXT=".exe"
46393 DLLPREFIX="cyg"
46394 dlldir="$bindir"
46395 ;;
46396 *-*-mingw32* )
46397 SO_SUFFIX="dll"
46398 SO_SUFFIX_MODULE="dll"
46399 DLLIMP_SUFFIX="dll.a"
46400 EXEEXT=".exe"
46401 DLLPREFIX=""
46402 dlldir="$bindir"
46403 ;;
46404 *-pc-msdosdjgpp )
46405 EXEEXT=".exe"
46406 DLLPREFIX=""
46407 dlldir="$bindir"
46408 ;;
46409 *-pc-os2_emx | *-pc-os2-emx )
46410 SO_SUFFIX="dll"
46411 SO_SUFFIX_MODULE="dll"
46412 DLLIMP_SUFFIX=$OS2_LIBEXT
46413 EXEEXT=".exe"
46414 DLLPREFIX=""
46415 LIBPREFIX=""
46416 LIBEXT=".$OS2_LIBEXT"
46417 dlldir="$bindir"
46418 ;;
46419 *-*-darwin* )
46420 SO_SUFFIX="dylib"
46421 SO_SUFFIX_MODULE="bundle"
46422 ;;
46423 esac
46424
46425 if test "x$DLLIMP_SUFFIX" = "x" ; then
46426 DLLIMP_SUFFIX="$SO_SUFFIX"
46427 fi
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440 PIC_FLAG=""
46441 if test "x$GCC" = "xyes"; then
46442 PIC_FLAG="-fPIC"
46443 fi
46444
46445 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46446 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46447 WINDOWS_IMPLIB=0
46448
46449 case "${BAKEFILE_HOST}" in
46450 *-hp-hpux* )
46451 if test "x$GCC" != "xyes"; then
46452 LDFLAGS="$LDFLAGS -L/usr/lib"
46453
46454 SHARED_LD_CC="${CC} -b -o"
46455 SHARED_LD_CXX="${CXX} -b -o"
46456 PIC_FLAG="+Z"
46457 fi
46458 ;;
46459
46460 *-*-linux* )
46461 if test "x$GCC" != "xyes"; then
46462 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46463 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46464 if test "${bakefile_cv_prog_icc+set}" = set; then
46465 echo $ECHO_N "(cached) $ECHO_C" >&6
46466 else
46467
46468 cat >conftest.$ac_ext <<_ACEOF
46469 /* confdefs.h. */
46470 _ACEOF
46471 cat confdefs.h >>conftest.$ac_ext
46472 cat >>conftest.$ac_ext <<_ACEOF
46473 /* end confdefs.h. */
46474
46475 int
46476 main ()
46477 {
46478
46479 #ifndef __INTEL_COMPILER
46480 This is not ICC
46481 #endif
46482
46483 ;
46484 return 0;
46485 }
46486 _ACEOF
46487 rm -f conftest.$ac_objext
46488 if { (ac_try="$ac_compile"
46489 case "(($ac_try" in
46490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46491 *) ac_try_echo=$ac_try;;
46492 esac
46493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46494 (eval "$ac_compile") 2>conftest.er1
46495 ac_status=$?
46496 grep -v '^ *+' conftest.er1 >conftest.err
46497 rm -f conftest.er1
46498 cat conftest.err >&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } && {
46501 test -z "$ac_c_werror_flag" ||
46502 test ! -s conftest.err
46503 } && test -s conftest.$ac_objext; then
46504 bakefile_cv_prog_icc=yes
46505 else
46506 echo "$as_me: failed program was:" >&5
46507 sed 's/^/| /' conftest.$ac_ext >&5
46508
46509 bakefile_cv_prog_icc=no
46510
46511 fi
46512
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514
46515 fi
46516 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46517 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46518 if test "$bakefile_cv_prog_icc" = "yes"; then
46519 PIC_FLAG="-KPIC"
46520 fi
46521 fi
46522 ;;
46523
46524 *-*-solaris2* )
46525 if test "x$GCC" != xyes ; then
46526 SHARED_LD_CC="${CC} -G -o"
46527 SHARED_LD_CXX="${CXX} -G -o"
46528 PIC_FLAG="-KPIC"
46529 fi
46530 ;;
46531
46532 *-*-darwin* )
46533
46534 D='$'
46535 cat <<EOF >shared-ld-sh
46536 #!/bin/sh
46537 #-----------------------------------------------------------------------------
46538 #-- Name: distrib/mac/shared-ld-sh
46539 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46540 #-- Author: Gilles Depeyrot
46541 #-- Copyright: (c) 2002 Gilles Depeyrot
46542 #-- Licence: any use permitted
46543 #-----------------------------------------------------------------------------
46544
46545 verbose=0
46546 args=""
46547 objects=""
46548 linking_flag="-dynamiclib"
46549 ldargs="-r -keep_private_externs -nostdlib"
46550
46551 while test ${D}# -gt 0; do
46552 case ${D}1 in
46553
46554 -v)
46555 verbose=1
46556 ;;
46557
46558 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46559 # collect these options and values
46560 args="${D}{args} ${D}1 ${D}2"
46561 shift
46562 ;;
46563
46564 -s|-Wl,*)
46565 # collect these load args
46566 ldargs="${D}{ldargs} ${D}1"
46567 ;;
46568
46569 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46570 # collect these options
46571 args="${D}{args} ${D}1"
46572 ;;
46573
46574 -dynamiclib|-bundle)
46575 linking_flag="${D}1"
46576 ;;
46577
46578 -*)
46579 echo "shared-ld: unhandled option '${D}1'"
46580 exit 1
46581 ;;
46582
46583 *.o | *.a | *.dylib)
46584 # collect object files
46585 objects="${D}{objects} ${D}1"
46586 ;;
46587
46588 *)
46589 echo "shared-ld: unhandled argument '${D}1'"
46590 exit 1
46591 ;;
46592
46593 esac
46594 shift
46595 done
46596
46597 status=0
46598
46599 #
46600 # Link one module containing all the others
46601 #
46602 if test ${D}{verbose} = 1; then
46603 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46604 fi
46605 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46606 status=${D}?
46607
46608 #
46609 # Link the shared library from the single module created, but only if the
46610 # previous command didn't fail:
46611 #
46612 if test ${D}{status} = 0; then
46613 if test ${D}{verbose} = 1; then
46614 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46615 fi
46616 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46617 status=${D}?
46618 fi
46619
46620 #
46621 # Remove intermediate module
46622 #
46623 rm -f master.${D}${D}.o
46624
46625 exit ${D}status
46626 EOF
46627
46628 chmod +x shared-ld-sh
46629
46630 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46631 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46632
46633
46634 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46635 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46636 if test "${bakefile_cv_gcc31+set}" = set; then
46637 echo $ECHO_N "(cached) $ECHO_C" >&6
46638 else
46639
46640 cat >conftest.$ac_ext <<_ACEOF
46641 /* confdefs.h. */
46642 _ACEOF
46643 cat confdefs.h >>conftest.$ac_ext
46644 cat >>conftest.$ac_ext <<_ACEOF
46645 /* end confdefs.h. */
46646
46647 int
46648 main ()
46649 {
46650
46651 #if (__GNUC__ < 3) || \
46652 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46653 This is old gcc
46654 #endif
46655
46656 ;
46657 return 0;
46658 }
46659 _ACEOF
46660 rm -f conftest.$ac_objext
46661 if { (ac_try="$ac_compile"
46662 case "(($ac_try" in
46663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46664 *) ac_try_echo=$ac_try;;
46665 esac
46666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46667 (eval "$ac_compile") 2>conftest.er1
46668 ac_status=$?
46669 grep -v '^ *+' conftest.er1 >conftest.err
46670 rm -f conftest.er1
46671 cat conftest.err >&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); } && {
46674 test -z "$ac_c_werror_flag" ||
46675 test ! -s conftest.err
46676 } && test -s conftest.$ac_objext; then
46677
46678 bakefile_cv_gcc31=yes
46679
46680 else
46681 echo "$as_me: failed program was:" >&5
46682 sed 's/^/| /' conftest.$ac_ext >&5
46683
46684
46685 bakefile_cv_gcc31=no
46686
46687
46688 fi
46689
46690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46691
46692 fi
46693 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46694 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46695 if test "$bakefile_cv_gcc31" = "no"; then
46696 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46697 SHARED_LD_CXX="$SHARED_LD_CC"
46698 else
46699 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46700 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46701 fi
46702
46703 if test "x$GCC" == "xyes"; then
46704 PIC_FLAG="-dynamic -fPIC"
46705 fi
46706 if test "x$XLCC" = "xyes"; then
46707 PIC_FLAG="-dynamic -DPIC"
46708 fi
46709 ;;
46710
46711 *-*-aix* )
46712 if test "x$GCC" = "xyes"; then
46713 PIC_FLAG=""
46714
46715 case "${BAKEFILE_HOST}" in
46716 *-*-aix5* )
46717 LD_EXPFULL="-Wl,-bexpfull"
46718 ;;
46719 esac
46720
46721 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46722 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46723 else
46724 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46725 set dummy makeC++SharedLib; ac_word=$2
46726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46728 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46729 echo $ECHO_N "(cached) $ECHO_C" >&6
46730 else
46731 if test -n "$AIX_CXX_LD"; then
46732 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46733 else
46734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46735 for as_dir in $PATH
46736 do
46737 IFS=$as_save_IFS
46738 test -z "$as_dir" && as_dir=.
46739 for ac_exec_ext in '' $ac_executable_extensions; do
46740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46741 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46743 break 2
46744 fi
46745 done
46746 done
46747 IFS=$as_save_IFS
46748
46749 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46750 fi
46751 fi
46752 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46753 if test -n "$AIX_CXX_LD"; then
46754 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46755 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46756 else
46757 { echo "$as_me:$LINENO: result: no" >&5
46758 echo "${ECHO_T}no" >&6; }
46759 fi
46760
46761
46762 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46763 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46764 fi
46765 ;;
46766
46767 *-*-beos* )
46768 SHARED_LD_CC="${LD} -nostart -o"
46769 SHARED_LD_CXX="${LD} -nostart -o"
46770 ;;
46771
46772 *-*-irix* )
46773 if test "x$GCC" != "xyes"; then
46774 PIC_FLAG="-KPIC"
46775 fi
46776 ;;
46777
46778 *-*-cygwin* | *-*-mingw32* )
46779 PIC_FLAG=""
46780 SHARED_LD_CC="\$(CC) -shared -o"
46781 SHARED_LD_CXX="\$(CXX) -shared -o"
46782 WINDOWS_IMPLIB=1
46783 ;;
46784
46785 *-pc-os2_emx | *-pc-os2-emx )
46786 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46787 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46788 PIC_FLAG=""
46789
46790 D='$'
46791 cat <<EOF >dllar.sh
46792 #!/bin/sh
46793 #
46794 # dllar - a tool to build both a .dll and an .a file
46795 # from a set of object (.o) files for EMX/OS2.
46796 #
46797 # Written by Andrew Zabolotny, bit@freya.etu.ru
46798 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46799 #
46800 # This script will accept a set of files on the command line.
46801 # All the public symbols from the .o files will be exported into
46802 # a .DEF file, then linker will be run (through gcc) against them to
46803 # build a shared library consisting of all given .o files. All libraries
46804 # (.a) will be first decompressed into component .o files then act as
46805 # described above. You can optionally give a description (-d "description")
46806 # which will be put into .DLL. To see the list of accepted options (as well
46807 # as command-line format) simply run this program without options. The .DLL
46808 # is built to be imported by name (there is no guarantee that new versions
46809 # of the library you build will have same ordinals for same symbols).
46810 #
46811 # dllar is free software; you can redistribute it and/or modify
46812 # it under the terms of the GNU General Public License as published by
46813 # the Free Software Foundation; either version 2, or (at your option)
46814 # any later version.
46815 #
46816 # dllar is distributed in the hope that it will be useful,
46817 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46818 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46819 # GNU General Public License for more details.
46820 #
46821 # You should have received a copy of the GNU General Public License
46822 # along with dllar; see the file COPYING. If not, write to the Free
46823 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46824 # 02111-1307, USA.
46825
46826 # To successfuly run this program you will need:
46827 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46828 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46829 # - gcc
46830 # (used to build the .dll)
46831 # - emxexp
46832 # (used to create .def file from .o files)
46833 # - emximp
46834 # (used to create .a file from .def file)
46835 # - GNU text utilites (cat, sort, uniq)
46836 # used to process emxexp output
46837 # - GNU file utilities (mv, rm)
46838 # - GNU sed
46839 # - lxlite (optional, see flag below)
46840 # (used for general .dll cleanup)
46841 #
46842
46843 flag_USE_LXLITE=1;
46844
46845 #
46846 # helper functions
46847 # basnam, variant of basename, which does _not_ remove the path, _iff_
46848 # second argument (suffix to remove) is given
46849 basnam(){
46850 case ${D}# in
46851 1)
46852 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46853 ;;
46854 2)
46855 echo ${D}1 | sed 's/'${D}2'${D}//'
46856 ;;
46857 *)
46858 echo "error in basnam ${D}*"
46859 exit 8
46860 ;;
46861 esac
46862 }
46863
46864 # Cleanup temporary files and output
46865 CleanUp() {
46866 cd ${D}curDir
46867 for i in ${D}inputFiles ; do
46868 case ${D}i in
46869 *!)
46870 rm -rf \`basnam ${D}i !\`
46871 ;;
46872 *)
46873 ;;
46874 esac
46875 done
46876
46877 # Kill result in case of failure as there is just to many stupid make/nmake
46878 # things out there which doesn't do this.
46879 if [ ${D}# -eq 0 ]; then
46880 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46881 fi
46882 }
46883
46884 # Print usage and exit script with rc=1.
46885 PrintHelp() {
46886 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46887 echo ' [-name-mangler-script script.sh]'
46888 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46889 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46890 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46891 echo ' [*.o] [*.a]'
46892 echo '*> "output_file" should have no extension.'
46893 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46894 echo ' The import library name is derived from this and is set to "name".a,'
46895 echo ' unless overridden by -import'
46896 echo '*> "importlib_name" should have no extension.'
46897 echo ' If it has the .o, or .a extension, it is automatically removed.'
46898 echo ' This name is used as the import library name and may be longer and'
46899 echo ' more descriptive than the DLL name which has to follow the old '
46900 echo ' 8.3 convention of FAT.'
46901 echo '*> "script.sh may be given to override the output_file name by a'
46902 echo ' different name. It is mainly useful if the regular make process'
46903 echo ' of some package does not take into account OS/2 restriction of'
46904 echo ' DLL name lengths. It takes the importlib name as input and is'
46905 echo ' supposed to procude a shorter name as output. The script should'
46906 echo ' expect to get importlib_name without extension and should produce'
46907 echo ' a (max.) 8 letter name without extension.'
46908 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46909 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46910 echo ' These flags will be put at the start of GCC command line.'
46911 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46912 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46913 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46914 echo ' If the last character of a symbol is "*", all symbols beginning'
46915 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46916 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46917 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46918 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46919 echo ' C runtime DLLs.'
46920 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46921 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46922 echo ' unchanged to GCC at the end of command line.'
46923 echo '*> If you create a DLL from a library and you do not specify -o,'
46924 echo ' the basename for DLL and import library will be set to library name,'
46925 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46926 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46927 echo ' library will be renamed into gcc_s.a.'
46928 echo '--------'
46929 echo 'Example:'
46930 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46931 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46932 CleanUp
46933 exit 1
46934 }
46935
46936 # Execute a command.
46937 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46938 # @Uses Whatever CleanUp() uses.
46939 doCommand() {
46940 echo "${D}*"
46941 eval ${D}*
46942 rcCmd=${D}?
46943
46944 if [ ${D}rcCmd -ne 0 ]; then
46945 echo "command failed, exit code="${D}rcCmd
46946 CleanUp
46947 exit ${D}rcCmd
46948 fi
46949 }
46950
46951 # main routine
46952 # setup globals
46953 cmdLine=${D}*
46954 outFile=""
46955 outimpFile=""
46956 inputFiles=""
46957 renameScript=""
46958 description=""
46959 CC=gcc.exe
46960 CFLAGS="-s -Zcrtdll"
46961 EXTRA_CFLAGS=""
46962 EXPORT_BY_ORDINALS=0
46963 exclude_symbols=""
46964 library_flags=""
46965 curDir=\`pwd\`
46966 curDirS=curDir
46967 case ${D}curDirS in
46968 */)
46969 ;;
46970 *)
46971 curDirS=${D}{curDirS}"/"
46972 ;;
46973 esac
46974 # Parse commandline
46975 libsToLink=0
46976 omfLinking=0
46977 while [ ${D}1 ]; do
46978 case ${D}1 in
46979 -ord*)
46980 EXPORT_BY_ORDINALS=1;
46981 ;;
46982 -o*)
46983 shift
46984 outFile=${D}1
46985 ;;
46986 -i*)
46987 shift
46988 outimpFile=${D}1
46989 ;;
46990 -name-mangler-script)
46991 shift
46992 renameScript=${D}1
46993 ;;
46994 -d*)
46995 shift
46996 description=${D}1
46997 ;;
46998 -f*)
46999 shift
47000 CFLAGS=${D}1
47001 ;;
47002 -c*)
47003 shift
47004 CC=${D}1
47005 ;;
47006 -h*)
47007 PrintHelp
47008 ;;
47009 -ex*)
47010 shift
47011 exclude_symbols=${D}{exclude_symbols}${D}1" "
47012 ;;
47013 -libf*)
47014 shift
47015 library_flags=${D}{library_flags}${D}1" "
47016 ;;
47017 -nocrt*)
47018 CFLAGS="-s"
47019 ;;
47020 -nolxl*)
47021 flag_USE_LXLITE=0
47022 ;;
47023 -* | /*)
47024 case ${D}1 in
47025 -L* | -l*)
47026 libsToLink=1
47027 ;;
47028 -Zomf)
47029 omfLinking=1
47030 ;;
47031 *)
47032 ;;
47033 esac
47034 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47035 ;;
47036 *.dll)
47037 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47038 if [ ${D}omfLinking -eq 1 ]; then
47039 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47040 else
47041 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47042 fi
47043 ;;
47044 *)
47045 found=0;
47046 if [ ${D}libsToLink -ne 0 ]; then
47047 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47048 else
47049 for file in ${D}1 ; do
47050 if [ -f ${D}file ]; then
47051 inputFiles="${D}{inputFiles} ${D}file"
47052 found=1
47053 fi
47054 done
47055 if [ ${D}found -eq 0 ]; then
47056 echo "ERROR: No file(s) found: "${D}1
47057 exit 8
47058 fi
47059 fi
47060 ;;
47061 esac
47062 shift
47063 done # iterate cmdline words
47064
47065 #
47066 if [ -z "${D}inputFiles" ]; then
47067 echo "dllar: no input files"
47068 PrintHelp
47069 fi
47070
47071 # Now extract all .o files from .a files
47072 newInputFiles=""
47073 for file in ${D}inputFiles ; do
47074 case ${D}file in
47075 *.a | *.lib)
47076 case ${D}file in
47077 *.a)
47078 suffix=".a"
47079 AR="ar"
47080 ;;
47081 *.lib)
47082 suffix=".lib"
47083 AR="emxomfar"
47084 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47085 ;;
47086 *)
47087 ;;
47088 esac
47089 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47090 mkdir ${D}dirname
47091 if [ ${D}? -ne 0 ]; then
47092 echo "Failed to create subdirectory ./${D}dirname"
47093 CleanUp
47094 exit 8;
47095 fi
47096 # Append '!' to indicate archive
47097 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47098 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47099 cd ${D}curDir
47100 found=0;
47101 for subfile in ${D}dirname/*.o* ; do
47102 if [ -f ${D}subfile ]; then
47103 found=1
47104 if [ -s ${D}subfile ]; then
47105 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47106 newInputFiles="${D}newInputFiles ${D}subfile"
47107 fi
47108 fi
47109 done
47110 if [ ${D}found -eq 0 ]; then
47111 echo "WARNING: there are no files in archive \\'${D}file\\'"
47112 fi
47113 ;;
47114 *)
47115 newInputFiles="${D}{newInputFiles} ${D}file"
47116 ;;
47117 esac
47118 done
47119 inputFiles="${D}newInputFiles"
47120
47121 # Output filename(s).
47122 do_backup=0;
47123 if [ -z ${D}outFile ]; then
47124 do_backup=1;
47125 set outFile ${D}inputFiles; outFile=${D}2
47126 fi
47127
47128 # If it is an archive, remove the '!' and the '_%' suffixes
47129 case ${D}outFile in
47130 *_%!)
47131 outFile=\`basnam ${D}outFile _%!\`
47132 ;;
47133 *)
47134 ;;
47135 esac
47136 case ${D}outFile in
47137 *.dll)
47138 outFile=\`basnam ${D}outFile .dll\`
47139 ;;
47140 *.DLL)
47141 outFile=\`basnam ${D}outFile .DLL\`
47142 ;;
47143 *.o)
47144 outFile=\`basnam ${D}outFile .o\`
47145 ;;
47146 *.obj)
47147 outFile=\`basnam ${D}outFile .obj\`
47148 ;;
47149 *.a)
47150 outFile=\`basnam ${D}outFile .a\`
47151 ;;
47152 *.lib)
47153 outFile=\`basnam ${D}outFile .lib\`
47154 ;;
47155 *)
47156 ;;
47157 esac
47158 case ${D}outimpFile in
47159 *.a)
47160 outimpFile=\`basnam ${D}outimpFile .a\`
47161 ;;
47162 *.lib)
47163 outimpFile=\`basnam ${D}outimpFile .lib\`
47164 ;;
47165 *)
47166 ;;
47167 esac
47168 if [ -z ${D}outimpFile ]; then
47169 outimpFile=${D}outFile
47170 fi
47171 defFile="${D}{outFile}.def"
47172 arcFile="${D}{outimpFile}.a"
47173 arcFile2="${D}{outimpFile}.lib"
47174
47175 #create ${D}dllFile as something matching 8.3 restrictions,
47176 if [ -z ${D}renameScript ] ; then
47177 dllFile="${D}outFile"
47178 else
47179 dllFile=\`${D}renameScript ${D}outimpFile\`
47180 fi
47181
47182 if [ ${D}do_backup -ne 0 ] ; then
47183 if [ -f ${D}arcFile ] ; then
47184 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47185 fi
47186 if [ -f ${D}arcFile2 ] ; then
47187 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47188 fi
47189 fi
47190
47191 # Extract public symbols from all the object files.
47192 tmpdefFile=${D}{defFile}_%
47193 rm -f ${D}tmpdefFile
47194 for file in ${D}inputFiles ; do
47195 case ${D}file in
47196 *!)
47197 ;;
47198 *)
47199 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47200 ;;
47201 esac
47202 done
47203
47204 # Create the def file.
47205 rm -f ${D}defFile
47206 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47207 dllFile="${D}{dllFile}.dll"
47208 if [ ! -z ${D}description ]; then
47209 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47210 fi
47211 echo "EXPORTS" >> ${D}defFile
47212
47213 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47214 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47215
47216 # Checks if the export is ok or not.
47217 for word in ${D}exclude_symbols; do
47218 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47219 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47220 done
47221
47222
47223 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47224 sed "=" < ${D}tmpdefFile | \\
47225 sed '
47226 N
47227 : loop
47228 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47229 t loop
47230 ' > ${D}{tmpdefFile}%
47231 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47232 else
47233 rm -f ${D}{tmpdefFile}%
47234 fi
47235 cat ${D}tmpdefFile >> ${D}defFile
47236 rm -f ${D}tmpdefFile
47237
47238 # Do linking, create implib, and apply lxlite.
47239 gccCmdl="";
47240 for file in ${D}inputFiles ; do
47241 case ${D}file in
47242 *!)
47243 ;;
47244 *)
47245 gccCmdl="${D}gccCmdl ${D}file"
47246 ;;
47247 esac
47248 done
47249 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47250 touch "${D}{outFile}.dll"
47251
47252 doCommand "emximp -o ${D}arcFile ${D}defFile"
47253 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47254 add_flags="";
47255 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47256 add_flags="-ynd"
47257 fi
47258 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47259 fi
47260 doCommand "emxomf -s -l ${D}arcFile"
47261
47262 # Successful exit.
47263 CleanUp 1
47264 exit 0
47265 EOF
47266
47267 chmod +x dllar.sh
47268 ;;
47269
47270 powerpc-apple-macos* | \
47271 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47272 *-*-mirbsd* | \
47273 *-*-sunos4* | \
47274 *-*-osf* | \
47275 *-*-dgux5* | \
47276 *-*-sysv5* | \
47277 *-pc-msdosdjgpp )
47278 ;;
47279
47280 *)
47281 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47282 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47283 { (exit 1); exit 1; }; }
47284 esac
47285
47286 if test "x$PIC_FLAG" != "x" ; then
47287 PIC_FLAG="$PIC_FLAG -DPIC"
47288 fi
47289
47290 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47291 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47292 fi
47293 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47294 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47295 fi
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305 USE_SOVERSION=0
47306 USE_SOVERLINUX=0
47307 USE_SOVERSOLARIS=0
47308 USE_SOVERCYGWIN=0
47309 USE_SOSYMLINKS=0
47310 USE_MACVERSION=0
47311 SONAME_FLAG=
47312
47313 case "${BAKEFILE_HOST}" in
47314 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47315 SONAME_FLAG="-Wl,-soname,"
47316 USE_SOVERSION=1
47317 USE_SOVERLINUX=1
47318 USE_SOSYMLINKS=1
47319 ;;
47320
47321 *-*-solaris2* )
47322 SONAME_FLAG="-h "
47323 USE_SOVERSION=1
47324 USE_SOVERSOLARIS=1
47325 USE_SOSYMLINKS=1
47326 ;;
47327
47328 *-*-darwin* )
47329 USE_MACVERSION=1
47330 USE_SOVERSION=1
47331 USE_SOSYMLINKS=1
47332 ;;
47333
47334 *-*-cygwin* )
47335 USE_SOVERSION=1
47336 USE_SOVERCYGWIN=1
47337 ;;
47338 esac
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349 # Check whether --enable-dependency-tracking was given.
47350 if test "${enable_dependency_tracking+set}" = set; then
47351 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47352 fi
47353
47354
47355 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47356 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47357
47358 BK_DEPS=""
47359 if test "x$bk_use_trackdeps" = "xno" ; then
47360 DEPS_TRACKING=0
47361 { echo "$as_me:$LINENO: result: disabled" >&5
47362 echo "${ECHO_T}disabled" >&6; }
47363 else
47364 DEPS_TRACKING=1
47365
47366 if test "x$GCC" = "xyes"; then
47367 DEPSMODE=gcc
47368 case "${BAKEFILE_HOST}" in
47369 *-*-darwin* )
47370 DEPSFLAG="-no-cpp-precomp -MMD"
47371 ;;
47372 * )
47373 DEPSFLAG="-MMD"
47374 ;;
47375 esac
47376 { echo "$as_me:$LINENO: result: gcc" >&5
47377 echo "${ECHO_T}gcc" >&6; }
47378 elif test "x$MWCC" = "xyes"; then
47379 DEPSMODE=mwcc
47380 DEPSFLAG="-MM"
47381 { echo "$as_me:$LINENO: result: mwcc" >&5
47382 echo "${ECHO_T}mwcc" >&6; }
47383 elif test "x$SUNCC" = "xyes"; then
47384 DEPSMODE=unixcc
47385 DEPSFLAG="-xM1"
47386 { echo "$as_me:$LINENO: result: Sun cc" >&5
47387 echo "${ECHO_T}Sun cc" >&6; }
47388 elif test "x$SGICC" = "xyes"; then
47389 DEPSMODE=unixcc
47390 DEPSFLAG="-M"
47391 { echo "$as_me:$LINENO: result: SGI cc" >&5
47392 echo "${ECHO_T}SGI cc" >&6; }
47393 elif test "x$HPCC" = "xyes"; then
47394 DEPSMODE=unixcc
47395 DEPSFLAG="+make"
47396 { echo "$as_me:$LINENO: result: HP cc" >&5
47397 echo "${ECHO_T}HP cc" >&6; }
47398 elif test "x$COMPAQCC" = "xyes"; then
47399 DEPSMODE=gcc
47400 DEPSFLAG="-MD"
47401 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47402 echo "${ECHO_T}Compaq cc" >&6; }
47403 else
47404 DEPS_TRACKING=0
47405 { echo "$as_me:$LINENO: result: none" >&5
47406 echo "${ECHO_T}none" >&6; }
47407 fi
47408
47409 if test $DEPS_TRACKING = 1 ; then
47410
47411 D='$'
47412 cat <<EOF >bk-deps
47413 #!/bin/sh
47414
47415 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47416 # script. It is used to track C/C++ files dependencies in portable way.
47417 #
47418 # Permission is given to use this file in any way.
47419
47420 DEPSMODE=${DEPSMODE}
47421 DEPSDIR=.deps
47422 DEPSFLAG="${DEPSFLAG}"
47423
47424 mkdir -p ${D}DEPSDIR
47425
47426 if test ${D}DEPSMODE = gcc ; then
47427 ${D}* ${D}{DEPSFLAG}
47428 status=${D}?
47429 if test ${D}{status} != 0 ; then
47430 exit ${D}{status}
47431 fi
47432 # move created file to the location we want it in:
47433 while test ${D}# -gt 0; do
47434 case "${D}1" in
47435 -o )
47436 shift
47437 objfile=${D}1
47438 ;;
47439 -* )
47440 ;;
47441 * )
47442 srcfile=${D}1
47443 ;;
47444 esac
47445 shift
47446 done
47447 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47448 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47449 if test -f ${D}depfile ; then
47450 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47451 rm -f ${D}depfile
47452 else
47453 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47454 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47455 if test ! -f ${D}depfile ; then
47456 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47457 depfile="${D}objfile.d"
47458 fi
47459 if test -f ${D}depfile ; then
47460 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47461 rm -f ${D}depfile
47462 fi
47463 fi
47464 exit 0
47465 elif test ${D}DEPSMODE = mwcc ; then
47466 ${D}* || exit ${D}?
47467 # Run mwcc again with -MM and redirect into the dep file we want
47468 # NOTE: We can't use shift here because we need ${D}* to be valid
47469 prevarg=
47470 for arg in ${D}* ; do
47471 if test "${D}prevarg" = "-o"; then
47472 objfile=${D}arg
47473 else
47474 case "${D}arg" in
47475 -* )
47476 ;;
47477 * )
47478 srcfile=${D}arg
47479 ;;
47480 esac
47481 fi
47482 prevarg="${D}arg"
47483 done
47484 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47485 exit 0
47486 elif test ${D}DEPSMODE = unixcc; then
47487 ${D}* || exit ${D}?
47488 # Run compiler again with deps flag and redirect into the dep file.
47489 # It doesn't work if the '-o FILE' option is used, but without it the
47490 # dependency file will contain the wrong name for the object. So it is
47491 # removed from the command line, and the dep file is fixed with sed.
47492 cmd=""
47493 while test ${D}# -gt 0; do
47494 case "${D}1" in
47495 -o )
47496 shift
47497 objfile=${D}1
47498 ;;
47499 * )
47500 eval arg${D}#=\\${D}1
47501 cmd="${D}cmd \\${D}arg${D}#"
47502 ;;
47503 esac
47504 shift
47505 done
47506 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47507 exit 0
47508 else
47509 ${D}*
47510 exit ${D}?
47511 fi
47512 EOF
47513
47514 chmod +x bk-deps
47515 BK_DEPS="`pwd`/bk-deps"
47516 fi
47517 fi
47518
47519
47520
47521
47522
47523 case ${BAKEFILE_HOST} in
47524 *-*-cygwin* | *-*-mingw32* )
47525 if test -n "$ac_tool_prefix"; then
47526 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47527 set dummy ${ac_tool_prefix}windres; ac_word=$2
47528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47530 if test "${ac_cv_prog_WINDRES+set}" = set; then
47531 echo $ECHO_N "(cached) $ECHO_C" >&6
47532 else
47533 if test -n "$WINDRES"; then
47534 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47535 else
47536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47537 for as_dir in $PATH
47538 do
47539 IFS=$as_save_IFS
47540 test -z "$as_dir" && as_dir=.
47541 for ac_exec_ext in '' $ac_executable_extensions; do
47542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47543 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47545 break 2
47546 fi
47547 done
47548 done
47549 IFS=$as_save_IFS
47550
47551 fi
47552 fi
47553 WINDRES=$ac_cv_prog_WINDRES
47554 if test -n "$WINDRES"; then
47555 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47556 echo "${ECHO_T}$WINDRES" >&6; }
47557 else
47558 { echo "$as_me:$LINENO: result: no" >&5
47559 echo "${ECHO_T}no" >&6; }
47560 fi
47561
47562
47563 fi
47564 if test -z "$ac_cv_prog_WINDRES"; then
47565 ac_ct_WINDRES=$WINDRES
47566 # Extract the first word of "windres", so it can be a program name with args.
47567 set dummy windres; ac_word=$2
47568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47570 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47571 echo $ECHO_N "(cached) $ECHO_C" >&6
47572 else
47573 if test -n "$ac_ct_WINDRES"; then
47574 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47575 else
47576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47577 for as_dir in $PATH
47578 do
47579 IFS=$as_save_IFS
47580 test -z "$as_dir" && as_dir=.
47581 for ac_exec_ext in '' $ac_executable_extensions; do
47582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47583 ac_cv_prog_ac_ct_WINDRES="windres"
47584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47585 break 2
47586 fi
47587 done
47588 done
47589 IFS=$as_save_IFS
47590
47591 fi
47592 fi
47593 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47594 if test -n "$ac_ct_WINDRES"; then
47595 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47596 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47597 else
47598 { echo "$as_me:$LINENO: result: no" >&5
47599 echo "${ECHO_T}no" >&6; }
47600 fi
47601
47602 if test "x$ac_ct_WINDRES" = x; then
47603 WINDRES=""
47604 else
47605 case $cross_compiling:$ac_tool_warned in
47606 yes:)
47607 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47608 whose name does not start with the host triplet. If you think this
47609 configuration is useful to you, please write to autoconf@gnu.org." >&5
47610 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47611 whose name does not start with the host triplet. If you think this
47612 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47613 ac_tool_warned=yes ;;
47614 esac
47615 WINDRES=$ac_ct_WINDRES
47616 fi
47617 else
47618 WINDRES="$ac_cv_prog_WINDRES"
47619 fi
47620
47621 ;;
47622
47623 *-*-darwin* | powerpc-apple-macos* )
47624 # Extract the first word of "Rez", so it can be a program name with args.
47625 set dummy Rez; ac_word=$2
47626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47628 if test "${ac_cv_prog_REZ+set}" = set; then
47629 echo $ECHO_N "(cached) $ECHO_C" >&6
47630 else
47631 if test -n "$REZ"; then
47632 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47633 else
47634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47635 for as_dir in $PATH
47636 do
47637 IFS=$as_save_IFS
47638 test -z "$as_dir" && as_dir=.
47639 for ac_exec_ext in '' $ac_executable_extensions; do
47640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47641 ac_cv_prog_REZ="Rez"
47642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47643 break 2
47644 fi
47645 done
47646 done
47647 IFS=$as_save_IFS
47648
47649 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47650 fi
47651 fi
47652 REZ=$ac_cv_prog_REZ
47653 if test -n "$REZ"; then
47654 { echo "$as_me:$LINENO: result: $REZ" >&5
47655 echo "${ECHO_T}$REZ" >&6; }
47656 else
47657 { echo "$as_me:$LINENO: result: no" >&5
47658 echo "${ECHO_T}no" >&6; }
47659 fi
47660
47661
47662 # Extract the first word of "SetFile", so it can be a program name with args.
47663 set dummy SetFile; ac_word=$2
47664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47666 if test "${ac_cv_prog_SETFILE+set}" = set; then
47667 echo $ECHO_N "(cached) $ECHO_C" >&6
47668 else
47669 if test -n "$SETFILE"; then
47670 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47671 else
47672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47673 for as_dir in $PATH
47674 do
47675 IFS=$as_save_IFS
47676 test -z "$as_dir" && as_dir=.
47677 for ac_exec_ext in '' $ac_executable_extensions; do
47678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47679 ac_cv_prog_SETFILE="SetFile"
47680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47681 break 2
47682 fi
47683 done
47684 done
47685 IFS=$as_save_IFS
47686
47687 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47688 fi
47689 fi
47690 SETFILE=$ac_cv_prog_SETFILE
47691 if test -n "$SETFILE"; then
47692 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47693 echo "${ECHO_T}$SETFILE" >&6; }
47694 else
47695 { echo "$as_me:$LINENO: result: no" >&5
47696 echo "${ECHO_T}no" >&6; }
47697 fi
47698
47699
47700 ;;
47701 esac
47702
47703
47704
47705
47706
47707
47708 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47709
47710
47711 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47712
47713
47714
47715 # Check whether --enable-precomp-headers was given.
47716 if test "${enable_precomp_headers+set}" = set; then
47717 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47718 fi
47719
47720
47721 GCC_PCH=0
47722 ICC_PCH=0
47723 USE_PCH=0
47724 BK_MAKE_PCH=""
47725
47726 case ${BAKEFILE_HOST} in
47727 *-*-cygwin* )
47728 bk_use_pch="no"
47729 ;;
47730 esac
47731
47732 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47733 if test "x$GCC" = "xyes"; then
47734 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47735 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47736 cat >conftest.$ac_ext <<_ACEOF
47737 /* confdefs.h. */
47738 _ACEOF
47739 cat confdefs.h >>conftest.$ac_ext
47740 cat >>conftest.$ac_ext <<_ACEOF
47741 /* end confdefs.h. */
47742
47743 int
47744 main ()
47745 {
47746
47747 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47748 There is no PCH support
47749 #endif
47750 #if (__GNUC__ < 3)
47751 There is no PCH support
47752 #endif
47753 #if (__GNUC__ == 3) && \
47754 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47755 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47756 ( defined(__INTEL_COMPILER) )
47757 There is no PCH support
47758 #endif
47759
47760 ;
47761 return 0;
47762 }
47763 _ACEOF
47764 rm -f conftest.$ac_objext
47765 if { (ac_try="$ac_compile"
47766 case "(($ac_try" in
47767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47768 *) ac_try_echo=$ac_try;;
47769 esac
47770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47771 (eval "$ac_compile") 2>conftest.er1
47772 ac_status=$?
47773 grep -v '^ *+' conftest.er1 >conftest.err
47774 rm -f conftest.er1
47775 cat conftest.err >&5
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); } && {
47778 test -z "$ac_c_werror_flag" ||
47779 test ! -s conftest.err
47780 } && test -s conftest.$ac_objext; then
47781
47782 { echo "$as_me:$LINENO: result: yes" >&5
47783 echo "${ECHO_T}yes" >&6; }
47784 GCC_PCH=1
47785
47786 else
47787 echo "$as_me: failed program was:" >&5
47788 sed 's/^/| /' conftest.$ac_ext >&5
47789
47790
47791 cat >conftest.$ac_ext <<_ACEOF
47792 /* confdefs.h. */
47793 _ACEOF
47794 cat confdefs.h >>conftest.$ac_ext
47795 cat >>conftest.$ac_ext <<_ACEOF
47796 /* end confdefs.h. */
47797
47798 int
47799 main ()
47800 {
47801
47802 #if !defined(__INTEL_COMPILER) || \
47803 (__INTEL_COMPILER < 800)
47804 There is no PCH support
47805 #endif
47806
47807 ;
47808 return 0;
47809 }
47810 _ACEOF
47811 rm -f conftest.$ac_objext
47812 if { (ac_try="$ac_compile"
47813 case "(($ac_try" in
47814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47815 *) ac_try_echo=$ac_try;;
47816 esac
47817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47818 (eval "$ac_compile") 2>conftest.er1
47819 ac_status=$?
47820 grep -v '^ *+' conftest.er1 >conftest.err
47821 rm -f conftest.er1
47822 cat conftest.err >&5
47823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47824 (exit $ac_status); } && {
47825 test -z "$ac_c_werror_flag" ||
47826 test ! -s conftest.err
47827 } && test -s conftest.$ac_objext; then
47828
47829 { echo "$as_me:$LINENO: result: yes" >&5
47830 echo "${ECHO_T}yes" >&6; }
47831 ICC_PCH=1
47832
47833 else
47834 echo "$as_me: failed program was:" >&5
47835 sed 's/^/| /' conftest.$ac_ext >&5
47836
47837
47838 { echo "$as_me:$LINENO: result: no" >&5
47839 echo "${ECHO_T}no" >&6; }
47840
47841 fi
47842
47843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47844
47845 fi
47846
47847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47848 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47849 USE_PCH=1
47850
47851 D='$'
47852 cat <<EOF >bk-make-pch
47853 #!/bin/sh
47854
47855 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47856 # script. It is used to generated precompiled headers.
47857 #
47858 # Permission is given to use this file in any way.
47859
47860 outfile="${D}{1}"
47861 header="${D}{2}"
47862 shift
47863 shift
47864
47865 compiler=""
47866 headerfile=""
47867
47868 while test ${D}{#} -gt 0; do
47869 add_to_cmdline=1
47870 case "${D}{1}" in
47871 -I* )
47872 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47873 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47874 headerfile="${D}{incdir}/${D}{header}"
47875 fi
47876 ;;
47877 -use-pch|-use_pch )
47878 shift
47879 add_to_cmdline=0
47880 ;;
47881 esac
47882 if test ${D}add_to_cmdline = 1 ; then
47883 compiler="${D}{compiler} ${D}{1}"
47884 fi
47885 shift
47886 done
47887
47888 if test "x${D}{headerfile}" = "x" ; then
47889 echo "error: can't find header ${D}{header} in include paths" >&2
47890 else
47891 if test -f ${D}{outfile} ; then
47892 rm -f ${D}{outfile}
47893 else
47894 mkdir -p \`dirname ${D}{outfile}\`
47895 fi
47896 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47897 mkdir -p .deps
47898 if test "x${GCC_PCH}" = "x1" ; then
47899 # can do this because gcc is >= 3.4:
47900 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47901 elif test "x${ICC_PCH}" = "x1" ; then
47902 filename=pch_gen-${D}${D}
47903 file=${D}{filename}.c
47904 dfile=${D}{filename}.d
47905 cat > ${D}file <<EOT
47906 #include "${D}header"
47907 EOT
47908 # using -MF icc complains about differing command lines in creation/use
47909 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47910 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47911 rm -f ${D}file ${D}dfile ${D}{filename}.o
47912 fi
47913 exit ${D}{?}
47914 fi
47915 EOF
47916
47917 chmod +x bk-make-pch
47918 BK_MAKE_PCH="`pwd`/bk-make-pch"
47919 fi
47920 fi
47921 fi
47922
47923
47924
47925
47926
47927 COND_BUILD_DEBUG="#"
47928 if test "x$BUILD" = "xdebug" ; then
47929 COND_BUILD_DEBUG=""
47930 fi
47931
47932 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47933 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47934 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47935 fi
47936
47937 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47938 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47939 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47940 fi
47941
47942 COND_BUILD_DEBUG_UNICODE_0="#"
47943 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47944 COND_BUILD_DEBUG_UNICODE_0=""
47945 fi
47946
47947 COND_BUILD_DEBUG_UNICODE_1="#"
47948 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47949 COND_BUILD_DEBUG_UNICODE_1=""
47950 fi
47951
47952 COND_BUILD_RELEASE="#"
47953 if test "x$BUILD" = "xrelease" ; then
47954 COND_BUILD_RELEASE=""
47955 fi
47956
47957 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47958 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47959 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47960 fi
47961
47962 COND_BUILD_RELEASE_UNICODE_0="#"
47963 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47964 COND_BUILD_RELEASE_UNICODE_0=""
47965 fi
47966
47967 COND_BUILD_RELEASE_UNICODE_1="#"
47968 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47969 COND_BUILD_RELEASE_UNICODE_1=""
47970 fi
47971
47972 COND_DEBUG_FLAG_1="#"
47973 if test "x$DEBUG_FLAG" = "x1" ; then
47974 COND_DEBUG_FLAG_1=""
47975 fi
47976
47977 COND_DEBUG_INFO_0="#"
47978 if test "x$DEBUG_INFO" = "x0" ; then
47979 COND_DEBUG_INFO_0=""
47980 fi
47981
47982 COND_DEBUG_INFO_1="#"
47983 if test "x$DEBUG_INFO" = "x1" ; then
47984 COND_DEBUG_INFO_1=""
47985 fi
47986
47987 COND_DEPS_TRACKING_0="#"
47988 if test "x$DEPS_TRACKING" = "x0" ; then
47989 COND_DEPS_TRACKING_0=""
47990 fi
47991
47992 COND_DEPS_TRACKING_1="#"
47993 if test "x$DEPS_TRACKING" = "x1" ; then
47994 COND_DEPS_TRACKING_1=""
47995 fi
47996
47997 COND_GCC_PCH_1="#"
47998 if test "x$GCC_PCH" = "x1" ; then
47999 COND_GCC_PCH_1=""
48000 fi
48001
48002 COND_ICC_PCH_1="#"
48003 if test "x$ICC_PCH" = "x1" ; then
48004 COND_ICC_PCH_1=""
48005 fi
48006
48007 COND_MONOLITHIC_0="#"
48008 if test "x$MONOLITHIC" = "x0" ; then
48009 COND_MONOLITHIC_0=""
48010 fi
48011
48012 COND_MONOLITHIC_0_SHARED_0="#"
48013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48014 COND_MONOLITHIC_0_SHARED_0=""
48015 fi
48016
48017 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48019 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48020 fi
48021
48022 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48024 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48025 fi
48026
48027 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48029 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48030 fi
48031
48032 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48034 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48035 fi
48036
48037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48039 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48040 fi
48041
48042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48044 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48045 fi
48046
48047 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48049 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48050 fi
48051
48052 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48054 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48055 fi
48056
48057 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48059 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48060 fi
48061
48062 COND_MONOLITHIC_0_SHARED_1="#"
48063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48064 COND_MONOLITHIC_0_SHARED_1=""
48065 fi
48066
48067 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48068 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48069 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48070 fi
48071
48072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48073 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48074 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48075 fi
48076
48077 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48079 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48080 fi
48081
48082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48084 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48085 fi
48086
48087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48089 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48090 fi
48091
48092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48094 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48095 fi
48096
48097 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48099 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48100 fi
48101
48102 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48104 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48105 fi
48106
48107 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48109 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48110 fi
48111
48112 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48113 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48114 COND_MONOLITHIC_0_USE_MEDIA_1=""
48115 fi
48116
48117 COND_MONOLITHIC_0_USE_ODBC_1="#"
48118 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48119 COND_MONOLITHIC_0_USE_ODBC_1=""
48120 fi
48121
48122 COND_MONOLITHIC_1="#"
48123 if test "x$MONOLITHIC" = "x1" ; then
48124 COND_MONOLITHIC_1=""
48125 fi
48126
48127 COND_MONOLITHIC_1_SHARED_0="#"
48128 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48129 COND_MONOLITHIC_1_SHARED_0=""
48130 fi
48131
48132 COND_MONOLITHIC_1_SHARED_1="#"
48133 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48134 COND_MONOLITHIC_1_SHARED_1=""
48135 fi
48136
48137 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48138 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48139 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48140 fi
48141
48142 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48143 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48144 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48145 fi
48146
48147 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48148 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48149 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48150 fi
48151
48152 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48153 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48154 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48155 fi
48156
48157 COND_PLATFORM_MACOSX_1="#"
48158 if test "x$PLATFORM_MACOSX" = "x1" ; then
48159 COND_PLATFORM_MACOSX_1=""
48160 fi
48161
48162 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48163 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48164 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48165 fi
48166
48167 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48168 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48169 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48170 fi
48171
48172 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48173 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48174 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48175 fi
48176
48177 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48178 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48179 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48180 fi
48181
48182 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48183 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48184 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48185 fi
48186
48187 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48188 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48189 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48190 fi
48191
48192 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48193 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48194 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48195 fi
48196
48197 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48198 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48199 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48200 fi
48201
48202 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48203 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48204 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48205 fi
48206
48207 COND_PLATFORM_MACOS_1="#"
48208 if test "x$PLATFORM_MACOS" = "x1" ; then
48209 COND_PLATFORM_MACOS_1=""
48210 fi
48211
48212 COND_PLATFORM_MAC_1="#"
48213 if test "x$PLATFORM_MAC" = "x1" ; then
48214 COND_PLATFORM_MAC_1=""
48215 fi
48216
48217 COND_PLATFORM_MSDOS_0="#"
48218 if test "x$PLATFORM_MSDOS" = "x0" ; then
48219 COND_PLATFORM_MSDOS_0=""
48220 fi
48221
48222 COND_PLATFORM_MSDOS_1="#"
48223 if test "x$PLATFORM_MSDOS" = "x1" ; then
48224 COND_PLATFORM_MSDOS_1=""
48225 fi
48226
48227 COND_PLATFORM_OS2_1="#"
48228 if test "x$PLATFORM_OS2" = "x1" ; then
48229 COND_PLATFORM_OS2_1=""
48230 fi
48231
48232 COND_PLATFORM_UNIX_0="#"
48233 if test "x$PLATFORM_UNIX" = "x0" ; then
48234 COND_PLATFORM_UNIX_0=""
48235 fi
48236
48237 COND_PLATFORM_UNIX_1="#"
48238 if test "x$PLATFORM_UNIX" = "x1" ; then
48239 COND_PLATFORM_UNIX_1=""
48240 fi
48241
48242 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48243 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48244 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48245 fi
48246
48247 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48248 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48249 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48250 fi
48251
48252 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48253 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48254 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48255 fi
48256
48257 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48258 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48259 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48260 fi
48261
48262 COND_PLATFORM_WIN32_0="#"
48263 if test "x$PLATFORM_WIN32" = "x0" ; then
48264 COND_PLATFORM_WIN32_0=""
48265 fi
48266
48267 COND_PLATFORM_WIN32_1="#"
48268 if test "x$PLATFORM_WIN32" = "x1" ; then
48269 COND_PLATFORM_WIN32_1=""
48270 fi
48271
48272 COND_SHARED_0="#"
48273 if test "x$SHARED" = "x0" ; then
48274 COND_SHARED_0=""
48275 fi
48276
48277 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48278 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48279 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48280 fi
48281
48282 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48283 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48284 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48285 fi
48286
48287 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48288 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48289 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48290 fi
48291
48292 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48293 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48294 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48295 fi
48296
48297 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48298 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48299 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48300 fi
48301
48302 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48303 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48304 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48305 fi
48306
48307 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48308 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48309 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48310 fi
48311
48312 COND_SHARED_0_USE_XRC_1="#"
48313 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48314 COND_SHARED_0_USE_XRC_1=""
48315 fi
48316
48317 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48318 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48319 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48320 fi
48321
48322 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48323 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48324 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48325 fi
48326
48327 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48328 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48329 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48330 fi
48331
48332 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48333 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48334 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48335 fi
48336
48337 COND_SHARED_1="#"
48338 if test "x$SHARED" = "x1" ; then
48339 COND_SHARED_1=""
48340 fi
48341
48342 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48343 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48344 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48345 fi
48346
48347 COND_SHARED_1_USE_XRC_1="#"
48348 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48349 COND_SHARED_1_USE_XRC_1=""
48350 fi
48351
48352 COND_TOOLKIT_="#"
48353 if test "x$TOOLKIT" = "x" ; then
48354 COND_TOOLKIT_=""
48355 fi
48356
48357 COND_TOOLKIT_COCOA="#"
48358 if test "x$TOOLKIT" = "xCOCOA" ; then
48359 COND_TOOLKIT_COCOA=""
48360 fi
48361
48362 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48363 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48364 COND_TOOLKIT_COCOA_USE_GUI_1=""
48365 fi
48366
48367 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48368 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48369 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48370 fi
48371
48372 COND_TOOLKIT_DFB="#"
48373 if test "x$TOOLKIT" = "xDFB" ; then
48374 COND_TOOLKIT_DFB=""
48375 fi
48376
48377 COND_TOOLKIT_DFB_USE_GUI_1="#"
48378 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48379 COND_TOOLKIT_DFB_USE_GUI_1=""
48380 fi
48381
48382 COND_TOOLKIT_GTK="#"
48383 if test "x$TOOLKIT" = "xGTK" ; then
48384 COND_TOOLKIT_GTK=""
48385 fi
48386
48387 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48388 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48389 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48390 fi
48391
48392 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48393 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48394 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48395 fi
48396
48397 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48398 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48399 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48400 fi
48401
48402 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48403 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48404 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48405 fi
48406
48407 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48408 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48409 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48410 fi
48411
48412 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48413 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48414 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48415 fi
48416
48417 COND_TOOLKIT_GTK_USE_GUI_1="#"
48418 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48419 COND_TOOLKIT_GTK_USE_GUI_1=""
48420 fi
48421
48422 COND_TOOLKIT_MAC="#"
48423 if test "x$TOOLKIT" = "xMAC" ; then
48424 COND_TOOLKIT_MAC=""
48425 fi
48426
48427 COND_TOOLKIT_MAC_USE_GUI_1="#"
48428 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48429 COND_TOOLKIT_MAC_USE_GUI_1=""
48430 fi
48431
48432 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48433 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48434 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48435 fi
48436
48437 COND_TOOLKIT_MGL="#"
48438 if test "x$TOOLKIT" = "xMGL" ; then
48439 COND_TOOLKIT_MGL=""
48440 fi
48441
48442 COND_TOOLKIT_MGL_USE_GUI_1="#"
48443 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48444 COND_TOOLKIT_MGL_USE_GUI_1=""
48445 fi
48446
48447 COND_TOOLKIT_MOTIF="#"
48448 if test "x$TOOLKIT" = "xMOTIF" ; then
48449 COND_TOOLKIT_MOTIF=""
48450 fi
48451
48452 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48453 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48454 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48455 fi
48456
48457 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48458 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48459 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48460 fi
48461
48462 COND_TOOLKIT_MSW="#"
48463 if test "x$TOOLKIT" = "xMSW" ; then
48464 COND_TOOLKIT_MSW=""
48465 fi
48466
48467 COND_TOOLKIT_MSW_USE_GUI_1="#"
48468 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48469 COND_TOOLKIT_MSW_USE_GUI_1=""
48470 fi
48471
48472 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48473 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48474 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48475 fi
48476
48477 COND_TOOLKIT_MSW_WXUNIV_0="#"
48478 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48479 COND_TOOLKIT_MSW_WXUNIV_0=""
48480 fi
48481
48482 COND_TOOLKIT_PM="#"
48483 if test "x$TOOLKIT" = "xPM" ; then
48484 COND_TOOLKIT_PM=""
48485 fi
48486
48487 COND_TOOLKIT_PM_USE_GUI_1="#"
48488 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48489 COND_TOOLKIT_PM_USE_GUI_1=""
48490 fi
48491
48492 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48493 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48494 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48495 fi
48496
48497 COND_TOOLKIT_WINCE="#"
48498 if test "x$TOOLKIT" = "xWINCE" ; then
48499 COND_TOOLKIT_WINCE=""
48500 fi
48501
48502 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48503 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48504 COND_TOOLKIT_WINCE_USE_GUI_1=""
48505 fi
48506
48507 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48508 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48509 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48510 fi
48511
48512 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48513 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48514 COND_TOOLKIT_WINCE_WXUNIV_0=""
48515 fi
48516
48517 COND_TOOLKIT_X11="#"
48518 if test "x$TOOLKIT" = "xX11" ; then
48519 COND_TOOLKIT_X11=""
48520 fi
48521
48522 COND_TOOLKIT_X11_USE_GUI_1="#"
48523 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48524 COND_TOOLKIT_X11_USE_GUI_1=""
48525 fi
48526
48527 COND_UNICODE_1="#"
48528 if test "x$UNICODE" = "x1" ; then
48529 COND_UNICODE_1=""
48530 fi
48531
48532 COND_USE_EXCEPTIONS_0="#"
48533 if test "x$USE_EXCEPTIONS" = "x0" ; then
48534 COND_USE_EXCEPTIONS_0=""
48535 fi
48536
48537 COND_USE_EXCEPTIONS_1="#"
48538 if test "x$USE_EXCEPTIONS" = "x1" ; then
48539 COND_USE_EXCEPTIONS_1=""
48540 fi
48541
48542 COND_USE_GUI_0="#"
48543 if test "x$USE_GUI" = "x0" ; then
48544 COND_USE_GUI_0=""
48545 fi
48546
48547 COND_USE_GUI_1="#"
48548 if test "x$USE_GUI" = "x1" ; then
48549 COND_USE_GUI_1=""
48550 fi
48551
48552 COND_USE_GUI_1_WXUNIV_0="#"
48553 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48554 COND_USE_GUI_1_WXUNIV_0=""
48555 fi
48556
48557 COND_USE_GUI_1_WXUNIV_1="#"
48558 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48559 COND_USE_GUI_1_WXUNIV_1=""
48560 fi
48561
48562 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48564 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48565 fi
48566
48567 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48568 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48569 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48570 fi
48571
48572 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48573 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48574 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48575 fi
48576
48577 COND_USE_ODBC_1="#"
48578 if test "x$USE_ODBC" = "x1" ; then
48579 COND_USE_ODBC_1=""
48580 fi
48581
48582 COND_USE_OPENGL_1="#"
48583 if test "x$USE_OPENGL" = "x1" ; then
48584 COND_USE_OPENGL_1=""
48585 fi
48586
48587 COND_USE_PCH_1="#"
48588 if test "x$USE_PCH" = "x1" ; then
48589 COND_USE_PCH_1=""
48590 fi
48591
48592 COND_USE_PLUGINS_0="#"
48593 if test "x$USE_PLUGINS" = "x0" ; then
48594 COND_USE_PLUGINS_0=""
48595 fi
48596
48597 COND_USE_RTTI_0="#"
48598 if test "x$USE_RTTI" = "x0" ; then
48599 COND_USE_RTTI_0=""
48600 fi
48601
48602 COND_USE_RTTI_1="#"
48603 if test "x$USE_RTTI" = "x1" ; then
48604 COND_USE_RTTI_1=""
48605 fi
48606
48607 COND_USE_SOSYMLINKS_1="#"
48608 if test "x$USE_SOSYMLINKS" = "x1" ; then
48609 COND_USE_SOSYMLINKS_1=""
48610 fi
48611
48612 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48613 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48614 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48615 fi
48616
48617 COND_USE_SOVERLINUX_1="#"
48618 if test "x$USE_SOVERLINUX" = "x1" ; then
48619 COND_USE_SOVERLINUX_1=""
48620 fi
48621
48622 COND_USE_SOVERSION_0="#"
48623 if test "x$USE_SOVERSION" = "x0" ; then
48624 COND_USE_SOVERSION_0=""
48625 fi
48626
48627 COND_USE_SOVERSOLARIS_1="#"
48628 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48629 COND_USE_SOVERSOLARIS_1=""
48630 fi
48631
48632 COND_USE_THREADS_0="#"
48633 if test "x$USE_THREADS" = "x0" ; then
48634 COND_USE_THREADS_0=""
48635 fi
48636
48637 COND_USE_THREADS_1="#"
48638 if test "x$USE_THREADS" = "x1" ; then
48639 COND_USE_THREADS_1=""
48640 fi
48641
48642 COND_USE_XRC_1="#"
48643 if test "x$USE_XRC" = "x1" ; then
48644 COND_USE_XRC_1=""
48645 fi
48646
48647 COND_WINDOWS_IMPLIB_1="#"
48648 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48649 COND_WINDOWS_IMPLIB_1=""
48650 fi
48651
48652 COND_WITH_PLUGIN_SDL_1="#"
48653 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48654 COND_WITH_PLUGIN_SDL_1=""
48655 fi
48656
48657 COND_WXUNIV_0="#"
48658 if test "x$WXUNIV" = "x0" ; then
48659 COND_WXUNIV_0=""
48660 fi
48661
48662 COND_WXUNIV_1="#"
48663 if test "x$WXUNIV" = "x1" ; then
48664 COND_WXUNIV_1=""
48665 fi
48666
48667 COND_WXUSE_EXPAT_BUILTIN="#"
48668 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48669 COND_WXUSE_EXPAT_BUILTIN=""
48670 fi
48671
48672 COND_WXUSE_LIBJPEG_BUILTIN="#"
48673 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48674 COND_WXUSE_LIBJPEG_BUILTIN=""
48675 fi
48676
48677 COND_WXUSE_LIBPNG_BUILTIN="#"
48678 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48679 COND_WXUSE_LIBPNG_BUILTIN=""
48680 fi
48681
48682 COND_WXUSE_LIBTIFF_BUILTIN="#"
48683 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48684 COND_WXUSE_LIBTIFF_BUILTIN=""
48685 fi
48686
48687 COND_WXUSE_ODBC_BUILTIN="#"
48688 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48689 COND_WXUSE_ODBC_BUILTIN=""
48690 fi
48691
48692 COND_WXUSE_REGEX_BUILTIN="#"
48693 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48694 COND_WXUSE_REGEX_BUILTIN=""
48695 fi
48696
48697 COND_WXUSE_ZLIB_BUILTIN="#"
48698 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48699 COND_WXUSE_ZLIB_BUILTIN=""
48700 fi
48701
48702
48703
48704 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48705 { { 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
48706 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;}
48707 { (exit 1); exit 1; }; }
48708 fi
48709
48710 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48711 { { 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
48712 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;}
48713 { (exit 1); exit 1; }; }
48714 fi
48715
48716
48717 if test $GCC_PCH = 1
48718 then
48719 if test "$wx_cv_gcc_pch_bug" = yes; then
48720 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48721 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48722 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48723 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48724 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48725 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48726 fi
48727
48728 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48729 fi
48730
48731
48732 if test "$wxUSE_MAC" = 1 ; then
48733 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48734 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48735 mv temp bk-deps
48736 chmod +x bk-deps
48737 fi
48738 fi
48739
48740 if test "$wxUSE_SHARED" = "yes"; then
48741
48742 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48743 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48744
48745 case "${host}" in
48746 *-pc-os2_emx | *-pc-os2-emx )
48747 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48748 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48749 cp -p ${srcdir}/src/os2/dllnames.sh .
48750 cp -p ${srcdir}/src/os2/dllar.sh .
48751 ;;
48752 esac
48753 else
48754
48755 EXE_LINKER="$CXX -o"
48756
48757 fi
48758 if test "$wxUSE_OMF" = "yes"; then
48759 case "${host}" in
48760 *-pc-os2_emx | *-pc-os2-emx )
48761 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48762 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48763 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48764 ;;
48765 esac
48766 fi
48767
48768 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48769
48770 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48833 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48834 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48835 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48836 echo $ECHO_N "(cached) $ECHO_C" >&6
48837 else
48838 cat >conftest.make <<\_ACEOF
48839 SHELL = /bin/sh
48840 all:
48841 @echo '@@@%%%=$(MAKE)=@@@%%%'
48842 _ACEOF
48843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48845 *@@@%%%=?*=@@@%%%*)
48846 eval ac_cv_prog_make_${ac_make}_set=yes;;
48847 *)
48848 eval ac_cv_prog_make_${ac_make}_set=no;;
48849 esac
48850 rm -f conftest.make
48851 fi
48852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48853 { echo "$as_me:$LINENO: result: yes" >&5
48854 echo "${ECHO_T}yes" >&6; }
48855 SET_MAKE=
48856 else
48857 { echo "$as_me:$LINENO: result: no" >&5
48858 echo "${ECHO_T}no" >&6; }
48859 SET_MAKE="MAKE=${MAKE-make}"
48860 fi
48861
48862
48863
48864 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48865
48866
48867 if test "$USE_WIN32" = 1; then
48868 ac_config_commands="$ac_config_commands
48869 rcdefs.h
48870 "
48871
48872 fi
48873
48874 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48875
48876
48877 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48878
48879
48880 if test "$wx_cv_version_script" = "yes"; then
48881 ac_config_files="$ac_config_files version-script"
48882
48883 fi
48884 ac_config_files="$ac_config_files Makefile"
48885
48886
48887 ac_config_commands="$ac_config_commands wx-config"
48888
48889
48890
48891 if test "$wxWITH_SUBDIRS" != "no"; then
48892 if test "$wxUSE_GUI" = "yes"; then
48893 SUBDIRS="samples demos utils contrib"
48894 else SUBDIRS="samples utils"
48895 fi
48896
48897
48898
48899 # Check whether --with-cppunit-prefix was given.
48900 if test "${with_cppunit_prefix+set}" = set; then
48901 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48902 else
48903 cppunit_config_prefix=""
48904 fi
48905
48906
48907 # Check whether --with-cppunit-exec-prefix was given.
48908 if test "${with_cppunit_exec_prefix+set}" = set; then
48909 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48910 else
48911 cppunit_config_exec_prefix=""
48912 fi
48913
48914
48915 if test x$cppunit_config_exec_prefix != x ; then
48916 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48917 if test x${CPPUNIT_CONFIG+set} != xset ; then
48918 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48919 fi
48920 fi
48921 if test x$cppunit_config_prefix != x ; then
48922 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48923 if test x${CPPUNIT_CONFIG+set} != xset ; then
48924 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48925 fi
48926 fi
48927
48928 # Extract the first word of "cppunit-config", so it can be a program name with args.
48929 set dummy cppunit-config; ac_word=$2
48930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48932 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48934 else
48935 case $CPPUNIT_CONFIG in
48936 [\\/]* | ?:[\\/]*)
48937 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48938 ;;
48939 *)
48940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48941 for as_dir in $PATH
48942 do
48943 IFS=$as_save_IFS
48944 test -z "$as_dir" && as_dir=.
48945 for ac_exec_ext in '' $ac_executable_extensions; do
48946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48947 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48949 break 2
48950 fi
48951 done
48952 done
48953 IFS=$as_save_IFS
48954
48955 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48956 ;;
48957 esac
48958 fi
48959 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48960 if test -n "$CPPUNIT_CONFIG"; then
48961 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48962 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48963 else
48964 { echo "$as_me:$LINENO: result: no" >&5
48965 echo "${ECHO_T}no" >&6; }
48966 fi
48967
48968
48969 cppunit_version_min=1.8.0
48970
48971 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48972 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48973 no_cppunit=""
48974 if test "$CPPUNIT_CONFIG" = "no" ; then
48975 { echo "$as_me:$LINENO: result: no" >&5
48976 echo "${ECHO_T}no" >&6; }
48977 no_cppunit=yes
48978 else
48979 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48980 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48981 cppunit_version=`$CPPUNIT_CONFIG --version`
48982
48983 cppunit_major_version=`echo $cppunit_version | \
48984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48985 cppunit_minor_version=`echo $cppunit_version | \
48986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48987 cppunit_micro_version=`echo $cppunit_version | \
48988 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48989
48990 cppunit_major_min=`echo $cppunit_version_min | \
48991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48992 cppunit_minor_min=`echo $cppunit_version_min | \
48993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48994 cppunit_micro_min=`echo $cppunit_version_min | \
48995 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48996
48997 cppunit_version_proper=`expr \
48998 $cppunit_major_version \> $cppunit_major_min \| \
48999 $cppunit_major_version \= $cppunit_major_min \& \
49000 $cppunit_minor_version \> $cppunit_minor_min \| \
49001 $cppunit_major_version \= $cppunit_major_min \& \
49002 $cppunit_minor_version \= $cppunit_minor_min \& \
49003 $cppunit_micro_version \>= $cppunit_micro_min `
49004
49005 if test "$cppunit_version_proper" = "1" ; then
49006 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49007 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49008 else
49009 { echo "$as_me:$LINENO: result: no" >&5
49010 echo "${ECHO_T}no" >&6; }
49011 no_cppunit=yes
49012 fi
49013 fi
49014
49015 if test "x$no_cppunit" = x ; then
49016 SUBDIRS="$SUBDIRS tests"
49017 else
49018 CPPUNIT_CFLAGS=""
49019 CPPUNIT_LIBS=""
49020 :
49021 fi
49022
49023
49024
49025
49026
49027 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49028 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
49029 fi
49030
49031 for subdir in `echo $SUBDIRS`; do
49032 if test -d ${srcdir}/${subdir} ; then
49033 if test "$wxUSE_GUI" = "yes"; then
49034 if test ${subdir} = "samples"; then
49035 makefiles="samples/Makefile.in $makefiles"
49036 for sample in `echo $SAMPLES_SUBDIRS`; do
49037 if test -d $srcdir/samples/$sample; then
49038 makefiles="samples/$sample/Makefile.in $makefiles"
49039 fi
49040 done
49041 else
49042 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49043 eval "disabled=\$$disabled_var"
49044 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49045 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49046 fi
49047 else if test ${subdir} = "samples"; then
49048 makefiles="samples/Makefile.in samples/console/Makefile.in"
49049 elif test ${subdir} = "utils"; then
49050 makefiles=""
49051 for util in HelpGen tex2rtf ; do
49052 if test -d $srcdir/utils/$util ; then
49053 makefiles="utils/$util/Makefile.in \
49054 utils/$util/src/Makefile.in \
49055 $makefiles"
49056 fi
49057 done
49058 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49059 fi
49060 fi
49061
49062 for mkin in $makefiles ; do
49063 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49064 ac_config_files="$ac_config_files $mk"
49065
49066 done
49067 fi
49068 done
49069 fi
49070 cat >confcache <<\_ACEOF
49071 # This file is a shell script that caches the results of configure
49072 # tests run on this system so they can be shared between configure
49073 # scripts and configure runs, see configure's option --config-cache.
49074 # It is not useful on other systems. If it contains results you don't
49075 # want to keep, you may remove or edit it.
49076 #
49077 # config.status only pays attention to the cache file if you give it
49078 # the --recheck option to rerun configure.
49079 #
49080 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49081 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49082 # following values.
49083
49084 _ACEOF
49085
49086 # The following way of writing the cache mishandles newlines in values,
49087 # but we know of no workaround that is simple, portable, and efficient.
49088 # So, we kill variables containing newlines.
49089 # Ultrix sh set writes to stderr and can't be redirected directly,
49090 # and sets the high bit in the cache file unless we assign to the vars.
49091 (
49092 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49093 eval ac_val=\$$ac_var
49094 case $ac_val in #(
49095 *${as_nl}*)
49096 case $ac_var in #(
49097 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49098 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49099 esac
49100 case $ac_var in #(
49101 _ | IFS | as_nl) ;; #(
49102 *) $as_unset $ac_var ;;
49103 esac ;;
49104 esac
49105 done
49106
49107 (set) 2>&1 |
49108 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49109 *${as_nl}ac_space=\ *)
49110 # `set' does not quote correctly, so add quotes (double-quote
49111 # substitution turns \\\\ into \\, and sed turns \\ into \).
49112 sed -n \
49113 "s/'/'\\\\''/g;
49114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49115 ;; #(
49116 *)
49117 # `set' quotes correctly as required by POSIX, so do not add quotes.
49118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49119 ;;
49120 esac |
49121 sort
49122 ) |
49123 sed '
49124 /^ac_cv_env_/b end
49125 t clear
49126 :clear
49127 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49128 t end
49129 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49130 :end' >>confcache
49131 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49132 if test -w "$cache_file"; then
49133 test "x$cache_file" != "x/dev/null" &&
49134 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49135 echo "$as_me: updating cache $cache_file" >&6;}
49136 cat confcache >$cache_file
49137 else
49138 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49139 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49140 fi
49141 fi
49142 rm -f confcache
49143
49144 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49145 # Let make expand exec_prefix.
49146 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49147
49148 DEFS=-DHAVE_CONFIG_H
49149
49150 ac_libobjs=
49151 ac_ltlibobjs=
49152 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49153 # 1. Remove the extension, and $U if already installed.
49154 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49155 ac_i=`echo "$ac_i" | sed "$ac_script"`
49156 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49157 # will be set to the directory where LIBOBJS objects are built.
49158 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49159 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49160 done
49161 LIBOBJS=$ac_libobjs
49162
49163 LTLIBOBJS=$ac_ltlibobjs
49164
49165
49166
49167 : ${CONFIG_STATUS=./config.status}
49168 ac_clean_files_save=$ac_clean_files
49169 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49170 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49171 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49172 cat >$CONFIG_STATUS <<_ACEOF
49173 #! $SHELL
49174 # Generated by $as_me.
49175 # Run this file to recreate the current configuration.
49176 # Compiler output produced by configure, useful for debugging
49177 # configure, is in config.log if it exists.
49178
49179 debug=false
49180 ac_cs_recheck=false
49181 ac_cs_silent=false
49182 SHELL=\${CONFIG_SHELL-$SHELL}
49183 _ACEOF
49184
49185 cat >>$CONFIG_STATUS <<\_ACEOF
49186 ## --------------------- ##
49187 ## M4sh Initialization. ##
49188 ## --------------------- ##
49189
49190 # Be more Bourne compatible
49191 DUALCASE=1; export DUALCASE # for MKS sh
49192 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49193 emulate sh
49194 NULLCMD=:
49195 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49196 # is contrary to our usage. Disable this feature.
49197 alias -g '${1+"$@"}'='"$@"'
49198 setopt NO_GLOB_SUBST
49199 else
49200 case `(set -o) 2>/dev/null` in
49201 *posix*) set -o posix ;;
49202 esac
49203
49204 fi
49205
49206
49207
49208
49209 # PATH needs CR
49210 # Avoid depending upon Character Ranges.
49211 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49212 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49213 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49214 as_cr_digits='0123456789'
49215 as_cr_alnum=$as_cr_Letters$as_cr_digits
49216
49217 # The user is always right.
49218 if test "${PATH_SEPARATOR+set}" != set; then
49219 echo "#! /bin/sh" >conf$$.sh
49220 echo "exit 0" >>conf$$.sh
49221 chmod +x conf$$.sh
49222 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49223 PATH_SEPARATOR=';'
49224 else
49225 PATH_SEPARATOR=:
49226 fi
49227 rm -f conf$$.sh
49228 fi
49229
49230 # Support unset when possible.
49231 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49232 as_unset=unset
49233 else
49234 as_unset=false
49235 fi
49236
49237
49238 # IFS
49239 # We need space, tab and new line, in precisely that order. Quoting is
49240 # there to prevent editors from complaining about space-tab.
49241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49242 # splitting by setting IFS to empty value.)
49243 as_nl='
49244 '
49245 IFS=" "" $as_nl"
49246
49247 # Find who we are. Look in the path if we contain no directory separator.
49248 case $0 in
49249 *[\\/]* ) as_myself=$0 ;;
49250 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49251 for as_dir in $PATH
49252 do
49253 IFS=$as_save_IFS
49254 test -z "$as_dir" && as_dir=.
49255 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49256 done
49257 IFS=$as_save_IFS
49258
49259 ;;
49260 esac
49261 # We did not find ourselves, most probably we were run as `sh COMMAND'
49262 # in which case we are not to be found in the path.
49263 if test "x$as_myself" = x; then
49264 as_myself=$0
49265 fi
49266 if test ! -f "$as_myself"; then
49267 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49268 { (exit 1); exit 1; }
49269 fi
49270
49271 # Work around bugs in pre-3.0 UWIN ksh.
49272 for as_var in ENV MAIL MAILPATH
49273 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49274 done
49275 PS1='$ '
49276 PS2='> '
49277 PS4='+ '
49278
49279 # NLS nuisances.
49280 for as_var in \
49281 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49282 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49283 LC_TELEPHONE LC_TIME
49284 do
49285 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49286 eval $as_var=C; export $as_var
49287 else
49288 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49289 fi
49290 done
49291
49292 # Required to use basename.
49293 if expr a : '\(a\)' >/dev/null 2>&1 &&
49294 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49295 as_expr=expr
49296 else
49297 as_expr=false
49298 fi
49299
49300 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49301 as_basename=basename
49302 else
49303 as_basename=false
49304 fi
49305
49306
49307 # Name of the executable.
49308 as_me=`$as_basename -- "$0" ||
49309 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49310 X"$0" : 'X\(//\)$' \| \
49311 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49312 echo X/"$0" |
49313 sed '/^.*\/\([^/][^/]*\)\/*$/{
49314 s//\1/
49315 q
49316 }
49317 /^X\/\(\/\/\)$/{
49318 s//\1/
49319 q
49320 }
49321 /^X\/\(\/\).*/{
49322 s//\1/
49323 q
49324 }
49325 s/.*/./; q'`
49326
49327 # CDPATH.
49328 $as_unset CDPATH
49329
49330
49331
49332 as_lineno_1=$LINENO
49333 as_lineno_2=$LINENO
49334 test "x$as_lineno_1" != "x$as_lineno_2" &&
49335 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49336
49337 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49338 # uniformly replaced by the line number. The first 'sed' inserts a
49339 # line-number line after each line using $LINENO; the second 'sed'
49340 # does the real work. The second script uses 'N' to pair each
49341 # line-number line with the line containing $LINENO, and appends
49342 # trailing '-' during substitution so that $LINENO is not a special
49343 # case at line end.
49344 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49345 # scripts with optimization help from Paolo Bonzini. Blame Lee
49346 # E. McMahon (1931-1989) for sed's syntax. :-)
49347 sed -n '
49348 p
49349 /[$]LINENO/=
49350 ' <$as_myself |
49351 sed '
49352 s/[$]LINENO.*/&-/
49353 t lineno
49354 b
49355 :lineno
49356 N
49357 :loop
49358 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49359 t loop
49360 s/-\n.*//
49361 ' >$as_me.lineno &&
49362 chmod +x "$as_me.lineno" ||
49363 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49364 { (exit 1); exit 1; }; }
49365
49366 # Don't try to exec as it changes $[0], causing all sort of problems
49367 # (the dirname of $[0] is not the place where we might find the
49368 # original and so on. Autoconf is especially sensitive to this).
49369 . "./$as_me.lineno"
49370 # Exit status is that of the last command.
49371 exit
49372 }
49373
49374
49375 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49376 as_dirname=dirname
49377 else
49378 as_dirname=false
49379 fi
49380
49381 ECHO_C= ECHO_N= ECHO_T=
49382 case `echo -n x` in
49383 -n*)
49384 case `echo 'x\c'` in
49385 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49386 *) ECHO_C='\c';;
49387 esac;;
49388 *)
49389 ECHO_N='-n';;
49390 esac
49391
49392 if expr a : '\(a\)' >/dev/null 2>&1 &&
49393 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49394 as_expr=expr
49395 else
49396 as_expr=false
49397 fi
49398
49399 rm -f conf$$ conf$$.exe conf$$.file
49400 if test -d conf$$.dir; then
49401 rm -f conf$$.dir/conf$$.file
49402 else
49403 rm -f conf$$.dir
49404 mkdir conf$$.dir
49405 fi
49406 echo >conf$$.file
49407 if ln -s conf$$.file conf$$ 2>/dev/null; then
49408 as_ln_s='ln -s'
49409 # ... but there are two gotchas:
49410 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49411 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49412 # In both cases, we have to default to `cp -p'.
49413 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49414 as_ln_s='cp -p'
49415 elif ln conf$$.file conf$$ 2>/dev/null; then
49416 as_ln_s=ln
49417 else
49418 as_ln_s='cp -p'
49419 fi
49420 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49421 rmdir conf$$.dir 2>/dev/null
49422
49423 if mkdir -p . 2>/dev/null; then
49424 as_mkdir_p=:
49425 else
49426 test -d ./-p && rmdir ./-p
49427 as_mkdir_p=false
49428 fi
49429
49430 if test -x / >/dev/null 2>&1; then
49431 as_test_x='test -x'
49432 else
49433 if ls -dL / >/dev/null 2>&1; then
49434 as_ls_L_option=L
49435 else
49436 as_ls_L_option=
49437 fi
49438 as_test_x='
49439 eval sh -c '\''
49440 if test -d "$1"; then
49441 test -d "$1/.";
49442 else
49443 case $1 in
49444 -*)set "./$1";;
49445 esac;
49446 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49447 ???[sx]*):;;*)false;;esac;fi
49448 '\'' sh
49449 '
49450 fi
49451 as_executable_p=$as_test_x
49452
49453 # Sed expression to map a string onto a valid CPP name.
49454 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49455
49456 # Sed expression to map a string onto a valid variable name.
49457 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49458
49459
49460 exec 6>&1
49461
49462 # Save the log message, to keep $[0] and so on meaningful, and to
49463 # report actual input values of CONFIG_FILES etc. instead of their
49464 # values after options handling.
49465 ac_log="
49466 This file was extended by wxWidgets $as_me 2.9.0, which was
49467 generated by GNU Autoconf 2.61. Invocation command line was
49468
49469 CONFIG_FILES = $CONFIG_FILES
49470 CONFIG_HEADERS = $CONFIG_HEADERS
49471 CONFIG_LINKS = $CONFIG_LINKS
49472 CONFIG_COMMANDS = $CONFIG_COMMANDS
49473 $ $0 $@
49474
49475 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49476 "
49477
49478 _ACEOF
49479
49480 cat >>$CONFIG_STATUS <<_ACEOF
49481 # Files that config.status was made for.
49482 config_files="$ac_config_files"
49483 config_headers="$ac_config_headers"
49484 config_commands="$ac_config_commands"
49485
49486 _ACEOF
49487
49488 cat >>$CONFIG_STATUS <<\_ACEOF
49489 ac_cs_usage="\
49490 \`$as_me' instantiates files from templates according to the
49491 current configuration.
49492
49493 Usage: $0 [OPTIONS] [FILE]...
49494
49495 -h, --help print this help, then exit
49496 -V, --version print version number and configuration settings, then exit
49497 -q, --quiet do not print progress messages
49498 -d, --debug don't remove temporary files
49499 --recheck update $as_me by reconfiguring in the same conditions
49500 --file=FILE[:TEMPLATE]
49501 instantiate the configuration file FILE
49502 --header=FILE[:TEMPLATE]
49503 instantiate the configuration header FILE
49504
49505 Configuration files:
49506 $config_files
49507
49508 Configuration headers:
49509 $config_headers
49510
49511 Configuration commands:
49512 $config_commands
49513
49514 Report bugs to <bug-autoconf@gnu.org>."
49515
49516 _ACEOF
49517 cat >>$CONFIG_STATUS <<_ACEOF
49518 ac_cs_version="\\
49519 wxWidgets config.status 2.9.0
49520 configured by $0, generated by GNU Autoconf 2.61,
49521 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49522
49523 Copyright (C) 2006 Free Software Foundation, Inc.
49524 This config.status script is free software; the Free Software Foundation
49525 gives unlimited permission to copy, distribute and modify it."
49526
49527 ac_pwd='$ac_pwd'
49528 srcdir='$srcdir'
49529 INSTALL='$INSTALL'
49530 _ACEOF
49531
49532 cat >>$CONFIG_STATUS <<\_ACEOF
49533 # If no file are specified by the user, then we need to provide default
49534 # value. By we need to know if files were specified by the user.
49535 ac_need_defaults=:
49536 while test $# != 0
49537 do
49538 case $1 in
49539 --*=*)
49540 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49541 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49542 ac_shift=:
49543 ;;
49544 *)
49545 ac_option=$1
49546 ac_optarg=$2
49547 ac_shift=shift
49548 ;;
49549 esac
49550
49551 case $ac_option in
49552 # Handling of the options.
49553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49554 ac_cs_recheck=: ;;
49555 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49556 echo "$ac_cs_version"; exit ;;
49557 --debug | --debu | --deb | --de | --d | -d )
49558 debug=: ;;
49559 --file | --fil | --fi | --f )
49560 $ac_shift
49561 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49562 ac_need_defaults=false;;
49563 --header | --heade | --head | --hea )
49564 $ac_shift
49565 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49566 ac_need_defaults=false;;
49567 --he | --h)
49568 # Conflict between --help and --header
49569 { echo "$as_me: error: ambiguous option: $1
49570 Try \`$0 --help' for more information." >&2
49571 { (exit 1); exit 1; }; };;
49572 --help | --hel | -h )
49573 echo "$ac_cs_usage"; exit ;;
49574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49576 ac_cs_silent=: ;;
49577
49578 # This is an error.
49579 -*) { echo "$as_me: error: unrecognized option: $1
49580 Try \`$0 --help' for more information." >&2
49581 { (exit 1); exit 1; }; } ;;
49582
49583 *) ac_config_targets="$ac_config_targets $1"
49584 ac_need_defaults=false ;;
49585
49586 esac
49587 shift
49588 done
49589
49590 ac_configure_extra_args=
49591
49592 if $ac_cs_silent; then
49593 exec 6>/dev/null
49594 ac_configure_extra_args="$ac_configure_extra_args --silent"
49595 fi
49596
49597 _ACEOF
49598 cat >>$CONFIG_STATUS <<_ACEOF
49599 if \$ac_cs_recheck; then
49600 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49601 CONFIG_SHELL=$SHELL
49602 export CONFIG_SHELL
49603 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49604 fi
49605
49606 _ACEOF
49607 cat >>$CONFIG_STATUS <<\_ACEOF
49608 exec 5>>config.log
49609 {
49610 echo
49611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49612 ## Running $as_me. ##
49613 _ASBOX
49614 echo "$ac_log"
49615 } >&5
49616
49617 _ACEOF
49618 cat >>$CONFIG_STATUS <<_ACEOF
49619 #
49620 # INIT-COMMANDS
49621 #
49622
49623 CPP="$CPP"
49624 infile="$srcdir/include/wx/msw/genrcdefs.h"
49625 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49626
49627
49628 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49629 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49630 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49631 LN_S="${LN_S}"
49632
49633
49634 _ACEOF
49635
49636 cat >>$CONFIG_STATUS <<\_ACEOF
49637
49638 # Handling of arguments.
49639 for ac_config_target in $ac_config_targets
49640 do
49641 case $ac_config_target in
49642 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49643 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49644 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49645 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49646 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49647 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49648 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49649 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49650
49651 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49652 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49653 { (exit 1); exit 1; }; };;
49654 esac
49655 done
49656
49657
49658 # If the user did not use the arguments to specify the items to instantiate,
49659 # then the envvar interface is used. Set only those that are not.
49660 # We use the long form for the default assignment because of an extremely
49661 # bizarre bug on SunOS 4.1.3.
49662 if $ac_need_defaults; then
49663 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49664 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49665 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49666 fi
49667
49668 # Have a temporary directory for convenience. Make it in the build tree
49669 # simply because there is no reason against having it here, and in addition,
49670 # creating and moving files from /tmp can sometimes cause problems.
49671 # Hook for its removal unless debugging.
49672 # Note that there is a small window in which the directory will not be cleaned:
49673 # after its creation but before its name has been assigned to `$tmp'.
49674 $debug ||
49675 {
49676 tmp=
49677 trap 'exit_status=$?
49678 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49679 ' 0
49680 trap '{ (exit 1); exit 1; }' 1 2 13 15
49681 }
49682 # Create a (secure) tmp directory for tmp files.
49683
49684 {
49685 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49686 test -n "$tmp" && test -d "$tmp"
49687 } ||
49688 {
49689 tmp=./conf$$-$RANDOM
49690 (umask 077 && mkdir "$tmp")
49691 } ||
49692 {
49693 echo "$me: cannot create a temporary directory in ." >&2
49694 { (exit 1); exit 1; }
49695 }
49696
49697 #
49698 # Set up the sed scripts for CONFIG_FILES section.
49699 #
49700
49701 # No need to generate the scripts if there are no CONFIG_FILES.
49702 # This happens for instance when ./config.status config.h
49703 if test -n "$CONFIG_FILES"; then
49704
49705 _ACEOF
49706
49707
49708
49709 ac_delim='%!_!# '
49710 for ac_last_try in false false false false false :; do
49711 cat >conf$$subs.sed <<_ACEOF
49712 SHELL!$SHELL$ac_delim
49713 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49714 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49715 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49716 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49717 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49718 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49719 exec_prefix!$exec_prefix$ac_delim
49720 prefix!$prefix$ac_delim
49721 program_transform_name!$program_transform_name$ac_delim
49722 bindir!$bindir$ac_delim
49723 sbindir!$sbindir$ac_delim
49724 libexecdir!$libexecdir$ac_delim
49725 datarootdir!$datarootdir$ac_delim
49726 datadir!$datadir$ac_delim
49727 sysconfdir!$sysconfdir$ac_delim
49728 sharedstatedir!$sharedstatedir$ac_delim
49729 localstatedir!$localstatedir$ac_delim
49730 includedir!$includedir$ac_delim
49731 oldincludedir!$oldincludedir$ac_delim
49732 docdir!$docdir$ac_delim
49733 infodir!$infodir$ac_delim
49734 htmldir!$htmldir$ac_delim
49735 dvidir!$dvidir$ac_delim
49736 pdfdir!$pdfdir$ac_delim
49737 psdir!$psdir$ac_delim
49738 libdir!$libdir$ac_delim
49739 localedir!$localedir$ac_delim
49740 mandir!$mandir$ac_delim
49741 DEFS!$DEFS$ac_delim
49742 ECHO_C!$ECHO_C$ac_delim
49743 ECHO_N!$ECHO_N$ac_delim
49744 ECHO_T!$ECHO_T$ac_delim
49745 LIBS!$LIBS$ac_delim
49746 build_alias!$build_alias$ac_delim
49747 host_alias!$host_alias$ac_delim
49748 target_alias!$target_alias$ac_delim
49749 build!$build$ac_delim
49750 build_cpu!$build_cpu$ac_delim
49751 build_vendor!$build_vendor$ac_delim
49752 build_os!$build_os$ac_delim
49753 host!$host$ac_delim
49754 host_cpu!$host_cpu$ac_delim
49755 host_vendor!$host_vendor$ac_delim
49756 host_os!$host_os$ac_delim
49757 target!$target$ac_delim
49758 target_cpu!$target_cpu$ac_delim
49759 target_vendor!$target_vendor$ac_delim
49760 target_os!$target_os$ac_delim
49761 wx_top_builddir!$wx_top_builddir$ac_delim
49762 CC!$CC$ac_delim
49763 CFLAGS!$CFLAGS$ac_delim
49764 LDFLAGS!$LDFLAGS$ac_delim
49765 CPPFLAGS!$CPPFLAGS$ac_delim
49766 ac_ct_CC!$ac_ct_CC$ac_delim
49767 EXEEXT!$EXEEXT$ac_delim
49768 OBJEXT!$OBJEXT$ac_delim
49769 CPP!$CPP$ac_delim
49770 GREP!$GREP$ac_delim
49771 EGREP!$EGREP$ac_delim
49772 CXX!$CXX$ac_delim
49773 CXXFLAGS!$CXXFLAGS$ac_delim
49774 ac_ct_CXX!$ac_ct_CXX$ac_delim
49775 RANLIB!$RANLIB$ac_delim
49776 AR!$AR$ac_delim
49777 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49778 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49779 INSTALL_DATA!$INSTALL_DATA$ac_delim
49780 STRIP!$STRIP$ac_delim
49781 WINDRES!$WINDRES$ac_delim
49782 DLLTOOL!$DLLTOOL$ac_delim
49783 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49784 LN_S!$LN_S$ac_delim
49785 subdirs!$subdirs$ac_delim
49786 PKG_CONFIG!$PKG_CONFIG$ac_delim
49787 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49788 GTK_LIBS!$GTK_LIBS$ac_delim
49789 GTK_CONFIG!$GTK_CONFIG$ac_delim
49790 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49791 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49792 XMKMF!$XMKMF$ac_delim
49793 X_CFLAGS!$X_CFLAGS$ac_delim
49794 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49795 X_LIBS!$X_LIBS$ac_delim
49796 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49797 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49798 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49799 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49800 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49801 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49802 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49803 REZ!$REZ$ac_delim
49804 DEREZ!$DEREZ$ac_delim
49805 SETFILE!$SETFILE$ac_delim
49806 LIBICONV!$LIBICONV$ac_delim
49807 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
49808 SDL_CONFIG!$SDL_CONFIG$ac_delim
49809 _ACEOF
49810
49811 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49812 break
49813 elif $ac_last_try; then
49814 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49815 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49816 { (exit 1); exit 1; }; }
49817 else
49818 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49819 fi
49820 done
49821
49822 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49823 if test -n "$ac_eof"; then
49824 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49825 ac_eof=`expr $ac_eof + 1`
49826 fi
49827
49828 cat >>$CONFIG_STATUS <<_ACEOF
49829 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49831 _ACEOF
49832 sed '
49833 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49834 s/^/s,@/; s/!/@,|#_!!_#|/
49835 :n
49836 t n
49837 s/'"$ac_delim"'$/,g/; t
49838 s/$/\\/; p
49839 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49840 ' >>$CONFIG_STATUS <conf$$subs.sed
49841 rm -f conf$$subs.sed
49842 cat >>$CONFIG_STATUS <<_ACEOF
49843 CEOF$ac_eof
49844 _ACEOF
49845
49846
49847 ac_delim='%!_!# '
49848 for ac_last_try in false false false false false :; do
49849 cat >conf$$subs.sed <<_ACEOF
49850 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49851 SDL_LIBS!$SDL_LIBS$ac_delim
49852 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49853 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49854 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49855 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49856 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49857 HILDON_LIBS!$HILDON_LIBS$ac_delim
49858 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49859 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49860 GST_CFLAGS!$GST_CFLAGS$ac_delim
49861 GST_LIBS!$GST_LIBS$ac_delim
49862 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49863 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49864 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49865 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49866 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49867 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49868 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49869 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49870 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49871 VENDOR!$VENDOR$ac_delim
49872 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49873 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49874 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49875 WXUNIV!$WXUNIV$ac_delim
49876 MONOLITHIC!$MONOLITHIC$ac_delim
49877 USE_PLUGINS!$USE_PLUGINS$ac_delim
49878 EXTRALIBS!$EXTRALIBS$ac_delim
49879 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49880 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49881 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49882 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49883 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49884 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49885 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49886 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49887 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49888 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49889 UNICODE!$UNICODE$ac_delim
49890 BUILD!$BUILD$ac_delim
49891 DEBUG_INFO!$DEBUG_INFO$ac_delim
49892 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49893 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49894 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49895 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49896 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49897 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49898 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49899 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49900 SET_MAKE!$SET_MAKE$ac_delim
49901 MAKE_SET!$MAKE_SET$ac_delim
49902 AROPTIONS!$AROPTIONS$ac_delim
49903 NM!$NM$ac_delim
49904 INSTALL_DIR!$INSTALL_DIR$ac_delim
49905 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49906 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49907 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49908 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49909 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49910 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49911 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49912 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49913 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49914 SO_SUFFIX!$SO_SUFFIX$ac_delim
49915 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49916 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49917 LIBPREFIX!$LIBPREFIX$ac_delim
49918 LIBEXT!$LIBEXT$ac_delim
49919 DLLPREFIX!$DLLPREFIX$ac_delim
49920 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49921 dlldir!$dlldir$ac_delim
49922 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49923 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49924 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49925 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49926 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49927 PIC_FLAG!$PIC_FLAG$ac_delim
49928 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49929 USE_SOVERSION!$USE_SOVERSION$ac_delim
49930 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49931 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49932 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49933 USE_MACVERSION!$USE_MACVERSION$ac_delim
49934 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49935 SONAME_FLAG!$SONAME_FLAG$ac_delim
49936 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49937 BK_DEPS!$BK_DEPS$ac_delim
49938 GCC_PCH!$GCC_PCH$ac_delim
49939 ICC_PCH!$ICC_PCH$ac_delim
49940 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49941 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49943 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49944 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49945 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49946 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49947 _ACEOF
49948
49949 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49950 break
49951 elif $ac_last_try; then
49952 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49953 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49954 { (exit 1); exit 1; }; }
49955 else
49956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49957 fi
49958 done
49959
49960 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49961 if test -n "$ac_eof"; then
49962 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49963 ac_eof=`expr $ac_eof + 1`
49964 fi
49965
49966 cat >>$CONFIG_STATUS <<_ACEOF
49967 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49969 _ACEOF
49970 sed '
49971 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49972 s/^/s,@/; s/!/@,|#_!!_#|/
49973 :n
49974 t n
49975 s/'"$ac_delim"'$/,g/; t
49976 s/$/\\/; p
49977 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49978 ' >>$CONFIG_STATUS <conf$$subs.sed
49979 rm -f conf$$subs.sed
49980 cat >>$CONFIG_STATUS <<_ACEOF
49981 CEOF$ac_eof
49982 _ACEOF
49983
49984
49985 ac_delim='%!_!# '
49986 for ac_last_try in false false false false false :; do
49987 cat >conf$$subs.sed <<_ACEOF
49988 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49989 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49990 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49991 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49992 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49993 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49994 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49995 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49996 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49997 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49998 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49999 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50007 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50008 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50009 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50010 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50016 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50017 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50018 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50019 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50020 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50021 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50022 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50023 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50024 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50025 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50026 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50027 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50028 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50029 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50030 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50031 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50032 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50033 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50034 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50035 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50036 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50037 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50038 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50039 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50040 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50041 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50042 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50043 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50044 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50045 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50046 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50047 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50048 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50049 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50050 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50051 COND_SHARED_0!$COND_SHARED_0$ac_delim
50052 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50053 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50054 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50055 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50056 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50057 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50058 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50059 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50060 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50061 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50062 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50063 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50064 COND_SHARED_1!$COND_SHARED_1$ac_delim
50065 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50066 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50067 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50068 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50069 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50070 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50071 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50072 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50073 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50075 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50076 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50078 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50080 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50081 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50082 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50083 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50084 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50085 _ACEOF
50086
50087 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50088 break
50089 elif $ac_last_try; then
50090 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50091 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50092 { (exit 1); exit 1; }; }
50093 else
50094 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50095 fi
50096 done
50097
50098 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50099 if test -n "$ac_eof"; then
50100 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50101 ac_eof=`expr $ac_eof + 1`
50102 fi
50103
50104 cat >>$CONFIG_STATUS <<_ACEOF
50105 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50107 _ACEOF
50108 sed '
50109 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50110 s/^/s,@/; s/!/@,|#_!!_#|/
50111 :n
50112 t n
50113 s/'"$ac_delim"'$/,g/; t
50114 s/$/\\/; p
50115 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50116 ' >>$CONFIG_STATUS <conf$$subs.sed
50117 rm -f conf$$subs.sed
50118 cat >>$CONFIG_STATUS <<_ACEOF
50119 CEOF$ac_eof
50120 _ACEOF
50121
50122
50123 ac_delim='%!_!# '
50124 for ac_last_try in false false false false false :; do
50125 cat >conf$$subs.sed <<_ACEOF
50126 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50127 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50128 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50129 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50130 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50131 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50132 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50133 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50134 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50135 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50136 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50137 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50138 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50139 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50140 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50141 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50142 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50143 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50144 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50145 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50146 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50147 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50148 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50149 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50150 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50151 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50152 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50153 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50154 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50155 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50156 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50157 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50158 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50159 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50160 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50161 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50162 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50163 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50164 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50165 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50166 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50167 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50168 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50169 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50170 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50171 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50172 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50173 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50174 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50175 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50176 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50177 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50178 SHARED!$SHARED$ac_delim
50179 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50180 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50181 USE_GUI!$USE_GUI$ac_delim
50182 AFMINSTALL!$AFMINSTALL$ac_delim
50183 WIN32INSTALL!$WIN32INSTALL$ac_delim
50184 TOOLKIT!$TOOLKIT$ac_delim
50185 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50186 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50187 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50188 cross_compiling!$cross_compiling$ac_delim
50189 WIDGET_SET!$WIDGET_SET$ac_delim
50190 WX_RELEASE!$WX_RELEASE$ac_delim
50191 WX_VERSION!$WX_VERSION$ac_delim
50192 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50193 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50194 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50195 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50196 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50197 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50198 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50199 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50200 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50201 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50202 EXE_LINKER!$EXE_LINKER$ac_delim
50203 GUIDIST!$GUIDIST$ac_delim
50204 DISTDIR!$DISTDIR$ac_delim
50205 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50206 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50207 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50208 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50209 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50210 RESCOMP!$RESCOMP$ac_delim
50211 RESFLAGS!$RESFLAGS$ac_delim
50212 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50213 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50214 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50215 LIBWXMACRES!$LIBWXMACRES$ac_delim
50216 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50217 MACSETFILE!$MACSETFILE$ac_delim
50218 GCC!$GCC$ac_delim
50219 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50220 LIBOBJS!$LIBOBJS$ac_delim
50221 LTLIBOBJS!$LTLIBOBJS$ac_delim
50222 _ACEOF
50223
50224 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
50225 break
50226 elif $ac_last_try; then
50227 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50228 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50229 { (exit 1); exit 1; }; }
50230 else
50231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50232 fi
50233 done
50234
50235 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50236 if test -n "$ac_eof"; then
50237 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50238 ac_eof=`expr $ac_eof + 1`
50239 fi
50240
50241 cat >>$CONFIG_STATUS <<_ACEOF
50242 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50244 _ACEOF
50245 sed '
50246 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50247 s/^/s,@/; s/!/@,|#_!!_#|/
50248 :n
50249 t n
50250 s/'"$ac_delim"'$/,g/; t
50251 s/$/\\/; p
50252 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50253 ' >>$CONFIG_STATUS <conf$$subs.sed
50254 rm -f conf$$subs.sed
50255 cat >>$CONFIG_STATUS <<_ACEOF
50256 CEOF$ac_eof
50257 _ACEOF
50258
50259
50260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50262 # trailing colons and then remove the whole line if VPATH becomes empty
50263 # (actually we leave an empty line to preserve line numbers).
50264 if test "x$srcdir" = x.; then
50265 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50266 s/:*\$(srcdir):*/:/
50267 s/:*\${srcdir}:*/:/
50268 s/:*@srcdir@:*/:/
50269 s/^\([^=]*=[ ]*\):*/\1/
50270 s/:*$//
50271 s/^[^=]*=[ ]*$//
50272 }'
50273 fi
50274
50275 cat >>$CONFIG_STATUS <<\_ACEOF
50276 fi # test -n "$CONFIG_FILES"
50277
50278
50279 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50280 do
50281 case $ac_tag in
50282 :[FHLC]) ac_mode=$ac_tag; continue;;
50283 esac
50284 case $ac_mode$ac_tag in
50285 :[FHL]*:*);;
50286 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50287 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50288 { (exit 1); exit 1; }; };;
50289 :[FH]-) ac_tag=-:-;;
50290 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50291 esac
50292 ac_save_IFS=$IFS
50293 IFS=:
50294 set x $ac_tag
50295 IFS=$ac_save_IFS
50296 shift
50297 ac_file=$1
50298 shift
50299
50300 case $ac_mode in
50301 :L) ac_source=$1;;
50302 :[FH])
50303 ac_file_inputs=
50304 for ac_f
50305 do
50306 case $ac_f in
50307 -) ac_f="$tmp/stdin";;
50308 *) # Look for the file first in the build tree, then in the source tree
50309 # (if the path is not absolute). The absolute path cannot be DOS-style,
50310 # because $ac_f cannot contain `:'.
50311 test -f "$ac_f" ||
50312 case $ac_f in
50313 [\\/$]*) false;;
50314 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50315 esac ||
50316 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50317 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50318 { (exit 1); exit 1; }; };;
50319 esac
50320 ac_file_inputs="$ac_file_inputs $ac_f"
50321 done
50322
50323 # Let's still pretend it is `configure' which instantiates (i.e., don't
50324 # use $as_me), people would be surprised to read:
50325 # /* config.h. Generated by config.status. */
50326 configure_input="Generated from "`IFS=:
50327 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50328 if test x"$ac_file" != x-; then
50329 configure_input="$ac_file. $configure_input"
50330 { echo "$as_me:$LINENO: creating $ac_file" >&5
50331 echo "$as_me: creating $ac_file" >&6;}
50332 fi
50333
50334 case $ac_tag in
50335 *:-:* | *:-) cat >"$tmp/stdin";;
50336 esac
50337 ;;
50338 esac
50339
50340 ac_dir=`$as_dirname -- "$ac_file" ||
50341 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50342 X"$ac_file" : 'X\(//\)[^/]' \| \
50343 X"$ac_file" : 'X\(//\)$' \| \
50344 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50345 echo X"$ac_file" |
50346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50347 s//\1/
50348 q
50349 }
50350 /^X\(\/\/\)[^/].*/{
50351 s//\1/
50352 q
50353 }
50354 /^X\(\/\/\)$/{
50355 s//\1/
50356 q
50357 }
50358 /^X\(\/\).*/{
50359 s//\1/
50360 q
50361 }
50362 s/.*/./; q'`
50363 { as_dir="$ac_dir"
50364 case $as_dir in #(
50365 -*) as_dir=./$as_dir;;
50366 esac
50367 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50368 as_dirs=
50369 while :; do
50370 case $as_dir in #(
50371 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50372 *) as_qdir=$as_dir;;
50373 esac
50374 as_dirs="'$as_qdir' $as_dirs"
50375 as_dir=`$as_dirname -- "$as_dir" ||
50376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50377 X"$as_dir" : 'X\(//\)[^/]' \| \
50378 X"$as_dir" : 'X\(//\)$' \| \
50379 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50380 echo X"$as_dir" |
50381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50382 s//\1/
50383 q
50384 }
50385 /^X\(\/\/\)[^/].*/{
50386 s//\1/
50387 q
50388 }
50389 /^X\(\/\/\)$/{
50390 s//\1/
50391 q
50392 }
50393 /^X\(\/\).*/{
50394 s//\1/
50395 q
50396 }
50397 s/.*/./; q'`
50398 test -d "$as_dir" && break
50399 done
50400 test -z "$as_dirs" || eval "mkdir $as_dirs"
50401 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50402 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50403 { (exit 1); exit 1; }; }; }
50404 ac_builddir=.
50405
50406 case "$ac_dir" in
50407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50408 *)
50409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50410 # A ".." for each directory in $ac_dir_suffix.
50411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50412 case $ac_top_builddir_sub in
50413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50415 esac ;;
50416 esac
50417 ac_abs_top_builddir=$ac_pwd
50418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50419 # for backward compatibility:
50420 ac_top_builddir=$ac_top_build_prefix
50421
50422 case $srcdir in
50423 .) # We are building in place.
50424 ac_srcdir=.
50425 ac_top_srcdir=$ac_top_builddir_sub
50426 ac_abs_top_srcdir=$ac_pwd ;;
50427 [\\/]* | ?:[\\/]* ) # Absolute name.
50428 ac_srcdir=$srcdir$ac_dir_suffix;
50429 ac_top_srcdir=$srcdir
50430 ac_abs_top_srcdir=$srcdir ;;
50431 *) # Relative name.
50432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50433 ac_top_srcdir=$ac_top_build_prefix$srcdir
50434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50435 esac
50436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50437
50438
50439 case $ac_mode in
50440 :F)
50441 #
50442 # CONFIG_FILE
50443 #
50444
50445 case $INSTALL in
50446 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50447 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50448 esac
50449 _ACEOF
50450
50451 cat >>$CONFIG_STATUS <<\_ACEOF
50452 # If the template does not know about datarootdir, expand it.
50453 # FIXME: This hack should be removed a few years after 2.60.
50454 ac_datarootdir_hack=; ac_datarootdir_seen=
50455
50456 case `sed -n '/datarootdir/ {
50457 p
50458 q
50459 }
50460 /@datadir@/p
50461 /@docdir@/p
50462 /@infodir@/p
50463 /@localedir@/p
50464 /@mandir@/p
50465 ' $ac_file_inputs` in
50466 *datarootdir*) ac_datarootdir_seen=yes;;
50467 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50468 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50469 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50470 _ACEOF
50471 cat >>$CONFIG_STATUS <<_ACEOF
50472 ac_datarootdir_hack='
50473 s&@datadir@&$datadir&g
50474 s&@docdir@&$docdir&g
50475 s&@infodir@&$infodir&g
50476 s&@localedir@&$localedir&g
50477 s&@mandir@&$mandir&g
50478 s&\\\${datarootdir}&$datarootdir&g' ;;
50479 esac
50480 _ACEOF
50481
50482 # Neutralize VPATH when `$srcdir' = `.'.
50483 # Shell code in configure.ac might set extrasub.
50484 # FIXME: do we really want to maintain this feature?
50485 cat >>$CONFIG_STATUS <<_ACEOF
50486 sed "$ac_vpsub
50487 $extrasub
50488 _ACEOF
50489 cat >>$CONFIG_STATUS <<\_ACEOF
50490 :t
50491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50492 s&@configure_input@&$configure_input&;t t
50493 s&@top_builddir@&$ac_top_builddir_sub&;t t
50494 s&@srcdir@&$ac_srcdir&;t t
50495 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50496 s&@top_srcdir@&$ac_top_srcdir&;t t
50497 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50498 s&@builddir@&$ac_builddir&;t t
50499 s&@abs_builddir@&$ac_abs_builddir&;t t
50500 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50501 s&@INSTALL@&$ac_INSTALL&;t t
50502 $ac_datarootdir_hack
50503 " $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 's/|#_!!_#|//g' >$tmp/out
50504
50505 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50506 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50507 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50508 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50509 which seems to be undefined. Please make sure it is defined." >&5
50510 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50511 which seems to be undefined. Please make sure it is defined." >&2;}
50512
50513 rm -f "$tmp/stdin"
50514 case $ac_file in
50515 -) cat "$tmp/out"; rm -f "$tmp/out";;
50516 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50517 esac
50518 ;;
50519 :H)
50520 #
50521 # CONFIG_HEADER
50522 #
50523 _ACEOF
50524
50525 # Transform confdefs.h into a sed script `conftest.defines', that
50526 # substitutes the proper values into config.h.in to produce config.h.
50527 rm -f conftest.defines conftest.tail
50528 # First, append a space to every undef/define line, to ease matching.
50529 echo 's/$/ /' >conftest.defines
50530 # Then, protect against being on the right side of a sed subst, or in
50531 # an unquoted here document, in config.status. If some macros were
50532 # called several times there might be several #defines for the same
50533 # symbol, which is useless. But do not sort them, since the last
50534 # AC_DEFINE must be honored.
50535 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50536 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50537 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50538 # PARAMS is the parameter list in the macro definition--in most cases, it's
50539 # just an empty string.
50540 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50541 ac_dB='\\)[ (].*,\\1define\\2'
50542 ac_dC=' '
50543 ac_dD=' ,'
50544
50545 uniq confdefs.h |
50546 sed -n '
50547 t rset
50548 :rset
50549 s/^[ ]*#[ ]*define[ ][ ]*//
50550 t ok
50551 d
50552 :ok
50553 s/[\\&,]/\\&/g
50554 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50555 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50556 ' >>conftest.defines
50557
50558 # Remove the space that was appended to ease matching.
50559 # Then replace #undef with comments. This is necessary, for
50560 # example, in the case of _POSIX_SOURCE, which is predefined and required
50561 # on some systems where configure will not decide to define it.
50562 # (The regexp can be short, since the line contains either #define or #undef.)
50563 echo 's/ $//
50564 s,^[ #]*u.*,/* & */,' >>conftest.defines
50565
50566 # Break up conftest.defines:
50567 ac_max_sed_lines=50
50568
50569 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50570 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50571 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50572 # et cetera.
50573 ac_in='$ac_file_inputs'
50574 ac_out='"$tmp/out1"'
50575 ac_nxt='"$tmp/out2"'
50576
50577 while :
50578 do
50579 # Write a here document:
50580 cat >>$CONFIG_STATUS <<_ACEOF
50581 # First, check the format of the line:
50582 cat >"\$tmp/defines.sed" <<\\CEOF
50583 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50584 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50585 b
50586 :def
50587 _ACEOF
50588 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50589 echo 'CEOF
50590 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50591 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50592 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50593 grep . conftest.tail >/dev/null || break
50594 rm -f conftest.defines
50595 mv conftest.tail conftest.defines
50596 done
50597 rm -f conftest.defines conftest.tail
50598
50599 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50600 cat >>$CONFIG_STATUS <<\_ACEOF
50601 if test x"$ac_file" != x-; then
50602 echo "/* $configure_input */" >"$tmp/config.h"
50603 cat "$ac_result" >>"$tmp/config.h"
50604 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50605 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50606 echo "$as_me: $ac_file is unchanged" >&6;}
50607 else
50608 rm -f $ac_file
50609 mv "$tmp/config.h" $ac_file
50610 fi
50611 else
50612 echo "/* $configure_input */"
50613 cat "$ac_result"
50614 fi
50615 rm -f "$tmp/out12"
50616 ;;
50617
50618 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50619 echo "$as_me: executing $ac_file commands" >&6;}
50620 ;;
50621 esac
50622
50623
50624 case $ac_file$ac_mode in
50625 "rcdefs.h":C)
50626 mkdir -p $outdir &&
50627 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50628 ;;
50629 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50630 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50631 "wx-config":C) rm -f wx-config
50632 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50633 ;;
50634
50635 esac
50636 done # for ac_tag
50637
50638
50639 { (exit 0); exit 0; }
50640 _ACEOF
50641 chmod +x $CONFIG_STATUS
50642 ac_clean_files=$ac_clean_files_save
50643
50644
50645 # configure is writing to config.log, and then calls config.status.
50646 # config.status does its own redirection, appending to config.log.
50647 # Unfortunately, on DOS this fails, as config.log is still kept open
50648 # by configure, so config.status won't be able to write to it; its
50649 # output is simply discarded. So we exec the FD to /dev/null,
50650 # effectively closing config.log, so it can be properly (re)opened and
50651 # appended to by config.status. When coming back to configure, we
50652 # need to make the FD available again.
50653 if test "$no_create" != yes; then
50654 ac_cs_success=:
50655 ac_config_status_args=
50656 test "$silent" = yes &&
50657 ac_config_status_args="$ac_config_status_args --quiet"
50658 exec 5>/dev/null
50659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50660 exec 5>>config.log
50661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50662 # would make configure fail if this is the last instruction.
50663 $ac_cs_success || { (exit 1); exit 1; }
50664 fi
50665
50666 #
50667 # CONFIG_SUBDIRS section.
50668 #
50669 if test "$no_recursion" != yes; then
50670
50671 # Remove --cache-file and --srcdir arguments so they do not pile up.
50672 ac_sub_configure_args=
50673 ac_prev=
50674 eval "set x $ac_configure_args"
50675 shift
50676 for ac_arg
50677 do
50678 if test -n "$ac_prev"; then
50679 ac_prev=
50680 continue
50681 fi
50682 case $ac_arg in
50683 -cache-file | --cache-file | --cache-fil | --cache-fi \
50684 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50685 ac_prev=cache_file ;;
50686 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50687 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50688 | --c=*)
50689 ;;
50690 --config-cache | -C)
50691 ;;
50692 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50693 ac_prev=srcdir ;;
50694 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50695 ;;
50696 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50697 ac_prev=prefix ;;
50698 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50699 ;;
50700 *)
50701 case $ac_arg in
50702 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50703 esac
50704 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50705 esac
50706 done
50707
50708 # Always prepend --prefix to ensure using the same prefix
50709 # in subdir configurations.
50710 ac_arg="--prefix=$prefix"
50711 case $ac_arg in
50712 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50713 esac
50714 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50715
50716 # Pass --silent
50717 if test "$silent" = yes; then
50718 ac_sub_configure_args="--silent $ac_sub_configure_args"
50719 fi
50720
50721 ac_popdir=`pwd`
50722 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50723
50724 # Do not complain, so a configure script can configure whichever
50725 # parts of a large source tree are present.
50726 test -d "$srcdir/$ac_dir" || continue
50727
50728 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50729 echo "$as_me:$LINENO: $ac_msg" >&5
50730 echo "$ac_msg" >&6
50731 { as_dir="$ac_dir"
50732 case $as_dir in #(
50733 -*) as_dir=./$as_dir;;
50734 esac
50735 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50736 as_dirs=
50737 while :; do
50738 case $as_dir in #(
50739 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50740 *) as_qdir=$as_dir;;
50741 esac
50742 as_dirs="'$as_qdir' $as_dirs"
50743 as_dir=`$as_dirname -- "$as_dir" ||
50744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50745 X"$as_dir" : 'X\(//\)[^/]' \| \
50746 X"$as_dir" : 'X\(//\)$' \| \
50747 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50748 echo X"$as_dir" |
50749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50750 s//\1/
50751 q
50752 }
50753 /^X\(\/\/\)[^/].*/{
50754 s//\1/
50755 q
50756 }
50757 /^X\(\/\/\)$/{
50758 s//\1/
50759 q
50760 }
50761 /^X\(\/\).*/{
50762 s//\1/
50763 q
50764 }
50765 s/.*/./; q'`
50766 test -d "$as_dir" && break
50767 done
50768 test -z "$as_dirs" || eval "mkdir $as_dirs"
50769 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50770 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50771 { (exit 1); exit 1; }; }; }
50772 ac_builddir=.
50773
50774 case "$ac_dir" in
50775 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50776 *)
50777 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50778 # A ".." for each directory in $ac_dir_suffix.
50779 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50780 case $ac_top_builddir_sub in
50781 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50782 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50783 esac ;;
50784 esac
50785 ac_abs_top_builddir=$ac_pwd
50786 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50787 # for backward compatibility:
50788 ac_top_builddir=$ac_top_build_prefix
50789
50790 case $srcdir in
50791 .) # We are building in place.
50792 ac_srcdir=.
50793 ac_top_srcdir=$ac_top_builddir_sub
50794 ac_abs_top_srcdir=$ac_pwd ;;
50795 [\\/]* | ?:[\\/]* ) # Absolute name.
50796 ac_srcdir=$srcdir$ac_dir_suffix;
50797 ac_top_srcdir=$srcdir
50798 ac_abs_top_srcdir=$srcdir ;;
50799 *) # Relative name.
50800 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50801 ac_top_srcdir=$ac_top_build_prefix$srcdir
50802 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50803 esac
50804 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50805
50806
50807 cd "$ac_dir"
50808
50809 # Check for guested configure; otherwise get Cygnus style configure.
50810 if test -f "$ac_srcdir/configure.gnu"; then
50811 ac_sub_configure=$ac_srcdir/configure.gnu
50812 elif test -f "$ac_srcdir/configure"; then
50813 ac_sub_configure=$ac_srcdir/configure
50814 elif test -f "$ac_srcdir/configure.in"; then
50815 # This should be Cygnus configure.
50816 ac_sub_configure=$ac_aux_dir/configure
50817 else
50818 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50819 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50820 ac_sub_configure=
50821 fi
50822
50823 # The recursion is here.
50824 if test -n "$ac_sub_configure"; then
50825 # Make the cache file name correct relative to the subdirectory.
50826 case $cache_file in
50827 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50828 *) # Relative name.
50829 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50830 esac
50831
50832 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50833 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50834 # The eval makes quoting arguments work.
50835 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50836 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50837 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50838 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50839 { (exit 1); exit 1; }; }
50840 fi
50841
50842 cd "$ac_popdir"
50843 done
50844 fi
50845
50846
50847 echo
50848 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50849 echo ""
50850 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50851 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50852
50853 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50854 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50855 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50856
50857 echo " What level of wxWidgets compatibility should be enabled?"
50858 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50859 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50860
50861 echo " Which libraries should wxWidgets use?"
50862 echo " jpeg ${wxUSE_LIBJPEG-none}"
50863 echo " png ${wxUSE_LIBPNG-none}"
50864 echo " regex ${wxUSE_REGEX}"
50865 echo " tiff ${wxUSE_LIBTIFF-none}"
50866 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50867 echo " xpm ${wxUSE_LIBXPM-none}"
50868 fi
50869 echo " zlib ${wxUSE_ZLIB}"
50870 echo " odbc ${wxUSE_ODBC}"
50871 echo " expat ${wxUSE_EXPAT}"
50872 echo " libmspack ${wxUSE_LIBMSPACK}"
50873 echo " sdl ${wxUSE_LIBSDL}"
50874
50875 echo ""
50876